@epam/ai-dial-chat-api-client 1.2.0-dev.99 → 1.3.0-dev.5

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.
Files changed (56) hide show
  1. package/generated/src/apis/ApplicationsApi.d.ts +2 -2
  2. package/generated/src/apis/ApplicationsApi.d.ts.map +1 -1
  3. package/generated/src/apis/ApplicationsApi.js +44 -2
  4. package/generated/src/apis/ChatApi.d.ts.map +1 -1
  5. package/generated/src/apis/ChatApi.js +7 -0
  6. package/generated/src/apis/ClientChannelApi.d.ts.map +1 -1
  7. package/generated/src/apis/ClientChannelApi.js +21 -0
  8. package/generated/src/apis/ConversationsApi.d.ts.map +1 -1
  9. package/generated/src/apis/ConversationsApi.js +133 -0
  10. package/generated/src/apis/CustomApiApi.d.ts +32 -0
  11. package/generated/src/apis/CustomApiApi.d.ts.map +1 -0
  12. package/generated/src/apis/CustomApiApi.js +58 -0
  13. package/generated/src/apis/DeploymentsApi.d.ts.map +1 -1
  14. package/generated/src/apis/DeploymentsApi.js +28 -0
  15. package/generated/src/apis/ExternalServicesApi.d.ts.map +1 -1
  16. package/generated/src/apis/ExternalServicesApi.js +28 -0
  17. package/generated/src/apis/FilesApi.d.ts +8 -0
  18. package/generated/src/apis/FilesApi.d.ts.map +1 -1
  19. package/generated/src/apis/FilesApi.js +146 -0
  20. package/generated/src/apis/ModelsApi.d.ts.map +1 -1
  21. package/generated/src/apis/ModelsApi.js +14 -0
  22. package/generated/src/apis/OfflineCredentialsApi.d.ts.map +1 -1
  23. package/generated/src/apis/OfflineCredentialsApi.js +14 -0
  24. package/generated/src/apis/PromptsApi.d.ts.map +1 -1
  25. package/generated/src/apis/PromptsApi.js +77 -0
  26. package/generated/src/apis/PublishApi.d.ts.map +1 -1
  27. package/generated/src/apis/PublishApi.js +28 -0
  28. package/generated/src/apis/RateApi.d.ts.map +1 -1
  29. package/generated/src/apis/RateApi.js +7 -0
  30. package/generated/src/apis/ScheduledTasksApi.d.ts +33 -5
  31. package/generated/src/apis/ScheduledTasksApi.d.ts.map +1 -1
  32. package/generated/src/apis/ScheduledTasksApi.js +137 -4
  33. package/generated/src/apis/ShareApi.d.ts.map +1 -1
  34. package/generated/src/apis/ShareApi.js +35 -0
  35. package/generated/src/apis/SkillsApi.d.ts.map +1 -1
  36. package/generated/src/apis/SkillsApi.js +98 -0
  37. package/generated/src/apis/TextRefinementApi.d.ts +32 -0
  38. package/generated/src/apis/TextRefinementApi.d.ts.map +1 -0
  39. package/generated/src/apis/TextRefinementApi.js +59 -0
  40. package/generated/src/apis/ToolsetsApi.d.ts.map +1 -1
  41. package/generated/src/apis/ToolsetsApi.js +77 -0
  42. package/generated/src/apis/TranscriptionApi.d.ts.map +1 -1
  43. package/generated/src/apis/TranscriptionApi.js +7 -0
  44. package/generated/src/apis/UserApi.d.ts +30 -8
  45. package/generated/src/apis/UserApi.d.ts.map +1 -1
  46. package/generated/src/apis/UserApi.js +45 -11
  47. package/generated/src/apis/UserConfigApi.d.ts.map +1 -1
  48. package/generated/src/apis/UserConfigApi.js +49 -0
  49. package/generated/src/apis/index.d.ts +2 -0
  50. package/generated/src/apis/index.d.ts.map +1 -1
  51. package/generated/src/apis/index.js +2 -0
  52. package/generated/src/models/index.d.ts +361 -13
  53. package/generated/src/models/index.d.ts.map +1 -1
  54. package/generated/src/models/index.js +42 -1
  55. package/package.json +1 -1
  56. package/tsconfig.lib.tsbuildinfo +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"UserApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/UserApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAEjE;;GAEG;AACH,qBAAa,OAAQ,SAAQ,OAAO,CAAC,OAAO;IAC1C;;;OAGG;IACG,gBAAgB,CACpB,aAAa,CAAC,EAAE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,CAAC,yBAAyB,CAAC;IAQrC;;;OAGG;IACG,eAAe,CACnB,iBAAiB,EAAE,mBAAmB,EACtC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,yBAAyB,CAAC,CAAC;IAiC1D;;;OAGG;IACG,YAAY,CAChB,iBAAiB,GAAE,mBAAwB,EAC3C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,yBAAyB,CAAC;CAOtC;AAED;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;CAGnC,CAAC;AACX,MAAM,MAAM,gCAAgC,GAC1C,CAAC,OAAO,gCAAgC,CAAC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC;AAC3F;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;CAGlC,CAAC;AACX,MAAM,MAAM,+BAA+B,GACzC,CAAC,OAAO,+BAA+B,CAAC,CAAC,MAAM,OAAO,+BAA+B,CAAC,CAAC"}
