@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
@@ -40,6 +40,9 @@ class DocumentsApi extends runtime.BaseAPI {
40
40
  const queryParameters = {};
41
41
  const headerParameters = {};
42
42
  headerParameters['Content-Type'] = 'application/json';
43
+ if (requestParameters['authorization'] != null) {
44
+ headerParameters['authorization'] = String(requestParameters['authorization']);
45
+ }
43
46
  let urlPath = `/v1/documents`;
44
47
  return {
45
48
  path: urlPath,
@@ -81,6 +84,9 @@ class DocumentsApi extends runtime.BaseAPI {
81
84
  }
82
85
  const queryParameters = {};
83
86
  const headerParameters = {};
87
+ if (requestParameters['authorization'] != null) {
88
+ headerParameters['authorization'] = String(requestParameters['authorization']);
89
+ }
84
90
  let urlPath = `/v1/documents/{document_id}`;
85
91
  urlPath = urlPath.replace(`{${"document_id"}}`, encodeURIComponent(String(requestParameters['documentId'])));
86
92
  return {
@@ -124,6 +130,9 @@ class DocumentsApi extends runtime.BaseAPI {
124
130
  queryParameters['with_tags'] = requestParameters['withTags'];
125
131
  }
126
132
  const headerParameters = {};
133
+ if (requestParameters['authorization'] != null) {
134
+ headerParameters['authorization'] = String(requestParameters['authorization']);
135
+ }
127
136
  let urlPath = `/v1/documents/{document_id}`;
128
137
  urlPath = urlPath.replace(`{${"document_id"}}`, encodeURIComponent(String(requestParameters['documentId'])));
129
138
  return {
@@ -168,6 +177,9 @@ class DocumentsApi extends runtime.BaseAPI {
168
177
  }
169
178
  const queryParameters = {};
170
179
  const headerParameters = {};
180
+ if (requestParameters['authorization'] != null) {
181
+ headerParameters['authorization'] = String(requestParameters['authorization']);
182
+ }
171
183
  const consumes = [
172
184
  { contentType: 'multipart/form-data' },
173
185
  ];
@@ -245,6 +257,9 @@ class DocumentsApi extends runtime.BaseAPI {
245
257
  }
246
258
  const queryParameters = {};
247
259
  const headerParameters = {};
260
+ if (requestParameters['authorization'] != null) {
261
+ headerParameters['authorization'] = String(requestParameters['authorization']);
262
+ }
248
263
  const consumes = [
249
264
  { contentType: 'multipart/form-data' },
250
265
  ];
@@ -326,6 +341,9 @@ class DocumentsApi extends runtime.BaseAPI {
326
341
  queryParameters['offset'] = requestParameters['offset'];
327
342
  }
328
343
  const headerParameters = {};
344
+ if (requestParameters['authorization'] != null) {
345
+ headerParameters['authorization'] = String(requestParameters['authorization']);
346
+ }
329
347
  let urlPath = `/v1/documents`;
330
348
  return {
331
349
  path: urlPath,
@@ -370,6 +388,9 @@ class DocumentsApi extends runtime.BaseAPI {
370
388
  const queryParameters = {};
371
389
  const headerParameters = {};
372
390
  headerParameters['Content-Type'] = 'application/json';
391
+ if (requestParameters['authorization'] != null) {
392
+ headerParameters['authorization'] = String(requestParameters['authorization']);
393
+ }
373
394
  let urlPath = `/v1/documents/{document_id}`;
374
395
  urlPath = urlPath.replace(`{${"document_id"}}`, encodeURIComponent(String(requestParameters['documentId'])));
375
396
  return {
@@ -13,20 +13,24 @@ import * as runtime from '../runtime';
13
13
  import type { CreateFolderRequest, FolderAction, FolderActionResponse, FolderResponse, PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator, PaginatedResponseFolderResponse, PathOrder, UpdateFolderRequest } from '../models/index';
14
14
  export interface CreateFolderOperationRequest {
15
15
  createFolderRequest: CreateFolderRequest;
16
+ authorization?: string | null;
16
17
  ksUat?: string | null;
17
18
  }
18
19
  export interface DeleteFolderRequest {
19
20
  folderId: string;
21
+ authorization?: string | null;
20
22
  ksUat?: string | null;
21
23
  }
22
24
  export interface FolderActionRequest {
23
25
  folderId: string;
24
26
  action: FolderAction;
27
+ authorization?: string | null;
25
28
  ksUat?: string | null;
26
29
  }
27
30
  export interface GetFolderRequest {
28
31
  folderId: string;
29
32
  withTags?: boolean;
33
+ authorization?: string | null;
30
34
  ksUat?: string | null;
31
35
  }
32
36
  export interface ListFolderContentsRequest {
@@ -37,6 +41,7 @@ export interface ListFolderContentsRequest {
37
41
  nameLike?: string | null;
38
42
  limit?: number;
39
43
  offset?: number;
44
+ authorization?: string | null;
40
45
  ksUat?: string | null;
41
46
  }
42
47
  export interface ListFoldersRequest {
@@ -45,11 +50,13 @@ export interface ListFoldersRequest {
45
50
  withTags?: boolean;
46
51
  limit?: number;
47
52
  offset?: number;
53
+ authorization?: string | null;
48
54
  ksUat?: string | null;
49
55
  }
50
56
  export interface UpdateFolderOperationRequest {
51
57
  folderId: string;
52
58
  updateFolderRequest: UpdateFolderRequest;
59
+ authorization?: string | null;
53
60
  ksUat?: string | null;
54
61
  }
55
62
  /**
@@ -62,6 +69,7 @@ export interface FoldersApiInterface {
62
69
  /**
63
70
  * Creates request options for createFolder without sending the request
64
71
  * @param {CreateFolderRequest} createFolderRequest
72
+ * @param {string} [authorization]
65
73
  * @param {string} [ksUat]
66
74
  * @throws {RequiredError}
67
75
  * @memberof FoldersApiInterface
@@ -71,6 +79,7 @@ export interface FoldersApiInterface {
71
79
  * Create a new folder. The folder is created as a child of the specified parent folder. It is automatically added to the end of the parent\'s children list.
72
80
  * @summary Create Folder Handler
73
81
  * @param {CreateFolderRequest} createFolderRequest
82
+ * @param {string} [authorization]
74
83
  * @param {string} [ksUat]
75
84
  * @param {*} [options] Override http request option.
76
85
  * @throws {RequiredError}
@@ -85,6 +94,7 @@ export interface FoldersApiInterface {
85
94
  /**
86
95
  * Creates request options for deleteFolder without sending the request
87
96
  * @param {string} folderId
97
+ * @param {string} [authorization]
88
98
  * @param {string} [ksUat]
89
99
  * @throws {RequiredError}
90
100
  * @memberof FoldersApiInterface
@@ -94,6 +104,7 @@ export interface FoldersApiInterface {
94
104
  * Delete a folder and all its contents. WARNING: This cascades to all children due to parent_id ON DELETE CASCADE. The root folder cannot be deleted.
95
105
  * @summary Delete Folder Handler
96
106
  * @param {string} folderId
107
+ * @param {string} [authorization]
97
108
  * @param {string} [ksUat]
98
109
  * @param {*} [options] Override http request option.
99
110
  * @throws {RequiredError}
@@ -109,6 +120,7 @@ export interface FoldersApiInterface {
109
120
  * Creates request options for folderAction without sending the request
110
121
  * @param {string} folderId
111
122
  * @param {FolderAction} action Action to perform
123
+ * @param {string} [authorization]
112
124
  * @param {string} [ksUat]
113
125
  * @throws {RequiredError}
114
126
  * @memberof FoldersApiInterface
@@ -119,6 +131,7 @@ export interface FoldersApiInterface {
119
131
  * @summary Folder Action Handler
120
132
  * @param {string} folderId
121
133
  * @param {FolderAction} action Action to perform
134
+ * @param {string} [authorization]
122
135
  * @param {string} [ksUat]
123
136
  * @param {*} [options] Override http request option.
124
137
  * @throws {RequiredError}
@@ -134,6 +147,7 @@ export interface FoldersApiInterface {
134
147
  * Creates request options for getFolder without sending the request
135
148
  * @param {string} folderId
136
149
  * @param {boolean} [withTags] Include tags in the response (default: false)
150
+ * @param {string} [authorization]
137
151
  * @param {string} [ksUat]
138
152
  * @throws {RequiredError}
139
153
  * @memberof FoldersApiInterface
@@ -144,6 +158,7 @@ export interface FoldersApiInterface {
144
158
  * @summary Get Folder Handler
145
159
  * @param {string} folderId
146
160
  * @param {boolean} [withTags] Include tags in the response (default: false)
161
+ * @param {string} [authorization]
147
162
  * @param {string} [ksUat]
148
163
  * @param {*} [options] Override http request option.
149
164
  * @throws {RequiredError}
@@ -164,6 +179,7 @@ export interface FoldersApiInterface {
164
179
  * @param {string} [nameLike] Case-insensitive partial name search filter
165
180
  * @param {number} [limit] Number of items per page
166
181
  * @param {number} [offset] Number of items to skip
182
+ * @param {string} [authorization]
167
183
  * @param {string} [ksUat]
168
184
  * @throws {RequiredError}
169
185
  * @memberof FoldersApiInterface
@@ -179,6 +195,7 @@ export interface FoldersApiInterface {
179
195
  * @param {string} [nameLike] Case-insensitive partial name search filter
180
196
  * @param {number} [limit] Number of items per page
181
197
  * @param {number} [offset] Number of items to skip
198
+ * @param {string} [authorization]
182
199
  * @param {string} [ksUat]
183
200
  * @param {*} [options] Override http request option.
184
201
  * @throws {RequiredError}
@@ -197,6 +214,7 @@ export interface FoldersApiInterface {
197
214
  * @param {boolean} [withTags] Include tags in the response (default: false)
198
215
  * @param {number} [limit] Number of items per page
199
216
  * @param {number} [offset] Number of items to skip
217
+ * @param {string} [authorization]
200
218
  * @param {string} [ksUat]
201
219
  * @throws {RequiredError}
202
220
  * @memberof FoldersApiInterface
@@ -210,6 +228,7 @@ export interface FoldersApiInterface {
210
228
  * @param {boolean} [withTags] Include tags in the response (default: false)
211
229
  * @param {number} [limit] Number of items per page
212
230
  * @param {number} [offset] Number of items to skip
231
+ * @param {string} [authorization]
213
232
  * @param {string} [ksUat]
214
233
  * @param {*} [options] Override http request option.
215
234
  * @throws {RequiredError}
@@ -225,6 +244,7 @@ export interface FoldersApiInterface {
225
244
  * Creates request options for updateFolder without sending the request
226
245
  * @param {string} folderId
227
246
  * @param {UpdateFolderRequest} updateFolderRequest
247
+ * @param {string} [authorization]
228
248
  * @param {string} [ksUat]
229
249
  * @throws {RequiredError}
230
250
  * @memberof FoldersApiInterface
@@ -235,6 +255,7 @@ export interface FoldersApiInterface {
235
255
  * @summary Update Folder Handler
236
256
  * @param {string} folderId
237
257
  * @param {UpdateFolderRequest} updateFolderRequest
258
+ * @param {string} [authorization]
238
259
  * @param {string} [ksUat]
239
260
  * @param {*} [options] Override http request option.
240
261
  * @throws {RequiredError}
@@ -40,6 +40,9 @@ class FoldersApi extends runtime.BaseAPI {
40
40
  const queryParameters = {};
41
41
  const headerParameters = {};
42
42
  headerParameters['Content-Type'] = 'application/json';
43
+ if (requestParameters['authorization'] != null) {
44
+ headerParameters['authorization'] = String(requestParameters['authorization']);
45
+ }
43
46
  let urlPath = `/v1/folders`;
44
47
  return {
45
48
  path: urlPath,
@@ -81,6 +84,9 @@ class FoldersApi extends runtime.BaseAPI {
81
84
  }
82
85
  const queryParameters = {};
83
86
  const headerParameters = {};
87
+ if (requestParameters['authorization'] != null) {
88
+ headerParameters['authorization'] = String(requestParameters['authorization']);
89
+ }
84
90
  let urlPath = `/v1/folders/{folder_id}`;
85
91
  urlPath = urlPath.replace(`{${"folder_id"}}`, encodeURIComponent(String(requestParameters['folderId'])));
86
92
  return {
@@ -127,6 +133,9 @@ class FoldersApi extends runtime.BaseAPI {
127
133
  queryParameters['action'] = requestParameters['action'];
128
134
  }
129
135
  const headerParameters = {};
136
+ if (requestParameters['authorization'] != null) {
137
+ headerParameters['authorization'] = String(requestParameters['authorization']);
138
+ }
130
139
  let urlPath = `/v1/folders/{folder_id}`;
131
140
  urlPath = urlPath.replace(`{${"folder_id"}}`, encodeURIComponent(String(requestParameters['folderId'])));
132
141
  return {
@@ -171,6 +180,9 @@ class FoldersApi extends runtime.BaseAPI {
171
180
  queryParameters['with_tags'] = requestParameters['withTags'];
172
181
  }
173
182
  const headerParameters = {};
183
+ if (requestParameters['authorization'] != null) {
184
+ headerParameters['authorization'] = String(requestParameters['authorization']);
185
+ }
174
186
  let urlPath = `/v1/folders/{folder_id}`;
175
187
  urlPath = urlPath.replace(`{${"folder_id"}}`, encodeURIComponent(String(requestParameters['folderId'])));
176
188
  return {
@@ -230,6 +242,9 @@ class FoldersApi extends runtime.BaseAPI {
230
242
  queryParameters['offset'] = requestParameters['offset'];
231
243
  }
232
244
  const headerParameters = {};
245
+ if (requestParameters['authorization'] != null) {
246
+ headerParameters['authorization'] = String(requestParameters['authorization']);
247
+ }
233
248
  let urlPath = `/v1/folders/{folder_id}/contents`;
234
249
  urlPath = urlPath.replace(`{${"folder_id"}}`, encodeURIComponent(String(requestParameters['folderId'])));
235
250
  return {
@@ -283,6 +298,9 @@ class FoldersApi extends runtime.BaseAPI {
283
298
  queryParameters['offset'] = requestParameters['offset'];
284
299
  }
285
300
  const headerParameters = {};
301
+ if (requestParameters['authorization'] != null) {
302
+ headerParameters['authorization'] = String(requestParameters['authorization']);
303
+ }
286
304
  let urlPath = `/v1/folders`;
287
305
  return {
288
306
  path: urlPath,
@@ -327,6 +345,9 @@ class FoldersApi extends runtime.BaseAPI {
327
345
  const queryParameters = {};
328
346
  const headerParameters = {};
329
347
  headerParameters['Content-Type'] = 'application/json';
348
+ if (requestParameters['authorization'] != null) {
349
+ headerParameters['authorization'] = String(requestParameters['authorization']);
350
+ }
330
351
  let urlPath = `/v1/folders/{folder_id}`;
331
352
  urlPath = urlPath.replace(`{${"folder_id"}}`, encodeURIComponent(String(requestParameters['folderId'])));
332
353
  return {
@@ -13,14 +13,17 @@ import * as runtime from '../runtime';
13
13
  import type { AcceptInviteResponse, InviteResponse, InviteStatus, InviteUserRequest, PaginatedResponseInviteResponse } from '../models/index';
14
14
  export interface AcceptInviteRequest {
15
15
  inviteId: string;
16
+ authorization?: string | null;
16
17
  ksUat?: string | null;
17
18
  }
18
19
  export interface CreateInviteRequest {
19
20
  inviteUserRequest: InviteUserRequest;
21
+ authorization?: string | null;
20
22
  ksUat?: string | null;
21
23
  }
22
24
  export interface DeleteInviteRequest {
23
25
  inviteId: string;
26
+ authorization?: string | null;
24
27
  ksUat?: string | null;
25
28
  }
26
29
  export interface ListInvitesRequest {
@@ -28,6 +31,7 @@ export interface ListInvitesRequest {
28
31
  status?: InviteStatus;
29
32
  limit?: number;
30
33
  offset?: number;
34
+ authorization?: string | null;
31
35
  ksUat?: string | null;
32
36
  }
33
37
  /**
@@ -40,6 +44,7 @@ export interface InvitesApiInterface {
40
44
  /**
41
45
  * Creates request options for acceptInvite without sending the request
42
46
  * @param {string} inviteId
47
+ * @param {string} [authorization]
43
48
  * @param {string} [ksUat]
44
49
  * @throws {RequiredError}
45
50
  * @memberof InvitesApiInterface
@@ -49,6 +54,7 @@ export interface InvitesApiInterface {
49
54
  * Update an invite to accepted status and create tenant user.
50
55
  * @summary Accept Invite
51
56
  * @param {string} inviteId
57
+ * @param {string} [authorization]
52
58
  * @param {string} [ksUat]
53
59
  * @param {*} [options] Override http request option.
54
60
  * @throws {RequiredError}
@@ -63,6 +69,7 @@ export interface InvitesApiInterface {
63
69
  /**
64
70
  * Creates request options for createInvite without sending the request
65
71
  * @param {InviteUserRequest} inviteUserRequest
72
+ * @param {string} [authorization]
66
73
  * @param {string} [ksUat]
67
74
  * @throws {RequiredError}
68
75
  * @memberof InvitesApiInterface
@@ -72,6 +79,7 @@ export interface InvitesApiInterface {
72
79
  * Create an invite for a user to join a tenant (admin-only). For external IdP tenants (idp_config is set), users are added directly if they exist. For shared IdP tenants (PASSWORD/GOOGLE), an email invite is sent that must be accepted.
73
80
  * @summary Create Invite
74
81
  * @param {InviteUserRequest} inviteUserRequest
82
+ * @param {string} [authorization]
75
83
  * @param {string} [ksUat]
76
84
  * @param {*} [options] Override http request option.
77
85
  * @throws {RequiredError}
@@ -86,6 +94,7 @@ export interface InvitesApiInterface {
86
94
  /**
87
95
  * Creates request options for deleteInvite without sending the request
88
96
  * @param {string} inviteId
97
+ * @param {string} [authorization]
89
98
  * @param {string} [ksUat]
90
99
  * @throws {RequiredError}
91
100
  * @memberof InvitesApiInterface
@@ -95,6 +104,7 @@ export interface InvitesApiInterface {
95
104
  * Hard-delete an invite (admin/owner only). Permanently removes the invite. The invite must belong to the caller\'s current tenant.
96
105
  * @summary Delete Invite
97
106
  * @param {string} inviteId
107
+ * @param {string} [authorization]
98
108
  * @param {string} [ksUat]
99
109
  * @param {*} [options] Override http request option.
100
110
  * @throws {RequiredError}
@@ -112,6 +122,7 @@ export interface InvitesApiInterface {
112
122
  * @param {InviteStatus} [status] Filter by invite status (pending, accepted, expired)
113
123
  * @param {number} [limit] Number of items per page
114
124
  * @param {number} [offset] Number of items to skip
125
+ * @param {string} [authorization]
115
126
  * @param {string} [ksUat]
116
127
  * @throws {RequiredError}
117
128
  * @memberof InvitesApiInterface
@@ -124,6 +135,7 @@ export interface InvitesApiInterface {
124
135
  * @param {InviteStatus} [status] Filter by invite status (pending, accepted, expired)
125
136
  * @param {number} [limit] Number of items per page
126
137
  * @param {number} [offset] Number of items to skip
138
+ * @param {string} [authorization]
127
139
  * @param {string} [ksUat]
128
140
  * @param {*} [options] Override http request option.
129
141
  * @throws {RequiredError}
@@ -39,6 +39,9 @@ class InvitesApi extends runtime.BaseAPI {
39
39
  }
40
40
  const queryParameters = {};
41
41
  const headerParameters = {};
42
+ if (requestParameters['authorization'] != null) {
43
+ headerParameters['authorization'] = String(requestParameters['authorization']);
44
+ }
42
45
  let urlPath = `/v1/invites/{invite_id}/accept`;
43
46
  urlPath = urlPath.replace(`{${"invite_id"}}`, encodeURIComponent(String(requestParameters['inviteId'])));
44
47
  return {
@@ -81,6 +84,9 @@ class InvitesApi extends runtime.BaseAPI {
81
84
  const queryParameters = {};
82
85
  const headerParameters = {};
83
86
  headerParameters['Content-Type'] = 'application/json';
87
+ if (requestParameters['authorization'] != null) {
88
+ headerParameters['authorization'] = String(requestParameters['authorization']);
89
+ }
84
90
  let urlPath = `/v1/invites`;
85
91
  return {
86
92
  path: urlPath,
@@ -122,6 +128,9 @@ class InvitesApi extends runtime.BaseAPI {
122
128
  }
123
129
  const queryParameters = {};
124
130
  const headerParameters = {};
131
+ if (requestParameters['authorization'] != null) {
132
+ headerParameters['authorization'] = String(requestParameters['authorization']);
133
+ }
125
134
  let urlPath = `/v1/invites/{invite_id}`;
126
135
  urlPath = urlPath.replace(`{${"invite_id"}}`, encodeURIComponent(String(requestParameters['inviteId'])));
127
136
  return {
@@ -171,6 +180,9 @@ class InvitesApi extends runtime.BaseAPI {
171
180
  queryParameters['offset'] = requestParameters['offset'];
172
181
  }
173
182
  const headerParameters = {};
183
+ if (requestParameters['authorization'] != null) {
184
+ headerParameters['authorization'] = String(requestParameters['authorization']);
185
+ }
174
186
  let urlPath = `/v1/invites`;
175
187
  return {
176
188
  path: urlPath,
@@ -14,24 +14,29 @@ import type { BulkTagRequest, PaginatedResponsePathPartResponse, PathOrder, Path
14
14
  export interface BulkAddPathPartTagsRequest {
15
15
  pathPartId: string;
16
16
  bulkTagRequest: BulkTagRequest;
17
+ authorization?: string | null;
17
18
  ksUat?: string | null;
18
19
  }
19
20
  export interface BulkRemovePathPartTagsRequest {
20
21
  pathPartId: string;
21
22
  bulkTagRequest: BulkTagRequest;
23
+ authorization?: string | null;
22
24
  ksUat?: string | null;
23
25
  }
24
26
  export interface GetPathPartRequest {
25
27
  pathPartId: string;
28
+ authorization?: string | null;
26
29
  ksUat?: string | null;
27
30
  }
28
31
  export interface GetPathPartSubtreeChunksRequest {
29
32
  pathPartId: string;
33
+ authorization?: string | null;
30
34
  ksUat?: string | null;
31
35
  }
32
36
  export interface GetPathPartTagsRequest {
33
37
  pathPartId: string;
34
38
  includeInherited?: boolean;
39
+ authorization?: string | null;
35
40
  ksUat?: string | null;
36
41
  }
37
42
  export interface ListPathPartsRequest {
@@ -40,6 +45,7 @@ export interface ListPathPartsRequest {
40
45
  sortOrder?: PathOrder;
41
46
  limit?: number;
42
47
  offset?: number;
48
+ authorization?: string | null;
43
49
  ksUat?: string | null;
44
50
  }
45
51
  /**
@@ -53,6 +59,7 @@ export interface PathPartsApiInterface {
53
59
  * Creates request options for bulkAddPathPartTags without sending the request
54
60
  * @param {string} pathPartId
55
61
  * @param {BulkTagRequest} bulkTagRequest
62
+ * @param {string} [authorization]
56
63
  * @param {string} [ksUat]
57
64
  * @throws {RequiredError}
58
65
  * @memberof PathPartsApiInterface
@@ -63,6 +70,7 @@ export interface PathPartsApiInterface {
63
70
  * @summary Bulk Add Path Part Tags Handler
64
71
  * @param {string} pathPartId
65
72
  * @param {BulkTagRequest} bulkTagRequest
73
+ * @param {string} [authorization]
66
74
  * @param {string} [ksUat]
67
75
  * @param {*} [options] Override http request option.
68
76
  * @throws {RequiredError}
@@ -78,6 +86,7 @@ export interface PathPartsApiInterface {
78
86
  * Creates request options for bulkRemovePathPartTags without sending the request
79
87
  * @param {string} pathPartId
80
88
  * @param {BulkTagRequest} bulkTagRequest
89
+ * @param {string} [authorization]
81
90
  * @param {string} [ksUat]
82
91
  * @throws {RequiredError}
83
92
  * @memberof PathPartsApiInterface
@@ -88,6 +97,7 @@ export interface PathPartsApiInterface {
88
97
  * @summary Bulk Remove Path Part Tags Handler
89
98
  * @param {string} pathPartId
90
99
  * @param {BulkTagRequest} bulkTagRequest
100
+ * @param {string} [authorization]
91
101
  * @param {string} [ksUat]
92
102
  * @param {*} [options] Override http request option.
93
103
  * @throws {RequiredError}
@@ -102,6 +112,7 @@ export interface PathPartsApiInterface {
102
112
  /**
103
113
  * Creates request options for getPathPart without sending the request
104
114
  * @param {string} pathPartId
115
+ * @param {string} [authorization]
105
116
  * @param {string} [ksUat]
106
117
  * @throws {RequiredError}
107
118
  * @memberof PathPartsApiInterface
@@ -111,6 +122,7 @@ export interface PathPartsApiInterface {
111
122
  * Get a path part by its ID. Returns the path part with its attached tag IDs.
112
123
  * @summary Get Path Part Handler
113
124
  * @param {string} pathPartId
125
+ * @param {string} [authorization]
114
126
  * @param {string} [ksUat]
115
127
  * @param {*} [options] Override http request option.
116
128
  * @throws {RequiredError}
@@ -125,6 +137,7 @@ export interface PathPartsApiInterface {
125
137
  /**
126
138
  * Creates request options for getPathPartSubtreeChunks without sending the request
127
139
  * @param {string} pathPartId
140
+ * @param {string} [authorization]
128
141
  * @param {string} [ksUat]
129
142
  * @throws {RequiredError}
130
143
  * @memberof PathPartsApiInterface
@@ -134,6 +147,7 @@ export interface PathPartsApiInterface {
134
147
  * Resolve all descendant chunks for a subtree root. Returns chunks grouped by identical (path_part_ids, tag_ids) tuples.
135
148
  * @summary Get Path Part Subtree Chunks Handler
136
149
  * @param {string} pathPartId
150
+ * @param {string} [authorization]
137
151
  * @param {string} [ksUat]
138
152
  * @param {*} [options] Override http request option.
139
153
  * @throws {RequiredError}
@@ -149,6 +163,7 @@ export interface PathPartsApiInterface {
149
163
  * Creates request options for getPathPartTags without sending the request
150
164
  * @param {string} pathPartId
151
165
  * @param {boolean} [includeInherited] Include tags inherited from ancestor path parts
166
+ * @param {string} [authorization]
152
167
  * @param {string} [ksUat]
153
168
  * @throws {RequiredError}
154
169
  * @memberof PathPartsApiInterface
@@ -159,6 +174,7 @@ export interface PathPartsApiInterface {
159
174
  * @summary Get Path Part Tags Handler
160
175
  * @param {string} pathPartId
161
176
  * @param {boolean} [includeInherited] Include tags inherited from ancestor path parts
177
+ * @param {string} [authorization]
162
178
  * @param {string} [ksUat]
163
179
  * @param {*} [options] Override http request option.
164
180
  * @throws {RequiredError}
@@ -177,6 +193,7 @@ export interface PathPartsApiInterface {
177
193
  * @param {PathOrder} [sortOrder] Sort order for results (default: LOGICAL)
178
194
  * @param {number} [limit] Number of items per page
179
195
  * @param {number} [offset] Number of items to skip
196
+ * @param {string} [authorization]
180
197
  * @param {string} [ksUat]
181
198
  * @throws {RequiredError}
182
199
  * @memberof PathPartsApiInterface
@@ -190,6 +207,7 @@ export interface PathPartsApiInterface {
190
207
  * @param {PathOrder} [sortOrder] Sort order for results (default: LOGICAL)
191
208
  * @param {number} [limit] Number of items per page
192
209
  * @param {number} [offset] Number of items to skip
210
+ * @param {string} [authorization]
193
211
  * @param {string} [ksUat]
194
212
  * @param {*} [options] Override http request option.
195
213
  * @throws {RequiredError}
@@ -43,6 +43,9 @@ class PathPartsApi extends runtime.BaseAPI {
43
43
  const queryParameters = {};
44
44
  const headerParameters = {};
45
45
  headerParameters['Content-Type'] = 'application/json';
46
+ if (requestParameters['authorization'] != null) {
47
+ headerParameters['authorization'] = String(requestParameters['authorization']);
48
+ }
46
49
  let urlPath = `/v1/path-parts/{path_part_id}/tags`;
47
50
  urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
48
51
  return {
@@ -89,6 +92,9 @@ class PathPartsApi extends runtime.BaseAPI {
89
92
  const queryParameters = {};
90
93
  const headerParameters = {};
91
94
  headerParameters['Content-Type'] = 'application/json';
95
+ if (requestParameters['authorization'] != null) {
96
+ headerParameters['authorization'] = String(requestParameters['authorization']);
97
+ }
92
98
  let urlPath = `/v1/path-parts/{path_part_id}/tags`;
93
99
  urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
94
100
  return {
@@ -131,6 +137,9 @@ class PathPartsApi extends runtime.BaseAPI {
131
137
  }
132
138
  const queryParameters = {};
133
139
  const headerParameters = {};
140
+ if (requestParameters['authorization'] != null) {
141
+ headerParameters['authorization'] = String(requestParameters['authorization']);
142
+ }
134
143
  let urlPath = `/v1/path-parts/{path_part_id}`;
135
144
  urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
136
145
  return {
@@ -172,6 +181,9 @@ class PathPartsApi extends runtime.BaseAPI {
172
181
  }
173
182
  const queryParameters = {};
174
183
  const headerParameters = {};
184
+ if (requestParameters['authorization'] != null) {
185
+ headerParameters['authorization'] = String(requestParameters['authorization']);
186
+ }
175
187
  let urlPath = `/v1/path-parts/{path_part_id}/subtree_chunks`;
176
188
  urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
177
189
  return {
@@ -216,6 +228,9 @@ class PathPartsApi extends runtime.BaseAPI {
216
228
  queryParameters['include_inherited'] = requestParameters['includeInherited'];
217
229
  }
218
230
  const headerParameters = {};
231
+ if (requestParameters['authorization'] != null) {
232
+ headerParameters['authorization'] = String(requestParameters['authorization']);
233
+ }
219
234
  let urlPath = `/v1/path-parts/{path_part_id}/tags`;
220
235
  urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
221
236
  return {
@@ -269,6 +284,9 @@ class PathPartsApi extends runtime.BaseAPI {
269
284
  queryParameters['offset'] = requestParameters['offset'];
270
285
  }
271
286
  const headerParameters = {};
287
+ if (requestParameters['authorization'] != null) {
288
+ headerParameters['authorization'] = String(requestParameters['authorization']);
289
+ }
272
290
  let urlPath = `/v1/path-parts`;
273
291
  return {
274
292
  path: urlPath,