yellowgrid-api-ts 3.0.80-dev.0 → 3.0.80

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 (55) hide show
  1. package/.openapi-generator/FILES +189 -209
  2. package/README.md +7 -34
  3. package/api.ts +282 -1825
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +185 -1394
  8. package/dist/api.js +254 -1013
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/index.d.ts +1 -1
  16. package/dist/index.js +1 -1
  17. package/docs/AccountsApi.md +0 -103
  18. package/docs/Class3CXApi.md +55 -0
  19. package/docs/Class3CXInstallationWizardApi.md +13 -13
  20. package/docs/ClientDetailsModel.md +2 -0
  21. package/docs/{ShippingServicesModel.md → GetGetPasswordHash200Response.md} +5 -5
  22. package/docs/ItemDTO.md +4 -10
  23. package/docs/OrderSummaryDTO.md +0 -8
  24. package/docs/OrderTotalModel.md +0 -2
  25. package/docs/OrdersApi.md +4 -301
  26. package/docs/ProductSearchResultsModel.md +1 -1
  27. package/docs/{ProductSummaryDTO.md → ProductSummaryModel.md} +3 -5
  28. package/docs/ProductsApi.md +36 -97
  29. package/docs/ProvisioningApi.md +4 -4
  30. package/docs/{ProvisioningModel.md → ProvisioningEntity.md} +3 -3
  31. package/docs/ShipmentEntity.md +2 -2
  32. package/docs/StockManagementApi.md +2 -2
  33. package/docs/TcxWizardModel.md +1 -1
  34. package/index.ts +1 -1
  35. package/package.json +1 -1
  36. package/docs/AbstractOrderRequestDTO.md +0 -33
  37. package/docs/AccountDetailedSummaryDTO.md +0 -35
  38. package/docs/AdminItemRequestDTO.md +0 -37
  39. package/docs/AdminOrderRequestDTO.md +0 -41
  40. package/docs/AdminUserModel.md +0 -31
  41. package/docs/BasicItemDTO.md +0 -23
  42. package/docs/BasicProductDTO.md +0 -23
  43. package/docs/CourierPriceEntity.md +0 -39
  44. package/docs/CustomerItemRequestDTO.md +0 -33
  45. package/docs/CustomerOrderRequestDTO.md +0 -33
  46. package/docs/LinkedOrderEntity.md +0 -23
  47. package/docs/NavigationItemModel.md +0 -27
  48. package/docs/ShippingApi.md +0 -63
  49. package/docs/ShippingConsignmentModel.md +0 -26
  50. package/docs/ShippingInformationDTO.md +0 -25
  51. package/docs/ShippingServiceDTO.md +0 -23
  52. package/docs/ShippingServiceModel.md +0 -31
  53. package/docs/SubNavigationItemModel.md +0 -25
  54. package/docs/TcxSbcDTO.md +0 -31
  55. package/docs/TcxSbcModel.md +0 -51
package/api.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Yellowgrid
5
- * Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `http://api.yellowgrid.local` For questions or technical support, please contact support@yellowgrid.co.uk.
5
+ * Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `http://api.yellowgrid.local` For questions or technical support, please contact support@yellowgrid.co.uk.
6
6
  *
7
7
  * The version of the OpenAPI document: 0
8
8
  *
@@ -23,55 +23,6 @@ import type { RequestArgs } from './base';
23
23
  // @ts-ignore
24
24
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
25
25
 
26
- /**
27
- * Order Request
28
- * @export
29
- * @interface AbstractOrderRequestDTO
30
- */
31
- export interface AbstractOrderRequestDTO {
32
- /**
33
- * Order Reference
34
- * @type {string}
35
- * @memberof AbstractOrderRequestDTO
36
- */
37
- 'orderReference'?: string;
38
- /**
39
- * Items
40
- * @type {Array<CustomerItemRequestDTO>}
41
- * @memberof AbstractOrderRequestDTO
42
- */
43
- 'items'?: Array<CustomerItemRequestDTO>;
44
- /**
45
- *
46
- * @type {ShippingServiceDTO}
47
- * @memberof AbstractOrderRequestDTO
48
- */
49
- 'shippingService'?: ShippingServiceDTO;
50
- /**
51
- * Provisioning URL
52
- * @type {string}
53
- * @memberof AbstractOrderRequestDTO
54
- */
55
- 'provisioningUrl'?: string | null;
56
- /**
57
- *
58
- * @type {AddressModel}
59
- * @memberof AbstractOrderRequestDTO
60
- */
61
- 'shippingAddress'?: AddressModel | null;
62
- /**
63
- * Part Ship Order
64
- * @type {boolean}
65
- * @memberof AbstractOrderRequestDTO
66
- */
67
- 'partShip'?: boolean;
68
- /**
69
- * Quote
70
- * @type {boolean}
71
- * @memberof AbstractOrderRequestDTO
72
- */
73
- 'quote'?: boolean;
74
- }
75
26
  /**
76
27
  * AccountContactsEntity
77
28
  * @export
@@ -303,61 +254,6 @@ export interface AccountContactRequestModel {
303
254
  */
304
255
  'despatchEmails'?: boolean;
305
256
  }
306
- /**
307
- * Account Details
308
- * @export
309
- * @interface AccountDetailedSummaryDTO
310
- */
311
- export interface AccountDetailedSummaryDTO {
312
- /**
313
- * ID
314
- * @type {number}
315
- * @memberof AccountDetailedSummaryDTO
316
- */
317
- 'id'?: number;
318
- /**
319
- * Xero ID
320
- * @type {string}
321
- * @memberof AccountDetailedSummaryDTO
322
- */
323
- 'xeroId'?: string;
324
- /**
325
- * Company
326
- * @type {string}
327
- * @memberof AccountDetailedSummaryDTO
328
- */
329
- 'company'?: string;
330
- /**
331
- * Credit Limit
332
- * @type {number}
333
- * @memberof AccountDetailedSummaryDTO
334
- */
335
- 'creditLimit'?: number;
336
- /**
337
- * Contacts
338
- * @type {Array<AccountContactModel>}
339
- * @memberof AccountDetailedSummaryDTO
340
- */
341
- 'contacts'?: Array<AccountContactModel>;
342
- /**
343
- *
344
- * @type {AddressModel}
345
- * @memberof AccountDetailedSummaryDTO
346
- */
347
- 'billingAddress'?: AddressModel;
348
- /**
349
- * Addresses
350
- * @type {Array<AddressModel>}
351
- * @memberof AccountDetailedSummaryDTO
352
- */
353
- 'addresses'?: Array<AddressModel>;
354
- /**
355
- * Provisioning URLs
356
- * @type {Array<ProvisioningModel>}
357
- * @memberof AccountDetailedSummaryDTO
358
- */
359
- 'provisioningUrls'?: Array<ProvisioningModel>;
360
- }
361
257
  /**
362
258
  * New Account Request
363
259
  * @export
@@ -639,194 +535,6 @@ export interface AddressRequestModel {
639
535
  */
640
536
  'addressPostcode'?: string;
641
537
  }
642
- /**
643
- * Admin Order Item Request
644
- * @export
645
- * @interface AdminItemRequestDTO
646
- */
647
- export interface AdminItemRequestDTO {
648
- /**
649
- * SKU
650
- * @type {string}
651
- * @memberof AdminItemRequestDTO
652
- */
653
- 'sku'?: string;
654
- /**
655
- * Quantity
656
- * @type {number}
657
- * @memberof AdminItemRequestDTO
658
- */
659
- 'quantity'?: number;
660
- /**
661
- * ID
662
- * @type {number}
663
- * @memberof AdminItemRequestDTO
664
- */
665
- 'id'?: number | null;
666
- /**
667
- * 3CX Licence Key
668
- * @type {string}
669
- * @memberof AdminItemRequestDTO
670
- */
671
- 'licenceKey'?: string | null;
672
- /**
673
- * 3CX Hosting
674
- * @type {boolean}
675
- * @memberof AdminItemRequestDTO
676
- */
677
- 'hosting'?: boolean | null;
678
- /**
679
- * Date Time
680
- * @type {string}
681
- * @memberof AdminItemRequestDTO
682
- */
683
- 'processDate'?: string;
684
- /**
685
- * SBCS
686
- * @type {Array<TcxSbcDTO>}
687
- * @memberof AdminItemRequestDTO
688
- */
689
- 'sbcs'?: Array<TcxSbcDTO>;
690
- /**
691
- * Title
692
- * @type {string}
693
- * @memberof AdminItemRequestDTO
694
- */
695
- 'title'?: string | null;
696
- /**
697
- * Price (£)
698
- * @type {number}
699
- * @memberof AdminItemRequestDTO
700
- */
701
- 'itemPrice'?: number | null;
702
- }
703
- /**
704
- * Admin Order Request
705
- * @export
706
- * @interface AdminOrderRequestDTO
707
- */
708
- export interface AdminOrderRequestDTO {
709
- /**
710
- * Order Reference
711
- * @type {string}
712
- * @memberof AdminOrderRequestDTO
713
- */
714
- 'orderReference'?: string;
715
- /**
716
- * Items
717
- * @type {Array<AdminItemRequestDTO>}
718
- * @memberof AdminOrderRequestDTO
719
- */
720
- 'items'?: Array<AdminItemRequestDTO>;
721
- /**
722
- *
723
- * @type {ShippingServiceDTO}
724
- * @memberof AdminOrderRequestDTO
725
- */
726
- 'shippingService'?: ShippingServiceDTO;
727
- /**
728
- * Provisioning URL
729
- * @type {string}
730
- * @memberof AdminOrderRequestDTO
731
- */
732
- 'provisioningUrl'?: string | null;
733
- /**
734
- *
735
- * @type {AddressModel}
736
- * @memberof AdminOrderRequestDTO
737
- */
738
- 'shippingAddress'?: AddressModel;
739
- /**
740
- * Part Ship Order
741
- * @type {boolean}
742
- * @memberof AdminOrderRequestDTO
743
- */
744
- 'partShip'?: boolean;
745
- /**
746
- * Quote
747
- * @type {boolean}
748
- * @memberof AdminOrderRequestDTO
749
- */
750
- 'quote'?: boolean;
751
- /**
752
- * Customer ID
753
- * @type {number}
754
- * @memberof AdminOrderRequestDTO
755
- */
756
- 'customerId'?: number;
757
- /**
758
- * Ignore Customer On Hold
759
- * @type {boolean}
760
- * @memberof AdminOrderRequestDTO
761
- */
762
- 'ignoreOnHold'?: boolean;
763
- /**
764
- * Ignore Customer Credit Limit
765
- * @type {boolean}
766
- * @memberof AdminOrderRequestDTO
767
- */
768
- 'ignoreCreditLimit'?: boolean;
769
- /**
770
- * Include NFR Promos
771
- * @type {boolean}
772
- * @memberof AdminOrderRequestDTO
773
- */
774
- 'includeNfrPromos'?: boolean;
775
- }
776
- /**
777
- * Admin User
778
- * @export
779
- * @interface AdminUserModel
780
- */
781
- export interface AdminUserModel {
782
- /**
783
- * First Name
784
- * @type {string}
785
- * @memberof AdminUserModel
786
- */
787
- 'firstName'?: string;
788
- /**
789
- * Last Name
790
- * @type {string}
791
- * @memberof AdminUserModel
792
- */
793
- 'lastName'?: string;
794
- /**
795
- * Avatar
796
- * @type {string}
797
- * @memberof AdminUserModel
798
- */
799
- 'avatar'?: string | null;
800
- /**
801
- * Role
802
- * @type {number}
803
- * @memberof AdminUserModel
804
- */
805
- 'role'?: AdminUserModelRoleEnum;
806
- /**
807
- * Navigation
808
- * @type {Array<NavigationItemModel>}
809
- * @memberof AdminUserModel
810
- */
811
- 'navigation'?: Array<NavigationItemModel>;
812
- /**
813
- * Email
814
- * @type {string}
815
- * @memberof AdminUserModel
816
- */
817
- 'email'?: string | null;
818
- }
819
-
820
- export const AdminUserModelRoleEnum = {
821
- NUMBER_0: 0,
822
- NUMBER_1: 1,
823
- NUMBER_2: 2,
824
- NUMBER_3: 3,
825
- NUMBER_4: 4
826
- } as const;
827
-
828
- export type AdminUserModelRoleEnum = typeof AdminUserModelRoleEnum[keyof typeof AdminUserModelRoleEnum];
829
-
830
538
  /**
831
539
  * Agent Hours Graph
832
540
  * @export
@@ -1056,44 +764,6 @@ export interface AuthCodeResponseModel {
1056
764
  */
1057
765
  'redirect_uri'?: string | null;
1058
766
  }
1059
- /**
1060
- * Basic Order Item
1061
- * @export
1062
- * @interface BasicItemDTO
1063
- */
1064
- export interface BasicItemDTO {
1065
- /**
1066
- * SKU
1067
- * @type {string}
1068
- * @memberof BasicItemDTO
1069
- */
1070
- 'sku'?: string;
1071
- /**
1072
- * Quantity
1073
- * @type {number}
1074
- * @memberof BasicItemDTO
1075
- */
1076
- 'quantity'?: number;
1077
- }
1078
- /**
1079
- * Basic Product
1080
- * @export
1081
- * @interface BasicProductDTO
1082
- */
1083
- export interface BasicProductDTO {
1084
- /**
1085
- * SKU
1086
- * @type {string}
1087
- * @memberof BasicProductDTO
1088
- */
1089
- 'sku'?: string;
1090
- /**
1091
- * Title
1092
- * @type {string}
1093
- * @memberof BasicProductDTO
1094
- */
1095
- 'title'?: string;
1096
- }
1097
767
  /**
1098
768
  * BatchesEntity
1099
769
  * @export
@@ -1288,6 +958,12 @@ export interface ClientDetailsModel {
1288
958
  * @memberof ClientDetailsModel
1289
959
  */