@@ -13,19 +13,29 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.UserApi = void 0;
16
+ exports.GetUserUsageDeploymentTypesEnum = exports.GetUserLimitsDeploymentTypesEnum = exports.UserApi = void 0;
17
17
  const runtime = require("../runtime");
18
18
  /**
19
19
  *
20
20
  */
21
21
  class UserApi extends runtime.BaseAPI {
22
22
  /**
23
- * Returns rate-limit and calendar-period usage statistics for every model deployment visible to the caller, plus the caller\'s global cost-budget figures. The day, week, and month stats cover the current UTC day, week, and month; each may carry a `resetsAt` instant, which the response forwards verbatim from DIAL Core. Proxies GET /v1/user/limits using the caller\'s session access token. Not cached — every request hits DIAL Core for real-time usage data.
23
+ * Returns rate-limit and calendar-period usage statistics for every deployment of the requested kinds visible to the caller, plus the caller\'s global cost-budget figures. `deploymentTypes` selects models and/or applications; when omitted, the server-configured default kinds are reported. A deployment\'s cost includes the cost of deployments it called, so per-deployment cost figures overlap and are not additive. The day, week, and month stats cover the current UTC day, week, and month; each may carry a `resetsAt` instant, which the response forwards verbatim from DIAL Core. Proxies GET /v1/user/limits using the caller\'s session access token. Not cached — every request hits DIAL Core for real-time usage data.
24
24
  * Get aggregate usage limits for every visible deployment
25
25
  */
26
- async getUserLimitsRaw(initOverrides) {
26
+ async getUserLimitsRaw(requestParameters, initOverrides) {
27
27
  const queryParameters = {};
28
+ if (requestParameters['deploymentTypes'] != null) {
29
+ queryParameters['deploymentTypes'] = requestParameters['deploymentTypes'];
30
+ }
28
31
  const headerParameters = {};
32
+ if (this.configuration && this.configuration.accessToken) {
33
+ const token = this.configuration.accessToken;
34
+ const tokenString = await token('bearer', []);
35
+ if (tokenString) {
36
+ headerParameters['Authorization'] = `Bearer ${tokenString}`;
37
+ }
38
+ }
29
39
  let urlPath = `/api/v1/user/limits`;
30
40
  const response = await this.request({
31
41
  path: urlPath,
@@ -36,20 +46,30 @@ class UserApi extends runtime.BaseAPI {
36
46
  return new runtime.JSONApiResponse(response);
37
47
  }
38
48
  /**
39
- * Returns rate-limit and calendar-period usage statistics for every model deployment visible to the caller, plus the caller\'s global cost-budget figures. The day, week, and month stats cover the current UTC day, week, and month; each may carry a `resetsAt` instant, which the response forwards verbatim from DIAL Core. Proxies GET /v1/user/limits using the caller\'s session access token. Not cached — every request hits DIAL Core for real-time usage data.
49
+ * Returns rate-limit and calendar-period usage statistics for every deployment of the requested kinds visible to the caller, plus the caller\'s global cost-budget figures. `deploymentTypes` selects models and/or applications; when omitted, the server-configured default kinds are reported. A deployment\'s cost includes the cost of deployments it called, so per-deployment cost figures overlap and are not additive. The day, week, and month stats cover the current UTC day, week, and month; each may carry a `resetsAt` instant, which the response forwards verbatim from DIAL Core. Proxies GET /v1/user/limits using the caller\'s session access token. Not cached — every request hits DIAL Core for real-time usage data.
40
50
  * Get aggregate usage limits for every visible deployment
41
51
  */
42
- async getUserLimits(initOverrides) {
43
- const response = await this.getUserLimitsRaw(initOverrides);
52
+ async getUserLimits(requestParameters = {}, initOverrides) {
53
+ const response = await this.getUserLimitsRaw(requestParameters, initOverrides);
44
54
  return await response.value();
45
55
  }
46
56
  /**
47
- * Returns the same shape as GET /user/limits, restricted to deployments the caller actually used within the currently reported calendar periods (the current UTC day, week, and month). Each day, week, and month stat may carry a `resetsAt` instant, which the response forwards verbatim from DIAL Core. Proxies GET /v1/user/usage using the caller\'s session access token. Not cached — every request hits DIAL Core for real-time usage data.
57
+ * Returns the same shape as GET /user/limits, restricted to deployments the caller actually used within the currently reported calendar periods (the current UTC day, week, and month). Each day, week, and month stat may carry a `resetsAt` instant, which the response forwards verbatim from DIAL Core. `deploymentTypes` selects models and/or applications; when omitted, the server-configured default kinds are reported. A deployment\'s cost includes the cost of deployments it called, so per-deployment cost figures are not additive. Proxies GET /v1/user/usage using the caller\'s session access token. Not cached — every request hits DIAL Core for real-time usage data.
48
58
  * Get usage limits for deployments used in the current calendar periods
49
59
  */
50
- async getUserUsageRaw(initOverrides) {
60
+ async getUserUsageRaw(requestParameters, initOverrides) {
51
61
  const queryParameters = {};
62
+ if (requestParameters['deploymentTypes'] != null) {
63
+ queryParameters['deploymentTypes'] = requestParameters['deploymentTypes'];
64
+ }
52
65
  const headerParameters = {};
66
+ if (this.configuration && this.configuration.accessToken) {
67
+ const token = this.configuration.accessToken;
68
+ const tokenString = await token('bearer', []);
69
+ if (tokenString) {
70
+ headerParameters['Authorization'] = `Bearer ${tokenString}`;
71
+ }
72
+ }
53
73
  let urlPath = `/api/v1/user/usage`;
54
74
  const response = await this.request({
55
75
  path: urlPath,
@@ -60,12 +80,26 @@ class UserApi extends runtime.BaseAPI {
60
80
  return new runtime.JSONApiResponse(response);
61
81
  }
62
82
  /**
63
- * Returns the same shape as GET /user/limits, restricted to deployments the caller actually used within the currently reported calendar periods (the current UTC day, week, and month). Each day, week, and month stat may carry a `resetsAt` instant, which the response forwards verbatim from DIAL Core. Proxies GET /v1/user/usage using the caller\'s session access token. Not cached — every request hits DIAL Core for real-time usage data.
83
+ * Returns the same shape as GET /user/limits, restricted to deployments the caller actually used within the currently reported calendar periods (the current UTC day, week, and month). Each day, week, and month stat may carry a `resetsAt` instant, which the response forwards verbatim from DIAL Core. `deploymentTypes` selects models and/or applications; when omitted, the server-configured default kinds are reported. A deployment\'s cost includes the cost of deployments it called, so per-deployment cost figures are not additive. Proxies GET /v1/user/usage using the caller\'s session access token. Not cached — every request hits DIAL Core for real-time usage data.
64
84
  * Get usage limits for deployments used in the current calendar periods
65
85
  */
66
- async getUserUsage(initOverrides) {
67
- const response = await this.getUserUsageRaw(initOverrides);
86
+ async getUserUsage(requestParameters = {}, initOverrides) {
87
+ const response = await this.getUserUsageRaw(requestParameters, initOverrides);
68
88
  return await response.value();
69
89
  }
70
90
  }
71
91
  exports.UserApi = UserApi;
92
+ /**
93
+ * @export
94
+ */
95
+ exports.GetUserLimitsDeploymentTypesEnum = {
96
+ Model: 'model',
97
+ Application: 'application',
98
+ };
99
+ /**
100
+ * @export
101
+ */
102
+ exports.GetUserUsageDeploymentTypesEnum = {
103
+ Model: 'model',
104
+ Application: 'application',
105
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"UserConfigApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/UserConfigApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,kBAAkB,EAClB,wBAAwB,EACxB,uBAAuB,EACvB,aAAa,EACb,2BAA2B,EAC3B,aAAa,EACd,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,gCAAgC;IAC/C,kBAAkB,EAAE,kBAAkB,CAAC;CACxC;AAED,MAAM,WAAW,4BAA4B;IAC3C,wBAAwB,EAAE,wBAAwB,CAAC;CACpD;AAED,MAAM,WAAW,2BAA2B;IAC1C,uBAAuB,EAAE,uBAAuB,CAAC;CAClD;AAED,MAAM,WAAW,6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Aa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,IAAI,CAAC;IAIhB;;OAEG;IACG,2BAA2B,CAC/B,iBAAiB,EAAE,+BAA+B,EAClD,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAuCrC;;OAEG;IACG,wBAAwB,CAC5B,iBAAiB,EAAE,+BAA+B,EAClD,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,IAAI,CAAC;CAGjB"}
@@ -25,6 +25,13 @@ class UserConfigApi extends runtime.BaseAPI {
25
25
  async getUserConfigRaw(initOverrides) {
26
26
  const queryParameters = {};
27
27
  const headerParameters = {};
28
+ if (this.configuration && this.configuration.accessToken) {
29
+ const token = this.configuration.accessToken;
30
+ const tokenString = await token('bearer', []);
31
+ if (tokenString) {
32
+ headerParameters['Authorization'] = `Bearer ${tokenString}`;
33
+ }
34
+ }
28
35
  let urlPath = `/api/v1/user-config`;
29
36
  const response = await this.request({
30
37
  path: urlPath,
@@ -51,6 +58,13 @@ class UserConfigApi extends runtime.BaseAPI {
51
58
  const queryParameters = {};
52
59
  const headerParameters = {};
53
60
  headerParameters['Content-Type'] = 'application/json';
61
+ if (this.configuration && this.configuration.accessToken) {
62
+ const token = this.configuration.accessToken;
63
+ const tokenString = await token('bearer', []);
64
+ if (tokenString) {
65
+ headerParameters['Authorization'] = `Bearer ${tokenString}`;
66
+ }
67
+ }
54
68
  let urlPath = `/api/v1/user-config/deployments`;
55
69
  const response = await this.request({
56
70
  path: urlPath,
@@ -77,6 +91,13 @@ class UserConfigApi extends runtime.BaseAPI {
77
91
  const queryParameters = {};
78
92
  const headerParameters = {};
79
93
  headerParameters['Content-Type'] = 'application/json';
94
+ if (this.configuration && this.configuration.accessToken) {
95
+ const token = this.configuration.accessToken;
96
+ const tokenString = await token('bearer', []);
97
+ if (tokenString) {
98
+ headerParameters['Authorization'] = `Bearer ${tokenString}`;
99
+ }
100
+ }
80
101
  let urlPath = `/api/v1/user-config/prompts`;
81
102
  const response = await this.request({
82
103
  path: urlPath,
@@ -103,6 +124,13 @@ class UserConfigApi extends runtime.BaseAPI {
103
124
  const queryParameters = {};
104
125
  const headerParameters = {};
105
126
  headerParameters['Content-Type'] = 'application/json';
127
+ if (this.configuration && this.configuration.accessToken) {
128
+ const token = this.configuration.accessToken;
129
+ const tokenString = await token('bearer', []);
130
+ if (tokenString) {
131
+ headerParameters['Authorization'] = `Bearer ${tokenString}`;
132
+ }
133
+ }
106
134
  let urlPath = `/api/v1/user-config/skills`;
107
135
  const response = await this.request({
108
136
  path: urlPath,
@@ -129,6 +157,13 @@ class UserConfigApi extends runtime.BaseAPI {
129
157
  const queryParameters = {};
130
158
  const headerParameters = {};
131
159
  headerParameters['Content-Type'] = 'application/json';
160
+ if (this.configuration && this.configuration.accessToken) {
161
+ const token = this.configuration.accessToken;
162
+ const tokenString = await token('bearer', []);
163
+ if (tokenString) {
164
+ headerParameters['Authorization'] = `Bearer ${tokenString}`;
165
+ }
166
+ }
132
167
  let urlPath = `/api/v1/user-config/toolsets`;
133
168
  const response = await this.request({
134
169
  path: urlPath,
@@ -155,6 +190,13 @@ class UserConfigApi extends runtime.BaseAPI {
155
190
  const queryParameters = {};
156
191
  const headerParameters = {};
157
192
  headerParameters['Content-Type'] = 'application/json';
193
+ if (this.configuration && this.configuration.accessToken) {
194
+ const token = this.configuration.accessToken;
195
+ const tokenString = await token('bearer', []);
196
+ if (tokenString) {
197
+ headerParameters['Authorization'] = `Bearer ${tokenString}`;
198
+ }
199
+ }
158
200
  let urlPath = `/api/v1/user-config/pins`;
159
201
  const response = await this.request({
160
202
  path: urlPath,
@@ -181,6 +223,13 @@ class UserConfigApi extends runtime.BaseAPI {
181
223
  const queryParameters = {};
182
224
  const headerParameters = {};
183
225
  headerParameters['Content-Type'] = 'application/json';
226
+ if (this.configuration && this.configuration.accessToken) {
227
+ const token = this.configuration.accessToken;
228
+ const tokenString = await token('bearer', []);
229
+ if (tokenString) {
230
+ headerParameters['Authorization'] = `Bearer ${tokenString}`;
231
+ }
232
+ }
184
233
  let urlPath = `/api/v1/user-config/deployments/selected`;
185
234
  const response = await this.request({
186
235
  path: urlPath,
@@ -4,6 +4,7 @@ export * from './AuthApi';
4
4
  export * from './ChatApi';
5
5
  export * from './ClientChannelApi';
6
6
  export * from './ConversationsApi';
7
+ export * from './CustomApiApi';
7
8
  export * from './DeploymentsApi';
8
9
  export * from './ExternalServicesApi';
9
10
  export * from './FilesApi';
@@ -16,6 +17,7 @@ export * from './RateApi';
16
17
  export * from './ScheduledTasksApi';
17
18
  export * from './ShareApi';
18
19
  export * from './SkillsApi';
20
+ export * from './TextRefinementApi';
19
21
  export * from './ThemesApi';
20
22
  export * from './ToolsetsApi';
21
23
  export * from './TranscriptionApi';
@@ -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,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,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,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,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,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,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"}
@@ -9,6 +9,7 @@ tslib_1.__exportStar(require("./AuthApi"), exports);
9
9
  tslib_1.__exportStar(require("./ChatApi"), exports);
10
10
  tslib_1.__exportStar(require("./ClientChannelApi"), exports);
11
11
  tslib_1.__exportStar(require("./ConversationsApi"), exports);
12
+ tslib_1.__exportStar(require("./CustomApiApi"), exports);
12
13
  tslib_1.__exportStar(require("./DeploymentsApi"), exports);
13
14
  tslib_1.__exportStar(require("./ExternalServicesApi"), exports);
14
15
  tslib_1.__exportStar(require("./FilesApi"), exports);
@@ -21,6 +22,7 @@ tslib_1.__exportStar(require("./RateApi"), exports);
21
22
  tslib_1.__exportStar(require("./ScheduledTasksApi"), exports);
22
23
  tslib_1.__exportStar(require("./ShareApi"), exports);
23
24
  tslib_1.__exportStar(require("./SkillsApi"), exports);
25
+ tslib_1.__exportStar(require("./TextRefinementApi"), exports);
24
26
  tslib_1.__exportStar(require("./ThemesApi"), exports);
25
27
  tslib_1.__exportStar(require("./ToolsetsApi"), exports);
26
28
  tslib_1.__exportStar(require("./TranscriptionApi"), exports);