repo_name string | dataset string | owner string | lang string | func_name string | code string | docstring string | url string | sha string |
|---|---|---|---|---|---|---|---|---|
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.deleteUserWithHttpInfo | public deleteUserWithHttpInfo(username: string, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.deleteUser(username, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteUserWithHttpInfo(rsp)));
}));
} | /**
* Delete user by username.
* Delete User
* @param username Username
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1063-L1080 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.deleteUser | public deleteUser(username: string, _options?: Configuration): Observable<boolean> {
return this.deleteUserWithHttpInfo(username, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
} | /**
* Delete user by username.
* Delete User
* @param username Username
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1087-L1089 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.disableTokenForUserWithHttpInfo | public disableTokenForUserWithHttpInfo(token: string, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.disableTokenForUser(token, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.disableTokenForUserWithHttpInfo(rsp)));
}));
} | /**
* Disable the specified API Token.
* Disable API Token
* @param token API Token
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1096-L1113 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.disableTokenForUser | public disableTokenForUser(token: string, _options?: Configuration): Observable<boolean> {
return this.disableTokenForUserWithHttpInfo(token, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
} | /**
* Disable the specified API Token.
* Disable API Token
* @param token API Token
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1120-L1122 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.getDetailsOfUserWithHttpInfo | public getDetailsOfUserWithHttpInfo(username: string, _options?: Configuration): Observable<HttpInfo<UserDetailsDTO>> {
const requestContextPromise = this.requestFactory.getDetailsOfUser(username, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getDetailsOfUserWithHttpInfo(rsp)));
}));
} | /**
* Return detailed user information.
* Get User Details
* @param username Username
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1129-L1146 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.getDetailsOfUser | public getDetailsOfUser(username: string, _options?: Configuration): Observable<UserDetailsDTO> {
return this.getDetailsOfUserWithHttpInfo(username, _options).pipe(map((apiResponse: HttpInfo<UserDetailsDTO>) => apiResponse.data));
} | /**
* Return detailed user information.
* Get User Details
* @param username Username
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1153-L1155 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.getUserByTokenWithHttpInfo | public getUserByTokenWithHttpInfo(token: string, _options?: Configuration): Observable<HttpInfo<UserDetailsDTO>> {
const requestContextPromise = this.requestFactory.getUserByToken(token, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getUserByTokenWithHttpInfo(rsp)));
}));
} | /**
* Get the detailed user information corresponding to the API Token.
* Get User by API Token
* @param token API Token
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1162-L1179 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.getUserByToken | public getUserByToken(token: string, _options?: Configuration): Observable<UserDetailsDTO> {
return this.getUserByTokenWithHttpInfo(token, _options).pipe(map((apiResponse: HttpInfo<UserDetailsDTO>) => apiResponse.data));
} | /**
* Get the detailed user information corresponding to the API Token.
* Get User by API Token
* @param token API Token
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1186-L1188 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.listAuthoritiesOfUserWithHttpInfo | public listAuthoritiesOfUserWithHttpInfo(username: string, _options?: Configuration): Observable<HttpInfo<Set<string>>> {
const requestContextPromise = this.requestFactory.listAuthoritiesOfUser(username, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listAuthoritiesOfUserWithHttpInfo(rsp)));
}));
} | /**
* List the user\'s permissions.
* List User Permissions
* @param username Username
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1195-L1212 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.listAuthoritiesOfUser | public listAuthoritiesOfUser(username: string, _options?: Configuration): Observable<Set<string>> {
return this.listAuthoritiesOfUserWithHttpInfo(username, _options).pipe(map((apiResponse: HttpInfo<Set<string>>) => apiResponse.data));
} | /**
* List the user\'s permissions.
* List User Permissions
* @param username Username
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1219-L1221 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.listTokensOfUserWithHttpInfo | public listTokensOfUserWithHttpInfo(username: string, _options?: Configuration): Observable<HttpInfo<Array<ApiTokenInfoDTO>>> {
const requestContextPromise = this.requestFactory.listTokensOfUser(username, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listTokensOfUserWithHttpInfo(rsp)));
}));
} | /**
* Get the list of API Tokens of the user.
* Get API Token of User
* @param username Username
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1228-L1245 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.listTokensOfUser | public listTokensOfUser(username: string, _options?: Configuration): Observable<Array<ApiTokenInfoDTO>> {
return this.listTokensOfUserWithHttpInfo(username, _options).pipe(map((apiResponse: HttpInfo<Array<ApiTokenInfoDTO>>) => apiResponse.data));
} | /**
* Get the list of API Tokens of the user.
* Get API Token of User
* @param username Username
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1252-L1254 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.listUsersWithHttpInfo | public listUsersWithHttpInfo(pageSize: number, pageNum: number, _options?: Configuration): Observable<HttpInfo<Array<UserBasicInfoDTO>>> {
const requestContextPromise = this.requestFactory.listUsers(pageSize, pageNum, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listUsersWithHttpInfo(rsp)));
}));
} | /**
* Return user information by page, return the pageNum page, up to pageSize user information.
* List User Information
* @param pageSize Maximum quantity
* @param pageNum Current page number
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1262-L1279 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.listUsers | public listUsers(pageSize: number, pageNum: number, _options?: Configuration): Observable<Array<UserBasicInfoDTO>> {
return this.listUsersWithHttpInfo(pageSize, pageNum, _options).pipe(map((apiResponse: HttpInfo<Array<UserBasicInfoDTO>>) => apiResponse.data));
} | /**
* Return user information by page, return the pageNum page, up to pageSize user information.
* List User Information
* @param pageSize Maximum quantity
* @param pageNum Current page number
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1287-L1289 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.listUsers1WithHttpInfo | public listUsers1WithHttpInfo(_options?: Configuration): Observable<HttpInfo<Array<UserBasicInfoDTO>>> {
const requestContextPromise = this.requestFactory.listUsers1(_options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listUsers1WithHttpInfo(rsp)));
}));
} | /**
* Return user information by page, return the pageNum page, up to pageSize user information.
* List User Information
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1295-L1312 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.listUsers1 | public listUsers1(_options?: Configuration): Observable<Array<UserBasicInfoDTO>> {
return this.listUsers1WithHttpInfo(_options).pipe(map((apiResponse: HttpInfo<Array<UserBasicInfoDTO>>) => apiResponse.data));
} | /**
* Return user information by page, return the pageNum page, up to pageSize user information.
* List User Information
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1318-L1320 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.listUsers2WithHttpInfo | public listUsers2WithHttpInfo(pageSize: number, _options?: Configuration): Observable<HttpInfo<Array<UserBasicInfoDTO>>> {
const requestContextPromise = this.requestFactory.listUsers2(pageSize, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listUsers2WithHttpInfo(rsp)));
}));
} | /**
* Return user information by page, return the pageNum page, up to pageSize user information.
* List User Information
* @param pageSize Maximum quantity
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1327-L1344 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.listUsers2 | public listUsers2(pageSize: number, _options?: Configuration): Observable<Array<UserBasicInfoDTO>> {
return this.listUsers2WithHttpInfo(pageSize, _options).pipe(map((apiResponse: HttpInfo<Array<UserBasicInfoDTO>>) => apiResponse.data));
} | /**
* Return user information by page, return the pageNum page, up to pageSize user information.
* List User Information
* @param pageSize Maximum quantity
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1351-L1353 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.updateAuthoritiesOfUserWithHttpInfo | public updateAuthoritiesOfUserWithHttpInfo(username: string, requestBody: Set<string>, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.updateAuthoritiesOfUser(username, requestBody, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.updateAuthoritiesOfUserWithHttpInfo(rsp)));
}));
} | /**
* Update the user\'s permission list.
* Update User Permissions
* @param username Username
* @param requestBody Permission list
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1361-L1378 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.updateAuthoritiesOfUser | public updateAuthoritiesOfUser(username: string, requestBody: Set<string>, _options?: Configuration): Observable<boolean> {
return this.updateAuthoritiesOfUserWithHttpInfo(username, requestBody, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
} | /**
* Update the user\'s permission list.
* Update User Permissions
* @param username Username
* @param requestBody Permission list
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1386-L1388 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.updateUserWithHttpInfo | public updateUserWithHttpInfo(userFullDetailsDTO: UserFullDetailsDTO, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.updateUser(userFullDetailsDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.updateUserWithHttpInfo(rsp)));
}));
} | /**
* Update user information.
* Update User
* @param userFullDetailsDTO User information
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1395-L1412 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAccountManagerForAdminApi.updateUser | public updateUser(userFullDetailsDTO: UserFullDetailsDTO, _options?: Configuration): Observable<boolean> {
return this.updateUserWithHttpInfo(userFullDetailsDTO, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
} | /**
* Update user information.
* Update User
* @param userFullDetailsDTO User information
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1419-L1421 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.batchSearchAgentDetailsWithHttpInfo | public batchSearchAgentDetailsWithHttpInfo(agentQueryDTO: Array<AgentQueryDTO>, _options?: Configuration): Observable<HttpInfo<Array<Array<AgentDetailsDTO>>>> {
const requestContextPromise = this.requestFactory.batchSearchAgentDetails(agentQueryDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.batchSearchAgentDetailsWithHttpInfo(rsp)));
}));
} | /**
* Batch call shortcut for /api/v2/agent/details/search.
* Batch Search Agent Details
* @param agentQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1446-L1463 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.batchSearchAgentDetails | public batchSearchAgentDetails(agentQueryDTO: Array<AgentQueryDTO>, _options?: Configuration): Observable<Array<Array<AgentDetailsDTO>>> {
return this.batchSearchAgentDetailsWithHttpInfo(agentQueryDTO, _options).pipe(map((apiResponse: HttpInfo<Array<Array<AgentDetailsDTO>>>) => apiResponse.data));
} | /**
* Batch call shortcut for /api/v2/agent/details/search.
* Batch Search Agent Details
* @param agentQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1470-L1472 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.batchSearchAgentSummaryWithHttpInfo | public batchSearchAgentSummaryWithHttpInfo(agentQueryDTO: Array<AgentQueryDTO>, _options?: Configuration): Observable<HttpInfo<Array<Array<AgentSummaryDTO>>>> {
const requestContextPromise = this.requestFactory.batchSearchAgentSummary(agentQueryDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.batchSearchAgentSummaryWithHttpInfo(rsp)));
}));
} | /**
* Batch call shortcut for /api/v2/agent/search.
* Batch Search Agent Summaries
* @param agentQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1479-L1496 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.batchSearchAgentSummary | public batchSearchAgentSummary(agentQueryDTO: Array<AgentQueryDTO>, _options?: Configuration): Observable<Array<Array<AgentSummaryDTO>>> {
return this.batchSearchAgentSummaryWithHttpInfo(agentQueryDTO, _options).pipe(map((apiResponse: HttpInfo<Array<Array<AgentSummaryDTO>>>) => apiResponse.data));
} | /**
* Batch call shortcut for /api/v2/agent/search.
* Batch Search Agent Summaries
* @param agentQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1503-L1505 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.cloneAgentWithHttpInfo | public cloneAgentWithHttpInfo(agentId: number, _options?: Configuration): Observable<HttpInfo<number>> {
const requestContextPromise = this.requestFactory.cloneAgent(agentId, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.cloneAgentWithHttpInfo(rsp)));
}));
} | /**
* Enter the agentId, generate a new record, the content is basically the same as the original agent, but the following fields are different: - Version number is 1 - Visibility is private - The parent agent is the source agentId - The creation time is the current moment. - All statistical indicators are zeroed. Return the new agentId.
* Clone Agent
* @param agentId The referenced agentId
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1512-L1529 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.cloneAgent | public cloneAgent(agentId: number, _options?: Configuration): Observable<number> {
return this.cloneAgentWithHttpInfo(agentId, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data));
} | /**
* Enter the agentId, generate a new record, the content is basically the same as the original agent, but the following fields are different: - Version number is 1 - Visibility is private - The parent agent is the source agentId - The creation time is the current moment. - All statistical indicators are zeroed. Return the new agentId.
* Clone Agent
* @param agentId The referenced agentId
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1536-L1538 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.cloneAgentsWithHttpInfo | public cloneAgentsWithHttpInfo(requestBody: Array<number>, _options?: Configuration): Observable<HttpInfo<Array<number>>> {
const requestContextPromise = this.requestFactory.cloneAgents(requestBody, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.cloneAgentsWithHttpInfo(rsp)));
}));
} | /**
* Batch clone multiple agents. Ensure transactionality, return the agentId list after success.
* Batch Clone Agents
* @param requestBody List of agent information to be created
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1545-L1562 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.cloneAgents | public cloneAgents(requestBody: Array<number>, _options?: Configuration): Observable<Array<number>> {
return this.cloneAgentsWithHttpInfo(requestBody, _options).pipe(map((apiResponse: HttpInfo<Array<number>>) => apiResponse.data));
} | /**
* Batch clone multiple agents. Ensure transactionality, return the agentId list after success.
* Batch Clone Agents
* @param requestBody List of agent information to be created
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1569-L1571 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.countAgentsWithHttpInfo | public countAgentsWithHttpInfo(agentQueryDTO: AgentQueryDTO, _options?: Configuration): Observable<HttpInfo<number>> {
const requestContextPromise = this.requestFactory.countAgents(agentQueryDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.countAgentsWithHttpInfo(rsp)));
}));
} | /**
* Calculate the number of agents according to the specified query conditions.
* Calculate Number of Agents
* @param agentQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1578-L1595 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.countAgents | public countAgents(agentQueryDTO: AgentQueryDTO, _options?: Configuration): Observable<number> {
return this.countAgentsWithHttpInfo(agentQueryDTO, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data));
} | /**
* Calculate the number of agents according to the specified query conditions.
* Calculate Number of Agents
* @param agentQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1602-L1604 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.createAgentWithHttpInfo | public createAgentWithHttpInfo(agentCreateDTO: AgentCreateDTO, _options?: Configuration): Observable<HttpInfo<number>> {
const requestContextPromise = this.requestFactory.createAgent(agentCreateDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createAgentWithHttpInfo(rsp)));
}));
} | /**
* Create a agent, ignore required fields: - Agent name - Agent configuration Limitations: - Description: 300 characters - Configuration: 2000 characters - Example: 2000 characters - Tags: 5 - Parameters: 10
* Create Agent
* @param agentCreateDTO Information of the agent to be created
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1611-L1628 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.createAgent | public createAgent(agentCreateDTO: AgentCreateDTO, _options?: Configuration): Observable<number> {
return this.createAgentWithHttpInfo(agentCreateDTO, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data));
} | /**
* Create a agent, ignore required fields: - Agent name - Agent configuration Limitations: - Description: 300 characters - Configuration: 2000 characters - Example: 2000 characters - Tags: 5 - Parameters: 10
* Create Agent
* @param agentCreateDTO Information of the agent to be created
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1635-L1637 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.createAgentsWithHttpInfo | public createAgentsWithHttpInfo(agentCreateDTO: Array<AgentCreateDTO>, _options?: Configuration): Observable<HttpInfo<Array<number>>> {
const requestContextPromise = this.requestFactory.createAgents(agentCreateDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createAgentsWithHttpInfo(rsp)));
}));
} | /**
* Batch create multiple agents. Ensure transactionality, return the agentId list after success.
* Batch Create Agents
* @param agentCreateDTO List of agent information to be created
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1644-L1661 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.createAgents | public createAgents(agentCreateDTO: Array<AgentCreateDTO>, _options?: Configuration): Observable<Array<number>> {
return this.createAgentsWithHttpInfo(agentCreateDTO, _options).pipe(map((apiResponse: HttpInfo<Array<number>>) => apiResponse.data));
} | /**
* Batch create multiple agents. Ensure transactionality, return the agentId list after success.
* Batch Create Agents
* @param agentCreateDTO List of agent information to be created
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1668-L1670 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.deleteAgentWithHttpInfo | public deleteAgentWithHttpInfo(agentId: number, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.deleteAgent(agentId, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteAgentWithHttpInfo(rsp)));
}));
} | /**
* Delete agent. Return success or failure.
* Delete Agent
* @param agentId AgentId to be deleted
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1677-L1694 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.deleteAgent | public deleteAgent(agentId: number, _options?: Configuration): Observable<boolean> {
return this.deleteAgentWithHttpInfo(agentId, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
} | /**
* Delete agent. Return success or failure.
* Delete Agent
* @param agentId AgentId to be deleted
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1701-L1703 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.deleteAgentsWithHttpInfo | public deleteAgentsWithHttpInfo(requestBody: Array<number>, _options?: Configuration): Observable<HttpInfo<Array<number>>> {
const requestContextPromise = this.requestFactory.deleteAgents(requestBody, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteAgentsWithHttpInfo(rsp)));
}));
} | /**
* Delete multiple agents. Ensure transactionality, return the list of successfully deleted agentId.
* Batch Delete Agents
* @param requestBody List of agentId to be deleted
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1710-L1727 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.deleteAgents | public deleteAgents(requestBody: Array<number>, _options?: Configuration): Observable<Array<number>> {
return this.deleteAgentsWithHttpInfo(requestBody, _options).pipe(map((apiResponse: HttpInfo<Array<number>>) => apiResponse.data));
} | /**
* Delete multiple agents. Ensure transactionality, return the list of successfully deleted agentId.
* Batch Delete Agents
* @param requestBody List of agentId to be deleted
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1734-L1736 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.getAgentDetailsWithHttpInfo | public getAgentDetailsWithHttpInfo(agentId: number, _options?: Configuration): Observable<HttpInfo<AgentDetailsDTO>> {
const requestContextPromise = this.requestFactory.getAgentDetails(agentId, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAgentDetailsWithHttpInfo(rsp)));
}));
} | /**
* Get agent detailed information.
* Get Agent Details
* @param agentId AgentId to be obtained
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1743-L1760 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.getAgentDetails | public getAgentDetails(agentId: number, _options?: Configuration): Observable<AgentDetailsDTO> {
return this.getAgentDetailsWithHttpInfo(agentId, _options).pipe(map((apiResponse: HttpInfo<AgentDetailsDTO>) => apiResponse.data));
} | /**
* Get agent detailed information.
* Get Agent Details
* @param agentId AgentId to be obtained
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1767-L1769 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.getAgentSummaryWithHttpInfo | public getAgentSummaryWithHttpInfo(agentId: number, _options?: Configuration): Observable<HttpInfo<AgentSummaryDTO>> {
const requestContextPromise = this.requestFactory.getAgentSummary(agentId, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAgentSummaryWithHttpInfo(rsp)));
}));
} | /**
* Get agent summary information.
* Get Agent Summary
* @param agentId agentId to be obtained
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1776-L1793 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.getAgentSummary | public getAgentSummary(agentId: number, _options?: Configuration): Observable<AgentSummaryDTO> {
return this.getAgentSummaryWithHttpInfo(agentId, _options).pipe(map((apiResponse: HttpInfo<AgentSummaryDTO>) => apiResponse.data));
} | /**
* Get agent summary information.
* Get Agent Summary
* @param agentId agentId to be obtained
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1800-L1802 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.listAgentVersionsByNameWithHttpInfo | public listAgentVersionsByNameWithHttpInfo(name: string, _options?: Configuration): Observable<HttpInfo<Array<AgentItemForNameDTO>>> {
const requestContextPromise = this.requestFactory.listAgentVersionsByName(name, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listAgentVersionsByNameWithHttpInfo(rsp)));
}));
} | /**
* List the versions and corresponding agentIds by agent name.
* List Versions by Agent Name
* @param name Agent name
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1809-L1826 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.listAgentVersionsByName | public listAgentVersionsByName(name: string, _options?: Configuration): Observable<Array<AgentItemForNameDTO>> {
return this.listAgentVersionsByNameWithHttpInfo(name, _options).pipe(map((apiResponse: HttpInfo<Array<AgentItemForNameDTO>>) => apiResponse.data));
} | /**
* List the versions and corresponding agentIds by agent name.
* List Versions by Agent Name
* @param name Agent name
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1833-L1835 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.publishAgentWithHttpInfo | public publishAgentWithHttpInfo(agentId: number, visibility: string, _options?: Configuration): Observable<HttpInfo<number>> {
const requestContextPromise = this.requestFactory.publishAgent(agentId, visibility, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.publishAgentWithHttpInfo(rsp)));
}));
} | /**
* Publish agent, draft content becomes formal content, version number increases by 1. After successful publication, a new agentId will be generated and returned. You need to specify the visibility for publication.
* Publish Agent
* @param agentId The agentId to be published
* @param visibility Visibility: public | private | ...
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1843-L1860 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.publishAgent | public publishAgent(agentId: number, visibility: string, _options?: Configuration): Observable<number> {
return this.publishAgentWithHttpInfo(agentId, visibility, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data));
} | /**
* Publish agent, draft content becomes formal content, version number increases by 1. After successful publication, a new agentId will be generated and returned. You need to specify the visibility for publication.
* Publish Agent
* @param agentId The agentId to be published
* @param visibility Visibility: public | private | ...
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1868-L1870 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.searchAgentDetailsWithHttpInfo | public searchAgentDetailsWithHttpInfo(agentQueryDTO: AgentQueryDTO, _options?: Configuration): Observable<HttpInfo<Array<AgentDetailsDTO>>> {
const requestContextPromise = this.requestFactory.searchAgentDetails(agentQueryDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.searchAgentDetailsWithHttpInfo(rsp)));
}));
} | /**
* Same as /api/v2/agent/search, but returns detailed information of the agent.
* Search Agent Details
* @param agentQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1877-L1894 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.searchAgentDetails | public searchAgentDetails(agentQueryDTO: AgentQueryDTO, _options?: Configuration): Observable<Array<AgentDetailsDTO>> {
return this.searchAgentDetailsWithHttpInfo(agentQueryDTO, _options).pipe(map((apiResponse: HttpInfo<Array<AgentDetailsDTO>>) => apiResponse.data));
} | /**
* Same as /api/v2/agent/search, but returns detailed information of the agent.
* Search Agent Details
* @param agentQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1901-L1903 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.searchAgentSummaryWithHttpInfo | public searchAgentSummaryWithHttpInfo(agentQueryDTO: AgentQueryDTO, _options?: Configuration): Observable<HttpInfo<Array<AgentSummaryDTO>>> {
const requestContextPromise = this.requestFactory.searchAgentSummary(agentQueryDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.searchAgentSummaryWithHttpInfo(rsp)));
}));
} | /**
* Search agents: - Specifiable query fields, and relationship: - Scope: private, public_org or public. Private can only search this account. - Username: exact match, only valid when searching public, public_org. If not specified, search all users. - Format: exact match, currently supported: langflow - Tags: exact match (support and, or logic). - Model type: exact match (support and, or logic). - Name: left match. - General: name, description, example, fuzzy match, one hit is enough; public scope + all user\'s general search does not guarantee timeliness. - A certain sorting rule can be specified, such as view count, reference count, rating, time, descending or ascending. - The search result is the agent summary content. - Support pagination.
* Search Agent Summary
* @param agentQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1910-L1927 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.searchAgentSummary | public searchAgentSummary(agentQueryDTO: AgentQueryDTO, _options?: Configuration): Observable<Array<AgentSummaryDTO>> {
return this.searchAgentSummaryWithHttpInfo(agentQueryDTO, _options).pipe(map((apiResponse: HttpInfo<Array<AgentSummaryDTO>>) => apiResponse.data));
} | /**
* Search agents: - Specifiable query fields, and relationship: - Scope: private, public_org or public. Private can only search this account. - Username: exact match, only valid when searching public, public_org. If not specified, search all users. - Format: exact match, currently supported: langflow - Tags: exact match (support and, or logic). - Model type: exact match (support and, or logic). - Name: left match. - General: name, description, example, fuzzy match, one hit is enough; public scope + all user\'s general search does not guarantee timeliness. - A certain sorting rule can be specified, such as view count, reference count, rating, time, descending or ascending. - The search result is the agent summary content. - Support pagination.
* Search Agent Summary
* @param agentQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1934-L1936 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.updateAgentWithHttpInfo | public updateAgentWithHttpInfo(agentId: number, agentUpdateDTO: AgentUpdateDTO, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.updateAgent(agentId, agentUpdateDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.updateAgentWithHttpInfo(rsp)));
}));
} | /**
* Update agent, refer to /api/v2/agent/create, required field: agentId. Return success or failure.
* Update Agent
* @param agentId AgentId to be updated
* @param agentUpdateDTO Agent information to be updated
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1944-L1961 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAgentApi.updateAgent | public updateAgent(agentId: number, agentUpdateDTO: AgentUpdateDTO, _options?: Configuration): Observable<boolean> {
return this.updateAgentWithHttpInfo(agentId, agentUpdateDTO, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
} | /**
* Update agent, refer to /api/v2/agent/create, required field: agentId. Return success or failure.
* Update Agent
* @param agentId AgentId to be updated
* @param agentUpdateDTO Agent information to be updated
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1969-L1971 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAppConfigForAdminApi.getDefaultConfigWithHttpInfo | public getDefaultConfigWithHttpInfo(_options?: Configuration): Observable<HttpInfo<string>> {
const requestContextPromise = this.requestFactory.getDefaultConfig(_options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getDefaultConfigWithHttpInfo(rsp)));
}));
} | /**
* Get default configuration information of the application.
* Get Default Config
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L1995-L2012 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAppConfigForAdminApi.getDefaultConfig | public getDefaultConfig(_options?: Configuration): Observable<string> {
return this.getDefaultConfigWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo<string>) => apiResponse.data));
} | /**
* Get default configuration information of the application.
* Get Default Config
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2018-L2020 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAppMetaForAdminApi.getAppMetaWithHttpInfo | public getAppMetaWithHttpInfo(_options?: Configuration): Observable<HttpInfo<AppMetaDTO>> {
const requestContextPromise = this.requestFactory.getAppMeta(_options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAppMetaWithHttpInfo(rsp)));
}));
} | /**
* Get application information to accurately locate the corresponding project version.
* Get Application Information
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2044-L2061 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableAppMetaForAdminApi.getAppMeta | public getAppMeta(_options?: Configuration): Observable<AppMetaDTO> {
return this.getAppMetaWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo<AppMetaDTO>) => apiResponse.data));
} | /**
* Get application information to accurately locate the corresponding project version.
* Get Application Information
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2067-L2069 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.addCharacterBackendWithHttpInfo | public addCharacterBackendWithHttpInfo(characterUid: string, characterBackendDTO: CharacterBackendDTO, _options?: Configuration): Observable<HttpInfo<string>> {
const requestContextPromise = this.requestFactory.addCharacterBackend(characterUid, characterBackendDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.addCharacterBackendWithHttpInfo(rsp)));
}));
} | /**
* Add a backend configuration for a character.
* Add Character Backend
* @param characterUid The characterUid to be added a backend
* @param characterBackendDTO The character backend to be added
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2095-L2112 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.addCharacterBackend | public addCharacterBackend(characterUid: string, characterBackendDTO: CharacterBackendDTO, _options?: Configuration): Observable<string> {
return this.addCharacterBackendWithHttpInfo(characterUid, characterBackendDTO, _options).pipe(map((apiResponse: HttpInfo<string>) => apiResponse.data));
} | /**
* Add a backend configuration for a character.
* Add Character Backend
* @param characterUid The characterUid to be added a backend
* @param characterBackendDTO The character backend to be added
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2120-L2122 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.batchSearchCharacterDetailsWithHttpInfo | public batchSearchCharacterDetailsWithHttpInfo(characterQueryDTO: Array<CharacterQueryDTO>, _options?: Configuration): Observable<HttpInfo<Array<Array<CharacterDetailsDTO>>>> {
const requestContextPromise = this.requestFactory.batchSearchCharacterDetails(characterQueryDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.batchSearchCharacterDetailsWithHttpInfo(rsp)));
}));
} | /**
* Batch call shortcut for /api/v2/character/details/search.
* Batch Search Character Details
* @param characterQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2129-L2146 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.batchSearchCharacterDetails | public batchSearchCharacterDetails(characterQueryDTO: Array<CharacterQueryDTO>, _options?: Configuration): Observable<Array<Array<CharacterDetailsDTO>>> {
return this.batchSearchCharacterDetailsWithHttpInfo(characterQueryDTO, _options).pipe(map((apiResponse: HttpInfo<Array<Array<CharacterDetailsDTO>>>) => apiResponse.data));
} | /**
* Batch call shortcut for /api/v2/character/details/search.
* Batch Search Character Details
* @param characterQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2153-L2155 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.batchSearchCharacterSummaryWithHttpInfo | public batchSearchCharacterSummaryWithHttpInfo(characterQueryDTO: Array<CharacterQueryDTO>, _options?: Configuration): Observable<HttpInfo<Array<Array<CharacterSummaryDTO>>>> {
const requestContextPromise = this.requestFactory.batchSearchCharacterSummary(characterQueryDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.batchSearchCharacterSummaryWithHttpInfo(rsp)));
}));
} | /**
* Batch call shortcut for /api/v2/character/search.
* Batch Search Character Summaries
* @param characterQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2162-L2179 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.batchSearchCharacterSummary | public batchSearchCharacterSummary(characterQueryDTO: Array<CharacterQueryDTO>, _options?: Configuration): Observable<Array<Array<CharacterSummaryDTO>>> {
return this.batchSearchCharacterSummaryWithHttpInfo(characterQueryDTO, _options).pipe(map((apiResponse: HttpInfo<Array<Array<CharacterSummaryDTO>>>) => apiResponse.data));
} | /**
* Batch call shortcut for /api/v2/character/search.
* Batch Search Character Summaries
* @param characterQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2186-L2188 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.cloneCharacterWithHttpInfo | public cloneCharacterWithHttpInfo(characterId: number, _options?: Configuration): Observable<HttpInfo<number>> {
const requestContextPromise = this.requestFactory.cloneCharacter(characterId, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.cloneCharacterWithHttpInfo(rsp)));
}));
} | /**
* Enter the characterId, generate a new record, the content is basically the same as the original character, but the following fields are different: - Version number is 1 - Visibility is private - The parent character is the source characterId - The creation time is the current moment. - All statistical indicators are zeroed. Return the new characterId.
* Clone Character
* @param characterId The referenced characterId
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2195-L2212 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.cloneCharacter | public cloneCharacter(characterId: number, _options?: Configuration): Observable<number> {
return this.cloneCharacterWithHttpInfo(characterId, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data));
} | /**
* Enter the characterId, generate a new record, the content is basically the same as the original character, but the following fields are different: - Version number is 1 - Visibility is private - The parent character is the source characterId - The creation time is the current moment. - All statistical indicators are zeroed. Return the new characterId.
* Clone Character
* @param characterId The referenced characterId
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2219-L2221 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.countCharactersWithHttpInfo | public countCharactersWithHttpInfo(characterQueryDTO: CharacterQueryDTO, _options?: Configuration): Observable<HttpInfo<number>> {
const requestContextPromise = this.requestFactory.countCharacters(characterQueryDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.countCharactersWithHttpInfo(rsp)));
}));
} | /**
* Calculate the number of characters according to the specified query conditions.
* Calculate Number of Characters
* @param characterQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2228-L2245 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.countCharacters | public countCharacters(characterQueryDTO: CharacterQueryDTO, _options?: Configuration): Observable<number> {
return this.countCharactersWithHttpInfo(characterQueryDTO, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data));
} | /**
* Calculate the number of characters according to the specified query conditions.
* Calculate Number of Characters
* @param characterQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2252-L2254 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.countPublicCharactersWithHttpInfo | public countPublicCharactersWithHttpInfo(characterQueryDTO: CharacterQueryDTO, _options?: Configuration): Observable<HttpInfo<number>> {
const requestContextPromise = this.requestFactory.countPublicCharacters(characterQueryDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.countPublicCharactersWithHttpInfo(rsp)));
}));
} | /**
* Calculate the number of characters according to the specified query conditions.
* Calculate Number of Public Characters
* @param characterQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2261-L2278 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.countPublicCharacters | public countPublicCharacters(characterQueryDTO: CharacterQueryDTO, _options?: Configuration): Observable<number> {
return this.countPublicCharactersWithHttpInfo(characterQueryDTO, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data));
} | /**
* Calculate the number of characters according to the specified query conditions.
* Calculate Number of Public Characters
* @param characterQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2285-L2287 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.createCharacterWithHttpInfo | public createCharacterWithHttpInfo(characterCreateDTO: CharacterCreateDTO, _options?: Configuration): Observable<HttpInfo<number>> {
const requestContextPromise = this.requestFactory.createCharacter(characterCreateDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createCharacterWithHttpInfo(rsp)));
}));
} | /**
* Create a character.
* Create Character
* @param characterCreateDTO Information of the character to be created
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2294-L2311 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.createCharacter | public createCharacter(characterCreateDTO: CharacterCreateDTO, _options?: Configuration): Observable<number> {
return this.createCharacterWithHttpInfo(characterCreateDTO, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data));
} | /**
* Create a character.
* Create Character
* @param characterCreateDTO Information of the character to be created
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2318-L2320 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.deleteCharacterWithHttpInfo | public deleteCharacterWithHttpInfo(characterId: number, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.deleteCharacter(characterId, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCharacterWithHttpInfo(rsp)));
}));
} | /**
* Delete character. Returns success or failure.
* Delete Character
* @param characterId The characterId to be deleted
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2327-L2344 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.deleteCharacter | public deleteCharacter(characterId: number, _options?: Configuration): Observable<boolean> {
return this.deleteCharacterWithHttpInfo(characterId, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
} | /**
* Delete character. Returns success or failure.
* Delete Character
* @param characterId The characterId to be deleted
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2351-L2353 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.deleteCharacterByNameWithHttpInfo | public deleteCharacterByNameWithHttpInfo(name: string, _options?: Configuration): Observable<HttpInfo<Array<number>>> {
const requestContextPromise = this.requestFactory.deleteCharacterByName(name, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCharacterByNameWithHttpInfo(rsp)));
}));
} | /**
* Delete character by name. return the list of successfully deleted characterIds.
* Delete Character by Name
* @param name The character name to be deleted
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2360-L2377 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.deleteCharacterByName | public deleteCharacterByName(name: string, _options?: Configuration): Observable<Array<number>> {
return this.deleteCharacterByNameWithHttpInfo(name, _options).pipe(map((apiResponse: HttpInfo<Array<number>>) => apiResponse.data));
} | /**
* Delete character by name. return the list of successfully deleted characterIds.
* Delete Character by Name
* @param name The character name to be deleted
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2384-L2386 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.deleteCharacterByUidWithHttpInfo | public deleteCharacterByUidWithHttpInfo(characterUid: string, _options?: Configuration): Observable<HttpInfo<Array<number>>> {
const requestContextPromise = this.requestFactory.deleteCharacterByUid(characterUid, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCharacterByUidWithHttpInfo(rsp)));
}));
} | /**
* Delete character by uid. return the list of successfully deleted characterIds.
* Delete Character by Uid
* @param characterUid The character uid to be deleted
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2393-L2410 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.deleteCharacterByUid | public deleteCharacterByUid(characterUid: string, _options?: Configuration): Observable<Array<number>> {
return this.deleteCharacterByUidWithHttpInfo(characterUid, _options).pipe(map((apiResponse: HttpInfo<Array<number>>) => apiResponse.data));
} | /**
* Delete character by uid. return the list of successfully deleted characterIds.
* Delete Character by Uid
* @param characterUid The character uid to be deleted
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2417-L2419 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.deleteCharacterDocumentWithHttpInfo | public deleteCharacterDocumentWithHttpInfo(key: string, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.deleteCharacterDocument(key, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCharacterDocumentWithHttpInfo(rsp)));
}));
} | /**
* Delete a document of the character by key.
* Delete Character Document
* @param key Document key
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2426-L2443 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.deleteCharacterDocument | public deleteCharacterDocument(key: string, _options?: Configuration): Observable<boolean> {
return this.deleteCharacterDocumentWithHttpInfo(key, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
} | /**
* Delete a document of the character by key.
* Delete Character Document
* @param key Document key
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2450-L2452 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.deleteCharacterPictureWithHttpInfo | public deleteCharacterPictureWithHttpInfo(key: string, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.deleteCharacterPicture(key, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCharacterPictureWithHttpInfo(rsp)));
}));
} | /**
* Delete a picture of the character by key.
* Delete Character Picture
* @param key Image key
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2459-L2476 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.deleteCharacterPicture | public deleteCharacterPicture(key: string, _options?: Configuration): Observable<boolean> {
return this.deleteCharacterPictureWithHttpInfo(key, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
} | /**
* Delete a picture of the character by key.
* Delete Character Picture
* @param key Image key
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2483-L2485 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.deleteCharacterVoiceWithHttpInfo | public deleteCharacterVoiceWithHttpInfo(characterBackendId: string, key: string, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.deleteCharacterVoice(characterBackendId, key, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCharacterVoiceWithHttpInfo(rsp)));
}));
} | /**
* Delete a voice of the character by key.
* Delete Character Voice
* @param characterBackendId The characterBackendId
* @param key Voice key
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2493-L2510 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.deleteCharacterVoice | public deleteCharacterVoice(characterBackendId: string, key: string, _options?: Configuration): Observable<boolean> {
return this.deleteCharacterVoiceWithHttpInfo(characterBackendId, key, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
} | /**
* Delete a voice of the character by key.
* Delete Character Voice
* @param characterBackendId The characterBackendId
* @param key Voice key
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2518-L2520 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.existsCharacterNameWithHttpInfo | public existsCharacterNameWithHttpInfo(name: string, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.existsCharacterName(name, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.existsCharacterNameWithHttpInfo(rsp)));
}));
} | /**
* Check if the character name already exists.
* Check If Character Name Exists
* @param name Name
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2527-L2544 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.existsCharacterName | public existsCharacterName(name: string, _options?: Configuration): Observable<boolean> {
return this.existsCharacterNameWithHttpInfo(name, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
} | /**
* Check if the character name already exists.
* Check If Character Name Exists
* @param name Name
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2551-L2553 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.exportCharacterWithHttpInfo | public exportCharacterWithHttpInfo(characterId: number, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.exportCharacter(characterId, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.exportCharacterWithHttpInfo(rsp)));
}));
} | /**
* Export character configuration in tar.gz format, including settings, documents and pictures.
* Export Character Configuration
* @param characterId Character identifier
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2560-L2577 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.exportCharacter | public exportCharacter(characterId: number, _options?: Configuration): Observable<void> {
return this.exportCharacterWithHttpInfo(characterId, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} | /**
* Export character configuration in tar.gz format, including settings, documents and pictures.
* Export Character Configuration
* @param characterId Character identifier
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2584-L2586 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.getCharacterDetailsWithHttpInfo | public getCharacterDetailsWithHttpInfo(characterId: number, _options?: Configuration): Observable<HttpInfo<CharacterDetailsDTO>> {
const requestContextPromise = this.requestFactory.getCharacterDetails(characterId, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getCharacterDetailsWithHttpInfo(rsp)));
}));
} | /**
* Get character detailed information.
* Get Character Details
* @param characterId CharacterId to be obtained
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2593-L2610 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.getCharacterDetails | public getCharacterDetails(characterId: number, _options?: Configuration): Observable<CharacterDetailsDTO> {
return this.getCharacterDetailsWithHttpInfo(characterId, _options).pipe(map((apiResponse: HttpInfo<CharacterDetailsDTO>) => apiResponse.data));
} | /**
* Get character detailed information.
* Get Character Details
* @param characterId CharacterId to be obtained
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2617-L2619 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.getCharacterLatestIdByNameWithHttpInfo | public getCharacterLatestIdByNameWithHttpInfo(name: string, _options?: Configuration): Observable<HttpInfo<number>> {
const requestContextPromise = this.requestFactory.getCharacterLatestIdByName(name, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getCharacterLatestIdByNameWithHttpInfo(rsp)));
}));
} | /**
* Get latest characterId by character name.
* Get Latest Character Id by Name
* @param name Character name
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2626-L2643 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.getCharacterLatestIdByName | public getCharacterLatestIdByName(name: string, _options?: Configuration): Observable<number> {
return this.getCharacterLatestIdByNameWithHttpInfo(name, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data));
} | /**
* Get latest characterId by character name.
* Get Latest Character Id by Name
* @param name Character name
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2650-L2652 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.getCharacterSummaryWithHttpInfo | public getCharacterSummaryWithHttpInfo(characterId: number, _options?: Configuration): Observable<HttpInfo<CharacterSummaryDTO>> {
const requestContextPromise = this.requestFactory.getCharacterSummary(characterId, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getCharacterSummaryWithHttpInfo(rsp)));
}));
} | /**
* Get character summary information.
* Get Character Summary
* @param characterId CharacterId to be obtained
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2659-L2676 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.getCharacterSummary | public getCharacterSummary(characterId: number, _options?: Configuration): Observable<CharacterSummaryDTO> {
return this.getCharacterSummaryWithHttpInfo(characterId, _options).pipe(map((apiResponse: HttpInfo<CharacterSummaryDTO>) => apiResponse.data));
} | /**
* Get character summary information.
* Get Character Summary
* @param characterId CharacterId to be obtained
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2683-L2685 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.getDefaultCharacterBackendWithHttpInfo | public getDefaultCharacterBackendWithHttpInfo(characterUid: string, _options?: Configuration): Observable<HttpInfo<CharacterBackendDetailsDTO>> {
const requestContextPromise = this.requestFactory.getDefaultCharacterBackend(characterUid, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getDefaultCharacterBackendWithHttpInfo(rsp)));
}));
} | /**
* Get the default backend configuration.
* Get Default Character Backend
* @param characterUid The characterUid to be queried
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2692-L2709 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.getDefaultCharacterBackend | public getDefaultCharacterBackend(characterUid: string, _options?: Configuration): Observable<CharacterBackendDetailsDTO> {
return this.getDefaultCharacterBackendWithHttpInfo(characterUid, _options).pipe(map((apiResponse: HttpInfo<CharacterBackendDetailsDTO>) => apiResponse.data));
} | /**
* Get the default backend configuration.
* Get Default Character Backend
* @param characterUid The characterUid to be queried
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2716-L2718 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.importCharacterWithHttpInfo | public importCharacterWithHttpInfo(file: HttpFile, _options?: Configuration): Observable<HttpInfo<number>> {
const requestContextPromise = this.requestFactory.importCharacter(file, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.importCharacterWithHttpInfo(rsp)));
}));
} | /**
* Import character configuration from a tar.gz file.
* Import Character Configuration
* @param file Character avatar
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2725-L2742 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.importCharacter | public importCharacter(file: HttpFile, _options?: Configuration): Observable<number> {
return this.importCharacterWithHttpInfo(file, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data));
} | /**
* Import character configuration from a tar.gz file.
* Import Character Configuration
* @param file Character avatar
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2749-L2751 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.listCharacterBackendIdsWithHttpInfo | public listCharacterBackendIdsWithHttpInfo(characterUid: string, _options?: Configuration): Observable<HttpInfo<Array<string>>> {
const requestContextPromise = this.requestFactory.listCharacterBackendIds(characterUid, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (const middleware of this.configuration.middleware) {
middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
}
return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
pipe(mergeMap((response: ResponseContext) => {
let middlewarePostObservable = of(response);
for (const middleware of this.configuration.middleware) {
middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
}
return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listCharacterBackendIdsWithHttpInfo(rsp)));
}));
} | /**
* List character backend identifiers.
* List Character Backend ids
* @param characterUid The characterUid to be queried
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2758-L2775 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableCharacterApi.listCharacterBackendIds | public listCharacterBackendIds(characterUid: string, _options?: Configuration): Observable<Array<string>> {
return this.listCharacterBackendIdsWithHttpInfo(characterUid, _options).pipe(map((apiResponse: HttpInfo<Array<string>>) => apiResponse.data));
} | /**
* List character backend identifiers.
* List Character Backend ids
* @param characterUid The characterUid to be queried
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L2782-L2784 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.