@epam/ai-dial-chat-api-client 1.0.0-rc.4 → 1.0.0-rc.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/src/apis/OfflineCredentialsApi.d.ts +42 -0
- package/generated/src/apis/OfflineCredentialsApi.d.ts.map +1 -0
- package/generated/src/apis/OfflineCredentialsApi.js +77 -0
- package/generated/src/apis/PromptsApi.d.ts +15 -10
- package/generated/src/apis/PromptsApi.d.ts.map +1 -1
- package/generated/src/apis/PromptsApi.js +21 -10
- package/generated/src/apis/PublishApi.d.ts +6 -2
- package/generated/src/apis/PublishApi.d.ts.map +1 -1
- package/generated/src/apis/PublishApi.js +6 -2
- package/generated/src/apis/ScheduledTasksApi.d.ts +13 -0
- package/generated/src/apis/ScheduledTasksApi.d.ts.map +1 -1
- package/generated/src/apis/ScheduledTasksApi.js +27 -0
- package/generated/src/apis/ShareApi.d.ts +18 -5
- package/generated/src/apis/ShareApi.d.ts.map +1 -1
- package/generated/src/apis/ShareApi.js +34 -4
- package/generated/src/apis/SkillsApi.d.ts +218 -0
- package/generated/src/apis/SkillsApi.d.ts.map +1 -0
- package/generated/src/apis/SkillsApi.js +632 -0
- package/generated/src/apis/UserApi.d.ts +39 -0
- package/generated/src/apis/UserApi.d.ts.map +1 -0
- package/generated/src/apis/UserApi.js +72 -0
- package/generated/src/apis/UserConfigApi.d.ts +23 -1
- package/generated/src/apis/UserConfigApi.d.ts.map +1 -1
- package/generated/src/apis/UserConfigApi.js +52 -0
- package/generated/src/apis/index.d.ts +3 -0
- package/generated/src/apis/index.d.ts.map +1 -1
- package/generated/src/apis/index.js +3 -0
- package/generated/src/models/index.d.ts +645 -50
- package/generated/src/models/index.d.ts.map +1 -1
- package/generated/src/models/index.js +18 -1
- package/package.json +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chat API
|
|
3
|
+
* REST API for the chat application. Provides endpoints for theme configuration, authentication, and management. All endpoints return appropriate HTTP status codes (200, 400, 401, 403, 404, 502, 503) with descriptive error messages.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { GetOfflineCredentialsResponseDto, OfflineCredentialsAuthResultDto, OfflineCredentialsSigninBodyDto } from '../models/index';
|
|
14
|
+
export interface SignInOfflineCredentialsRequest {
|
|
15
|
+
offlineCredentialsSigninBodyDto: OfflineCredentialsSigninBodyDto;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class OfflineCredentialsApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
* Returns the session user\'s offline-credentials consent status by proxying DIAL Core (GET /v1/user/offline-credentials). Never cached.
|
|
23
|
+
* Get offline-credentials status
|
|
24
|
+
*/
|
|
25
|
+
getOfflineCredentialsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetOfflineCredentialsResponseDto>>;
|
|
26
|
+
/**
|
|
27
|
+
* Returns the session user\'s offline-credentials consent status by proxying DIAL Core (GET /v1/user/offline-credentials). Never cached.
|
|
28
|
+
* Get offline-credentials status
|
|
29
|
+
*/
|
|
30
|
+
getOfflineCredentials(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetOfflineCredentialsResponseDto>;
|
|
31
|
+
/**
|
|
32
|
+
* Submits the OAuth authorization code obtained from the offline-credentials consent popup by proxying DIAL Core (POST /v1/user/offline-credentials/signin). The authorization code is never logged.
|
|
33
|
+
* Submit offline-credentials OAuth authorization code
|
|
34
|
+
*/
|
|
35
|
+
signInOfflineCredentialsRaw(requestParameters: SignInOfflineCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OfflineCredentialsAuthResultDto>>;
|
|
36
|
+
/**
|
|
37
|
+
* Submits the OAuth authorization code obtained from the offline-credentials consent popup by proxying DIAL Core (POST /v1/user/offline-credentials/signin). The authorization code is never logged.
|
|
38
|
+
* Submit offline-credentials OAuth authorization code
|
|
39
|
+
*/
|
|
40
|
+
signInOfflineCredentials(requestParameters: SignInOfflineCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OfflineCredentialsAuthResultDto>;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=OfflineCredentialsApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OfflineCredentialsApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/OfflineCredentialsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,gCAAgC,EAChC,+BAA+B,EAC/B,+BAA+B,EAChC,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,+BAA+B;IAC9C,+BAA+B,EAAE,+BAA+B,CAAC;CAClE;AAED;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,OAAO,CAAC,OAAO;IACxD;;;OAGG;IACG,wBAAwB,CAC5B,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,gCAAgC,CAAC,CAAC;IAsBjE;;;OAGG;IACG,qBAAqB,CACzB,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,gCAAgC,CAAC;IAK5C;;;OAGG;IACG,2BAA2B,CAC/B,iBAAiB,EAAE,+BAA+B,EAClD,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,+BAA+B,CAAC,CAAC;IAgChE;;;OAGG;IACG,wBAAwB,CAC5B,iBAAiB,EAAE,+BAA+B,EAClD,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,+BAA+B,CAAC;CAO5C"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Chat API
|
|
6
|
+
* REST API for the chat application. Provides endpoints for theme configuration, authentication, and management. All endpoints return appropriate HTTP status codes (200, 400, 401, 403, 404, 502, 503) with descriptive error messages.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.OfflineCredentialsApi = void 0;
|
|
17
|
+
const tslib_1 = require("tslib");
|
|
18
|
+
const runtime = tslib_1.__importStar(require("../runtime"));
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
class OfflineCredentialsApi extends runtime.BaseAPI {
|
|
23
|
+
/**
|
|
24
|
+
* Returns the session user\'s offline-credentials consent status by proxying DIAL Core (GET /v1/user/offline-credentials). Never cached.
|
|
25
|
+
* Get offline-credentials status
|
|
26
|
+
*/
|
|
27
|
+
async getOfflineCredentialsRaw(initOverrides) {
|
|
28
|
+
const queryParameters = {};
|
|
29
|
+
const headerParameters = {};
|
|
30
|
+
let urlPath = `/api/v1/offline-credentials`;
|
|
31
|
+
const response = await this.request({
|
|
32
|
+
path: urlPath,
|
|
33
|
+
method: 'GET',
|
|
34
|
+
headers: headerParameters,
|
|
35
|
+
query: queryParameters,
|
|
36
|
+
}, initOverrides);
|
|
37
|
+
return new runtime.JSONApiResponse(response);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Returns the session user\'s offline-credentials consent status by proxying DIAL Core (GET /v1/user/offline-credentials). Never cached.
|
|
41
|
+
* Get offline-credentials status
|
|
42
|
+
*/
|
|
43
|
+
async getOfflineCredentials(initOverrides) {
|
|
44
|
+
const response = await this.getOfflineCredentialsRaw(initOverrides);
|
|
45
|
+
return await response.value();
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Submits the OAuth authorization code obtained from the offline-credentials consent popup by proxying DIAL Core (POST /v1/user/offline-credentials/signin). The authorization code is never logged.
|
|
49
|
+
* Submit offline-credentials OAuth authorization code
|
|
50
|
+
*/
|
|
51
|
+
async signInOfflineCredentialsRaw(requestParameters, initOverrides) {
|
|
52
|
+
if (requestParameters['offlineCredentialsSigninBodyDto'] == null) {
|
|
53
|
+
throw new runtime.RequiredError('offlineCredentialsSigninBodyDto', 'Required parameter "offlineCredentialsSigninBodyDto" was null or undefined when calling signInOfflineCredentials().');
|
|
54
|
+
}
|
|
55
|
+
const queryParameters = {};
|
|
56
|
+
const headerParameters = {};
|
|
57
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
58
|
+
let urlPath = `/api/v1/offline-credentials/signin`;
|
|
59
|
+
const response = await this.request({
|
|
60
|
+
path: urlPath,
|
|
61
|
+
method: 'POST',
|
|
62
|
+
headers: headerParameters,
|
|
63
|
+
query: queryParameters,
|
|
64
|
+
body: requestParameters['offlineCredentialsSigninBodyDto'],
|
|
65
|
+
}, initOverrides);
|
|
66
|
+
return new runtime.JSONApiResponse(response);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Submits the OAuth authorization code obtained from the offline-credentials consent popup by proxying DIAL Core (POST /v1/user/offline-credentials/signin). The authorization code is never logged.
|
|
70
|
+
* Submit offline-credentials OAuth authorization code
|
|
71
|
+
*/
|
|
72
|
+
async signInOfflineCredentials(requestParameters, initOverrides) {
|
|
73
|
+
const response = await this.signInOfflineCredentialsRaw(requestParameters, initOverrides);
|
|
74
|
+
return await response.value();
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.OfflineCredentialsApi = OfflineCredentialsApi;
|
|
@@ -25,6 +25,7 @@ export interface DeletePromptFolderRequest {
|
|
|
25
25
|
}
|
|
26
26
|
export interface GetPromptRequest {
|
|
27
27
|
path: string;
|
|
28
|
+
bucket?: string;
|
|
28
29
|
}
|
|
29
30
|
export interface GetPublicPromptRequest {
|
|
30
31
|
path: string;
|
|
@@ -32,6 +33,7 @@ export interface GetPublicPromptRequest {
|
|
|
32
33
|
export interface MovePromptRequest {
|
|
33
34
|
path: string;
|
|
34
35
|
movePromptDto: MovePromptDto;
|
|
36
|
+
bucket?: string;
|
|
35
37
|
}
|
|
36
38
|
export interface RenamePromptFolderRequest {
|
|
37
39
|
path: string;
|
|
@@ -40,6 +42,7 @@ export interface RenamePromptFolderRequest {
|
|
|
40
42
|
export interface UpdatePromptRequest {
|
|
41
43
|
path: string;
|
|
42
44
|
updatePromptDto: UpdatePromptDto;
|
|
45
|
+
bucket?: string;
|
|
43
46
|
}
|
|
44
47
|
/**
|
|
45
48
|
*
|
|
@@ -78,11 +81,13 @@ export declare class PromptsApi extends runtime.BaseAPI {
|
|
|
78
81
|
*/
|
|
79
82
|
deletePromptFolder(requestParameters: DeletePromptFolderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
80
83
|
/**
|
|
81
|
-
*
|
|
84
|
+
* Reads a prompt from the caller\'s own bucket, or from the `bucket` given in the query — the owner bucket a shared prompt reports. DIAL Core authorises the read either way.
|
|
85
|
+
* Get a personal or shared prompt
|
|
82
86
|
*/
|
|
83
87
|
getPromptRaw(requestParameters: GetPromptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PromptResponseDto>>;
|
|
84
88
|
/**
|
|
85
|
-
*
|
|
89
|
+
* Reads a prompt from the caller\'s own bucket, or from the `bucket` given in the query — the owner bucket a shared prompt reports. DIAL Core authorises the read either way.
|
|
90
|
+
* Get a personal or shared prompt
|
|
86
91
|
*/
|
|
87
92
|
getPrompt(requestParameters: GetPromptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PromptResponseDto>;
|
|
88
93
|
/**
|
|
@@ -94,13 +99,13 @@ export declare class PromptsApi extends runtime.BaseAPI {
|
|
|
94
99
|
*/
|
|
95
100
|
getPublicPrompt(requestParameters: GetPublicPromptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PromptResponseDto>;
|
|
96
101
|
/**
|
|
97
|
-
* Returns all
|
|
98
|
-
* List personal prompts
|
|
102
|
+
* Returns all catalog-visible prompts in one response. Organisation prompts are always read-only.
|
|
103
|
+
* List personal, shared, and organisation prompts
|
|
99
104
|
*/
|
|
100
105
|
listPromptsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PromptListResponseDto>>;
|
|
101
106
|
/**
|
|
102
|
-
* Returns all
|
|
103
|
-
* List personal prompts
|
|
107
|
+
* Returns all catalog-visible prompts in one response. Organisation prompts are always read-only.
|
|
108
|
+
* List personal, shared, and organisation prompts
|
|
104
109
|
*/
|
|
105
110
|
listPrompts(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PromptListResponseDto>;
|
|
106
111
|
/**
|
|
@@ -112,11 +117,11 @@ export declare class PromptsApi extends runtime.BaseAPI {
|
|
|
112
117
|
*/
|
|
113
118
|
listPublicPrompts(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PublicPromptListResponseDto>;
|
|
114
119
|
/**
|
|
115
|
-
* Move a personal prompt to
|
|
120
|
+
* Move a personal or writable shared prompt to another folder
|
|
116
121
|
*/
|
|
117
122
|
movePromptRaw(requestParameters: MovePromptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PromptResponseDto>>;
|
|
118
123
|
/**
|
|
119
|
-
* Move a personal prompt to
|
|
124
|
+
* Move a personal or writable shared prompt to another folder
|
|
120
125
|
*/
|
|
121
126
|
movePrompt(requestParameters: MovePromptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PromptResponseDto>;
|
|
122
127
|
/**
|
|
@@ -128,11 +133,11 @@ export declare class PromptsApi extends runtime.BaseAPI {
|
|
|
128
133
|
*/
|
|
129
134
|
renamePromptFolder(requestParameters: RenamePromptFolderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PromptFolderResponseDto>;
|
|
130
135
|
/**
|
|
131
|
-
* Update a personal prompt
|
|
136
|
+
* Update a personal or writable shared prompt
|
|
132
137
|
*/
|
|
133
138
|
updatePromptRaw(requestParameters: UpdatePromptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PromptResponseDto>>;
|
|
134
139
|
/**
|
|
135
|
-
* Update a personal prompt
|
|
140
|
+
* Update a personal or writable shared prompt
|
|
136
141
|
*/
|
|
137
142
|
updatePrompt(requestParameters: UpdatePromptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PromptResponseDto>;
|
|
138
143
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PromptsApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/PromptsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,uBAAuB,EACvB,qBAAqB,EACrB,iBAAiB,EACjB,2BAA2B,EAC3B,qBAAqB,EACrB,eAAe,EAChB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,mBAAmB;IAClC,eAAe,EAAE,eAAe,CAAC;CAClC;AAED,MAAM,WAAW,yBAAyB;IACxC,qBAAqB,EAAE,qBAAqB,CAAC;CAC9C;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"PromptsApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/PromptsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,uBAAuB,EACvB,qBAAqB,EACrB,iBAAiB,EACjB,2BAA2B,EAC3B,qBAAqB,EACrB,eAAe,EAChB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,mBAAmB;IAClC,eAAe,EAAE,eAAe,CAAC;CAClC;AAED,MAAM,WAAW,yBAAyB;IACxC,qBAAqB,EAAE,qBAAqB,CAAC;CAC9C;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,aAAa,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,qBAAqB,EAAE,qBAAqB,CAAC;CAC9C;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAA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EG;IACG,iBAAiB,CACrB,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,2BAA2B,CAAC;IAKvC;;OAEG;IACG,aAAa,CACjB,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC;IA6ClD;;OAEG;IACG,UAAU,CACd,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,iBAAiB,CAAC;IAK7B;;OAEG;IACG,qBAAqB,CACzB,iBAAiB,EAAE,yBAAyB,EAC5C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC;IAyCxD;;OAEG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,yBAAyB,EAC5C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,uBAAuB,CAAC;IAQnC;;OAEG;IACG,eAAe,CACnB,iBAAiB,EAAE,mBAAmB,EACtC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC;IA6ClD;;OAEG;IACG,YAAY,CAChB,iBAAiB,EAAE,mBAAmB,EACtC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,iBAAiB,CAAC;CAO9B"}
|
|
@@ -129,7 +129,8 @@ class PromptsApi extends runtime.BaseAPI {
|
|
|
129
129
|
await this.deletePromptFolderRaw(requestParameters, initOverrides);
|
|
130
130
|
}
|
|
131
131
|
/**
|
|
132
|
-
*
|
|
132
|
+
* Reads a prompt from the caller\'s own bucket, or from the `bucket` given in the query — the owner bucket a shared prompt reports. DIAL Core authorises the read either way.
|
|
133
|
+
* Get a personal or shared prompt
|
|
133
134
|
*/
|
|
134
135
|
async getPromptRaw(requestParameters, initOverrides) {
|
|
135
136
|
if (requestParameters['path'] == null) {
|
|
@@ -139,6 +140,9 @@ class PromptsApi extends runtime.BaseAPI {
|
|
|
139
140
|
if (requestParameters['path'] != null) {
|
|
140
141
|
queryParameters['path'] = requestParameters['path'];
|
|
141
142
|
}
|
|
143
|
+
if (requestParameters['bucket'] != null) {
|
|
144
|
+
queryParameters['bucket'] = requestParameters['bucket'];
|
|
145
|
+
}
|
|
142
146
|
const headerParameters = {};
|
|
143
147
|
let urlPath = `/api/v1/prompts/item`;
|
|
144
148
|
const response = await this.request({
|
|
@@ -150,7 +154,8 @@ class PromptsApi extends runtime.BaseAPI {
|
|
|
150
154
|
return new runtime.JSONApiResponse(response);
|
|
151
155
|
}
|
|
152
156
|
/**
|
|
153
|
-
*
|
|
157
|
+
* Reads a prompt from the caller\'s own bucket, or from the `bucket` given in the query — the owner bucket a shared prompt reports. DIAL Core authorises the read either way.
|
|
158
|
+
* Get a personal or shared prompt
|
|
154
159
|
*/
|
|
155
160
|
async getPrompt(requestParameters, initOverrides) {
|
|
156
161
|
const response = await this.getPromptRaw(requestParameters, initOverrides);
|
|
@@ -185,8 +190,8 @@ class PromptsApi extends runtime.BaseAPI {
|
|
|
185
190
|
return await response.value();
|
|
186
191
|
}
|
|
187
192
|
/**
|
|
188
|
-
* Returns all
|
|
189
|
-
* List personal prompts
|
|
193
|
+
* Returns all catalog-visible prompts in one response. Organisation prompts are always read-only.
|
|
194
|
+
* List personal, shared, and organisation prompts
|
|
190
195
|
*/
|
|
191
196
|
async listPromptsRaw(initOverrides) {
|
|
192
197
|
const queryParameters = {};
|
|
@@ -201,8 +206,8 @@ class PromptsApi extends runtime.BaseAPI {
|
|
|
201
206
|
return new runtime.JSONApiResponse(response);
|
|
202
207
|
}
|
|
203
208
|
/**
|
|
204
|
-
* Returns all
|
|
205
|
-
* List personal prompts
|
|
209
|
+
* Returns all catalog-visible prompts in one response. Organisation prompts are always read-only.
|
|
210
|
+
* List personal, shared, and organisation prompts
|
|
206
211
|
*/
|
|
207
212
|
async listPrompts(initOverrides) {
|
|
208
213
|
const response = await this.listPromptsRaw(initOverrides);
|
|
@@ -231,7 +236,7 @@ class PromptsApi extends runtime.BaseAPI {
|
|
|
231
236
|
return await response.value();
|
|
232
237
|
}
|
|
233
238
|
/**
|
|
234
|
-
* Move a personal prompt to
|
|
239
|
+
* Move a personal or writable shared prompt to another folder
|
|
235
240
|
*/
|
|
236
241
|
async movePromptRaw(requestParameters, initOverrides) {
|
|
237
242
|
if (requestParameters['path'] == null) {
|
|
@@ -244,6 +249,9 @@ class PromptsApi extends runtime.BaseAPI {
|
|
|
244
249
|
if (requestParameters['path'] != null) {
|
|
245
250
|
queryParameters['path'] = requestParameters['path'];
|
|
246
251
|
}
|
|
252
|
+
if (requestParameters['bucket'] != null) {
|
|
253
|
+
queryParameters['bucket'] = requestParameters['bucket'];
|
|
254
|
+
}
|
|
247
255
|
const headerParameters = {};
|
|
248
256
|
headerParameters['Content-Type'] = 'application/json';
|
|
249
257
|
let urlPath = `/api/v1/prompts/move`;
|
|
@@ -257,7 +265,7 @@ class PromptsApi extends runtime.BaseAPI {
|
|
|
257
265
|
return new runtime.JSONApiResponse(response);
|
|
258
266
|
}
|
|
259
267
|
/**
|
|
260
|
-
* Move a personal prompt to
|
|
268
|
+
* Move a personal or writable shared prompt to another folder
|
|
261
269
|
*/
|
|
262
270
|
async movePrompt(requestParameters, initOverrides) {
|
|
263
271
|
const response = await this.movePromptRaw(requestParameters, initOverrides);
|
|
@@ -297,7 +305,7 @@ class PromptsApi extends runtime.BaseAPI {
|
|
|
297
305
|
return await response.value();
|
|
298
306
|
}
|
|
299
307
|
/**
|
|
300
|
-
* Update a personal prompt
|
|
308
|
+
* Update a personal or writable shared prompt
|
|
301
309
|
*/
|
|
302
310
|
async updatePromptRaw(requestParameters, initOverrides) {
|
|
303
311
|
if (requestParameters['path'] == null) {
|
|
@@ -310,6 +318,9 @@ class PromptsApi extends runtime.BaseAPI {
|
|
|
310
318
|
if (requestParameters['path'] != null) {
|
|
311
319
|
queryParameters['path'] = requestParameters['path'];
|
|
312
320
|
}
|
|
321
|
+
if (requestParameters['bucket'] != null) {
|
|
322
|
+
queryParameters['bucket'] = requestParameters['bucket'];
|
|
323
|
+
}
|
|
313
324
|
const headerParameters = {};
|
|
314
325
|
headerParameters['Content-Type'] = 'application/json';
|
|
315
326
|
let urlPath = `/api/v1/prompts`;
|
|
@@ -323,7 +334,7 @@ class PromptsApi extends runtime.BaseAPI {
|
|
|
323
334
|
return new runtime.JSONApiResponse(response);
|
|
324
335
|
}
|
|
325
336
|
/**
|
|
326
|
-
* Update a personal prompt
|
|
337
|
+
* Update a personal or writable shared prompt
|
|
327
338
|
*/
|
|
328
339
|
async updatePrompt(requestParameters, initOverrides) {
|
|
329
340
|
const response = await this.updatePromptRaw(requestParameters, initOverrides);
|
|
@@ -48,12 +48,12 @@ export declare class PublishApi extends runtime.BaseAPI {
|
|
|
48
48
|
*/
|
|
49
49
|
getPublishRules(requestParameters: GetPublishRulesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PublishRulesResultDto>;
|
|
50
50
|
/**
|
|
51
|
-
* Publishes a catalog entity (Toolset or
|
|
51
|
+
* Publishes a catalog entity (Toolset, Application, Prompt, or Skill) to a folder under the Organization/public bucket by proxying DIAL Core\'s Publication API (`createPublication`). This endpoint keeps no publish records of its own — DIAL Core is the sole source of truth.
|
|
52
52
|
* Publish a catalog entity to an Organization folder
|
|
53
53
|
*/
|
|
54
54
|
publishCatalogEntityRaw(requestParameters: PublishCatalogEntityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PublishResultDto>>;
|
|
55
55
|
/**
|
|
56
|
-
* Publishes a catalog entity (Toolset or
|
|
56
|
+
* Publishes a catalog entity (Toolset, Application, Prompt, or Skill) to a folder under the Organization/public bucket by proxying DIAL Core\'s Publication API (`createPublication`). This endpoint keeps no publish records of its own — DIAL Core is the sole source of truth.
|
|
57
57
|
* Publish a catalog entity to an Organization folder
|
|
58
58
|
*/
|
|
59
59
|
publishCatalogEntity(requestParameters: PublishCatalogEntityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PublishResultDto>;
|
|
@@ -65,6 +65,8 @@ export declare const GetCatalogPublishHistoryEntityTypeEnum: {
|
|
|
65
65
|
readonly Model: "model";
|
|
66
66
|
readonly Toolset: "toolset";
|
|
67
67
|
readonly Application: "application";
|
|
68
|
+
readonly Prompt: "prompt";
|
|
69
|
+
readonly Skill: "skill";
|
|
68
70
|
};
|
|
69
71
|
export type GetCatalogPublishHistoryEntityTypeEnum = (typeof GetCatalogPublishHistoryEntityTypeEnum)[keyof typeof GetCatalogPublishHistoryEntityTypeEnum];
|
|
70
72
|
/**
|
|
@@ -74,6 +76,8 @@ export declare const PublishCatalogEntityEntityTypeEnum: {
|
|
|
74
76
|
readonly Model: "model";
|
|
75
77
|
readonly Toolset: "toolset";
|
|
76
78
|
readonly Application: "application";
|
|
79
|
+
readonly Prompt: "prompt";
|
|
80
|
+
readonly Skill: "skill";
|
|
77
81
|
};
|
|
78
82
|
export type PublishCatalogEntityEntityTypeEnum = (typeof PublishCatalogEntityEntityTypeEnum)[keyof typeof PublishCatalogEntityEntityTypeEnum];
|
|
79
83
|
//# sourceMappingURL=PublishApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublishApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/PublishApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,uBAAuB,EACvB,sBAAsB,EACtB,gBAAgB,EAChB,qBAAqB,EACtB,MAAM,iB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C,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,qBAAqB,CAAC,CAAC;IA+BtD;;;OAGG;IACG,eAAe,CACnB,iBAAiB,EAAE,sBAAsB,EACzC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,qBAAqB,CAAC;IAQjC;;;OAGG;IACG,uBAAuB,CAC3B,iBAAiB,EAAE,2BAA2B,EAC9C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAoDjD;;;OAGG;IACG,oBAAoB,CACxB,iBAAiB,EAAE,2BAA2B,EAC9C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,gBAAgB,CAAC;CAO7B;AAED;;GAEG;AACH,eAAO,MAAM,sCAAsC;;;;;;CAMzC,CAAC;AACX,MAAM,MAAM,sCAAsC,GAChD,CAAC,OAAO,sCAAsC,CAAC,CAAC,MAAM,OAAO,sCAAsC,CAAC,CAAC;AACvG;;GAEG;AACH,eAAO,MAAM,kCAAkC;;;;;;CAMrC,CAAC;AACX,MAAM,MAAM,kCAAkC,GAC5C,CAAC,OAAO,kCAAkC,CAAC,CAAC,MAAM,OAAO,kCAAkC,CAAC,CAAC"}
|
|
@@ -83,7 +83,7 @@ class PublishApi extends runtime.BaseAPI {
|
|
|
83
83
|
return await response.value();
|
|
84
84
|
}
|
|
85
85
|
/**
|
|
86
|
-
* Publishes a catalog entity (Toolset or
|
|
86
|
+
* Publishes a catalog entity (Toolset, Application, Prompt, or Skill) to a folder under the Organization/public bucket by proxying DIAL Core\'s Publication API (`createPublication`). This endpoint keeps no publish records of its own — DIAL Core is the sole source of truth.
|
|
87
87
|
* Publish a catalog entity to an Organization folder
|
|
88
88
|
*/
|
|
89
89
|
async publishCatalogEntityRaw(requestParameters, initOverrides) {
|
|
@@ -112,7 +112,7 @@ class PublishApi extends runtime.BaseAPI {
|
|
|
112
112
|
return new runtime.JSONApiResponse(response);
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
|
-
* Publishes a catalog entity (Toolset or
|
|
115
|
+
* Publishes a catalog entity (Toolset, Application, Prompt, or Skill) to a folder under the Organization/public bucket by proxying DIAL Core\'s Publication API (`createPublication`). This endpoint keeps no publish records of its own — DIAL Core is the sole source of truth.
|
|
116
116
|
* Publish a catalog entity to an Organization folder
|
|
117
117
|
*/
|
|
118
118
|
async publishCatalogEntity(requestParameters, initOverrides) {
|
|
@@ -128,6 +128,8 @@ exports.GetCatalogPublishHistoryEntityTypeEnum = {
|
|
|
128
128
|
Model: 'model',
|
|
129
129
|
Toolset: 'toolset',
|
|
130
130
|
Application: 'application',
|
|
131
|
+
Prompt: 'prompt',
|
|
132
|
+
Skill: 'skill',
|
|
131
133
|
};
|
|
132
134
|
/**
|
|
133
135
|
* @export
|
|
@@ -136,4 +138,6 @@ exports.PublishCatalogEntityEntityTypeEnum = {
|
|
|
136
138
|
Model: 'model',
|
|
137
139
|
Toolset: 'toolset',
|
|
138
140
|
Application: 'application',
|
|
141
|
+
Prompt: 'prompt',
|
|
142
|
+
Skill: 'skill',
|
|
139
143
|
};
|
|
@@ -14,6 +14,9 @@ import type { CreateScheduledTaskBodyDto, CreatedScheduledTaskDto, ListScheduled
|
|
|
14
14
|
export interface CreateScheduledTaskRequest {
|
|
15
15
|
createScheduledTaskBodyDto: CreateScheduledTaskBodyDto;
|
|
16
16
|
}
|
|
17
|
+
export interface DeleteScheduledTaskRequest {
|
|
18
|
+
scheduleId: string;
|
|
19
|
+
}
|
|
17
20
|
export interface GetScheduledTaskRequest {
|
|
18
21
|
scheduleId: string;
|
|
19
22
|
}
|
|
@@ -52,6 +55,16 @@ export declare class ScheduledTasksApi extends runtime.BaseAPI {
|
|
|
52
55
|
* Create a scheduled task
|
|
53
56
|
*/
|
|
54
57
|
createScheduledTask(requestParameters: CreateScheduledTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreatedScheduledTaskDto>;
|
|
58
|
+
/**
|
|
59
|
+
* Deletes a DIAL Scheduler schedule for the authenticated session user. DIAL Scheduler alone decides whether the schedule is hard-deleted (no run history) or soft-deleted (is_deleted: true, run history preserved) — the BFF never predicts or requests a specific outcome. Invalidates the scheduled tasks list cache on success.
|
|
60
|
+
* Delete a scheduled task
|
|
61
|
+
*/
|
|
62
|
+
deleteScheduledTaskRaw(requestParameters: DeleteScheduledTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
63
|
+
/**
|
|
64
|
+
* Deletes a DIAL Scheduler schedule for the authenticated session user. DIAL Scheduler alone decides whether the schedule is hard-deleted (no run history) or soft-deleted (is_deleted: true, run history preserved) — the BFF never predicts or requests a specific outcome. Invalidates the scheduled tasks list cache on success.
|
|
65
|
+
* Delete a scheduled task
|
|
66
|
+
*/
|
|
67
|
+
deleteScheduledTask(requestParameters: DeleteScheduledTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
55
68
|
/**
|
|
56
69
|
* Returns a single DIAL Scheduler schedule by id, proxying DIAL Scheduler using the session user\'s access token. Not cached.
|
|
57
70
|
* Get a scheduled task by id
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTasksApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/ScheduledTasksApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,0BAA0B,EAC1B,uBAAuB,EACvB,gCAAgC,EAChC,6BAA6B,EAC7B,gBAAgB,EAChB,0BAA0B,EAC1B,uBAAuB,EACxB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,0BAA0B;IACzC,0BAA0B,EAAE,0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,OAAO,CAAC,gBAAgB,CAAC;IAQ5B;;;OAGG;IACG,sBAAsB,CAC1B,iBAAiB,EAAE,0BAA0B,EAC7C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;IA+BjD;;;OAGG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,0BAA0B,EAC7C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,gBAAgB,CAAC;IAQ5B;;;OAGG;IACG,sBAAsB,CAC1B,iBAAiB,EAAE,0BAA0B,EAC7C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC;IAyCxD;;;OAGG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,0BAA0B,EAC7C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,uBAAuB,CAAC;CAOpC;AAED;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;CAK7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GACpC,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -49,6 +49,33 @@ class ScheduledTasksApi extends runtime.BaseAPI {
|
|
|
49
49
|
const response = await this.createScheduledTaskRaw(requestParameters, initOverrides);
|
|
50
50
|
return await response.value();
|
|
51
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* Deletes a DIAL Scheduler schedule for the authenticated session user. DIAL Scheduler alone decides whether the schedule is hard-deleted (no run history) or soft-deleted (is_deleted: true, run history preserved) — the BFF never predicts or requests a specific outcome. Invalidates the scheduled tasks list cache on success.
|
|
54
|
+
* Delete a scheduled task
|
|
55
|
+
*/
|
|
56
|
+
async deleteScheduledTaskRaw(requestParameters, initOverrides) {
|
|
57
|
+
if (requestParameters['scheduleId'] == null) {
|
|
58
|
+
throw new runtime.RequiredError('scheduleId', 'Required parameter "scheduleId" was null or undefined when calling deleteScheduledTask().');
|
|
59
|
+
}
|
|
60
|
+
const queryParameters = {};
|
|
61
|
+
const headerParameters = {};
|
|
62
|
+
let urlPath = `/api/v1/scheduled-tasks/{scheduleId}`;
|
|
63
|
+
urlPath = urlPath.replace(`{${'scheduleId'}}`, encodeURIComponent(String(requestParameters['scheduleId'])));
|
|
64
|
+
const response = await this.request({
|
|
65
|
+
path: urlPath,
|
|
66
|
+
method: 'DELETE',
|
|
67
|
+
headers: headerParameters,
|
|
68
|
+
query: queryParameters,
|
|
69
|
+
}, initOverrides);
|
|
70
|
+
return new runtime.VoidApiResponse(response);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Deletes a DIAL Scheduler schedule for the authenticated session user. DIAL Scheduler alone decides whether the schedule is hard-deleted (no run history) or soft-deleted (is_deleted: true, run history preserved) — the BFF never predicts or requests a specific outcome. Invalidates the scheduled tasks list cache on success.
|
|
74
|
+
* Delete a scheduled task
|
|
75
|
+
*/
|
|
76
|
+
async deleteScheduledTask(requestParameters, initOverrides) {
|
|
77
|
+
await this.deleteScheduledTaskRaw(requestParameters, initOverrides);
|
|
78
|
+
}
|
|
52
79
|
/**
|
|
53
80
|
* Returns a single DIAL Scheduler schedule by id, proxying DIAL Scheduler using the session user\'s access token. Not cached.
|
|
54
81
|
* Get a scheduled task by id
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AcceptInvitationResponseDto, CreateShareLinkDto, DiscardSharedCatalogItemDto, DiscardSharedCatalogItemResponseDto, RevokeSharedAccessDto, RevokeSharedAccessResponseDto, ShareLinkResponseDto } from '../models/index';
|
|
13
|
+
import type { AcceptInvitationResponseDto, CreateShareLinkDto, DiscardSharedCatalogItemDto, DiscardSharedCatalogItemResponseDto, RevokeSharedAccessDto, RevokeSharedAccessResponseDto, ShareLinkResponseDto, ShareRecipientsResponseDto } from '../models/index';
|
|
14
14
|
export interface AcceptInvitationRequest {
|
|
15
15
|
invitationId: string;
|
|
16
16
|
}
|
|
@@ -20,6 +20,9 @@ export interface CreateShareLinkRequest {
|
|
|
20
20
|
export interface DiscardSharedCatalogItemRequest {
|
|
21
21
|
discardSharedCatalogItemDto: DiscardSharedCatalogItemDto;
|
|
22
22
|
}
|
|
23
|
+
export interface GetShareRecipientsCountRequest {
|
|
24
|
+
itemId: string;
|
|
25
|
+
}
|
|
23
26
|
export interface RevokeSharedAccessRequest {
|
|
24
27
|
revokeSharedAccessDto: RevokeSharedAccessDto;
|
|
25
28
|
}
|
|
@@ -48,22 +51,32 @@ export declare class ShareApi extends runtime.BaseAPI {
|
|
|
48
51
|
*/
|
|
49
52
|
createShareLink(requestParameters: CreateShareLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ShareLinkResponseDto>;
|
|
50
53
|
/**
|
|
51
|
-
* Discards the authenticated user\'s own access to a shared catalog entity (application or toolset) or conversation, via DIAL Core\'s discardSharedResources operation. Only affects the caller\'s own access — removing access for everyone else is a separate operation.
|
|
54
|
+
* Discards the authenticated user\'s own access to a shared catalog entity (application or toolset), a skill, or a conversation, via DIAL Core\'s discardSharedResources operation. Only affects the caller\'s own access — removing access for everyone else is a separate operation.
|
|
52
55
|
* Discard a shared catalog resource or conversation
|
|
53
56
|
*/
|
|
54
57
|
discardSharedCatalogItemRaw(requestParameters: DiscardSharedCatalogItemRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DiscardSharedCatalogItemResponseDto>>;
|
|
55
58
|
/**
|
|
56
|
-
* Discards the authenticated user\'s own access to a shared catalog entity (application or toolset) or conversation, via DIAL Core\'s discardSharedResources operation. Only affects the caller\'s own access — removing access for everyone else is a separate operation.
|
|
59
|
+
* Discards the authenticated user\'s own access to a shared catalog entity (application or toolset), a skill, or a conversation, via DIAL Core\'s discardSharedResources operation. Only affects the caller\'s own access — removing access for everyone else is a separate operation.
|
|
57
60
|
* Discard a shared catalog resource or conversation
|
|
58
61
|
*/
|
|
59
62
|
discardSharedCatalogItem(requestParameters: DiscardSharedCatalogItemRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DiscardSharedCatalogItemResponseDto>;
|
|
60
63
|
/**
|
|
61
|
-
*
|
|
64
|
+
* Returns how many users currently hold shared access to a catalog entity (application or toolset), a skill, or a conversation the caller owns, via DIAL Core\'s getSharedResources operation. Intended to be called when an owner opens the menu offering \"Revoke access\", so the count is never stale. Counts accepted invitations only — an issued but unopened share link is not counted.
|
|
65
|
+
* Count current recipients of an owned resource
|
|
66
|
+
*/
|
|
67
|
+
getShareRecipientsCountRaw(requestParameters: GetShareRecipientsCountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ShareRecipientsResponseDto>>;
|
|
68
|
+
/**
|
|
69
|
+
* Returns how many users currently hold shared access to a catalog entity (application or toolset), a skill, or a conversation the caller owns, via DIAL Core\'s getSharedResources operation. Intended to be called when an owner opens the menu offering \"Revoke access\", so the count is never stale. Counts accepted invitations only — an issued but unopened share link is not counted.
|
|
70
|
+
* Count current recipients of an owned resource
|
|
71
|
+
*/
|
|
72
|
+
getShareRecipientsCount(requestParameters: GetShareRecipientsCountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ShareRecipientsResponseDto>;
|
|
73
|
+
/**
|
|
74
|
+
* Revokes every outstanding share grant on a catalog entity (application or toolset), a skill, or a conversation the caller owns, via DIAL Core\'s revokeSharedResources operation. Affects all recipients at once — DIAL Core cannot target a single recipient. Discarding only the caller\'s own access to a resource shared with them is a separate operation.
|
|
62
75
|
* Revoke all shared access to an owned resource
|
|
63
76
|
*/
|
|
64
77
|
revokeSharedAccessRaw(requestParameters: RevokeSharedAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RevokeSharedAccessResponseDto>>;
|
|
65
78
|
/**
|
|
66
|
-
* Revokes every outstanding share grant on a catalog entity (application or toolset) or conversation the caller owns, via DIAL Core\'s revokeSharedResources operation. Affects all recipients at once — DIAL Core cannot target a single recipient. Discarding only the caller\'s own access to a resource shared with them is a separate operation.
|
|
79
|
+
* Revokes every outstanding share grant on a catalog entity (application or toolset), a skill, or a conversation the caller owns, via DIAL Core\'s revokeSharedResources operation. Affects all recipients at once — DIAL Core cannot target a single recipient. Discarding only the caller\'s own access to a resource shared with them is a separate operation.
|
|
67
80
|
* Revoke all shared access to an owned resource
|
|
68
81
|
*/
|
|
69
82
|
revokeSharedAccess(requestParameters: RevokeSharedAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RevokeSharedAccessResponseDto>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShareApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/ShareApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,2BAA2B,EAC3B,kBAAkB,EAClB,2BAA2B,EAC3B,mCAAmC,EACnC,qBAAqB,EACrB,6BAA6B,EAC7B,oBAAoB,
|
|
1
|
+
{"version":3,"file":"ShareApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/ShareApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,2BAA2B,EAC3B,kBAAkB,EAClB,2BAA2B,EAC3B,mCAAmC,EACnC,qBAAqB,EACrB,6BAA6B,EAC7B,oBAAoB,EACpB,0BAA0B,EAC3B,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAA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