@knowledge-stack/ksapi 1.62.1 → 1.63.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 (61) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/README.md +12 -3
  3. package/dist/apis/FeedbackApi.d.ts +170 -0
  4. package/dist/apis/FeedbackApi.js +176 -0
  5. package/dist/apis/TenantGroupsApi.d.ts +1 -37
  6. package/dist/apis/TenantGroupsApi.js +3 -75
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/esm/apis/FeedbackApi.d.ts +170 -0
  10. package/dist/esm/apis/FeedbackApi.js +172 -0
  11. package/dist/esm/apis/TenantGroupsApi.d.ts +1 -37
  12. package/dist/esm/apis/TenantGroupsApi.js +3 -75
  13. package/dist/esm/apis/index.d.ts +1 -0
  14. package/dist/esm/apis/index.js +1 -0
  15. package/dist/esm/models/FeedbackEventResponse.d.ts +106 -0
  16. package/dist/esm/models/FeedbackEventResponse.js +83 -0
  17. package/dist/esm/models/FeedbackRating.d.ts +25 -0
  18. package/dist/esm/models/FeedbackRating.js +43 -0
  19. package/dist/esm/models/FeedbackReason.d.ts +34 -0
  20. package/dist/esm/models/FeedbackReason.js +52 -0
  21. package/dist/esm/models/FeedbackTargetType.d.ts +28 -0
  22. package/dist/esm/models/FeedbackTargetType.js +46 -0
  23. package/dist/esm/models/PaginatedResponseFeedbackEventResponse.d.ts +66 -0
  24. package/dist/esm/models/PaginatedResponseFeedbackEventResponse.js +70 -0
  25. package/dist/esm/models/SubmitFeedbackRequest.d.ts +82 -0
  26. package/dist/esm/models/SubmitFeedbackRequest.js +65 -0
  27. package/dist/esm/models/index.d.ts +6 -0
  28. package/dist/esm/models/index.js +6 -0
  29. package/dist/models/FeedbackEventResponse.d.ts +106 -0
  30. package/dist/models/FeedbackEventResponse.js +91 -0
  31. package/dist/models/FeedbackRating.d.ts +25 -0
  32. package/dist/models/FeedbackRating.js +51 -0
  33. package/dist/models/FeedbackReason.d.ts +34 -0
  34. package/dist/models/FeedbackReason.js +60 -0
  35. package/dist/models/FeedbackTargetType.d.ts +28 -0
  36. package/dist/models/FeedbackTargetType.js +54 -0
  37. package/dist/models/PaginatedResponseFeedbackEventResponse.d.ts +66 -0
  38. package/dist/models/PaginatedResponseFeedbackEventResponse.js +78 -0
  39. package/dist/models/SubmitFeedbackRequest.d.ts +82 -0
  40. package/dist/models/SubmitFeedbackRequest.js +73 -0
  41. package/dist/models/index.d.ts +6 -0
  42. package/dist/models/index.js +6 -0
  43. package/docs/FeedbackApi.md +245 -0
  44. package/docs/FeedbackEventResponse.md +53 -0
  45. package/docs/FeedbackRating.md +32 -0
  46. package/docs/FeedbackReason.md +32 -0
  47. package/docs/FeedbackTargetType.md +32 -0
  48. package/docs/PaginatedResponseFeedbackEventResponse.md +40 -0
  49. package/docs/SubmitFeedbackRequest.md +45 -0
  50. package/docs/TenantGroupsApi.md +13 -49
  51. package/package.json +1 -1
  52. package/src/apis/FeedbackApi.ts +334 -0
  53. package/src/apis/TenantGroupsApi.ts +2 -170
  54. package/src/apis/index.ts +1 -0
  55. package/src/models/FeedbackEventResponse.ts +188 -0
  56. package/src/models/FeedbackRating.ts +53 -0
  57. package/src/models/FeedbackReason.ts +62 -0
  58. package/src/models/FeedbackTargetType.ts +56 -0
  59. package/src/models/PaginatedResponseFeedbackEventResponse.ts +130 -0
  60. package/src/models/SubmitFeedbackRequest.ts +152 -0
  61. package/src/models/index.ts +6 -0
