@knowledge-stack/ksapi 1.41.0 → 1.42.0

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 (133) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +18 -9
  3. package/dist/apis/ApiKeysApi.d.ts +187 -0
  4. package/dist/apis/ApiKeysApi.js +193 -0
  5. package/dist/apis/AuthApi.d.ts +6 -0
  6. package/dist/apis/AuthApi.js +6 -0
  7. package/dist/apis/ChunkLineagesApi.d.ts +9 -0
  8. package/dist/apis/ChunkLineagesApi.js +9 -0
  9. package/dist/apis/ChunksApi.d.ts +24 -0
  10. package/dist/apis/ChunksApi.js +24 -0
  11. package/dist/apis/DocumentVersionsApi.d.ts +21 -0
  12. package/dist/apis/DocumentVersionsApi.js +21 -0
  13. package/dist/apis/DocumentsApi.d.ts +21 -0
  14. package/dist/apis/DocumentsApi.js +21 -0
  15. package/dist/apis/FoldersApi.d.ts +21 -0
  16. package/dist/apis/FoldersApi.js +21 -0
  17. package/dist/apis/InvitesApi.d.ts +12 -0
  18. package/dist/apis/InvitesApi.js +12 -0
  19. package/dist/apis/PathPartsApi.d.ts +18 -0
  20. package/dist/apis/PathPartsApi.js +18 -0
  21. package/dist/apis/SectionsApi.d.ts +12 -0
  22. package/dist/apis/SectionsApi.js +12 -0
  23. package/dist/apis/TagsApi.d.ts +15 -0
  24. package/dist/apis/TagsApi.js +15 -0
  25. package/dist/apis/TenantsApi.d.ts +24 -0
  26. package/dist/apis/TenantsApi.js +24 -0
  27. package/dist/apis/ThreadMessagesApi.d.ts +9 -0
  28. package/dist/apis/ThreadMessagesApi.js +9 -0
  29. package/dist/apis/ThreadsApi.d.ts +21 -0
  30. package/dist/apis/ThreadsApi.js +21 -0
  31. package/dist/apis/UserPermissionsApi.d.ts +12 -0
  32. package/dist/apis/UserPermissionsApi.js +12 -0
  33. package/dist/apis/UsersApi.d.ts +6 -0
  34. package/dist/apis/UsersApi.js +6 -0
  35. package/dist/apis/WorkflowsApi.d.ts +9 -0
  36. package/dist/apis/WorkflowsApi.js +9 -0
  37. package/dist/apis/index.d.ts +1 -0
  38. package/dist/apis/index.js +1 -0
  39. package/dist/esm/apis/ApiKeysApi.d.ts +187 -0
  40. package/dist/esm/apis/ApiKeysApi.js +189 -0
  41. package/dist/esm/apis/AuthApi.d.ts +6 -0
  42. package/dist/esm/apis/AuthApi.js +6 -0
  43. package/dist/esm/apis/ChunkLineagesApi.d.ts +9 -0
  44. package/dist/esm/apis/ChunkLineagesApi.js +9 -0
  45. package/dist/esm/apis/ChunksApi.d.ts +24 -0
  46. package/dist/esm/apis/ChunksApi.js +24 -0
  47. package/dist/esm/apis/DocumentVersionsApi.d.ts +21 -0
  48. package/dist/esm/apis/DocumentVersionsApi.js +21 -0
  49. package/dist/esm/apis/DocumentsApi.d.ts +21 -0
  50. package/dist/esm/apis/DocumentsApi.js +21 -0
  51. package/dist/esm/apis/FoldersApi.d.ts +21 -0
  52. package/dist/esm/apis/FoldersApi.js +21 -0
  53. package/dist/esm/apis/InvitesApi.d.ts +12 -0
  54. package/dist/esm/apis/InvitesApi.js +12 -0
  55. package/dist/esm/apis/PathPartsApi.d.ts +18 -0
  56. package/dist/esm/apis/PathPartsApi.js +18 -0
  57. package/dist/esm/apis/SectionsApi.d.ts +12 -0
  58. package/dist/esm/apis/SectionsApi.js +12 -0
  59. package/dist/esm/apis/TagsApi.d.ts +15 -0
  60. package/dist/esm/apis/TagsApi.js +15 -0
  61. package/dist/esm/apis/TenantsApi.d.ts +24 -0
  62. package/dist/esm/apis/TenantsApi.js +24 -0
  63. package/dist/esm/apis/ThreadMessagesApi.d.ts +9 -0
  64. package/dist/esm/apis/ThreadMessagesApi.js +9 -0
  65. package/dist/esm/apis/ThreadsApi.d.ts +21 -0
  66. package/dist/esm/apis/ThreadsApi.js +21 -0
  67. package/dist/esm/apis/UserPermissionsApi.d.ts +12 -0
  68. package/dist/esm/apis/UserPermissionsApi.js +12 -0
  69. package/dist/esm/apis/UsersApi.d.ts +6 -0
  70. package/dist/esm/apis/UsersApi.js +6 -0
  71. package/dist/esm/apis/WorkflowsApi.d.ts +9 -0
  72. package/dist/esm/apis/WorkflowsApi.js +9 -0
  73. package/dist/esm/apis/index.d.ts +1 -0
  74. package/dist/esm/apis/index.js +1 -0
  75. package/dist/esm/models/ApiKeyResponse.d.ts +65 -0
  76. package/dist/esm/models/ApiKeyResponse.js +56 -0
  77. package/dist/esm/models/CreateApiKeyRequest.d.ts +47 -0
  78. package/dist/esm/models/CreateApiKeyRequest.js +49 -0
  79. package/dist/esm/models/CreateApiKeyResponse.d.ts +71 -0
  80. package/dist/esm/models/CreateApiKeyResponse.js +60 -0
  81. package/dist/esm/models/index.d.ts +3 -0
  82. package/dist/esm/models/index.js +3 -0
  83. package/dist/models/ApiKeyResponse.d.ts +65 -0
  84. package/dist/models/ApiKeyResponse.js +64 -0
  85. package/dist/models/CreateApiKeyRequest.d.ts +47 -0
  86. package/dist/models/CreateApiKeyRequest.js +57 -0
  87. package/dist/models/CreateApiKeyResponse.d.ts +71 -0
  88. package/dist/models/CreateApiKeyResponse.js +68 -0
  89. package/dist/models/index.d.ts +3 -0
  90. package/dist/models/index.js +3 -0
  91. package/docs/ApiKeyResponse.md +41 -0
  92. package/docs/ApiKeysApi.md +293 -0
  93. package/docs/AuthApi.md +8 -2
  94. package/docs/ChunkLineagesApi.md +12 -3
  95. package/docs/ChunksApi.md +32 -8
  96. package/docs/CreateApiKeyRequest.md +35 -0
  97. package/docs/CreateApiKeyResponse.md +43 -0
  98. package/docs/DocumentVersionsApi.md +28 -7
  99. package/docs/DocumentsApi.md +28 -7
  100. package/docs/FoldersApi.md +28 -7
  101. package/docs/InvitesApi.md +16 -4
  102. package/docs/PathPartsApi.md +24 -6
  103. package/docs/SectionsApi.md +16 -4
  104. package/docs/TagsApi.md +20 -5
  105. package/docs/TenantsApi.md +32 -8
  106. package/docs/ThreadMessagesApi.md +12 -3
  107. package/docs/ThreadsApi.md +28 -7
  108. package/docs/UserPermissionsApi.md +16 -4
  109. package/docs/UsersApi.md +8 -2
  110. package/docs/WorkflowsApi.md +12 -3
  111. package/package.json +1 -1
  112. package/src/apis/ApiKeysApi.ts +350 -0
  113. package/src/apis/AuthApi.ts +14 -0
  114. package/src/apis/ChunkLineagesApi.ts +21 -0
  115. package/src/apis/ChunksApi.ts +56 -0
  116. package/src/apis/DocumentVersionsApi.ts +49 -0
  117. package/src/apis/DocumentsApi.ts +49 -0
  118. package/src/apis/FoldersApi.ts +49 -0
  119. package/src/apis/InvitesApi.ts +28 -0
  120. package/src/apis/PathPartsApi.ts +42 -0
  121. package/src/apis/SectionsApi.ts +28 -0
  122. package/src/apis/TagsApi.ts +35 -0
  123. package/src/apis/TenantsApi.ts +56 -0
  124. package/src/apis/ThreadMessagesApi.ts +21 -0
  125. package/src/apis/ThreadsApi.ts +49 -0
  126. package/src/apis/UserPermissionsApi.ts +28 -0
  127. package/src/apis/UsersApi.ts +14 -0
  128. package/src/apis/WorkflowsApi.ts +21 -0
  129. package/src/apis/index.ts +1 -0
  130. package/src/models/ApiKeyResponse.ts +110 -0
  131. package/src/models/CreateApiKeyRequest.ts +87 -0
  132. package/src/models/CreateApiKeyResponse.ts +119 -0
  133. package/src/models/index.ts +3 -0
