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
ObservablePromptApi.searchPromptSummaryWithHttpInfo
public searchPromptSummaryWithHttpInfo(promptQueryDTO: PromptQueryDTO, _options?: Configuration): Observable<HttpInfo<Array<PromptSummaryDTO>>> { const requestContextPromise = this.requestFactory.searchPromptSummary(promptQueryDTO, _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.searchPromptSummaryWithHttpInfo(rsp))); })); }
/** * Search prompts: - 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. - Tags: exact match (support and, or logic). - Model type: exact match (support and, or logic). - Name: left match. - Type, exact match: string (default) | chat. - Language, exact match. - General: name, description, template, 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 prompt summary content. - Support pagination. * Search Prompt Summary * @param promptQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6319-L6336
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservablePromptApi.searchPromptSummary
public searchPromptSummary(promptQueryDTO: PromptQueryDTO, _options?: Configuration): Observable<Array<PromptSummaryDTO>> { return this.searchPromptSummaryWithHttpInfo(promptQueryDTO, _options).pipe(map((apiResponse: HttpInfo<Array<PromptSummaryDTO>>) => apiResponse.data)); }
/** * Search prompts: - 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. - Tags: exact match (support and, or logic). - Model type: exact match (support and, or logic). - Name: left match. - Type, exact match: string (default) | chat. - Language, exact match. - General: name, description, template, 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 prompt summary content. - Support pagination. * Search Prompt Summary * @param promptQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6343-L6345
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservablePromptApi.searchPublicPromptSummaryWithHttpInfo
public searchPublicPromptSummaryWithHttpInfo(promptQueryDTO: PromptQueryDTO, _options?: Configuration): Observable<HttpInfo<Array<PromptSummaryDTO>>> { const requestContextPromise = this.requestFactory.searchPublicPromptSummary(promptQueryDTO, _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.searchPublicPromptSummaryWithHttpInfo(rsp))); })); }
/** * Search prompts: - Specifiable query fields, and relationship: - Scope: public(fixed). - Username: exact match. If not specified, search all users. - Tags: exact match (support and, or logic). - Model type: exact match (support and, or logic). - Name: left match. - Type, exact match: string (default) | chat. - Language, exact match. - General: name, description, template, 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 prompt summary content. - Support pagination. * Search Public Prompt Summary * @param promptQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6352-L6369
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservablePromptApi.searchPublicPromptSummary
public searchPublicPromptSummary(promptQueryDTO: PromptQueryDTO, _options?: Configuration): Observable<Array<PromptSummaryDTO>> { return this.searchPublicPromptSummaryWithHttpInfo(promptQueryDTO, _options).pipe(map((apiResponse: HttpInfo<Array<PromptSummaryDTO>>) => apiResponse.data)); }
/** * Search prompts: - Specifiable query fields, and relationship: - Scope: public(fixed). - Username: exact match. If not specified, search all users. - Tags: exact match (support and, or logic). - Model type: exact match (support and, or logic). - Name: left match. - Type, exact match: string (default) | chat. - Language, exact match. - General: name, description, template, 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 prompt summary content. - Support pagination. * Search Public Prompt Summary * @param promptQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6376-L6378
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservablePromptApi.sendPromptWithHttpInfo
public sendPromptWithHttpInfo(promptAiParamDTO: PromptAiParamDTO, _options?: Configuration): Observable<HttpInfo<LlmResultDTO>> { const requestContextPromise = this.requestFactory.sendPrompt(promptAiParamDTO, _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.sendPromptWithHttpInfo(rsp))); })); }
/** * Send the prompt to the AI service. Note that if the embedding model is called, the return is an embedding array, placed in the details field of the result; the original text is in the text field of the result. * Send Prompt * @param promptAiParamDTO Call parameters */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6385-L6402
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservablePromptApi.sendPrompt
public sendPrompt(promptAiParamDTO: PromptAiParamDTO, _options?: Configuration): Observable<LlmResultDTO> { return this.sendPromptWithHttpInfo(promptAiParamDTO, _options).pipe(map((apiResponse: HttpInfo<LlmResultDTO>) => apiResponse.data)); }
/** * Send the prompt to the AI service. Note that if the embedding model is called, the return is an embedding array, placed in the details field of the result; the original text is in the text field of the result. * Send Prompt * @param promptAiParamDTO Call parameters */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6409-L6411
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservablePromptApi.streamSendPromptWithHttpInfo
public streamSendPromptWithHttpInfo(promptAiParamDTO: PromptAiParamDTO, _options?: Configuration): Observable<HttpInfo<SseEmitter>> { const requestContextPromise = this.requestFactory.streamSendPrompt(promptAiParamDTO, _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.streamSendPromptWithHttpInfo(rsp))); })); }
/** * Refer to /api/v2/prompt/send, stream back chunks of the response. * Send Prompt by Streaming Back * @param promptAiParamDTO Call parameters */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6418-L6435
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservablePromptApi.streamSendPrompt
public streamSendPrompt(promptAiParamDTO: PromptAiParamDTO, _options?: Configuration): Observable<SseEmitter> { return this.streamSendPromptWithHttpInfo(promptAiParamDTO, _options).pipe(map((apiResponse: HttpInfo<SseEmitter>) => apiResponse.data)); }
/** * Refer to /api/v2/prompt/send, stream back chunks of the response. * Send Prompt by Streaming Back * @param promptAiParamDTO Call parameters */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6442-L6444
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservablePromptApi.updatePromptWithHttpInfo
public updatePromptWithHttpInfo(promptId: number, promptUpdateDTO: PromptUpdateDTO, _options?: Configuration): Observable<HttpInfo<boolean>> { const requestContextPromise = this.requestFactory.updatePrompt(promptId, promptUpdateDTO, _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.updatePromptWithHttpInfo(rsp))); })); }
/** * Update prompt, refer to /api/v2/prompt/create, required field: promptId. Returns success or failure. * Update Prompt * @param promptId The promptId to be updated * @param promptUpdateDTO The prompt information to be updated */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6452-L6469
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservablePromptApi.updatePrompt
public updatePrompt(promptId: number, promptUpdateDTO: PromptUpdateDTO, _options?: Configuration): Observable<boolean> { return this.updatePromptWithHttpInfo(promptId, promptUpdateDTO, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data)); }
/** * Update prompt, refer to /api/v2/prompt/create, required field: promptId. Returns success or failure. * Update Prompt * @param promptId The promptId to be updated * @param promptUpdateDTO The prompt information to be updated */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6477-L6479
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservablePromptTaskApi.createPromptTaskWithHttpInfo
public createPromptTaskWithHttpInfo(promptTaskDTO: PromptTaskDTO, _options?: Configuration): Observable<HttpInfo<string>> { const requestContextPromise = this.requestFactory.createPromptTask(promptTaskDTO, _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.createPromptTaskWithHttpInfo(rsp))); })); }
/** * Create a prompt task. * Create Prompt Task * @param promptTaskDTO The prompt task to be added */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6504-L6521
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservablePromptTaskApi.createPromptTask
public createPromptTask(promptTaskDTO: PromptTaskDTO, _options?: Configuration): Observable<string> { return this.createPromptTaskWithHttpInfo(promptTaskDTO, _options).pipe(map((apiResponse: HttpInfo<string>) => apiResponse.data)); }
/** * Create a prompt task. * Create Prompt Task * @param promptTaskDTO The prompt task to be added */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6528-L6530
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservablePromptTaskApi.deletePromptTaskWithHttpInfo
public deletePromptTaskWithHttpInfo(promptTaskId: string, _options?: Configuration): Observable<HttpInfo<boolean>> { const requestContextPromise = this.requestFactory.deletePromptTask(promptTaskId, _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.deletePromptTaskWithHttpInfo(rsp))); })); }
/** * Delete a prompt task. * Delete Prompt Task * @param promptTaskId The promptTaskId to be deleted */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6537-L6554
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservablePromptTaskApi.deletePromptTask
public deletePromptTask(promptTaskId: string, _options?: Configuration): Observable<boolean> { return this.deletePromptTaskWithHttpInfo(promptTaskId, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data)); }
/** * Delete a prompt task. * Delete Prompt Task * @param promptTaskId The promptTaskId to be deleted */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6561-L6563
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservablePromptTaskApi.getPromptTaskWithHttpInfo
public getPromptTaskWithHttpInfo(promptTaskId: string, _options?: Configuration): Observable<HttpInfo<PromptTaskDetailsDTO>> { const requestContextPromise = this.requestFactory.getPromptTask(promptTaskId, _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.getPromptTaskWithHttpInfo(rsp))); })); }
/** * Get the prompt task details. * Get Prompt Task * @param promptTaskId The promptTaskId to be queried */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6570-L6587
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservablePromptTaskApi.getPromptTask
public getPromptTask(promptTaskId: string, _options?: Configuration): Observable<PromptTaskDetailsDTO> { return this.getPromptTaskWithHttpInfo(promptTaskId, _options).pipe(map((apiResponse: HttpInfo<PromptTaskDetailsDTO>) => apiResponse.data)); }
/** * Get the prompt task details. * Get Prompt Task * @param promptTaskId The promptTaskId to be queried */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6594-L6596
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservablePromptTaskApi.updatePromptTaskWithHttpInfo
public updatePromptTaskWithHttpInfo(promptTaskId: string, promptTaskDTO: PromptTaskDTO, _options?: Configuration): Observable<HttpInfo<boolean>> { const requestContextPromise = this.requestFactory.updatePromptTask(promptTaskId, promptTaskDTO, _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.updatePromptTaskWithHttpInfo(rsp))); })); }
/** * Update a prompt task. * Update Prompt Task * @param promptTaskId The promptTaskId to be updated * @param promptTaskDTO The prompt task info to be updated */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6604-L6621
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservablePromptTaskApi.updatePromptTask
public updatePromptTask(promptTaskId: string, promptTaskDTO: PromptTaskDTO, _options?: Configuration): Observable<boolean> { return this.updatePromptTaskWithHttpInfo(promptTaskId, promptTaskDTO, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data)); }
/** * Update a prompt task. * Update Prompt Task * @param promptTaskId The promptTaskId to be updated * @param promptTaskDTO The prompt task info to be updated */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6629-L6631
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableRagApi.cancelRagTaskWithHttpInfo
public cancelRagTaskWithHttpInfo(taskId: number, _options?: Configuration): Observable<HttpInfo<boolean>> { const requestContextPromise = this.requestFactory.cancelRagTask(taskId, _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.cancelRagTaskWithHttpInfo(rsp))); })); }
/** * Cancel a RAG task. * Cancel RAG Task * @param taskId The taskId to be canceled */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6656-L6673
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableRagApi.cancelRagTask
public cancelRagTask(taskId: number, _options?: Configuration): Observable<boolean> { return this.cancelRagTaskWithHttpInfo(taskId, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data)); }
/** * Cancel a RAG task. * Cancel RAG Task * @param taskId The taskId to be canceled */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6680-L6682
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableRagApi.createRagTaskWithHttpInfo
public createRagTaskWithHttpInfo(characterUid: string, ragTaskDTO: RagTaskDTO, _options?: Configuration): Observable<HttpInfo<number>> { const requestContextPromise = this.requestFactory.createRagTask(characterUid, ragTaskDTO, _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.createRagTaskWithHttpInfo(rsp))); })); }
/** * Create a RAG task. * Create RAG Task * @param characterUid The characterUid to be added a RAG task * @param ragTaskDTO The RAG task to be added */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6690-L6707
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableRagApi.createRagTask
public createRagTask(characterUid: string, ragTaskDTO: RagTaskDTO, _options?: Configuration): Observable<number> { return this.createRagTaskWithHttpInfo(characterUid, ragTaskDTO, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data)); }
/** * Create a RAG task. * Create RAG Task * @param characterUid The characterUid to be added a RAG task * @param ragTaskDTO The RAG task to be added */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6715-L6717
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableRagApi.deleteRagTaskWithHttpInfo
public deleteRagTaskWithHttpInfo(taskId: number, _options?: Configuration): Observable<HttpInfo<boolean>> { const requestContextPromise = this.requestFactory.deleteRagTask(taskId, _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.deleteRagTaskWithHttpInfo(rsp))); })); }
/** * Delete a RAG task. * Delete RAG Task * @param taskId The taskId to be deleted */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6724-L6741
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableRagApi.deleteRagTask
public deleteRagTask(taskId: number, _options?: Configuration): Observable<boolean> { return this.deleteRagTaskWithHttpInfo(taskId, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data)); }
/** * Delete a RAG task. * Delete RAG Task * @param taskId The taskId to be deleted */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6748-L6750
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableRagApi.getRagTaskWithHttpInfo
public getRagTaskWithHttpInfo(taskId: number, _options?: Configuration): Observable<HttpInfo<RagTaskDetailsDTO>> { const requestContextPromise = this.requestFactory.getRagTask(taskId, _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.getRagTaskWithHttpInfo(rsp))); })); }
/** * Get the RAG task details. * Get RAG Task * @param taskId The taskId to be queried */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6757-L6774
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableRagApi.getRagTask
public getRagTask(taskId: number, _options?: Configuration): Observable<RagTaskDetailsDTO> { return this.getRagTaskWithHttpInfo(taskId, _options).pipe(map((apiResponse: HttpInfo<RagTaskDetailsDTO>) => apiResponse.data)); }
/** * Get the RAG task details. * Get RAG Task * @param taskId The taskId to be queried */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6781-L6783
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableRagApi.getRagTaskStatusWithHttpInfo
public getRagTaskStatusWithHttpInfo(taskId: number, _options?: Configuration): Observable<HttpInfo<string>> { const requestContextPromise = this.requestFactory.getRagTaskStatus(taskId, _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.getRagTaskStatusWithHttpInfo(rsp))); })); }
/** * Get the RAG task execution status: pending | running | succeeded | failed | canceled. * Get RAG Task Status * @param taskId The taskId to be queried status */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6790-L6807
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableRagApi.getRagTaskStatus
public getRagTaskStatus(taskId: number, _options?: Configuration): Observable<string> { return this.getRagTaskStatusWithHttpInfo(taskId, _options).pipe(map((apiResponse: HttpInfo<string>) => apiResponse.data)); }
/** * Get the RAG task execution status: pending | running | succeeded | failed | canceled. * Get RAG Task Status * @param taskId The taskId to be queried status */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6814-L6816
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableRagApi.listRagTasksWithHttpInfo
public listRagTasksWithHttpInfo(characterUid: string, _options?: Configuration): Observable<HttpInfo<Array<RagTaskDetailsDTO>>> { const requestContextPromise = this.requestFactory.listRagTasks(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.listRagTasksWithHttpInfo(rsp))); })); }
/** * List the RAG tasks by characterId. * List RAG Tasks * @param characterUid The characterUid to be queried */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6823-L6840
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableRagApi.listRagTasks
public listRagTasks(characterUid: string, _options?: Configuration): Observable<Array<RagTaskDetailsDTO>> { return this.listRagTasksWithHttpInfo(characterUid, _options).pipe(map((apiResponse: HttpInfo<Array<RagTaskDetailsDTO>>) => apiResponse.data)); }
/** * List the RAG tasks by characterId. * List RAG Tasks * @param characterUid The characterUid to be queried */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6847-L6849
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableRagApi.startRagTaskWithHttpInfo
public startRagTaskWithHttpInfo(taskId: number, _options?: Configuration): Observable<HttpInfo<boolean>> { const requestContextPromise = this.requestFactory.startRagTask(taskId, _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.startRagTaskWithHttpInfo(rsp))); })); }
/** * Start a RAG task. * Start RAG Task * @param taskId The taskId to be started */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6856-L6873
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableRagApi.startRagTask
public startRagTask(taskId: number, _options?: Configuration): Observable<boolean> { return this.startRagTaskWithHttpInfo(taskId, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data)); }
/** * Start a RAG task. * Start RAG Task * @param taskId The taskId to be started */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6880-L6882
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableRagApi.updateRagTaskWithHttpInfo
public updateRagTaskWithHttpInfo(taskId: number, ragTaskDTO: RagTaskDTO, _options?: Configuration): Observable<HttpInfo<boolean>> { const requestContextPromise = this.requestFactory.updateRagTask(taskId, ragTaskDTO, _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.updateRagTaskWithHttpInfo(rsp))); })); }
/** * Update a RAG task. * Update RAG Task * @param taskId The taskId to be updated * @param ragTaskDTO The prompt task info to be updated */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6890-L6907
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableRagApi.updateRagTask
public updateRagTask(taskId: number, ragTaskDTO: RagTaskDTO, _options?: Configuration): Observable<boolean> { return this.updateRagTaskWithHttpInfo(taskId, ragTaskDTO, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data)); }
/** * Update a RAG task. * Update RAG Task * @param taskId The taskId to be updated * @param ragTaskDTO The prompt task info to be updated */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6915-L6917
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableTTSServiceApi.listTtsBuiltinSpeakersWithHttpInfo
public listTtsBuiltinSpeakersWithHttpInfo(_options?: Configuration): Observable<HttpInfo<Array<string>>> { const requestContextPromise = this.requestFactory.listTtsBuiltinSpeakers(_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.listTtsBuiltinSpeakersWithHttpInfo(rsp))); })); }
/** * Return builtin TTS speakers. * List Builtin Speakers */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6941-L6958
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableTTSServiceApi.listTtsBuiltinSpeakers
public listTtsBuiltinSpeakers(_options?: Configuration): Observable<Array<string>> { return this.listTtsBuiltinSpeakersWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo<Array<string>>) => apiResponse.data)); }
/** * Return builtin TTS speakers. * List Builtin Speakers */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6964-L6966
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableTTSServiceApi.playSampleWithHttpInfo
public playSampleWithHttpInfo(speakerType: string, speaker: string, _options?: Configuration): Observable<HttpInfo<any>> { const requestContextPromise = this.requestFactory.playSample(speakerType, speaker, _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.playSampleWithHttpInfo(rsp))); })); }
/** * Play TTS sample audio of the builtin/custom speaker. * Play Sample Audio * @param speakerType The speaker type * @param speaker The speaker */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6974-L6991
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableTTSServiceApi.playSample
public playSample(speakerType: string, speaker: string, _options?: Configuration): Observable<any> { return this.playSampleWithHttpInfo(speakerType, speaker, _options).pipe(map((apiResponse: HttpInfo<any>) => apiResponse.data)); }
/** * Play TTS sample audio of the builtin/custom speaker. * Play Sample Audio * @param speakerType The speaker type * @param speaker The speaker */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L6999-L7001
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableTTSServiceApi.speakMessageWithHttpInfo
public speakMessageWithHttpInfo(messageId: number, _options?: Configuration): Observable<HttpInfo<any>> { const requestContextPromise = this.requestFactory.speakMessage(messageId, _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.speakMessageWithHttpInfo(rsp))); })); }
/** * Read out the message. * Speak Message * @param messageId The message id */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L7008-L7025
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableTTSServiceApi.speakMessage
public speakMessage(messageId: number, _options?: Configuration): Observable<any> { return this.speakMessageWithHttpInfo(messageId, _options).pipe(map((apiResponse: HttpInfo<any>) => apiResponse.data)); }
/** * Read out the message. * Speak Message * @param messageId The message id */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L7032-L7034
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableTagManagerForBizAdminApi.createTagWithHttpInfo
public createTagWithHttpInfo(referType: string, referId: string, tag: string, _options?: Configuration): Observable<HttpInfo<boolean>> { const requestContextPromise = this.requestFactory.createTag(referType, referId, tag, _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.createTagWithHttpInfo(rsp))); })); }
/** * Create a tag, tags created by the administrator cannot be deleted by ordinary users. * Create Tag * @param referType Tag type (prompt, agent, plugin...) * @param referId Resource identifier of the tag * @param tag Tag content */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L7061-L7078
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableTagManagerForBizAdminApi.createTag
public createTag(referType: string, referId: string, tag: string, _options?: Configuration): Observable<boolean> { return this.createTagWithHttpInfo(referType, referId, tag, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data)); }
/** * Create a tag, tags created by the administrator cannot be deleted by ordinary users. * Create Tag * @param referType Tag type (prompt, agent, plugin...) * @param referId Resource identifier of the tag * @param tag Tag content */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L7087-L7089
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableTagManagerForBizAdminApi.deleteTagWithHttpInfo
public deleteTagWithHttpInfo(referType: string, referId: string, tag: string, _options?: Configuration): Observable<HttpInfo<boolean>> { const requestContextPromise = this.requestFactory.deleteTag(referType, referId, tag, _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.deleteTagWithHttpInfo(rsp))); })); }
/** * Delete a tag, any tag created by anyone can be deleted. * Delete Tag * @param referType Tag type (prompt, agent, plugin...) * @param referId Resource identifier of the tag * @param tag Tag content */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L7098-L7115
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
ObservableTagManagerForBizAdminApi.deleteTag
public deleteTag(referType: string, referId: string, tag: string, _options?: Configuration): Observable<boolean> { return this.deleteTagWithHttpInfo(referType, referId, tag, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data)); }
/** * Delete a tag, any tag created by anyone can be deleted. * Delete Tag * @param referType Tag type (prompt, agent, plugin...) * @param referId Resource identifier of the tag * @param tag Tag content */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L7124-L7126
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIManagerForBizAdminApi.createOrUpdateAiModelInfoWithHttpInfo
public createOrUpdateAiModelInfoWithHttpInfo(aiModelInfoUpdateDTO: AiModelInfoUpdateDTO, _options?: Configuration): Promise<HttpInfo<string>> { const result = this.api.createOrUpdateAiModelInfoWithHttpInfo(aiModelInfoUpdateDTO, _options); return result.toPromise(); }
/** * Create or update model information. If no modelId is passed or the modelId does not exist in the database, create a new one (keep the same modelId); otherwise update. Return modelId if successful. * Create or Update Model Information * @param aiModelInfoUpdateDTO Model information */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L87-L90
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIManagerForBizAdminApi.createOrUpdateAiModelInfo
public createOrUpdateAiModelInfo(aiModelInfoUpdateDTO: AiModelInfoUpdateDTO, _options?: Configuration): Promise<string> { const result = this.api.createOrUpdateAiModelInfo(aiModelInfoUpdateDTO, _options); return result.toPromise(); }
/** * Create or update model information. If no modelId is passed or the modelId does not exist in the database, create a new one (keep the same modelId); otherwise update. Return modelId if successful. * Create or Update Model Information * @param aiModelInfoUpdateDTO Model information */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L97-L100
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIManagerForBizAdminApi.deleteAiModelInfoWithHttpInfo
public deleteAiModelInfoWithHttpInfo(modelId: string, _options?: Configuration): Promise<HttpInfo<boolean>> { const result = this.api.deleteAiModelInfoWithHttpInfo(modelId, _options); return result.toPromise(); }
/** * Delete model information based on modelId. * Delete Model Information * @param modelId Model identifier */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L107-L110
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIManagerForBizAdminApi.deleteAiModelInfo
public deleteAiModelInfo(modelId: string, _options?: Configuration): Promise<boolean> { const result = this.api.deleteAiModelInfo(modelId, _options); return result.toPromise(); }
/** * Delete model information based on modelId. * Delete Model Information * @param modelId Model identifier */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L117-L120
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.addAiApiKeyWithHttpInfo
public addAiApiKeyWithHttpInfo(aiApiKeyCreateDTO: AiApiKeyCreateDTO, _options?: Configuration): Promise<HttpInfo<number>> { const result = this.api.addAiApiKeyWithHttpInfo(aiApiKeyCreateDTO, _options); return result.toPromise(); }
/** * Add a credential for the model service. * Add Model Provider Credential * @param aiApiKeyCreateDTO Model call credential information */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L146-L149
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.addAiApiKey
public addAiApiKey(aiApiKeyCreateDTO: AiApiKeyCreateDTO, _options?: Configuration): Promise<number> { const result = this.api.addAiApiKey(aiApiKeyCreateDTO, _options); return result.toPromise(); }
/** * Add a credential for the model service. * Add Model Provider Credential * @param aiApiKeyCreateDTO Model call credential information */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L156-L159
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.deleteAiApiKeyWithHttpInfo
public deleteAiApiKeyWithHttpInfo(id: number, _options?: Configuration): Promise<HttpInfo<boolean>> { const result = this.api.deleteAiApiKeyWithHttpInfo(id, _options); return result.toPromise(); }
/** * Delete the credential information of the model provider. * Delete Credential of Model Provider * @param id Credential identifier */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L166-L169
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.deleteAiApiKey
public deleteAiApiKey(id: number, _options?: Configuration): Promise<boolean> { const result = this.api.deleteAiApiKey(id, _options); return result.toPromise(); }
/** * Delete the credential information of the model provider. * Delete Credential of Model Provider * @param id Credential identifier */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L176-L179
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.disableAiApiKeyWithHttpInfo
public disableAiApiKeyWithHttpInfo(id: number, _options?: Configuration): Promise<HttpInfo<boolean>> { const result = this.api.disableAiApiKeyWithHttpInfo(id, _options); return result.toPromise(); }
/** * Disable the credential information of the model provider. * Disable Model Provider Credential * @param id Credential identifier */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L186-L189
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.disableAiApiKey
public disableAiApiKey(id: number, _options?: Configuration): Promise<boolean> { const result = this.api.disableAiApiKey(id, _options); return result.toPromise(); }
/** * Disable the credential information of the model provider. * Disable Model Provider Credential * @param id Credential identifier */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L196-L199
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.enableAiApiKeyWithHttpInfo
public enableAiApiKeyWithHttpInfo(id: number, _options?: Configuration): Promise<HttpInfo<boolean>> { const result = this.api.enableAiApiKeyWithHttpInfo(id, _options); return result.toPromise(); }
/** * Enable the credential information of the model provider. * Enable Model Provider Credential * @param id Credential identifier */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L206-L209
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.enableAiApiKey
public enableAiApiKey(id: number, _options?: Configuration): Promise<boolean> { const result = this.api.enableAiApiKey(id, _options); return result.toPromise(); }
/** * Enable the credential information of the model provider. * Enable Model Provider Credential * @param id Credential identifier */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L216-L219
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.getAiApiKeyWithHttpInfo
public getAiApiKeyWithHttpInfo(id: number, _options?: Configuration): Promise<HttpInfo<AiApiKeyInfoDTO>> { const result = this.api.getAiApiKeyWithHttpInfo(id, _options); return result.toPromise(); }
/** * Get the credential information of the model provider. * Get credential of Model Provider * @param id Credential identifier */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L226-L229
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.getAiApiKey
public getAiApiKey(id: number, _options?: Configuration): Promise<AiApiKeyInfoDTO> { const result = this.api.getAiApiKey(id, _options); return result.toPromise(); }
/** * Get the credential information of the model provider. * Get credential of Model Provider * @param id Credential identifier */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L236-L239
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.getAiModelInfoWithHttpInfo
public getAiModelInfoWithHttpInfo(modelId: string, _options?: Configuration): Promise<HttpInfo<AiModelInfoDTO>> { const result = this.api.getAiModelInfoWithHttpInfo(modelId, _options); return result.toPromise(); }
/** * Return specific model information. * Get Model Information * @param modelId Model identifier */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L246-L249
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.getAiModelInfo
public getAiModelInfo(modelId: string, _options?: Configuration): Promise<AiModelInfoDTO> { const result = this.api.getAiModelInfo(modelId, _options); return result.toPromise(); }
/** * Return specific model information. * Get Model Information * @param modelId Model identifier */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L256-L259
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.listAiApiKeysWithHttpInfo
public listAiApiKeysWithHttpInfo(provider: string, _options?: Configuration): Promise<HttpInfo<Array<AiApiKeyInfoDTO>>> { const result = this.api.listAiApiKeysWithHttpInfo(provider, _options); return result.toPromise(); }
/** * List all credential information of the model provider. * List Credentials of Model Provider * @param provider Model provider */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L266-L269
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.listAiApiKeys
public listAiApiKeys(provider: string, _options?: Configuration): Promise<Array<AiApiKeyInfoDTO>> { const result = this.api.listAiApiKeys(provider, _options); return result.toPromise(); }
/** * List all credential information of the model provider. * List Credentials of Model Provider * @param provider Model provider */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L276-L279
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.listAiModelInfoWithHttpInfo
public listAiModelInfoWithHttpInfo(_options?: Configuration): Promise<HttpInfo<Array<AiModelInfoDTO>>> { const result = this.api.listAiModelInfoWithHttpInfo(_options); return result.toPromise(); }
/** * Return model information by page, return the pageNum page, up to pageSize model information. * List Models */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L285-L288
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.listAiModelInfo
public listAiModelInfo(_options?: Configuration): Promise<Array<AiModelInfoDTO>> { const result = this.api.listAiModelInfo(_options); return result.toPromise(); }
/** * Return model information by page, return the pageNum page, up to pageSize model information. * List Models */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L294-L297
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.listAiModelInfo1WithHttpInfo
public listAiModelInfo1WithHttpInfo(pageSize: number, _options?: Configuration): Promise<HttpInfo<Array<AiModelInfoDTO>>> { const result = this.api.listAiModelInfo1WithHttpInfo(pageSize, _options); return result.toPromise(); }
/** * Return model information by page, return the pageNum page, up to pageSize model information. * List Models * @param pageSize Maximum quantity */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L304-L307
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.listAiModelInfo1
public listAiModelInfo1(pageSize: number, _options?: Configuration): Promise<Array<AiModelInfoDTO>> { const result = this.api.listAiModelInfo1(pageSize, _options); return result.toPromise(); }
/** * Return model information by page, return the pageNum page, up to pageSize model information. * List Models * @param pageSize Maximum quantity */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L314-L317
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.listAiModelInfo2WithHttpInfo
public listAiModelInfo2WithHttpInfo(pageSize: number, pageNum: number, _options?: Configuration): Promise<HttpInfo<Array<AiModelInfoDTO>>> { const result = this.api.listAiModelInfo2WithHttpInfo(pageSize, pageNum, _options); return result.toPromise(); }
/** * Return model information by page, return the pageNum page, up to pageSize model information. * List Models * @param pageSize Maximum quantity * @param pageNum Current page number */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L325-L328
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAIServiceApi.listAiModelInfo2
public listAiModelInfo2(pageSize: number, pageNum: number, _options?: Configuration): Promise<Array<AiModelInfoDTO>> { const result = this.api.listAiModelInfo2(pageSize, pageNum, _options); return result.toPromise(); }
/** * Return model information by page, return the pageNum page, up to pageSize model information. * List Models * @param pageSize Maximum quantity * @param pageNum Current page number */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L336-L339
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.createTokenWithHttpInfo
public createTokenWithHttpInfo(duration: number, _options?: Configuration): Promise<HttpInfo<string>> { const result = this.api.createTokenWithHttpInfo(duration, _options); return result.toPromise(); }
/** * Create a timed API Token, valid for {duration} seconds. * Create API Token * @param duration Token validity duration (seconds) */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L365-L368
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.createToken
public createToken(duration: number, _options?: Configuration): Promise<string> { const result = this.api.createToken(duration, _options); return result.toPromise(); }
/** * Create a timed API Token, valid for {duration} seconds. * Create API Token * @param duration Token validity duration (seconds) */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L375-L378
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.createToken1WithHttpInfo
public createToken1WithHttpInfo(_options?: Configuration): Promise<HttpInfo<string>> { const result = this.api.createToken1WithHttpInfo(_options); return result.toPromise(); }
/** * Create a timed API Token, valid for {duration} seconds. * Create API Token */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L384-L387
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.createToken1
public createToken1(_options?: Configuration): Promise<string> { const result = this.api.createToken1(_options); return result.toPromise(); }
/** * Create a timed API Token, valid for {duration} seconds. * Create API Token */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L393-L396
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.deleteTokenWithHttpInfo
public deleteTokenWithHttpInfo(token: string, _options?: Configuration): Promise<HttpInfo<string>> { const result = this.api.deleteTokenWithHttpInfo(token, _options); return result.toPromise(); }
/** * Delete an API Token. * Delete API Token * @param token Token content */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L403-L406
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.deleteToken
public deleteToken(token: string, _options?: Configuration): Promise<string> { const result = this.api.deleteToken(token, _options); return result.toPromise(); }
/** * Delete an API Token. * Delete API Token * @param token Token content */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L413-L416
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.deleteTokenByIdWithHttpInfo
public deleteTokenByIdWithHttpInfo(id: number, _options?: Configuration): Promise<HttpInfo<boolean>> { const result = this.api.deleteTokenByIdWithHttpInfo(id, _options); return result.toPromise(); }
/** * Delete the API token by id. * Delete API Token by Id * @param id Token id */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L423-L426
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.deleteTokenById
public deleteTokenById(id: number, _options?: Configuration): Promise<boolean> { const result = this.api.deleteTokenById(id, _options); return result.toPromise(); }
/** * Delete the API token by id. * Delete API Token by Id * @param id Token id */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L433-L436
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.disableTokenWithHttpInfo
public disableTokenWithHttpInfo(token: string, _options?: Configuration): Promise<HttpInfo<string>> { const result = this.api.disableTokenWithHttpInfo(token, _options); return result.toPromise(); }
/** * Disable an API Token, the token is not deleted. * Disable API Token * @param token Token content */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L443-L446
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.disableToken
public disableToken(token: string, _options?: Configuration): Promise<string> { const result = this.api.disableToken(token, _options); return result.toPromise(); }
/** * Disable an API Token, the token is not deleted. * Disable API Token * @param token Token content */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L453-L456
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.disableTokenByIdWithHttpInfo
public disableTokenByIdWithHttpInfo(id: number, _options?: Configuration): Promise<HttpInfo<boolean>> { const result = this.api.disableTokenByIdWithHttpInfo(id, _options); return result.toPromise(); }
/** * Disable the API token by id. * Disable API Token by Id * @param id Token id */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L463-L466
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.disableTokenById
public disableTokenById(id: number, _options?: Configuration): Promise<boolean> { const result = this.api.disableTokenById(id, _options); return result.toPromise(); }
/** * Disable the API token by id. * Disable API Token by Id * @param id Token id */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L473-L476
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.getTokenByIdWithHttpInfo
public getTokenByIdWithHttpInfo(id: number, _options?: Configuration): Promise<HttpInfo<string>> { const result = this.api.getTokenByIdWithHttpInfo(id, _options); return result.toPromise(); }
/** * Get the API token by id. * Get API Token by Id * @param id Token id */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L483-L486
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.getTokenById
public getTokenById(id: number, _options?: Configuration): Promise<string> { const result = this.api.getTokenById(id, _options); return result.toPromise(); }
/** * Get the API token by id. * Get API Token by Id * @param id Token id */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L493-L496
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.getUserBasicWithHttpInfo
public getUserBasicWithHttpInfo(username: string, _options?: Configuration): Promise<HttpInfo<UserBasicInfoDTO>> { const result = this.api.getUserBasicWithHttpInfo(username, _options); return result.toPromise(); }
/** * Return user basic information, including: username, nickname, avatar link. * Get User Basic Information * @param username Username */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L503-L506
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.getUserBasic
public getUserBasic(username: string, _options?: Configuration): Promise<UserBasicInfoDTO> { const result = this.api.getUserBasic(username, _options); return result.toPromise(); }
/** * Return user basic information, including: username, nickname, avatar link. * Get User Basic Information * @param username Username */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L513-L516
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.getUserBasic1WithHttpInfo
public getUserBasic1WithHttpInfo(_options?: Configuration): Promise<HttpInfo<UserBasicInfoDTO>> { const result = this.api.getUserBasic1WithHttpInfo(_options); return result.toPromise(); }
/** * Return user basic information, including: username, nickname, avatar link. * Get User Basic Information */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L522-L525
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.getUserBasic1
public getUserBasic1(_options?: Configuration): Promise<UserBasicInfoDTO> { const result = this.api.getUserBasic1(_options); return result.toPromise(); }
/** * Return user basic information, including: username, nickname, avatar link. * Get User Basic Information */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L531-L534
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.getUserDetailsWithHttpInfo
public getUserDetailsWithHttpInfo(_options?: Configuration): Promise<HttpInfo<UserDetailsDTO>> { const result = this.api.getUserDetailsWithHttpInfo(_options); return result.toPromise(); }
/** * Return the detailed user information of the current account, the fields refer to the [standard claims](https://openid.net/specs/openid-connect-core-1_0.html#Claims) of OpenID Connect (OIDC). * Get User Details */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L540-L543
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.getUserDetails
public getUserDetails(_options?: Configuration): Promise<UserDetailsDTO> { const result = this.api.getUserDetails(_options); return result.toPromise(); }
/** * Return the detailed user information of the current account, the fields refer to the [standard claims](https://openid.net/specs/openid-connect-core-1_0.html#Claims) of OpenID Connect (OIDC). * Get User Details */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L549-L552
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.listTokensWithHttpInfo
public listTokensWithHttpInfo(_options?: Configuration): Promise<HttpInfo<Array<ApiTokenInfoDTO>>> { const result = this.api.listTokensWithHttpInfo(_options); return result.toPromise(); }
/** * List currently valid tokens. * List API Tokens */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L558-L561
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.listTokens
public listTokens(_options?: Configuration): Promise<Array<ApiTokenInfoDTO>> { const result = this.api.listTokens(_options); return result.toPromise(); }
/** * List currently valid tokens. * List API Tokens */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L567-L570
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.updateUserInfoWithHttpInfo
public updateUserInfoWithHttpInfo(userDetailsDTO: UserDetailsDTO, _options?: Configuration): Promise<HttpInfo<boolean>> { const result = this.api.updateUserInfoWithHttpInfo(userDetailsDTO, _options); return result.toPromise(); }
/** * Update the detailed user information of the current account. * Update User Details * @param userDetailsDTO User information */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L577-L580
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.updateUserInfo
public updateUserInfo(userDetailsDTO: UserDetailsDTO, _options?: Configuration): Promise<boolean> { const result = this.api.updateUserInfo(userDetailsDTO, _options); return result.toPromise(); }
/** * Update the detailed user information of the current account. * Update User Details * @param userDetailsDTO User information */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L587-L590
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.uploadUserPictureWithHttpInfo
public uploadUserPictureWithHttpInfo(file: HttpFile, _options?: Configuration): Promise<HttpInfo<string>> { const result = this.api.uploadUserPictureWithHttpInfo(file, _options); return result.toPromise(); }
/** * Upload a picture of the user. * Upload User Picture * @param file User picture */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L597-L600
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountApi.uploadUserPicture
public uploadUserPicture(file: HttpFile, _options?: Configuration): Promise<string> { const result = this.api.uploadUserPicture(file, _options); return result.toPromise(); }
/** * Upload a picture of the user. * Upload User Picture * @param file User picture */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L607-L610
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountManagerForAdminApi.createTokenForUserWithHttpInfo
public createTokenForUserWithHttpInfo(username: string, duration: number, _options?: Configuration): Promise<HttpInfo<string>> { const result = this.api.createTokenForUserWithHttpInfo(username, duration, _options); return result.toPromise(); }
/** * Create an API Token for a specified user, valid for duration seconds. * Create API Token for User. * @param username Username * @param duration Validity period (seconds) */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L637-L640
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountManagerForAdminApi.createTokenForUser
public createTokenForUser(username: string, duration: number, _options?: Configuration): Promise<string> { const result = this.api.createTokenForUser(username, duration, _options); return result.toPromise(); }
/** * Create an API Token for a specified user, valid for duration seconds. * Create API Token for User. * @param username Username * @param duration Validity period (seconds) */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L648-L651
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountManagerForAdminApi.createUserWithHttpInfo
public createUserWithHttpInfo(userFullDetailsDTO: UserFullDetailsDTO, _options?: Configuration): Promise<HttpInfo<boolean>> { const result = this.api.createUserWithHttpInfo(userFullDetailsDTO, _options); return result.toPromise(); }
/** * Create user. * Create User * @param userFullDetailsDTO User information */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L658-L661
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountManagerForAdminApi.createUser
public createUser(userFullDetailsDTO: UserFullDetailsDTO, _options?: Configuration): Promise<boolean> { const result = this.api.createUser(userFullDetailsDTO, _options); return result.toPromise(); }
/** * Create user. * Create User * @param userFullDetailsDTO User information */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L668-L671
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountManagerForAdminApi.deleteTokenForUserWithHttpInfo
public deleteTokenForUserWithHttpInfo(token: string, _options?: Configuration): Promise<HttpInfo<boolean>> { const result = this.api.deleteTokenForUserWithHttpInfo(token, _options); return result.toPromise(); }
/** * Delete the specified API Token. * Delete API Token * @param token API Token */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L678-L681
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseAccountManagerForAdminApi.deleteTokenForUser
public deleteTokenForUser(token: string, _options?: Configuration): Promise<boolean> { const result = this.api.deleteTokenForUser(token, _options); return result.toPromise(); }
/** * Delete the specified API Token. * Delete API Token * @param token API Token */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L688-L691
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db