1290
960
  'lastName'?: string;
961
+ /**
962
+ * User Profile Picture
963
+ * @type {string}
964
+ * @memberof ClientDetailsModel
965
+ */
966
+ 'image'?: string | null;
1291
967
  }
1292
968
  /**
1293
969
  * OAuth client details
@@ -1449,73 +1125,6 @@ export interface ConversationModel {
1449
1125
  */
1450
1126
  'attachments'?: Array<AttachmentModel>;
1451
1127
  }
1452
- /**
1453
- * CourierPricesEntity
1454
- * @export
1455
- * @interface CourierPriceEntity
1456
- */
1457
- export interface CourierPriceEntity {
1458
- /**
1459
- * id
1460
- * @type {number}
1461
- * @memberof CourierPriceEntity
1462
- */
1463
- 'id'?: number;
1464
- /**
1465
- * courier
1466
- * @type {string}
1467
- * @memberof CourierPriceEntity
1468
- */
1469
- 'courier'?: string;
1470
- /**
1471
- * destinationIso
1472
- * @type {string}
1473
- * @memberof CourierPriceEntity
1474
- */
1475
- 'destinationIso'?: string;
1476
- /**
1477
- * serviceDescription
1478
- * @type {string}
1479
- * @memberof CourierPriceEntity
1480
- */
1481
- 'serviceDescription'?: string;
1482
- /**
1483
- * flatRate
1484
- * @type {number}
1485
- * @memberof CourierPriceEntity
1486
- */
1487
- 'flatRate'?: number;
1488
- /**
1489
- * initialBox
1490
- * @type {number}
1491
- * @memberof CourierPriceEntity
1492
- */
1493
- 'initialBox'?: number;
1494
- /**
1495
- * initialKg
1496
- * @type {number}
1497
- * @memberof CourierPriceEntity
1498
- */
1499
- 'initialKg'?: number;
1500
- /**
1501
- * perBox
1502
- * @type {number}
1503
- * @memberof CourierPriceEntity
1504
- */
1505
- 'perBox'?: number;
1506
- /**
1507
- * perKg
1508
- * @type {number}
1509
- * @memberof CourierPriceEntity
1510
- */
1511
- 'perKg'?: number;
1512
- /**
1513
- * maxKg
1514
- * @type {number}
1515
- * @memberof CourierPriceEntity
1516
- */
1517
- 'maxKg'?: number;
1518
- }
1519
1128
  /**
1520
1129
  * Credit Account
1521
1130
  * @export
@@ -1699,107 +1308,9 @@ export interface CustomerInformationModel {
1699
1308
  'contactLastName'?: string;
1700
1309
  }
1701
1310
  /**
1702
- * Order Item Request
1311
+ * Customer Price List
1703
1312
  * @export
1704
- * @interface CustomerItemRequestDTO
1705
- */
1706
- export interface CustomerItemRequestDTO {
1707
- /**
1708
- * SKU
1709
- * @type {string}
1710
- * @memberof CustomerItemRequestDTO
1711
- */
1712
- 'sku'?: string;
1713
- /**
1714
- * Quantity
1715
- * @type {number}
1716
- * @memberof CustomerItemRequestDTO
1717
- */
1718
- 'quantity'?: number;
1719
- /**
1720
- * ID
1721
- * @type {number}
1722
- * @memberof CustomerItemRequestDTO
1723
- */
1724
- 'id'?: number | null;
1725
- /**
1726
- * 3CX Licence Key
1727
- * @type {string}
1728
- * @memberof CustomerItemRequestDTO
1729
- */
1730
- 'licenceKey'?: string | null;
1731
- /**
1732
- * 3CX Hosting
1733
- * @type {boolean}
1734
- * @memberof CustomerItemRequestDTO
1735
- */
1736
- 'hosting'?: boolean | null;
1737
- /**
1738
- * Date Time
1739
- * @type {string}
1740
- * @memberof CustomerItemRequestDTO
1741
- */
1742
- 'processDate'?: string;
1743
- /**
1744
- * SBCS
1745
- * @type {Array<TcxSbcDTO>}
1746
- * @memberof CustomerItemRequestDTO
1747
- */
1748
- 'sbcs'?: Array<TcxSbcDTO>;
1749
- }
1750
- /**
1751
- * Order Request
1752
- * @export
1753
- * @interface CustomerOrderRequestDTO
1754
- */
1755
- export interface CustomerOrderRequestDTO {
1756
- /**
1757
- * Order Reference
1758
- * @type {string}
1759
- * @memberof CustomerOrderRequestDTO
1760
- */
1761
- 'orderReference'?: string;
1762
- /**
1763
- * Items
1764
- * @type {Array<CustomerItemRequestDTO>}
1765
- * @memberof CustomerOrderRequestDTO
1766
- */
1767
- 'items'?: Array<CustomerItemRequestDTO>;
1768
- /**
1769
- *
1770
- * @type {ShippingServiceDTO}
1771
- * @memberof CustomerOrderRequestDTO
1772
- */
1773
- 'shippingService'?: ShippingServiceDTO;
1774
- /**
1775
- * Provisioning URL
1776
- * @type {string}
1777
- * @memberof CustomerOrderRequestDTO
1778
- */
1779
- 'provisioningUrl'?: string | null;
1780
- /**
1781
- *
1782
- * @type {AddressModel}
1783
- * @memberof CustomerOrderRequestDTO
1784
- */
1785
- 'shippingAddress'?: AddressModel;
1786
- /**
1787
- * Part Ship Order
1788
- * @type {boolean}
1789
- * @memberof CustomerOrderRequestDTO
1790
- */
1791
- 'partShip'?: boolean;
1792
- /**
1793
- * Quote
1794
- * @type {boolean}
1795
- * @memberof CustomerOrderRequestDTO
1796
- */
1797
- 'quote'?: boolean;
1798
- }
1799
- /**
1800
- * Customer Price List
1801
- * @export
1802
- * @interface CustomerPriceListEnum
1313
+ * @interface CustomerPriceListEnum
1803
1314
  */
1804
1315
  export interface CustomerPriceListEnum {
1805
1316
  /**
@@ -2305,6 +1816,19 @@ export interface GenericFileModel {
2305
1816
  */
2306
1817
  'type'?: string;
2307
1818
  }
1819
+ /**
1820
+ *
1821
+ * @export
1822
+ * @interface GetGetPasswordHash200Response
1823
+ */
1824
+ export interface GetGetPasswordHash200Response {
1825
+ /**
1826
+ *
1827
+ * @type {string}
1828
+ * @memberof GetGetPasswordHash200Response
1829
+ */
1830
+ 'hash'?: string;
1831
+ }
2308
1832
  /**
2309
1833
  *
2310
1834
  * @export
@@ -2865,36 +2389,36 @@ export interface InstanceUserCredentialsEntity {
2865
2389
  * @interface ItemDTO
2866
2390
  */
2867
2391
  export interface ItemDTO {
2868
- /**
2869
- * SKU
2870
- * @type {string}
2871
- * @memberof ItemDTO
2872
- */
2873
- 'sku'?: string;
2874
- /**
2875
- * Quantity
2876
- * @type {number}
2877
- * @memberof ItemDTO
2878
- */
2879
- 'quantity'?: number;
2880
2392
  /**
2881
2393
  * ID
2882
2394
  * @type {number}
2883
2395
  * @memberof ItemDTO
2884
2396
  */
2885
- 'id'?: number | null;
2397
+ 'id'?: number;
2886
2398
  /**
2887
2399
  * Order ID
2888
2400
  * @type {number}
2889
2401
  * @memberof ItemDTO
2890
2402
  */
2891
- 'orderId'?: number | null;
2403
+ 'orderId'?: number;
2892
2404
  /**
2893
2405
  * Title
2894
2406
  * @type {string}
2895
2407
  * @memberof ItemDTO
2896
2408
  */
2897
2409
  'title'?: string;
2410
+ /**
2411
+ * SKU
2412
+ * @type {string}
2413
+ * @memberof ItemDTO
2414
+ */
2415
+ 'sku'?: string;
2416
+ /**
2417
+ * Quantity
2418
+ * @type {number}
2419
+ * @memberof ItemDTO
2420
+ */
2421
+ 'quantity'?: number;
2898
2422
  /**
2899
2423
  * Price
2900
2424
  * @type {number}
@@ -2919,12 +2443,6 @@ export interface ItemDTO {
2919
2443
  * @memberof ItemDTO
2920
2444
  */
2921
2445
  'processDate'?: string;
2922
- /**
2923
- * 3CX Hosting
2924
- * @type {boolean}
2925
- * @memberof ItemDTO
2926
- */
2927
- 'hosting'?: boolean | null;
2928
2446
  /**
2929
2447
  * Promo Item
2930
2448
  * @type {boolean}
@@ -2936,19 +2454,7 @@ export interface ItemDTO {
2936
2454
  * @type {number}
2937
2455
  * @memberof ItemDTO
2938
2456
  */
2939
- 'refunded'?: number | null;
2940
- /**
2941
- * SBCs
2942
- * @type {Array<TcxSbcDTO>}
2943
- * @memberof ItemDTO
2944
- */
2945
- 'sbcs'?: Array<TcxSbcDTO> | null;
2946
- /**
2947
- * Readonly
2948
- * @type {boolean}
2949
- * @memberof ItemDTO
2950
- */
2951
- 'readonly'?: boolean;
2457
+ 'refunded'?: number;
2952
2458
  }
2953
2459
  /**
2954
2460
  * ItemsEntity
@@ -3083,25 +2589,6 @@ export interface ItemEntity {
3083
2589
  */
3084
2590
  'promoItem'?: number;
3085
2591
  }
3086
- /**
3087
- * LinkedOrdersEntity
3088
- * @export
3089
- * @interface LinkedOrderEntity
3090
- */
3091
- export interface LinkedOrderEntity {
3092
- /**
3093
- * orderId
3094
- * @type {number}
3095
- * @memberof LinkedOrderEntity
3096
- */
3097
- 'orderId'?: number;
3098
- /**
3099
- * linkedOrderId
3100
- * @type {number}
3101
- * @memberof LinkedOrderEntity
3102
- */
3103
- 'linkedOrderId'?: number;
3104
- }
3105
2592
  /**
3106
2593
  * MFA Required
3107
2594
  * @export
@@ -3191,37 +2678,6 @@ export const MultiTenantChangeResponseModelTypeEnum = {
3191
2678
 
3192
2679
  export type MultiTenantChangeResponseModelTypeEnum = typeof MultiTenantChangeResponseModelTypeEnum[keyof typeof MultiTenantChangeResponseModelTypeEnum];
3193
2680
 
3194
- /**
3195
- * POPS Navigation Item
3196
- * @export
3197
- * @interface NavigationItemModel
3198
- */
3199
- export interface NavigationItemModel {
3200
- /**
3201
- * Title
3202
- * @type {string}
3203
- * @memberof NavigationItemModel
3204
- */
3205
- 'title'?: string;
3206
- /**
3207
- * URL
3208
- * @type {string}
3209
- * @memberof NavigationItemModel
3210
- */
3211
- 'url'?: string | null;
3212
- /**
3213
- * Icon (Font Awesome)
3214
- * @type {string}
3215
- * @memberof NavigationItemModel
3216
- */
3217
- 'icon'?: string;
3218
- /**
3219
- * Sub Navigation
3220
- * @type {Array<SubNavigationItemModel>}
3221
- * @memberof NavigationItemModel
3222
- */
3223
- 'items'?: Array<SubNavigationItemModel>;
3224
- }
3225
2681
  /**
3226
2682
  * Navigation Endpoint
3227
2683
  * @export
@@ -3799,12 +3255,6 @@ export interface OrderSummaryDTO {
3799
3255
  * @memberof OrderSummaryDTO
3800
3256
  */
3801
3257
  'invoiceNumber'?: string;
3802
- /**
3803
- * Invoice ID
3804
- * @type {string}
3805
- * @memberof OrderSummaryDTO
3806
- */
3807
- 'invoiceId'?: string | null;
3808
3258
  /**
3809
3259
  * Date Time
3810
3260
  * @type {string}
@@ -3859,24 +3309,6 @@ export interface OrderSummaryDTO {
3859
3309
  * @memberof OrderSummaryDTO
3860
3310
  */
3861
3311
  'fulfillable'?: boolean | null;
3862
- /**
3863
- * Provisioning URL
3864
- * @type {string}
3865
- * @memberof OrderSummaryDTO
3866
- */
3867
- 'provisioningUrl'?: string | null;
3868
- /**
3869
- *
3870
- * @type {ShippingServiceDTO}
3871
- * @memberof OrderSummaryDTO
3872
- */
3873
- 'shippingService'?: ShippingServiceDTO | null;
3874
- /**
3875
- * Readonly
3876
- * @type {boolean}
3877
- * @memberof OrderSummaryDTO
3878
- */
3879
- 'readonly'?: boolean;
3880
3312
  }
3881
3313
  /**
3882
3314
  * Order Totals
@@ -3926,12 +3358,6 @@ export interface OrderTotalModel {
3926
3358
  * @memberof OrderTotalModel
3927
3359
  */
3928
3360
  'currency'?: OrderTotalModelCurrencyEnum;