@@ -57,7 +57,6 @@ import {
57
57
 
58
58
  export interface AddGroupMemberRequest {
59
59
  groupId: string;
60
- tenantId: string;
61
60
  addMemberRequest: AddMemberRequest;
62
61
  authorization?: string | null;
63
62
  ksUat?: string | null;
@@ -65,14 +64,12 @@ export interface AddGroupMemberRequest {
65
64
 
66
65
  export interface CreateGroupPermissionOperationRequest {
67
66
  groupId: string;
68
- tenantId: string;
69
67
  createGroupPermissionRequest: CreateGroupPermissionRequest;
70
68
  authorization?: string | null;
71
69
  ksUat?: string | null;
72
70
  }
73
71
 
74
72
  export interface CreateTenantGroupRequest {
75
- tenantId: string;
76
73
  createGroupRequest: CreateGroupRequest;
77
74
  authorization?: string | null;
78
75
  ksUat?: string | null;
@@ -81,28 +78,24 @@ export interface CreateTenantGroupRequest {
81
78
  export interface DeleteGroupPermissionRequest {
82
79
  groupId: string;
83
80
  permissionId: string;
84
- tenantId: string;
85
81
  authorization?: string | null;
86
82
  ksUat?: string | null;
87
83
  }
88
84
 
89
85
  export interface DeleteTenantGroupRequest {
90
86
  groupId: string;
91
- tenantId: string;
92
87
  authorization?: string | null;
93
88
  ksUat?: string | null;
94
89
  }
95
90
 
96
91
  export interface GetTenantGroupRequest {
97
92
  groupId: string;
98
- tenantId: string;
99
93
  authorization?: string | null;
100
94
  ksUat?: string | null;
101
95
  }
102
96
 
103
97
  export interface ListGroupMembersRequest {
104
98
  groupId: string;
105
- tenantId: string;
106
99
  limit?: number;
107
100
  offset?: number;
108
101
  authorization?: string | null;
@@ -111,7 +104,6 @@ export interface ListGroupMembersRequest {
111
104
 
112
105
  export interface ListGroupPermissionsRequest {
113
106
  groupId: string;
114
- tenantId: string;
115
107
  limit?: number;
116
108
  offset?: number;
117
109
  authorization?: string | null;
@@ -124,7 +116,6 @@ export interface ListMyGroupsRequest {
124
116
  }
125
117
 
126
118
  export interface ListTenantGroupsRequest {
127
- tenantId: string;
128
119
  limit?: number;
129
120
  offset?: number;
130
121
  authorization?: string | null;
@@ -134,7 +125,6 @@ export interface ListTenantGroupsRequest {
134
125
  export interface RemoveGroupMemberRequest {
135
126
  groupId: string;
136
127
  userId: string;
137
- tenantId: string;
138
128
  authorization?: string | null;
139
129
  ksUat?: string | null;
140
130
  }
@@ -142,7 +132,6 @@ export interface RemoveGroupMemberRequest {
142
132
  export interface UpdateGroupPermissionOperationRequest {
143
133
  groupId: string;
144
134
  permissionId: string;
145
- tenantId: string;
146
135
  updateGroupPermissionRequest: UpdateGroupPermissionRequest;
147
136
  authorization?: string | null;
148
137
  ksUat?: string | null;
@@ -150,7 +139,6 @@ export interface UpdateGroupPermissionOperationRequest {
150
139
 
151
140
  export interface UpdateTenantGroupRequest {
152
141
  groupId: string;
153
- tenantId: string;
154
142
  updateGroupRequest: UpdateGroupRequest;
155
143
  authorization?: string | null;
156
144
  ksUat?: string | null;
@@ -166,7 +154,6 @@ export interface TenantGroupsApiInterface {
166
154
  /**
167
155
  * Creates request options for addGroupMember without sending the request
168
156
  * @param {string} groupId
169
- * @param {string} tenantId Tenant ID
170
157
  * @param {AddMemberRequest} addMemberRequest
171
158
  * @param {string} [authorization]
172
159
  * @param {string} [ksUat]
@@ -179,7 +166,6 @@ export interface TenantGroupsApiInterface {
179
166
  * Add a user to a group (admin/owner only).
180
167
  * @summary Add Group Member Handler
181
168
  * @param {string} groupId
182
- * @param {string} tenantId Tenant ID
183
169
  * @param {AddMemberRequest} addMemberRequest
184
170
  * @param {string} [authorization]
185
171
  * @param {string} [ksUat]
@@ -198,7 +184,6 @@ export interface TenantGroupsApiInterface {
198
184
  /**
199
185
  * Creates request options for createGroupPermission without sending the request
200
186
  * @param {string} groupId
201
- * @param {string} tenantId Tenant ID
202
187
  * @param {CreateGroupPermissionRequest} createGroupPermissionRequest
203
188
  * @param {string} [authorization]
204
189
  * @param {string} [ksUat]
@@ -211,7 +196,6 @@ export interface TenantGroupsApiInterface {
211
196
  * Create a path permission for a group (admin/owner only).
212
197
  * @summary Create Group Permission Handler
213
198
  * @param {string} groupId
214
- * @param {string} tenantId Tenant ID
215
199
  * @param {CreateGroupPermissionRequest} createGroupPermissionRequest
216
200
  * @param {string} [authorization]
217
201
  * @param {string} [ksUat]
@@ -229,7 +213,6 @@ export interface TenantGroupsApiInterface {
229
213
 
230
214
  /**
231
215
  * Creates request options for createTenantGroup without sending the request
232
- * @param {string} tenantId Tenant ID
233
216
  * @param {CreateGroupRequest} createGroupRequest
234
217
  * @param {string} [authorization]
235
218
  * @param {string} [ksUat]
@@ -241,7 +224,6 @@ export interface TenantGroupsApiInterface {
241
224
  /**
242
225
  * Create a new tenant group (admin/owner only).
243
226
  * @summary Create Tenant Group Handler
244
- * @param {string} tenantId Tenant ID
245
227
  * @param {CreateGroupRequest} createGroupRequest
246
228
  * @param {string} [authorization]
247
229
  * @param {string} [ksUat]
@@ -261,7 +243,6 @@ export interface TenantGroupsApiInterface {
261
243
  * Creates request options for deleteGroupPermission without sending the request
262
244
  * @param {string} groupId
263
245
  * @param {string} permissionId
264
- * @param {string} tenantId Tenant ID
265
246
  * @param {string} [authorization]
266
247
  * @param {string} [ksUat]
267
248
  * @throws {RequiredError}
@@ -274,7 +255,6 @@ export interface TenantGroupsApiInterface {
274
255
  * @summary Delete Group Permission Handler
275
256
  * @param {string} groupId
276
257
  * @param {string} permissionId
277
- * @param {string} tenantId Tenant ID
278
258
  * @param {string} [authorization]
279
259
  * @param {string} [ksUat]
280
260
  * @param {*} [options] Override http request option.
@@ -292,7 +272,6 @@ export interface TenantGroupsApiInterface {
292
272
  /**
293
273
  * Creates request options for deleteTenantGroup without sending the request
294
274
  * @param {string} groupId
295
- * @param {string} tenantId Tenant ID
296
275
  * @param {string} [authorization]
297
276
  * @param {string} [ksUat]
298
277
  * @throws {RequiredError}
@@ -304,7 +283,6 @@ export interface TenantGroupsApiInterface {
304
283
  * Delete a tenant group (admin/owner only).
305
284
  * @summary Delete Tenant Group Handler
306
285
  * @param {string} groupId
307
- * @param {string} tenantId Tenant ID
308
286
  * @param {string} [authorization]
309
287
  * @param {string} [ksUat]
310
288
  * @param {*} [options] Override http request option.
@@ -322,7 +300,6 @@ export interface TenantGroupsApiInterface {
322
300
  /**
323
301
  * Creates request options for getTenantGroup without sending the request
324
302
  * @param {string} groupId
325
- * @param {string} tenantId Tenant ID
326
303
  * @param {string} [authorization]
327
304
  * @param {string} [ksUat]
328
305
  * @throws {RequiredError}
@@ -334,7 +311,6 @@ export interface TenantGroupsApiInterface {
334
311
  * Get a tenant group by ID (group member or admin/owner).
335
312
  * @summary Get Tenant Group Handler
336
313
  * @param {string} groupId
337
- * @param {string} tenantId Tenant ID
338
314
  * @param {string} [authorization]
339
315
  * @param {string} [ksUat]
340
316
  * @param {*} [options] Override http request option.
@@ -352,7 +328,6 @@ export interface TenantGroupsApiInterface {
352
328
  /**
353
329
  * Creates request options for listGroupMembers without sending the request
354
330
  * @param {string} groupId
355
- * @param {string} tenantId Tenant ID
356
331
  * @param {number} [limit] Number of items per page
357
332
  * @param {number} [offset] Number of items to skip
358
333
  * @param {string} [authorization]
@@ -366,7 +341,6 @@ export interface TenantGroupsApiInterface {
366
341
  * List members of a group (group members or admin/owner).
367
342
  * @summary List Group Members Handler
368
343
  * @param {string} groupId
369
- * @param {string} tenantId Tenant ID
370
344
  * @param {number} [limit] Number of items per page
371
345
  * @param {number} [offset] Number of items to skip
372
346
  * @param {string} [authorization]
@@ -386,7 +360,6 @@ export interface TenantGroupsApiInterface {
386
360
  /**
387
361
  * Creates request options for listGroupPermissions without sending the request
388
362
  * @param {string} groupId
389
- * @param {string} tenantId Tenant ID
390
363
  * @param {number} [limit] Number of items per page
391
364
  * @param {number} [offset] Number of items to skip
392
365
  * @param {string} [authorization]
@@ -400,7 +373,6 @@ export interface TenantGroupsApiInterface {
400
373
  * List path permissions for a group (group member or admin/owner).
401
374
  * @summary List Group Permissions Handler
402
375
  * @param {string} groupId
403
- * @param {string} tenantId Tenant ID
404
376
  * @param {number} [limit] Number of items per page
405
377
  * @param {number} [offset] Number of items to skip
406
378
  * @param {string} [authorization]
@@ -445,7 +417,6 @@ export interface TenantGroupsApiInterface {
445
417
 
446
418
  /**
447
419
  * Creates request options for listTenantGroups without sending the request
448
- * @param {string} tenantId Tenant ID
449
420
  * @param {number} [limit] Number of items per page
450
421
  * @param {number} [offset] Number of items to skip
451
422
  * @param {string} [authorization]
@@ -458,7 +429,6 @@ export interface TenantGroupsApiInterface {
458
429
  /**
459
430
  * List tenant groups. Admin/owner see all groups; other members see only groups they belong to.
460
431
  * @summary List Tenant Groups Handler
461
- * @param {string} tenantId Tenant ID
462
432
  * @param {number} [limit] Number of items per page
463
433
  * @param {number} [offset] Number of items to skip
464
434
  * @param {string} [authorization]
@@ -479,7 +449,6 @@ export interface TenantGroupsApiInterface {
479
449
  * Creates request options for removeGroupMember without sending the request
480
450
  * @param {string} groupId
481
451
  * @param {string} userId
482
- * @param {string} tenantId Tenant ID
483
452
  * @param {string} [authorization]
484
453
  * @param {string} [ksUat]
485
454
  * @throws {RequiredError}
@@ -492,7 +461,6 @@ export interface TenantGroupsApiInterface {
492
461
  * @summary Remove Group Member Handler
493
462
  * @param {string} groupId
494
463
  * @param {string} userId
495
- * @param {string} tenantId Tenant ID
496
464
  * @param {string} [authorization]
497
465
  * @param {string} [ksUat]
498
466
  * @param {*} [options] Override http request option.
@@ -511,7 +479,6 @@ export interface TenantGroupsApiInterface {
511
479
  * Creates request options for updateGroupPermission without sending the request
512
480
  * @param {string} groupId
513
481
  * @param {string} permissionId
514
- * @param {string} tenantId Tenant ID
515
482
  * @param {UpdateGroupPermissionRequest} updateGroupPermissionRequest
516
483
  * @param {string} [authorization]
517
484
  * @param {string} [ksUat]
@@ -525,7 +492,6 @@ export interface TenantGroupsApiInterface {
525
492
  * @summary Update Group Permission Handler
526
493
  * @param {string} groupId
527
494
  * @param {string} permissionId
528
- * @param {string} tenantId Tenant ID
529
495
  * @param {UpdateGroupPermissionRequest} updateGroupPermissionRequest
530
496
  * @param {string} [authorization]
531
497
  * @param {string} [ksUat]
@@ -544,7 +510,6 @@ export interface TenantGroupsApiInterface {
544
510
  /**
545
511
  * Creates request options for updateTenantGroup without sending the request
546
512
  * @param {string} groupId
547
- * @param {string} tenantId Tenant ID
548
513
  * @param {UpdateGroupRequest} updateGroupRequest
549
514
  * @param {string} [authorization]
550
515
  * @param {string} [ksUat]
@@ -557,7 +522,6 @@ export interface TenantGroupsApiInterface {
557
522
  * Update a tenant group (admin/owner only).
558
523
  * @summary Update Tenant Group Handler
559
524
  * @param {string} groupId
560
- * @param {string} tenantId Tenant ID
561
525
  * @param {UpdateGroupRequest} updateGroupRequest
562
526
  * @param {string} [authorization]
563
527
  * @param {string} [ksUat]
@@ -591,13 +555,6 @@ export class TenantGroupsApi extends runtime.BaseAPI implements TenantGroupsApiI
591
555
  );
592
556
  }
593
557
 
594
- if (requestParameters['tenantId'] == null) {
595
- throw new runtime.RequiredError(
596
- 'tenantId',
597
- 'Required parameter "tenantId" was null or undefined when calling addGroupMember().'
598
- );
599
- }
600
-
601
558
  if (requestParameters['addMemberRequest'] == null) {
602
559
  throw new runtime.RequiredError(
603
560
  'addMemberRequest',
@@ -607,10 +564,6 @@ export class TenantGroupsApi extends runtime.BaseAPI implements TenantGroupsApiI
607
564
 
608
565
  const queryParameters: any = {};
609
566
 
610
- if (requestParameters['tenantId'] != null) {
611
- queryParameters['tenant_id'] = requestParameters['tenantId'];
612
- }
613
-
614
567
  const headerParameters: runtime.HTTPHeaders = {};
615
568
 
616
569
  headerParameters['Content-Type'] = 'application/json';
@@ -663,13 +616,6 @@ export class TenantGroupsApi extends runtime.BaseAPI implements TenantGroupsApiI
663
616
  );
664
617
  }
665
618
 
666
- if (requestParameters['tenantId'] == null) {
667
- throw new runtime.RequiredError(
668
- 'tenantId',
669
- 'Required parameter "tenantId" was null or undefined when calling createGroupPermission().'
670
- );
671
- }
672
-
673
619
  if (requestParameters['createGroupPermissionRequest'] == null) {
674
620
  throw new runtime.RequiredError(
675
621
  'createGroupPermissionRequest',
@@ -679,10 +625,6 @@ export class TenantGroupsApi extends runtime.BaseAPI implements TenantGroupsApiI
679
625
 
680
626
  const queryParameters: any = {};
681
627
 
682
- if (requestParameters['tenantId'] != null) {
683
- queryParameters['tenant_id'] = requestParameters['tenantId'];
684
- }
685
-
686
628
  const headerParameters: runtime.HTTPHeaders = {};
687
629
 
688
630
  headerParameters['Content-Type'] = 'application/json';
@@ -728,13 +670,6 @@ export class TenantGroupsApi extends runtime.BaseAPI implements TenantGroupsApiI
728
670
  * Creates request options for createTenantGroup without sending the request
729
671
  */
730
672
  async createTenantGroupRequestOpts(requestParameters: CreateTenantGroupRequest): Promise<runtime.RequestOpts> {
731
- if (requestParameters['tenantId'] == null) {
732
- throw new runtime.RequiredError(
733
- 'tenantId',
734
- 'Required parameter "tenantId" was null or undefined when calling createTenantGroup().'
735
- );
736
- }
737
-
738
673
  if (requestParameters['createGroupRequest'] == null) {
739
674
  throw new runtime.RequiredError(
740
675
  'createGroupRequest',
@@ -744,10 +679,6 @@ export class TenantGroupsApi extends runtime.BaseAPI implements TenantGroupsApiI
744
679
 
745
680
  const queryParameters: any = {};
746
681
 
747
- if (requestParameters['tenantId'] != null) {
748
- queryParameters['tenant_id'] = requestParameters['tenantId'];
749
- }
750
-
751
682
  const headerParameters: runtime.HTTPHeaders = {};
752
683
 
753
684
  headerParameters['Content-Type'] = 'application/json';
@@ -806,19 +737,8 @@ export class TenantGroupsApi extends runtime.BaseAPI implements TenantGroupsApiI
806
737
  );
807
738
  }
808
739
 
809
- if (requestParameters['tenantId'] == null) {
810
- throw new runtime.RequiredError(
811
- 'tenantId',
812
- 'Required parameter "tenantId" was null or undefined when calling deleteGroupPermission().'
813
- );
814
- }
815
-
816
740
  const queryParameters: any = {};
817
741
 
818
- if (requestParameters['tenantId'] != null) {
819
- queryParameters['tenant_id'] = requestParameters['tenantId'];
820
- }
821
-
822
742
  const headerParameters: runtime.HTTPHeaders = {};
823
743
 
824
744
  if (requestParameters['authorization'] != null) {
@@ -868,19 +788,8 @@ export class TenantGroupsApi extends runtime.BaseAPI implements TenantGroupsApiI
868
788
  );
869
789
  }
870
790
 
871
- if (requestParameters['tenantId'] == null) {
872
- throw new runtime.RequiredError(
873
- 'tenantId',
874
- 'Required parameter "tenantId" was null or undefined when calling deleteTenantGroup().'
875
- );
876
- }
877
-
878
791
  const queryParameters: any = {};
879
792
 
880
- if (requestParameters['tenantId'] != null) {
881
- queryParameters['tenant_id'] = requestParameters['tenantId'];
882
- }
883
-
884
793
  const headerParameters: runtime.HTTPHeaders = {};
885
794
 
886
795
  if (requestParameters['authorization'] != null) {
@@ -929,19 +838,8 @@ export class TenantGroupsApi extends runtime.BaseAPI implements TenantGroupsApiI
929
838
  );
930
839
  }
931
840
 
932
- if (requestParameters['tenantId'] == null) {
933
- throw new runtime.RequiredError(
934
- 'tenantId',
935
- 'Required parameter "tenantId" was null or undefined when calling getTenantGroup().'
936
- );
937
- }
938
-
939
841
  const queryParameters: any = {};
940
842
 
941
- if (requestParameters['tenantId'] != null) {
942
- queryParameters['tenant_id'] = requestParameters['tenantId'];
943
- }
944
-
945
843
  const headerParameters: runtime.HTTPHeaders = {};
946
844
 
947
845
  if (requestParameters['authorization'] != null) {
@@ -991,19 +889,8 @@ export class TenantGroupsApi extends runtime.BaseAPI implements TenantGroupsApiI
991
889
  );
992
890
  }
993
891
 
994
- if (requestParameters['tenantId'] == null) {
995
- throw new runtime.RequiredError(
996
- 'tenantId',
997
- 'Required parameter "tenantId" was null or undefined when calling listGroupMembers().'
998
- );
999
- }
1000
-
1001
892
  const queryParameters: any = {};
1002
893
 
1003
- if (requestParameters['tenantId'] != null) {
1004
- queryParameters['tenant_id'] = requestParameters['tenantId'];
1005
- }
1006
-
1007
894
  if (requestParameters['limit'] != null) {
1008
895
  queryParameters['limit'] = requestParameters['limit'];
1009
896
  }
@@ -1061,19 +948,8 @@ export class TenantGroupsApi extends runtime.BaseAPI implements TenantGroupsApiI
1061
948
  );
1062
949
  }
1063
950
 
1064
- if (requestParameters['tenantId'] == null) {
1065
- throw new runtime.RequiredError(
1066
- 'tenantId',
1067
- 'Required parameter "tenantId" was null or undefined when calling listGroupPermissions().'
1068
- );
1069
- }
1070
-
1071
951
  const queryParameters: any = {};
1072
952
 
1073
- if (requestParameters['tenantId'] != null) {
1074
- queryParameters['tenant_id'] = requestParameters['tenantId'];
1075
- }
1076
-
1077
953
  if (requestParameters['limit'] != null) {
1078
954
  queryParameters['limit'] = requestParameters['limit'];
1079
955
  }
@@ -1133,7 +1009,7 @@ export class TenantGroupsApi extends runtime.BaseAPI implements TenantGroupsApiI
1133
1009
  }
1134
1010
 
1135
1011
 
1136
- let urlPath = `/v1/tenant-groups/my-groups`;
1012
+ let urlPath = `/v1/tenant-groups/my-group`;
1137
1013
 
1138
1014
  return {
1139
1015
  path: urlPath,
@@ -1167,19 +1043,8 @@ export class TenantGroupsApi extends runtime.BaseAPI implements TenantGroupsApiI
1167
1043
  * Creates request options for listTenantGroups without sending the request
1168
1044
  */
1169
1045
  async listTenantGroupsRequestOpts(requestParameters: ListTenantGroupsRequest): Promise<runtime.RequestOpts> {
1170
- if (requestParameters['tenantId'] == null) {
1171
- throw new runtime.RequiredError(
1172
- 'tenantId',
1173
- 'Required parameter "tenantId" was null or undefined when calling listTenantGroups().'
1174
- );
1175
- }
1176
-
1177
1046
  const queryParameters: any = {};
1178
1047
 
1179
- if (requestParameters['tenantId'] != null) {
1180
- queryParameters['tenant_id'] = requestParameters['tenantId'];
1181
- }
1182
-
1183
1048
  if (requestParameters['limit'] != null) {
1184
1049
  queryParameters['limit'] = requestParameters['limit'];
1185
1050
  }
@@ -1220,7 +1085,7 @@ export class TenantGroupsApi extends runtime.BaseAPI implements TenantGroupsApiI
1220
1085
  * List tenant groups. Admin/owner see all groups; other members see only groups they belong to.
1221
1086
  * List Tenant Groups Handler
1222
1087
  */
1223
- async listTenantGroups(requestParameters: ListTenantGroupsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseGroupResponse> {
1088
+ async listTenantGroups(requestParameters: ListTenantGroupsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseGroupResponse> {
1224
1089
  const response = await this.listTenantGroupsRaw(requestParameters, initOverrides);
1225
1090
  return await response.value();
1226
1091
  }
@@ -1243,19 +1108,8 @@ export class TenantGroupsApi extends runtime.BaseAPI implements TenantGroupsApiI
1243
1108
  );
1244
1109
  }
1245
1110
 
1246
- if (requestParameters['tenantId'] == null) {
1247
- throw new runtime.RequiredError(
1248
- 'tenantId',
1249
- 'Required parameter "tenantId" was null or undefined when calling removeGroupMember().'
1250
- );
1251
- }
1252
-
1253
1111
  const queryParameters: any = {};
1254
1112
 
1255
- if (requestParameters['tenantId'] != null) {
1256
- queryParameters['tenant_id'] = requestParameters['tenantId'];
1257
- }
1258
-
1259
1113
  const headerParameters: runtime.HTTPHeaders = {};
1260
1114
 
1261
1115
  if (requestParameters['authorization'] != null) {
@@ -1312,13 +1166,6 @@ export class TenantGroupsApi extends runtime.BaseAPI implements TenantGroupsApiI
1312
1166
  );
1313
1167
  }
1314
1168
 
1315
- if (requestParameters['tenantId'] == null) {
1316
- throw new runtime.RequiredError(
1317
- 'tenantId',
1318
- 'Required parameter "tenantId" was null or undefined when calling updateGroupPermission().'
1319
- );
1320
- }
1321
-
1322
1169
  if (requestParameters['updateGroupPermissionRequest'] == null) {
1323
1170
  throw new runtime.RequiredError(
1324
1171
  'updateGroupPermissionRequest',
@@ -1328,10 +1175,6 @@ export class TenantGroupsApi extends runtime.BaseAPI implements TenantGroupsApiI
1328
1175
 
1329
1176
  const queryParameters: any = {};
1330
1177
 
1331
- if (requestParameters['tenantId'] != null) {
1332
- queryParameters['tenant_id'] = requestParameters['tenantId'];
1333
- }
1334
-
1335
1178
  const headerParameters: runtime.HTTPHeaders = {};
1336
1179
 
1337
1180
  headerParameters['Content-Type'] = 'application/json';
@@ -1385,13 +1228,6 @@ export class TenantGroupsApi extends runtime.BaseAPI implements TenantGroupsApiI
1385
1228
  );
1386
1229
  }
1387
1230
 
1388
- if (requestParameters['tenantId'] == null) {
1389
- throw new runtime.RequiredError(
1390
- 'tenantId',
1391
- 'Required parameter "tenantId" was null or undefined when calling updateTenantGroup().'
1392
- );
1393
- }
1394
-
1395
1231
  if (requestParameters['updateGroupRequest'] == null) {
1396
1232
  throw new runtime.RequiredError(
1397
1233
  'updateGroupRequest',
@@ -1401,10 +1237,6 @@ export class TenantGroupsApi extends runtime.BaseAPI implements TenantGroupsApiI
1401
1237
 
1402
1238
  const queryParameters: any = {};
1403
1239
 
1404
- if (requestParameters['tenantId'] != null) {
1405
- queryParameters['tenant_id'] = requestParameters['tenantId'];
1406
- }
1407
-
1408
1240
  const headerParameters: runtime.HTTPHeaders = {};
1409
1241
 
1410
1242
  headerParameters['Content-Type'] = 'application/json';
package/src/apis/index.ts CHANGED
@@ -8,6 +8,7 @@ export * from './DefaultApi';
8
8
  export * from './DocumentVersionsApi';
9
9
  export * from './DocumentsApi';
10
10
  export * from './FeaturesApi';
11
+ export * from './FeedbackApi';
11
12
  export * from './FoldersApi';
12
13
  export * from './InvitesApi';
13
14
  export * from './PathPartsApi';