@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
@@ -48,23 +48,27 @@ import {
48
48
 
49
49
  export interface CreateDocumentOperationRequest {
50
50
  createDocumentRequest: CreateDocumentRequest;
51
+ authorization?: string | null;
51
52
  ksUat?: string | null;
52
53
  }
53
54
 
54
55
  export interface DeleteDocumentRequest {
55
56
  documentId: string;
57
+ authorization?: string | null;
56
58
  ksUat?: string | null;
57
59
  }
58
60
 
59
61
  export interface GetDocumentRequest {
60
62
  documentId: string;
61
63
  withTags?: boolean;
64
+ authorization?: string | null;
62
65
  ksUat?: string | null;
63
66
  }
64
67
 
65
68
  export interface IngestDocumentRequest {
66
69
  file: Blob;
67
70
  pathPartId: string;
71
+ authorization?: string | null;
68
72
  ksUat?: string | null;
69
73
  name?: string | null;
70
74
  ingestionMode?: IngestionMode;
@@ -75,6 +79,7 @@ export interface IngestDocumentRequest {
75
79
  export interface IngestDocumentVersionRequest {
76
80
  documentId: string;
77
81
  file: Blob;
82
+ authorization?: string | null;
78
83
  ksUat?: string | null;
79
84
  ingestionMode?: IngestionMode;
80
85
  chunkType?: ChunkType;
@@ -87,12 +92,14 @@ export interface ListDocumentsRequest {
87
92
  withTags?: boolean;
88
93
  limit?: number;
89
94
  offset?: number;
95
+ authorization?: string | null;
90
96
  ksUat?: string | null;
91
97
  }
92
98
 
93
99
  export interface UpdateDocumentOperationRequest {
94
100
  documentId: string;
95
101
  updateDocumentRequest: UpdateDocumentRequest;
102
+ authorization?: string | null;
96
103
  ksUat?: string | null;
97
104
  }
98
105
 
@@ -106,6 +113,7 @@ export interface DocumentsApiInterface {
106
113
  /**
107
114
  * Creates request options for createDocument without sending the request
108
115
  * @param {CreateDocumentRequest} createDocumentRequest
116
+ * @param {string} [authorization]
109
117
  * @param {string} [ksUat]
110
118
  * @throws {RequiredError}
111
119
  * @memberof DocumentsApiInterface
@@ -116,6 +124,7 @@ export interface DocumentsApiInterface {
116
124
  * Create a new document with initial v0 version. The document is created as a child of the specified parent folder. An initial version (v0) is automatically created.
117
125
  * @summary Create Document Handler
118
126
  * @param {CreateDocumentRequest} createDocumentRequest
127
+ * @param {string} [authorization]
119
128
  * @param {string} [ksUat]
120
129
  * @param {*} [options] Override http request option.
121
130
  * @throws {RequiredError}
@@ -132,6 +141,7 @@ export interface DocumentsApiInterface {
132
141
  /**
133
142
  * Creates request options for deleteDocument without sending the request
134
143
  * @param {string} documentId
144
+ * @param {string} [authorization]
135
145
  * @param {string} [ksUat]
136
146
  * @throws {RequiredError}
137
147
  * @memberof DocumentsApiInterface
@@ -142,6 +152,7 @@ export interface DocumentsApiInterface {
142
152
  * Delete a document and all its contents. WARNING: This cascades to all children (versions, sections, chunks, etc.) due to parent_id ON DELETE CASCADE.
143
153
  * @summary Delete Document Handler
144
154
  * @param {string} documentId
155
+ * @param {string} [authorization]
145
156
  * @param {string} [ksUat]
146
157
  * @param {*} [options] Override http request option.
147
158
  * @throws {RequiredError}
@@ -159,6 +170,7 @@ export interface DocumentsApiInterface {
159
170
  * Creates request options for getDocument without sending the request
160
171
  * @param {string} documentId
161
172
  * @param {boolean} [withTags] Include tags in the response (default: false)
173
+ * @param {string} [authorization]
162
174
  * @param {string} [ksUat]
163
175
  * @throws {RequiredError}
164
176
  * @memberof DocumentsApiInterface
@@ -170,6 +182,7 @@ export interface DocumentsApiInterface {
170
182
  * @summary Get Document Handler
171
183
  * @param {string} documentId
172
184
  * @param {boolean} [withTags] Include tags in the response (default: false)
185
+ * @param {string} [authorization]
173
186
  * @param {string} [ksUat]
174
187
  * @param {*} [options] Override http request option.
175
188
  * @throws {RequiredError}
@@ -187,6 +200,7 @@ export interface DocumentsApiInterface {
187
200
  * Creates request options for ingestDocument without sending the request
188
201
  * @param {Blob} file
189
202
  * @param {string} pathPartId Parent path part ID (must be a FOLDER type)
203
+ * @param {string} [authorization]
190
204
  * @param {string} [ksUat]
191
205
  * @param {string} [name] Document name (defaults to filename)
192
206
  * @param {IngestionMode} [ingestionMode]
@@ -202,6 +216,7 @@ export interface DocumentsApiInterface {
202
216
  * @summary Ingest Document Handler
203
217
  * @param {Blob} file
204
218
  * @param {string} pathPartId Parent path part ID (must be a FOLDER type)
219
+ * @param {string} [authorization]
205
220
  * @param {string} [ksUat]
206
221
  * @param {string} [name] Document name (defaults to filename)
207
222
  * @param {IngestionMode} [ingestionMode]
@@ -223,6 +238,7 @@ export interface DocumentsApiInterface {
223
238
  * Creates request options for ingestDocumentVersion without sending the request
224
239
  * @param {string} documentId Document ID
225
240
  * @param {Blob} file
241
+ * @param {string} [authorization]
226
242
  * @param {string} [ksUat]
227
243
  * @param {IngestionMode} [ingestionMode]
228
244
  * @param {ChunkType} [chunkType]
@@ -237,6 +253,7 @@ export interface DocumentsApiInterface {
237
253
  * @summary Ingest Document Version Handler
238
254
  * @param {string} documentId Document ID
239
255
  * @param {Blob} file
256
+ * @param {string} [authorization]
240
257
  * @param {string} [ksUat]
241
258
  * @param {IngestionMode} [ingestionMode]
242
259
  * @param {ChunkType} [chunkType]
@@ -260,6 +277,7 @@ export interface DocumentsApiInterface {
260
277
  * @param {boolean} [withTags] Include tags in the response (default: false)
261
278
  * @param {number} [limit] Number of items per page
262
279
  * @param {number} [offset] Number of items to skip
280
+ * @param {string} [authorization]
263
281
  * @param {string} [ksUat]
264
282
  * @throws {RequiredError}
265
283
  * @memberof DocumentsApiInterface
@@ -274,6 +292,7 @@ export interface DocumentsApiInterface {
274
292
  * @param {boolean} [withTags] Include tags in the response (default: false)
275
293
  * @param {number} [limit] Number of items per page
276
294
  * @param {number} [offset] Number of items to skip
295
+ * @param {string} [authorization]
277
296
  * @param {string} [ksUat]
278
297
  * @param {*} [options] Override http request option.
279
298
  * @throws {RequiredError}
@@ -291,6 +310,7 @@ export interface DocumentsApiInterface {
291
310
  * Creates request options for updateDocument without sending the request
292
311
  * @param {string} documentId
293
312
  * @param {UpdateDocumentRequest} updateDocumentRequest
313
+ * @param {string} [authorization]
294
314
  * @param {string} [ksUat]
295
315
  * @throws {RequiredError}
296
316
  * @memberof DocumentsApiInterface
@@ -302,6 +322,7 @@ export interface DocumentsApiInterface {
302
322
  * @summary Update Document Handler
303
323
  * @param {string} documentId
304
324
  * @param {UpdateDocumentRequest} updateDocumentRequest
325
+ * @param {string} [authorization]
305
326
  * @param {string} [ksUat]
306
327
  * @param {*} [options] Override http request option.
307
328
  * @throws {RequiredError}
@@ -339,6 +360,10 @@ export class DocumentsApi extends runtime.BaseAPI implements DocumentsApiInterfa
339
360
 
340
361
  headerParameters['Content-Type'] = 'application/json';
341
362
 
363
+ if (requestParameters['authorization'] != null) {
364
+ headerParameters['authorization'] = String(requestParameters['authorization']);
365
+ }
366
+
342
367
 
343
368
  let urlPath = `/v1/documents`;
344
369
 
@@ -386,6 +411,10 @@ export class DocumentsApi extends runtime.BaseAPI implements DocumentsApiInterfa
386
411
 
387
412
  const headerParameters: runtime.HTTPHeaders = {};
388
413
 
414
+ if (requestParameters['authorization'] != null) {
415
+ headerParameters['authorization'] = String(requestParameters['authorization']);
416
+ }
417
+
389
418
 
390
419
  let urlPath = `/v1/documents/{document_id}`;
391
420
  urlPath = urlPath.replace(`{${"document_id"}}`, encodeURIComponent(String(requestParameters['documentId'])));
@@ -436,6 +465,10 @@ export class DocumentsApi extends runtime.BaseAPI implements DocumentsApiInterfa
436
465
 
437
466
  const headerParameters: runtime.HTTPHeaders = {};
438
467
 
468
+ if (requestParameters['authorization'] != null) {
469
+ headerParameters['authorization'] = String(requestParameters['authorization']);
470
+ }
471
+
439
472
 
440
473
  let urlPath = `/v1/documents/{document_id}`;
441
474
  urlPath = urlPath.replace(`{${"document_id"}}`, encodeURIComponent(String(requestParameters['documentId'])));
@@ -490,6 +523,10 @@ export class DocumentsApi extends runtime.BaseAPI implements DocumentsApiInterfa
490
523
 
491
524
  const headerParameters: runtime.HTTPHeaders = {};
492
525
 
526
+ if (requestParameters['authorization'] != null) {
527
+ headerParameters['authorization'] = String(requestParameters['authorization']);
528
+ }
529
+
493
530
  const consumes: runtime.Consume[] = [
494
531
  { contentType: 'multipart/form-data' },
495
532
  ];
@@ -584,6 +621,10 @@ export class DocumentsApi extends runtime.BaseAPI implements DocumentsApiInterfa
584
621
 
585
622
  const headerParameters: runtime.HTTPHeaders = {};
586
623
 
624
+ if (requestParameters['authorization'] != null) {
625
+ headerParameters['authorization'] = String(requestParameters['authorization']);
626
+ }
627
+
587
628
  const consumes: runtime.Consume[] = [
588
629
  { contentType: 'multipart/form-data' },
589
630
  ];
@@ -677,6 +718,10 @@ export class DocumentsApi extends runtime.BaseAPI implements DocumentsApiInterfa
677
718
 
678
719
  const headerParameters: runtime.HTTPHeaders = {};
679
720
 
721
+ if (requestParameters['authorization'] != null) {
722
+ headerParameters['authorization'] = String(requestParameters['authorization']);
723
+ }
724
+
680
725
 
681
726
  let urlPath = `/v1/documents`;
682
727
 
@@ -732,6 +777,10 @@ export class DocumentsApi extends runtime.BaseAPI implements DocumentsApiInterfa
732
777
 
733
778
  headerParameters['Content-Type'] = 'application/json';
734
779
 
780
+ if (requestParameters['authorization'] != null) {
781
+ headerParameters['authorization'] = String(requestParameters['authorization']);
782
+ }
783
+
735
784
 
736
785
  let urlPath = `/v1/documents/{document_id}`;
737
786
  urlPath = urlPath.replace(`{${"document_id"}}`, encodeURIComponent(String(requestParameters['documentId'])));
@@ -48,23 +48,27 @@ import {
48
48
 
49
49
  export interface CreateFolderOperationRequest {
50
50
  createFolderRequest: CreateFolderRequest;
51
+ authorization?: string | null;
51
52
  ksUat?: string | null;
52
53
  }
53
54
 
54
55
  export interface DeleteFolderRequest {
55
56
  folderId: string;
57
+ authorization?: string | null;
56
58
  ksUat?: string | null;
57
59
  }
58
60
 
59
61
  export interface FolderActionRequest {
60
62
  folderId: string;
61
63
  action: FolderAction;
64
+ authorization?: string | null;
62
65
  ksUat?: string | null;
63
66
  }
64
67
 
65
68
  export interface GetFolderRequest {
66
69
  folderId: string;
67
70
  withTags?: boolean;
71
+ authorization?: string | null;
68
72
  ksUat?: string | null;
69
73
  }
70
74
 
@@ -76,6 +80,7 @@ export interface ListFolderContentsRequest {
76
80
  nameLike?: string | null;
77
81
  limit?: number;
78
82
  offset?: number;
83
+ authorization?: string | null;
79
84
  ksUat?: string | null;
80
85
  }
81
86
 
@@ -85,12 +90,14 @@ export interface ListFoldersRequest {
85
90
  withTags?: boolean;
86
91
  limit?: number;
87
92
  offset?: number;
93
+ authorization?: string | null;
88
94
  ksUat?: string | null;
89
95
  }
90
96
 
91
97
  export interface UpdateFolderOperationRequest {
92
98
  folderId: string;
93
99
  updateFolderRequest: UpdateFolderRequest;
100
+ authorization?: string | null;
94
101
  ksUat?: string | null;
95
102
  }
96
103
 
@@ -104,6 +111,7 @@ export interface FoldersApiInterface {
104
111
  /**
105
112
  * Creates request options for createFolder without sending the request
106
113
  * @param {CreateFolderRequest} createFolderRequest
114
+ * @param {string} [authorization]
107
115
  * @param {string} [ksUat]
108
116
  * @throws {RequiredError}
109
117
  * @memberof FoldersApiInterface
@@ -114,6 +122,7 @@ export interface FoldersApiInterface {
114
122
  * 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.
115
123
  * @summary Create Folder Handler
116
124
  * @param {CreateFolderRequest} createFolderRequest
125
+ * @param {string} [authorization]
117
126
  * @param {string} [ksUat]
118
127
  * @param {*} [options] Override http request option.
119
128
  * @throws {RequiredError}
@@ -130,6 +139,7 @@ export interface FoldersApiInterface {
130
139
  /**
131
140
  * Creates request options for deleteFolder without sending the request
132
141
  * @param {string} folderId
142
+ * @param {string} [authorization]
133
143
  * @param {string} [ksUat]
134
144
  * @throws {RequiredError}
135
145
  * @memberof FoldersApiInterface
@@ -140,6 +150,7 @@ export interface FoldersApiInterface {
140
150
  * 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.
141
151
  * @summary Delete Folder Handler
142
152
  * @param {string} folderId
153
+ * @param {string} [authorization]
143
154
  * @param {string} [ksUat]
144
155
  * @param {*} [options] Override http request option.
145
156
  * @throws {RequiredError}
@@ -157,6 +168,7 @@ export interface FoldersApiInterface {
157
168
  * Creates request options for folderAction without sending the request
158
169
  * @param {string} folderId
159
170
  * @param {FolderAction} action Action to perform
171
+ * @param {string} [authorization]
160
172
  * @param {string} [ksUat]
161
173
  * @throws {RequiredError}
162
174
  * @memberof FoldersApiInterface
@@ -168,6 +180,7 @@ export interface FoldersApiInterface {
168
180
  * @summary Folder Action Handler
169
181
  * @param {string} folderId
170
182
  * @param {FolderAction} action Action to perform
183
+ * @param {string} [authorization]
171
184
  * @param {string} [ksUat]
172
185
  * @param {*} [options] Override http request option.
173
186
  * @throws {RequiredError}
@@ -185,6 +198,7 @@ export interface FoldersApiInterface {
185
198
  * Creates request options for getFolder without sending the request
186
199
  * @param {string} folderId
187
200
  * @param {boolean} [withTags] Include tags in the response (default: false)
201
+ * @param {string} [authorization]
188
202
  * @param {string} [ksUat]
189
203
  * @throws {RequiredError}
190
204
  * @memberof FoldersApiInterface
@@ -196,6 +210,7 @@ export interface FoldersApiInterface {
196
210
  * @summary Get Folder Handler
197
211
  * @param {string} folderId
198
212
  * @param {boolean} [withTags] Include tags in the response (default: false)
213
+ * @param {string} [authorization]
199
214
  * @param {string} [ksUat]
200
215
  * @param {*} [options] Override http request option.
201
216
  * @throws {RequiredError}
@@ -218,6 +233,7 @@ export interface FoldersApiInterface {
218
233
  * @param {string} [nameLike] Case-insensitive partial name search filter
219
234
  * @param {number} [limit] Number of items per page
220
235
  * @param {number} [offset] Number of items to skip
236
+ * @param {string} [authorization]
221
237
  * @param {string} [ksUat]
222
238
  * @throws {RequiredError}
223
239
  * @memberof FoldersApiInterface
@@ -234,6 +250,7 @@ export interface FoldersApiInterface {
234
250
  * @param {string} [nameLike] Case-insensitive partial name search filter
235
251
  * @param {number} [limit] Number of items per page
236
252
  * @param {number} [offset] Number of items to skip
253
+ * @param {string} [authorization]
237
254
  * @param {string} [ksUat]
238
255
  * @param {*} [options] Override http request option.
239
256
  * @throws {RequiredError}
@@ -254,6 +271,7 @@ export interface FoldersApiInterface {
254
271
  * @param {boolean} [withTags] Include tags in the response (default: false)
255
272
  * @param {number} [limit] Number of items per page
256
273
  * @param {number} [offset] Number of items to skip
274
+ * @param {string} [authorization]
257
275
  * @param {string} [ksUat]
258
276
  * @throws {RequiredError}
259
277
  * @memberof FoldersApiInterface
@@ -268,6 +286,7 @@ export interface FoldersApiInterface {
268
286
  * @param {boolean} [withTags] Include tags in the response (default: false)
269
287
  * @param {number} [limit] Number of items per page
270
288
  * @param {number} [offset] Number of items to skip
289
+ * @param {string} [authorization]
271
290
  * @param {string} [ksUat]
272
291
  * @param {*} [options] Override http request option.
273
292
  * @throws {RequiredError}
@@ -285,6 +304,7 @@ export interface FoldersApiInterface {
285
304
  * Creates request options for updateFolder without sending the request
286
305
  * @param {string} folderId
287
306
  * @param {UpdateFolderRequest} updateFolderRequest
307
+ * @param {string} [authorization]
288
308
  * @param {string} [ksUat]
289
309
  * @throws {RequiredError}
290
310
  * @memberof FoldersApiInterface
@@ -296,6 +316,7 @@ export interface FoldersApiInterface {
296
316
  * @summary Update Folder Handler
297
317
  * @param {string} folderId
298
318
  * @param {UpdateFolderRequest} updateFolderRequest
319
+ * @param {string} [authorization]
299
320
  * @param {string} [ksUat]
300
321
  * @param {*} [options] Override http request option.
301
322
  * @throws {RequiredError}
@@ -333,6 +354,10 @@ export class FoldersApi extends runtime.BaseAPI implements FoldersApiInterface {
333
354
 
334
355
  headerParameters['Content-Type'] = 'application/json';
335
356
 
357
+ if (requestParameters['authorization'] != null) {
358
+ headerParameters['authorization'] = String(requestParameters['authorization']);
359
+ }
360
+
336
361
 
337
362
  let urlPath = `/v1/folders`;
338
363
 
@@ -380,6 +405,10 @@ export class FoldersApi extends runtime.BaseAPI implements FoldersApiInterface {
380
405
 
381
406
  const headerParameters: runtime.HTTPHeaders = {};
382
407
 
408
+ if (requestParameters['authorization'] != null) {
409
+ headerParameters['authorization'] = String(requestParameters['authorization']);
410
+ }
411
+
383
412
 
384
413
  let urlPath = `/v1/folders/{folder_id}`;
385
414
  urlPath = urlPath.replace(`{${"folder_id"}}`, encodeURIComponent(String(requestParameters['folderId'])));
@@ -437,6 +466,10 @@ export class FoldersApi extends runtime.BaseAPI implements FoldersApiInterface {
437
466
 
438
467
  const headerParameters: runtime.HTTPHeaders = {};
439
468
 
469
+ if (requestParameters['authorization'] != null) {
470
+ headerParameters['authorization'] = String(requestParameters['authorization']);
471
+ }
472
+
440
473
 
441
474
  let urlPath = `/v1/folders/{folder_id}`;
442
475
  urlPath = urlPath.replace(`{${"folder_id"}}`, encodeURIComponent(String(requestParameters['folderId'])));
@@ -488,6 +521,10 @@ export class FoldersApi extends runtime.BaseAPI implements FoldersApiInterface {
488
521
 
489
522
  const headerParameters: runtime.HTTPHeaders = {};
490
523
 
524
+ if (requestParameters['authorization'] != null) {
525
+ headerParameters['authorization'] = String(requestParameters['authorization']);
526
+ }
527
+
491
528
 
492
529
  let urlPath = `/v1/folders/{folder_id}`;
493
530
  urlPath = urlPath.replace(`{${"folder_id"}}`, encodeURIComponent(String(requestParameters['folderId'])));
@@ -559,6 +596,10 @@ export class FoldersApi extends runtime.BaseAPI implements FoldersApiInterface {
559
596
 
560
597
  const headerParameters: runtime.HTTPHeaders = {};
561
598
 
599
+ if (requestParameters['authorization'] != null) {
600
+ headerParameters['authorization'] = String(requestParameters['authorization']);
601
+ }
602
+
562
603
 
563
604
  let urlPath = `/v1/folders/{folder_id}/contents`;
564
605
  urlPath = urlPath.replace(`{${"folder_id"}}`, encodeURIComponent(String(requestParameters['folderId'])));
@@ -619,6 +660,10 @@ export class FoldersApi extends runtime.BaseAPI implements FoldersApiInterface {
619
660
 
620
661
  const headerParameters: runtime.HTTPHeaders = {};
621
662
 
663
+ if (requestParameters['authorization'] != null) {
664
+ headerParameters['authorization'] = String(requestParameters['authorization']);
665
+ }
666
+
622
667
 
623
668
  let urlPath = `/v1/folders`;
624
669
 
@@ -674,6 +719,10 @@ export class FoldersApi extends runtime.BaseAPI implements FoldersApiInterface {
674
719
 
675
720
  headerParameters['Content-Type'] = 'application/json';
676
721
 
722
+ if (requestParameters['authorization'] != null) {
723
+ headerParameters['authorization'] = String(requestParameters['authorization']);
724
+ }
725
+
677
726
 
678
727
  let urlPath = `/v1/folders/{folder_id}`;
679
728
  urlPath = urlPath.replace(`{${"folder_id"}}`, encodeURIComponent(String(requestParameters['folderId'])));
@@ -39,16 +39,19 @@ import {
39
39
 
40
40
  export interface AcceptInviteRequest {
41
41
  inviteId: string;
42
+ authorization?: string | null;
42
43
  ksUat?: string | null;
43
44
  }
44
45
 
45
46
  export interface CreateInviteRequest {
46
47
  inviteUserRequest: InviteUserRequest;
48
+ authorization?: string | null;
47
49
  ksUat?: string | null;
48
50
  }
49
51
 
50
52
  export interface DeleteInviteRequest {
51
53
  inviteId: string;
54
+ authorization?: string | null;
52
55
  ksUat?: string | null;
53
56
  }
54
57
 
@@ -57,6 +60,7 @@ export interface ListInvitesRequest {
57
60
  status?: InviteStatus;
58
61
  limit?: number;
59
62
  offset?: number;
63
+ authorization?: string | null;
60
64
  ksUat?: string | null;
61
65
  }
62
66
 
@@ -70,6 +74,7 @@ export interface InvitesApiInterface {
70
74
  /**
71
75
  * Creates request options for acceptInvite without sending the request
72
76
  * @param {string} inviteId
77
+ * @param {string} [authorization]
73
78
  * @param {string} [ksUat]
74
79
  * @throws {RequiredError}
75
80
  * @memberof InvitesApiInterface
@@ -80,6 +85,7 @@ export interface InvitesApiInterface {
80
85
  * Update an invite to accepted status and create tenant user.
81
86
  * @summary Accept Invite
82
87
  * @param {string} inviteId
88
+ * @param {string} [authorization]
83
89
  * @param {string} [ksUat]
84
90
  * @param {*} [options] Override http request option.
85
91
  * @throws {RequiredError}
@@ -96,6 +102,7 @@ export interface InvitesApiInterface {
96
102
  /**
97
103
  * Creates request options for createInvite without sending the request
98
104
  * @param {InviteUserRequest} inviteUserRequest
105
+ * @param {string} [authorization]
99
106
  * @param {string} [ksUat]
100
107
  * @throws {RequiredError}
101
108
  * @memberof InvitesApiInterface
@@ -106,6 +113,7 @@ export interface InvitesApiInterface {
106
113
  * 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.
107
114
  * @summary Create Invite
108
115
  * @param {InviteUserRequest} inviteUserRequest
116
+ * @param {string} [authorization]
109
117
  * @param {string} [ksUat]
110
118
  * @param {*} [options] Override http request option.
111
119
  * @throws {RequiredError}
@@ -122,6 +130,7 @@ export interface InvitesApiInterface {
122
130
  /**
123
131
  * Creates request options for deleteInvite without sending the request
124
132
  * @param {string} inviteId
133
+ * @param {string} [authorization]
125
134
  * @param {string} [ksUat]
126
135
  * @throws {RequiredError}
127
136
  * @memberof InvitesApiInterface
@@ -132,6 +141,7 @@ export interface InvitesApiInterface {
132
141
  * Hard-delete an invite (admin/owner only). Permanently removes the invite. The invite must belong to the caller\'s current tenant.
133
142
  * @summary Delete Invite
134
143
  * @param {string} inviteId
144
+ * @param {string} [authorization]
135
145
  * @param {string} [ksUat]
136
146
  * @param {*} [options] Override http request option.
137
147
  * @throws {RequiredError}
@@ -151,6 +161,7 @@ export interface InvitesApiInterface {
151
161
  * @param {InviteStatus} [status] Filter by invite status (pending, accepted, expired)
152
162
  * @param {number} [limit] Number of items per page
153
163
  * @param {number} [offset] Number of items to skip
164
+ * @param {string} [authorization]
154
165
  * @param {string} [ksUat]
155
166
  * @throws {RequiredError}
156
167
  * @memberof InvitesApiInterface
@@ -164,6 +175,7 @@ export interface InvitesApiInterface {
164
175
  * @param {InviteStatus} [status] Filter by invite status (pending, accepted, expired)
165
176
  * @param {number} [limit] Number of items per page
166
177
  * @param {number} [offset] Number of items to skip
178
+ * @param {string} [authorization]
167
179
  * @param {string} [ksUat]
168
180
  * @param {*} [options] Override http request option.
169
181
  * @throws {RequiredError}
@@ -199,6 +211,10 @@ export class InvitesApi extends runtime.BaseAPI implements InvitesApiInterface {
199
211
 
200
212
  const headerParameters: runtime.HTTPHeaders = {};
201
213
 
214
+ if (requestParameters['authorization'] != null) {
215
+ headerParameters['authorization'] = String(requestParameters['authorization']);
216
+ }
217
+
202
218
 
203
219
  let urlPath = `/v1/invites/{invite_id}/accept`;
204
220
  urlPath = urlPath.replace(`{${"invite_id"}}`, encodeURIComponent(String(requestParameters['inviteId'])));
@@ -248,6 +264,10 @@ export class InvitesApi extends runtime.BaseAPI implements InvitesApiInterface {
248
264
 
249
265
  headerParameters['Content-Type'] = 'application/json';
250
266
 
267
+ if (requestParameters['authorization'] != null) {
268
+ headerParameters['authorization'] = String(requestParameters['authorization']);
269
+ }
270
+
251
271
 
252
272
  let urlPath = `/v1/invites`;
253
273
 
@@ -295,6 +315,10 @@ export class InvitesApi extends runtime.BaseAPI implements InvitesApiInterface {
295
315
 
296
316
  const headerParameters: runtime.HTTPHeaders = {};
297
317
 
318
+ if (requestParameters['authorization'] != null) {
319
+ headerParameters['authorization'] = String(requestParameters['authorization']);
320
+ }
321
+
298
322
 
299
323
  let urlPath = `/v1/invites/{invite_id}`;
300
324
  urlPath = urlPath.replace(`{${"invite_id"}}`, encodeURIComponent(String(requestParameters['inviteId'])));
@@ -350,6 +374,10 @@ export class InvitesApi extends runtime.BaseAPI implements InvitesApiInterface {
350
374
 
351
375
  const headerParameters: runtime.HTTPHeaders = {};
352
376
 
377
+ if (requestParameters['authorization'] != null) {
378
+ headerParameters['authorization'] = String(requestParameters['authorization']);
379
+ }
380
+
353
381
 
354
382
  let urlPath = `/v1/invites`;
355
383