3929
- /**
3930
- * Delivery
3931
- * @type {number}
3932
- * @memberof OrderTotalModel
3933
- */
3934
- 'delivery'?: number | null;
3935
3361
  }
3936
3362
 
3937
3363
  export const OrderTotalModelCurrencyEnum = {
@@ -4401,10 +3827,10 @@ export interface PrizesEntity {
4401
3827
  export interface ProductSearchResultsModel {
4402
3828
  /**
4403
3829
  * Results
4404
- * @type {Array<ProductSummaryDTO>}
3830
+ * @type {Array<ProductSummaryModel>}
4405
3831
  * @memberof ProductSearchResultsModel
4406
3832
  */
4407
- 'results'?: Array<ProductSummaryDTO>;
3833
+ 'results'?: Array<ProductSummaryModel>;
4408
3834
  }
4409
3835
  /**
4410
3836
  * Product Serial Info
@@ -4440,51 +3866,45 @@ export interface ProductSerialInfoModel {
4440
3866
  /**
4441
3867
  * Product Summary
4442
3868
  * @export
4443
- * @interface ProductSummaryDTO
3869
+ * @interface ProductSummaryModel
4444
3870
  */
4445
- export interface ProductSummaryDTO {
3871
+ export interface ProductSummaryModel {
4446
3872
  /**
4447
3873
  * SKU
4448
3874
  * @type {string}
4449
- * @memberof ProductSummaryDTO
3875
+ * @memberof ProductSummaryModel
4450
3876
  */
4451
3877
  'sku'?: string;
4452
3878
  /**
4453
3879
  * Title
4454
3880
  * @type {string}
4455
- * @memberof ProductSummaryDTO
3881
+ * @memberof ProductSummaryModel
4456
3882
  */
4457
3883
  'title'?: string;
4458
3884
  /**
4459
3885
  * Stock Quantity
4460
3886
  * @type {number}
4461
- * @memberof ProductSummaryDTO
3887
+ * @memberof ProductSummaryModel
4462
3888
  */
4463
3889
  'quantity'?: number | null;
4464
3890
  /**
4465
3891
  * Stock Product
4466
3892
  * @type {boolean}
4467
- * @memberof ProductSummaryDTO
3893
+ * @memberof ProductSummaryModel
4468
3894
  */
4469
3895
  'stockProduct'?: boolean;
4470
3896
  /**
4471
3897
  * Price
4472
3898
  * @type {number}
4473
- * @memberof ProductSummaryDTO
3899
+ * @memberof ProductSummaryModel
4474
3900
  */
4475
3901
  'price'?: number | null;
4476
3902
  /**
4477
3903
  * Carton Size
4478
3904
  * @type {number}
4479
- * @memberof ProductSummaryDTO
3905
+ * @memberof ProductSummaryModel
4480
3906
  */
4481
3907
  'cartonSize'?: number | null;
4482
- /**
4483
- * RRP Price
4484
- * @type {number}
4485
- * @memberof ProductSummaryDTO
4486
- */
4487
- 'rrp'?: number | null;
4488
3908
  }
4489
3909
  /**
4490
3910
  * PromoCodesEntity
@@ -4623,37 +4043,37 @@ export interface PromoItemsEntity {
4623
4043
  /**
4624
4044
  * Provisioning Group
4625
4045
  * @export
4626
- * @interface ProvisioningModel
4046
+ * @interface ProvisioningEntity
4627
4047
  */
4628
- export interface ProvisioningModel {
4048
+ export interface ProvisioningEntity {
4629
4049
  /**
4630
4050
  * Provisioning Group Name
4631
4051
  * @type {string}
4632
- * @memberof ProvisioningModel
4052
+ * @memberof ProvisioningEntity
4633
4053
  */
4634
4054
  'groupName'?: string;
4635
4055
  /**
4636
4056
  * Provisioning URL (Static Provisioning Server)
4637
4057
  * @type {string}
4638
- * @memberof ProvisioningModel
4058
+ * @memberof ProvisioningEntity
4639
4059
  */
4640
4060
  'provisioningUrl'?: string;
4641
4061
  /**
4642
4062
  * Additional Authentication Secret
4643
4063
  * @type {string}
4644
- * @memberof ProvisioningModel
4064
+ * @memberof ProvisioningEntity
4645
4065
  */
4646
4066
  'auth'?: string;
4647
4067
  /**
4648
4068
  * Provisioning Group ID
4649
4069
  * @type {number}
4650
- * @memberof ProvisioningModel
4070
+ * @memberof ProvisioningEntity
4651
4071
  */
4652
4072
  'id'?: number;
4653
4073
  /**
4654
4074
  * Owner ID
4655
4075
  * @type {number}
4656
- * @memberof ProvisioningModel
4076
+ * @memberof ProvisioningEntity
4657
4077
  */
4658
4078
  'customerId'?: number;
4659
4079
  }
@@ -4926,7 +4346,7 @@ export interface ShipmentEntity {
4926
4346
  * @type {string}
4927
4347
  * @memberof ShipmentEntity
4928
4348
  */
4929
- 'dateShipped'?: string;
4349
+ 'date'?: string;
4930
4350
  /**
4931
4351
  * requestDate
4932
4352
  * @type {string}
@@ -4977,155 +4397,6 @@ export interface ShipmentItemEntity {
4977
4397
  */
4978
4398
  'itemId'?: string;
4979
4399
  }
4980
- /**
4981
- *
4982
- * @export
4983
- * @interface ShippingConsignmentModel
4984
- */
4985
- export interface ShippingConsignmentModel {
4986
- /**
4987
- *
4988
- * @type {ShippingServiceModel}
4989
- * @memberof ShippingConsignmentModel
4990
- */
4991
- 'service'?: ShippingServiceModel;
4992
- /**
4993
- * ID/Number
4994
- * @type {string}
4995
- * @memberof ShippingConsignmentModel
4996
- */
4997
- 'id'?: string;
4998
- /**
4999
- * Tracking Number
5000
- * @type {string}
5001
- * @memberof ShippingConsignmentModel
5002
- */
5003
- 'trackingNumber'?: string;
5004
- /**
5005
- * Parcels
5006
- * @type {Array<string>}
5007
- * @memberof ShippingConsignmentModel
5008
- */
5009
- 'parcelIds'?: Array<string>;
5010
- }
5011
- /**
5012
- * Shipping Information
5013
- * @export
5014
- * @interface ShippingInformationDTO
5015
- */
5016
- export interface ShippingInformationDTO {
5017
- /**
5018
- * Items
5019
- * @type {Array<BasicItemDTO>}
5020
- * @memberof ShippingInformationDTO
5021
- */
5022
- 'items'?: Array<BasicItemDTO>;
5023
- /**
5024
- * Destination Post Code
5025
- * @type {string}
5026
- * @memberof ShippingInformationDTO
5027
- */
5028
- 'postalCode'?: string;
5029
- /**
5030
- * Destination ISO
5031
- * @type {string}
5032
- * @memberof ShippingInformationDTO
5033
- */
5034
- 'iso'?: string;
5035
- }
5036
- /**
5037
- * Shipping Service
5038
- * @export
5039
- * @interface ShippingServiceDTO
5040
- */
5041
- export interface ShippingServiceDTO {
5042
- /**
5043
- * Courier
5044
- * @type {string}
5045
- * @memberof ShippingServiceDTO
5046
- */
5047
- 'courier'?: ShippingServiceDTOCourierEnum;
5048
- /**
5049
- * Service Name
5050
- * @type {string}
5051
- * @memberof ShippingServiceDTO
5052
- */
5053
- 'serviceName'?: string;
5054
- }
5055
-
5056
- export const ShippingServiceDTOCourierEnum = {
5057
- Dpd: 'DPD',
5058
- ChorltonPallet: 'Chorlton Pallet',
5059
- Pops: 'POPS'
5060
- } as const;
5061
-
5062
- export type ShippingServiceDTOCourierEnum = typeof ShippingServiceDTOCourierEnum[keyof typeof ShippingServiceDTOCourierEnum];
5063
-
5064
- /**
5065
- * Shipping Service
5066
- * @export
5067
- * @interface ShippingServiceModel
5068
- */
5069
- export interface ShippingServiceModel {
5070
- /**
5071
- * Courier
5072
- * @type {string}
5073
- * @memberof ShippingServiceModel
5074
- */
5075
- 'courier'?: ShippingServiceModelCourierEnum;
5076
- /**
5077
- * Code
5078
- * @type {string}
5079
- * @memberof ShippingServiceModel
5080
- */
5081
- 'code'?: string;
5082
- /**
5083
- * Name
5084
- * @type {string}
5085
- * @memberof ShippingServiceModel
5086
- */
5087
- 'name'?: string;
5088
- /**
5089
- * Description
5090
- * @type {string}
5091
- * @memberof ShippingServiceModel
5092
- */
5093
- 'description'?: string;
5094
- /**
5095
- * Label
5096
- * @type {string}
5097
- * @memberof ShippingServiceModel
5098
- */
5099
- 'label'?: string | null;
5100
- /**
5101
- * Price
5102
- * @type {number}
5103
- * @memberof ShippingServiceModel
5104
- */
5105
- 'price'?: number | null;
5106
- }
5107
-
5108
- export const ShippingServiceModelCourierEnum = {
5109
- Dpd: 'DPD',
5110
- ChorltonPallet: 'Chorlton Pallet',
5111
- Pops: 'POPS'
5112
- } as const;
5113
-
5114
- export type ShippingServiceModelCourierEnum = typeof ShippingServiceModelCourierEnum[keyof typeof ShippingServiceModelCourierEnum];
5115
-
5116
- /**
5117
- *
5118
- * @export
5119
- * @interface ShippingServicesModel
5120
- */
5121
- export interface ShippingServicesModel {
5122
- /**
5123
- * Services
5124
- * @type {Array<ShippingServiceModel>}
5125
- * @memberof ShippingServicesModel
5126
- */
5127
- 'services'?: Array<ShippingServiceModel>;
5128
- }
5129
4400
  /**
5130
4401
  * Change Response
5131
4402
  * @export
@@ -6548,32 +5819,7 @@ export interface StockTransactionsEntity {
6548
5819
  'user'?: number;
6549
5820
  }
6550
5821
  /**
6551
- * POPS Sub Navigation Item
6552
- * @export
6553
- * @interface SubNavigationItemModel
6554
- */
6555
- export interface SubNavigationItemModel {
6556
- /**
6557
- * Title
6558
- * @type {string}
6559
- * @memberof SubNavigationItemModel
6560
- */
6561
- 'title'?: string;
6562
- /**
6563
- * URL
6564
- * @type {string}
6565
- * @memberof SubNavigationItemModel
6566
- */
6567
- 'url'?: string;
6568
- /**
6569
- * Icon (Font Awesome)
6570
- * @type {string}
6571
- * @memberof SubNavigationItemModel
6572
- */
6573
- 'icon'?: string | null;
6574
- }
6575
- /**
6576
- * SuppliersEntity
5822
+ * SuppliersEntity
6577
5823
  * @export
6578
5824
  * @interface SupplierEntity
6579
5825
  */
@@ -7953,49 +7199,6 @@ export interface TcxPhonesEntity {
7953
7199
  */
7954
7200
  'sbcId'?: string;
7955
7201
  }
7956
- /**
7957
- * SBC Data
7958
- * @export
7959
- * @interface TcxSbcDTO
7960
- */
7961
- export interface TcxSbcDTO {
7962
- /**
7963
- * LAN IP Address
7964
- * @type {string}
7965
- * @memberof TcxSbcDTO
7966
- */
7967
- 'ipAddress'?: string;
7968
- /**
7969
- * LAN Default Gateway
7970
- * @type {string}
7971
- * @memberof TcxSbcDTO
7972
- */
7973
- 'defaultGateway'?: string;
7974
- /**
7975
- * LAN Subnet Mask
7976
- * @type {string}
7977
- * @memberof TcxSbcDTO
7978
- */
7979
- 'netmask'?: string;
7980
- /**
7981
- * DNS
7982
- * @type {string}
7983
- * @memberof TcxSbcDTO
7984
- */
7985
- 'dns'?: string;
7986
- /**
7987
- * 3CX URL
7988
- * @type {string}
7989
- * @memberof TcxSbcDTO
7990
- */
7991
- 'tcxUrl'?: string;
7992
- /**
7993
- * 3CX SBC Key
7994
- * @type {string}
7995
- * @memberof TcxSbcDTO
7996
- */
7997
- 'tcxKey'?: string;
7998
- }
7999
7202
  /**
8000
7203
  * 3CX Wizard SBC
8001
7204
  * @export
@@ -8099,109 +7302,6 @@ export interface TcxSbcEntity {
8099
7302
  */
8100
7303
  'technicalContact'?: string;
8101
7304
  }
8102
- /**
8103
- * 3CX Wizard SBC
8104
- * @export
8105
- * @interface TcxSbcModel
8106
- */
8107
- export interface TcxSbcModel {
8108
- /**
8109
- * id
8110
- * @type {number}
8111
- * @memberof TcxSbcModel
8112
- */
8113
- 'id'?: number;
8114
- /**
8115
- * SBC ID
8116
- * @type {number}
8117
- * @memberof TcxSbcModel
8118
- */
8119
- 'sbcId'?: number;
8120
- /**
8121
- * 3CX URL
8122
- * @type {string}
8123
- * @memberof TcxSbcModel
8124
- */
8125
- 'tcxUrl'?: string;
8126
- /**
8127
- * 3CX SBC Auth Key
8128
- * @type {string}
8129
- * @memberof TcxSbcModel
8130
- */
8131
- 'tcxKey'?: string;
8132
- /**
8133
- * Label
8134
- * @type {string}
8135
- * @memberof TcxSbcModel
8136
- */
8137
- 'label'?: string;
8138
- /**
8139
- * IP Address
8140
- * @type {string}
8141
- * @memberof TcxSbcModel
8142
- */
8143
- 'ipAddress'?: string;
8144
- /**
8145
- * Subnet Mask
8146
- * @type {string}
8147
- * @memberof TcxSbcModel
8148
- */
8149
- 'netmask'?: string;
8150
- /**
8151
- * Default Gateway
8152
- * @type {string}
8153
- * @memberof TcxSbcModel
8154
- */
8155
- 'defaultGateway'?: string;
8156
- /**
8157
- * DNS 1
8158
- * @type {string}
8159
- * @memberof TcxSbcModel
8160
- */
8161
- 'dns1'?: string;
8162
- /**
8163
- * DNS 2
8164
- * @type {string}
8165
- * @memberof TcxSbcModel
8166
- */
8167
- 'dns2'?: string;
8168
- /**
8169
- * Site Address Line 1
8170
- * @type {string}
8171
- * @memberof TcxSbcModel
8172
- */
8173
- 'address1'?: string;
8174
- /**
8175
- * Site Address Line 2
8176
- * @type {string}
8177
- * @memberof TcxSbcModel
8178
- */
8179
- 'address2'?: string;
8180
- /**
8181
- * Site City
8182
- * @type {string}
8183
- * @memberof TcxSbcModel
8184
- */
8185
- 'city'?: string;
8186
- /**
8187
- * Site Postal Code
8188
- * @type {string}
8189
- * @memberof TcxSbcModel
8190
- */
8191
- 'postalCode'?: string;
8192
- /**
8193
- * Site Primary Contact
8194
- * @type {string}
8195
- * @memberof TcxSbcModel
8196
- */
8197
- 'primaryContact'?: string;
8198
- /**
8199
- * Site Technical Contact
8200
- * @type {string}
8201
- * @memberof TcxSbcModel
8202
- */
8203
- 'technicalContact'?: string;
8204
- }
8205
7305
  /**
8206
7306
  * 3CX Wizard Setup Config
8207
7307
  * @export
@@ -8634,10 +7734,10 @@ export interface TcxWizardModel {
8634
7734
  'phones'?: Array<TcxPhoneModel>;
8635
7735
  /**
8636
7736
  *
8637
- * @type {Array<TcxSbcModel>}
7737
+ * @type {Array<TcxSbcEntity>}
8638
7738
  * @memberof TcxWizardModel
8639
7739
  */
8640
- 'sbcs'?: Array<TcxSbcModel>;
7740
+ 'sbcs'?: Array<TcxSbcEntity>;
8641
7741
  /**
8642
7742
  *
8643
7743
  * @type {TcxSipTrunksEntity}
@@ -9272,40 +8372,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
9272
8372
 
9273
8373
 
9274
8374
 
9275
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9276
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9277
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9278
-
9279
- return {
9280
- url: toPathString(localVarUrlObj),
9281
- options: localVarRequestOptions,
9282
- };
9283
- },
9284
- /**
9285
- * Get Account Detailed Summary
9286
- * @summary Get Account Detailed Summary
9287
- * @param {number} id Customer ID
9288
- * @param {*} [options] Override http request option.
9289
- * @throws {RequiredError}
9290
- */
9291
- getGetAccountDetailedSummary: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9292
- // verify required parameter 'id' is not null or undefined
9293
- assertParamExists('getGetAccountDetailedSummary', 'id', id)
9294
- const localVarPath = `/accounts/{id}/summary`
9295
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9296
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9297
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9298
- let baseOptions;
9299
- if (configuration) {
9300
- baseOptions = configuration.baseOptions;
9301
- }
9302
-
9303
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9304
- const localVarHeaderParameter = {} as any;
9305
- const localVarQueryParameter = {} as any;
9306
-
9307
-
9308
-
9309
8375
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9310
8376
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9311
8377
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -9604,36 +8670,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
9604
8670
  options: localVarRequestOptions,
9605
8671
  };
9606
8672
  },
9607
- /**
9608
- * Get Admin Account
9609
- * @summary Get Admin Account
9610
- * @param {*} [options] Override http request option.
9611
- * @throws {RequiredError}
9612
- */
9613
- postGetAdminAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9614
- const localVarPath = `/admin/me`;
9615
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9616
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9617
- let baseOptions;
9618
- if (configuration) {
9619
- baseOptions = configuration.baseOptions;
9620
- }
9621
-
9622
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9623
- const localVarHeaderParameter = {} as any;
9624
- const localVarQueryParameter = {} as any;
9625
-
9626
-
9627
-
9628
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9629
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9630
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9631
-
9632
- return {
9633
- url: toPathString(localVarUrlObj),
9634
- options: localVarRequestOptions,
9635
- };
9636
- },
9637
8673
  /**
9638
8674
  * Create client credentials
9639
8675
  * @summary Create client credentials
@@ -9883,19 +8919,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
9883
8919
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountContacts']?.[localVarOperationServerIndex]?.url;
9884
8920
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9885
8921
  },
9886
- /**
9887
- * Get Account Detailed Summary
9888
- * @summary Get Account Detailed Summary
9889
- * @param {number} id Customer ID
9890
- * @param {*} [options] Override http request option.
9891
- * @throws {RequiredError}
9892
- */
9893
- async getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDetailedSummaryDTO>> {
9894
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options);
9895
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9896
- const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountDetailedSummary']?.[localVarOperationServerIndex]?.url;
9897
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9898
- },
9899
8922
  /**
9900
8923
  * Get Accounts
9901
8924
  * @summary Get Accounts
@@ -10001,18 +9024,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
10001
9024
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAccounts']?.[localVarOperationServerIndex]?.url;
10002
9025
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10003
9026
  },
10004
- /**
10005
- * Get Admin Account
10006
- * @summary Get Admin Account
10007
- * @param {*} [options] Override http request option.
10008
- * @throws {RequiredError}
10009
- */
10010
- async postGetAdminAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminUserModel>> {
10011
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetAdminAccount(options);
10012
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10013
- const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAdminAccount']?.[localVarOperationServerIndex]?.url;
10014
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10015
- },
10016
9027
  /**
10017
9028
  * Create client credentials
10018
9029
  * @summary Create client credentials
@@ -10130,16 +9141,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
10130
9141
  getGetAccountContacts(email?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>> {
10131
9142
  return localVarFp.getGetAccountContacts(email, options).then((request) => request(axios, basePath));
10132
9143
  },
10133
- /**
10134
- * Get Account Detailed Summary
10135
- * @summary Get Account Detailed Summary
10136
- * @param {number} id Customer ID
10137
- * @param {*} [options] Override http request option.
10138
- * @throws {RequiredError}
10139
- */
10140
- getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AccountDetailedSummaryDTO> {
10141
- return localVarFp.getGetAccountDetailedSummary(id, options).then((request) => request(axios, basePath));
10142
- },
10143
9144
  /**
10144
9145
  * Get Accounts
10145
9146
  * @summary Get Accounts
@@ -10221,15 +9222,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
10221
9222
  postGetAccounts(accountRequestModel?: AccountRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<PortalAccountModel> {
10222
9223
  return localVarFp.postGetAccounts(accountRequestModel, options).then((request) => request(axios, basePath));
10223
9224
  },
10224
- /**
10225
- * Get Admin Account
10226
- * @summary Get Admin Account
10227
- * @param {*} [options] Override http request option.
10228
- * @throws {RequiredError}
10229
- */
10230
- postGetAdminAccount(options?: RawAxiosRequestConfig): AxiosPromise<AdminUserModel> {
10231
- return localVarFp.postGetAdminAccount(options).then((request) => request(axios, basePath));
10232
- },
10233
9225
  /**
10234
9226
  * Create client credentials
10235
9227
  * @summary Create client credentials
@@ -10340,18 +9332,6 @@ export class AccountsApi extends BaseAPI {
10340
9332
  return AccountsApiFp(this.configuration).getGetAccountContacts(email, options).then((request) => request(this.axios, this.basePath));
10341
9333
  }
10342
9334
 
10343
- /**
10344
- * Get Account Detailed Summary
10345
- * @summary Get Account Detailed Summary
10346
- * @param {number} id Customer ID
10347
- * @param {*} [options] Override http request option.
10348
- * @throws {RequiredError}
10349
- * @memberof AccountsApi
10350
- */
10351
- public getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig) {
10352
- return AccountsApiFp(this.configuration).getGetAccountDetailedSummary(id, options).then((request) => request(this.axios, this.basePath));
10353
- }
10354
-
10355
9335
  /**
10356
9336
  * Get Accounts
10357
9337
  * @summary Get Accounts
@@ -10449,17 +9429,6 @@ export class AccountsApi extends BaseAPI {
10449
9429
  return AccountsApiFp(this.configuration).postGetAccounts(accountRequestModel, options).then((request) => request(this.axios, this.basePath));
10450
9430
  }
10451
9431
 
10452
- /**
10453
- * Get Admin Account
10454
- * @summary Get Admin Account
10455
- * @param {*} [options] Override http request option.
10456
- * @throws {RequiredError}
10457
- * @memberof AccountsApi
10458
- */
10459
- public postGetAdminAccount(options?: RawAxiosRequestConfig) {
10460
- return AccountsApiFp(this.configuration).postGetAdminAccount(options).then((request) => request(this.axios, this.basePath));
10461
- }
10462
-
10463
9432
  /**
10464
9433
  * Create client credentials
10465
9434
  * @summary Create client credentials
@@ -10560,6 +9529,43 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
10560
9529
 
10561
9530
 
10562
9531
 
9532
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9533
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9534
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9535
+
9536
+ return {
9537
+ url: toPathString(localVarUrlObj),
9538
+ options: localVarRequestOptions,
9539
+ };
9540
+ },
9541
+ /**
9542
+ * Generate a 3CX hashed password for 3CX installation
9543
+ * @summary Convert a password to a hashed 3CX password
9544
+ * @param {string} password Desired 3CX web access password
9545
+ * @param {*} [options] Override http request option.
9546
+ * @throws {RequiredError}
9547
+ */
9548
+ getGetPasswordHash: async (password: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9549
+ // verify required parameter 'password' is not null or undefined
9550
+ assertParamExists('getGetPasswordHash', 'password', password)
9551
+ const localVarPath = `/tcx/pwd2hash`;
9552
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9553
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9554
+ let baseOptions;
9555
+ if (configuration) {
9556
+ baseOptions = configuration.baseOptions;
9557
+ }
9558
+
9559
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9560
+ const localVarHeaderParameter = {} as any;
9561
+ const localVarQueryParameter = {} as any;
9562
+
9563
+ if (password !== undefined) {
9564
+ localVarQueryParameter['password'] = password;
9565
+ }
9566
+
9567
+
9568
+
10563
9569
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10564
9570
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10565
9571
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -10627,16 +9633,29 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
10627
9633
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10628
9634
  },