@@ -0,0 +1,350 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Knowledge Stack API
5
+ * Knowledge Stack backend API for authentication and knowledge management
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import * as runtime from '../runtime';
17
+ import type {
18
+ ApiKeyResponse,
19
+ CreateApiKeyRequest,
20
+ CreateApiKeyResponse,
21
+ HTTPValidationError,
22
+ } from '../models/index';
23
+ import {
24
+ ApiKeyResponseFromJSON,
25
+ ApiKeyResponseToJSON,
26
+ CreateApiKeyRequestFromJSON,
27
+ CreateApiKeyRequestToJSON,
28
+ CreateApiKeyResponseFromJSON,
29
+ CreateApiKeyResponseToJSON,
30
+ HTTPValidationErrorFromJSON,
31
+ HTTPValidationErrorToJSON,
32
+ } from '../models/index';
33
+
34
+ export interface CreateApiKeyOperationRequest {
35
+ createApiKeyRequest: CreateApiKeyRequest;
36
+ ksUat?: string | null;
37
+ }
38
+
39
+ export interface DeleteApiKeyRequest {
40
+ apiKeyId: string;
41
+ ksUat?: string | null;
42
+ }
43
+
44
+ export interface GetApiKeyRequest {
45
+ apiKeyId: string;
46
+ ksUat?: string | null;
47
+ }
48
+
49
+ export interface ListApiKeysRequest {
50
+ ksUat?: string | null;
51
+ }
52
+
53
+ /**
54
+ * ApiKeysApi - interface
55
+ *
56
+ * @export
57
+ * @interface ApiKeysApiInterface
58
+ */
59
+ export interface ApiKeysApiInterface {
60
+ /**
61
+ * Creates request options for createApiKey without sending the request
62
+ * @param {CreateApiKeyRequest} createApiKeyRequest
63
+ * @param {string} [ksUat]
64
+ * @throws {RequiredError}
65
+ * @memberof ApiKeysApiInterface
66
+ */
67
+ createApiKeyRequestOpts(requestParameters: CreateApiKeyOperationRequest): Promise<runtime.RequestOpts>;
68
+
69
+ /**
70
+ * Create a new API key. The full key is returned only once.
71
+ * @summary Create Api Key Handler
72
+ * @param {CreateApiKeyRequest} createApiKeyRequest
73
+ * @param {string} [ksUat]
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ * @memberof ApiKeysApiInterface
77
+ */
78
+ createApiKeyRaw(requestParameters: CreateApiKeyOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateApiKeyResponse>>;
79
+
80
+ /**
81
+ * Create a new API key. The full key is returned only once.
82
+ * Create Api Key Handler
83
+ */
84
+ createApiKey(requestParameters: CreateApiKeyOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateApiKeyResponse>;
85
+
86
+ /**
87
+ * Creates request options for deleteApiKey without sending the request
88
+ * @param {string} apiKeyId
89
+ * @param {string} [ksUat]
90
+ * @throws {RequiredError}
91
+ * @memberof ApiKeysApiInterface
92
+ */
93
+ deleteApiKeyRequestOpts(requestParameters: DeleteApiKeyRequest): Promise<runtime.RequestOpts>;
94
+
95
+ /**
96
+ * Delete an API key.
97
+ * @summary Delete Api Key Handler
98
+ * @param {string} apiKeyId
99
+ * @param {string} [ksUat]
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ * @memberof ApiKeysApiInterface
103
+ */
104
+ deleteApiKeyRaw(requestParameters: DeleteApiKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
105
+
106
+ /**
107
+ * Delete an API key.
108
+ * Delete Api Key Handler
109
+ */
110
+ deleteApiKey(requestParameters: DeleteApiKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
111
+
112
+ /**
113
+ * Creates request options for getApiKey without sending the request
114
+ * @param {string} apiKeyId
115
+ * @param {string} [ksUat]
116
+ * @throws {RequiredError}
117
+ * @memberof ApiKeysApiInterface
118
+ */
119
+ getApiKeyRequestOpts(requestParameters: GetApiKeyRequest): Promise<runtime.RequestOpts>;
120
+
121
+ /**
122
+ * Get a single API key by ID.
123
+ * @summary Get Api Key Handler
124
+ * @param {string} apiKeyId
125
+ * @param {string} [ksUat]
126
+ * @param {*} [options] Override http request option.
127
+ * @throws {RequiredError}
128
+ * @memberof ApiKeysApiInterface
129
+ */
130
+ getApiKeyRaw(requestParameters: GetApiKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiKeyResponse>>;
131
+
132
+ /**
133
+ * Get a single API key by ID.
134
+ * Get Api Key Handler
135
+ */
136
+ getApiKey(requestParameters: GetApiKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiKeyResponse>;
137
+
138
+ /**
139
+ * Creates request options for listApiKeys without sending the request
140
+ * @param {string} [ksUat]
141
+ * @throws {RequiredError}
142
+ * @memberof ApiKeysApiInterface
143
+ */
144
+ listApiKeysRequestOpts(requestParameters: ListApiKeysRequest): Promise<runtime.RequestOpts>;
145
+
146
+ /**
147
+ * List all API keys for the current user.
148
+ * @summary List Api Keys Handler
149
+ * @param {string} [ksUat]
150
+ * @param {*} [options] Override http request option.
151
+ * @throws {RequiredError}
152
+ * @memberof ApiKeysApiInterface
153
+ */
154
+ listApiKeysRaw(requestParameters: ListApiKeysRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ApiKeyResponse>>>;
155
+
156
+ /**
157
+ * List all API keys for the current user.
158
+ * List Api Keys Handler
159
+ */
160
+ listApiKeys(requestParameters: ListApiKeysRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApiKeyResponse>>;
161
+
162
+ }
163
+
164
+ /**
165
+ *
166
+ */
167
+ export class ApiKeysApi extends runtime.BaseAPI implements ApiKeysApiInterface {
168
+
169
+ /**
170
+ * Creates request options for createApiKey without sending the request
171
+ */
172
+ async createApiKeyRequestOpts(requestParameters: CreateApiKeyOperationRequest): Promise<runtime.RequestOpts> {
173
+ if (requestParameters['createApiKeyRequest'] == null) {
174
+ throw new runtime.RequiredError(
175
+ 'createApiKeyRequest',
176
+ 'Required parameter "createApiKeyRequest" was null or undefined when calling createApiKey().'
177
+ );
178
+ }
179
+
180
+ const queryParameters: any = {};
181
+
182
+ const headerParameters: runtime.HTTPHeaders = {};
183
+
184
+ headerParameters['Content-Type'] = 'application/json';
185
+
186
+
187
+ let urlPath = `/v1/api-keys`;
188
+
189
+ return {
190
+ path: urlPath,
191
+ method: 'POST',
192
+ headers: headerParameters,
193
+ query: queryParameters,
194
+ body: CreateApiKeyRequestToJSON(requestParameters['createApiKeyRequest']),
195
+ };
196
+ }
197
+
198
+ /**
199
+ * Create a new API key. The full key is returned only once.
200
+ * Create Api Key Handler
201
+ */
202
+ async createApiKeyRaw(requestParameters: CreateApiKeyOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateApiKeyResponse>> {
203
+ const requestOptions = await this.createApiKeyRequestOpts(requestParameters);
204
+ const response = await this.request(requestOptions, initOverrides);
205
+
206
+ return new runtime.JSONApiResponse(response, (jsonValue) => CreateApiKeyResponseFromJSON(jsonValue));
207
+ }
208
+
209
+ /**
210
+ * Create a new API key. The full key is returned only once.
211
+ * Create Api Key Handler
212
+ */
213
+ async createApiKey(requestParameters: CreateApiKeyOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateApiKeyResponse> {
214
+ const response = await this.createApiKeyRaw(requestParameters, initOverrides);
215
+ return await response.value();
216
+ }
217
+
218
+ /**
219
+ * Creates request options for deleteApiKey without sending the request
220
+ */
221
+ async deleteApiKeyRequestOpts(requestParameters: DeleteApiKeyRequest): Promise<runtime.RequestOpts> {
222
+ if (requestParameters['apiKeyId'] == null) {
223
+ throw new runtime.RequiredError(
224
+ 'apiKeyId',
225
+ 'Required parameter "apiKeyId" was null or undefined when calling deleteApiKey().'
226
+ );
227
+ }
228
+
229
+ const queryParameters: any = {};
230
+
231
+ const headerParameters: runtime.HTTPHeaders = {};
232
+
233
+
234
+ let urlPath = `/v1/api-keys/{api_key_id}`;
235
+ urlPath = urlPath.replace(`{${"api_key_id"}}`, encodeURIComponent(String(requestParameters['apiKeyId'])));
236
+
237
+ return {
238
+ path: urlPath,
239
+ method: 'DELETE',
240
+ headers: headerParameters,
241
+ query: queryParameters,
242
+ };
243
+ }
244
+
245
+ /**
246
+ * Delete an API key.
247
+ * Delete Api Key Handler
248
+ */
249
+ async deleteApiKeyRaw(requestParameters: DeleteApiKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
250
+ const requestOptions = await this.deleteApiKeyRequestOpts(requestParameters);
251
+ const response = await this.request(requestOptions, initOverrides);
252
+
253
+ return new runtime.VoidApiResponse(response);
254
+ }
255
+
256
+ /**
257
+ * Delete an API key.
258
+ * Delete Api Key Handler
259
+ */
260
+ async deleteApiKey(requestParameters: DeleteApiKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
261
+ await this.deleteApiKeyRaw(requestParameters, initOverrides);
262
+ }
263
+
264
+ /**
265
+ * Creates request options for getApiKey without sending the request
266
+ */
267
+ async getApiKeyRequestOpts(requestParameters: GetApiKeyRequest): Promise<runtime.RequestOpts> {
268
+ if (requestParameters['apiKeyId'] == null) {
269
+ throw new runtime.RequiredError(
270
+ 'apiKeyId',
271
+ 'Required parameter "apiKeyId" was null or undefined when calling getApiKey().'
272
+ );
273
+ }
274
+
275
+ const queryParameters: any = {};
276
+
277
+ const headerParameters: runtime.HTTPHeaders = {};
278
+
279
+
280
+ let urlPath = `/v1/api-keys/{api_key_id}`;
281
+ urlPath = urlPath.replace(`{${"api_key_id"}}`, encodeURIComponent(String(requestParameters['apiKeyId'])));
282
+
283
+ return {
284
+ path: urlPath,
285
+ method: 'GET',
286
+ headers: headerParameters,
287
+ query: queryParameters,
288
+ };
289
+ }
290
+
291
+ /**
292
+ * Get a single API key by ID.
293
+ * Get Api Key Handler
294
+ */
295
+ async getApiKeyRaw(requestParameters: GetApiKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiKeyResponse>> {
296
+ const requestOptions = await this.getApiKeyRequestOpts(requestParameters);
297
+ const response = await this.request(requestOptions, initOverrides);
298
+
299
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiKeyResponseFromJSON(jsonValue));
300
+ }
301
+
302
+ /**
303
+ * Get a single API key by ID.
304
+ * Get Api Key Handler
305
+ */
306
+ async getApiKey(requestParameters: GetApiKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiKeyResponse> {
307
+ const response = await this.getApiKeyRaw(requestParameters, initOverrides);
308
+ return await response.value();
309
+ }
310
+
311
+ /**
312
+ * Creates request options for listApiKeys without sending the request
313
+ */
314
+ async listApiKeysRequestOpts(requestParameters: ListApiKeysRequest): Promise<runtime.RequestOpts> {
315
+ const queryParameters: any = {};
316
+
317
+ const headerParameters: runtime.HTTPHeaders = {};
318
+
319
+
320
+ let urlPath = `/v1/api-keys`;
321
+
322
+ return {
323
+ path: urlPath,
324
+ method: 'GET',
325
+ headers: headerParameters,
326
+ query: queryParameters,
327
+ };
328
+ }
329
+
330
+ /**
331
+ * List all API keys for the current user.
332
+ * List Api Keys Handler
333
+ */
334
+ async listApiKeysRaw(requestParameters: ListApiKeysRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ApiKeyResponse>>> {
335
+ const requestOptions = await this.listApiKeysRequestOpts(requestParameters);
336
+ const response = await this.request(requestOptions, initOverrides);
337
+
338
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ApiKeyResponseFromJSON));
339
+ }
340
+
341
+ /**
342
+ * List all API keys for the current user.
343
+ * List Api Keys Handler
344
+ */
345
+ async listApiKeys(requestParameters: ListApiKeysRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApiKeyResponse>> {
346
+ const response = await this.listApiKeysRaw(requestParameters, initOverrides);
347
+ return await response.value();
348
+ }
349
+
350
+ }
@@ -77,11 +77,13 @@ export interface PwSigninRequest {
77
77
 
78
78
  export interface RefreshUatRequest {
79
79
  tenantId?: string | null;
80
+ authorization?: string | null;
80
81
  ksUat?: string | null;
81
82
  }
82
83
 
83
84
  export interface ResetPasswordRequest {
84
85
  passwordResetRequest: PasswordResetRequest;
86
+ authorization?: string | null;
85
87
  ksUat?: string | null;
86
88
  }
87
89
 
@@ -234,6 +236,7 @@ export interface AuthApiInterface {
234
236
  /**
235
237
  * Creates request options for refreshUat without sending the request
236
238
  * @param {string} [tenantId] Target tenant ID to switch to. None&#x3D;refresh current tenant
239
+ * @param {string} [authorization]
237
240
  * @param {string} [ksUat]
238
241
  * @throws {RequiredError}
239
242
  * @memberof AuthApiInterface
@@ -244,6 +247,7 @@ export interface AuthApiInterface {
244
247
  * Refresh or switch the user\'s active tenant token.
245
248
  * @summary Refresh Uat Handler
246
249
  * @param {string} [tenantId] Target tenant ID to switch to. None&#x3D;refresh current tenant
250
+ * @param {string} [authorization]
247
251
  * @param {string} [ksUat]
248
252
  * @param {*} [options] Override http request option.
249
253
  * @throws {RequiredError}
@@ -260,6 +264,7 @@ export interface AuthApiInterface {
260
264
  /**
261
265
  * Creates request options for resetPassword without sending the request
262
266
  * @param {PasswordResetRequest} passwordResetRequest
267
+ * @param {string} [authorization]
263
268
  * @param {string} [ksUat]
264
269
  * @throws {RequiredError}
265
270
  * @memberof AuthApiInterface
@@ -270,6 +275,7 @@ export interface AuthApiInterface {
270
275
  * Reset password for the authenticated user
271
276
  * @summary Reset Password Handler
272
277
  * @param {PasswordResetRequest} passwordResetRequest
278
+ * @param {string} [authorization]
273
279
  * @param {string} [ksUat]
274
280
  * @param {*} [options] Override http request option.
275
281
  * @throws {RequiredError}
@@ -639,6 +645,10 @@ export class AuthApi extends runtime.BaseAPI implements AuthApiInterface {
639
645
 
640
646
  const headerParameters: runtime.HTTPHeaders = {};
641
647
 
648
+ if (requestParameters['authorization'] != null) {
649
+ headerParameters['authorization'] = String(requestParameters['authorization']);
650
+ }
651
+
642
652
 
643
653
  let urlPath = `/v1/auth/uat`;
644
654
 
@@ -687,6 +697,10 @@ export class AuthApi extends runtime.BaseAPI implements AuthApiInterface {
687
697
 
688
698
  headerParameters['Content-Type'] = 'application/json';
689
699
 
700
+ if (requestParameters['authorization'] != null) {
701
+ headerParameters['authorization'] = String(requestParameters['authorization']);
702
+ }
703
+
690
704
 
691
705
  let urlPath = `/v1/auth/pw/reset`;
692
706
 
@@ -33,18 +33,21 @@ import {
33
33
 
34
34
  export interface CreateChunkLineageOperationRequest {
35
35
  createChunkLineageRequest: CreateChunkLineageRequest;
36
+ authorization?: string | null;
36
37
  ksUat?: string | null;
37
38
  }
38
39
 
39
40
  export interface DeleteChunkLineageRequest {
40
41
  parentChunkId: string;
41
42
  chunkId: string;
43
+ authorization?: string | null;
42
44
  ksUat?: string | null;
43
45
  }
44
46
 
45
47
  export interface GetChunkLineageRequest {
46
48
  chunkId: string;
47
49
  maxDepth?: number;
50
+ authorization?: string | null;
48
51
  ksUat?: string | null;
49
52
  }
50
53
 
@@ -58,6 +61,7 @@ export interface ChunkLineagesApiInterface {
58
61
  /**
59
62
  * Creates request options for createChunkLineage without sending the request
60
63
  * @param {CreateChunkLineageRequest} createChunkLineageRequest
64
+ * @param {string} [authorization]
61
65
  * @param {string} [ksUat]
62
66
  * @throws {RequiredError}
63
67
  * @memberof ChunkLineagesApiInterface
@@ -68,6 +72,7 @@ export interface ChunkLineagesApiInterface {
68
72
  * Batch-create lineage edges for a child chunk. Creates edges from each parent chunk to the specified child chunk. All chunks must exist in the same tenant.
69
73
  * @summary Create Chunk Lineage Handler
70
74
  * @param {CreateChunkLineageRequest} createChunkLineageRequest
75
+ * @param {string} [authorization]
71
76
  * @param {string} [ksUat]
72
77
  * @param {*} [options] Override http request option.
73
78
  * @throws {RequiredError}
@@ -85,6 +90,7 @@ export interface ChunkLineagesApiInterface {
85
90
  * Creates request options for deleteChunkLineage without sending the request
86
91
  * @param {string} parentChunkId Parent chunk ID
87
92
  * @param {string} chunkId Child chunk ID
93
+ * @param {string} [authorization]
88
94
  * @param {string} [ksUat]
89
95
  * @throws {RequiredError}
90
96
  * @memberof ChunkLineagesApiInterface
@@ -96,6 +102,7 @@ export interface ChunkLineagesApiInterface {
96
102
  * @summary Delete Chunk Lineage Handler
97
103
  * @param {string} parentChunkId Parent chunk ID
98
104
  * @param {string} chunkId Child chunk ID
105
+ * @param {string} [authorization]
99
106
  * @param {string} [ksUat]
100
107
  * @param {*} [options] Override http request option.
101
108
  * @throws {RequiredError}
@@ -113,6 +120,7 @@ export interface ChunkLineagesApiInterface {
113
120
  * Creates request options for getChunkLineage without sending the request
114
121
  * @param {string} chunkId
115
122
  * @param {number} [maxDepth]
123
+ * @param {string} [authorization]
116
124
  * @param {string} [ksUat]
117
125
  * @throws {RequiredError}
118
126
  * @memberof ChunkLineagesApiInterface
@@ -124,6 +132,7 @@ export interface ChunkLineagesApiInterface {
124
132
  * @summary Get Chunk Lineage Handler
125
133
  * @param {string} chunkId
126
134
  * @param {number} [maxDepth]
135
+ * @param {string} [authorization]
127
136
  * @param {string} [ksUat]
128
137
  * @param {*} [options] Override http request option.
129
138
  * @throws {RequiredError}
@@ -161,6 +170,10 @@ export class ChunkLineagesApi extends runtime.BaseAPI implements ChunkLineagesAp
161
170
 
162
171
  headerParameters['Content-Type'] = 'application/json';
163
172
 
173
+ if (requestParameters['authorization'] != null) {
174
+ headerParameters['authorization'] = String(requestParameters['authorization']);
175
+ }
176
+
164
177
 
165
178
  let urlPath = `/v1/chunk-lineages`;
166
179
 
@@ -223,6 +236,10 @@ export class ChunkLineagesApi extends runtime.BaseAPI implements ChunkLineagesAp
223
236
 
224
237
  const headerParameters: runtime.HTTPHeaders = {};
225
238
 
239
+ if (requestParameters['authorization'] != null) {
240
+ headerParameters['authorization'] = String(requestParameters['authorization']);
241
+ }
242
+
226
243
 
227
244
  let urlPath = `/v1/chunk-lineages`;
228
245
 
@@ -272,6 +289,10 @@ export class ChunkLineagesApi extends runtime.BaseAPI implements ChunkLineagesAp
272
289
 
273
290
  const headerParameters: runtime.HTTPHeaders = {};
274
291
 
292
+ if (requestParameters['authorization'] != null) {
293
+ headerParameters['authorization'] = String(requestParameters['authorization']);
294
+ }
295
+
275
296
 
276
297
  let urlPath = `/v1/chunk-lineages/{chunk_id}`;
277
298
  urlPath = urlPath.replace(`{${"chunk_id"}}`, encodeURIComponent(String(requestParameters['chunkId'])));