@epam/ai-dial-chat-api-client 1.3.0 → 1.3.2

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.
@@ -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,2BAA2B,EAC3B,wBAAwB,EACxB,qBAAqB,EACrB,yBAAyB,EACzB,eAAe,EACf,0BAA0B,EAC1B,qBAAqB,EAErB,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,eAAe,EAAE,MAAM,CAAC;IACxB,yBAAyB,EAAE,yBAAyB,CAAC;CACtD;AAED,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,6BAA6B;IAC5C,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,sBAAsB;IACrC,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,eAAe,CAAC;CAClC;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,2BAA2B,CAC/B,i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ACrB,iBAAiB,EAAE,wBAAwB,EAC3C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,qBAAqB,CAAC;CAOlC"}
@@ -10,10 +10,13 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { DialModelDto, DialModelListResponseDto } from '../models/index';
13
+ import type { DialModelDto, DialModelListResponseDto, ModelCatalogEntryDto, ModelCatalogListResponseDto } from '../models/index';
14
14
  export interface GetModelRequest {
15
15
  modelName: string;
16
16
  }
17
+ export interface GetModelCatalogEntryRequest {
18
+ modelName: string;
19
+ }
17
20
  /**
18
21
  *
19
22
  */
@@ -28,6 +31,26 @@ export declare class ModelsApi extends runtime.BaseAPI {
28
31
  * Get model by name
29
32
  */
30
33
  getModel(requestParameters: GetModelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DialModelDto>;
34
+ /**
35
+ * Returns one model from the cached model catalog, without a separate DIAL Core call. A model hidden from the catalog key answers 404, never 403, so its existence is not revealed.
36
+ * Get a model from the catalog
37
+ */
38
+ getModelCatalogEntryRaw(requestParameters: GetModelCatalogEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ModelCatalogEntryDto>>;
39
+ /**
40
+ * Returns one model from the cached model catalog, without a separate DIAL Core call. A model hidden from the catalog key answers 404, never 403, so its existence is not revealed.
41
+ * Get a model from the catalog
42
+ */
43
+ getModelCatalogEntry(requestParameters: GetModelCatalogEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ModelCatalogEntryDto>;
44
+ /**
45
+ * Returns the DIAL Core models visible to the server-side MODEL_CATALOG_API_KEY, including models the caller\'s own roles cannot access. Display data only: GET /api/v1/models still decides what the user can use, and Core invocation settings (defaults, responses_defaults, max_retry_attempts, tokenizer_model) are omitted. One server-side cache entry, shared by all users, is kept for 5 minutes.
46
+ * List the model catalog
47
+ */
48
+ listModelCatalogRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ModelCatalogListResponseDto>>;
49
+ /**
50
+ * Returns the DIAL Core models visible to the server-side MODEL_CATALOG_API_KEY, including models the caller\'s own roles cannot access. Display data only: GET /api/v1/models still decides what the user can use, and Core invocation settings (defaults, responses_defaults, max_retry_attempts, tokenizer_model) are omitted. One server-side cache entry, shared by all users, is kept for 5 minutes.
51
+ * List the model catalog
52
+ */
53
+ listModelCatalog(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ModelCatalogListResponseDto>;
31
54
  /**
32
55
  * Returns the list of DIAL Core deployments visible to the authenticated session user. Proxies GET /openai/models using the caller\'s session access token. Results are cached server-side for 30 seconds per user.
33
56
  * List available models
@@ -1 +1 @@
1
- {"version":3,"file":"ModelsApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/ModelsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAAE,YAAY,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAE9E,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,qBAAa,SAAU,SAAQ,OAAO,CAAC,OAAO;IAC5C;;;OAGG;IACG,WAAW,CACf,iBAAiB,EAAE,eAAe,EAClC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;IAwC7C;;;OAGG;IACG,QAAQ,CACZ,iBAAiB,EAAE,eAAe,EAClC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,YAAY,CAAC;IAKxB;;;OAGG;IACG,aAAa,CACjB,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAA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B,CAAC;IAQhC;;;OAGG;IACG,mBAAmB,CACvB,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,2BAA2B,CAAC,CAAC;IA6B5D;;;OAGG;IACG,gBAAgB,CACpB,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,2BAA2B,CAAC;IAKvC;;;OAGG;IACG,aAAa,CACjB,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,wBAAwB,CAAC,CAAC;IA6BzD;;;OAGG;IACG,UAAU,CACd,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,wBAAwB,CAAC;CAIrC"}
@@ -54,6 +54,72 @@ class ModelsApi extends runtime.BaseAPI {
54
54
  const response = await this.getModelRaw(requestParameters, initOverrides);
55
55
  return await response.value();
56
56
  }
57
+ /**
58
+ * Returns one model from the cached model catalog, without a separate DIAL Core call. A model hidden from the catalog key answers 404, never 403, so its existence is not revealed.
59
+ * Get a model from the catalog
60
+ */
61
+ async getModelCatalogEntryRaw(requestParameters, initOverrides) {
62
+ if (requestParameters['modelName'] == null) {
63
+ throw new runtime.RequiredError('modelName', 'Required parameter "modelName" was null or undefined when calling getModelCatalogEntry().');
64
+ }
65
+ const queryParameters = {};
66
+ const headerParameters = {};
67
+ if (this.configuration && this.configuration.accessToken) {
68
+ const token = this.configuration.accessToken;
69
+ const tokenString = await token('bearer', []);
70
+ if (tokenString) {
71
+ headerParameters['Authorization'] = `Bearer ${tokenString}`;
72
+ }
73
+ }
74
+ let urlPath = `/api/v1/model-catalog/{modelName}`;
75
+ urlPath = urlPath.replace(`{${'modelName'}}`, encodeURIComponent(String(requestParameters['modelName'])));
76
+ const response = await this.request({
77
+ path: urlPath,
78
+ method: 'GET',
79
+ headers: headerParameters,
80
+ query: queryParameters,
81
+ }, initOverrides);
82
+ return new runtime.JSONApiResponse(response);
83
+ }
84
+ /**
85
+ * Returns one model from the cached model catalog, without a separate DIAL Core call. A model hidden from the catalog key answers 404, never 403, so its existence is not revealed.
86
+ * Get a model from the catalog
87
+ */
88
+ async getModelCatalogEntry(requestParameters, initOverrides) {
89
+ const response = await this.getModelCatalogEntryRaw(requestParameters, initOverrides);
90
+ return await response.value();
91
+ }
92
+ /**
93
+ * Returns the DIAL Core models visible to the server-side MODEL_CATALOG_API_KEY, including models the caller\'s own roles cannot access. Display data only: GET /api/v1/models still decides what the user can use, and Core invocation settings (defaults, responses_defaults, max_retry_attempts, tokenizer_model) are omitted. One server-side cache entry, shared by all users, is kept for 5 minutes.
94
+ * List the model catalog
95
+ */
96
+ async listModelCatalogRaw(initOverrides) {
97
+ const queryParameters = {};
98
+ const headerParameters = {};
99
+ if (this.configuration && this.configuration.accessToken) {
100
+ const token = this.configuration.accessToken;
101
+ const tokenString = await token('bearer', []);
102
+ if (tokenString) {
103
+ headerParameters['Authorization'] = `Bearer ${tokenString}`;
104
+ }
105
+ }
106
+ let urlPath = `/api/v1/model-catalog`;
107
+ const response = await this.request({
108
+ path: urlPath,
109
+ method: 'GET',
110
+ headers: headerParameters,
111
+ query: queryParameters,
112
+ }, initOverrides);
113
+ return new runtime.JSONApiResponse(response);
114
+ }
115
+ /**
116
+ * Returns the DIAL Core models visible to the server-side MODEL_CATALOG_API_KEY, including models the caller\'s own roles cannot access. Display data only: GET /api/v1/models still decides what the user can use, and Core invocation settings (defaults, responses_defaults, max_retry_attempts, tokenizer_model) are omitted. One server-side cache entry, shared by all users, is kept for 5 minutes.
117
+ * List the model catalog
118
+ */
119
+ async listModelCatalog(initOverrides) {
120
+ const response = await this.listModelCatalogRaw(initOverrides);
121
+ return await response.value();
122
+ }
57
123
  /**
58
124
  * Returns the list of DIAL Core deployments visible to the authenticated session user. Proxies GET /openai/models using the caller\'s session access token. Results are cached server-side for 30 seconds per user.
59
125
  * List available models
@@ -0,0 +1,29 @@
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 { OrgUnitsResponseDto } from '../models/index';
14
+ /**
15
+ *
16
+ */
17
+ export declare class OrgUnitsApi extends runtime.BaseAPI {
18
+ /**
19
+ * Returns the DIAL Core org units the authenticated user may see, flat and parents first. `enabled` is false 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
+ * List the org units visible to the caller
21
+ */
22
+ listOrgUnitsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OrgUnitsResponseDto>>;
23
+ /**
24
+ * Returns the DIAL Core org units the authenticated user may see, flat and parents first. `enabled` is false 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
+ * List the org units visible to the caller
26
+ */
27
+ listOrgUnits(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OrgUnitsResponseDto>;
28
+ }
29
+ //# sourceMappingURL=OrgUnitsApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrgUnitsApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/OrgUnitsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAE3D;;GAEG;AACH,qBAAa,WAAY,SAAQ,OAAO,CAAC,OAAO;IAC9C;;;OAGG;IACG,eAAe,CACnB,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,mBAAmB,CAAC,CAAC;IA6BpD;;;OAGG;IACG,YAAY,CAChB,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,mBAAmB,CAAC;CAIhC"}
@@ -0,0 +1,54 @@
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.OrgUnitsApi = void 0;
17
+ const runtime = require("../runtime");
18
+ /**
19
+ *
20
+ */
21
+ class OrgUnitsApi extends runtime.BaseAPI {
22
+ /**
23
+ * Returns the DIAL Core org units the authenticated user may see, flat and parents first. `enabled` is false 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
+ * List the org units visible to the caller
25
+ */
26
+ async listOrgUnitsRaw(initOverrides) {
27
+ const queryParameters = {};
28
+ const headerParameters = {};
29
+ if (this.configuration && this.configuration.accessToken) {
30
+ const token = this.configuration.accessToken;
31
+ const tokenString = await token('bearer', []);
32
+ if (tokenString) {
33
+ headerParameters['Authorization'] = `Bearer ${tokenString}`;
34
+ }
35
+ }
36
+ let urlPath = `/api/v1/org-units`;
37
+ const response = await this.request({
38
+ path: urlPath,
39
+ method: 'GET',
40
+ headers: headerParameters,
41
+ query: queryParameters,
42
+ }, initOverrides);
43
+ return new runtime.JSONApiResponse(response);
44
+ }
45
+ /**
46
+ * Returns the DIAL Core org units the authenticated user may see, flat and parents first. `enabled` is false 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
+ * List the org units visible to the caller
48
+ */
49
+ async listOrgUnits(initOverrides) {
50
+ const response = await this.listOrgUnitsRaw(initOverrides);
51
+ return await response.value();
52
+ }
53
+ }
54
+ exports.OrgUnitsApi = OrgUnitsApi;
@@ -232,12 +232,12 @@ export declare class ProjectsApi extends runtime.BaseAPI {
232
232
  */
233
233
  listProjectArtifacts(requestParameters: ListProjectArtifactsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectArtifactListResponseDto>;
234
234
  /**
235
- * Lists every conversation stored in the project\'s `conversations/` folder, newest first, with their authors. DIAL Core cannot page the folder in this order, so the list is not paged; the client pages it locally. Bodies are read for the 20 newest conversations only: the others have a cached title or carry `isTitlePending`, which `POST /api/v1/projects/:id/conversations/titles` resolves.
235
+ * Lists every conversation stored in the project\'s `conversations/` folder, newest first, with their authors. DIAL Core cannot page the folder in this order, so the list is not paged; the client pages it locally. Bodies are read for the 20 newest conversations only: the others have a cached title or carry `isTitlePending`, which `POST /api/v1/projects/:id/conversations/titles` resolves. A published project is the exception: its files all carry the time of the copy, so every body is read, no item is pending, and the conversations are ordered by their last message.
236
236
  * List a project\'s conversations
237
237
  */
238
238
  listProjectConversationsRaw(requestParameters: ListProjectConversationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectConversationListResponseDto>>;
239
239
  /**
240
- * Lists every conversation stored in the project\'s `conversations/` folder, newest first, with their authors. DIAL Core cannot page the folder in this order, so the list is not paged; the client pages it locally. Bodies are read for the 20 newest conversations only: the others have a cached title or carry `isTitlePending`, which `POST /api/v1/projects/:id/conversations/titles` resolves.
240
+ * Lists every conversation stored in the project\'s `conversations/` folder, newest first, with their authors. DIAL Core cannot page the folder in this order, so the list is not paged; the client pages it locally. Bodies are read for the 20 newest conversations only: the others have a cached title or carry `isTitlePending`, which `POST /api/v1/projects/:id/conversations/titles` resolves. A published project is the exception: its files all carry the time of the copy, so every body is read, no item is pending, and the conversations are ordered by their last message.
241
241
  * List a project\'s conversations
242
242
  */
243
243
  listProjectConversations(requestParameters: ListProjectConversationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectConversationListResponseDto>;
@@ -547,7 +547,7 @@ class ProjectsApi extends runtime.BaseAPI {
547
547
  return await response.value();
548
548
  }
549
549
  /**
550
- * Lists every conversation stored in the project\'s `conversations/` folder, newest first, with their authors. DIAL Core cannot page the folder in this order, so the list is not paged; the client pages it locally. Bodies are read for the 20 newest conversations only: the others have a cached title or carry `isTitlePending`, which `POST /api/v1/projects/:id/conversations/titles` resolves.
550
+ * Lists every conversation stored in the project\'s `conversations/` folder, newest first, with their authors. DIAL Core cannot page the folder in this order, so the list is not paged; the client pages it locally. Bodies are read for the 20 newest conversations only: the others have a cached title or carry `isTitlePending`, which `POST /api/v1/projects/:id/conversations/titles` resolves. A published project is the exception: its files all carry the time of the copy, so every body is read, no item is pending, and the conversations are ordered by their last message.
551
551
  * List a project\'s conversations
552
552
  */
553
553
  async listProjectConversationsRaw(requestParameters, initOverrides) {
@@ -574,7 +574,7 @@ class ProjectsApi extends runtime.BaseAPI {
574
574
  return new runtime.JSONApiResponse(response);
575
575
  }
576
576
  /**
577
- * Lists every conversation stored in the project\'s `conversations/` folder, newest first, with their authors. DIAL Core cannot page the folder in this order, so the list is not paged; the client pages it locally. Bodies are read for the 20 newest conversations only: the others have a cached title or carry `isTitlePending`, which `POST /api/v1/projects/:id/conversations/titles` resolves.
577
+ * Lists every conversation stored in the project\'s `conversations/` folder, newest first, with their authors. DIAL Core cannot page the folder in this order, so the list is not paged; the client pages it locally. Bodies are read for the 20 newest conversations only: the others have a cached title or carry `isTitlePending`, which `POST /api/v1/projects/:id/conversations/titles` resolves. A published project is the exception: its files all carry the time of the copy, so every body is read, no item is pending, and the conversations are ordered by their last message.
578
578
  * List a project\'s conversations
579
579
  */
580
580
  async listProjectConversations(requestParameters, initOverrides) {
@@ -12,6 +12,7 @@ export * from './FilesApi';
12
12
  export * from './HealthApi';
13
13
  export * from './ModelsApi';
14
14
  export * from './OfflineCredentialsApi';
15
+ export * from './OrgUnitsApi';
15
16
  export * from './ProjectsApi';
16
17
  export * from './PromptsApi';
17
18
  export * from './PublishApi';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC"}
@@ -17,6 +17,7 @@ tslib_1.__exportStar(require("./FilesApi"), exports);
17
17
  tslib_1.__exportStar(require("./HealthApi"), exports);
18
18
  tslib_1.__exportStar(require("./ModelsApi"), exports);
19
19
  tslib_1.__exportStar(require("./OfflineCredentialsApi"), exports);
20
+ tslib_1.__exportStar(require("./OrgUnitsApi"), exports);
20
21
  tslib_1.__exportStar(require("./ProjectsApi"), exports);
21
22
  tslib_1.__exportStar(require("./PromptsApi"), exports);
22
23
  tslib_1.__exportStar(require("./PublishApi"), exports);