@hmxlabs/dax-client 1.0.9 → 1.0.10

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.
@@ -291,6 +291,42 @@ var Api = /** @class */ (function (_super) {
291
291
  __extends(Api, _super);
292
292
  function Api() {
293
293
  var _this = _super !== null && _super.apply(this, arguments) || this;
294
+ /**
295
+ * No description
296
+ *
297
+ * @tags Attachment
298
+ * @name AttachmentGetDirectUploadUrl
299
+ * @request GET:/api/v1/tenant/{tenantId}/attachment/direct-upload
300
+ * @response `200` `object`
301
+ */
302
+ _this.attachmentGetDirectUploadUrl = function (tenantId, params) {
303
+ if (params === void 0) { params = {}; }
304
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/attachment/direct-upload"), method: "GET", format: "json" }, params));
305
+ };
306
+ /**
307
+ * No description
308
+ *
309
+ * @tags Attachment
310
+ * @name AttachmentGetDirectUploadImageStatus
311
+ * @request GET:/api/v1/tenant/{tenantId}/attachment/direct-upload/{imageId}
312
+ * @response `200` `object`
313
+ */
314
+ _this.attachmentGetDirectUploadImageStatus = function (tenantId, imageId, params) {
315
+ if (params === void 0) { params = {}; }
316
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/attachment/direct-upload/").concat(imageId), method: "GET", format: "json" }, params));
317
+ };
318
+ /**
319
+ * No description
320
+ *
321
+ * @tags Attachment
322
+ * @name AttachmentGetBatchDirectUploadUrl
323
+ * @request GET:/api/v1/tenant/{tenantId}/attachment/batch-direct-upload
324
+ * @response `200` `object`
325
+ */
326
+ _this.attachmentGetBatchDirectUploadUrl = function (tenantId, params) {
327
+ if (params === void 0) { params = {}; }
328
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/attachment/batch-direct-upload"), method: "GET", format: "json" }, params));
329
+ };
294
330
  /**
295
331
  * No description
296
332
  *
@@ -303,17 +339,43 @@ var Api = /** @class */ (function (_super) {
303
339
  if (params === void 0) { params = {}; }
304
340
  return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/item/").concat(itemId, "/attachment"), method: "GET", query: query, format: "json" }, params));
305
341
  };
342
+ /**
343
+ * No description
344
+ *
345
+ * @tags Attachment
346
+ * @name AttachmentCreate
347
+ * @request POST:/api/v1/tenant/{tenantId}/item/{itemId}/attachment
348
+ * @response `200` `object`
349
+ */
350
+ _this.attachmentCreate = function (tenantId, itemId, data, params) {
351
+ if (params === void 0) { params = {}; }
352
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/item/").concat(itemId, "/attachment"), method: "POST", body: data, type: ContentType.Json, format: "json" }, params));
353
+ };
306
354
  /**
307
355
  * No description
308
356
  *
309
357
  * @tags Attachment
310
358
  * @name AttachmentUpdate
311
359
  * @request PUT:/api/v1/tenant/{tenantId}/item/{itemId}/attachment/{id}
360
+ * @secure
312
361
  * @response `200` `(AttachmentResponse)[]`
313
362
  */
314
363
  _this.attachmentUpdate = function (tenantId, itemId, id, data, params) {
315
364
  if (params === void 0) { params = {}; }
316
- return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/item/").concat(itemId, "/attachment/").concat(id), method: "PUT", body: data, type: ContentType.Json, format: "json" }, params));
365
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/item/").concat(itemId, "/attachment/").concat(id), method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
366
+ };
367
+ /**
368
+ * No description
369
+ *
370
+ * @tags Attachment
371
+ * @name AttachmentDelete
372
+ * @request DELETE:/api/v1/tenant/{tenantId}/item/{itemId}/attachment/{id}
373
+ * @secure
374
+ * @response `200` `File`
375
+ */
376
+ _this.attachmentDelete = function (tenantId, itemId, id, params) {
377
+ if (params === void 0) { params = {}; }
378
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/item/").concat(itemId, "/attachment/").concat(id), method: "DELETE", secure: true }, params));
317
379
  };
318
380
  /**
319
381
  * No description
@@ -393,38 +455,39 @@ var Api = /** @class */ (function (_super) {
393
455
  * No description
394
456
  *
395
457
  * @tags Bids
396
- * @name BidsFindAll
397
- * @request GET:/api/v1/tenant/{tenantId}/auction/{listingId}/bid
458
+ * @name BidsFindAllForAdmin
459
+ * @request GET:/api/v1/tenant/{tenantId}/admin/auction/{listingId}/bid
460
+ * @secure
398
461
  * @response `200` `object`
399
462
  */
400
- _this.bidsFindAll = function (tenantId, listingId, query, params) {
463
+ _this.bidsFindAllForAdmin = function (tenantId, listingId, query, params) {
401
464
  if (params === void 0) { params = {}; }
402
- return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/auction/").concat(listingId, "/bid"), method: "GET", query: query, format: "json" }, params));
465
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/admin/auction/").concat(listingId, "/bid"), method: "GET", query: query, secure: true, format: "json" }, params));
403
466
  };
404
467
  /**
405
468
  * No description
406
469
  *
407
470
  * @tags Bids
408
- * @name BidsCreate
409
- * @request POST:/api/v1/tenant/{tenantId}/auction/{listingId}/bid
410
- * @secure
471
+ * @name BidsFindAll
472
+ * @request GET:/api/v1/tenant/{tenantId}/auction/{listingId}/bid
411
473
  * @response `200` `object`
412
474
  */
413
- _this.bidsCreate = function (tenantId, listingId, data, params) {
475
+ _this.bidsFindAll = function (tenantId, listingId, params) {
414
476
  if (params === void 0) { params = {}; }
415
- return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/auction/").concat(listingId, "/bid"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
477
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/auction/").concat(listingId, "/bid"), method: "GET", format: "json" }, params));
416
478
  };
417
479
  /**
418
480
  * No description
419
481
  *
420
482
  * @tags Bids
421
- * @name BidsGetById
422
- * @request GET:/api/v1/tenant/{tenantId}/auction/{listingId}/bid/{id}
483
+ * @name BidsCreate
484
+ * @request POST:/api/v1/tenant/{tenantId}/auction/{listingId}/bid
485
+ * @secure
423
486
  * @response `200` `object`
424
487
  */
425
- _this.bidsGetById = function (tenantId, listingId, id, params) {
488
+ _this.bidsCreate = function (tenantId, listingId, data, params) {
426
489
  if (params === void 0) { params = {}; }
427
- return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/auction/").concat(listingId, "/bid/").concat(id), method: "GET", format: "json" }, params));
490
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/auction/").concat(listingId, "/bid"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
428
491
  };
429
492
  /**
430
493
  * No description
@@ -439,45 +502,6 @@ var Api = /** @class */ (function (_super) {
439
502
  if (params === void 0) { params = {}; }
440
503
  return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/auction/").concat(listingId, "/bid/").concat(id), method: "DELETE", body: data, secure: true, type: ContentType.Json }, params));
441
504
  };
442
- /**
443
- * No description
444
- *
445
- * @tags Cdn
446
- * @name CdnCreate
447
- * @request POST:/api/v1/cdn/{tenantId}/{itemId}
448
- * @secure
449
- * @response `200` `object`
450
- */
451
- _this.cdnCreate = function (tenantId, itemId, query, data, params) {
452
- if (params === void 0) { params = {}; }
453
- return _this.request(__assign({ path: "/api/v1/cdn/".concat(tenantId, "/").concat(itemId), method: "POST", query: query, body: data, secure: true, type: ContentType.FormData, format: "json" }, params));
454
- };
455
- /**
456
- * No description
457
- *
458
- * @tags Cdn
459
- * @name CdnGetById
460
- * @request GET:/api/v1/cdn/{tenantId}/{itemId}/{fileName}
461
- * @secure
462
- * @response `200` `object`
463
- */
464
- _this.cdnGetById = function (tenantId, itemId, fileName, params) {
465
- if (params === void 0) { params = {}; }
466
- return _this.request(__assign({ path: "/api/v1/cdn/".concat(tenantId, "/").concat(itemId, "/").concat(fileName), method: "GET", secure: true, format: "json" }, params));
467
- };
468
- /**
469
- * No description
470
- *
471
- * @tags Cdn
472
- * @name CdnDelete
473
- * @request DELETE:/api/v1/cdn/{tenantId}/{itemId}/{id}
474
- * @secure
475
- * @response `200` `File`
476
- */
477
- _this.cdnDelete = function (tenantId, itemId, id, params) {
478
- if (params === void 0) { params = {}; }
479
- return _this.request(__assign({ path: "/api/v1/cdn/".concat(tenantId, "/").concat(itemId, "/").concat(id), method: "DELETE", secure: true }, params));
480
- };
481
505
  /**
482
506
  * No description
483
507
  *
@@ -682,12 +706,24 @@ var Api = /** @class */ (function (_super) {
682
706
  if (params === void 0) { params = {}; }
683
707
  return _this.request(__assign({ path: "/api/v1/heartbeat", method: "GET", format: "json" }, params));
684
708
  };
709
+ /**
710
+ * No description
711
+ *
712
+ * @tags Item
713
+ * @name ItemFindAllForAdmin
714
+ * @request GET:/api/v1/tenant/{tenantId}/admin/item
715
+ * @secure
716
+ * @response `200` `object`
717
+ */
718
+ _this.itemFindAllForAdmin = function (tenantId, query, params) {
719
+ if (params === void 0) { params = {}; }
720
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/admin/item"), method: "GET", query: query, secure: true, format: "json" }, params));
721
+ };
685
722
  /**
686
723
  * No description
687
724
  *
688
725
  * @tags Item
689
726
  * @name ItemGetForAdminById
690
- * @summary Get item for tenant
691
727
  * @request GET:/api/v1/tenant/{tenantId}/admin/item/{itemId}
692
728
  * @secure
693
729
  * @response `200` `object`
@@ -700,14 +736,40 @@ var Api = /** @class */ (function (_super) {
700
736
  * No description
701
737
  *
702
738
  * @tags Item
703
- * @name ItemGetForSellerById
704
- * @request GET:/api/v1/tenant/{tenantId}/seller/item/{itemId}
739
+ * @name ItemUpdateForAdmin
740
+ * @request PUT:/api/v1/tenant/{tenantId}/admin/item/{itemId}
705
741
  * @secure
706
- * @response `200` `object`
742
+ * @response `200` `File`
707
743
  */
708
- _this.itemGetForSellerById = function (tenantId, itemId, params) {
744
+ _this.itemUpdateForAdmin = function (tenantId, itemId, data, params) {
709
745
  if (params === void 0) { params = {}; }
710
- return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/seller/item/").concat(itemId), method: "GET", secure: true, format: "json" }, params));
746
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/admin/item/").concat(itemId), method: "PUT", body: data, secure: true, type: ContentType.Json }, params));
747
+ };
748
+ /**
749
+ * No description
750
+ *
751
+ * @tags Item
752
+ * @name ItemAccept
753
+ * @request PUT:/api/v1/tenant/{tenantId}/admin/item/{itemId}/accept
754
+ * @secure
755
+ * @response `200` `File`
756
+ */
757
+ _this.itemAccept = function (tenantId, itemId, params) {
758
+ if (params === void 0) { params = {}; }
759
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/admin/item/").concat(itemId, "/accept"), method: "PUT", secure: true }, params));
760
+ };
761
+ /**
762
+ * No description
763
+ *
764
+ * @tags Item
765
+ * @name ItemReject
766
+ * @request PUT:/api/v1/tenant/{tenantId}/admin/item/{itemId}/reject
767
+ * @secure
768
+ * @response `200` `File`
769
+ */
770
+ _this.itemReject = function (tenantId, itemId, params) {
771
+ if (params === void 0) { params = {}; }
772
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/admin/item/").concat(itemId, "/reject"), method: "PUT", secure: true }, params));
711
773
  };
712
774
  /**
713
775
  * No description
@@ -726,12 +788,25 @@ var Api = /** @class */ (function (_super) {
726
788
  * No description
727
789
  *
728
790
  * @tags Item
729
- * @name ItemUpdate
791
+ * @name ItemGetForSellerById
792
+ * @request GET:/api/v1/tenant/{tenantId}/seller/item/{itemId}
793
+ * @secure
794
+ * @response `200` `object`
795
+ */
796
+ _this.itemGetForSellerById = function (tenantId, itemId, params) {
797
+ if (params === void 0) { params = {}; }
798
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/seller/item/").concat(itemId), method: "GET", secure: true, format: "json" }, params));
799
+ };
800
+ /**
801
+ * No description
802
+ *
803
+ * @tags Item
804
+ * @name ItemUpdateForSeller
730
805
  * @request PUT:/api/v1/tenant/{tenantId}/seller/item/{itemId}
731
806
  * @secure
732
807
  * @response `200` `File`
733
808
  */
734
- _this.itemUpdate = function (tenantId, itemId, data, params) {
809
+ _this.itemUpdateForSeller = function (tenantId, itemId, data, params) {
735
810
  if (params === void 0) { params = {}; }
736
811
  return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/seller/item/").concat(itemId), method: "PUT", body: data, secure: true, type: ContentType.Json }, params));
737
812
  };
@@ -739,15 +814,14 @@ var Api = /** @class */ (function (_super) {
739
814
  * No description
740
815
  *
741
816
  * @tags Item
742
- * @name ItemFindAllForAdmin
743
- * @summary Get a list of all the product items
744
- * @request GET:/api/v1/tenant/{tenantId}/admin/item
817
+ * @name ItemCreateProposal
818
+ * @request PUT:/api/v1/tenant/{tenantId}/seller/item/{itemId}/create-proposal
745
819
  * @secure
746
- * @response `200` `object`
820
+ * @response `200` `File`
747
821
  */
748
- _this.itemFindAllForAdmin = function (tenantId, query, params) {
822
+ _this.itemCreateProposal = function (tenantId, itemId, params) {
749
823
  if (params === void 0) { params = {}; }
750
- return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/admin/item"), method: "GET", query: query, secure: true, format: "json" }, params));
824
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/seller/item/").concat(itemId, "/create-proposal"), method: "PUT", secure: true }, params));
751
825
  };
752
826
  /**
753
827
  * No description
@@ -814,6 +888,19 @@ var Api = /** @class */ (function (_super) {
814
888
  if (params === void 0) { params = {}; }
815
889
  return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/admin/listing/").concat(id), method: "DELETE", secure: true }, params));
816
890
  };
891
+ /**
892
+ * No description
893
+ *
894
+ * @tags Listing
895
+ * @name ListingWithdraw
896
+ * @request PUT:/api/v1/tenant/{tenantId}/admin/listing/{id}/withdraw
897
+ * @secure
898
+ * @response `200` `File`
899
+ */
900
+ _this.listingWithdraw = function (tenantId, id, data, params) {
901
+ if (params === void 0) { params = {}; }
902
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/admin/listing/").concat(id, "/withdraw"), method: "PUT", body: data, secure: true, type: ContentType.Json }, params));
903
+ };
817
904
  /**
818
905
  * No description
819
906
  *
@@ -929,6 +1016,45 @@ var Api = /** @class */ (function (_super) {
929
1016
  if (params === void 0) { params = {}; }
930
1017
  return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/listing"), method: "GET", query: query, format: "json" }, params));
931
1018
  };
1019
+ /**
1020
+ * No description
1021
+ *
1022
+ * @tags Listing
1023
+ * @name ListingAccept
1024
+ * @request PUT:/api/v1/tenant/{tenantId}/admin/listing/{id}/accept
1025
+ * @secure
1026
+ * @response `200` `File`
1027
+ */
1028
+ _this.listingAccept = function (tenantId, id, params) {
1029
+ if (params === void 0) { params = {}; }
1030
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/admin/listing/").concat(id, "/accept"), method: "PUT", secure: true }, params));
1031
+ };
1032
+ /**
1033
+ * No description
1034
+ *
1035
+ * @tags Listing
1036
+ * @name ListingReject
1037
+ * @request PUT:/api/v1/tenant/{tenantId}/admin/listing/{id}/reject
1038
+ * @secure
1039
+ * @response `200` `File`
1040
+ */
1041
+ _this.listingReject = function (tenantId, id, params) {
1042
+ if (params === void 0) { params = {}; }
1043
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/admin/listing/").concat(id, "/reject"), method: "PUT", secure: true }, params));
1044
+ };
1045
+ /**
1046
+ * No description
1047
+ *
1048
+ * @tags Listing
1049
+ * @name ListingComingSoon
1050
+ * @request PUT:/api/v1/tenant/{tenantId}/admin/listing/{id}/comming-soon
1051
+ * @secure
1052
+ * @response `200` `File`
1053
+ */
1054
+ _this.listingComingSoon = function (tenantId, id, params) {
1055
+ if (params === void 0) { params = {}; }
1056
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/admin/listing/").concat(id, "/comming-soon"), method: "PUT", secure: true }, params));
1057
+ };
932
1058
  /**
933
1059
  * No description
934
1060
  *
@@ -968,6 +1094,74 @@ var Api = /** @class */ (function (_super) {
968
1094
  if (params === void 0) { params = {}; }
969
1095
  return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/listing-status-count"), method: "GET", query: query, format: "json" }, params));
970
1096
  };
1097
+ /**
1098
+ * No description
1099
+ *
1100
+ * @tags PaymentMethod
1101
+ * @name PaymentMethodGetSetupIntent
1102
+ * @request GET:/api/v1/tenant/{tenantId}/payment-method/setup-intent
1103
+ * @secure
1104
+ * @response `200` `object`
1105
+ */
1106
+ _this.paymentMethodGetSetupIntent = function (tenantId, params) {
1107
+ if (params === void 0) { params = {}; }
1108
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/payment-method/setup-intent"), method: "GET", secure: true, format: "json" }, params));
1109
+ };
1110
+ /**
1111
+ * No description
1112
+ *
1113
+ * @tags PaymentMethod
1114
+ * @name PaymentMethodGetPaymentMethodForUser
1115
+ * @request GET:/api/v1/tenant/{tenantId}/payment-method
1116
+ * @secure
1117
+ * @response `200` `object`
1118
+ */
1119
+ _this.paymentMethodGetPaymentMethodForUser = function (tenantId, params) {
1120
+ if (params === void 0) { params = {}; }
1121
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/payment-method"), method: "GET", secure: true, format: "json" }, params));
1122
+ };
1123
+ /**
1124
+ * No description
1125
+ *
1126
+ * @tags PaymentMethod
1127
+ * @name PaymentMethodUpdatePaymentMethodForUser
1128
+ * @request PUT:/api/v1/tenant/{tenantId}/payment-method
1129
+ * @secure
1130
+ * @response `204` `void`
1131
+ * @response `400` `ProblemDetails`
1132
+ * @response `404` `ProblemDetails`
1133
+ * @response `default` `ProblemDetails`
1134
+ */
1135
+ _this.paymentMethodUpdatePaymentMethodForUser = function (tenantId, data, params) {
1136
+ if (params === void 0) { params = {}; }
1137
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/payment-method"), method: "PUT", body: data, secure: true, type: ContentType.Json }, params));
1138
+ };
1139
+ /**
1140
+ * No description
1141
+ *
1142
+ * @tags PaymentMethod
1143
+ * @name PaymentMethodCreatePaymentMethodForUser
1144
+ * @request POST:/api/v1/tenant/{tenantId}/payment-method
1145
+ * @secure
1146
+ * @response `200` `object`
1147
+ */
1148
+ _this.paymentMethodCreatePaymentMethodForUser = function (tenantId, data, params) {
1149
+ if (params === void 0) { params = {}; }
1150
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/payment-method"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
1151
+ };
1152
+ /**
1153
+ * No description
1154
+ *
1155
+ * @tags PaymentMethod
1156
+ * @name PaymentMethodRemovePaymentMethodFromUser
1157
+ * @request DELETE:/api/v1/tenant/{tenantId}/payment-method
1158
+ * @secure
1159
+ * @response `200` `File`
1160
+ */
1161
+ _this.paymentMethodRemovePaymentMethodFromUser = function (tenantId, params) {
1162
+ if (params === void 0) { params = {}; }
1163
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/payment-method"), method: "DELETE", secure: true }, params));
1164
+ };
971
1165
  /**
972
1166
  * No description
973
1167
  *
@@ -1101,6 +1295,45 @@ var Api = /** @class */ (function (_super) {
1101
1295
  if (params === void 0) { params = {}; }
1102
1296
  return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/product"), method: "GET", format: "json" }, params));
1103
1297
  };
1298
+ /**
1299
+ * No description
1300
+ *
1301
+ * @tags TenantAdmin
1302
+ * @name TenantAdminGetUsersForTenant
1303
+ * @request GET:/api/v1/tenant/{tenantId}/admin/user
1304
+ * @secure
1305
+ * @response `200` `object`
1306
+ */
1307
+ _this.tenantAdminGetUsersForTenant = function (tenantId, params) {
1308
+ if (params === void 0) { params = {}; }
1309
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/admin/user"), method: "GET", secure: true, format: "json" }, params));
1310
+ };
1311
+ /**
1312
+ * No description
1313
+ *
1314
+ * @tags TenantAdmin
1315
+ * @name TenantAdminRemoveAllRolesFromUser
1316
+ * @request PUT:/api/v1/tenant/{tenantId}/admin/user/{userId}/remove-all-roles
1317
+ * @secure
1318
+ * @response `200` `File`
1319
+ */
1320
+ _this.tenantAdminRemoveAllRolesFromUser = function (tenantId, userId, params) {
1321
+ if (params === void 0) { params = {}; }
1322
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/admin/user/").concat(userId, "/remove-all-roles"), method: "PUT", secure: true }, params));
1323
+ };
1324
+ /**
1325
+ * No description
1326
+ *
1327
+ * @tags TenantAdmin
1328
+ * @name TenantAdminAssignRoleToUser
1329
+ * @request PUT:/api/v1/tenant/{tenantId}/admin/user/{userId}/assign-role
1330
+ * @secure
1331
+ * @response `200` `File`
1332
+ */
1333
+ _this.tenantAdminAssignRoleToUser = function (tenantId, userId, data, params) {
1334
+ if (params === void 0) { params = {}; }
1335
+ return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId, "/admin/user/").concat(userId, "/assign-role"), method: "PUT", body: data, secure: true, type: ContentType.Json }, params));
1336
+ };
1104
1337
  /**
1105
1338
  * No description
1106
1339
  *
@@ -1114,6 +1347,18 @@ var Api = /** @class */ (function (_super) {
1114
1347
  if (params === void 0) { params = {}; }
1115
1348
  return _this.request(__assign({ path: "/api/v1/tenant/".concat(tenantId), method: "GET", secure: true, format: "json" }, params));
1116
1349
  };
1350
+ /**
1351
+ * No description
1352
+ *
1353
+ * @tags VehicleDetails
1354
+ * @name VehicleDetailsGet
1355
+ * @request GET:/api/v1/vehicle/details
1356
+ * @response `200` `object`
1357
+ */
1358
+ _this.vehicleDetailsGet = function (query, params) {
1359
+ if (params === void 0) { params = {}; }
1360
+ return _this.request(__assign({ path: "/api/v1/vehicle/details", method: "GET", query: query, format: "json" }, params));
1361
+ };
1117
1362
  return _this;
1118
1363
  }
1119
1364
  return Api;