@knowledge-stack/ksapi 1.40.1 → 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
@@ -43,28 +43,33 @@ import {
43
43
  export interface BulkAddPathPartTagsRequest {
44
44
  pathPartId: string;
45
45
  bulkTagRequest: BulkTagRequest;
46
+ authorization?: string | null;
46
47
  ksUat?: string | null;
47
48
  }
48
49
 
49
50
  export interface BulkRemovePathPartTagsRequest {
50
51
  pathPartId: string;
51
52
  bulkTagRequest: BulkTagRequest;
53
+ authorization?: string | null;
52
54
  ksUat?: string | null;
53
55
  }
54
56
 
55
57
  export interface GetPathPartRequest {
56
58
  pathPartId: string;
59
+ authorization?: string | null;
57
60
  ksUat?: string | null;
58
61
  }
59
62
 
60
63
  export interface GetPathPartSubtreeChunksRequest {
61
64
  pathPartId: string;
65
+ authorization?: string | null;
62
66
  ksUat?: string | null;
63
67
  }
64
68
 
65
69
  export interface GetPathPartTagsRequest {
66
70
  pathPartId: string;
67
71
  includeInherited?: boolean;
72
+ authorization?: string | null;
68
73
  ksUat?: string | null;
69
74
  }
70
75
 
@@ -74,6 +79,7 @@ export interface ListPathPartsRequest {
74
79
  sortOrder?: PathOrder;
75
80
  limit?: number;
76
81
  offset?: number;
82
+ authorization?: string | null;
77
83
  ksUat?: string | null;
78
84
  }
79
85
 
@@ -88,6 +94,7 @@ export interface PathPartsApiInterface {
88
94
  * Creates request options for bulkAddPathPartTags without sending the request
89
95
  * @param {string} pathPartId
90
96
  * @param {BulkTagRequest} bulkTagRequest
97
+ * @param {string} [authorization]
91
98
  * @param {string} [ksUat]
92
99
  * @throws {RequiredError}
93
100
  * @memberof PathPartsApiInterface
@@ -99,6 +106,7 @@ export interface PathPartsApiInterface {
99
106
  * @summary Bulk Add Path Part Tags Handler
100
107
  * @param {string} pathPartId
101
108
  * @param {BulkTagRequest} bulkTagRequest
109
+ * @param {string} [authorization]
102
110
  * @param {string} [ksUat]
103
111
  * @param {*} [options] Override http request option.
104
112
  * @throws {RequiredError}
@@ -116,6 +124,7 @@ export interface PathPartsApiInterface {
116
124
  * Creates request options for bulkRemovePathPartTags without sending the request
117
125
  * @param {string} pathPartId
118
126
  * @param {BulkTagRequest} bulkTagRequest
127
+ * @param {string} [authorization]
119
128
  * @param {string} [ksUat]
120
129
  * @throws {RequiredError}
121
130
  * @memberof PathPartsApiInterface
@@ -127,6 +136,7 @@ export interface PathPartsApiInterface {
127
136
  * @summary Bulk Remove Path Part Tags Handler
128
137
  * @param {string} pathPartId
129
138
  * @param {BulkTagRequest} bulkTagRequest
139
+ * @param {string} [authorization]
130
140
  * @param {string} [ksUat]
131
141
  * @param {*} [options] Override http request option.
132
142
  * @throws {RequiredError}
@@ -143,6 +153,7 @@ export interface PathPartsApiInterface {
143
153
  /**
144
154
  * Creates request options for getPathPart without sending the request
145
155
  * @param {string} pathPartId
156
+ * @param {string} [authorization]
146
157
  * @param {string} [ksUat]
147
158
  * @throws {RequiredError}
148
159
  * @memberof PathPartsApiInterface
@@ -153,6 +164,7 @@ export interface PathPartsApiInterface {
153
164
  * Get a path part by its ID. Returns the path part with its attached tag IDs.
154
165
  * @summary Get Path Part Handler
155
166
  * @param {string} pathPartId
167
+ * @param {string} [authorization]
156
168
  * @param {string} [ksUat]
157
169
  * @param {*} [options] Override http request option.
158
170
  * @throws {RequiredError}
@@ -169,6 +181,7 @@ export interface PathPartsApiInterface {
169
181
  /**
170
182
  * Creates request options for getPathPartSubtreeChunks without sending the request
171
183
  * @param {string} pathPartId
184
+ * @param {string} [authorization]
172
185
  * @param {string} [ksUat]
173
186
  * @throws {RequiredError}
174
187
  * @memberof PathPartsApiInterface
@@ -179,6 +192,7 @@ export interface PathPartsApiInterface {
179
192
  * Resolve all descendant chunks for a subtree root. Returns chunks grouped by identical (path_part_ids, tag_ids) tuples.
180
193
  * @summary Get Path Part Subtree Chunks Handler
181
194
  * @param {string} pathPartId
195
+ * @param {string} [authorization]
182
196
  * @param {string} [ksUat]
183
197
  * @param {*} [options] Override http request option.
184
198
  * @throws {RequiredError}
@@ -196,6 +210,7 @@ export interface PathPartsApiInterface {
196
210
  * Creates request options for getPathPartTags without sending the request
197
211
  * @param {string} pathPartId
198
212
  * @param {boolean} [includeInherited] Include tags inherited from ancestor path parts
213
+ * @param {string} [authorization]
199
214
  * @param {string} [ksUat]
200
215
  * @throws {RequiredError}
201
216
  * @memberof PathPartsApiInterface
@@ -207,6 +222,7 @@ export interface PathPartsApiInterface {
207
222
  * @summary Get Path Part Tags Handler
208
223
  * @param {string} pathPartId
209
224
  * @param {boolean} [includeInherited] Include tags inherited from ancestor path parts
225
+ * @param {string} [authorization]
210
226
  * @param {string} [ksUat]
211
227
  * @param {*} [options] Override http request option.
212
228
  * @throws {RequiredError}
@@ -227,6 +243,7 @@ export interface PathPartsApiInterface {
227
243
  * @param {PathOrder} [sortOrder] Sort order for results (default: LOGICAL)
228
244
  * @param {number} [limit] Number of items per page
229
245
  * @param {number} [offset] Number of items to skip
246
+ * @param {string} [authorization]
230
247
  * @param {string} [ksUat]
231
248
  * @throws {RequiredError}
232
249
  * @memberof PathPartsApiInterface
@@ -241,6 +258,7 @@ export interface PathPartsApiInterface {
241
258
  * @param {PathOrder} [sortOrder] Sort order for results (default: LOGICAL)
242
259
  * @param {number} [limit] Number of items per page
243
260
  * @param {number} [offset] Number of items to skip
261
+ * @param {string} [authorization]
244
262
  * @param {string} [ksUat]
245
263
  * @param {*} [options] Override http request option.
246
264
  * @throws {RequiredError}
@@ -285,6 +303,10 @@ export class PathPartsApi extends runtime.BaseAPI implements PathPartsApiInterfa
285
303
 
286
304
  headerParameters['Content-Type'] = 'application/json';
287
305
 
306
+ if (requestParameters['authorization'] != null) {
307
+ headerParameters['authorization'] = String(requestParameters['authorization']);
308
+ }
309
+
288
310
 
289
311
  let urlPath = `/v1/path-parts/{path_part_id}/tags`;
290
312
  urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
@@ -342,6 +364,10 @@ export class PathPartsApi extends runtime.BaseAPI implements PathPartsApiInterfa
342
364
 
343
365
  headerParameters['Content-Type'] = 'application/json';
344
366
 
367
+ if (requestParameters['authorization'] != null) {
368
+ headerParameters['authorization'] = String(requestParameters['authorization']);
369
+ }
370
+
345
371
 
346
372
  let urlPath = `/v1/path-parts/{path_part_id}/tags`;
347
373
  urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
@@ -390,6 +416,10 @@ export class PathPartsApi extends runtime.BaseAPI implements PathPartsApiInterfa
390
416
 
391
417
  const headerParameters: runtime.HTTPHeaders = {};
392
418
 
419
+ if (requestParameters['authorization'] != null) {
420
+ headerParameters['authorization'] = String(requestParameters['authorization']);
421
+ }
422
+
393
423
 
394
424
  let urlPath = `/v1/path-parts/{path_part_id}`;
395
425
  urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
@@ -437,6 +467,10 @@ export class PathPartsApi extends runtime.BaseAPI implements PathPartsApiInterfa
437
467
 
438
468
  const headerParameters: runtime.HTTPHeaders = {};
439
469
 
470
+ if (requestParameters['authorization'] != null) {
471
+ headerParameters['authorization'] = String(requestParameters['authorization']);
472
+ }
473
+
440
474
 
441
475
  let urlPath = `/v1/path-parts/{path_part_id}/subtree_chunks`;
442
476
  urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
@@ -488,6 +522,10 @@ export class PathPartsApi extends runtime.BaseAPI implements PathPartsApiInterfa
488
522
 
489
523
  const headerParameters: runtime.HTTPHeaders = {};
490
524
 
525
+ if (requestParameters['authorization'] != null) {
526
+ headerParameters['authorization'] = String(requestParameters['authorization']);
527
+ }
528
+
491
529
 
492
530
  let urlPath = `/v1/path-parts/{path_part_id}/tags`;
493
531
  urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
@@ -548,6 +586,10 @@ export class PathPartsApi extends runtime.BaseAPI implements PathPartsApiInterfa
548
586
 
549
587
  const headerParameters: runtime.HTTPHeaders = {};
550
588
 
589
+ if (requestParameters['authorization'] != null) {
590
+ headerParameters['authorization'] = String(requestParameters['authorization']);
591
+ }
592
+
551
593
 
552
594
  let urlPath = `/v1/path-parts`;
553
595
 
@@ -33,22 +33,26 @@ import {
33
33
 
34
34
  export interface CreateSectionOperationRequest {
35
35
  createSectionRequest: CreateSectionRequest;
36
+ authorization?: string | null;
36
37
  ksUat?: string | null;
37
38
  }
38
39
 
39
40
  export interface DeleteSectionRequest {
40
41
  sectionId: string;
42
+ authorization?: string | null;
41
43
  ksUat?: string | null;
42
44
  }
43
45
 
44
46
  export interface GetSectionRequest {
45
47
  sectionId: string;
48
+ authorization?: string | null;
46
49
  ksUat?: string | null;
47
50
  }
48
51
 
49
52
  export interface UpdateSectionOperationRequest {
50
53
  sectionId: string;
51
54
  updateSectionRequest: UpdateSectionRequest;
55
+ authorization?: string | null;
52
56
  ksUat?: string | null;
53
57
  }
54
58
 
@@ -62,6 +66,7 @@ export interface SectionsApiInterface {
62
66
  /**
63
67
  * Creates request options for createSection without sending the request
64
68
  * @param {CreateSectionRequest} createSectionRequest
69
+ * @param {string} [authorization]
65
70
  * @param {string} [ksUat]
66
71
  * @throws {RequiredError}
67
72
  * @memberof SectionsApiInterface
@@ -72,6 +77,7 @@ export interface SectionsApiInterface {
72
77
  * Create a new section. The section is created as a child of the specified parent (must be DOCUMENT_VERSION or SECTION). If prev_sibling_path_id is provided, the section is inserted after that sibling; otherwise it is appended to the end of the sibling list.
73
78
  * @summary Create Section Handler
74
79
  * @param {CreateSectionRequest} createSectionRequest
80
+ * @param {string} [authorization]
75
81
  * @param {string} [ksUat]
76
82
  * @param {*} [options] Override http request option.
77
83
  * @throws {RequiredError}
@@ -88,6 +94,7 @@ export interface SectionsApiInterface {
88
94
  /**
89
95
  * Creates request options for deleteSection without sending the request
90
96
  * @param {string} sectionId
97
+ * @param {string} [authorization]
91
98
  * @param {string} [ksUat]
92
99
  * @throws {RequiredError}
93
100
  * @memberof SectionsApiInterface
@@ -98,6 +105,7 @@ export interface SectionsApiInterface {
98
105
  * Delete a section and all its children. WARNING: This cascades to all child sections due to parent_id ON DELETE CASCADE.
99
106
  * @summary Delete Section Handler
100
107
  * @param {string} sectionId
108
+ * @param {string} [authorization]
101
109
  * @param {string} [ksUat]
102
110
  * @param {*} [options] Override http request option.
103
111
  * @throws {RequiredError}
@@ -114,6 +122,7 @@ export interface SectionsApiInterface {
114
122
  /**
115
123
  * Creates request options for getSection without sending the request
116
124
  * @param {string} sectionId
125
+ * @param {string} [authorization]
117
126
  * @param {string} [ksUat]
118
127
  * @throws {RequiredError}
119
128
  * @memberof SectionsApiInterface
@@ -124,6 +133,7 @@ export interface SectionsApiInterface {
124
133
  * Get a section by its ID.
125
134
  * @summary Get Section Handler
126
135
  * @param {string} sectionId
136
+ * @param {string} [authorization]
127
137
  * @param {string} [ksUat]
128
138
  * @param {*} [options] Override http request option.
129
139
  * @throws {RequiredError}
@@ -141,6 +151,7 @@ export interface SectionsApiInterface {
141
151
  * Creates request options for updateSection without sending the request
142
152
  * @param {string} sectionId
143
153
  * @param {UpdateSectionRequest} updateSectionRequest
154
+ * @param {string} [authorization]
144
155
  * @param {string} [ksUat]
145
156
  * @throws {RequiredError}
146
157
  * @memberof SectionsApiInterface
@@ -152,6 +163,7 @@ export interface SectionsApiInterface {
152
163
  * @summary Update Section Handler
153
164
  * @param {string} sectionId
154
165
  * @param {UpdateSectionRequest} updateSectionRequest
166
+ * @param {string} [authorization]
155
167
  * @param {string} [ksUat]
156
168
  * @param {*} [options] Override http request option.
157
169
  * @throws {RequiredError}
@@ -189,6 +201,10 @@ export class SectionsApi extends runtime.BaseAPI implements SectionsApiInterface
189
201
 
190
202
  headerParameters['Content-Type'] = 'application/json';
191
203
 
204
+ if (requestParameters['authorization'] != null) {
205
+ headerParameters['authorization'] = String(requestParameters['authorization']);
206
+ }
207
+
192
208
 
193
209
  let urlPath = `/v1/sections`;
194
210
 
@@ -236,6 +252,10 @@ export class SectionsApi extends runtime.BaseAPI implements SectionsApiInterface
236
252
 
237
253
  const headerParameters: runtime.HTTPHeaders = {};
238
254
 
255
+ if (requestParameters['authorization'] != null) {
256
+ headerParameters['authorization'] = String(requestParameters['authorization']);
257
+ }
258
+
239
259
 
240
260
  let urlPath = `/v1/sections/{section_id}`;
241
261
  urlPath = urlPath.replace(`{${"section_id"}}`, encodeURIComponent(String(requestParameters['sectionId'])));
@@ -282,6 +302,10 @@ export class SectionsApi extends runtime.BaseAPI implements SectionsApiInterface
282
302
 
283
303
  const headerParameters: runtime.HTTPHeaders = {};
284
304
 
305
+ if (requestParameters['authorization'] != null) {
306
+ headerParameters['authorization'] = String(requestParameters['authorization']);
307
+ }
308
+
285
309
 
286
310
  let urlPath = `/v1/sections/{section_id}`;
287
311
  urlPath = urlPath.replace(`{${"section_id"}}`, encodeURIComponent(String(requestParameters['sectionId'])));
@@ -338,6 +362,10 @@ export class SectionsApi extends runtime.BaseAPI implements SectionsApiInterface
338
362
 
339
363
  headerParameters['Content-Type'] = 'application/json';
340
364
 
365
+ if (requestParameters['authorization'] != null) {
366
+ headerParameters['authorization'] = String(requestParameters['authorization']);
367
+ }
368
+
341
369
 
342
370
  let urlPath = `/v1/sections/{section_id}`;
343
371
  urlPath = urlPath.replace(`{${"section_id"}}`, encodeURIComponent(String(requestParameters['sectionId'])));
@@ -36,28 +36,33 @@ import {
36
36
 
37
37
  export interface CreateTagOperationRequest {
38
38
  createTagRequest: CreateTagRequest;
39
+ authorization?: string | null;
39
40
  ksUat?: string | null;
40
41
  }
41
42
 
42
43
  export interface DeleteTagRequest {
43
44
  tagId: string;
45
+ authorization?: string | null;
44
46
  ksUat?: string | null;
45
47
  }
46
48
 
47
49
  export interface GetTagRequest {
48
50
  tagId: string;
51
+ authorization?: string | null;
49
52
  ksUat?: string | null;
50
53
  }
51
54
 
52
55
  export interface ListTagsRequest {
53
56
  limit?: number;
54
57
  offset?: number;
58
+ authorization?: string | null;
55
59
  ksUat?: string | null;
56
60
  }
57
61
 
58
62
  export interface UpdateTagOperationRequest {
59
63
  tagId: string;
60
64
  updateTagRequest: UpdateTagRequest;
65
+ authorization?: string | null;
61
66
  ksUat?: string | null;
62
67
  }
63
68
 
@@ -71,6 +76,7 @@ export interface TagsApiInterface {
71
76
  /**
72
77
  * Creates request options for createTag without sending the request
73
78
  * @param {CreateTagRequest} createTagRequest
79
+ * @param {string} [authorization]
74
80
  * @param {string} [ksUat]
75
81
  * @throws {RequiredError}
76
82
  * @memberof TagsApiInterface
@@ -81,6 +87,7 @@ export interface TagsApiInterface {
81
87
  * Create a new tag for the current tenant. Requires ADMIN or OWNER role.
82
88
  * @summary Create Tag Handler
83
89
  * @param {CreateTagRequest} createTagRequest
90
+ * @param {string} [authorization]
84
91
  * @param {string} [ksUat]
85
92
  * @param {*} [options] Override http request option.
86
93
  * @throws {RequiredError}
@@ -97,6 +104,7 @@ export interface TagsApiInterface {
97
104
  /**
98
105
  * Creates request options for deleteTag without sending the request
99
106
  * @param {string} tagId
107
+ * @param {string} [authorization]
100
108
  * @param {string} [ksUat]
101
109
  * @throws {RequiredError}
102
110
  * @memberof TagsApiInterface
@@ -107,6 +115,7 @@ export interface TagsApiInterface {
107
115
  * Delete a tag and all its path_part associations. Requires ADMIN or OWNER role.
108
116
  * @summary Delete Tag Handler
109
117
  * @param {string} tagId
118
+ * @param {string} [authorization]
110
119
  * @param {string} [ksUat]
111
120
  * @param {*} [options] Override http request option.
112
121
  * @throws {RequiredError}
@@ -123,6 +132,7 @@ export interface TagsApiInterface {
123
132
  /**
124
133
  * Creates request options for getTag without sending the request
125
134
  * @param {string} tagId
135
+ * @param {string} [authorization]
126
136
  * @param {string} [ksUat]
127
137
  * @throws {RequiredError}
128
138
  * @memberof TagsApiInterface
@@ -133,6 +143,7 @@ export interface TagsApiInterface {
133
143
  * Get a tag by its ID.
134
144
  * @summary Get Tag Handler
135
145
  * @param {string} tagId
146
+ * @param {string} [authorization]
136
147
  * @param {string} [ksUat]
137
148
  * @param {*} [options] Override http request option.
138
149
  * @throws {RequiredError}
@@ -150,6 +161,7 @@ export interface TagsApiInterface {
150
161
  * Creates request options for listTags without sending the request
151
162
  * @param {number} [limit] Number of items per page
152
163
  * @param {number} [offset] Number of items to skip
164
+ * @param {string} [authorization]
153
165
  * @param {string} [ksUat]
154
166
  * @throws {RequiredError}
155
167
  * @memberof TagsApiInterface
@@ -161,6 +173,7 @@ export interface TagsApiInterface {
161
173
  * @summary List Tags Handler
162
174
  * @param {number} [limit] Number of items per page
163
175
  * @param {number} [offset] Number of items to skip
176
+ * @param {string} [authorization]
164
177
  * @param {string} [ksUat]
165
178
  * @param {*} [options] Override http request option.
166
179
  * @throws {RequiredError}
@@ -178,6 +191,7 @@ export interface TagsApiInterface {
178
191
  * Creates request options for updateTag without sending the request
179
192
  * @param {string} tagId
180
193
  * @param {UpdateTagRequest} updateTagRequest
194
+ * @param {string} [authorization]
181
195
  * @param {string} [ksUat]
182
196
  * @throws {RequiredError}
183
197
  * @memberof TagsApiInterface
@@ -189,6 +203,7 @@ export interface TagsApiInterface {
189
203
  * @summary Update Tag Handler
190
204
  * @param {string} tagId
191
205
  * @param {UpdateTagRequest} updateTagRequest
206
+ * @param {string} [authorization]
192
207
  * @param {string} [ksUat]
193
208
  * @param {*} [options] Override http request option.
194
209
  * @throws {RequiredError}
@@ -226,6 +241,10 @@ export class TagsApi extends runtime.BaseAPI implements TagsApiInterface {
226
241
 
227
242
  headerParameters['Content-Type'] = 'application/json';
228
243
 
244
+ if (requestParameters['authorization'] != null) {
245
+ headerParameters['authorization'] = String(requestParameters['authorization']);
246
+ }
247
+
229
248
 
230
249
  let urlPath = `/v1/tags`;
231
250
 
@@ -273,6 +292,10 @@ export class TagsApi extends runtime.BaseAPI implements TagsApiInterface {
273
292
 
274
293
  const headerParameters: runtime.HTTPHeaders = {};
275
294
 
295
+ if (requestParameters['authorization'] != null) {
296
+ headerParameters['authorization'] = String(requestParameters['authorization']);
297
+ }
298
+
276
299
 
277
300
  let urlPath = `/v1/tags/{tag_id}`;
278
301
  urlPath = urlPath.replace(`{${"tag_id"}}`, encodeURIComponent(String(requestParameters['tagId'])));
@@ -319,6 +342,10 @@ export class TagsApi extends runtime.BaseAPI implements TagsApiInterface {
319
342
 
320
343
  const headerParameters: runtime.HTTPHeaders = {};
321
344
 
345
+ if (requestParameters['authorization'] != null) {
346
+ headerParameters['authorization'] = String(requestParameters['authorization']);
347
+ }
348
+
322
349
 
323
350
  let urlPath = `/v1/tags/{tag_id}`;
324
351
  urlPath = urlPath.replace(`{${"tag_id"}}`, encodeURIComponent(String(requestParameters['tagId'])));
@@ -367,6 +394,10 @@ export class TagsApi extends runtime.BaseAPI implements TagsApiInterface {
367
394
 
368
395
  const headerParameters: runtime.HTTPHeaders = {};
369
396
 
397
+ if (requestParameters['authorization'] != null) {
398
+ headerParameters['authorization'] = String(requestParameters['authorization']);
399
+ }
400
+
370
401
 
371
402
  let urlPath = `/v1/tags`;
372
403
 
@@ -422,6 +453,10 @@ export class TagsApi extends runtime.BaseAPI implements TagsApiInterface {
422
453
 
423
454
  headerParameters['Content-Type'] = 'application/json';
424
455
 
456
+ if (requestParameters['authorization'] != null) {
457
+ headerParameters['authorization'] = String(requestParameters['authorization']);
458
+ }
459
+
425
460
 
426
461
  let urlPath = `/v1/tags/{tag_id}`;
427
462
  urlPath = urlPath.replace(`{${"tag_id"}}`, encodeURIComponent(String(requestParameters['tagId'])));