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
PromiseInteractiveStatisticsApi.listPluginsByStatisticWithHttpInfo
public listPluginsByStatisticWithHttpInfo(statsType: string, pageSize: number, pageNum: number, asc?: string, _options?: Configuration): Promise<HttpInfo<Array<PluginSummaryStatsDTO>>> { const result = this.api.listPluginsByStatisticWithHttpInfo(statsType, pageSize, pageNum, asc, _options); return resul...
/** * List plugins based on statistics, including interactive statistical data. * List Plugins by Statistics * @param statsType Statistics type: view_count | refer_count | recommend_count | score * @param pageSize Maximum quantity * @param pageNum Current page number * @param [asc] Default...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L2922-L2925
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseInteractiveStatisticsApi.listPluginsByStatistic
public listPluginsByStatistic(statsType: string, pageSize: number, pageNum: number, asc?: string, _options?: Configuration): Promise<Array<PluginSummaryStatsDTO>> { const result = this.api.listPluginsByStatistic(statsType, pageSize, pageNum, asc, _options); return result.toPromise(); }
/** * List plugins based on statistics, including interactive statistical data. * List Plugins by Statistics * @param statsType Statistics type: view_count | refer_count | recommend_count | score * @param pageSize Maximum quantity * @param pageNum Current page number * @param [asc] Default...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L2935-L2938
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseInteractiveStatisticsApi.listPluginsByStatistic1WithHttpInfo
public listPluginsByStatistic1WithHttpInfo(statsType: string, asc?: string, _options?: Configuration): Promise<HttpInfo<Array<PluginSummaryStatsDTO>>> { const result = this.api.listPluginsByStatistic1WithHttpInfo(statsType, asc, _options); return result.toPromise(); }
/** * List plugins based on statistics, including interactive statistical data. * List Plugins by Statistics * @param statsType Statistics type: view_count | refer_count | recommend_count | score * @param [asc] Default is descending order, set asc&#x3D;1 for ascending order */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L2946-L2949
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseInteractiveStatisticsApi.listPluginsByStatistic1
public listPluginsByStatistic1(statsType: string, asc?: string, _options?: Configuration): Promise<Array<PluginSummaryStatsDTO>> { const result = this.api.listPluginsByStatistic1(statsType, asc, _options); return result.toPromise(); }
/** * List plugins based on statistics, including interactive statistical data. * List Plugins by Statistics * @param statsType Statistics type: view_count | refer_count | recommend_count | score * @param [asc] Default is descending order, set asc&#x3D;1 for ascending order */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L2957-L2960
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseInteractiveStatisticsApi.listPluginsByStatistic2WithHttpInfo
public listPluginsByStatistic2WithHttpInfo(statsType: string, pageSize: number, asc?: string, _options?: Configuration): Promise<HttpInfo<Array<PluginSummaryStatsDTO>>> { const result = this.api.listPluginsByStatistic2WithHttpInfo(statsType, pageSize, asc, _options); return result.toPromise(); }
/** * List plugins based on statistics, including interactive statistical data. * List Plugins by Statistics * @param statsType Statistics type: view_count | refer_count | recommend_count | score * @param pageSize Maximum quantity * @param [asc] Default is descending order, set asc&#x3D;1 for a...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L2969-L2972
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseInteractiveStatisticsApi.listPluginsByStatistic2
public listPluginsByStatistic2(statsType: string, pageSize: number, asc?: string, _options?: Configuration): Promise<Array<PluginSummaryStatsDTO>> { const result = this.api.listPluginsByStatistic2(statsType, pageSize, asc, _options); return result.toPromise(); }
/** * List plugins based on statistics, including interactive statistical data. * List Plugins by Statistics * @param statsType Statistics type: view_count | refer_count | recommend_count | score * @param pageSize Maximum quantity * @param [asc] Default is descending order, set asc&#x3D;1 for a...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L2981-L2984
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseInteractiveStatisticsApi.listPromptsByStatisticWithHttpInfo
public listPromptsByStatisticWithHttpInfo(statsType: string, asc?: string, _options?: Configuration): Promise<HttpInfo<Array<PromptSummaryStatsDTO>>> { const result = this.api.listPromptsByStatisticWithHttpInfo(statsType, asc, _options); return result.toPromise(); }
/** * List prompts based on statistics, including interactive statistical data. * List Prompts by Statistics * @param statsType Statistics type: view_count | refer_count | recommend_count | score * @param [asc] Default is descending order, set asc&#x3D;1 for ascending order */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L2992-L2995
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseInteractiveStatisticsApi.listPromptsByStatistic
public listPromptsByStatistic(statsType: string, asc?: string, _options?: Configuration): Promise<Array<PromptSummaryStatsDTO>> { const result = this.api.listPromptsByStatistic(statsType, asc, _options); return result.toPromise(); }
/** * List prompts based on statistics, including interactive statistical data. * List Prompts by Statistics * @param statsType Statistics type: view_count | refer_count | recommend_count | score * @param [asc] Default is descending order, set asc&#x3D;1 for ascending order */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3003-L3006
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseInteractiveStatisticsApi.listPromptsByStatistic1WithHttpInfo
public listPromptsByStatistic1WithHttpInfo(statsType: string, pageSize: number, asc?: string, _options?: Configuration): Promise<HttpInfo<Array<PromptSummaryStatsDTO>>> { const result = this.api.listPromptsByStatistic1WithHttpInfo(statsType, pageSize, asc, _options); return result.toPromise(); }
/** * List prompts based on statistics, including interactive statistical data. * List Prompts by Statistics * @param statsType Statistics type: view_count | refer_count | recommend_count | score * @param pageSize Maximum quantity * @param [asc] Default is descending order, set asc&#x3D;1 for a...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3015-L3018
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseInteractiveStatisticsApi.listPromptsByStatistic1
public listPromptsByStatistic1(statsType: string, pageSize: number, asc?: string, _options?: Configuration): Promise<Array<PromptSummaryStatsDTO>> { const result = this.api.listPromptsByStatistic1(statsType, pageSize, asc, _options); return result.toPromise(); }
/** * List prompts based on statistics, including interactive statistical data. * List Prompts by Statistics * @param statsType Statistics type: view_count | refer_count | recommend_count | score * @param pageSize Maximum quantity * @param [asc] Default is descending order, set asc&#x3D;1 for a...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3027-L3030
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseInteractiveStatisticsApi.listPromptsByStatistic2WithHttpInfo
public listPromptsByStatistic2WithHttpInfo(statsType: string, pageSize: number, pageNum: number, asc?: string, _options?: Configuration): Promise<HttpInfo<Array<PromptSummaryStatsDTO>>> { const result = this.api.listPromptsByStatistic2WithHttpInfo(statsType, pageSize, pageNum, asc, _options); return res...
/** * List prompts based on statistics, including interactive statistical data. * List Prompts by Statistics * @param statsType Statistics type: view_count | refer_count | recommend_count | score * @param pageSize Maximum quantity * @param pageNum Current page number * @param [asc] Default...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3040-L3043
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseInteractiveStatisticsApi.listPromptsByStatistic2
public listPromptsByStatistic2(statsType: string, pageSize: number, pageNum: number, asc?: string, _options?: Configuration): Promise<Array<PromptSummaryStatsDTO>> { const result = this.api.listPromptsByStatistic2(statsType, pageSize, pageNum, asc, _options); return result.toPromise(); }
/** * List prompts based on statistics, including interactive statistical data. * List Prompts by Statistics * @param statsType Statistics type: view_count | refer_count | recommend_count | score * @param pageSize Maximum quantity * @param pageNum Current page number * @param [asc] Default...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3053-L3056
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.getOwnersWithHttpInfo
public getOwnersWithHttpInfo(all?: string, _options?: Configuration): Promise<HttpInfo<Array<string>>> { const result = this.api.getOwnersWithHttpInfo(all, _options); return result.toPromise(); }
/** * Get the superior relationships of the current account, including direct and indirect owners, by default does not include virtual reported owners, so there will be no circular relationship.<br/>By specifying all=1, virtual reported owners can be returned, in this case, there may be a circular relationship. ...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3082-L3085
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.getOwners
public getOwners(all?: string, _options?: Configuration): Promise<Array<string>> { const result = this.api.getOwners(all, _options); return result.toPromise(); }
/** * Get the superior relationships of the current account, including direct and indirect owners, by default does not include virtual reported owners, so there will be no circular relationship.<br/>By specifying all=1, virtual reported owners can be returned, in this case, there may be a circular relationship. ...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3092-L3095
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.getOwnersDotWithHttpInfo
public getOwnersDotWithHttpInfo(all?: string, _options?: Configuration): Promise<HttpInfo<string>> { const result = this.api.getOwnersDotWithHttpInfo(all, _options); return result.toPromise(); }
/** * Same as /api/v2/org/owners, but returns a DOT format view, DOT reference: [graphviz](https://www.graphviz.org/) * Get DOT of Superior Relationship * @param [all] Whether to return virtual reported owners */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3102-L3105
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.getOwnersDot
public getOwnersDot(all?: string, _options?: Configuration): Promise<string> { const result = this.api.getOwnersDot(all, _options); return result.toPromise(); }
/** * Same as /api/v2/org/owners, but returns a DOT format view, DOT reference: [graphviz](https://www.graphviz.org/) * Get DOT of Superior Relationship * @param [all] Whether to return virtual reported owners */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3112-L3115
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.getSubordinateOwnersWithHttpInfo
public getSubordinateOwnersWithHttpInfo(username: string, all?: string, _options?: Configuration): Promise<HttpInfo<Array<string>>> { const result = this.api.getSubordinateOwnersWithHttpInfo(username, all, _options); return result.toPromise(); }
/** * Get the superior relationship of the subordinate account, including direct and indirect owners, default does not include virtual reported owners, so there will be no circular relationship.<br/> By specifying all=1, virtual reported owners can be returned, in this case, there may be a circular relationship. ...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3123-L3126
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.getSubordinateOwners
public getSubordinateOwners(username: string, all?: string, _options?: Configuration): Promise<Array<string>> { const result = this.api.getSubordinateOwners(username, all, _options); return result.toPromise(); }
/** * Get the superior relationship of the subordinate account, including direct and indirect owners, default does not include virtual reported owners, so there will be no circular relationship.<br/> By specifying all=1, virtual reported owners can be returned, in this case, there may be a circular relationship. ...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3134-L3137
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.getSubordinateSubordinatesWithHttpInfo
public getSubordinateSubordinatesWithHttpInfo(username: string, all?: string, _options?: Configuration): Promise<HttpInfo<Array<string>>> { const result = this.api.getSubordinateSubordinatesWithHttpInfo(username, all, _options); return result.toPromise(); }
/** * Get the subordinate relationship of the subordinate account, including direct and indirect subordinates, default does not include virtual managed subordinates, so there will be no circular relationship.<br/>By specifying all=1, virtual managed subordinates can be returned, in this case, there may be a circul...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3145-L3148
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.getSubordinateSubordinates
public getSubordinateSubordinates(username: string, all?: string, _options?: Configuration): Promise<Array<string>> { const result = this.api.getSubordinateSubordinates(username, all, _options); return result.toPromise(); }
/** * Get the subordinate relationship of the subordinate account, including direct and indirect subordinates, default does not include virtual managed subordinates, so there will be no circular relationship.<br/>By specifying all=1, virtual managed subordinates can be returned, in this case, there may be a circul...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3156-L3159
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.getSubordinatesWithHttpInfo
public getSubordinatesWithHttpInfo(all?: string, _options?: Configuration): Promise<HttpInfo<Array<string>>> { const result = this.api.getSubordinatesWithHttpInfo(all, _options); return result.toPromise(); }
/** * Get the subordinate relationships of the current account, including direct and indirect subordinates, by default does not include virtual managed subordinates, so there will be no circular relationship.<br/>By specifying all=1, virtual managed subordinates can be returned, in this case, there may be a circul...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3166-L3169
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.getSubordinates
public getSubordinates(all?: string, _options?: Configuration): Promise<Array<string>> { const result = this.api.getSubordinates(all, _options); return result.toPromise(); }
/** * Get the subordinate relationships of the current account, including direct and indirect subordinates, by default does not include virtual managed subordinates, so there will be no circular relationship.<br/>By specifying all=1, virtual managed subordinates can be returned, in this case, there may be a circul...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3176-L3179
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.getSubordinatesDotWithHttpInfo
public getSubordinatesDotWithHttpInfo(all?: string, _options?: Configuration): Promise<HttpInfo<string>> { const result = this.api.getSubordinatesDotWithHttpInfo(all, _options); return result.toPromise(); }
/** * Same as /api/v2/org/subordinates, but returns a DOT format view, DOT reference: [graphviz](https://www.graphviz.org/) * Get DOT of Subordinate Relationship * @param [all] Whether to return virtual managed subordinates */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3186-L3189
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.getSubordinatesDot
public getSubordinatesDot(all?: string, _options?: Configuration): Promise<string> { const result = this.api.getSubordinatesDot(all, _options); return result.toPromise(); }
/** * Same as /api/v2/org/subordinates, but returns a DOT format view, DOT reference: [graphviz](https://www.graphviz.org/) * Get DOT of Subordinate Relationship * @param [all] Whether to return virtual managed subordinates */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3196-L3199
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.listSubordinateAuthoritiesWithHttpInfo
public listSubordinateAuthoritiesWithHttpInfo(username: string, _options?: Configuration): Promise<HttpInfo<Array<string>>> { const result = this.api.listSubordinateAuthoritiesWithHttpInfo(username, _options); return result.toPromise(); }
/** * List the permission list of the subordinate account. * List Subordinate Permissions * @param username Username */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3206-L3209
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.listSubordinateAuthorities
public listSubordinateAuthorities(username: string, _options?: Configuration): Promise<Array<string>> { const result = this.api.listSubordinateAuthorities(username, _options); return result.toPromise(); }
/** * List the permission list of the subordinate account. * List Subordinate Permissions * @param username Username */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3216-L3219
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.removeSubordinateSubordinatesTreeWithHttpInfo
public removeSubordinateSubordinatesTreeWithHttpInfo(username: string, _options?: Configuration): Promise<HttpInfo<boolean>> { const result = this.api.removeSubordinateSubordinatesTreeWithHttpInfo(username, _options); return result.toPromise(); }
/** * Fully delete the direct subordinate relationship of the subordinate account. * Clear Subordinate Relationship * @param username The account being operated, must be a subordinate account of the current account */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3226-L3229
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.removeSubordinateSubordinatesTree
public removeSubordinateSubordinatesTree(username: string, _options?: Configuration): Promise<boolean> { const result = this.api.removeSubordinateSubordinatesTree(username, _options); return result.toPromise(); }
/** * Fully delete the direct subordinate relationship of the subordinate account. * Clear Subordinate Relationship * @param username The account being operated, must be a subordinate account of the current account */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3236-L3239
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.updateSubordinateAuthoritiesWithHttpInfo
public updateSubordinateAuthoritiesWithHttpInfo(username: string, requestBody: Set<string>, _options?: Configuration): Promise<HttpInfo<boolean>> { const result = this.api.updateSubordinateAuthoritiesWithHttpInfo(username, requestBody, _options); return result.toPromise(); }
/** * Update the permission list of the subordinate account, the granted permissions cannot be higher than the permissions owned by oneself, for example, a resource administrator cannot grant the role of an organization administrator to a subordinate account. * Update Subordinate Permissions * @param use...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3247-L3250
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.updateSubordinateAuthorities
public updateSubordinateAuthorities(username: string, requestBody: Set<string>, _options?: Configuration): Promise<boolean> { const result = this.api.updateSubordinateAuthorities(username, requestBody, _options); return result.toPromise(); }
/** * Update the permission list of the subordinate account, the granted permissions cannot be higher than the permissions owned by oneself, for example, a resource administrator cannot grant the role of an organization administrator to a subordinate account. * Update Subordinate Permissions * @param use...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3258-L3261
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.updateSubordinateOwnersWithHttpInfo
public updateSubordinateOwnersWithHttpInfo(username: string, requestBody: Array<string>, _options?: Configuration): Promise<HttpInfo<boolean>> { const result = this.api.updateSubordinateOwnersWithHttpInfo(username, requestBody, _options); return result.toPromise(); }
/** * Fully update the direct superior relationship of the subordinate account (i.e., will delete the relationship that existed before but is not in this list), if there is a circular relationship, it will automatically be set as a virtual relationship. * Update Superior Relationship * @param username Th...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3269-L3272
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.updateSubordinateOwners
public updateSubordinateOwners(username: string, requestBody: Array<string>, _options?: Configuration): Promise<boolean> { const result = this.api.updateSubordinateOwners(username, requestBody, _options); return result.toPromise(); }
/** * Fully update the direct superior relationship of the subordinate account (i.e., will delete the relationship that existed before but is not in this list), if there is a circular relationship, it will automatically be set as a virtual relationship. * Update Superior Relationship * @param username Th...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3280-L3283
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.updateSubordinateSubordinatesWithHttpInfo
public updateSubordinateSubordinatesWithHttpInfo(username: string, requestBody: Array<string>, _options?: Configuration): Promise<HttpInfo<boolean>> { const result = this.api.updateSubordinateSubordinatesWithHttpInfo(username, requestBody, _options); return result.toPromise(); }
/** * Fully update the direct subordinate relationship of the subordinate account (i.e., will delete the relationship that existed before but is not in this list), if there is a circular relationship, it will automatically be set as a virtual relationship. * Update Subordinate Relationship * @param usern...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3291-L3294
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromiseOrganizationApi.updateSubordinateSubordinates
public updateSubordinateSubordinates(username: string, requestBody: Array<string>, _options?: Configuration): Promise<boolean> { const result = this.api.updateSubordinateSubordinates(username, requestBody, _options); return result.toPromise(); }
/** * Fully update the direct subordinate relationship of the subordinate account (i.e., will delete the relationship that existed before but is not in this list), if there is a circular relationship, it will automatically be set as a virtual relationship. * Update Subordinate Relationship * @param usern...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3302-L3305
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.batchSearchPluginDetailsWithHttpInfo
public batchSearchPluginDetailsWithHttpInfo(pluginQueryDTO: Array<PluginQueryDTO>, _options?: Configuration): Promise<HttpInfo<Array<Array<PluginDetailsDTO>>>> { const result = this.api.batchSearchPluginDetailsWithHttpInfo(pluginQueryDTO, _options); return result.toPromise(); }
/** * Batch call shortcut for /api/v2/plugin/details/search. * Batch Search Plugin Details * @param pluginQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3331-L3334
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.batchSearchPluginDetails
public batchSearchPluginDetails(pluginQueryDTO: Array<PluginQueryDTO>, _options?: Configuration): Promise<Array<Array<PluginDetailsDTO>>> { const result = this.api.batchSearchPluginDetails(pluginQueryDTO, _options); return result.toPromise(); }
/** * Batch call shortcut for /api/v2/plugin/details/search. * Batch Search Plugin Details * @param pluginQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3341-L3344
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.batchSearchPluginSummaryWithHttpInfo
public batchSearchPluginSummaryWithHttpInfo(pluginQueryDTO: Array<PluginQueryDTO>, _options?: Configuration): Promise<HttpInfo<Array<Array<PluginSummaryDTO>>>> { const result = this.api.batchSearchPluginSummaryWithHttpInfo(pluginQueryDTO, _options); return result.toPromise(); }
/** * Batch call shortcut for /api/v2/plugin/search. * Batch Search Plugin Summaries * @param pluginQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3351-L3354
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.batchSearchPluginSummary
public batchSearchPluginSummary(pluginQueryDTO: Array<PluginQueryDTO>, _options?: Configuration): Promise<Array<Array<PluginSummaryDTO>>> { const result = this.api.batchSearchPluginSummary(pluginQueryDTO, _options); return result.toPromise(); }
/** * Batch call shortcut for /api/v2/plugin/search. * Batch Search Plugin Summaries * @param pluginQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3361-L3364
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.countPluginsWithHttpInfo
public countPluginsWithHttpInfo(pluginQueryDTO: PluginQueryDTO, _options?: Configuration): Promise<HttpInfo<number>> { const result = this.api.countPluginsWithHttpInfo(pluginQueryDTO, _options); return result.toPromise(); }
/** * Calculate the number of plugins according to the specified query conditions. * Calculate Number of Plugins * @param pluginQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3371-L3374
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.countPlugins
public countPlugins(pluginQueryDTO: PluginQueryDTO, _options?: Configuration): Promise<number> { const result = this.api.countPlugins(pluginQueryDTO, _options); return result.toPromise(); }
/** * Calculate the number of plugins according to the specified query conditions. * Calculate Number of Plugins * @param pluginQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3381-L3384
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.createPluginWithHttpInfo
public createPluginWithHttpInfo(pluginCreateDTO: PluginCreateDTO, _options?: Configuration): Promise<HttpInfo<number>> { const result = this.api.createPluginWithHttpInfo(pluginCreateDTO, _options); return result.toPromise(); }
/** * Create a plugin, required fields: - Plugin name - Plugin manifestInfo (URL or JSON) - Plugin apiInfo (URL or JSON) Limitations: - Name: 100 characters - Example: 2000 characters - Tags: 5 * Create Plugin * @param pluginCreateDTO Information of the plugin to be created */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3391-L3394
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.createPlugin
public createPlugin(pluginCreateDTO: PluginCreateDTO, _options?: Configuration): Promise<number> { const result = this.api.createPlugin(pluginCreateDTO, _options); return result.toPromise(); }
/** * Create a plugin, required fields: - Plugin name - Plugin manifestInfo (URL or JSON) - Plugin apiInfo (URL or JSON) Limitations: - Name: 100 characters - Example: 2000 characters - Tags: 5 * Create Plugin * @param pluginCreateDTO Information of the plugin to be created */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3401-L3404
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.createPluginsWithHttpInfo
public createPluginsWithHttpInfo(pluginCreateDTO: Array<PluginCreateDTO>, _options?: Configuration): Promise<HttpInfo<Array<number>>> { const result = this.api.createPluginsWithHttpInfo(pluginCreateDTO, _options); return result.toPromise(); }
/** * Batch create multiple plugins. Ensure transactionality, return the pluginId list after success. * Batch Create Plugins * @param pluginCreateDTO List of plugin information to be created */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3411-L3414
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.createPlugins
public createPlugins(pluginCreateDTO: Array<PluginCreateDTO>, _options?: Configuration): Promise<Array<number>> { const result = this.api.createPlugins(pluginCreateDTO, _options); return result.toPromise(); }
/** * Batch create multiple plugins. Ensure transactionality, return the pluginId list after success. * Batch Create Plugins * @param pluginCreateDTO List of plugin information to be created */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3421-L3424
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.deletePluginWithHttpInfo
public deletePluginWithHttpInfo(pluginId: number, _options?: Configuration): Promise<HttpInfo<boolean>> { const result = this.api.deletePluginWithHttpInfo(pluginId, _options); return result.toPromise(); }
/** * Delete plugin. Returns success or failure. * Delete Plugin * @param pluginId The pluginId to be deleted */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3431-L3434
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.deletePlugin
public deletePlugin(pluginId: number, _options?: Configuration): Promise<boolean> { const result = this.api.deletePlugin(pluginId, _options); return result.toPromise(); }
/** * Delete plugin. Returns success or failure. * Delete Plugin * @param pluginId The pluginId to be deleted */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3441-L3444
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.deletePluginsWithHttpInfo
public deletePluginsWithHttpInfo(requestBody: Array<number>, _options?: Configuration): Promise<HttpInfo<Array<number>>> { const result = this.api.deletePluginsWithHttpInfo(requestBody, _options); return result.toPromise(); }
/** * Delete multiple plugins. Ensure transactionality, return the list of successfully deleted pluginIds. * Batch Delete Plugins * @param requestBody List of pluginIds to be deleted */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3451-L3454
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.deletePlugins
public deletePlugins(requestBody: Array<number>, _options?: Configuration): Promise<Array<number>> { const result = this.api.deletePlugins(requestBody, _options); return result.toPromise(); }
/** * Delete multiple plugins. Ensure transactionality, return the list of successfully deleted pluginIds. * Batch Delete Plugins * @param requestBody List of pluginIds to be deleted */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3461-L3464
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.getPluginDetailsWithHttpInfo
public getPluginDetailsWithHttpInfo(pluginId: number, _options?: Configuration): Promise<HttpInfo<PluginDetailsDTO>> { const result = this.api.getPluginDetailsWithHttpInfo(pluginId, _options); return result.toPromise(); }
/** * Get plugin detailed information. * Get Plugin Details * @param pluginId PluginId to be obtained */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3471-L3474
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.getPluginDetails
public getPluginDetails(pluginId: number, _options?: Configuration): Promise<PluginDetailsDTO> { const result = this.api.getPluginDetails(pluginId, _options); return result.toPromise(); }
/** * Get plugin detailed information. * Get Plugin Details * @param pluginId PluginId to be obtained */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3481-L3484
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.getPluginSummaryWithHttpInfo
public getPluginSummaryWithHttpInfo(pluginId: number, _options?: Configuration): Promise<HttpInfo<PluginSummaryDTO>> { const result = this.api.getPluginSummaryWithHttpInfo(pluginId, _options); return result.toPromise(); }
/** * Get plugin summary information. * Get Plugin Summary * @param pluginId PluginId to be obtained */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3491-L3494
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.getPluginSummary
public getPluginSummary(pluginId: number, _options?: Configuration): Promise<PluginSummaryDTO> { const result = this.api.getPluginSummary(pluginId, _options); return result.toPromise(); }
/** * Get plugin summary information. * Get Plugin Summary * @param pluginId PluginId to be obtained */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3501-L3504
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.refreshPluginInfoWithHttpInfo
public refreshPluginInfoWithHttpInfo(pluginId: number, _options?: Configuration): Promise<HttpInfo<void>> { const result = this.api.refreshPluginInfoWithHttpInfo(pluginId, _options); return result.toPromise(); }
/** * For online manifest, api-docs information provided at the time of entry, this interface can immediately refresh the information in the system cache (default cache time is 1 hour). Generally, there is no need to call, unless you know that the corresponding plugin platform has just updated the interface, and t...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3511-L3514
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.refreshPluginInfo
public refreshPluginInfo(pluginId: number, _options?: Configuration): Promise<void> { const result = this.api.refreshPluginInfo(pluginId, _options); return result.toPromise(); }
/** * For online manifest, api-docs information provided at the time of entry, this interface can immediately refresh the information in the system cache (default cache time is 1 hour). Generally, there is no need to call, unless you know that the corresponding plugin platform has just updated the interface, and t...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3521-L3524
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.searchPluginDetailsWithHttpInfo
public searchPluginDetailsWithHttpInfo(pluginQueryDTO: PluginQueryDTO, _options?: Configuration): Promise<HttpInfo<Array<PluginDetailsDTO>>> { const result = this.api.searchPluginDetailsWithHttpInfo(pluginQueryDTO, _options); return result.toPromise(); }
/** * Same as /api/v2/plugin/search, but returns detailed information of the plugin. * Search Plugin Details * @param pluginQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3531-L3534
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.searchPluginDetails
public searchPluginDetails(pluginQueryDTO: PluginQueryDTO, _options?: Configuration): Promise<Array<PluginDetailsDTO>> { const result = this.api.searchPluginDetails(pluginQueryDTO, _options); return result.toPromise(); }
/** * Same as /api/v2/plugin/search, but returns detailed information of the plugin. * Search Plugin Details * @param pluginQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3541-L3544
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.searchPluginSummaryWithHttpInfo
public searchPluginSummaryWithHttpInfo(pluginQueryDTO: PluginQueryDTO, _options?: Configuration): Promise<HttpInfo<Array<PluginSummaryDTO>>> { const result = this.api.searchPluginSummaryWithHttpInfo(pluginQueryDTO, _options); return result.toPromise(); }
/** * Search plugins: - 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. - Plugin information format: currently supported: dash_s...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3551-L3554
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.searchPluginSummary
public searchPluginSummary(pluginQueryDTO: PluginQueryDTO, _options?: Configuration): Promise<Array<PluginSummaryDTO>> { const result = this.api.searchPluginSummary(pluginQueryDTO, _options); return result.toPromise(); }
/** * Search plugins: - 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. - Plugin information format: currently supported: dash_s...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3561-L3564
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.updatePluginWithHttpInfo
public updatePluginWithHttpInfo(pluginId: number, pluginUpdateDTO: PluginUpdateDTO, _options?: Configuration): Promise<HttpInfo<boolean>> { const result = this.api.updatePluginWithHttpInfo(pluginId, pluginUpdateDTO, _options); return result.toPromise(); }
/** * Update plugin, refer to /api/v2/plugin/create, required field: pluginId. Returns success or failure. * Update Plugin * @param pluginId The pluginId to be updated * @param pluginUpdateDTO The plugin information to be updated */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3572-L3575
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePluginApi.updatePlugin
public updatePlugin(pluginId: number, pluginUpdateDTO: PluginUpdateDTO, _options?: Configuration): Promise<boolean> { const result = this.api.updatePlugin(pluginId, pluginUpdateDTO, _options); return result.toPromise(); }
/** * Update plugin, refer to /api/v2/plugin/create, required field: pluginId. Returns success or failure. * Update Plugin * @param pluginId The pluginId to be updated * @param pluginUpdateDTO The plugin information to be updated */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3583-L3586
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.applyPromptRefWithHttpInfo
public applyPromptRefWithHttpInfo(promptRefDTO: PromptRefDTO, _options?: Configuration): Promise<HttpInfo<string>> { const result = this.api.applyPromptRefWithHttpInfo(promptRefDTO, _options); return result.toPromise(); }
/** * Apply parameters to prompt record. * Apply Parameters to Prompt Record * @param promptRefDTO Prompt record */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3612-L3615
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.applyPromptRef
public applyPromptRef(promptRefDTO: PromptRefDTO, _options?: Configuration): Promise<string> { const result = this.api.applyPromptRef(promptRefDTO, _options); return result.toPromise(); }
/** * Apply parameters to prompt record. * Apply Parameters to Prompt Record * @param promptRefDTO Prompt record */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3622-L3625
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.applyPromptTemplateWithHttpInfo
public applyPromptTemplateWithHttpInfo(promptTemplateDTO: PromptTemplateDTO, _options?: Configuration): Promise<HttpInfo<string>> { const result = this.api.applyPromptTemplateWithHttpInfo(promptTemplateDTO, _options); return result.toPromise(); }
/** * Apply parameters to prompt template. * Apply Parameters to Prompt Template * @param promptTemplateDTO String type prompt template */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3632-L3635
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.applyPromptTemplate
public applyPromptTemplate(promptTemplateDTO: PromptTemplateDTO, _options?: Configuration): Promise<string> { const result = this.api.applyPromptTemplate(promptTemplateDTO, _options); return result.toPromise(); }
/** * Apply parameters to prompt template. * Apply Parameters to Prompt Template * @param promptTemplateDTO String type prompt template */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3642-L3645
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.batchSearchPromptDetailsWithHttpInfo
public batchSearchPromptDetailsWithHttpInfo(promptQueryDTO: Array<PromptQueryDTO>, _options?: Configuration): Promise<HttpInfo<Array<Array<PromptDetailsDTO>>>> { const result = this.api.batchSearchPromptDetailsWithHttpInfo(promptQueryDTO, _options); return result.toPromise(); }
/** * Batch call shortcut for /api/v2/prompt/details/search. * Batch Search Prompt Details * @param promptQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3652-L3655
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.batchSearchPromptDetails
public batchSearchPromptDetails(promptQueryDTO: Array<PromptQueryDTO>, _options?: Configuration): Promise<Array<Array<PromptDetailsDTO>>> { const result = this.api.batchSearchPromptDetails(promptQueryDTO, _options); return result.toPromise(); }
/** * Batch call shortcut for /api/v2/prompt/details/search. * Batch Search Prompt Details * @param promptQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3662-L3665
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.batchSearchPromptSummaryWithHttpInfo
public batchSearchPromptSummaryWithHttpInfo(promptQueryDTO: Array<PromptQueryDTO>, _options?: Configuration): Promise<HttpInfo<Array<Array<PromptSummaryDTO>>>> { const result = this.api.batchSearchPromptSummaryWithHttpInfo(promptQueryDTO, _options); return result.toPromise(); }
/** * Batch call shortcut for /api/v2/prompt/search. * Batch Search Prompt Summaries * @param promptQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3672-L3675
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.batchSearchPromptSummary
public batchSearchPromptSummary(promptQueryDTO: Array<PromptQueryDTO>, _options?: Configuration): Promise<Array<Array<PromptSummaryDTO>>> { const result = this.api.batchSearchPromptSummary(promptQueryDTO, _options); return result.toPromise(); }
/** * Batch call shortcut for /api/v2/prompt/search. * Batch Search Prompt Summaries * @param promptQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3682-L3685
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.clonePromptWithHttpInfo
public clonePromptWithHttpInfo(promptId: number, _options?: Configuration): Promise<HttpInfo<number>> { const result = this.api.clonePromptWithHttpInfo(promptId, _options); return result.toPromise(); }
/** * Enter the promptId, generate a new record, the content is basically the same as the original prompt, but the following fields are different: - Version number is 1 - Visibility is private - The parent prompt is the source promptId - The creation time is the current moment. - All statistical indicators are zer...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3692-L3695
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.clonePrompt
public clonePrompt(promptId: number, _options?: Configuration): Promise<number> { const result = this.api.clonePrompt(promptId, _options); return result.toPromise(); }
/** * Enter the promptId, generate a new record, the content is basically the same as the original prompt, but the following fields are different: - Version number is 1 - Visibility is private - The parent prompt is the source promptId - The creation time is the current moment. - All statistical indicators are zer...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3702-L3705
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.clonePromptsWithHttpInfo
public clonePromptsWithHttpInfo(requestBody: Array<number>, _options?: Configuration): Promise<HttpInfo<Array<number>>> { const result = this.api.clonePromptsWithHttpInfo(requestBody, _options); return result.toPromise(); }
/** * Batch clone multiple prompts. Ensure transactionality, return the promptId list after success. * Batch Clone Prompts * @param requestBody List of prompt information to be created */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3712-L3715
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.clonePrompts
public clonePrompts(requestBody: Array<number>, _options?: Configuration): Promise<Array<number>> { const result = this.api.clonePrompts(requestBody, _options); return result.toPromise(); }
/** * Batch clone multiple prompts. Ensure transactionality, return the promptId list after success. * Batch Clone Prompts * @param requestBody List of prompt information to be created */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3722-L3725
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.countPromptsWithHttpInfo
public countPromptsWithHttpInfo(promptQueryDTO: PromptQueryDTO, _options?: Configuration): Promise<HttpInfo<number>> { const result = this.api.countPromptsWithHttpInfo(promptQueryDTO, _options); return result.toPromise(); }
/** * Calculate the number of prompts according to the specified query conditions. * Calculate Number of Prompts * @param promptQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3732-L3735
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.countPrompts
public countPrompts(promptQueryDTO: PromptQueryDTO, _options?: Configuration): Promise<number> { const result = this.api.countPrompts(promptQueryDTO, _options); return result.toPromise(); }
/** * Calculate the number of prompts according to the specified query conditions. * Calculate Number of Prompts * @param promptQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3742-L3745
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.countPublicPromptsWithHttpInfo
public countPublicPromptsWithHttpInfo(promptQueryDTO: PromptQueryDTO, _options?: Configuration): Promise<HttpInfo<number>> { const result = this.api.countPublicPromptsWithHttpInfo(promptQueryDTO, _options); return result.toPromise(); }
/** * Calculate the number of prompts according to the specified query conditions. * Calculate Number of Public Prompts * @param promptQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3752-L3755
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.countPublicPrompts
public countPublicPrompts(promptQueryDTO: PromptQueryDTO, _options?: Configuration): Promise<number> { const result = this.api.countPublicPrompts(promptQueryDTO, _options); return result.toPromise(); }
/** * Calculate the number of prompts according to the specified query conditions. * Calculate Number of Public Prompts * @param promptQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3762-L3765
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.createPromptWithHttpInfo
public createPromptWithHttpInfo(promptCreateDTO: PromptCreateDTO, _options?: Configuration): Promise<HttpInfo<number>> { const result = this.api.createPromptWithHttpInfo(promptCreateDTO, _options); return result.toPromise(); }
/** * Create a prompt, required fields: - Prompt name - Prompt content - Applicable model Limitations: - Description: 300 characters - Template: 1000 characters - Example: 2000 characters - Tags: 5 - Parameters: 10 * Create Prompt * @param promptCreateDTO Information of the prompt to be created */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3772-L3775
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.createPrompt
public createPrompt(promptCreateDTO: PromptCreateDTO, _options?: Configuration): Promise<number> { const result = this.api.createPrompt(promptCreateDTO, _options); return result.toPromise(); }
/** * Create a prompt, required fields: - Prompt name - Prompt content - Applicable model Limitations: - Description: 300 characters - Template: 1000 characters - Example: 2000 characters - Tags: 5 - Parameters: 10 * Create Prompt * @param promptCreateDTO Information of the prompt to be created */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3782-L3785
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.createPromptsWithHttpInfo
public createPromptsWithHttpInfo(promptCreateDTO: Array<PromptCreateDTO>, _options?: Configuration): Promise<HttpInfo<Array<number>>> { const result = this.api.createPromptsWithHttpInfo(promptCreateDTO, _options); return result.toPromise(); }
/** * Batch create multiple prompts. Ensure transactionality, return the promptId list after success. * Batch Create Prompts * @param promptCreateDTO List of prompt information to be created */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3792-L3795
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.createPrompts
public createPrompts(promptCreateDTO: Array<PromptCreateDTO>, _options?: Configuration): Promise<Array<number>> { const result = this.api.createPrompts(promptCreateDTO, _options); return result.toPromise(); }
/** * Batch create multiple prompts. Ensure transactionality, return the promptId list after success. * Batch Create Prompts * @param promptCreateDTO List of prompt information to be created */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3802-L3805
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.deletePromptWithHttpInfo
public deletePromptWithHttpInfo(promptId: number, _options?: Configuration): Promise<HttpInfo<boolean>> { const result = this.api.deletePromptWithHttpInfo(promptId, _options); return result.toPromise(); }
/** * Delete prompt. Returns success or failure. * Delete Prompt * @param promptId The promptId to be deleted */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3812-L3815
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.deletePrompt
public deletePrompt(promptId: number, _options?: Configuration): Promise<boolean> { const result = this.api.deletePrompt(promptId, _options); return result.toPromise(); }
/** * Delete prompt. Returns success or failure. * Delete Prompt * @param promptId The promptId to be deleted */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3822-L3825
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.deletePromptByNameWithHttpInfo
public deletePromptByNameWithHttpInfo(name: string, _options?: Configuration): Promise<HttpInfo<Array<number>>> { const result = this.api.deletePromptByNameWithHttpInfo(name, _options); return result.toPromise(); }
/** * Delete prompt by name. return the list of successfully deleted promptIds. * Delete Prompt by Name * @param name The prompt name to be deleted */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3832-L3835
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.deletePromptByName
public deletePromptByName(name: string, _options?: Configuration): Promise<Array<number>> { const result = this.api.deletePromptByName(name, _options); return result.toPromise(); }
/** * Delete prompt by name. return the list of successfully deleted promptIds. * Delete Prompt by Name * @param name The prompt name to be deleted */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3842-L3845
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.deletePromptsWithHttpInfo
public deletePromptsWithHttpInfo(requestBody: Array<number>, _options?: Configuration): Promise<HttpInfo<Array<number>>> { const result = this.api.deletePromptsWithHttpInfo(requestBody, _options); return result.toPromise(); }
/** * Delete multiple prompts. Ensure transactionality, return the list of successfully deleted promptIds. * Batch Delete Prompts * @param requestBody List of promptIds to be deleted */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3852-L3855
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.deletePrompts
public deletePrompts(requestBody: Array<number>, _options?: Configuration): Promise<Array<number>> { const result = this.api.deletePrompts(requestBody, _options); return result.toPromise(); }
/** * Delete multiple prompts. Ensure transactionality, return the list of successfully deleted promptIds. * Batch Delete Prompts * @param requestBody List of promptIds to be deleted */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3862-L3865
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.existsPromptNameWithHttpInfo
public existsPromptNameWithHttpInfo(name: string, _options?: Configuration): Promise<HttpInfo<boolean>> { const result = this.api.existsPromptNameWithHttpInfo(name, _options); return result.toPromise(); }
/** * Check if the prompt name already exists. * Check If Prompt Name Exists * @param name Name */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3872-L3875
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.existsPromptName
public existsPromptName(name: string, _options?: Configuration): Promise<boolean> { const result = this.api.existsPromptName(name, _options); return result.toPromise(); }
/** * Check if the prompt name already exists. * Check If Prompt Name Exists * @param name Name */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3882-L3885
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.getPromptDetailsWithHttpInfo
public getPromptDetailsWithHttpInfo(promptId: number, _options?: Configuration): Promise<HttpInfo<PromptDetailsDTO>> { const result = this.api.getPromptDetailsWithHttpInfo(promptId, _options); return result.toPromise(); }
/** * Get prompt detailed information. * Get Prompt Details * @param promptId PromptId to be obtained */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3892-L3895
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.getPromptDetails
public getPromptDetails(promptId: number, _options?: Configuration): Promise<PromptDetailsDTO> { const result = this.api.getPromptDetails(promptId, _options); return result.toPromise(); }
/** * Get prompt detailed information. * Get Prompt Details * @param promptId PromptId to be obtained */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3902-L3905
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.getPromptSummaryWithHttpInfo
public getPromptSummaryWithHttpInfo(promptId: number, _options?: Configuration): Promise<HttpInfo<PromptSummaryDTO>> { const result = this.api.getPromptSummaryWithHttpInfo(promptId, _options); return result.toPromise(); }
/** * Get prompt summary information. * Get Prompt Summary * @param promptId PromptId to be obtained */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3912-L3915
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.getPromptSummary
public getPromptSummary(promptId: number, _options?: Configuration): Promise<PromptSummaryDTO> { const result = this.api.getPromptSummary(promptId, _options); return result.toPromise(); }
/** * Get prompt summary information. * Get Prompt Summary * @param promptId PromptId to be obtained */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3922-L3925
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.listPromptVersionsByNameWithHttpInfo
public listPromptVersionsByNameWithHttpInfo(name: string, _options?: Configuration): Promise<HttpInfo<Array<PromptItemForNameDTO>>> { const result = this.api.listPromptVersionsByNameWithHttpInfo(name, _options); return result.toPromise(); }
/** * List the versions and corresponding promptIds by prompt name. * List Versions by Prompt Name * @param name Prompt name */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3932-L3935
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.listPromptVersionsByName
public listPromptVersionsByName(name: string, _options?: Configuration): Promise<Array<PromptItemForNameDTO>> { const result = this.api.listPromptVersionsByName(name, _options); return result.toPromise(); }
/** * List the versions and corresponding promptIds by prompt name. * List Versions by Prompt Name * @param name Prompt name */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3942-L3945
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.newPromptNameWithHttpInfo
public newPromptNameWithHttpInfo(desired: string, _options?: Configuration): Promise<HttpInfo<string>> { const result = this.api.newPromptNameWithHttpInfo(desired, _options); return result.toPromise(); }
/** * Create a new prompt name starting with a desired name. * Create New Prompt Name * @param desired Desired name */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3952-L3955
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.newPromptName
public newPromptName(desired: string, _options?: Configuration): Promise<string> { const result = this.api.newPromptName(desired, _options); return result.toPromise(); }
/** * Create a new prompt name starting with a desired name. * Create New Prompt Name * @param desired Desired name */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3962-L3965
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.publishPromptWithHttpInfo
public publishPromptWithHttpInfo(promptId: number, visibility: string, _options?: Configuration): Promise<HttpInfo<number>> { const result = this.api.publishPromptWithHttpInfo(promptId, visibility, _options); return result.toPromise(); }
/** * Publish prompt, draft content becomes formal content, version number increases by 1. After successful publication, a new promptId will be generated and returned. You need to specify the visibility for publication. * Publish Prompt * @param promptId The promptId to be published * @param visibil...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3973-L3976
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.publishPrompt
public publishPrompt(promptId: number, visibility: string, _options?: Configuration): Promise<number> { const result = this.api.publishPrompt(promptId, visibility, _options); return result.toPromise(); }
/** * Publish prompt, draft content becomes formal content, version number increases by 1. After successful publication, a new promptId will be generated and returned. You need to specify the visibility for publication. * Publish Prompt * @param promptId The promptId to be published * @param visibil...
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3984-L3987
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.searchPromptDetailsWithHttpInfo
public searchPromptDetailsWithHttpInfo(promptQueryDTO: PromptQueryDTO, _options?: Configuration): Promise<HttpInfo<Array<PromptDetailsDTO>>> { const result = this.api.searchPromptDetailsWithHttpInfo(promptQueryDTO, _options); return result.toPromise(); }
/** * Same as /api/v2/prompt/search, but returns detailed information of the prompt. * Search Prompt Details * @param promptQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L3994-L3997
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db
freechat
github_2023
freechat-fun
typescript
PromisePromptApi.searchPromptDetails
public searchPromptDetails(promptQueryDTO: PromptQueryDTO, _options?: Configuration): Promise<Array<PromptDetailsDTO>> { const result = this.api.searchPromptDetails(promptQueryDTO, _options); return result.toPromise(); }
/** * Same as /api/v2/prompt/search, but returns detailed information of the prompt. * Search Prompt Details * @param promptQueryDTO Query conditions */
https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/PromiseAPI.ts#L4004-L4007
cb80c3708b85cf52c02a91bdc0c9e9ddc14856db