10629
9635
  /**
10630
- * Get Bulk 3CX Licence Details
10631
- * @summary Get bulk 3CX Licence Details
10632
- * @param {Array<string>} [requestBody] Licence Lookup Request
9636
+ * Generate a 3CX hashed password for 3CX installation
9637
+ * @summary Convert a password to a hashed 3CX password
9638
+ * @param {string} password Desired 3CX web access password
10633
9639
  * @param {*} [options] Override http request option.
10634
9640
  * @throws {RequiredError}
10635
9641
  */
10636
- async postGetBulkLicenceDetails(requestBody?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxBulkLicenceDetailsModel>> {
10637
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetBulkLicenceDetails(requestBody, options);
9642
+ async getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGetPasswordHash200Response>> {
9643
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetPasswordHash(password, options);
10638
9644
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10639
- const localVarOperationServerBasePath = operationServerMap['Class3CXApi.postGetBulkLicenceDetails']?.[localVarOperationServerIndex]?.url;
9645
+ const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetPasswordHash']?.[localVarOperationServerIndex]?.url;
9646
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9647
+ },
9648
+ /**
9649
+ * Get Bulk 3CX Licence Details
9650
+ * @summary Get bulk 3CX Licence Details
9651
+ * @param {Array<string>} [requestBody] Licence Lookup Request
9652
+ * @param {*} [options] Override http request option.
9653
+ * @throws {RequiredError}
9654
+ */
9655
+ async postGetBulkLicenceDetails(requestBody?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxBulkLicenceDetailsModel>> {
9656
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postGetBulkLicenceDetails(requestBody, options);
9657
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9658
+ const localVarOperationServerBasePath = operationServerMap['Class3CXApi.postGetBulkLicenceDetails']?.[localVarOperationServerIndex]?.url;
10640
9659
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10641
9660
  },
10642
9661
  }
@@ -10659,6 +9678,16 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
10659
9678
  getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel> {
10660
9679
  return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
10661
9680
  },
9681
+ /**
9682
+ * Generate a 3CX hashed password for 3CX installation
9683
+ * @summary Convert a password to a hashed 3CX password
9684
+ * @param {string} password Desired 3CX web access password
9685
+ * @param {*} [options] Override http request option.
9686
+ * @throws {RequiredError}
9687
+ */
9688
+ getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): AxiosPromise<GetGetPasswordHash200Response> {
9689
+ return localVarFp.getGetPasswordHash(password, options).then((request) => request(axios, basePath));
9690
+ },
10662
9691
  /**
10663
9692
  * Get Bulk 3CX Licence Details
10664
9693
  * @summary Get bulk 3CX Licence Details
@@ -10691,6 +9720,18 @@ export class Class3CXApi extends BaseAPI {
10691
9720
  return Class3CXApiFp(this.configuration).getGetLicenceDetails(key, options).then((request) => request(this.axios, this.basePath));
10692
9721
  }
10693
9722
 
9723
+ /**
9724
+ * Generate a 3CX hashed password for 3CX installation
9725
+ * @summary Convert a password to a hashed 3CX password
9726
+ * @param {string} password Desired 3CX web access password
9727
+ * @param {*} [options] Override http request option.
9728
+ * @throws {RequiredError}
9729
+ * @memberof Class3CXApi
9730
+ */
9731
+ public getGetPasswordHash(password: string, options?: RawAxiosRequestConfig) {
9732
+ return Class3CXApiFp(this.configuration).getGetPasswordHash(password, options).then((request) => request(this.axios, this.basePath));
9733
+ }
9734
+
10694
9735
  /**
10695
9736
  * Get Bulk 3CX Licence Details
10696
9737
  * @summary Get bulk 3CX Licence Details
@@ -10817,11 +9858,11 @@ export const Class3CXInstallationWizardApiAxiosParamCreator = function (configur
10817
9858
  /**
10818
9859
  * Delete 3CX Installation Wizard SBCs
10819
9860
  * @summary Delete 3CX Installation Wizard SBCs
10820
- * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
9861
+ * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
10821
9862
  * @param {*} [options] Override http request option.
10822
9863
  * @throws {RequiredError}
10823
9864
  */
10824
- deleteAddSbcs: async (tcxSbcModel?: Array<TcxSbcModel>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9865
+ deleteAddSbcs: async (tcxSbcEntity?: Array<TcxSbcEntity>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10825
9866
  const localVarPath = `/tcx/wizards/sbcs`;
10826
9867
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10827
9868
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -10841,7 +9882,7 @@ export const Class3CXInstallationWizardApiAxiosParamCreator = function (configur
10841
9882
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10842
9883
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10843
9884
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10844
- localVarRequestOptions.data = serializeDataIfNeeded(tcxSbcModel, localVarRequestOptions, configuration)
9885
+ localVarRequestOptions.data = serializeDataIfNeeded(tcxSbcEntity, localVarRequestOptions, configuration)
10845
9886
 
10846
9887
  return {
10847
9888
  url: toPathString(localVarUrlObj),
@@ -11188,11 +10229,11 @@ export const Class3CXInstallationWizardApiAxiosParamCreator = function (configur
11188
10229
  /**
11189
10230
  * Update 3CX Installation Wizard SBCs
11190
10231
  * @summary Update 3CX Installation Wizard SBCs
11191
- * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
10232
+ * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
11192
10233
  * @param {*} [options] Override http request option.
11193
10234
  * @throws {RequiredError}
11194
10235
  */
11195
- patchAddSbcs: async (tcxSbcModel?: Array<TcxSbcModel>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10236
+ patchAddSbcs: async (tcxSbcEntity?: Array<TcxSbcEntity>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11196
10237
  const localVarPath = `/tcx/wizards/sbcs`;
11197
10238
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11198
10239
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -11212,7 +10253,7 @@ export const Class3CXInstallationWizardApiAxiosParamCreator = function (configur
11212
10253
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11213
10254
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11214
10255
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11215
- localVarRequestOptions.data = serializeDataIfNeeded(tcxSbcModel, localVarRequestOptions, configuration)
10256
+ localVarRequestOptions.data = serializeDataIfNeeded(tcxSbcEntity, localVarRequestOptions, configuration)
11216
10257
 
11217
10258
  return {
11218
10259
  url: toPathString(localVarUrlObj),
@@ -11358,11 +10399,11 @@ export const Class3CXInstallationWizardApiAxiosParamCreator = function (configur
11358
10399
  /**
11359
10400
  * Add SBCs To 3CX Installation Wizard
11360
10401
  * @summary Add SBCs To 3CX Installation Wizard
11361
- * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
10402
+ * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
11362
10403
  * @param {*} [options] Override http request option.
11363
10404
  * @throws {RequiredError}
11364
10405
  */
11365
- postAddSbcs: async (tcxSbcModel?: Array<TcxSbcModel>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10406
+ postAddSbcs: async (tcxSbcEntity?: Array<TcxSbcEntity>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11366
10407
  const localVarPath = `/tcx/wizards/sbcs`;
11367
10408
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11368
10409
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -11382,7 +10423,7 @@ export const Class3CXInstallationWizardApiAxiosParamCreator = function (configur
11382
10423
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11383
10424
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11384
10425
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11385
- localVarRequestOptions.data = serializeDataIfNeeded(tcxSbcModel, localVarRequestOptions, configuration)
10426
+ localVarRequestOptions.data = serializeDataIfNeeded(tcxSbcEntity, localVarRequestOptions, configuration)
11386
10427
 
11387
10428
  return {
11388
10429
  url: toPathString(localVarUrlObj),
@@ -11659,12 +10700,12 @@ export const Class3CXInstallationWizardApiFp = function(configuration?: Configur
11659
10700
  /**
11660
10701
  * Delete 3CX Installation Wizard SBCs
11661
10702
  * @summary Delete 3CX Installation Wizard SBCs
11662
- * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
10703
+ * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
11663
10704
  * @param {*} [options] Override http request option.
11664
10705
  * @throws {RequiredError}
11665
10706
  */
11666
- async deleteAddSbcs(tcxSbcModel?: Array<TcxSbcModel>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
11667
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAddSbcs(tcxSbcModel, options);
10707
+ async deleteAddSbcs(tcxSbcEntity?: Array<TcxSbcEntity>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
10708
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAddSbcs(tcxSbcEntity, options);
11668
10709
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11669
10710
  const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.deleteAddSbcs']?.[localVarOperationServerIndex]?.url;
11670
10711
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -11800,12 +10841,12 @@ export const Class3CXInstallationWizardApiFp = function(configuration?: Configur
11800
10841
  /**
11801
10842
  * Update 3CX Installation Wizard SBCs
11802
10843
  * @summary Update 3CX Installation Wizard SBCs
11803
- * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
10844
+ * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
11804
10845
  * @param {*} [options] Override http request option.
11805
10846
  * @throws {RequiredError}
11806
10847
  */
11807
- async patchAddSbcs(tcxSbcModel?: Array<TcxSbcModel>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TcxSbcModel>>> {
11808
- const localVarAxiosArgs = await localVarAxiosParamCreator.patchAddSbcs(tcxSbcModel, options);
10848
+ async patchAddSbcs(tcxSbcEntity?: Array<TcxSbcEntity>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TcxSbcEntity>>> {
10849
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchAddSbcs(tcxSbcEntity, options);
11809
10850
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11810
10851
  const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.patchAddSbcs']?.[localVarOperationServerIndex]?.url;
11811
10852
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -11865,12 +10906,12 @@ export const Class3CXInstallationWizardApiFp = function(configuration?: Configur
11865
10906
  /**
11866
10907
  * Add SBCs To 3CX Installation Wizard
11867
10908
  * @summary Add SBCs To 3CX Installation Wizard
11868
- * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
10909
+ * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
11869
10910
  * @param {*} [options] Override http request option.
11870
10911
  * @throws {RequiredError}
11871
10912
  */
11872
- async postAddSbcs(tcxSbcModel?: Array<TcxSbcModel>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TcxSbcModel>>> {
11873
- const localVarAxiosArgs = await localVarAxiosParamCreator.postAddSbcs(tcxSbcModel, options);
10913
+ async postAddSbcs(tcxSbcEntity?: Array<TcxSbcEntity>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TcxSbcEntity>>> {
10914
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postAddSbcs(tcxSbcEntity, options);
11874
10915
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11875
10916
  const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.postAddSbcs']?.[localVarOperationServerIndex]?.url;
11876
10917
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -11988,12 +11029,12 @@ export const Class3CXInstallationWizardApiFactory = function (configuration?: Co
11988
11029
  /**
11989
11030
  * Delete 3CX Installation Wizard SBCs
11990
11031
  * @summary Delete 3CX Installation Wizard SBCs
11991
- * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
11032
+ * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
11992
11033
  * @param {*} [options] Override http request option.
11993
11034
  * @throws {RequiredError}
11994
11035
  */
11995
- deleteAddSbcs(tcxSbcModel?: Array<TcxSbcModel>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
11996
- return localVarFp.deleteAddSbcs(tcxSbcModel, options).then((request) => request(axios, basePath));
11036
+ deleteAddSbcs(tcxSbcEntity?: Array<TcxSbcEntity>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
11037
+ return localVarFp.deleteAddSbcs(tcxSbcEntity, options).then((request) => request(axios, basePath));
11997
11038
  },
11998
11039
  /**
11999
11040
  * Delete 3CX Installation Wizard
@@ -12096,12 +11137,12 @@ export const Class3CXInstallationWizardApiFactory = function (configuration?: Co
12096
11137
  /**
12097
11138
  * Update 3CX Installation Wizard SBCs
12098
11139
  * @summary Update 3CX Installation Wizard SBCs
12099
- * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
11140
+ * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
12100
11141
  * @param {*} [options] Override http request option.
12101
11142
  * @throws {RequiredError}
12102
11143
  */
12103
- patchAddSbcs(tcxSbcModel?: Array<TcxSbcModel>, options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxSbcModel>> {
12104
- return localVarFp.patchAddSbcs(tcxSbcModel, options).then((request) => request(axios, basePath));
11144
+ patchAddSbcs(tcxSbcEntity?: Array<TcxSbcEntity>, options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxSbcEntity>> {
11145
+ return localVarFp.patchAddSbcs(tcxSbcEntity, options).then((request) => request(axios, basePath));
12105
11146
  },
12106
11147
  /**
12107
11148
  * Update 3CX Installation Wizard
@@ -12146,12 +11187,12 @@ export const Class3CXInstallationWizardApiFactory = function (configuration?: Co
12146
11187
  /**
12147
11188
  * Add SBCs To 3CX Installation Wizard
12148
11189
  * @summary Add SBCs To 3CX Installation Wizard
12149
- * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
11190
+ * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
12150
11191
  * @param {*} [options] Override http request option.
12151
11192
  * @throws {RequiredError}
12152
11193
  */
12153
- postAddSbcs(tcxSbcModel?: Array<TcxSbcModel>, options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxSbcModel>> {
12154
- return localVarFp.postAddSbcs(tcxSbcModel, options).then((request) => request(axios, basePath));
11194
+ postAddSbcs(tcxSbcEntity?: Array<TcxSbcEntity>, options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxSbcEntity>> {
11195
+ return localVarFp.postAddSbcs(tcxSbcEntity, options).then((request) => request(axios, basePath));
12155
11196
  },
12156
11197
  /**
12157
11198
  * Build Instance From 3CX Installation Wizard
@@ -12257,13 +11298,13 @@ export class Class3CXInstallationWizardApi extends BaseAPI {
12257
11298
  /**
12258
11299
  * Delete 3CX Installation Wizard SBCs
12259
11300
  * @summary Delete 3CX Installation Wizard SBCs
12260
- * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
11301
+ * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
12261
11302
  * @param {*} [options] Override http request option.
12262
11303
  * @throws {RequiredError}
12263
11304
  * @memberof Class3CXInstallationWizardApi
12264
11305
  */
12265
- public deleteAddSbcs(tcxSbcModel?: Array<TcxSbcModel>, options?: RawAxiosRequestConfig) {
12266
- return Class3CXInstallationWizardApiFp(this.configuration).deleteAddSbcs(tcxSbcModel, options).then((request) => request(this.axios, this.basePath));
11306
+ public deleteAddSbcs(tcxSbcEntity?: Array<TcxSbcEntity>, options?: RawAxiosRequestConfig) {
11307
+ return Class3CXInstallationWizardApiFp(this.configuration).deleteAddSbcs(tcxSbcEntity, options).then((request) => request(this.axios, this.basePath));
12267
11308
  }
12268
11309
 
12269
11310
  /**
@@ -12387,13 +11428,13 @@ export class Class3CXInstallationWizardApi extends BaseAPI {
12387
11428
  /**
12388
11429
  * Update 3CX Installation Wizard SBCs
12389
11430
  * @summary Update 3CX Installation Wizard SBCs
12390
- * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
11431
+ * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
12391
11432
  * @param {*} [options] Override http request option.
12392
11433
  * @throws {RequiredError}
12393
11434
  * @memberof Class3CXInstallationWizardApi
12394
11435
  */
12395
- public patchAddSbcs(tcxSbcModel?: Array<TcxSbcModel>, options?: RawAxiosRequestConfig) {
12396
- return Class3CXInstallationWizardApiFp(this.configuration).patchAddSbcs(tcxSbcModel, options).then((request) => request(this.axios, this.basePath));
11436
+ public patchAddSbcs(tcxSbcEntity?: Array<TcxSbcEntity>, options?: RawAxiosRequestConfig) {
11437
+ return Class3CXInstallationWizardApiFp(this.configuration).patchAddSbcs(tcxSbcEntity, options).then((request) => request(this.axios, this.basePath));
12397
11438
  }
12398
11439
 
12399
11440
  /**
@@ -12447,13 +11488,13 @@ export class Class3CXInstallationWizardApi extends BaseAPI {
12447
11488
  /**
12448
11489
  * Add SBCs To 3CX Installation Wizard
12449
11490
  * @summary Add SBCs To 3CX Installation Wizard
12450
- * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
11491
+ * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
12451
11492
  * @param {*} [options] Override http request option.
12452
11493
  * @throws {RequiredError}
12453
11494
  * @memberof Class3CXInstallationWizardApi
12454
11495
  */
12455
- public postAddSbcs(tcxSbcModel?: Array<TcxSbcModel>, options?: RawAxiosRequestConfig) {
12456
- return Class3CXInstallationWizardApiFp(this.configuration).postAddSbcs(tcxSbcModel, options).then((request) => request(this.axios, this.basePath));
11496
+ public postAddSbcs(tcxSbcEntity?: Array<TcxSbcEntity>, options?: RawAxiosRequestConfig) {
11497
+ return Class3CXInstallationWizardApiFp(this.configuration).postAddSbcs(tcxSbcEntity, options).then((request) => request(this.axios, this.basePath));
12457
11498
  }
12458
11499
 
12459
11500
  /**
@@ -15285,14 +14326,13 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
15285
14326
  return {
15286
14327
  /**
15287
14328
  * Delete Orders
15288
- * @summary Delete Orders
15289
14329
  * @param {number} id Order ID
15290
14330
  * @param {*} [options] Override http request option.
15291
14331
  * @throws {RequiredError}
15292
14332
  */
15293
- deleteUpdateOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14333
+ deleteDeleteOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15294
14334
  // verify required parameter 'id' is not null or undefined
15295
- assertParamExists('deleteUpdateOrder', 'id', id)
14335
+ assertParamExists('deleteDeleteOrder', 'id', id)
15296
14336
  const localVarPath = `/orders/{id}`
15297
14337
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
15298
14338
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -15308,39 +14348,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
15308
14348
 
15309
14349
 
15310
14350
 
15311
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15312
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15313
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15314
-
15315
- return {
15316
- url: toPathString(localVarUrlObj),
15317
- options: localVarRequestOptions,
15318
- };
15319
- },
15320
- /**
15321
- * Get Editable Order
15322
- * @param {number} id Order ID
15323
- * @param {*} [options] Override http request option.
15324
- * @throws {RequiredError}
15325
- */
15326
- getGetEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15327
- // verify required parameter 'id' is not null or undefined
15328
- assertParamExists('getGetEditableOrder', 'id', id)
15329
- const localVarPath = `/orders/{id}/views/editable`
15330
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
15331
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15332
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15333
- let baseOptions;
15334
- if (configuration) {
15335
- baseOptions = configuration.baseOptions;
15336
- }
15337
-
15338
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15339
- const localVarHeaderParameter = {} as any;
15340
- const localVarQueryParameter = {} as any;
15341
-
15342
-
15343
-
15344
14351
  setSearchParams(localVarUrlObj, localVarQueryParameter);
15345
14352
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15346
14353
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -15410,170 +14417,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
15410
14417
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15411
14418
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15412
14419
 
15413
- return {
15414
- url: toPathString(localVarUrlObj),
15415
- options: localVarRequestOptions,
15416
- };
15417
- },
15418
- /**
15419
- * Create An Order (Admin)
15420
- * @summary Create An Order (Admin)
15421
- * @param {boolean} [readonly] Readonly Order
15422
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
15423
- * @param {*} [options] Override http request option.
15424
- * @throws {RequiredError}
15425
- */
15426
- postCreateAdminOrder: async (readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15427
- const localVarPath = `/admin/orders`;
15428
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15429
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15430
- let baseOptions;
15431
- if (configuration) {
15432
- baseOptions = configuration.baseOptions;
15433
- }
15434
-
15435
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15436
- const localVarHeaderParameter = {} as any;
15437
- const localVarQueryParameter = {} as any;
15438
-
15439
- if (readonly !== undefined) {
15440
- localVarQueryParameter['readonly'] = readonly;
15441
- }
15442
-
15443
-
15444
-
15445
- localVarHeaderParameter['Content-Type'] = 'application/json';
15446
-
15447
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15448
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15449
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15450
- localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
15451
-
15452
- return {
15453
- url: toPathString(localVarUrlObj),
15454
- options: localVarRequestOptions,
15455
- };
15456
- },
15457
- /**
15458
- * Create An Order
15459
- * @summary Create An Order
15460
- * @param {boolean} [readonly] Readonly Order
15461
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15462
- * @param {*} [options] Override http request option.
15463
- * @throws {RequiredError}
15464
- */
15465
- postGetOrders: async (readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15466
- const localVarPath = `/orders`;
15467
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15468
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15469
- let baseOptions;
15470
- if (configuration) {
15471
- baseOptions = configuration.baseOptions;
15472
- }
15473
-
15474
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15475
- const localVarHeaderParameter = {} as any;
15476
- const localVarQueryParameter = {} as any;
15477
-
15478
- if (readonly !== undefined) {
15479
- localVarQueryParameter['readonly'] = readonly;
15480
- }
15481
-
15482
-
15483
-
15484
- localVarHeaderParameter['Content-Type'] = 'application/json';
15485
-
15486
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15487
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15488
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15489
- localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
15490
-
15491
- return {
15492
- url: toPathString(localVarUrlObj),
15493
- options: localVarRequestOptions,
15494
- };
15495
- },
15496
- /**
15497
- * Update An Order (Admin)
15498
- * @summary Update An Order (Admin)
15499
- * @param {number} id Order ID
15500
- * @param {boolean} [readonly] Readonly Order
15501
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
15502
- * @param {*} [options] Override http request option.
15503
- * @throws {RequiredError}
15504
- */
15505
- putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15506
- // verify required parameter 'id' is not null or undefined
15507
- assertParamExists('putUpdateAdminOrder', 'id', id)
15508
- const localVarPath = `/admin/orders/{id}`
15509
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
15510
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15511
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15512
- let baseOptions;
15513
- if (configuration) {
15514
- baseOptions = configuration.baseOptions;
15515
- }
15516
-
15517
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
15518
- const localVarHeaderParameter = {} as any;
15519
- const localVarQueryParameter = {} as any;
15520
-
15521
- if (readonly !== undefined) {
15522
- localVarQueryParameter['readonly'] = readonly;
15523
- }
15524
-
15525
-
15526
-
15527
- localVarHeaderParameter['Content-Type'] = 'application/json';
15528
-
15529
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15530
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15531
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15532
- localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
15533
-
15534
- return {
15535
- url: toPathString(localVarUrlObj),
15536
- options: localVarRequestOptions,
15537
- };
15538
- },
15539
- /**
15540
- * Update An Order
15541
- * @summary Update An Order
15542
- * @param {number} id Order ID
15543
- * @param {boolean} [readonly] Readonly Order
15544
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15545
- * @param {*} [options] Override http request option.
15546
- * @throws {RequiredError}
15547
- */
15548
- putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15549
- // verify required parameter 'id' is not null or undefined
15550
- assertParamExists('putUpdateOrder', 'id', id)
15551
- const localVarPath = `/orders/{id}`
15552
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
15553
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15554
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15555
- let baseOptions;
15556
- if (configuration) {
15557
- baseOptions = configuration.baseOptions;
15558
- }
15559
-
15560
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
15561
- const localVarHeaderParameter = {} as any;
15562
- const localVarQueryParameter = {} as any;
15563
-
15564
- if (readonly !== undefined) {
15565
- localVarQueryParameter['readonly'] = readonly;
15566
- }
15567
-
15568
-
15569
-
15570
- localVarHeaderParameter['Content-Type'] = 'application/json';
15571
-
15572
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15573
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15574
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15575
- localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
15576
-
15577
14420
  return {
15578
14421
  url: toPathString(localVarUrlObj),
15579
14422
  options: localVarRequestOptions,
@@ -15591,27 +14434,14 @@ export const OrdersApiFp = function(configuration?: Configuration) {
15591
14434
  return {
15592
14435
  /**
15593
14436
  * Delete Orders
15594
- * @summary Delete Orders
15595
- * @param {number} id Order ID
15596
- * @param {*} [options] Override http request option.
15597
- * @throws {RequiredError}
15598
- */
15599
- async deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
15600
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUpdateOrder(id, options);
15601
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15602
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteUpdateOrder']?.[localVarOperationServerIndex]?.url;
15603
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15604
- },
15605
- /**
15606
- * Get Editable Order
15607
14437
  * @param {number} id Order ID
15608
14438
  * @param {*} [options] Override http request option.
15609
14439
  * @throws {RequiredError}
15610
14440
  */
15611
- async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderSummaryDTO>> {
15612
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
14441
+ async deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
14442
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeleteOrder(id, options);
15613
14443
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15614
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
14444
+ const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteDeleteOrder']?.[localVarOperationServerIndex]?.url;
15615
14445
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15616
14446
  },
15617
14447
  /**
@@ -15633,64 +14463,6 @@ export const OrdersApiFp = function(configuration?: Configuration) {
15633
14463
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
15634
14464
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15635
14465
  },
15636
- /**
15637
- * Create An Order (Admin)
15638
- * @summary Create An Order (Admin)
15639
- * @param {boolean} [readonly] Readonly Order
15640
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
15641
- * @param {*} [options] Override http request option.
15642
- * @throws {RequiredError}
15643
- */
15644
- async postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
15645
- const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options);
15646
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15647
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
15648
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15649
- },
15650
- /**
15651
- * Create An Order
15652
- * @summary Create An Order
15653
- * @param {boolean} [readonly] Readonly Order
15654
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15655
- * @param {*} [options] Override http request option.
15656
- * @throws {RequiredError}
15657
- */
15658
- async postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
15659
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options);
15660
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15661
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
15662
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15663
- },
15664
- /**
15665
- * Update An Order (Admin)
15666
- * @summary Update An Order (Admin)
15667
- * @param {number} id Order ID
15668
- * @param {boolean} [readonly] Readonly Order
15669
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
15670
- * @param {*} [options] Override http request option.
15671
- * @throws {RequiredError}
15672
- */
15673
- async putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
15674
- const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options);
15675
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15676
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateAdminOrder']?.[localVarOperationServerIndex]?.url;
15677
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15678
- },
15679
- /**
15680
- * Update An Order
15681
- * @summary Update An Order
15682
- * @param {number} id Order ID
15683
- * @param {boolean} [readonly] Readonly Order
15684
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15685
- * @param {*} [options] Override http request option.
15686
- * @throws {RequiredError}
15687
- */
15688
- async putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
15689
- const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateOrder(id, readonly, customerOrderRequestDTO, options);
15690
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15691
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateOrder']?.[localVarOperationServerIndex]?.url;
15692
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15693
- },
15694
14466
  }
15695
14467
  };
15696
14468
 
@@ -15703,22 +14475,12 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
15703
14475
  return {
15704
14476
  /**
15705
14477
  * Delete Orders
15706
- * @summary Delete Orders
15707
14478
  * @param {number} id Order ID
15708
14479
  * @param {*} [options] Override http request option.
15709
14480
  * @throws {RequiredError}
15710
14481
  */
15711
- deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
15712
- return localVarFp.deleteUpdateOrder(id, options).then((request) => request(axios, basePath));
15713
- },
15714
- /**
15715
- * Get Editable Order
15716
- * @param {number} id Order ID
15717
- * @param {*} [options] Override http request option.
15718
- * @throws {RequiredError}
15719
- */
15720
- getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummaryDTO> {
15721
- return localVarFp.getGetEditableOrder(id, options).then((request) => request(axios, basePath));
14482
+ deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
14483
+ return localVarFp.deleteDeleteOrder(id, options).then((request) => request(axios, basePath));
15722
14484
  },
15723
14485
  /**
15724
14486
  * Get Orders
@@ -15736,155 +14498,43 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
15736
14498
  getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel> {
15737
14499
  return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(axios, basePath));
15738
14500
  },
15739
- /**
15740
- * Create An Order (Admin)
15741
- * @summary Create An Order (Admin)
15742
- * @param {boolean} [readonly] Readonly Order
15743
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
15744
- * @param {*} [options] Override http request option.
15745
- * @throws {RequiredError}
15746
- */
15747
- postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
15748
- return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
15749
- },
15750
- /**
15751
- * Create An Order
15752
- * @summary Create An Order
15753
- * @param {boolean} [readonly] Readonly Order
15754
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15755
- * @param {*} [options] Override http request option.
15756
- * @throws {RequiredError}
15757
- */
15758
- postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
15759
- return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
15760
- },
15761
- /**
15762
- * Update An Order (Admin)
15763
- * @summary Update An Order (Admin)
15764
- * @param {number} id Order ID
15765
- * @param {boolean} [readonly] Readonly Order
15766
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
15767
- * @param {*} [options] Override http request option.
15768
- * @throws {RequiredError}
15769
- */
15770
- putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
15771
- return localVarFp.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
15772
- },
15773
- /**
15774
- * Update An Order
15775
- * @summary Update An Order
15776
- * @param {number} id Order ID
15777
- * @param {boolean} [readonly] Readonly Order
15778
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15779
- * @param {*} [options] Override http request option.
15780
- * @throws {RequiredError}
15781
- */
15782
- putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
15783
- return localVarFp.putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
15784
- },
15785
14501
  };
15786
14502
  };
15787
14503
 
15788
14504
  /**
15789
- * OrdersApi - object-oriented interface
15790
- * @export
15791
- * @class OrdersApi
15792
- * @extends {BaseAPI}
15793
- */
15794
- export class OrdersApi extends BaseAPI {
15795
- /**
15796
- * Delete Orders
15797
- * @summary Delete Orders
15798
- * @param {number} id Order ID
15799
- * @param {*} [options] Override http request option.
15800
- * @throws {RequiredError}
15801
- * @memberof OrdersApi
15802
- */
15803
- public deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig) {
15804
- return OrdersApiFp(this.configuration).deleteUpdateOrder(id, options).then((request) => request(this.axios, this.basePath));
15805
- }
15806
-
15807
- /**
15808
- * Get Editable Order
15809
- * @param {number} id Order ID
15810
- * @param {*} [options] Override http request option.
15811
- * @throws {RequiredError}
15812
- * @memberof OrdersApi
15813
- */
15814
- public getGetEditableOrder(id: number, options?: RawAxiosRequestConfig) {
15815
- return OrdersApiFp(this.configuration).getGetEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
15816
- }
15817
-
15818
- /**
15819
- * Get Orders
15820
- * @summary Get Orders
15821
- * @param {number} [pageSize] Number Of Results
15822
- * @param {number} [page] Page Number
15823
- * @param {string} [search] Search
15824
- * @param {boolean | null} [fulfillable] Fulfillable
15825
- * @param {GetGetOrdersStatusEnum} [status] Status
15826
- * @param {GetGetOrdersFilterEnum} [filter] Filter
15827
- * @param {number | null} [customerId] Customer ID
15828
- * @param {*} [options] Override http request option.
15829
- * @throws {RequiredError}
15830
- * @memberof OrdersApi
15831
- */
15832
- public getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) {
15833
- return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
15834
- }
15835
-
15836
- /**
15837
- * Create An Order (Admin)
15838
- * @summary Create An Order (Admin)
15839
- * @param {boolean} [readonly] Readonly Order
15840
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
15841
- * @param {*} [options] Override http request option.
15842
- * @throws {RequiredError}
15843
- * @memberof OrdersApi
15844
- */
15845
- public postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
15846
- return OrdersApiFp(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
15847
- }
15848
-
15849
- /**
15850
- * Create An Order
15851
- * @summary Create An Order
15852
- * @param {boolean} [readonly] Readonly Order
15853
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15854
- * @param {*} [options] Override http request option.
15855
- * @throws {RequiredError}
15856
- * @memberof OrdersApi
15857
- */
15858
- public postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
15859
- return OrdersApiFp(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
15860
- }
15861
-
14505
+ * OrdersApi - object-oriented interface
14506
+ * @export
14507
+ * @class OrdersApi
14508
+ * @extends {BaseAPI}
14509
+ */
14510
+ export class OrdersApi extends BaseAPI {
15862
14511
  /**
15863
- * Update An Order (Admin)
15864
- * @summary Update An Order (Admin)
14512
+ * Delete Orders
15865
14513
  * @param {number} id Order ID
15866
- * @param {boolean} [readonly] Readonly Order
15867
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
15868
14514
  * @param {*} [options] Override http request option.
15869
14515
  * @throws {RequiredError}
15870
14516
  * @memberof OrdersApi
15871
14517
  */
15872
- public putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
15873
- return OrdersApiFp(this.configuration).putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
14518
+ public deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig) {
14519
+ return OrdersApiFp(this.configuration).deleteDeleteOrder(id, options).then((request) => request(this.axios, this.basePath));
15874
14520
  }
15875
14521
 
15876
14522
  /**
15877
- * Update An Order
15878
- * @summary Update An Order
15879
- * @param {number} id Order ID
15880
- * @param {boolean} [readonly] Readonly Order
15881
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
14523
+ * Get Orders
14524
+ * @summary Get Orders
14525
+ * @param {number} [pageSize] Number Of Results
14526
+ * @param {number} [page] Page Number
14527
+ * @param {string} [search] Search
14528
+ * @param {boolean | null} [fulfillable] Fulfillable
14529
+ * @param {GetGetOrdersStatusEnum} [status] Status
14530
+ * @param {GetGetOrdersFilterEnum} [filter] Filter
14531
+ * @param {number | null} [customerId] Customer ID
15882
14532
  * @param {*} [options] Override http request option.
15883
14533
  * @throws {RequiredError}
15884
14534
  * @memberof OrdersApi
15885
14535
  */
15886
- public putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
15887
- return OrdersApiFp(this.configuration).putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
14536
+ public getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) {
14537
+ return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
15888
14538
  }
15889
14539
  }
15890
14540
 
@@ -16296,17 +14946,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16296
14946
  };
16297
14947
  },
16298
14948
  /**
16299
- * Get Current Stock & Pricing
16300
- * @summary Get Current Stock & Pricing
16301
- * @param {GetGetLegacyStockListFormatEnum} format File Format
14949
+ * Get Customer Price Lists
14950
+ * @summary Get Customer Price Lists
16302
14951
  * @param {*} [options] Override http request option.
16303
- * @deprecated
16304
14952
  * @throws {RequiredError}
16305
14953
  */
16306
- getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16307
- // verify required parameter 'format' is not null or undefined
16308
- assertParamExists('getGetLegacyStockList', 'format', format)
16309
- const localVarPath = `/products/stock/legacy`;
14954
+ getGetCustomerPriceLists: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14955
+ const localVarPath = `/products/prices/lists`;
16310
14956
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16311
14957
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16312
14958
  let baseOptions;
@@ -16318,10 +14964,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16318
14964
  const localVarHeaderParameter = {} as any;
16319
14965
  const localVarQueryParameter = {} as any;
16320
14966
 
16321
- if (format !== undefined) {
16322
- localVarQueryParameter['format'] = format;
16323
- }
16324
-
16325
14967
 
16326
14968
 
16327
14969
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -16334,19 +14976,17 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16334
14976
  };
16335
14977
  },
16336
14978
  /**
16337
- * Get Product
16338
- * @summary Get Product
16339
- * @param {string} sku Product SKU
16340
- * @param {number} [quantity] Quantity
16341
- * @param {string} [licenceKey] 3CX Licence Key
14979
+ * Get Current Stock & Pricing
14980
+ * @summary Get Current Stock & Pricing
14981
+ * @param {GetGetLegacyStockListFormatEnum} format File Format
16342
14982
  * @param {*} [options] Override http request option.
14983
+ * @deprecated
16343
14984
  * @throws {RequiredError}
16344
14985
  */
16345
- getGetProduct: async (sku: string, quantity?: number, licenceKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16346
- // verify required parameter 'sku' is not null or undefined
16347
- assertParamExists('getGetProduct', 'sku', sku)
16348
- const localVarPath = `/products/{sku}`
16349
- .replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
14986
+ getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14987
+ // verify required parameter 'format' is not null or undefined
14988
+ assertParamExists('getGetLegacyStockList', 'format', format)
14989
+ const localVarPath = `/products/stock/legacy`;
16350
14990
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16351
14991
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16352
14992
  let baseOptions;
@@ -16358,12 +14998,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16358
14998
  const localVarHeaderParameter = {} as any;
16359
14999
  const localVarQueryParameter = {} as any;
16360
15000
 
16361
- if (quantity !== undefined) {
16362
- localVarQueryParameter['quantity'] = quantity;
16363
- }
16364
-
16365
- if (licenceKey !== undefined) {
16366
- localVarQueryParameter['licenceKey'] = licenceKey;
15001
+ if (format !== undefined) {
15002
+ localVarQueryParameter['format'] = format;
16367
15003
  }
16368
15004
 
16369
15005
 
@@ -16380,11 +15016,14 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16380
15016
  /**
16381
15017
  * Get Products
16382
15018
  * @summary Get Products
15019
+ * @param {number} [pageSize] Number Of Results
15020
+ * @param {number} [page] Page Number
15021
+ * @param {string} [search] Search
16383
15022
  * @param {*} [options] Override http request option.
16384
15023
  * @throws {RequiredError}
16385
15024
  */
16386
- getGetProducts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16387
- const localVarPath = `/products`;
15025
+ getGetProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15026
+ const localVarPath = `/products/search`;
16388
15027
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16389
15028
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16390
15029
  let baseOptions;
@@ -16396,6 +15035,18 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16396
15035
  const localVarHeaderParameter = {} as any;
16397
15036
  const localVarQueryParameter = {} as any;
16398
15037
 
15038
+ if (pageSize !== undefined) {
15039
+ localVarQueryParameter['pageSize'] = pageSize;
15040
+ }
15041
+
15042
+ if (page !== undefined) {
15043
+ localVarQueryParameter['page'] = page;
15044
+ }
15045
+
15046
+ if (search !== undefined) {
15047
+ localVarQueryParameter['search'] = search;
15048
+ }
15049
+
16399
15050
 
16400
15051
 
16401
15052
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -16458,51 +15109,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16458
15109
 
16459
15110
 
16460
15111
 
16461
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16462
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16463
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16464
-
16465
- return {
16466
- url: toPathString(localVarUrlObj),
16467
- options: localVarRequestOptions,
16468
- };
16469
- },
16470
- /**
16471
- * Search Products
16472
- * @summary Search Products
16473
- * @param {number} [pageSize] Number Of Results
16474
- * @param {number} [page] Page Number
16475
- * @param {string} [search] Search
16476
- * @param {*} [options] Override http request option.
16477
- * @throws {RequiredError}
16478
- */
16479
- getSearchProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16480
- const localVarPath = `/products/search`;
16481
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16482
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16483
- let baseOptions;
16484
- if (configuration) {
16485
- baseOptions = configuration.baseOptions;
16486
- }
16487
-
16488
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16489
- const localVarHeaderParameter = {} as any;
16490
- const localVarQueryParameter = {} as any;
16491
-
16492
- if (pageSize !== undefined) {
16493
- localVarQueryParameter['pageSize'] = pageSize;
16494
- }
16495
-
16496
- if (page !== undefined) {
16497
- localVarQueryParameter['page'] = page;
16498
- }
16499
-
16500
- if (search !== undefined) {
16501
- localVarQueryParameter['search'] = search;
16502
- }
16503
-
16504
-
16505
-
16506
15112
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16507
15113
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16508
15114
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -16535,42 +15141,42 @@ export const ProductsApiFp = function(configuration?: Configuration) {
16535
15141
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16536
15142
  },
16537
15143
  /**
16538
- * Get Current Stock & Pricing
16539
- * @summary Get Current Stock & Pricing
16540
- * @param {GetGetLegacyStockListFormatEnum} format File Format
15144
+ * Get Customer Price Lists
15145
+ * @summary Get Customer Price Lists
16541
15146
  * @param {*} [options] Override http request option.
16542
- * @deprecated
16543
15147
  * @throws {RequiredError}
16544
15148
  */
16545
- async getGetLegacyStockList(format: GetGetLegacyStockListFormatEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
16546
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetLegacyStockList(format, options);
15149
+ async getGetCustomerPriceLists(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CustomerPriceListEnum>>> {
15150
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCustomerPriceLists(options);
16547
15151
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16548
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetLegacyStockList']?.[localVarOperationServerIndex]?.url;
15152
+ const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetCustomerPriceLists']?.[localVarOperationServerIndex]?.url;
16549
15153
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16550
15154
  },
16551
15155
  /**
16552
- * Get Product
16553
- * @summary Get Product
16554
- * @param {string} sku Product SKU
16555
- * @param {number} [quantity] Quantity
16556
- * @param {string} [licenceKey] 3CX Licence Key
15156
+ * Get Current Stock & Pricing
15157
+ * @summary Get Current Stock & Pricing
15158
+ * @param {GetGetLegacyStockListFormatEnum} format File Format
16557
15159
  * @param {*} [options] Override http request option.
15160
+ * @deprecated
16558
15161
  * @throws {RequiredError}
16559
15162
  */
16560
- async getGetProduct(sku: string, quantity?: number, licenceKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
16561
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProduct(sku, quantity, licenceKey, options);
15163
+ async getGetLegacyStockList(format: GetGetLegacyStockListFormatEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
15164
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetLegacyStockList(format, options);
16562
15165
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16563
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetProduct']?.[localVarOperationServerIndex]?.url;
15166
+ const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetLegacyStockList']?.[localVarOperationServerIndex]?.url;
16564
15167
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16565
15168
  },
16566
15169
  /**
16567
15170
  * Get Products
16568
15171
  * @summary Get Products
15172
+ * @param {number} [pageSize] Number Of Results
15173
+ * @param {number} [page] Page Number
15174
+ * @param {string} [search] Search
16569
15175
  * @param {*} [options] Override http request option.
16570
15176
  * @throws {RequiredError}
16571
15177
  */
16572
- async getGetProducts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BasicProductDTO>>> {
16573
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(options);
15178
+ async getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
15179
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(pageSize, page, search, options);
16574
15180
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16575
15181
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetProducts']?.[localVarOperationServerIndex]?.url;
16576
15182
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -16599,21 +15205,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
16599
15205
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetTcxTemplates']?.[localVarOperationServerIndex]?.url;
16600
15206
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16601
15207
  },
16602
- /**
16603
- * Search Products
16604
- * @summary Search Products
16605
- * @param {number} [pageSize] Number Of Results
16606
- * @param {number} [page] Page Number
16607
- * @param {string} [search] Search
16608
- * @param {*} [options] Override http request option.
16609
- * @throws {RequiredError}
16610
- */
16611
- async getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
16612
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSearchProducts(pageSize, page, search, options);
16613
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16614
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.getSearchProducts']?.[localVarOperationServerIndex]?.url;
16615
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16616
- },
16617
15208
  }
16618
15209
  };
16619
15210
 
@@ -16633,6 +15224,15 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
16633
15224
  getGetAttributeSets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeSetEnum>> {
16634
15225
  return localVarFp.getGetAttributeSets(options).then((request) => request(axios, basePath));
16635
15226
  },
15227
+ /**
15228
+ * Get Customer Price Lists
15229
+ * @summary Get Customer Price Lists
15230
+ * @param {*} [options] Override http request option.
15231
+ * @throws {RequiredError}
15232
+ */
15233
+ getGetCustomerPriceLists(options?: RawAxiosRequestConfig): AxiosPromise<Array<CustomerPriceListEnum>> {
15234
+ return localVarFp.getGetCustomerPriceLists(options).then((request) => request(axios, basePath));
15235
+ },
16636
15236
  /**
16637
15237
  * Get Current Stock & Pricing
16638
15238
  * @summary Get Current Stock & Pricing
@@ -16644,26 +15244,17 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
16644
15244
  getGetLegacyStockList(format: GetGetLegacyStockListFormatEnum, options?: RawAxiosRequestConfig): AxiosPromise<string> {
16645
15245
  return localVarFp.getGetLegacyStockList(format, options).then((request) => request(axios, basePath));
16646
15246
  },
16647
- /**
16648
- * Get Product
16649
- * @summary Get Product
16650
- * @param {string} sku Product SKU
16651
- * @param {number} [quantity] Quantity
16652
- * @param {string} [licenceKey] 3CX Licence Key
16653
- * @param {*} [options] Override http request option.
16654
- * @throws {RequiredError}
16655
- */
16656
- getGetProduct(sku: string, quantity?: number, licenceKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
16657
- return localVarFp.getGetProduct(sku, quantity, licenceKey, options).then((request) => request(axios, basePath));
16658
- },
16659
15247
  /**
16660
15248
  * Get Products
16661
15249
  * @summary Get Products
15250
+ * @param {number} [pageSize] Number Of Results
15251
+ * @param {number} [page] Page Number
15252
+ * @param {string} [search] Search
16662
15253
  * @param {*} [options] Override http request option.
16663
15254
  * @throws {RequiredError}
16664
15255
  */
16665
- getGetProducts(options?: RawAxiosRequestConfig): AxiosPromise<Array<BasicProductDTO>> {
16666
- return localVarFp.getGetProducts(options).then((request) => request(axios, basePath));
15256
+ getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
15257
+ return localVarFp.getGetProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
16667
15258
  },
16668
15259
  /**
16669
15260
  * Get Current Stock & Pricing
@@ -16683,18 +15274,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
16683
15274
  getGetTcxTemplates(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxTemplateXmlEnum>> {
16684
15275
  return localVarFp.getGetTcxTemplates(options).then((request) => request(axios, basePath));
16685
15276
  },
16686
- /**
16687
- * Search Products
16688
- * @summary Search Products
16689
- * @param {number} [pageSize] Number Of Results
16690
- * @param {number} [page] Page Number
16691
- * @param {string} [search] Search
16692
- * @param {*} [options] Override http request option.
16693
- * @throws {RequiredError}
16694
- */
16695
- getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
16696
- return localVarFp.getSearchProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
16697
- },
16698
15277
  };
16699
15278
  };
16700
15279
 
@@ -16717,41 +15296,41 @@ export class ProductsApi extends BaseAPI {
16717
15296
  }
16718
15297
 
16719
15298
  /**
16720
- * Get Current Stock & Pricing
16721
- * @summary Get Current Stock & Pricing
16722
- * @param {GetGetLegacyStockListFormatEnum} format File Format
15299
+ * Get Customer Price Lists
15300
+ * @summary Get Customer Price Lists
16723
15301
  * @param {*} [options] Override http request option.
16724
- * @deprecated
16725
15302
  * @throws {RequiredError}
16726
15303
  * @memberof ProductsApi
16727
15304
  */
16728
- public getGetLegacyStockList(format: GetGetLegacyStockListFormatEnum, options?: RawAxiosRequestConfig) {
16729
- return ProductsApiFp(this.configuration).getGetLegacyStockList(format, options).then((request) => request(this.axios, this.basePath));
15305
+ public getGetCustomerPriceLists(options?: RawAxiosRequestConfig) {
15306
+ return ProductsApiFp(this.configuration).getGetCustomerPriceLists(options).then((request) => request(this.axios, this.basePath));
16730
15307
  }
16731
15308
 
16732
15309
  /**
16733
- * Get Product
16734
- * @summary Get Product
16735
- * @param {string} sku Product SKU
16736
- * @param {number} [quantity] Quantity
16737
- * @param {string} [licenceKey] 3CX Licence Key
15310
+ * Get Current Stock & Pricing
15311
+ * @summary Get Current Stock & Pricing
15312
+ * @param {GetGetLegacyStockListFormatEnum} format File Format
16738
15313
  * @param {*} [options] Override http request option.
15314
+ * @deprecated
16739
15315
  * @throws {RequiredError}
16740
15316
  * @memberof ProductsApi
16741
15317
  */
16742
- public getGetProduct(sku: string, quantity?: number, licenceKey?: string, options?: RawAxiosRequestConfig) {
16743
- return ProductsApiFp(this.configuration).getGetProduct(sku, quantity, licenceKey, options).then((request) => request(this.axios, this.basePath));
15318
+ public getGetLegacyStockList(format: GetGetLegacyStockListFormatEnum, options?: RawAxiosRequestConfig) {
15319
+ return ProductsApiFp(this.configuration).getGetLegacyStockList(format, options).then((request) => request(this.axios, this.basePath));
16744
15320
  }
16745
15321
 
16746
15322
  /**
16747
15323
  * Get Products
16748
15324
  * @summary Get Products
15325
+ * @param {number} [pageSize] Number Of Results
15326
+ * @param {number} [page] Page Number
15327
+ * @param {string} [search] Search
16749
15328
  * @param {*} [options] Override http request option.
16750
15329
  * @throws {RequiredError}
16751
15330
  * @memberof ProductsApi
16752
15331
  */
16753
- public getGetProducts(options?: RawAxiosRequestConfig) {
16754
- return ProductsApiFp(this.configuration).getGetProducts(options).then((request) => request(this.axios, this.basePath));
15332
+ public getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
15333
+ return ProductsApiFp(this.configuration).getGetProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
16755
15334
  }
16756
15335
 
16757
15336
  /**
@@ -16775,20 +15354,6 @@ export class ProductsApi extends BaseAPI {
16775
15354
  public getGetTcxTemplates(options?: RawAxiosRequestConfig) {
16776
15355
  return ProductsApiFp(this.configuration).getGetTcxTemplates(options).then((request) => request(this.axios, this.basePath));
16777
15356
  }
16778
-
16779
- /**
16780
- * Search Products
16781
- * @summary Search Products
16782
- * @param {number} [pageSize] Number Of Results
16783
- * @param {number} [page] Page Number
16784
- * @param {string} [search] Search
16785
- * @param {*} [options] Override http request option.
16786
- * @throws {RequiredError}
16787
- * @memberof ProductsApi
16788
- */
16789
- public getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
16790
- return ProductsApiFp(this.configuration).getSearchProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
16791
- }
16792
15357
  }
16793
15358
 
16794
15359
  /**
@@ -17129,7 +15694,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
17129
15694
  * @param {*} [options] Override http request option.
17130
15695
  * @throws {RequiredError}
17131
15696
  */
17132
- async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningModel>>> {
15697
+ async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningEntity>>> {
17133
15698
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetGroups(id, options);
17134
15699
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17135
15700
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getGetGroups']?.[localVarOperationServerIndex]?.url;
@@ -17142,7 +15707,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
17142
15707
  * @param {*} [options] Override http request option.
17143
15708
  * @throws {RequiredError}
17144
15709
  */
17145
- async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningModel>> {
15710
+ async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningEntity>> {
17146
15711
  const localVarAxiosArgs = await localVarAxiosParamCreator.postAddFanvilGroup(provisioningRequestEntity, options);
17147
15712
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17148
15713
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilGroup']?.[localVarOperationServerIndex]?.url;
@@ -17221,7 +15786,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
17221
15786
  * @param {*} [options] Override http request option.
17222
15787
  * @throws {RequiredError}
17223
15788
  */
17224
- getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningModel>> {
15789
+ getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningEntity>> {
17225
15790
  return localVarFp.getGetGroups(id, options).then((request) => request(axios, basePath));
17226
15791
  },
17227
15792
  /**
@@ -17231,7 +15796,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
17231
15796
  * @param {*} [options] Override http request option.
17232
15797
  * @throws {RequiredError}
17233
15798
  */
17234
- postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningModel> {
15799
+ postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningEntity> {
17235
15800
  return localVarFp.postAddFanvilGroup(provisioningRequestEntity, options).then((request) => request(axios, basePath));
17236
15801
  },
17237
15802
  /**
@@ -19132,114 +17697,6 @@ export class SMSApi extends BaseAPI {
19132
17697
 
19133
17698
 
19134
17699
 
19135
- /**
19136
- * ShippingApi - axios parameter creator
19137
- * @export
19138
- */
19139
- export const ShippingApiAxiosParamCreator = function (configuration?: Configuration) {
19140
- return {
19141
- /**
19142
- * Get Shipping Services
19143
- * @summary Get Shipping Services
19144
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
19145
- * @param {*} [options] Override http request option.
19146
- * @throws {RequiredError}
19147
- */
19148
- postGetShippingServices: async (shippingInformationDTO?: ShippingInformationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19149
- const localVarPath = `/shipping/services`;
19150
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
19151
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19152
- let baseOptions;
19153
- if (configuration) {
19154
- baseOptions = configuration.baseOptions;
19155
- }
19156
-
19157
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
19158
- const localVarHeaderParameter = {} as any;
19159
- const localVarQueryParameter = {} as any;
19160
-
19161
-
19162
-
19163
- localVarHeaderParameter['Content-Type'] = 'application/json';
19164
-
19165
- setSearchParams(localVarUrlObj, localVarQueryParameter);
19166
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19167
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19168
- localVarRequestOptions.data = serializeDataIfNeeded(shippingInformationDTO, localVarRequestOptions, configuration)
19169
-
19170
- return {
19171
- url: toPathString(localVarUrlObj),
19172
- options: localVarRequestOptions,
19173
- };
19174
- },
19175
- }
19176
- };
19177
-
19178
- /**
19179
- * ShippingApi - functional programming interface
19180
- * @export
19181
- */
19182
- export const ShippingApiFp = function(configuration?: Configuration) {
19183
- const localVarAxiosParamCreator = ShippingApiAxiosParamCreator(configuration)
19184
- return {
19185
- /**
19186
- * Get Shipping Services
19187
- * @summary Get Shipping Services
19188
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
19189
- * @param {*} [options] Override http request option.
19190
- * @throws {RequiredError}
19191
- */
19192
- async postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingServicesModel>> {
19193
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetShippingServices(shippingInformationDTO, options);
19194
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19195
- const localVarOperationServerBasePath = operationServerMap['ShippingApi.postGetShippingServices']?.[localVarOperationServerIndex]?.url;
19196
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19197
- },
19198
- }
19199
- };
19200
-
19201
- /**
19202
- * ShippingApi - factory interface
19203
- * @export
19204
- */
19205
- export const ShippingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
19206
- const localVarFp = ShippingApiFp(configuration)
19207
- return {
19208
- /**
19209
- * Get Shipping Services
19210
- * @summary Get Shipping Services
19211
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
19212
- * @param {*} [options] Override http request option.
19213
- * @throws {RequiredError}
19214
- */
19215
- postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShippingServicesModel> {
19216
- return localVarFp.postGetShippingServices(shippingInformationDTO, options).then((request) => request(axios, basePath));
19217
- },
19218
- };
19219
- };
19220
-
19221
- /**
19222
- * ShippingApi - object-oriented interface
19223
- * @export
19224
- * @class ShippingApi
19225
- * @extends {BaseAPI}
19226
- */
19227
- export class ShippingApi extends BaseAPI {
19228
- /**
19229
- * Get Shipping Services
19230
- * @summary Get Shipping Services
19231
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
19232
- * @param {*} [options] Override http request option.
19233
- * @throws {RequiredError}
19234
- * @memberof ShippingApi
19235
- */
19236
- public postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig) {
19237
- return ShippingApiFp(this.configuration).postGetShippingServices(shippingInformationDTO, options).then((request) => request(this.axios, this.basePath));
19238
- }
19239
- }
19240
-
19241
-
19242
-
19243
17700
  /**
19244
17701
  * StockManagementApi - axios parameter creator
19245
17702
  * @export
@@ -20326,7 +18783,7 @@ export const StockManagementApiFp = function(configuration?: Configuration) {
20326
18783
  * @param {*} [options] Override http request option.
20327
18784
  * @throws {RequiredError}
20328
18785
  */
20329
- async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryDTO>>> {
18786
+ async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryModel>>> {
20330
18787
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockSupplierProducts(id, options);
20331
18788
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20332
18789
  const localVarOperationServerBasePath = operationServerMap['StockManagementApi.getGetStockSupplierProducts']?.[localVarOperationServerIndex]?.url;
@@ -20629,7 +19086,7 @@ export const StockManagementApiFactory = function (configuration?: Configuration
20629
19086
  * @param {*} [options] Override http request option.
20630
19087
  * @throws {RequiredError}
20631
19088
  */
20632
- getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryDTO>> {
19089
+ getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryModel>> {
20633
19090
  return localVarFp.getGetStockSupplierProducts(id, options).then((request) => request(axios, basePath));
20634
19091
  },
20635
19092
  /**