@epam/ai-dial-chat-api-client 1.3.5 → 1.4.0-dev.101
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/OrgUnitsApi.d.ts +2 -2
- package/generated/src/apis/OrgUnitsApi.js +2 -2
- package/generated/src/apis/ProjectsApi.d.ts +2 -2
- package/generated/src/apis/ProjectsApi.js +2 -2
- package/generated/src/apis/PublishApi.d.ts +54 -1
- package/generated/src/apis/PublishApi.d.ts.map +1 -1
- package/generated/src/apis/PublishApi.js +106 -1
- package/generated/src/models/index.d.ts +223 -0
- package/generated/src/models/index.d.ts.map +1 -1
- package/generated/src/models/index.js +23 -2
- package/package.json +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
|
@@ -16,12 +16,12 @@ import type { OrgUnitsResponseDto } from '../models/index';
|
|
|
16
16
|
*/
|
|
17
17
|
export declare class OrgUnitsApi extends runtime.BaseAPI {
|
|
18
18
|
/**
|
|
19
|
-
* Returns the DIAL Core org units the authenticated user may see, flat
|
|
19
|
+
* Returns the DIAL Core org units the authenticated user may see, flat in Core order, each with the caller\'s `permissions` (namespace to actions). `hasAdminAccess` is true when Core reports full admin access. `enabled` is false (and `hasAdminAccess` false, `units` empty) when DIAL Core has org units turned off. Answers 403 while the `features.orgUnitsEnabled` flag is off. Results are cached server-side for 60 seconds per user.
|
|
20
20
|
* List the org units visible to the caller
|
|
21
21
|
*/
|
|
22
22
|
listOrgUnitsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OrgUnitsResponseDto>>;
|
|
23
23
|
/**
|
|
24
|
-
* Returns the DIAL Core org units the authenticated user may see, flat
|
|
24
|
+
* Returns the DIAL Core org units the authenticated user may see, flat in Core order, each with the caller\'s `permissions` (namespace to actions). `hasAdminAccess` is true when Core reports full admin access. `enabled` is false (and `hasAdminAccess` false, `units` empty) when DIAL Core has org units turned off. Answers 403 while the `features.orgUnitsEnabled` flag is off. Results are cached server-side for 60 seconds per user.
|
|
25
25
|
* List the org units visible to the caller
|
|
26
26
|
*/
|
|
27
27
|
listOrgUnits(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OrgUnitsResponseDto>;
|
|
@@ -20,7 +20,7 @@ const runtime = require("../runtime");
|
|
|
20
20
|
*/
|
|
21
21
|
class OrgUnitsApi extends runtime.BaseAPI {
|
|
22
22
|
/**
|
|
23
|
-
* Returns the DIAL Core org units the authenticated user may see, flat
|
|
23
|
+
* Returns the DIAL Core org units the authenticated user may see, flat in Core order, each with the caller\'s `permissions` (namespace to actions). `hasAdminAccess` is true when Core reports full admin access. `enabled` is false (and `hasAdminAccess` false, `units` empty) when DIAL Core has org units turned off. Answers 403 while the `features.orgUnitsEnabled` flag is off. Results are cached server-side for 60 seconds per user.
|
|
24
24
|
* List the org units visible to the caller
|
|
25
25
|
*/
|
|
26
26
|
async listOrgUnitsRaw(initOverrides) {
|
|
@@ -43,7 +43,7 @@ class OrgUnitsApi extends runtime.BaseAPI {
|
|
|
43
43
|
return new runtime.JSONApiResponse(response);
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
|
-
* Returns the DIAL Core org units the authenticated user may see, flat
|
|
46
|
+
* Returns the DIAL Core org units the authenticated user may see, flat in Core order, each with the caller\'s `permissions` (namespace to actions). `hasAdminAccess` is true when Core reports full admin access. `enabled` is false (and `hasAdminAccess` false, `units` empty) when DIAL Core has org units turned off. Answers 403 while the `features.orgUnitsEnabled` flag is off. Results are cached server-side for 60 seconds per user.
|
|
47
47
|
* List the org units visible to the caller
|
|
48
48
|
*/
|
|
49
49
|
async listOrgUnits(initOverrides) {
|
|
@@ -164,12 +164,12 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
164
164
|
*/
|
|
165
165
|
downloadProject(requestParameters: DownloadProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
166
166
|
/**
|
|
167
|
-
* Streams one file
|
|
167
|
+
* Streams one file under the project `artifacts/` folder, a direct child or a nested path, as an attachment named after its last path segment, with `X-Content-Type-Options: nosniff`. Any reader of the project may call it.
|
|
168
168
|
* Download one output of a project
|
|
169
169
|
*/
|
|
170
170
|
downloadProjectArtifactRaw(requestParameters: DownloadProjectArtifactRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
|
|
171
171
|
/**
|
|
172
|
-
* Streams one file
|
|
172
|
+
* Streams one file under the project `artifacts/` folder, a direct child or a nested path, as an attachment named after its last path segment, with `X-Content-Type-Options: nosniff`. Any reader of the project may call it.
|
|
173
173
|
* Download one output of a project
|
|
174
174
|
*/
|
|
175
175
|
downloadProjectArtifact(requestParameters: DownloadProjectArtifactRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
@@ -283,7 +283,7 @@ class ProjectsApi extends runtime.BaseAPI {
|
|
|
283
283
|
return await response.value();
|
|
284
284
|
}
|
|
285
285
|
/**
|
|
286
|
-
* Streams one file
|
|
286
|
+
* Streams one file under the project `artifacts/` folder, a direct child or a nested path, as an attachment named after its last path segment, with `X-Content-Type-Options: nosniff`. Any reader of the project may call it.
|
|
287
287
|
* Download one output of a project
|
|
288
288
|
*/
|
|
289
289
|
async downloadProjectArtifactRaw(requestParameters, initOverrides) {
|
|
@@ -314,7 +314,7 @@ class ProjectsApi extends runtime.BaseAPI {
|
|
|
314
314
|
return new runtime.BlobApiResponse(response);
|
|
315
315
|
}
|
|
316
316
|
/**
|
|
317
|
-
* Streams one file
|
|
317
|
+
* Streams one file under the project `artifacts/` folder, a direct child or a nested path, as an attachment named after its last path segment, with `X-Content-Type-Options: nosniff`. Any reader of the project may call it.
|
|
318
318
|
* Download one output of a project
|
|
319
319
|
*/
|
|
320
320
|
async downloadProjectArtifact(requestParameters, initOverrides) {
|
|
@@ -10,7 +10,12 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { PublishCatalogEntityDto, PublishHistoryEntryDto, PublishResultDto, PublishRulesResultDto, ResourceDependenciesResultDto, UnpublishAccessDto, UnpublishCatalogEntityDto, UnpublishResultDto } from '../models/index';
|
|
13
|
+
import type { CopyCatalogEntityToOrgUnitDto, PublishCatalogEntityDto, PublishHistoryEntryDto, PublishResultDto, PublishRulesResultDto, ResourceDependenciesResultDto, ResourceIdResponseDto, UnpublishAccessDto, UnpublishCatalogEntityDto, UnpublishResultDto, VersionStatusEntryDto } from '../models/index';
|
|
14
|
+
export interface CopyCatalogEntityToOrgUnitRequest {
|
|
15
|
+
entityType: CopyCatalogEntityToOrgUnitEntityTypeEnum;
|
|
16
|
+
entityId: string;
|
|
17
|
+
copyCatalogEntityToOrgUnitDto: CopyCatalogEntityToOrgUnitDto;
|
|
18
|
+
}
|
|
14
19
|
export interface GetCatalogPublishDependenciesRequest {
|
|
15
20
|
entityType: GetCatalogPublishDependenciesEntityTypeEnum;
|
|
16
21
|
entityId: string;
|
|
@@ -23,6 +28,10 @@ export interface GetCatalogUnpublishAccessRequest {
|
|
|
23
28
|
entityType: GetCatalogUnpublishAccessEntityTypeEnum;
|
|
24
29
|
entityId: string;
|
|
25
30
|
}
|
|
31
|
+
export interface GetCatalogVersionStatusesRequest {
|
|
32
|
+
entityType: GetCatalogVersionStatusesEntityTypeEnum;
|
|
33
|
+
entityId: string;
|
|
34
|
+
}
|
|
26
35
|
export interface GetPublishRulesRequest {
|
|
27
36
|
folderPath: string;
|
|
28
37
|
}
|
|
@@ -40,6 +49,16 @@ export interface UnpublishCatalogEntityRequest {
|
|
|
40
49
|
*
|
|
41
50
|
*/
|
|
42
51
|
export declare class PublishApi extends runtime.BaseAPI {
|
|
52
|
+
/**
|
|
53
|
+
* Copies a catalog entity of the caller\'s own bucket into `folderPath` of the public bucket under the same name, by proxying DIAL Core\'s resource copy. No publication request is created: DIAL Core decides whether the caller may write into the folder and applies its per-type rules to the copy, and its 403 and 409 are returned as they are. Applications, toolsets, prompts and skills are supported; other types answer 400. A target that already exists answers 409: the copy never overwrites. Answers 403 while the `features.orgUnitsEnabled` flag is off.
|
|
54
|
+
* Copy an own catalog entity into an org-unit folder
|
|
55
|
+
*/
|
|
56
|
+
copyCatalogEntityToOrgUnitRaw(requestParameters: CopyCatalogEntityToOrgUnitRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ResourceIdResponseDto>>;
|
|
57
|
+
/**
|
|
58
|
+
* Copies a catalog entity of the caller\'s own bucket into `folderPath` of the public bucket under the same name, by proxying DIAL Core\'s resource copy. No publication request is created: DIAL Core decides whether the caller may write into the folder and applies its per-type rules to the copy, and its 403 and 409 are returned as they are. Applications, toolsets, prompts and skills are supported; other types answer 400. A target that already exists answers 409: the copy never overwrites. Answers 403 while the `features.orgUnitsEnabled` flag is off.
|
|
59
|
+
* Copy an own catalog entity into an org-unit folder
|
|
60
|
+
*/
|
|
61
|
+
copyCatalogEntityToOrgUnit(requestParameters: CopyCatalogEntityToOrgUnitRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ResourceIdResponseDto>;
|
|
43
62
|
/**
|
|
44
63
|
* Returns the direct references of a catalog entity (Toolset, Application, Prompt, Skill or Project) that are not in the public bucket, so the publisher can publish them too before the published copy reaches its audience. Resources that publishing already carries along (the application icon and its declared files) are not listed, and a dependency’s own dependencies are not followed. The list is advisory: when it cannot be resolved the response is an empty list rather than an error. Kinds that reference no other resource always return an empty list.
|
|
45
64
|
* List the private dependencies of a catalog entity
|
|
@@ -70,6 +89,16 @@ export declare class PublishApi extends runtime.BaseAPI {
|
|
|
70
89
|
* Check whether the caller may request removal of a catalog entity
|
|
71
90
|
*/
|
|
72
91
|
getCatalogUnpublishAccess(requestParameters: GetCatalogUnpublishAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UnpublishAccessDto>;
|
|
92
|
+
/**
|
|
93
|
+
* Returns one entry per saved version of the application or toolset (same owner, folder and base name) with its publication status: `not-published`, `in-review`, `published` (with its folders and publisher) or `unknown` for a resource owned by another user. Derived from the caller’s own publications in DIAL Core, read once per request, and never from chat-api-side storage. Only applications and toolsets have versions.
|
|
94
|
+
* Get the publication status of every version of an entity
|
|
95
|
+
*/
|
|
96
|
+
getCatalogVersionStatusesRaw(requestParameters: GetCatalogVersionStatusesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<VersionStatusEntryDto>>>;
|
|
97
|
+
/**
|
|
98
|
+
* Returns one entry per saved version of the application or toolset (same owner, folder and base name) with its publication status: `not-published`, `in-review`, `published` (with its folders and publisher) or `unknown` for a resource owned by another user. Derived from the caller’s own publications in DIAL Core, read once per request, and never from chat-api-side storage. Only applications and toolsets have versions.
|
|
99
|
+
* Get the publication status of every version of an entity
|
|
100
|
+
*/
|
|
101
|
+
getCatalogVersionStatuses(requestParameters: GetCatalogVersionStatusesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<VersionStatusEntryDto>>;
|
|
73
102
|
/**
|
|
74
103
|
* Returns the exact requested folder\'s own access-restriction rules by proxying DIAL Core\'s `getPublicationRules` — ancestor-folder rules in the underlying response are discarded, never returned.
|
|
75
104
|
* Get a destination folder\'s already-configured access rules
|
|
@@ -101,6 +130,18 @@ export declare class PublishApi extends runtime.BaseAPI {
|
|
|
101
130
|
*/
|
|
102
131
|
unpublishCatalogEntity(requestParameters: UnpublishCatalogEntityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UnpublishResultDto>;
|
|
103
132
|
}
|
|
133
|
+
/**
|
|
134
|
+
* @export
|
|
135
|
+
*/
|
|
136
|
+
export declare const CopyCatalogEntityToOrgUnitEntityTypeEnum: {
|
|
137
|
+
readonly Model: "model";
|
|
138
|
+
readonly Toolset: "toolset";
|
|
139
|
+
readonly Application: "application";
|
|
140
|
+
readonly Prompt: "prompt";
|
|
141
|
+
readonly Skill: "skill";
|
|
142
|
+
readonly Project: "project";
|
|
143
|
+
};
|
|
144
|
+
export type CopyCatalogEntityToOrgUnitEntityTypeEnum = (typeof CopyCatalogEntityToOrgUnitEntityTypeEnum)[keyof typeof CopyCatalogEntityToOrgUnitEntityTypeEnum];
|
|
104
145
|
/**
|
|
105
146
|
* @export
|
|
106
147
|
*/
|
|
@@ -137,6 +178,18 @@ export declare const GetCatalogUnpublishAccessEntityTypeEnum: {
|
|
|
137
178
|
readonly Project: "project";
|
|
138
179
|
};
|
|
139
180
|
export type GetCatalogUnpublishAccessEntityTypeEnum = (typeof GetCatalogUnpublishAccessEntityTypeEnum)[keyof typeof GetCatalogUnpublishAccessEntityTypeEnum];
|
|
181
|
+
/**
|
|
182
|
+
* @export
|
|
183
|
+
*/
|
|
184
|
+
export declare const GetCatalogVersionStatusesEntityTypeEnum: {
|
|
185
|
+
readonly Model: "model";
|
|
186
|
+
readonly Toolset: "toolset";
|
|
187
|
+
readonly Application: "application";
|
|
188
|
+
readonly Prompt: "prompt";
|
|
189
|
+
readonly Skill: "skill";
|
|
190
|
+
readonly Project: "project";
|
|
191
|
+
};
|
|
192
|
+
export type GetCatalogVersionStatusesEntityTypeEnum = (typeof GetCatalogVersionStatusesEntityTypeEnum)[keyof typeof GetCatalogVersionStatusesEntityTypeEnum];
|
|
140
193
|
/**
|
|
141
194
|
* @export
|
|
142
195
|
*/
|
|
@@ -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,EACrB,6BAA6B,EAC7B,kBAAkB,EAClB,yBAAyB,EACzB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"PublishApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/PublishApi.ts"],"names":[],"mappings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,oCAAoC,CAAC,CAAC"}
|
|
@@ -13,12 +13,56 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.UnpublishCatalogEntityEntityTypeEnum = exports.PublishCatalogEntityEntityTypeEnum = exports.GetCatalogUnpublishAccessEntityTypeEnum = exports.GetCatalogPublishHistoryEntityTypeEnum = exports.GetCatalogPublishDependenciesEntityTypeEnum = exports.PublishApi = void 0;
|
|
16
|
+
exports.UnpublishCatalogEntityEntityTypeEnum = exports.PublishCatalogEntityEntityTypeEnum = exports.GetCatalogVersionStatusesEntityTypeEnum = exports.GetCatalogUnpublishAccessEntityTypeEnum = exports.GetCatalogPublishHistoryEntityTypeEnum = exports.GetCatalogPublishDependenciesEntityTypeEnum = exports.CopyCatalogEntityToOrgUnitEntityTypeEnum = exports.PublishApi = void 0;
|
|
17
17
|
const runtime = require("../runtime");
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
*/
|
|
21
21
|
class PublishApi extends runtime.BaseAPI {
|
|
22
|
+
/**
|
|
23
|
+
* Copies a catalog entity of the caller\'s own bucket into `folderPath` of the public bucket under the same name, by proxying DIAL Core\'s resource copy. No publication request is created: DIAL Core decides whether the caller may write into the folder and applies its per-type rules to the copy, and its 403 and 409 are returned as they are. Applications, toolsets, prompts and skills are supported; other types answer 400. A target that already exists answers 409: the copy never overwrites. Answers 403 while the `features.orgUnitsEnabled` flag is off.
|
|
24
|
+
* Copy an own catalog entity into an org-unit folder
|
|
25
|
+
*/
|
|
26
|
+
async copyCatalogEntityToOrgUnitRaw(requestParameters, initOverrides) {
|
|
27
|
+
if (requestParameters['entityType'] == null) {
|
|
28
|
+
throw new runtime.RequiredError('entityType', 'Required parameter "entityType" was null or undefined when calling copyCatalogEntityToOrgUnit().');
|
|
29
|
+
}
|
|
30
|
+
if (requestParameters['entityId'] == null) {
|
|
31
|
+
throw new runtime.RequiredError('entityId', 'Required parameter "entityId" was null or undefined when calling copyCatalogEntityToOrgUnit().');
|
|
32
|
+
}
|
|
33
|
+
if (requestParameters['copyCatalogEntityToOrgUnitDto'] == null) {
|
|
34
|
+
throw new runtime.RequiredError('copyCatalogEntityToOrgUnitDto', 'Required parameter "copyCatalogEntityToOrgUnitDto" was null or undefined when calling copyCatalogEntityToOrgUnit().');
|
|
35
|
+
}
|
|
36
|
+
const queryParameters = {};
|
|
37
|
+
const headerParameters = {};
|
|
38
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
39
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
40
|
+
const token = this.configuration.accessToken;
|
|
41
|
+
const tokenString = await token('bearer', []);
|
|
42
|
+
if (tokenString) {
|
|
43
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
let urlPath = `/api/v1/catalog/{entityType}/{entityId}/copy-to-org-unit`;
|
|
47
|
+
urlPath = urlPath.replace(`{${'entityType'}}`, encodeURIComponent(String(requestParameters['entityType'])));
|
|
48
|
+
urlPath = urlPath.replace(`{${'entityId'}}`, encodeURIComponent(String(requestParameters['entityId'])));
|
|
49
|
+
const response = await this.request({
|
|
50
|
+
path: urlPath,
|
|
51
|
+
method: 'POST',
|
|
52
|
+
headers: headerParameters,
|
|
53
|
+
query: queryParameters,
|
|
54
|
+
body: requestParameters['copyCatalogEntityToOrgUnitDto'],
|
|
55
|
+
}, initOverrides);
|
|
56
|
+
return new runtime.JSONApiResponse(response);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Copies a catalog entity of the caller\'s own bucket into `folderPath` of the public bucket under the same name, by proxying DIAL Core\'s resource copy. No publication request is created: DIAL Core decides whether the caller may write into the folder and applies its per-type rules to the copy, and its 403 and 409 are returned as they are. Applications, toolsets, prompts and skills are supported; other types answer 400. A target that already exists answers 409: the copy never overwrites. Answers 403 while the `features.orgUnitsEnabled` flag is off.
|
|
60
|
+
* Copy an own catalog entity into an org-unit folder
|
|
61
|
+
*/
|
|
62
|
+
async copyCatalogEntityToOrgUnit(requestParameters, initOverrides) {
|
|
63
|
+
const response = await this.copyCatalogEntityToOrgUnitRaw(requestParameters, initOverrides);
|
|
64
|
+
return await response.value();
|
|
65
|
+
}
|
|
22
66
|
/**
|
|
23
67
|
* Returns the direct references of a catalog entity (Toolset, Application, Prompt, Skill or Project) that are not in the public bucket, so the publisher can publish them too before the published copy reaches its audience. Resources that publishing already carries along (the application icon and its declared files) are not listed, and a dependency’s own dependencies are not followed. The list is advisory: when it cannot be resolved the response is an empty list rather than an error. Kinds that reference no other resource always return an empty list.
|
|
24
68
|
* List the private dependencies of a catalog entity
|
|
@@ -136,6 +180,45 @@ class PublishApi extends runtime.BaseAPI {
|
|
|
136
180
|
const response = await this.getCatalogUnpublishAccessRaw(requestParameters, initOverrides);
|
|
137
181
|
return await response.value();
|
|
138
182
|
}
|
|
183
|
+
/**
|
|
184
|
+
* Returns one entry per saved version of the application or toolset (same owner, folder and base name) with its publication status: `not-published`, `in-review`, `published` (with its folders and publisher) or `unknown` for a resource owned by another user. Derived from the caller’s own publications in DIAL Core, read once per request, and never from chat-api-side storage. Only applications and toolsets have versions.
|
|
185
|
+
* Get the publication status of every version of an entity
|
|
186
|
+
*/
|
|
187
|
+
async getCatalogVersionStatusesRaw(requestParameters, initOverrides) {
|
|
188
|
+
if (requestParameters['entityType'] == null) {
|
|
189
|
+
throw new runtime.RequiredError('entityType', 'Required parameter "entityType" was null or undefined when calling getCatalogVersionStatuses().');
|
|
190
|
+
}
|
|
191
|
+
if (requestParameters['entityId'] == null) {
|
|
192
|
+
throw new runtime.RequiredError('entityId', 'Required parameter "entityId" was null or undefined when calling getCatalogVersionStatuses().');
|
|
193
|
+
}
|
|
194
|
+
const queryParameters = {};
|
|
195
|
+
const headerParameters = {};
|
|
196
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
197
|
+
const token = this.configuration.accessToken;
|
|
198
|
+
const tokenString = await token('bearer', []);
|
|
199
|
+
if (tokenString) {
|
|
200
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
let urlPath = `/api/v1/catalog/{entityType}/{entityId}/version-statuses`;
|
|
204
|
+
urlPath = urlPath.replace(`{${'entityType'}}`, encodeURIComponent(String(requestParameters['entityType'])));
|
|
205
|
+
urlPath = urlPath.replace(`{${'entityId'}}`, encodeURIComponent(String(requestParameters['entityId'])));
|
|
206
|
+
const response = await this.request({
|
|
207
|
+
path: urlPath,
|
|
208
|
+
method: 'GET',
|
|
209
|
+
headers: headerParameters,
|
|
210
|
+
query: queryParameters,
|
|
211
|
+
}, initOverrides);
|
|
212
|
+
return new runtime.JSONApiResponse(response);
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Returns one entry per saved version of the application or toolset (same owner, folder and base name) with its publication status: `not-published`, `in-review`, `published` (with its folders and publisher) or `unknown` for a resource owned by another user. Derived from the caller’s own publications in DIAL Core, read once per request, and never from chat-api-side storage. Only applications and toolsets have versions.
|
|
216
|
+
* Get the publication status of every version of an entity
|
|
217
|
+
*/
|
|
218
|
+
async getCatalogVersionStatuses(requestParameters, initOverrides) {
|
|
219
|
+
const response = await this.getCatalogVersionStatusesRaw(requestParameters, initOverrides);
|
|
220
|
+
return await response.value();
|
|
221
|
+
}
|
|
139
222
|
/**
|
|
140
223
|
* Returns the exact requested folder\'s own access-restriction rules by proxying DIAL Core\'s `getPublicationRules` — ancestor-folder rules in the underlying response are discarded, never returned.
|
|
141
224
|
* Get a destination folder\'s already-configured access rules
|
|
@@ -263,6 +346,17 @@ class PublishApi extends runtime.BaseAPI {
|
|
|
263
346
|
}
|
|
264
347
|
}
|
|
265
348
|
exports.PublishApi = PublishApi;
|
|
349
|
+
/**
|
|
350
|
+
* @export
|
|
351
|
+
*/
|
|
352
|
+
exports.CopyCatalogEntityToOrgUnitEntityTypeEnum = {
|
|
353
|
+
Model: 'model',
|
|
354
|
+
Toolset: 'toolset',
|
|
355
|
+
Application: 'application',
|
|
356
|
+
Prompt: 'prompt',
|
|
357
|
+
Skill: 'skill',
|
|
358
|
+
Project: 'project',
|
|
359
|
+
};
|
|
266
360
|
/**
|
|
267
361
|
* @export
|
|
268
362
|
*/
|
|
@@ -296,6 +390,17 @@ exports.GetCatalogUnpublishAccessEntityTypeEnum = {
|
|
|
296
390
|
Skill: 'skill',
|
|
297
391
|
Project: 'project',
|
|
298
392
|
};
|
|
393
|
+
/**
|
|
394
|
+
* @export
|
|
395
|
+
*/
|
|
396
|
+
exports.GetCatalogVersionStatusesEntityTypeEnum = {
|
|
397
|
+
Model: 'model',
|
|
398
|
+
Toolset: 'toolset',
|
|
399
|
+
Application: 'application',
|
|
400
|
+
Prompt: 'prompt',
|
|
401
|
+
Skill: 'skill',
|
|
402
|
+
Project: 'project',
|
|
403
|
+
};
|
|
299
404
|
/**
|
|
300
405
|
* @export
|
|
301
406
|
*/
|
|
@@ -1690,6 +1690,45 @@ export interface Check200Response {
|
|
|
1690
1690
|
*/
|
|
1691
1691
|
buildId?: string;
|
|
1692
1692
|
}
|
|
1693
|
+
/**
|
|
1694
|
+
*
|
|
1695
|
+
* @export
|
|
1696
|
+
* @interface ClientAppConfigDto
|
|
1697
|
+
*/
|
|
1698
|
+
export interface ClientAppConfigDto {
|
|
1699
|
+
/**
|
|
1700
|
+
*
|
|
1701
|
+
* @type {string}
|
|
1702
|
+
* @memberof ClientAppConfigDto
|
|
1703
|
+
*/
|
|
1704
|
+
schemaVersion: string;
|
|
1705
|
+
/**
|
|
1706
|
+
* Canonical SHA-256 of the schema the payload was published against.
|
|
1707
|
+
* @type {string}
|
|
1708
|
+
* @memberof ClientAppConfigDto
|
|
1709
|
+
*/
|
|
1710
|
+
schemaSha256: string;
|
|
1711
|
+
/**
|
|
1712
|
+
*
|
|
1713
|
+
* @type {string}
|
|
1714
|
+
* @memberof ClientAppConfigDto
|
|
1715
|
+
*/
|
|
1716
|
+
revisionId: string;
|
|
1717
|
+
/**
|
|
1718
|
+
*
|
|
1719
|
+
* @type {string}
|
|
1720
|
+
* @memberof ClientAppConfigDto
|
|
1721
|
+
*/
|
|
1722
|
+
publishedAt: string;
|
|
1723
|
+
/**
|
|
1724
|
+
* The application's published payload. Chat does not validate it against the application's schema; the application does.
|
|
1725
|
+
* @type {{ [key: string]: unknown }}
|
|
1726
|
+
* @memberof ClientAppConfigDto
|
|
1727
|
+
*/
|
|
1728
|
+
payload: {
|
|
1729
|
+
[key: string]: unknown;
|
|
1730
|
+
};
|
|
1731
|
+
}
|
|
1693
1732
|
/**
|
|
1694
1733
|
*
|
|
1695
1734
|
* @export
|
|
@@ -1943,6 +1982,43 @@ export declare const ClientConfigDtoMcpAppThemeEnum: {
|
|
|
1943
1982
|
readonly Dark: "dark";
|
|
1944
1983
|
};
|
|
1945
1984
|
export type ClientConfigDtoMcpAppThemeEnum = (typeof ClientConfigDtoMcpAppThemeEnum)[keyof typeof ClientConfigDtoMcpAppThemeEnum];
|
|
1985
|
+
/**
|
|
1986
|
+
*
|
|
1987
|
+
* @export
|
|
1988
|
+
* @interface ClientConfigManagedMetadataDto
|
|
1989
|
+
*/
|
|
1990
|
+
export interface ClientConfigManagedMetadataDto {
|
|
1991
|
+
/**
|
|
1992
|
+
* The Config Studio instance this deployment maps the application identifier to.
|
|
1993
|
+
* @type {string}
|
|
1994
|
+
* @memberof ClientConfigManagedMetadataDto
|
|
1995
|
+
*/
|
|
1996
|
+
instanceId: string;
|
|
1997
|
+
/**
|
|
1998
|
+
* The managed state at resolution: `fresh` and `degraded` are usable; `stale`, `unavailable` and `not_published` mean no managed value or policy applied.
|
|
1999
|
+
* @type {ManagedConfigState}
|
|
2000
|
+
* @memberof ClientConfigManagedMetadataDto
|
|
2001
|
+
*/
|
|
2002
|
+
state: ManagedConfigState;
|
|
2003
|
+
/**
|
|
2004
|
+
* The applied revision; present only in a usable state.
|
|
2005
|
+
* @type {string}
|
|
2006
|
+
* @memberof ClientConfigManagedMetadataDto
|
|
2007
|
+
*/
|
|
2008
|
+
revisionId?: string;
|
|
2009
|
+
/**
|
|
2010
|
+
* The schema version of the applied revision; present only in a usable state.
|
|
2011
|
+
* @type {string}
|
|
2012
|
+
* @memberof ClientConfigManagedMetadataDto
|
|
2013
|
+
*/
|
|
2014
|
+
schemaVersion?: string;
|
|
2015
|
+
/**
|
|
2016
|
+
* When the applied revision was published; present only in a usable state.
|
|
2017
|
+
* @type {string}
|
|
2018
|
+
* @memberof ClientConfigManagedMetadataDto
|
|
2019
|
+
*/
|
|
2020
|
+
publishedAt?: string;
|
|
2021
|
+
}
|
|
1946
2022
|
/**
|
|
1947
2023
|
*
|
|
1948
2024
|
* @export
|
|
@@ -1961,6 +2037,18 @@ export interface ClientConfigMetadataDto {
|
|
|
1961
2037
|
* @memberof ClientConfigMetadataDto
|
|
1962
2038
|
*/
|
|
1963
2039
|
cacheTtlSeconds: number;
|
|
2040
|
+
/**
|
|
2041
|
+
* When the browser should refresh this response while its tab is visible. Present only when the deployment applies managed configuration; without it, the browser does not refresh on a timer.
|
|
2042
|
+
* @type {string}
|
|
2043
|
+
* @memberof ClientConfigMetadataDto
|
|
2044
|
+
*/
|
|
2045
|
+
nextRefreshAt?: string;
|
|
2046
|
+
/**
|
|
2047
|
+
* The managed snapshot state behind this response, when the deployment applies managed configuration for this application identifier.
|
|
2048
|
+
* @type {ClientConfigManagedMetadataDto}
|
|
2049
|
+
* @memberof ClientConfigMetadataDto
|
|
2050
|
+
*/
|
|
2051
|
+
managed?: ClientConfigManagedMetadataDto;
|
|
1964
2052
|
}
|
|
1965
2053
|
/**
|
|
1966
2054
|
*
|
|
@@ -1992,6 +2080,12 @@ export interface ClientConfigResponseDto {
|
|
|
1992
2080
|
* @memberof ClientConfigResponseDto
|
|
1993
2081
|
*/
|
|
1994
2082
|
metadata?: ClientConfigMetadataDto;
|
|
2083
|
+
/**
|
|
2084
|
+
* The published Config Studio payload of an application other than ai-dial-chat, unchanged. Present only when the deployment applies managed configuration and the snapshot is usable.
|
|
2085
|
+
* @type {ClientAppConfigDto}
|
|
2086
|
+
* @memberof ClientConfigResponseDto
|
|
2087
|
+
*/
|
|
2088
|
+
appConfig?: ClientAppConfigDto;
|
|
1995
2089
|
}
|
|
1996
2090
|
/**
|
|
1997
2091
|
*
|
|
@@ -2918,6 +3012,19 @@ export interface ConversationsConfigDto {
|
|
|
2918
3012
|
*/
|
|
2919
3013
|
pinnedIds: Array<string>;
|
|
2920
3014
|
}
|
|
3015
|
+
/**
|
|
3016
|
+
*
|
|
3017
|
+
* @export
|
|
3018
|
+
* @interface CopyCatalogEntityToOrgUnitDto
|
|
3019
|
+
*/
|
|
3020
|
+
export interface CopyCatalogEntityToOrgUnitDto {
|
|
3021
|
+
/**
|
|
3022
|
+
* Plain-text destination folder relative to the public bucket, never empty: the public root is not an org unit. DIAL Core decides whether the caller may write there.
|
|
3023
|
+
* @type {string}
|
|
3024
|
+
* @memberof CopyCatalogEntityToOrgUnitDto
|
|
3025
|
+
*/
|
|
3026
|
+
folderPath: string;
|
|
3027
|
+
}
|
|
2921
3028
|
/**
|
|
2922
3029
|
*
|
|
2923
3030
|
* @export
|
|
@@ -3321,6 +3428,12 @@ export interface CreateScheduledTaskBodyDto {
|
|
|
3321
3428
|
* @memberof CreateScheduledTaskBodyDto
|
|
3322
3429
|
*/
|
|
3323
3430
|
trigger: ScheduleTriggerDto;
|
|
3431
|
+
/**
|
|
3432
|
+
* IANA time zone the trigger is evaluated in. Cron fields and offset-less datetimes are local wall time in this zone. Omission means UTC; an update that omits it resets the zone to UTC.
|
|
3433
|
+
* @type {string}
|
|
3434
|
+
* @memberof CreateScheduledTaskBodyDto
|
|
3435
|
+
*/
|
|
3436
|
+
timezone?: string;
|
|
3324
3437
|
/**
|
|
3325
3438
|
*
|
|
3326
3439
|
* @type {string}
|
|
@@ -3529,6 +3642,12 @@ export interface CreatedScheduledTaskDto {
|
|
|
3529
3642
|
* @memberof CreatedScheduledTaskDto
|
|
3530
3643
|
*/
|
|
3531
3644
|
trigger: ScheduleTriggerDto;
|
|
3645
|
+
/**
|
|
3646
|
+
* IANA time zone the trigger is evaluated in. Always present on responses (UTC for tasks saved without one); declared optional so existing clients and fixtures stay valid.
|
|
3647
|
+
* @type {string}
|
|
3648
|
+
* @memberof CreatedScheduledTaskDto
|
|
3649
|
+
*/
|
|
3650
|
+
timezone?: string;
|
|
3532
3651
|
/**
|
|
3533
3652
|
*
|
|
3534
3653
|
* @type {string}
|
|
@@ -4165,6 +4284,12 @@ export interface DeploymentItemDto {
|
|
|
4165
4284
|
* @memberof DeploymentItemDto
|
|
4166
4285
|
*/
|
|
4167
4286
|
displayVersion?: string;
|
|
4287
|
+
/**
|
|
4288
|
+
* Identifies the versions of one application saved by one owner in one folder: the owner bucket, the folder and the base name without the `__<version>` suffix of the stored id. Absent for models and for ids without a version suffix.
|
|
4289
|
+
* @type {string}
|
|
4290
|
+
* @memberof DeploymentItemDto
|
|
4291
|
+
*/
|
|
4292
|
+
versionGroupId?: string;
|
|
4168
4293
|
/**
|
|
4169
4294
|
* Whether this deployment is featured (configured via env)
|
|
4170
4295
|
* @type {boolean}
|
|
@@ -4998,6 +5123,12 @@ export interface DialToolsetDto {
|
|
|
4998
5123
|
* @memberof DialToolsetDto
|
|
4999
5124
|
*/
|
|
5000
5125
|
displayVersion?: string;
|
|
5126
|
+
/**
|
|
5127
|
+
* Identifies the versions of one toolset saved by one owner in one folder: the owner bucket, the folder and the base name without the `__<version>` suffix of the stored id. Absent for an id without a version suffix.
|
|
5128
|
+
* @type {string}
|
|
5129
|
+
* @memberof DialToolsetDto
|
|
5130
|
+
*/
|
|
5131
|
+
versionGroupId?: string;
|
|
5001
5132
|
/**
|
|
5002
5133
|
*
|
|
5003
5134
|
* @type {DialToolsetDtoDescription}
|
|
@@ -6212,6 +6343,18 @@ export interface LocaleTextEntryDto {
|
|
|
6212
6343
|
*/
|
|
6213
6344
|
description?: string;
|
|
6214
6345
|
}
|
|
6346
|
+
/**
|
|
6347
|
+
* The managed state at resolution: `fresh` and `degraded` are usable; `stale`, `unavailable` and `not_published` mean no managed value or policy applied.
|
|
6348
|
+
* @export
|
|
6349
|
+
*/
|
|
6350
|
+
export declare const ManagedConfigState: {
|
|
6351
|
+
readonly Fresh: "fresh";
|
|
6352
|
+
readonly Degraded: "degraded";
|
|
6353
|
+
readonly Stale: "stale";
|
|
6354
|
+
readonly Unavailable: "unavailable";
|
|
6355
|
+
readonly NotPublished: "not_published";
|
|
6356
|
+
};
|
|
6357
|
+
export type ManagedConfigState = (typeof ManagedConfigState)[keyof typeof ManagedConfigState];
|
|
6215
6358
|
/**
|
|
6216
6359
|
*
|
|
6217
6360
|
* @export
|
|
@@ -7166,6 +7309,14 @@ export interface OrgUnitDto {
|
|
|
7166
7309
|
* @memberof OrgUnitDto
|
|
7167
7310
|
*/
|
|
7168
7311
|
folder: string;
|
|
7312
|
+
/**
|
|
7313
|
+
* Core's namespace-to-actions map for the caller in this unit; `{}` when the caller only reaches the unit through its parent
|
|
7314
|
+
* @type {{ [key: string]: Array<string>; }}
|
|
7315
|
+
* @memberof OrgUnitDto
|
|
7316
|
+
*/
|
|
7317
|
+
permissions: {
|
|
7318
|
+
[key: string]: Array<string>;
|
|
7319
|
+
};
|
|
7169
7320
|
}
|
|
7170
7321
|
/**
|
|
7171
7322
|
*
|
|
@@ -7179,6 +7330,12 @@ export interface OrgUnitsResponseDto {
|
|
|
7179
7330
|
* @memberof OrgUnitsResponseDto
|
|
7180
7331
|
*/
|
|
7181
7332
|
enabled: boolean;
|
|
7333
|
+
/**
|
|
7334
|
+
* `true` when Core reports full admin access for the caller; `false` otherwise
|
|
7335
|
+
* @type {boolean}
|
|
7336
|
+
* @memberof OrgUnitsResponseDto
|
|
7337
|
+
*/
|
|
7338
|
+
hasAdminAccess: boolean;
|
|
7182
7339
|
/**
|
|
7183
7340
|
*
|
|
7184
7341
|
* @type {Array<OrgUnitDto>}
|
|
@@ -8622,6 +8779,12 @@ export interface ScheduledTaskDto {
|
|
|
8622
8779
|
* @memberof ScheduledTaskDto
|
|
8623
8780
|
*/
|
|
8624
8781
|
trigger: ScheduleTriggerDto;
|
|
8782
|
+
/**
|
|
8783
|
+
* IANA time zone the trigger is evaluated in. Always present on responses (UTC for tasks saved without one); declared optional so existing clients and fixtures stay valid.
|
|
8784
|
+
* @type {string}
|
|
8785
|
+
* @memberof ScheduledTaskDto
|
|
8786
|
+
*/
|
|
8787
|
+
timezone?: string;
|
|
8625
8788
|
/**
|
|
8626
8789
|
*
|
|
8627
8790
|
* @type {string}
|
|
@@ -10419,6 +10582,12 @@ export interface UpdateScheduledTaskBodyDto {
|
|
|
10419
10582
|
* @memberof UpdateScheduledTaskBodyDto
|
|
10420
10583
|
*/
|
|
10421
10584
|
trigger: ScheduleTriggerDto;
|
|
10585
|
+
/**
|
|
10586
|
+
* IANA time zone the trigger is evaluated in. Cron fields and offset-less datetimes are local wall time in this zone. Omission means UTC; an update that omits it resets the zone to UTC.
|
|
10587
|
+
* @type {string}
|
|
10588
|
+
* @memberof UpdateScheduledTaskBodyDto
|
|
10589
|
+
*/
|
|
10590
|
+
timezone?: string;
|
|
10422
10591
|
/**
|
|
10423
10592
|
*
|
|
10424
10593
|
* @type {string}
|
|
@@ -10506,6 +10675,12 @@ export interface UpdatedScheduledTaskDto {
|
|
|
10506
10675
|
* @memberof UpdatedScheduledTaskDto
|
|
10507
10676
|
*/
|
|
10508
10677
|
trigger: ScheduleTriggerDto;
|
|
10678
|
+
/**
|
|
10679
|
+
* IANA time zone the trigger is evaluated in. Always present on responses (UTC for tasks saved without one); declared optional so existing clients and fixtures stay valid.
|
|
10680
|
+
* @type {string}
|
|
10681
|
+
* @memberof UpdatedScheduledTaskDto
|
|
10682
|
+
*/
|
|
10683
|
+
timezone?: string;
|
|
10509
10684
|
/**
|
|
10510
10685
|
*
|
|
10511
10686
|
* @type {string}
|
|
@@ -10776,6 +10951,54 @@ export interface UserProfileDto {
|
|
|
10776
10951
|
*/
|
|
10777
10952
|
pictureUrl?: string;
|
|
10778
10953
|
}
|
|
10954
|
+
/**
|
|
10955
|
+
*
|
|
10956
|
+
* @export
|
|
10957
|
+
*/
|
|
10958
|
+
export declare const VersionPublicationStatus: {
|
|
10959
|
+
readonly NotPublished: "not-published";
|
|
10960
|
+
readonly InReview: "in-review";
|
|
10961
|
+
readonly Published: "published";
|
|
10962
|
+
readonly Unknown: "unknown";
|
|
10963
|
+
};
|
|
10964
|
+
export type VersionPublicationStatus = (typeof VersionPublicationStatus)[keyof typeof VersionPublicationStatus];
|
|
10965
|
+
/**
|
|
10966
|
+
*
|
|
10967
|
+
* @export
|
|
10968
|
+
* @interface VersionStatusEntryDto
|
|
10969
|
+
*/
|
|
10970
|
+
export interface VersionStatusEntryDto {
|
|
10971
|
+
/**
|
|
10972
|
+
* DIAL Core resource id of the version, as the listings return it.
|
|
10973
|
+
* @type {string}
|
|
10974
|
+
* @memberof VersionStatusEntryDto
|
|
10975
|
+
*/
|
|
10976
|
+
id: string;
|
|
10977
|
+
/**
|
|
10978
|
+
* Display version of the version; empty when the resource has none.
|
|
10979
|
+
* @type {string}
|
|
10980
|
+
* @memberof VersionStatusEntryDto
|
|
10981
|
+
*/
|
|
10982
|
+
version: string;
|
|
10983
|
+
/**
|
|
10984
|
+
*
|
|
10985
|
+
* @type {VersionPublicationStatus}
|
|
10986
|
+
* @memberof VersionStatusEntryDto
|
|
10987
|
+
*/
|
|
10988
|
+
status: VersionPublicationStatus;
|
|
10989
|
+
/**
|
|
10990
|
+
* Folders a published version is published to, without the `public/` prefix; empty otherwise.
|
|
10991
|
+
* @type {Array<string>}
|
|
10992
|
+
* @memberof VersionStatusEntryDto
|
|
10993
|
+
*/
|
|
10994
|
+
publishedFolders: Array<string>;
|
|
10995
|
+
/**
|
|
10996
|
+
* Display name of the publisher of a published version.
|
|
10997
|
+
* @type {string}
|
|
10998
|
+
* @memberof VersionStatusEntryDto
|
|
10999
|
+
*/
|
|
11000
|
+
publishedBy?: string;
|
|
11001
|
+
}
|
|
10779
11002
|
/**
|
|
10780
11003
|
*
|
|
10781
11004
|
* @export
|