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 | ObservableInteractiveStatisticsApi.listPluginsByStatisticWithHttpInfo | public listPluginsByStatisticWithHttpInfo(statsType: string, pageSize: number, pageNum: number, asc?: string, _options?: Configuration): Observable<HttpInfo<Array<PluginSummaryStatsDTO>>> {
const requestContextPromise = this.requestFactory.listPluginsByStatistic(statsType, pageSize, pageNum, asc, _options);
... | /**
* 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/ObservableAPI.ts#L4580-L4597 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableInteractiveStatisticsApi.listPluginsByStatistic | public listPluginsByStatistic(statsType: string, pageSize: number, pageNum: number, asc?: string, _options?: Configuration): Observable<Array<PluginSummaryStatsDTO>> {
return this.listPluginsByStatisticWithHttpInfo(statsType, pageSize, pageNum, asc, _options).pipe(map((apiResponse: HttpInfo<Array<PluginSummaryS... | /**
* 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/ObservableAPI.ts#L4607-L4609 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableInteractiveStatisticsApi.listPluginsByStatistic1WithHttpInfo | public listPluginsByStatistic1WithHttpInfo(statsType: string, asc?: string, _options?: Configuration): Observable<HttpInfo<Array<PluginSummaryStatsDTO>>> {
const requestContextPromise = this.requestFactory.listPluginsByStatistic1(statsType, asc, _options);
// build promise chain
let middlewareP... | /**
* 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=1 for ascending order
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L4617-L4634 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableInteractiveStatisticsApi.listPluginsByStatistic1 | public listPluginsByStatistic1(statsType: string, asc?: string, _options?: Configuration): Observable<Array<PluginSummaryStatsDTO>> {
return this.listPluginsByStatistic1WithHttpInfo(statsType, asc, _options).pipe(map((apiResponse: HttpInfo<Array<PluginSummaryStatsDTO>>) => apiResponse.data));
} | /**
* 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=1 for ascending order
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L4642-L4644 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableInteractiveStatisticsApi.listPluginsByStatistic2WithHttpInfo | public listPluginsByStatistic2WithHttpInfo(statsType: string, pageSize: number, asc?: string, _options?: Configuration): Observable<HttpInfo<Array<PluginSummaryStatsDTO>>> {
const requestContextPromise = this.requestFactory.listPluginsByStatistic2(statsType, pageSize, asc, _options);
// build promise c... | /**
* 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=1 for a... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L4653-L4670 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableInteractiveStatisticsApi.listPluginsByStatistic2 | public listPluginsByStatistic2(statsType: string, pageSize: number, asc?: string, _options?: Configuration): Observable<Array<PluginSummaryStatsDTO>> {
return this.listPluginsByStatistic2WithHttpInfo(statsType, pageSize, asc, _options).pipe(map((apiResponse: HttpInfo<Array<PluginSummaryStatsDTO>>) => apiRespons... | /**
* 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=1 for a... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L4679-L4681 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableInteractiveStatisticsApi.listPromptsByStatisticWithHttpInfo | public listPromptsByStatisticWithHttpInfo(statsType: string, asc?: string, _options?: Configuration): Observable<HttpInfo<Array<PromptSummaryStatsDTO>>> {
const requestContextPromise = this.requestFactory.listPromptsByStatistic(statsType, asc, _options);
// build promise chain
let middlewarePre... | /**
* 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=1 for ascending order
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L4689-L4706 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableInteractiveStatisticsApi.listPromptsByStatistic | public listPromptsByStatistic(statsType: string, asc?: string, _options?: Configuration): Observable<Array<PromptSummaryStatsDTO>> {
return this.listPromptsByStatisticWithHttpInfo(statsType, asc, _options).pipe(map((apiResponse: HttpInfo<Array<PromptSummaryStatsDTO>>) => apiResponse.data));
} | /**
* 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=1 for ascending order
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L4714-L4716 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableInteractiveStatisticsApi.listPromptsByStatistic1WithHttpInfo | public listPromptsByStatistic1WithHttpInfo(statsType: string, pageSize: number, asc?: string, _options?: Configuration): Observable<HttpInfo<Array<PromptSummaryStatsDTO>>> {
const requestContextPromise = this.requestFactory.listPromptsByStatistic1(statsType, pageSize, asc, _options);
// build promise c... | /**
* 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=1 for a... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L4725-L4742 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableInteractiveStatisticsApi.listPromptsByStatistic1 | public listPromptsByStatistic1(statsType: string, pageSize: number, asc?: string, _options?: Configuration): Observable<Array<PromptSummaryStatsDTO>> {
return this.listPromptsByStatistic1WithHttpInfo(statsType, pageSize, asc, _options).pipe(map((apiResponse: HttpInfo<Array<PromptSummaryStatsDTO>>) => apiRespons... | /**
* 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=1 for a... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/types/ObservableAPI.ts#L4751-L4753 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableInteractiveStatisticsApi.listPromptsByStatistic2WithHttpInfo | public listPromptsByStatistic2WithHttpInfo(statsType: string, pageSize: number, pageNum: number, asc?: string, _options?: Configuration): Observable<HttpInfo<Array<PromptSummaryStatsDTO>>> {
const requestContextPromise = this.requestFactory.listPromptsByStatistic2(statsType, pageSize, pageNum, asc, _options);
... | /**
* 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/ObservableAPI.ts#L4763-L4780 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableInteractiveStatisticsApi.listPromptsByStatistic2 | public listPromptsByStatistic2(statsType: string, pageSize: number, pageNum: number, asc?: string, _options?: Configuration): Observable<Array<PromptSummaryStatsDTO>> {
return this.listPromptsByStatistic2WithHttpInfo(statsType, pageSize, pageNum, asc, _options).pipe(map((apiResponse: HttpInfo<Array<PromptSummar... | /**
* 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/ObservableAPI.ts#L4790-L4792 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.getOwnersWithHttpInfo | public getOwnersWithHttpInfo(all?: string, _options?: Configuration): Observable<HttpInfo<Array<string>>> {
const requestContextPromise = this.requestFactory.getOwners(all, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (... | /**
* 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/ObservableAPI.ts#L4817-L4834 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.getOwners | public getOwners(all?: string, _options?: Configuration): Observable<Array<string>> {
return this.getOwnersWithHttpInfo(all, _options).pipe(map((apiResponse: HttpInfo<Array<string>>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L4841-L4843 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.getOwnersDotWithHttpInfo | public getOwnersDotWithHttpInfo(all?: string, _options?: Configuration): Observable<HttpInfo<string>> {
const requestContextPromise = this.requestFactory.getOwnersDot(all, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
for (c... | /**
* 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/ObservableAPI.ts#L4850-L4867 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.getOwnersDot | public getOwnersDot(all?: string, _options?: Configuration): Observable<string> {
return this.getOwnersDotWithHttpInfo(all, _options).pipe(map((apiResponse: HttpInfo<string>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L4874-L4876 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.getSubordinateOwnersWithHttpInfo | public getSubordinateOwnersWithHttpInfo(username: string, all?: string, _options?: Configuration): Observable<HttpInfo<Array<string>>> {
const requestContextPromise = this.requestFactory.getSubordinateOwners(username, all, _options);
// build promise chain
let middlewarePreObservable = from<Req... | /**
* 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/ObservableAPI.ts#L4884-L4901 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.getSubordinateOwners | public getSubordinateOwners(username: string, all?: string, _options?: Configuration): Observable<Array<string>> {
return this.getSubordinateOwnersWithHttpInfo(username, all, _options).pipe(map((apiResponse: HttpInfo<Array<string>>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L4909-L4911 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.getSubordinateSubordinatesWithHttpInfo | public getSubordinateSubordinatesWithHttpInfo(username: string, all?: string, _options?: Configuration): Observable<HttpInfo<Array<string>>> {
const requestContextPromise = this.requestFactory.getSubordinateSubordinates(username, all, _options);
// build promise chain
let middlewarePreObservabl... | /**
* 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/ObservableAPI.ts#L4919-L4936 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.getSubordinateSubordinates | public getSubordinateSubordinates(username: string, all?: string, _options?: Configuration): Observable<Array<string>> {
return this.getSubordinateSubordinatesWithHttpInfo(username, all, _options).pipe(map((apiResponse: HttpInfo<Array<string>>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L4944-L4946 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.getSubordinatesWithHttpInfo | public getSubordinatesWithHttpInfo(all?: string, _options?: Configuration): Observable<HttpInfo<Array<string>>> {
const requestContextPromise = this.requestFactory.getSubordinates(all, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
... | /**
* 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/ObservableAPI.ts#L4953-L4970 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.getSubordinates | public getSubordinates(all?: string, _options?: Configuration): Observable<Array<string>> {
return this.getSubordinatesWithHttpInfo(all, _options).pipe(map((apiResponse: HttpInfo<Array<string>>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L4977-L4979 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.getSubordinatesDotWithHttpInfo | public getSubordinatesDotWithHttpInfo(all?: string, _options?: Configuration): Observable<HttpInfo<string>> {
const requestContextPromise = this.requestFactory.getSubordinatesDot(all, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
... | /**
* 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/ObservableAPI.ts#L4986-L5003 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.getSubordinatesDot | public getSubordinatesDot(all?: string, _options?: Configuration): Observable<string> {
return this.getSubordinatesDotWithHttpInfo(all, _options).pipe(map((apiResponse: HttpInfo<string>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5010-L5012 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.listSubordinateAuthoritiesWithHttpInfo | public listSubordinateAuthoritiesWithHttpInfo(username: string, _options?: Configuration): Observable<HttpInfo<Array<string>>> {
const requestContextPromise = this.requestFactory.listSubordinateAuthorities(username, _options);
// build promise chain
let middlewarePreObservable = from<RequestCon... | /**
* 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/ObservableAPI.ts#L5019-L5036 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.listSubordinateAuthorities | public listSubordinateAuthorities(username: string, _options?: Configuration): Observable<Array<string>> {
return this.listSubordinateAuthoritiesWithHttpInfo(username, _options).pipe(map((apiResponse: HttpInfo<Array<string>>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5043-L5045 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.removeSubordinateSubordinatesTreeWithHttpInfo | public removeSubordinateSubordinatesTreeWithHttpInfo(username: string, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.removeSubordinateSubordinatesTree(username, _options);
// build promise chain
let middlewarePreObservable = from<Re... | /**
* 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/ObservableAPI.ts#L5052-L5069 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.removeSubordinateSubordinatesTree | public removeSubordinateSubordinatesTree(username: string, _options?: Configuration): Observable<boolean> {
return this.removeSubordinateSubordinatesTreeWithHttpInfo(username, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5076-L5078 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.updateSubordinateAuthoritiesWithHttpInfo | public updateSubordinateAuthoritiesWithHttpInfo(username: string, requestBody: Set<string>, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.updateSubordinateAuthorities(username, requestBody, _options);
// build promise chain
let midd... | /**
* 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/ObservableAPI.ts#L5086-L5103 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.updateSubordinateAuthorities | public updateSubordinateAuthorities(username: string, requestBody: Set<string>, _options?: Configuration): Observable<boolean> {
return this.updateSubordinateAuthoritiesWithHttpInfo(username, requestBody, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5111-L5113 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.updateSubordinateOwnersWithHttpInfo | public updateSubordinateOwnersWithHttpInfo(username: string, requestBody: Array<string>, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.updateSubordinateOwners(username, requestBody, _options);
// build promise chain
let middlewarePr... | /**
* 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/ObservableAPI.ts#L5121-L5138 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.updateSubordinateOwners | public updateSubordinateOwners(username: string, requestBody: Array<string>, _options?: Configuration): Observable<boolean> {
return this.updateSubordinateOwnersWithHttpInfo(username, requestBody, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5146-L5148 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.updateSubordinateSubordinatesWithHttpInfo | public updateSubordinateSubordinatesWithHttpInfo(username: string, requestBody: Array<string>, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.updateSubordinateSubordinates(username, requestBody, _options);
// build promise chain
let ... | /**
* 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/ObservableAPI.ts#L5156-L5173 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservableOrganizationApi.updateSubordinateSubordinates | public updateSubordinateSubordinates(username: string, requestBody: Array<string>, _options?: Configuration): Observable<boolean> {
return this.updateSubordinateSubordinatesWithHttpInfo(username, requestBody, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5181-L5183 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.batchSearchPluginDetailsWithHttpInfo | public batchSearchPluginDetailsWithHttpInfo(pluginQueryDTO: Array<PluginQueryDTO>, _options?: Configuration): Observable<HttpInfo<Array<Array<PluginDetailsDTO>>>> {
const requestContextPromise = this.requestFactory.batchSearchPluginDetails(pluginQueryDTO, _options);
// build promise chain
let m... | /**
* 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/ObservableAPI.ts#L5208-L5225 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.batchSearchPluginDetails | public batchSearchPluginDetails(pluginQueryDTO: Array<PluginQueryDTO>, _options?: Configuration): Observable<Array<Array<PluginDetailsDTO>>> {
return this.batchSearchPluginDetailsWithHttpInfo(pluginQueryDTO, _options).pipe(map((apiResponse: HttpInfo<Array<Array<PluginDetailsDTO>>>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5232-L5234 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.batchSearchPluginSummaryWithHttpInfo | public batchSearchPluginSummaryWithHttpInfo(pluginQueryDTO: Array<PluginQueryDTO>, _options?: Configuration): Observable<HttpInfo<Array<Array<PluginSummaryDTO>>>> {
const requestContextPromise = this.requestFactory.batchSearchPluginSummary(pluginQueryDTO, _options);
// build promise chain
let m... | /**
* 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/ObservableAPI.ts#L5241-L5258 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.batchSearchPluginSummary | public batchSearchPluginSummary(pluginQueryDTO: Array<PluginQueryDTO>, _options?: Configuration): Observable<Array<Array<PluginSummaryDTO>>> {
return this.batchSearchPluginSummaryWithHttpInfo(pluginQueryDTO, _options).pipe(map((apiResponse: HttpInfo<Array<Array<PluginSummaryDTO>>>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5265-L5267 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.countPluginsWithHttpInfo | public countPluginsWithHttpInfo(pluginQueryDTO: PluginQueryDTO, _options?: Configuration): Observable<HttpInfo<number>> {
const requestContextPromise = this.requestFactory.countPlugins(pluginQueryDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestCo... | /**
* 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/ObservableAPI.ts#L5274-L5291 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.countPlugins | public countPlugins(pluginQueryDTO: PluginQueryDTO, _options?: Configuration): Observable<number> {
return this.countPluginsWithHttpInfo(pluginQueryDTO, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5298-L5300 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.createPluginWithHttpInfo | public createPluginWithHttpInfo(pluginCreateDTO: PluginCreateDTO, _options?: Configuration): Observable<HttpInfo<number>> {
const requestContextPromise = this.requestFactory.createPlugin(pluginCreateDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(reques... | /**
* 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/ObservableAPI.ts#L5307-L5324 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.createPlugin | public createPlugin(pluginCreateDTO: PluginCreateDTO, _options?: Configuration): Observable<number> {
return this.createPluginWithHttpInfo(pluginCreateDTO, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5331-L5333 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.createPluginsWithHttpInfo | public createPluginsWithHttpInfo(pluginCreateDTO: Array<PluginCreateDTO>, _options?: Configuration): Observable<HttpInfo<Array<number>>> {
const requestContextPromise = this.requestFactory.createPlugins(pluginCreateDTO, _options);
// build promise chain
let middlewarePreObservable = from<Reques... | /**
* 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/ObservableAPI.ts#L5340-L5357 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.createPlugins | public createPlugins(pluginCreateDTO: Array<PluginCreateDTO>, _options?: Configuration): Observable<Array<number>> {
return this.createPluginsWithHttpInfo(pluginCreateDTO, _options).pipe(map((apiResponse: HttpInfo<Array<number>>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5364-L5366 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.deletePluginWithHttpInfo | public deletePluginWithHttpInfo(pluginId: number, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.deletePlugin(pluginId, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
... | /**
* 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/ObservableAPI.ts#L5373-L5390 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.deletePlugin | public deletePlugin(pluginId: number, _options?: Configuration): Observable<boolean> {
return this.deletePluginWithHttpInfo(pluginId, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5397-L5399 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.deletePluginsWithHttpInfo | public deletePluginsWithHttpInfo(requestBody: Array<number>, _options?: Configuration): Observable<HttpInfo<Array<number>>> {
const requestContextPromise = this.requestFactory.deletePlugins(requestBody, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(request... | /**
* 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/ObservableAPI.ts#L5406-L5423 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.deletePlugins | public deletePlugins(requestBody: Array<number>, _options?: Configuration): Observable<Array<number>> {
return this.deletePluginsWithHttpInfo(requestBody, _options).pipe(map((apiResponse: HttpInfo<Array<number>>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5430-L5432 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.getPluginDetailsWithHttpInfo | public getPluginDetailsWithHttpInfo(pluginId: number, _options?: Configuration): Observable<HttpInfo<PluginDetailsDTO>> {
const requestContextPromise = this.requestFactory.getPluginDetails(pluginId, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestCont... | /**
* 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/ObservableAPI.ts#L5439-L5456 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.getPluginDetails | public getPluginDetails(pluginId: number, _options?: Configuration): Observable<PluginDetailsDTO> {
return this.getPluginDetailsWithHttpInfo(pluginId, _options).pipe(map((apiResponse: HttpInfo<PluginDetailsDTO>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5463-L5465 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.getPluginSummaryWithHttpInfo | public getPluginSummaryWithHttpInfo(pluginId: number, _options?: Configuration): Observable<HttpInfo<PluginSummaryDTO>> {
const requestContextPromise = this.requestFactory.getPluginSummary(pluginId, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestCont... | /**
* 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/ObservableAPI.ts#L5472-L5489 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.getPluginSummary | public getPluginSummary(pluginId: number, _options?: Configuration): Observable<PluginSummaryDTO> {
return this.getPluginSummaryWithHttpInfo(pluginId, _options).pipe(map((apiResponse: HttpInfo<PluginSummaryDTO>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5496-L5498 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.refreshPluginInfoWithHttpInfo | public refreshPluginInfoWithHttpInfo(pluginId: number, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.refreshPluginInfo(pluginId, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise... | /**
* 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/ObservableAPI.ts#L5505-L5522 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.refreshPluginInfo | public refreshPluginInfo(pluginId: number, _options?: Configuration): Observable<void> {
return this.refreshPluginInfoWithHttpInfo(pluginId, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5529-L5531 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.searchPluginDetailsWithHttpInfo | public searchPluginDetailsWithHttpInfo(pluginQueryDTO: PluginQueryDTO, _options?: Configuration): Observable<HttpInfo<Array<PluginDetailsDTO>>> {
const requestContextPromise = this.requestFactory.searchPluginDetails(pluginQueryDTO, _options);
// build promise chain
let middlewarePreObservable =... | /**
* 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/ObservableAPI.ts#L5538-L5555 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.searchPluginDetails | public searchPluginDetails(pluginQueryDTO: PluginQueryDTO, _options?: Configuration): Observable<Array<PluginDetailsDTO>> {
return this.searchPluginDetailsWithHttpInfo(pluginQueryDTO, _options).pipe(map((apiResponse: HttpInfo<Array<PluginDetailsDTO>>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5562-L5564 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.searchPluginSummaryWithHttpInfo | public searchPluginSummaryWithHttpInfo(pluginQueryDTO: PluginQueryDTO, _options?: Configuration): Observable<HttpInfo<Array<PluginSummaryDTO>>> {
const requestContextPromise = this.requestFactory.searchPluginSummary(pluginQueryDTO, _options);
// build promise chain
let middlewarePreObservable =... | /**
* 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/ObservableAPI.ts#L5571-L5588 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.searchPluginSummary | public searchPluginSummary(pluginQueryDTO: PluginQueryDTO, _options?: Configuration): Observable<Array<PluginSummaryDTO>> {
return this.searchPluginSummaryWithHttpInfo(pluginQueryDTO, _options).pipe(map((apiResponse: HttpInfo<Array<PluginSummaryDTO>>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5595-L5597 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.updatePluginWithHttpInfo | public updatePluginWithHttpInfo(pluginId: number, pluginUpdateDTO: PluginUpdateDTO, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.updatePlugin(pluginId, pluginUpdateDTO, _options);
// build promise chain
let middlewarePreObservable ... | /**
* 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/ObservableAPI.ts#L5605-L5622 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePluginApi.updatePlugin | public updatePlugin(pluginId: number, pluginUpdateDTO: PluginUpdateDTO, _options?: Configuration): Observable<boolean> {
return this.updatePluginWithHttpInfo(pluginId, pluginUpdateDTO, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5630-L5632 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.applyPromptRefWithHttpInfo | public applyPromptRefWithHttpInfo(promptRefDTO: PromptRefDTO, _options?: Configuration): Observable<HttpInfo<string>> {
const requestContextPromise = this.requestFactory.applyPromptRef(promptRefDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestCont... | /**
* 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/ObservableAPI.ts#L5657-L5674 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.applyPromptRef | public applyPromptRef(promptRefDTO: PromptRefDTO, _options?: Configuration): Observable<string> {
return this.applyPromptRefWithHttpInfo(promptRefDTO, _options).pipe(map((apiResponse: HttpInfo<string>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5681-L5683 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.applyPromptTemplateWithHttpInfo | public applyPromptTemplateWithHttpInfo(promptTemplateDTO: PromptTemplateDTO, _options?: Configuration): Observable<HttpInfo<string>> {
const requestContextPromise = this.requestFactory.applyPromptTemplate(promptTemplateDTO, _options);
// build promise chain
let middlewarePreObservable = from<Re... | /**
* 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/ObservableAPI.ts#L5690-L5707 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.applyPromptTemplate | public applyPromptTemplate(promptTemplateDTO: PromptTemplateDTO, _options?: Configuration): Observable<string> {
return this.applyPromptTemplateWithHttpInfo(promptTemplateDTO, _options).pipe(map((apiResponse: HttpInfo<string>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5714-L5716 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.batchSearchPromptDetailsWithHttpInfo | public batchSearchPromptDetailsWithHttpInfo(promptQueryDTO: Array<PromptQueryDTO>, _options?: Configuration): Observable<HttpInfo<Array<Array<PromptDetailsDTO>>>> {
const requestContextPromise = this.requestFactory.batchSearchPromptDetails(promptQueryDTO, _options);
// build promise chain
let m... | /**
* 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/ObservableAPI.ts#L5723-L5740 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.batchSearchPromptDetails | public batchSearchPromptDetails(promptQueryDTO: Array<PromptQueryDTO>, _options?: Configuration): Observable<Array<Array<PromptDetailsDTO>>> {
return this.batchSearchPromptDetailsWithHttpInfo(promptQueryDTO, _options).pipe(map((apiResponse: HttpInfo<Array<Array<PromptDetailsDTO>>>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5747-L5749 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.batchSearchPromptSummaryWithHttpInfo | public batchSearchPromptSummaryWithHttpInfo(promptQueryDTO: Array<PromptQueryDTO>, _options?: Configuration): Observable<HttpInfo<Array<Array<PromptSummaryDTO>>>> {
const requestContextPromise = this.requestFactory.batchSearchPromptSummary(promptQueryDTO, _options);
// build promise chain
let m... | /**
* 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/ObservableAPI.ts#L5756-L5773 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.batchSearchPromptSummary | public batchSearchPromptSummary(promptQueryDTO: Array<PromptQueryDTO>, _options?: Configuration): Observable<Array<Array<PromptSummaryDTO>>> {
return this.batchSearchPromptSummaryWithHttpInfo(promptQueryDTO, _options).pipe(map((apiResponse: HttpInfo<Array<Array<PromptSummaryDTO>>>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5780-L5782 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.clonePromptWithHttpInfo | public clonePromptWithHttpInfo(promptId: number, _options?: Configuration): Observable<HttpInfo<number>> {
const requestContextPromise = this.requestFactory.clonePrompt(promptId, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
... | /**
* 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/ObservableAPI.ts#L5789-L5806 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.clonePrompt | public clonePrompt(promptId: number, _options?: Configuration): Observable<number> {
return this.clonePromptWithHttpInfo(promptId, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5813-L5815 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.clonePromptsWithHttpInfo | public clonePromptsWithHttpInfo(requestBody: Array<number>, _options?: Configuration): Observable<HttpInfo<Array<number>>> {
const requestContextPromise = this.requestFactory.clonePrompts(requestBody, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestCo... | /**
* 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/ObservableAPI.ts#L5822-L5839 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.clonePrompts | public clonePrompts(requestBody: Array<number>, _options?: Configuration): Observable<Array<number>> {
return this.clonePromptsWithHttpInfo(requestBody, _options).pipe(map((apiResponse: HttpInfo<Array<number>>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5846-L5848 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.countPromptsWithHttpInfo | public countPromptsWithHttpInfo(promptQueryDTO: PromptQueryDTO, _options?: Configuration): Observable<HttpInfo<number>> {
const requestContextPromise = this.requestFactory.countPrompts(promptQueryDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestCo... | /**
* 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/ObservableAPI.ts#L5855-L5872 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.countPrompts | public countPrompts(promptQueryDTO: PromptQueryDTO, _options?: Configuration): Observable<number> {
return this.countPromptsWithHttpInfo(promptQueryDTO, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5879-L5881 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.countPublicPromptsWithHttpInfo | public countPublicPromptsWithHttpInfo(promptQueryDTO: PromptQueryDTO, _options?: Configuration): Observable<HttpInfo<number>> {
const requestContextPromise = this.requestFactory.countPublicPrompts(promptQueryDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContex... | /**
* 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/ObservableAPI.ts#L5888-L5905 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.countPublicPrompts | public countPublicPrompts(promptQueryDTO: PromptQueryDTO, _options?: Configuration): Observable<number> {
return this.countPublicPromptsWithHttpInfo(promptQueryDTO, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5912-L5914 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.createPromptWithHttpInfo | public createPromptWithHttpInfo(promptCreateDTO: PromptCreateDTO, _options?: Configuration): Observable<HttpInfo<number>> {
const requestContextPromise = this.requestFactory.createPrompt(promptCreateDTO, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(reques... | /**
* 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/ObservableAPI.ts#L5921-L5938 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.createPrompt | public createPrompt(promptCreateDTO: PromptCreateDTO, _options?: Configuration): Observable<number> {
return this.createPromptWithHttpInfo(promptCreateDTO, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5945-L5947 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.createPromptsWithHttpInfo | public createPromptsWithHttpInfo(promptCreateDTO: Array<PromptCreateDTO>, _options?: Configuration): Observable<HttpInfo<Array<number>>> {
const requestContextPromise = this.requestFactory.createPrompts(promptCreateDTO, _options);
// build promise chain
let middlewarePreObservable = from<Reques... | /**
* 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/ObservableAPI.ts#L5954-L5971 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.createPrompts | public createPrompts(promptCreateDTO: Array<PromptCreateDTO>, _options?: Configuration): Observable<Array<number>> {
return this.createPromptsWithHttpInfo(promptCreateDTO, _options).pipe(map((apiResponse: HttpInfo<Array<number>>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L5978-L5980 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.deletePromptWithHttpInfo | public deletePromptWithHttpInfo(promptId: number, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.deletePrompt(promptId, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
... | /**
* 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/ObservableAPI.ts#L5987-L6004 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.deletePrompt | public deletePrompt(promptId: number, _options?: Configuration): Observable<boolean> {
return this.deletePromptWithHttpInfo(promptId, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L6011-L6013 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.deletePromptByNameWithHttpInfo | public deletePromptByNameWithHttpInfo(name: string, _options?: Configuration): Observable<HttpInfo<Array<number>>> {
const requestContextPromise = this.requestFactory.deletePromptByName(name, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextProm... | /**
* 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/ObservableAPI.ts#L6020-L6037 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.deletePromptByName | public deletePromptByName(name: string, _options?: Configuration): Observable<Array<number>> {
return this.deletePromptByNameWithHttpInfo(name, _options).pipe(map((apiResponse: HttpInfo<Array<number>>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L6044-L6046 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.deletePromptsWithHttpInfo | public deletePromptsWithHttpInfo(requestBody: Array<number>, _options?: Configuration): Observable<HttpInfo<Array<number>>> {
const requestContextPromise = this.requestFactory.deletePrompts(requestBody, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(request... | /**
* 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/ObservableAPI.ts#L6053-L6070 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.deletePrompts | public deletePrompts(requestBody: Array<number>, _options?: Configuration): Observable<Array<number>> {
return this.deletePromptsWithHttpInfo(requestBody, _options).pipe(map((apiResponse: HttpInfo<Array<number>>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L6077-L6079 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.existsPromptNameWithHttpInfo | public existsPromptNameWithHttpInfo(name: string, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.existsPromptName(name, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
... | /**
* 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/ObservableAPI.ts#L6086-L6103 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.existsPromptName | public existsPromptName(name: string, _options?: Configuration): Observable<boolean> {
return this.existsPromptNameWithHttpInfo(name, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L6110-L6112 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.getPromptDetailsWithHttpInfo | public getPromptDetailsWithHttpInfo(promptId: number, _options?: Configuration): Observable<HttpInfo<PromptDetailsDTO>> {
const requestContextPromise = this.requestFactory.getPromptDetails(promptId, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestCont... | /**
* 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/ObservableAPI.ts#L6119-L6136 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.getPromptDetails | public getPromptDetails(promptId: number, _options?: Configuration): Observable<PromptDetailsDTO> {
return this.getPromptDetailsWithHttpInfo(promptId, _options).pipe(map((apiResponse: HttpInfo<PromptDetailsDTO>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L6143-L6145 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.getPromptSummaryWithHttpInfo | public getPromptSummaryWithHttpInfo(promptId: number, _options?: Configuration): Observable<HttpInfo<PromptSummaryDTO>> {
const requestContextPromise = this.requestFactory.getPromptSummary(promptId, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestCont... | /**
* 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/ObservableAPI.ts#L6152-L6169 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.getPromptSummary | public getPromptSummary(promptId: number, _options?: Configuration): Observable<PromptSummaryDTO> {
return this.getPromptSummaryWithHttpInfo(promptId, _options).pipe(map((apiResponse: HttpInfo<PromptSummaryDTO>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L6176-L6178 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.listPromptVersionsByNameWithHttpInfo | public listPromptVersionsByNameWithHttpInfo(name: string, _options?: Configuration): Observable<HttpInfo<Array<PromptItemForNameDTO>>> {
const requestContextPromise = this.requestFactory.listPromptVersionsByName(name, _options);
// build promise chain
let middlewarePreObservable = from<RequestC... | /**
* 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/ObservableAPI.ts#L6185-L6202 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.listPromptVersionsByName | public listPromptVersionsByName(name: string, _options?: Configuration): Observable<Array<PromptItemForNameDTO>> {
return this.listPromptVersionsByNameWithHttpInfo(name, _options).pipe(map((apiResponse: HttpInfo<Array<PromptItemForNameDTO>>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L6209-L6211 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.newPromptNameWithHttpInfo | public newPromptNameWithHttpInfo(desired: string, _options?: Configuration): Observable<HttpInfo<string>> {
const requestContextPromise = this.requestFactory.newPromptName(desired, _options);
// build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise);
... | /**
* 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/ObservableAPI.ts#L6218-L6235 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.newPromptName | public newPromptName(desired: string, _options?: Configuration): Observable<string> {
return this.newPromptNameWithHttpInfo(desired, _options).pipe(map((apiResponse: HttpInfo<string>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L6242-L6244 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.publishPromptWithHttpInfo | public publishPromptWithHttpInfo(promptId: number, visibility: string, _options?: Configuration): Observable<HttpInfo<number>> {
const requestContextPromise = this.requestFactory.publishPrompt(promptId, visibility, _options);
// build promise chain
let middlewarePreObservable = from<RequestCont... | /**
* 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/ObservableAPI.ts#L6252-L6269 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.publishPrompt | public publishPrompt(promptId: number, visibility: string, _options?: Configuration): Observable<number> {
return this.publishPromptWithHttpInfo(promptId, visibility, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L6277-L6279 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.searchPromptDetailsWithHttpInfo | public searchPromptDetailsWithHttpInfo(promptQueryDTO: PromptQueryDTO, _options?: Configuration): Observable<HttpInfo<Array<PromptDetailsDTO>>> {
const requestContextPromise = this.requestFactory.searchPromptDetails(promptQueryDTO, _options);
// build promise chain
let middlewarePreObservable =... | /**
* 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/ObservableAPI.ts#L6286-L6303 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | ObservablePromptApi.searchPromptDetails | public searchPromptDetails(promptQueryDTO: PromptQueryDTO, _options?: Configuration): Observable<Array<PromptDetailsDTO>> {
return this.searchPromptDetailsWithHttpInfo(promptQueryDTO, _options).pipe(map((apiResponse: HttpInfo<Array<PromptDetailsDTO>>) => apiResponse.data));
} | /**
* 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/ObservableAPI.ts#L6310-L6312 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.