@epam/ai-dial-chat-api-client 1.3.0-dev.34 → 1.3.0-dev.343
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/ApplicationsApi.d.ts +58 -3
- package/generated/src/apis/ApplicationsApi.d.ts.map +1 -1
- package/generated/src/apis/ApplicationsApi.js +156 -2
- package/generated/src/apis/AuthApi.d.ts +10 -0
- package/generated/src/apis/AuthApi.d.ts.map +1 -1
- package/generated/src/apis/AuthApi.js +24 -0
- package/generated/src/apis/CelebrationsApi.d.ts +60 -0
- package/generated/src/apis/CelebrationsApi.d.ts.map +1 -0
- package/generated/src/apis/CelebrationsApi.js +107 -0
- package/generated/src/apis/ConversationsApi.d.ts +34 -7
- package/generated/src/apis/ConversationsApi.d.ts.map +1 -1
- package/generated/src/apis/ConversationsApi.js +86 -6
- package/generated/src/apis/CustomApiApi.d.ts +49 -4
- package/generated/src/apis/CustomApiApi.d.ts.map +1 -1
- package/generated/src/apis/CustomApiApi.js +113 -4
- package/generated/src/apis/DeploymentsApi.d.ts +13 -0
- package/generated/src/apis/DeploymentsApi.d.ts.map +1 -1
- package/generated/src/apis/DeploymentsApi.js +35 -0
- package/generated/src/apis/ExternalServicesApi.d.ts +30 -1
- package/generated/src/apis/ExternalServicesApi.d.ts.map +1 -1
- package/generated/src/apis/ExternalServicesApi.js +82 -0
- package/generated/src/apis/FilesApi.d.ts +25 -0
- package/generated/src/apis/FilesApi.d.ts.map +1 -1
- package/generated/src/apis/FilesApi.js +62 -1
- package/generated/src/apis/OfflineCredentialsApi.d.ts +10 -0
- package/generated/src/apis/OfflineCredentialsApi.d.ts.map +1 -1
- package/generated/src/apis/OfflineCredentialsApi.js +31 -0
- package/generated/src/apis/ProjectsApi.d.ts +309 -0
- package/generated/src/apis/ProjectsApi.d.ts.map +1 -0
- package/generated/src/apis/ProjectsApi.js +906 -0
- package/generated/src/apis/PublishApi.d.ts +30 -1
- package/generated/src/apis/PublishApi.d.ts.map +1 -1
- package/generated/src/apis/PublishApi.js +54 -1
- package/generated/src/apis/ShareApi.d.ts +13 -0
- package/generated/src/apis/ShareApi.d.ts.map +1 -1
- package/generated/src/apis/ShareApi.js +34 -0
- package/generated/src/apis/SkillsApi.d.ts +14 -1
- package/generated/src/apis/SkillsApi.d.ts.map +1 -1
- package/generated/src/apis/SkillsApi.js +36 -0
- package/generated/src/apis/ToolsetsApi.d.ts +29 -2
- package/generated/src/apis/ToolsetsApi.d.ts.map +1 -1
- package/generated/src/apis/ToolsetsApi.js +77 -3
- package/generated/src/apis/index.d.ts +2 -0
- package/generated/src/apis/index.d.ts.map +1 -1
- package/generated/src/apis/index.js +2 -0
- package/generated/src/models/index.d.ts +4583 -2622
- package/generated/src/models/index.d.ts.map +1 -1
- package/generated/src/models/index.js +225 -3
- package/package.json +2 -2
- package/tsconfig.lib.tsbuildinfo +1 -1
|
@@ -10,16 +10,31 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ApplicationSchemasResponseDto, ApplicationsResponseDto, CreateApplicationBodyDto, CreatedApplicationDto, UpdateApplicationBodyDto, UpdatedApplicationDto } from '../models/index';
|
|
13
|
+
import type { ApplicationSchemasResponseDto, ApplicationsResponseDto, CommitApplicationVersionDto, CreateApplicationBodyDto, CreatedApplicationDto, ForkApplicationVersionDto, MoveResourceDto, ResourceFoldersResponseDto, ResourceIdResponseDto, UpdateApplicationBodyDto, UpdatedApplicationDto } from '../models/index';
|
|
14
|
+
export interface CommitApplicationVersionRequest {
|
|
15
|
+
applicationName: string;
|
|
16
|
+
commitApplicationVersionDto: CommitApplicationVersionDto;
|
|
17
|
+
}
|
|
14
18
|
export interface CreateApplicationRequest {
|
|
15
19
|
createApplicationBodyDto: CreateApplicationBodyDto;
|
|
16
20
|
}
|
|
17
21
|
export interface DeleteApplicationRequest {
|
|
18
22
|
applicationName: string;
|
|
19
23
|
}
|
|
24
|
+
export interface ForkApplicationVersionRequest {
|
|
25
|
+
applicationName: string;
|
|
26
|
+
forkApplicationVersionDto: ForkApplicationVersionDto;
|
|
27
|
+
}
|
|
20
28
|
export interface GetApplicationSchemaRequest {
|
|
21
29
|
id: string;
|
|
22
30
|
}
|
|
31
|
+
export interface ListApplicationFoldersRequest {
|
|
32
|
+
path?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface MoveApplicationRequest {
|
|
35
|
+
applicationName: string;
|
|
36
|
+
moveResourceDto: MoveResourceDto;
|
|
37
|
+
}
|
|
23
38
|
export interface UpdateApplicationRequest {
|
|
24
39
|
applicationName: string;
|
|
25
40
|
updateApplicationBodyDto: UpdateApplicationBodyDto;
|
|
@@ -29,12 +44,22 @@ export interface UpdateApplicationRequest {
|
|
|
29
44
|
*/
|
|
30
45
|
export declare class ApplicationsApi extends runtime.BaseAPI {
|
|
31
46
|
/**
|
|
32
|
-
*
|
|
47
|
+
* Swaps the bodies of the source application and its forked snapshot, each keeping its own version: the source gets back its pre-edit body and the snapshot gets the edits. Both writes are conditional on the ETags read in the same request.
|
|
48
|
+
* Commit a forked application version
|
|
49
|
+
*/
|
|
50
|
+
commitApplicationVersionRaw(requestParameters: CommitApplicationVersionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ResourceIdResponseDto>>;
|
|
51
|
+
/**
|
|
52
|
+
* Swaps the bodies of the source application and its forked snapshot, each keeping its own version: the source gets back its pre-edit body and the snapshot gets the edits. Both writes are conditional on the ETags read in the same request.
|
|
53
|
+
* Commit a forked application version
|
|
54
|
+
*/
|
|
55
|
+
commitApplicationVersion(requestParameters: CommitApplicationVersionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ResourceIdResponseDto>;
|
|
56
|
+
/**
|
|
57
|
+
* Creates a new application for the authenticated session user by proxying DIAL Core. With createOnly, never overwrites an existing application and creates at the next free path instead (409 when none is free). With preserveApplicationProperties, stores schema settings verbatim. Invalidates the applications list and deployments list caches on success.
|
|
33
58
|
* Create a new application
|
|
34
59
|
*/
|
|
35
60
|
createApplicationRaw(requestParameters: CreateApplicationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreatedApplicationDto>>;
|
|
36
61
|
/**
|
|
37
|
-
* Creates a new application for the authenticated session user by proxying DIAL Core. With createOnly,
|
|
62
|
+
* Creates a new application for the authenticated session user by proxying DIAL Core. With createOnly, never overwrites an existing application and creates at the next free path instead (409 when none is free). With preserveApplicationProperties, stores schema settings verbatim. Invalidates the applications list and deployments list caches on success.
|
|
38
63
|
* Create a new application
|
|
39
64
|
*/
|
|
40
65
|
createApplication(requestParameters: CreateApplicationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreatedApplicationDto>;
|
|
@@ -48,6 +73,16 @@ export declare class ApplicationsApi extends runtime.BaseAPI {
|
|
|
48
73
|
* Delete an application
|
|
49
74
|
*/
|
|
50
75
|
deleteApplication(requestParameters: DeleteApplicationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
76
|
+
/**
|
|
77
|
+
* Copies the stored application to `{folderPath}/{name}__{version}` and stamps the copy with `version`, never overwriting. Used with commitApplicationVersion so edits saved to the source end up in the new version only.
|
|
78
|
+
* Fork an application into a new version
|
|
79
|
+
*/
|
|
80
|
+
forkApplicationVersionRaw(requestParameters: ForkApplicationVersionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ResourceIdResponseDto>>;
|
|
81
|
+
/**
|
|
82
|
+
* Copies the stored application to `{folderPath}/{name}__{version}` and stamps the copy with `version`, never overwriting. Used with commitApplicationVersion so edits saved to the source end up in the new version only.
|
|
83
|
+
* Fork an application into a new version
|
|
84
|
+
*/
|
|
85
|
+
forkApplicationVersion(requestParameters: ForkApplicationVersionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ResourceIdResponseDto>;
|
|
51
86
|
/**
|
|
52
87
|
* Returns one DIAL Core application type schema by its $id. Results are cached server-side for 60 seconds per user per schema.
|
|
53
88
|
* Get application type schema by id
|
|
@@ -62,6 +97,16 @@ export declare class ApplicationsApi extends runtime.BaseAPI {
|
|
|
62
97
|
getApplicationSchema(requestParameters: GetApplicationSchemaRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
|
|
63
98
|
[key: string]: unknown;
|
|
64
99
|
}>;
|
|
100
|
+
/**
|
|
101
|
+
* Lists the folders directly under `path` in the caller\'s own applications bucket. A folder that does not exist yet lists as empty. Not cached.
|
|
102
|
+
* List the caller\'s application folders
|
|
103
|
+
*/
|
|
104
|
+
listApplicationFoldersRaw(requestParameters: ListApplicationFoldersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ResourceFoldersResponseDto>>;
|
|
105
|
+
/**
|
|
106
|
+
* Lists the folders directly under `path` in the caller\'s own applications bucket. A folder that does not exist yet lists as empty. Not cached.
|
|
107
|
+
* List the caller\'s application folders
|
|
108
|
+
*/
|
|
109
|
+
listApplicationFolders(requestParameters?: ListApplicationFoldersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ResourceFoldersResponseDto>;
|
|
65
110
|
/**
|
|
66
111
|
* Returns DIAL Core application type schemas visible to the authenticated user. Results are cached server-side for 60 seconds per user.
|
|
67
112
|
* List application type schemas
|
|
@@ -82,6 +127,16 @@ export declare class ApplicationsApi extends runtime.BaseAPI {
|
|
|
82
127
|
* List available applications
|
|
83
128
|
*/
|
|
84
129
|
listApplications(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationsResponseDto>;
|
|
130
|
+
/**
|
|
131
|
+
* Moves an application in the caller\'s own bucket into `folderPath`, never overwriting an existing application. Invalidates the applications, deployments and details caches on success.
|
|
132
|
+
* Move an application to one of the caller\'s folders
|
|
133
|
+
*/
|
|
134
|
+
moveApplicationRaw(requestParameters: MoveApplicationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ResourceIdResponseDto>>;
|
|
135
|
+
/**
|
|
136
|
+
* Moves an application in the caller\'s own bucket into `folderPath`, never overwriting an existing application. Invalidates the applications, deployments and details caches on success.
|
|
137
|
+
* Move an application to one of the caller\'s folders
|
|
138
|
+
*/
|
|
139
|
+
moveApplication(requestParameters: MoveApplicationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ResourceIdResponseDto>;
|
|
85
140
|
/**
|
|
86
141
|
* Updates the General-step fields (name, description, iconUrl, topics) of an existing application for the authenticated session user, by proxying DIAL Core. Settings-step configuration (application_properties) is preserved untouched unless the request supplies applicationProperties, in which case it fully replaces the stored value. Invalidates the applications and deployments list caches on success.
|
|
87
142
|
* Update an application
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationsApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/ApplicationsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,6BAA6B,EAC7B,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,wBAAwB,EACxB,qBAAqB,EACtB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,wBAAwB;IACvC,wBAAwB,EAAE,wBAAwB,CAAC;CACpD;AAED,MAAM,WAAW,wBAAwB;IACvC,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,wBAAwB;IACvC,eAAe,EAAE,MAAM,CAAC;IACxB,wBAAwB,EAAE,wBAAwB,CAAC;CACpD;AAED;;GAEG;AACH,qBAAa,eAAgB,SAAQ,OAAO,CAAC,OAAO;IAClD;;;OAGG;IACG,oBAAoB,CACxB,iBAAiB,EAAE,wBAAwB,EAC3C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,o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AKzC;;;OAGG;IACG,mBAAmB,CACvB,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC;IA6BxD;;;OAGG;IACG,gBAAgB,CACpB,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,uBAAuB,CAAC;IAKnC;;;OAGG;IACG,oBAAoB,CACxB,iBAAiB,EAAE,wBAAwB,EAC3C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,qBAAqB,CAAC,CAAC;IAkDtD;;;OAGG;IACG,iBAAiB,CACrB,iBAAiB,EAAE,wBAAwB,EAC3C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,qBAAqB,CAAC;CAOlC"}
|
|
1
|
+
{"version":3,"file":"ApplicationsApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/ApplicationsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,6BAA6B,EAC7B,uBAAuB,EACvB,2BAA2B,EAC3B,wBAAwB,EACxB,qBAAqB,EACrB,yBAAyB,EACzB,eAAe,EACf,0BAA0B,EAC1B,qBAAqB,EACrB,wBAAwB,EACxB,qBAAqB,EACtB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,+BAA+B;IAC9C,eAAe,EAAE,MAAM,CAAC;IACxB,2BAA2B,EAAE,2BAA2B,CAAC;CAC1D;AAED,MAAM,WAAW,wBAAwB;IACvC,wBAAwB,EAAE,wBAAwB,CAAC;CACpD;AAED,MAAM,WAAW,wBAAwB;IACvC,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,6BAA6B;IAC5C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20,7 +20,47 @@ const runtime = require("../runtime");
|
|
|
20
20
|
*/
|
|
21
21
|
class ApplicationsApi extends runtime.BaseAPI {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Swaps the bodies of the source application and its forked snapshot, each keeping its own version: the source gets back its pre-edit body and the snapshot gets the edits. Both writes are conditional on the ETags read in the same request.
|
|
24
|
+
* Commit a forked application version
|
|
25
|
+
*/
|
|
26
|
+
async commitApplicationVersionRaw(requestParameters, initOverrides) {
|
|
27
|
+
if (requestParameters['applicationName'] == null) {
|
|
28
|
+
throw new runtime.RequiredError('applicationName', 'Required parameter "applicationName" was null or undefined when calling commitApplicationVersion().');
|
|
29
|
+
}
|
|
30
|
+
if (requestParameters['commitApplicationVersionDto'] == null) {
|
|
31
|
+
throw new runtime.RequiredError('commitApplicationVersionDto', 'Required parameter "commitApplicationVersionDto" was null or undefined when calling commitApplicationVersion().');
|
|
32
|
+
}
|
|
33
|
+
const queryParameters = {};
|
|
34
|
+
const headerParameters = {};
|
|
35
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
36
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
37
|
+
const token = this.configuration.accessToken;
|
|
38
|
+
const tokenString = await token('bearer', []);
|
|
39
|
+
if (tokenString) {
|
|
40
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
let urlPath = `/api/v1/applications/{applicationName}/versions/commit`;
|
|
44
|
+
urlPath = urlPath.replace(`{${'applicationName'}}`, encodeURIComponent(String(requestParameters['applicationName'])));
|
|
45
|
+
const response = await this.request({
|
|
46
|
+
path: urlPath,
|
|
47
|
+
method: 'POST',
|
|
48
|
+
headers: headerParameters,
|
|
49
|
+
query: queryParameters,
|
|
50
|
+
body: requestParameters['commitApplicationVersionDto'],
|
|
51
|
+
}, initOverrides);
|
|
52
|
+
return new runtime.JSONApiResponse(response);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Swaps the bodies of the source application and its forked snapshot, each keeping its own version: the source gets back its pre-edit body and the snapshot gets the edits. Both writes are conditional on the ETags read in the same request.
|
|
56
|
+
* Commit a forked application version
|
|
57
|
+
*/
|
|
58
|
+
async commitApplicationVersion(requestParameters, initOverrides) {
|
|
59
|
+
const response = await this.commitApplicationVersionRaw(requestParameters, initOverrides);
|
|
60
|
+
return await response.value();
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Creates a new application for the authenticated session user by proxying DIAL Core. With createOnly, never overwrites an existing application and creates at the next free path instead (409 when none is free). With preserveApplicationProperties, stores schema settings verbatim. Invalidates the applications list and deployments list caches on success.
|
|
24
64
|
* Create a new application
|
|
25
65
|
*/
|
|
26
66
|
async createApplicationRaw(requestParameters, initOverrides) {
|
|
@@ -48,7 +88,7 @@ class ApplicationsApi extends runtime.BaseAPI {
|
|
|
48
88
|
return new runtime.JSONApiResponse(response);
|
|
49
89
|
}
|
|
50
90
|
/**
|
|
51
|
-
* Creates a new application for the authenticated session user by proxying DIAL Core. With createOnly,
|
|
91
|
+
* Creates a new application for the authenticated session user by proxying DIAL Core. With createOnly, never overwrites an existing application and creates at the next free path instead (409 when none is free). With preserveApplicationProperties, stores schema settings verbatim. Invalidates the applications list and deployments list caches on success.
|
|
52
92
|
* Create a new application
|
|
53
93
|
*/
|
|
54
94
|
async createApplication(requestParameters, initOverrides) {
|
|
@@ -89,6 +129,46 @@ class ApplicationsApi extends runtime.BaseAPI {
|
|
|
89
129
|
async deleteApplication(requestParameters, initOverrides) {
|
|
90
130
|
await this.deleteApplicationRaw(requestParameters, initOverrides);
|
|
91
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* Copies the stored application to `{folderPath}/{name}__{version}` and stamps the copy with `version`, never overwriting. Used with commitApplicationVersion so edits saved to the source end up in the new version only.
|
|
134
|
+
* Fork an application into a new version
|
|
135
|
+
*/
|
|
136
|
+
async forkApplicationVersionRaw(requestParameters, initOverrides) {
|
|
137
|
+
if (requestParameters['applicationName'] == null) {
|
|
138
|
+
throw new runtime.RequiredError('applicationName', 'Required parameter "applicationName" was null or undefined when calling forkApplicationVersion().');
|
|
139
|
+
}
|
|
140
|
+
if (requestParameters['forkApplicationVersionDto'] == null) {
|
|
141
|
+
throw new runtime.RequiredError('forkApplicationVersionDto', 'Required parameter "forkApplicationVersionDto" was null or undefined when calling forkApplicationVersion().');
|
|
142
|
+
}
|
|
143
|
+
const queryParameters = {};
|
|
144
|
+
const headerParameters = {};
|
|
145
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
146
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
147
|
+
const token = this.configuration.accessToken;
|
|
148
|
+
const tokenString = await token('bearer', []);
|
|
149
|
+
if (tokenString) {
|
|
150
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
let urlPath = `/api/v1/applications/{applicationName}/versions`;
|
|
154
|
+
urlPath = urlPath.replace(`{${'applicationName'}}`, encodeURIComponent(String(requestParameters['applicationName'])));
|
|
155
|
+
const response = await this.request({
|
|
156
|
+
path: urlPath,
|
|
157
|
+
method: 'POST',
|
|
158
|
+
headers: headerParameters,
|
|
159
|
+
query: queryParameters,
|
|
160
|
+
body: requestParameters['forkApplicationVersionDto'],
|
|
161
|
+
}, initOverrides);
|
|
162
|
+
return new runtime.JSONApiResponse(response);
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Copies the stored application to `{folderPath}/{name}__{version}` and stamps the copy with `version`, never overwriting. Used with commitApplicationVersion so edits saved to the source end up in the new version only.
|
|
166
|
+
* Fork an application into a new version
|
|
167
|
+
*/
|
|
168
|
+
async forkApplicationVersion(requestParameters, initOverrides) {
|
|
169
|
+
const response = await this.forkApplicationVersionRaw(requestParameters, initOverrides);
|
|
170
|
+
return await response.value();
|
|
171
|
+
}
|
|
92
172
|
/**
|
|
93
173
|
* Returns one DIAL Core application type schema by its $id. Results are cached server-side for 60 seconds per user per schema.
|
|
94
174
|
* Get application type schema by id
|
|
@@ -124,6 +204,40 @@ class ApplicationsApi extends runtime.BaseAPI {
|
|
|
124
204
|
const response = await this.getApplicationSchemaRaw(requestParameters, initOverrides);
|
|
125
205
|
return await response.value();
|
|
126
206
|
}
|
|
207
|
+
/**
|
|
208
|
+
* Lists the folders directly under `path` in the caller\'s own applications bucket. A folder that does not exist yet lists as empty. Not cached.
|
|
209
|
+
* List the caller\'s application folders
|
|
210
|
+
*/
|
|
211
|
+
async listApplicationFoldersRaw(requestParameters, initOverrides) {
|
|
212
|
+
const queryParameters = {};
|
|
213
|
+
if (requestParameters['path'] != null) {
|
|
214
|
+
queryParameters['path'] = requestParameters['path'];
|
|
215
|
+
}
|
|
216
|
+
const headerParameters = {};
|
|
217
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
218
|
+
const token = this.configuration.accessToken;
|
|
219
|
+
const tokenString = await token('bearer', []);
|
|
220
|
+
if (tokenString) {
|
|
221
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
let urlPath = `/api/v1/applications/folders`;
|
|
225
|
+
const response = await this.request({
|
|
226
|
+
path: urlPath,
|
|
227
|
+
method: 'GET',
|
|
228
|
+
headers: headerParameters,
|
|
229
|
+
query: queryParameters,
|
|
230
|
+
}, initOverrides);
|
|
231
|
+
return new runtime.JSONApiResponse(response);
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Lists the folders directly under `path` in the caller\'s own applications bucket. A folder that does not exist yet lists as empty. Not cached.
|
|
235
|
+
* List the caller\'s application folders
|
|
236
|
+
*/
|
|
237
|
+
async listApplicationFolders(requestParameters = {}, initOverrides) {
|
|
238
|
+
const response = await this.listApplicationFoldersRaw(requestParameters, initOverrides);
|
|
239
|
+
return await response.value();
|
|
240
|
+
}
|
|
127
241
|
/**
|
|
128
242
|
* Returns DIAL Core application type schemas visible to the authenticated user. Results are cached server-side for 60 seconds per user.
|
|
129
243
|
* List application type schemas
|
|
@@ -186,6 +300,46 @@ class ApplicationsApi extends runtime.BaseAPI {
|
|
|
186
300
|
const response = await this.listApplicationsRaw(initOverrides);
|
|
187
301
|
return await response.value();
|
|
188
302
|
}
|
|
303
|
+
/**
|
|
304
|
+
* Moves an application in the caller\'s own bucket into `folderPath`, never overwriting an existing application. Invalidates the applications, deployments and details caches on success.
|
|
305
|
+
* Move an application to one of the caller\'s folders
|
|
306
|
+
*/
|
|
307
|
+
async moveApplicationRaw(requestParameters, initOverrides) {
|
|
308
|
+
if (requestParameters['applicationName'] == null) {
|
|
309
|
+
throw new runtime.RequiredError('applicationName', 'Required parameter "applicationName" was null or undefined when calling moveApplication().');
|
|
310
|
+
}
|
|
311
|
+
if (requestParameters['moveResourceDto'] == null) {
|
|
312
|
+
throw new runtime.RequiredError('moveResourceDto', 'Required parameter "moveResourceDto" was null or undefined when calling moveApplication().');
|
|
313
|
+
}
|
|
314
|
+
const queryParameters = {};
|
|
315
|
+
const headerParameters = {};
|
|
316
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
317
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
318
|
+
const token = this.configuration.accessToken;
|
|
319
|
+
const tokenString = await token('bearer', []);
|
|
320
|
+
if (tokenString) {
|
|
321
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
let urlPath = `/api/v1/applications/{applicationName}/move`;
|
|
325
|
+
urlPath = urlPath.replace(`{${'applicationName'}}`, encodeURIComponent(String(requestParameters['applicationName'])));
|
|
326
|
+
const response = await this.request({
|
|
327
|
+
path: urlPath,
|
|
328
|
+
method: 'POST',
|
|
329
|
+
headers: headerParameters,
|
|
330
|
+
query: queryParameters,
|
|
331
|
+
body: requestParameters['moveResourceDto'],
|
|
332
|
+
}, initOverrides);
|
|
333
|
+
return new runtime.JSONApiResponse(response);
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* Moves an application in the caller\'s own bucket into `folderPath`, never overwriting an existing application. Invalidates the applications, deployments and details caches on success.
|
|
337
|
+
* Move an application to one of the caller\'s folders
|
|
338
|
+
*/
|
|
339
|
+
async moveApplication(requestParameters, initOverrides) {
|
|
340
|
+
const response = await this.moveApplicationRaw(requestParameters, initOverrides);
|
|
341
|
+
return await response.value();
|
|
342
|
+
}
|
|
189
343
|
/**
|
|
190
344
|
* Updates the General-step fields (name, description, iconUrl, topics) of an existing application for the authenticated session user, by proxying DIAL Core. Settings-step configuration (application_properties) is preserved untouched unless the request supplies applicationProperties, in which case it fully replaces the stored value. Invalidates the applications and deployments list caches on success.
|
|
191
345
|
* Update an application
|
|
@@ -37,6 +37,16 @@ export declare class AuthApi extends runtime.BaseAPI {
|
|
|
37
37
|
* Get current user profile
|
|
38
38
|
*/
|
|
39
39
|
getCurrentUser(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserProfileDto>;
|
|
40
|
+
/**
|
|
41
|
+
* Serves the inline (data: URL) profile picture the identity provider returns from UserInfo. Only advertised through `pictureUrl` on `GET /auth/me` when the session has one.
|
|
42
|
+
* Get current user profile picture
|
|
43
|
+
*/
|
|
44
|
+
getCurrentUserPictureRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
|
|
45
|
+
/**
|
|
46
|
+
* Serves the inline (data: URL) profile picture the identity provider returns from UserInfo. Only advertised through `pictureUrl` on `GET /auth/me` when the session has one.
|
|
47
|
+
* Get current user profile picture
|
|
48
|
+
*/
|
|
49
|
+
getCurrentUserPicture(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
40
50
|
/**
|
|
41
51
|
* List configured identity providers
|
|
42
52
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/AuthApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,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AEG;IACG,MAAM,CACV,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,IAAI,CAAC;CAGjB"}
|
|
@@ -73,6 +73,30 @@ class AuthApi extends runtime.BaseAPI {
|
|
|
73
73
|
const response = await this.getCurrentUserRaw(initOverrides);
|
|
74
74
|
return await response.value();
|
|
75
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* Serves the inline (data: URL) profile picture the identity provider returns from UserInfo. Only advertised through `pictureUrl` on `GET /auth/me` when the session has one.
|
|
78
|
+
* Get current user profile picture
|
|
79
|
+
*/
|
|
80
|
+
async getCurrentUserPictureRaw(initOverrides) {
|
|
81
|
+
const queryParameters = {};
|
|
82
|
+
const headerParameters = {};
|
|
83
|
+
let urlPath = `/api/v1/auth/me/picture`;
|
|
84
|
+
const response = await this.request({
|
|
85
|
+
path: urlPath,
|
|
86
|
+
method: 'GET',
|
|
87
|
+
headers: headerParameters,
|
|
88
|
+
query: queryParameters,
|
|
89
|
+
}, initOverrides);
|
|
90
|
+
return new runtime.BlobApiResponse(response);
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Serves the inline (data: URL) profile picture the identity provider returns from UserInfo. Only advertised through `pictureUrl` on `GET /auth/me` when the session has one.
|
|
94
|
+
* Get current user profile picture
|
|
95
|
+
*/
|
|
96
|
+
async getCurrentUserPicture(initOverrides) {
|
|
97
|
+
const response = await this.getCurrentUserPictureRaw(initOverrides);
|
|
98
|
+
return await response.value();
|
|
99
|
+
}
|
|
76
100
|
/**
|
|
77
101
|
* List configured identity providers
|
|
78
102
|
*/
|
|
@@ -0,0 +1,60 @@
|
|
|
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 { CelebrationCatalogDto, CelebrationPackDto } from '../models/index';
|
|
14
|
+
export interface GetCelebrationAssetRequest {
|
|
15
|
+
assetId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface GetCelebrationPackRequest {
|
|
18
|
+
packId: string;
|
|
19
|
+
version: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export declare class CelebrationsApi extends runtime.BaseAPI {
|
|
25
|
+
/**
|
|
26
|
+
* Returns the verified bytes of an asset that a manifest of the current celebration index declares, with its registered Content-Type. JSON and SVG are compressed when the client accepts br or gzip.
|
|
27
|
+
* Get a celebration asset
|
|
28
|
+
*/
|
|
29
|
+
getCelebrationAssetRaw(requestParameters: GetCelebrationAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
}>>;
|
|
32
|
+
/**
|
|
33
|
+
* Returns the verified bytes of an asset that a manifest of the current celebration index declares, with its registered Content-Type. JSON and SVG are compressed when the client accepts br or gzip.
|
|
34
|
+
* Get a celebration asset
|
|
35
|
+
*/
|
|
36
|
+
getCelebrationAsset(requestParameters: GetCelebrationAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
|
|
37
|
+
[key: string]: unknown;
|
|
38
|
+
}>;
|
|
39
|
+
/**
|
|
40
|
+
* Returns the validated celebration index: every published pack version and the default pack per event. Cached for 60 seconds, with an ETag; manifest paths and hashes are never exposed.
|
|
41
|
+
* Get the celebration catalog
|
|
42
|
+
*/
|
|
43
|
+
getCelebrationCatalogRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CelebrationCatalogDto>>;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the validated celebration index: every published pack version and the default pack per event. Cached for 60 seconds, with an ETag; manifest paths and hashes are never exposed.
|
|
46
|
+
* Get the celebration catalog
|
|
47
|
+
*/
|
|
48
|
+
getCelebrationCatalog(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CelebrationCatalogDto>;
|
|
49
|
+
/**
|
|
50
|
+
* Returns one validated pack version that the current celebration index lists. A version is immutable, so the response may be cached for a year.
|
|
51
|
+
* Get a celebration pack
|
|
52
|
+
*/
|
|
53
|
+
getCelebrationPackRaw(requestParameters: GetCelebrationPackRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CelebrationPackDto>>;
|
|
54
|
+
/**
|
|
55
|
+
* Returns one validated pack version that the current celebration index lists. A version is immutable, so the response may be cached for a year.
|
|
56
|
+
* Get a celebration pack
|
|
57
|
+
*/
|
|
58
|
+
getCelebrationPack(requestParameters: GetCelebrationPackRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CelebrationPackDto>;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=CelebrationsApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CelebrationsApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/CelebrationsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,qBAAa,eAAgB,SAAQ,OAAO,CAAC,OAAO;IAClD;;;OAGG;IACG,sBAAsB,CAC1B,iBAAiB,EAAE,0BAA0B,EAC7C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC,CAAC;IA+B3D;;;OAGG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,0BAA0B,EAC7C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAQtC;;;OAGG;IACG,wBAAwB,CAC5B,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,qBAAqB,CAAC,CAAC;IAoBtD;;;OAGG;IACG,qBAAqB,CACzB,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,qBAAqB,CAAC;IAKjC;;;OAGG;IACG,qBAAqB,CACzB,iBAAiB,EAAE,yBAAyB,EAC5C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;IA0CnD;;;OAGG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,yBAAyB,EAC5C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,kBAAkB,CAAC;CAO/B"}
|
|
@@ -0,0 +1,107 @@
|
|
|
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.CelebrationsApi = void 0;
|
|
17
|
+
const runtime = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
class CelebrationsApi extends runtime.BaseAPI {
|
|
22
|
+
/**
|
|
23
|
+
* Returns the verified bytes of an asset that a manifest of the current celebration index declares, with its registered Content-Type. JSON and SVG are compressed when the client accepts br or gzip.
|
|
24
|
+
* Get a celebration asset
|
|
25
|
+
*/
|
|
26
|
+
async getCelebrationAssetRaw(requestParameters, initOverrides) {
|
|
27
|
+
if (requestParameters['assetId'] == null) {
|
|
28
|
+
throw new runtime.RequiredError('assetId', 'Required parameter "assetId" was null or undefined when calling getCelebrationAsset().');
|
|
29
|
+
}
|
|
30
|
+
const queryParameters = {};
|
|
31
|
+
const headerParameters = {};
|
|
32
|
+
let urlPath = `/api/v1/celebrations/assets/{assetId}`;
|
|
33
|
+
urlPath = urlPath.replace(`{${'assetId'}}`, encodeURIComponent(String(requestParameters['assetId'])));
|
|
34
|
+
const response = await this.request({
|
|
35
|
+
path: urlPath,
|
|
36
|
+
method: 'GET',
|
|
37
|
+
headers: headerParameters,
|
|
38
|
+
query: queryParameters,
|
|
39
|
+
}, initOverrides);
|
|
40
|
+
return new runtime.JSONApiResponse(response);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Returns the verified bytes of an asset that a manifest of the current celebration index declares, with its registered Content-Type. JSON and SVG are compressed when the client accepts br or gzip.
|
|
44
|
+
* Get a celebration asset
|
|
45
|
+
*/
|
|
46
|
+
async getCelebrationAsset(requestParameters, initOverrides) {
|
|
47
|
+
const response = await this.getCelebrationAssetRaw(requestParameters, initOverrides);
|
|
48
|
+
return await response.value();
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Returns the validated celebration index: every published pack version and the default pack per event. Cached for 60 seconds, with an ETag; manifest paths and hashes are never exposed.
|
|
52
|
+
* Get the celebration catalog
|
|
53
|
+
*/
|
|
54
|
+
async getCelebrationCatalogRaw(initOverrides) {
|
|
55
|
+
const queryParameters = {};
|
|
56
|
+
const headerParameters = {};
|
|
57
|
+
let urlPath = `/api/v1/celebrations`;
|
|
58
|
+
const response = await this.request({
|
|
59
|
+
path: urlPath,
|
|
60
|
+
method: 'GET',
|
|
61
|
+
headers: headerParameters,
|
|
62
|
+
query: queryParameters,
|
|
63
|
+
}, initOverrides);
|
|
64
|
+
return new runtime.JSONApiResponse(response);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Returns the validated celebration index: every published pack version and the default pack per event. Cached for 60 seconds, with an ETag; manifest paths and hashes are never exposed.
|
|
68
|
+
* Get the celebration catalog
|
|
69
|
+
*/
|
|
70
|
+
async getCelebrationCatalog(initOverrides) {
|
|
71
|
+
const response = await this.getCelebrationCatalogRaw(initOverrides);
|
|
72
|
+
return await response.value();
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Returns one validated pack version that the current celebration index lists. A version is immutable, so the response may be cached for a year.
|
|
76
|
+
* Get a celebration pack
|
|
77
|
+
*/
|
|
78
|
+
async getCelebrationPackRaw(requestParameters, initOverrides) {
|
|
79
|
+
if (requestParameters['packId'] == null) {
|
|
80
|
+
throw new runtime.RequiredError('packId', 'Required parameter "packId" was null or undefined when calling getCelebrationPack().');
|
|
81
|
+
}
|
|
82
|
+
if (requestParameters['version'] == null) {
|
|
83
|
+
throw new runtime.RequiredError('version', 'Required parameter "version" was null or undefined when calling getCelebrationPack().');
|
|
84
|
+
}
|
|
85
|
+
const queryParameters = {};
|
|
86
|
+
const headerParameters = {};
|
|
87
|
+
let urlPath = `/api/v1/celebrations/packs/{packId}/{version}`;
|
|
88
|
+
urlPath = urlPath.replace(`{${'packId'}}`, encodeURIComponent(String(requestParameters['packId'])));
|
|
89
|
+
urlPath = urlPath.replace(`{${'version'}}`, encodeURIComponent(String(requestParameters['version'])));
|
|
90
|
+
const response = await this.request({
|
|
91
|
+
path: urlPath,
|
|
92
|
+
method: 'GET',
|
|
93
|
+
headers: headerParameters,
|
|
94
|
+
query: queryParameters,
|
|
95
|
+
}, initOverrides);
|
|
96
|
+
return new runtime.JSONApiResponse(response);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Returns one validated pack version that the current celebration index lists. A version is immutable, so the response may be cached for a year.
|
|
100
|
+
* Get a celebration pack
|
|
101
|
+
*/
|
|
102
|
+
async getCelebrationPack(requestParameters, initOverrides) {
|
|
103
|
+
const response = await this.getCelebrationPackRaw(requestParameters, initOverrides);
|
|
104
|
+
return await response.value();
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.CelebrationsApi = CelebrationsApi;
|