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

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 (56) hide show
  1. package/.openapi-generator/FILES +190 -209
  2. package/README.md +7 -35
  3. package/api.ts +272 -1836
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/config.json +3 -3
  7. package/configuration.ts +1 -1
  8. package/dist/api.d.ts +156 -1342
  9. package/dist/api.js +208 -1060
  10. package/dist/base.d.ts +1 -1
  11. package/dist/base.js +1 -1
  12. package/dist/common.d.ts +1 -1
  13. package/dist/common.js +1 -1
  14. package/dist/configuration.d.ts +1 -1
  15. package/dist/configuration.js +1 -1
  16. package/dist/index.d.ts +1 -1
  17. package/dist/index.js +1 -1
  18. package/docs/AccountsApi.md +0 -103
  19. package/docs/Class3CXApi.md +55 -0
  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 +43 -164
  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/TcxBackupModel.md +2 -0
  34. package/docs/TcxSbcModel.md +1 -1
  35. package/index.ts +1 -1
  36. package/package.json +1 -1
  37. package/docs/AbstractOrderRequestDTO.md +0 -33
  38. package/docs/AccountDetailedSummaryDTO.md +0 -39
  39. package/docs/AdminItemRequestDTO.md +0 -37
  40. package/docs/AdminOrderRequestDTO.md +0 -45
  41. package/docs/AdminUserModel.md +0 -31
  42. package/docs/BasicItemDTO.md +0 -23
  43. package/docs/BasicProductDTO.md +0 -23
  44. package/docs/CourierPriceEntity.md +0 -39
  45. package/docs/CustomerItemRequestDTO.md +0 -33
  46. package/docs/CustomerOrderRequestDTO.md +0 -33
  47. package/docs/LinkedOrderEntity.md +0 -23
  48. package/docs/NavigationItemModel.md +0 -27
  49. package/docs/PostGetProductForCustomerRequest.md +0 -24
  50. package/docs/ShippingApi.md +0 -63
  51. package/docs/ShippingConsignmentModel.md +0 -26
  52. package/docs/ShippingInformationDTO.md +0 -25
  53. package/docs/ShippingServiceDTO.md +0 -23
  54. package/docs/ShippingServiceModel.md +0 -31
  55. package/docs/SubNavigationItemModel.md +0 -25
  56. package/docs/TcxSbcDTO.md +0 -31
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,73 +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
- * On Hold
362
- * @type {boolean}
363
- * @memberof AccountDetailedSummaryDTO
364
- */
365
- 'onHold'?: boolean;
366
- /**
367
- * Balance (£)
368
- * @type {number}
369
- * @memberof AccountDetailedSummaryDTO
370
- */
371
- 'balance'?: number | null;
372
- }
373
257
  /**
374
258
  * New Account Request
375
259
  * @export
@@ -651,206 +535,6 @@ export interface AddressRequestModel {
651
535
  */
652
536
  'addressPostcode'?: string;
653
537
  }
654
- /**
655
- * Admin Order Item Request
656
- * @export
657
- * @interface AdminItemRequestDTO
658
- */
659
- export interface AdminItemRequestDTO {
660
- /**
661
- * SKU
662
- * @type {string}
663
- * @memberof AdminItemRequestDTO
664
- */
665
- 'sku'?: string;
666
- /**
667
- * Quantity
668
- * @type {number}
669
- * @memberof AdminItemRequestDTO
670
- */
671
- 'quantity'?: number;
672
- /**
673
- * ID
674
- * @type {number}
675
- * @memberof AdminItemRequestDTO
676
- */
677
- 'id'?: number | null;
678
- /**
679
- * 3CX Licence Key
680
- * @type {string}
681
- * @memberof AdminItemRequestDTO
682
- */
683
- 'licenceKey'?: string | null;
684
- /**
685
- * 3CX Hosting
686
- * @type {boolean}
687
- * @memberof AdminItemRequestDTO
688
- */
689
- 'hosting'?: boolean | null;
690
- /**
691
- * Date Time
692
- * @type {string}
693
- * @memberof AdminItemRequestDTO
694
- */
695
- 'processDate'?: string;
696
- /**
697
- * SBCS
698
- * @type {Array<TcxSbcDTO>}
699
- * @memberof AdminItemRequestDTO
700
- */
701
- 'sbcs'?: Array<TcxSbcDTO>;
702
- /**
703
- * Title
704
- * @type {string}
705
- * @memberof AdminItemRequestDTO
706
- */
707
- 'title'?: string | null;
708
- /**
709
- * Price (£)
710
- * @type {number}
711
- * @memberof AdminItemRequestDTO
712
- */
713
- 'itemPrice'?: number | null;
714
- }
715
- /**
716
- * Admin Order Request
717
- * @export
718
- * @interface AdminOrderRequestDTO
719
- */
720
- export interface AdminOrderRequestDTO {
721
- /**
722
- * Order Reference
723
- * @type {string}
724
- * @memberof AdminOrderRequestDTO
725
- */
726
- 'orderReference'?: string;
727
- /**
728
- * Items
729
- * @type {Array<AdminItemRequestDTO>}
730
- * @memberof AdminOrderRequestDTO
731
- */
732
- 'items'?: Array<AdminItemRequestDTO>;
733
- /**
734
- *
735
- * @type {ShippingServiceDTO}
736
- * @memberof AdminOrderRequestDTO
737
- */
738
- 'shippingService'?: ShippingServiceDTO;
739
- /**
740
- * Provisioning URL
741
- * @type {string}
742
- * @memberof AdminOrderRequestDTO
743
- */
744
- 'provisioningUrl'?: string | null;
745
- /**
746
- *
747
- * @type {AddressModel}
748
- * @memberof AdminOrderRequestDTO
749
- */
750
- 'shippingAddress'?: AddressModel;
751
- /**
752
- * Part Ship Order
753
- * @type {boolean}
754
- * @memberof AdminOrderRequestDTO
755
- */
756
- 'partShip'?: boolean;
757
- /**
758
- * Quote
759
- * @type {boolean}
760
- * @memberof AdminOrderRequestDTO
761
- */
762
- 'quote'?: boolean;
763
- /**
764
- * Customer ID
765
- * @type {number}
766
- * @memberof AdminOrderRequestDTO
767
- */
768
- 'customerId'?: number;
769
- /**
770
- * Contact
771
- * @type {string}
772
- * @memberof AdminOrderRequestDTO
773
- */
774
- 'contact'?: string;
775
- /**
776
- * Ignore Customer On Hold
777
- * @type {boolean}
778
- * @memberof AdminOrderRequestDTO
779
- */
780
- 'ignoreOnHold'?: boolean;
781
- /**
782
- * Ignore Customer Credit Limit
783
- * @type {boolean}
784
- * @memberof AdminOrderRequestDTO
785
- */
786
- 'ignoreCreditLimit'?: boolean;
787
- /**
788
- * Include NFR Promos
789
- * @type {boolean}
790
- * @memberof AdminOrderRequestDTO
791
- */
792
- 'includeNfrPromos'?: boolean;
793
- /**
794
- * Carriage Charge
795
- * @type {number}
796
- * @memberof AdminOrderRequestDTO
797
- */
798
- 'carriageCharge'?: number;
799
- }
800
- /**
801
- * Admin User
802
- * @export
803
- * @interface AdminUserModel
804
- */
805
- export interface AdminUserModel {
806
- /**
807
- * First Name
808
- * @type {string}
809
- * @memberof AdminUserModel
810
- */
811
- 'firstName'?: string;
812
- /**
813
- * Last Name
814
- * @type {string}
815
- * @memberof AdminUserModel
816
- */
817
- 'lastName'?: string;
818
- /**
819
- * Avatar
820
- * @type {string}
821
- * @memberof AdminUserModel
822
- */
823
- 'avatar'?: string | null;
824
- /**
825
- * Role
826
- * @type {number}
827
- * @memberof AdminUserModel
828
- */
829
- 'role'?: AdminUserModelRoleEnum;
830
- /**
831
- * Navigation
832
- * @type {Array<NavigationItemModel>}
833
- * @memberof AdminUserModel
834
- */
835
- 'navigation'?: Array<NavigationItemModel>;
836
- /**
837
- * Email
838
- * @type {string}
839
- * @memberof AdminUserModel
840
- */
841
- 'email'?: string | null;
842
- }
843
-
844
- export const AdminUserModelRoleEnum = {
845
- NUMBER_0: 0,
846
- NUMBER_1: 1,
847
- NUMBER_2: 2,
848
- NUMBER_3: 3,
849
- NUMBER_4: 4
850
- } as const;
851
-
852
- export type AdminUserModelRoleEnum = typeof AdminUserModelRoleEnum[keyof typeof AdminUserModelRoleEnum];
853
-
854
538
  /**
855
539
  * Agent Hours Graph
856
540
  * @export
@@ -1080,44 +764,6 @@ export interface AuthCodeResponseModel {
1080
764
  */
1081
765
  'redirect_uri'?: string | null;
1082
766
  }
1083
- /**
1084
- * Basic Order Item
1085
- * @export
1086
- * @interface BasicItemDTO
1087
- */
1088
- export interface BasicItemDTO {
1089
- /**
1090
- * SKU
1091
- * @type {string}
1092
- * @memberof BasicItemDTO
1093
- */
1094
- 'sku'?: string;
1095
- /**
1096
- * Quantity
1097
- * @type {number}
1098
- * @memberof BasicItemDTO
1099
- */
1100
- 'quantity'?: number;
1101
- }
1102
- /**
1103
- * Basic Product
1104
- * @export
1105
- * @interface BasicProductDTO
1106
- */
1107
- export interface BasicProductDTO {
1108
- /**
1109
- * SKU
1110
- * @type {string}
1111
- * @memberof BasicProductDTO
1112
- */
1113
- 'sku'?: string;
1114
- /**
1115
- * Title
1116
- * @type {string}
1117
- * @memberof BasicProductDTO
1118
- */
1119
- 'title'?: string;
1120
- }
1121
767
  /**
1122
768
  * BatchesEntity
1123
769
  * @export
@@ -1312,6 +958,12 @@ export interface ClientDetailsModel {
1312
958
  * @memberof ClientDetailsModel
1313
959
  */
1314
960
  'lastName'?: string;
961
+ /**
962
+ * User Profile Picture
963
+ * @type {string}
964
+ * @memberof ClientDetailsModel
965
+ */
966
+ 'image'?: string | null;
1315
967
  }
1316
968
  /**
1317
969
  * OAuth client details
@@ -1474,112 +1126,45 @@ export interface ConversationModel {
1474
1126
  'attachments'?: Array<AttachmentModel>;
1475
1127
  }
1476
1128
  /**
1477
- * CourierPricesEntity
1129
+ * Credit Account
1478
1130
  * @export
1479
- * @interface CourierPriceEntity
1131
+ * @interface CreditAccountEntity
1480
1132
  */
1481
- export interface CourierPriceEntity {
1133
+ export interface CreditAccountEntity {
1482
1134
  /**
1483
- * id
1135
+ * ID
1484
1136
  * @type {number}
1485
- * @memberof CourierPriceEntity
1137
+ * @memberof CreditAccountEntity
1486
1138
  */
1487
1139
  'id'?: number;
1488
1140
  /**
1489
- * courier
1141
+ * Contact Name
1490
1142
  * @type {string}
1491
- * @memberof CourierPriceEntity
1143
+ * @memberof CreditAccountEntity
1492
1144
  */
1493
- 'courier'?: string;
1145
+ 'name'?: string;
1494
1146
  /**
1495
- * destinationIso
1147
+ * Email
1496
1148
  * @type {string}
1497
- * @memberof CourierPriceEntity
1149
+ * @memberof CreditAccountEntity
1498
1150
  */
1499
- 'destinationIso'?: string;
1151
+ 'email'?: string;
1500
1152
  /**
1501
- * serviceDescription
1153
+ * Phone Number
1502
1154
  * @type {string}
1503
- * @memberof CourierPriceEntity
1155
+ * @memberof CreditAccountEntity
1504
1156
  */
1505
- 'serviceDescription'?: string;
1157
+ 'phone'?: string;
1506
1158
  /**
1507
- * flatRate
1508
- * @type {number}
1509
- * @memberof CourierPriceEntity
1159
+ * Company Name
1160
+ * @type {string}
1161
+ * @memberof CreditAccountEntity
1510
1162
  */
1511
- 'flatRate'?: number;
1163
+ 'company'?: string;
1512
1164
  /**
1513
- * initialBox
1514
- * @type {number}
1515
- * @memberof CourierPriceEntity
1516
- */
1517
- 'initialBox'?: number;
1518
- /**
1519
- * initialKg
1520
- * @type {number}
1521
- * @memberof CourierPriceEntity
1522
- */
1523
- 'initialKg'?: number;
1524
- /**
1525
- * perBox
1526
- * @type {number}
1527
- * @memberof CourierPriceEntity
1528
- */
1529
- 'perBox'?: number;
1530
- /**
1531
- * perKg
1532
- * @type {number}
1533
- * @memberof CourierPriceEntity
1534
- */
1535
- 'perKg'?: number;
1536
- /**
1537
- * maxKg
1538
- * @type {number}
1539
- * @memberof CourierPriceEntity
1540
- */
1541
- 'maxKg'?: number;
1542
- }
1543
- /**
1544
- * Credit Account
1545
- * @export
1546
- * @interface CreditAccountEntity
1547
- */
1548
- export interface CreditAccountEntity {
1549
- /**
1550
- * ID
1551
- * @type {number}
1552
- * @memberof CreditAccountEntity
1553
- */
1554
- 'id'?: number;
1555
- /**
1556
- * Contact Name
1557
- * @type {string}
1558
- * @memberof CreditAccountEntity
1559
- */
1560
- 'name'?: string;
1561
- /**
1562
- * Email
1563
- * @type {string}
1564
- * @memberof CreditAccountEntity
1565
- */
1566
- 'email'?: string;
1567
- /**
1568
- * Phone Number
1569
- * @type {string}
1570
- * @memberof CreditAccountEntity
1571
- */
1572
- 'phone'?: string;
1573
- /**
1574
- * Company Name
1575
- * @type {string}
1576
- * @memberof CreditAccountEntity
1577
- */
1578
- 'company'?: string;
1579
- /**
1580
- * Company Registration Number
1581
- * @type {string}
1582
- * @memberof CreditAccountEntity
1165
+ * Company Registration Number
1166
+ * @type {string}
1167
+ * @memberof CreditAccountEntity
1583
1168
  */
1584
1169
  'companyNumber'?: string;
1585
1170
  /**
@@ -1722,104 +1307,6 @@ export interface CustomerInformationModel {
1722
1307
  */
1723
1308
  'contactLastName'?: string;
1724
1309
  }
1725
- /**
1726
- * Order Item Request
1727
- * @export
1728
- * @interface CustomerItemRequestDTO
1729
- */
1730
- export interface CustomerItemRequestDTO {
1731
- /**
1732
- * SKU
1733
- * @type {string}
1734
- * @memberof CustomerItemRequestDTO
1735
- */
1736
- 'sku'?: string;
1737
- /**
1738
- * Quantity
1739
- * @type {number}
1740
- * @memberof CustomerItemRequestDTO
1741
- */
1742
- 'quantity'?: number;
1743
- /**
1744
- * ID
1745
- * @type {number}
1746
- * @memberof CustomerItemRequestDTO
1747
- */
1748
- 'id'?: number | null;
1749
- /**
1750
- * 3CX Licence Key
1751
- * @type {string}
1752
- * @memberof CustomerItemRequestDTO
1753
- */
1754
- 'licenceKey'?: string | null;
1755
- /**
1756
- * 3CX Hosting
1757
- * @type {boolean}
1758
- * @memberof CustomerItemRequestDTO
1759
- */
1760
- 'hosting'?: boolean | null;
1761
- /**
1762
- * Date Time
1763
- * @type {string}
1764
- * @memberof CustomerItemRequestDTO
1765
- */
1766
- 'processDate'?: string;
1767
- /**
1768
- * SBCS
1769
- * @type {Array<TcxSbcDTO>}
1770
- * @memberof CustomerItemRequestDTO
1771
- */
1772
- 'sbcs'?: Array<TcxSbcDTO>;
1773
- }
1774
- /**
1775
- * Order Request
1776
- * @export
1777
- * @interface CustomerOrderRequestDTO
1778
- */
1779
- export interface CustomerOrderRequestDTO {
1780
- /**
1781
- * Order Reference
1782
- * @type {string}
1783
- * @memberof CustomerOrderRequestDTO
1784
- */
1785
- 'orderReference'?: string;
1786
- /**
1787
- * Items
1788
- * @type {Array<CustomerItemRequestDTO>}
1789
- * @memberof CustomerOrderRequestDTO
1790
- */
1791
- 'items'?: Array<CustomerItemRequestDTO>;
1792
- /**
1793
- *
1794
- * @type {ShippingServiceDTO}
1795
- * @memberof CustomerOrderRequestDTO
1796
- */
1797
- 'shippingService'?: ShippingServiceDTO;
1798
- /**
1799
- * Provisioning URL
1800
- * @type {string}
1801
- * @memberof CustomerOrderRequestDTO
1802
- */
1803
- 'provisioningUrl'?: string | null;
1804
- /**
1805
- *
1806
- * @type {AddressModel}
1807
- * @memberof CustomerOrderRequestDTO
1808
- */
1809
- 'shippingAddress'?: AddressModel;
1810
- /**
1811
- * Part Ship Order
1812
- * @type {boolean}
1813
- * @memberof CustomerOrderRequestDTO
1814
- */
1815
- 'partShip'?: boolean;
1816
- /**
1817
- * Quote
1818
- * @type {boolean}
1819
- * @memberof CustomerOrderRequestDTO
1820
- */
1821
- 'quote'?: boolean;
1822
- }
1823
1310
  /**
1824
1311
  * Customer Price List
1825
1312
  * @export
@@ -2329,6 +1816,19 @@ export interface GenericFileModel {
2329
1816
  */
2330
1817
  'type'?: string;
2331
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
+ }
2332
1832
  /**
2333
1833
  *
2334
1834
  * @export
@@ -2889,36 +2389,36 @@ export interface InstanceUserCredentialsEntity {
2889
2389
  * @interface ItemDTO
2890
2390
  */
2891
2391
  export interface ItemDTO {
2892
- /**
2893
- * SKU
2894
- * @type {string}
2895
- * @memberof ItemDTO
2896
- */
2897
- 'sku'?: string;
2898
- /**
2899
- * Quantity
2900
- * @type {number}
2901
- * @memberof ItemDTO
2902
- */
2903
- 'quantity'?: number;
2904
2392
  /**
2905
2393
  * ID
2906
2394
  * @type {number}
2907
2395
  * @memberof ItemDTO
2908
2396
  */
2909
- 'id'?: number | null;
2397
+ 'id'?: number;
2910
2398
  /**
2911
2399
  * Order ID
2912
2400
  * @type {number}
2913
2401
  * @memberof ItemDTO
2914
2402
  */
2915
- 'orderId'?: number | null;
2403
+ 'orderId'?: number;
2916
2404
  /**
2917
2405
  * Title
2918
2406
  * @type {string}
2919
2407
  * @memberof ItemDTO
2920
2408
  */
2921
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;
2922
2422
  /**
2923
2423
  * Price
2924
2424
  * @type {number}
@@ -2943,12 +2443,6 @@ export interface ItemDTO {
2943
2443
  * @memberof ItemDTO
2944
2444
  */
2945
2445
  'processDate'?: string;
2946
- /**
2947
- * 3CX Hosting
2948
- * @type {boolean}
2949
- * @memberof ItemDTO
2950
- */
2951
- 'hosting'?: boolean | null;
2952
2446
  /**
2953
2447
  * Promo Item
2954
2448
  * @type {boolean}
@@ -2960,19 +2454,7 @@ export interface ItemDTO {
2960
2454
  * @type {number}
2961
2455
  * @memberof ItemDTO
2962
2456
  */
2963
- 'refunded'?: number | null;
2964
- /**
2965
- * SBCs
2966
- * @type {Array<TcxSbcDTO>}
2967
- * @memberof ItemDTO
2968
- */
2969
- 'sbcs'?: Array<TcxSbcDTO> | null;
2970
- /**
2971
- * Readonly
2972
- * @type {boolean}
2973
- * @memberof ItemDTO
2974
- */
2975
- 'readonly'?: boolean;
2457
+ 'refunded'?: number;
2976
2458
  }
2977
2459
  /**
2978
2460
  * ItemsEntity
@@ -3107,25 +2589,6 @@ export interface ItemEntity {
3107
2589
  */
3108
2590
  'promoItem'?: number;
3109
2591
  }
3110
- /**
3111
- * LinkedOrdersEntity
3112
- * @export
3113
- * @interface LinkedOrderEntity
3114
- */
3115
- export interface LinkedOrderEntity {
3116
- /**
3117
- * orderId
3118
- * @type {number}
3119
- * @memberof LinkedOrderEntity
3120
- */
3121
- 'orderId'?: number;
3122
- /**
3123
- * linkedOrderId
3124
- * @type {number}
3125
- * @memberof LinkedOrderEntity
3126
- */
3127
- 'linkedOrderId'?: number;
3128
- }
3129
2592
  /**
3130
2593
  * MFA Required
3131
2594
  * @export
@@ -3215,37 +2678,6 @@ export const MultiTenantChangeResponseModelTypeEnum = {
3215
2678
 
3216
2679
  export type MultiTenantChangeResponseModelTypeEnum = typeof MultiTenantChangeResponseModelTypeEnum[keyof typeof MultiTenantChangeResponseModelTypeEnum];
3217
2680
 
3218
- /**
3219
- * POPS Navigation Item
3220
- * @export
3221
- * @interface NavigationItemModel
3222
- */
3223
- export interface NavigationItemModel {
3224
- /**
3225
- * Title
3226
- * @type {string}
3227
- * @memberof NavigationItemModel
3228
- */
3229
- 'title'?: string;
3230
- /**
3231
- * URL
3232
- * @type {string}
3233
- * @memberof NavigationItemModel
3234
- */
3235
- 'url'?: string | null;
3236
- /**
3237
- * Icon (Font Awesome)
3238
- * @type {string}
3239
- * @memberof NavigationItemModel
3240
- */
3241
- 'icon'?: string;
3242
- /**
3243
- * Sub Navigation
3244
- * @type {Array<SubNavigationItemModel>}
3245
- * @memberof NavigationItemModel
3246
- */
3247
- 'items'?: Array<SubNavigationItemModel>;
3248
- }
3249
2681
  /**
3250
2682
  * Navigation Endpoint
3251
2683
  * @export
@@ -3823,12 +3255,6 @@ export interface OrderSummaryDTO {
3823
3255
  * @memberof OrderSummaryDTO
3824
3256
  */
3825
3257
  'invoiceNumber'?: string;
3826
- /**
3827
- * Invoice ID
3828
- * @type {string}
3829
- * @memberof OrderSummaryDTO
3830
- */
3831
- 'invoiceId'?: string | null;
3832
3258
  /**
3833
3259
  * Date Time
3834
3260
  * @type {string}
@@ -3883,24 +3309,6 @@ export interface OrderSummaryDTO {
3883
3309
  * @memberof OrderSummaryDTO
3884
3310
  */
3885
3311
  'fulfillable'?: boolean | null;
3886
- /**
3887
- * Provisioning URL
3888
- * @type {string}
3889
- * @memberof OrderSummaryDTO
3890
- */
3891
- 'provisioningUrl'?: string | null;
3892
- /**
3893
- *
3894
- * @type {ShippingServiceDTO}
3895
- * @memberof OrderSummaryDTO
3896
- */
3897
- 'shippingService'?: ShippingServiceDTO | null;
3898
- /**
3899
- * Readonly
3900
- * @type {boolean}
3901
- * @memberof OrderSummaryDTO
3902
- */
3903
- 'readonly'?: boolean;
3904
3312
  }
3905
3313
  /**
3906
3314
  * Order Totals
@@ -3950,12 +3358,6 @@ export interface OrderTotalModel {
3950
3358
  * @memberof OrderTotalModel
3951
3359
  */
3952
3360
  'currency'?: OrderTotalModelCurrencyEnum;
3953
- /**
3954
- * Delivery
3955
- * @type {number}
3956
- * @memberof OrderTotalModel
3957
- */
3958
- 'delivery'?: number | null;
3959
3361
  }
3960
3362
 
3961
3363
  export const OrderTotalModelCurrencyEnum = {
@@ -4337,31 +3739,6 @@ export interface PostGetClientCredentialsRequest {
4337
3739
  */
4338
3740
  'scopes'?: Array<string>;
4339
3741
  }
4340
- /**
4341
- *
4342
- * @export
4343
- * @interface PostGetProductForCustomerRequest
4344
- */
4345
- export interface PostGetProductForCustomerRequest {
4346
- /**
4347
- * Quantity
4348
- * @type {number}
4349
- * @memberof PostGetProductForCustomerRequest
4350
- */
4351
- 'quantity'?: number | null;
4352
- /**
4353
- * 3CX Licence Key
4354
- * @type {string}
4355
- * @memberof PostGetProductForCustomerRequest
4356
- */
4357
- 'licenceKey'?: string | null;
4358
- /**
4359
- * 3CX Hosting
4360
- * @type {boolean}
4361
- * @memberof PostGetProductForCustomerRequest
4362
- */
4363
- 'hosting'?: boolean | null;
4364
- }
4365
3742
  /**
4366
3743
  * Price & Stock List
4367
3744
  * @export
@@ -4450,10 +3827,10 @@ export interface PrizesEntity {
4450
3827
  export interface ProductSearchResultsModel {
4451
3828
  /**
4452
3829
  * Results
4453
- * @type {Array<ProductSummaryDTO>}
3830
+ * @type {Array<ProductSummaryModel>}
4454
3831
  * @memberof ProductSearchResultsModel
4455
3832
  */
4456
- 'results'?: Array<ProductSummaryDTO>;
3833
+ 'results'?: Array<ProductSummaryModel>;
4457
3834
  }
4458
3835
  /**
4459
3836
  * Product Serial Info
@@ -4489,51 +3866,45 @@ export interface ProductSerialInfoModel {
4489
3866
  /**
4490
3867
  * Product Summary
4491
3868
  * @export
4492
- * @interface ProductSummaryDTO
3869
+ * @interface ProductSummaryModel
4493
3870
  */
4494
- export interface ProductSummaryDTO {
3871
+ export interface ProductSummaryModel {
4495
3872
  /**
4496
3873
  * SKU
4497
3874
  * @type {string}
4498
- * @memberof ProductSummaryDTO
3875
+ * @memberof ProductSummaryModel
4499
3876
  */
4500
3877
  'sku'?: string;
4501
3878
  /**
4502
3879
  * Title
4503
3880
  * @type {string}
4504
- * @memberof ProductSummaryDTO
3881
+ * @memberof ProductSummaryModel
4505
3882
  */
4506
3883
  'title'?: string;
4507
3884
  /**
4508
3885
  * Stock Quantity
4509
3886
  * @type {number}
4510
- * @memberof ProductSummaryDTO
3887
+ * @memberof ProductSummaryModel
4511
3888
  */
4512
3889
  'quantity'?: number | null;
4513
3890
  /**
4514
3891
  * Stock Product
4515
3892
  * @type {boolean}
4516
- * @memberof ProductSummaryDTO
3893
+ * @memberof ProductSummaryModel
4517
3894
  */
4518
3895
  'stockProduct'?: boolean;
4519
3896
  /**
4520
3897
  * Price
4521
3898
  * @type {number}
4522
- * @memberof ProductSummaryDTO
3899
+ * @memberof ProductSummaryModel
4523
3900
  */
4524
3901
  'price'?: number | null;
4525
3902
  /**
4526
3903
  * Carton Size
4527
3904
  * @type {number}
4528
- * @memberof ProductSummaryDTO
3905
+ * @memberof ProductSummaryModel
4529
3906
  */
4530
3907
  'cartonSize'?: number | null;
4531
- /**
4532
- * RRP Price
4533
- * @type {number}
4534
- * @memberof ProductSummaryDTO
4535
- */
4536
- 'rrp'?: number | null;
4537
3908
  }
4538
3909
  /**
4539
3910
  * PromoCodesEntity
@@ -4672,37 +4043,37 @@ export interface PromoItemsEntity {
4672
4043
  /**
4673
4044
  * Provisioning Group
4674
4045
  * @export
4675
- * @interface ProvisioningModel
4046
+ * @interface ProvisioningEntity
4676
4047
  */
4677
- export interface ProvisioningModel {
4048
+ export interface ProvisioningEntity {
4678
4049
  /**
4679
4050
  * Provisioning Group Name
4680
4051
  * @type {string}
4681
- * @memberof ProvisioningModel
4052
+ * @memberof ProvisioningEntity
4682
4053
  */
4683
4054
  'groupName'?: string;
4684
4055
  /**
4685
4056
  * Provisioning URL (Static Provisioning Server)
4686
4057
  * @type {string}
4687
- * @memberof ProvisioningModel
4058
+ * @memberof ProvisioningEntity
4688
4059
  */
4689
4060
  'provisioningUrl'?: string;
4690
4061
  /**
4691
4062
  * Additional Authentication Secret
4692
4063
  * @type {string}
4693
- * @memberof ProvisioningModel
4064
+ * @memberof ProvisioningEntity
4694
4065
  */
4695
4066
  'auth'?: string;
4696
4067
  /**
4697
4068
  * Provisioning Group ID
4698
4069
  * @type {number}
4699
- * @memberof ProvisioningModel
4070
+ * @memberof ProvisioningEntity
4700
4071
  */
4701
4072
  'id'?: number;
4702
4073
  /**
4703
4074
  * Owner ID
4704
4075
  * @type {number}
4705
- * @memberof ProvisioningModel
4076
+ * @memberof ProvisioningEntity
4706
4077
  */
4707
4078
  'customerId'?: number;
4708
4079
  }
@@ -4975,7 +4346,7 @@ export interface ShipmentEntity {
4975
4346
  * @type {string}
4976
4347
  * @memberof ShipmentEntity
4977
4348
  */
4978
- 'dateShipped'?: string;
4349
+ 'date'?: string;
4979
4350
  /**
4980
4351
  * requestDate
4981
4352
  * @type {string}
@@ -5027,178 +4398,29 @@ export interface ShipmentItemEntity {
5027
4398
  'itemId'?: string;
5028
4399
  }
5029
4400
  /**
5030
- *
4401
+ * Change Response
5031
4402
  * @export
5032
- * @interface ShippingConsignmentModel
4403
+ * @interface SipTrunkChangeResponseModel
5033
4404
  */
5034
- export interface ShippingConsignmentModel {
4405
+ export interface SipTrunkChangeResponseModel {
5035
4406
  /**
5036
- *
5037
- * @type {ShippingServiceModel}
5038
- * @memberof ShippingConsignmentModel
4407
+ * ID
4408
+ * @type {string}
4409
+ * @memberof SipTrunkChangeResponseModel
5039
4410
  */
5040
- 'service'?: ShippingServiceModel;
4411
+ 'changeId'?: string;
5041
4412
  /**
5042
- * ID/Number
5043
- * @type {string}
5044
- * @memberof ShippingConsignmentModel
4413
+ *
4414
+ * @type {SipTrunkEntity}
4415
+ * @memberof SipTrunkChangeResponseModel
5045
4416
  */
5046
- 'id'?: string;
4417
+ 'trunk'?: SipTrunkEntity;
5047
4418
  /**
5048
- * Tracking Number
4419
+ * Type
5049
4420
  * @type {string}
5050
- * @memberof ShippingConsignmentModel
4421
+ * @memberof SipTrunkChangeResponseModel
5051
4422
  */
5052
- 'trackingNumber'?: string;
5053
- /**
5054
- * Parcels
5055
- * @type {Array<string>}
5056
- * @memberof ShippingConsignmentModel
5057
- */
5058
- 'parcelIds'?: Array<string>;
5059
- }
5060
- /**
5061
- * Shipping Information
5062
- * @export
5063
- * @interface ShippingInformationDTO
5064
- */
5065
- export interface ShippingInformationDTO {
5066
- /**
5067
- * Items
5068
- * @type {Array<BasicItemDTO>}
5069
- * @memberof ShippingInformationDTO
5070
- */
5071
- 'items'?: Array<BasicItemDTO>;
5072
- /**
5073
- * Destination Post Code
5074
- * @type {string}
5075
- * @memberof ShippingInformationDTO
5076
- */
5077
- 'postalCode'?: string;
5078
- /**
5079
- * Destination ISO
5080
- * @type {string}
5081
- * @memberof ShippingInformationDTO
5082
- */
5083
- 'iso'?: string;
5084
- }
5085
- /**
5086
- * Shipping Service
5087
- * @export
5088
- * @interface ShippingServiceDTO
5089
- */
5090
- export interface ShippingServiceDTO {
5091
- /**
5092
- * Courier
5093
- * @type {string}
5094
- * @memberof ShippingServiceDTO
5095
- */
5096
- 'courier'?: ShippingServiceDTOCourierEnum;
5097
- /**
5098
- * Service Name
5099
- * @type {string}
5100
- * @memberof ShippingServiceDTO
5101
- */
5102
- 'serviceName'?: string;
5103
- }
5104
-
5105
- export const ShippingServiceDTOCourierEnum = {
5106
- Dpd: 'DPD',
5107
- ChorltonPallet: 'Chorlton Pallet',
5108
- Pops: 'POPS'
5109
- } as const;
5110
-
5111
- export type ShippingServiceDTOCourierEnum = typeof ShippingServiceDTOCourierEnum[keyof typeof ShippingServiceDTOCourierEnum];
5112
-
5113
- /**
5114
- * Shipping Service
5115
- * @export
5116
- * @interface ShippingServiceModel
5117
- */
5118
- export interface ShippingServiceModel {
5119
- /**
5120
- * Courier
5121
- * @type {string}
5122
- * @memberof ShippingServiceModel
5123
- */
5124
- 'courier'?: ShippingServiceModelCourierEnum;
5125
- /**
5126
- * Code
5127
- * @type {string}
5128
- * @memberof ShippingServiceModel
5129
- */
5130
- 'code'?: string;
5131
- /**
5132
- * Name
5133
- * @type {string}
5134
- * @memberof ShippingServiceModel
5135
- */
5136
- 'name'?: string;
5137
- /**
5138
- * Description
5139
- * @type {string}
5140
- * @memberof ShippingServiceModel
5141
- */
5142
- 'description'?: string;
5143
- /**
5144
- * Label
5145
- * @type {string}
5146
- * @memberof ShippingServiceModel
5147
- */
5148
- 'label'?: string | null;
5149
- /**
5150
- * Price
5151
- * @type {number}
5152
- * @memberof ShippingServiceModel
5153
- */
5154
- 'price'?: number | null;
5155
- }
5156
-
5157
- export const ShippingServiceModelCourierEnum = {
5158
- Dpd: 'DPD',
5159
- ChorltonPallet: 'Chorlton Pallet',
5160
- Pops: 'POPS'
5161
- } as const;
5162
-
5163
- export type ShippingServiceModelCourierEnum = typeof ShippingServiceModelCourierEnum[keyof typeof ShippingServiceModelCourierEnum];
5164
-
5165
- /**
5166
- *
5167
- * @export
5168
- * @interface ShippingServicesModel
5169
- */
5170
- export interface ShippingServicesModel {
5171
- /**
5172
- * Services
5173
- * @type {Array<ShippingServiceModel>}
5174
- * @memberof ShippingServicesModel
5175
- */
5176
- 'services'?: Array<ShippingServiceModel>;
5177
- }
5178
- /**
5179
- * Change Response
5180
- * @export
5181
- * @interface SipTrunkChangeResponseModel
5182
- */
5183
- export interface SipTrunkChangeResponseModel {
5184
- /**
5185
- * ID
5186
- * @type {string}
5187
- * @memberof SipTrunkChangeResponseModel
5188
- */
5189
- 'changeId'?: string;
5190
- /**
5191
- *
5192
- * @type {SipTrunkEntity}
5193
- * @memberof SipTrunkChangeResponseModel
5194
- */
5195
- 'trunk'?: SipTrunkEntity;
5196
- /**
5197
- * Type
5198
- * @type {string}
5199
- * @memberof SipTrunkChangeResponseModel
5200
- */
5201
- 'type'?: SipTrunkChangeResponseModelTypeEnum;
4423
+ 'type'?: SipTrunkChangeResponseModelTypeEnum;
5202
4424
  /**
5203
4425
  * Progress
5204
4426
  * @type {number}
@@ -6596,31 +5818,6 @@ export interface StockTransactionsEntity {
6596
5818
  */
6597
5819
  'user'?: number;
6598
5820
  }
6599
- /**
6600
- * POPS Sub Navigation Item
6601
- * @export
6602
- * @interface SubNavigationItemModel
6603
- */
6604
- export interface SubNavigationItemModel {
6605
- /**
6606
- * Title
6607
- * @type {string}
6608
- * @memberof SubNavigationItemModel
6609
- */
6610
- 'title'?: string;
6611
- /**
6612
- * URL
6613
- * @type {string}
6614
- * @memberof SubNavigationItemModel
6615
- */
6616
- 'url'?: string;
6617
- /**
6618
- * Icon (Font Awesome)
6619
- * @type {string}
6620
- * @memberof SubNavigationItemModel
6621
- */
6622
- 'icon'?: string | null;
6623
- }
6624
5821
  /**
6625
5822
  * SuppliersEntity
6626
5823
  * @export
@@ -6912,6 +6109,12 @@ export interface TcxBackupModel {
6912
6109
  * @memberof TcxBackupModel
6913
6110
  */
6914
6111
  'phone'?: string | null;
6112
+ /**
6113
+ * Company Name
6114
+ * @type {string}
6115
+ * @memberof TcxBackupModel
6116
+ */
6117
+ 'companyName'?: string | null;
6915
6118
  }
6916
6119
  /**
6917
6120
  * TcxBillingEntity
@@ -8002,49 +7205,6 @@ export interface TcxPhonesEntity {
8002
7205
  */
8003
7206
  'sbcId'?: string;
8004
7207
  }
8005
- /**
8006
- * SBC Data
8007
- * @export
8008
- * @interface TcxSbcDTO
8009
- */
8010
- export interface TcxSbcDTO {
8011
- /**
8012
- * LAN IP Address
8013
- * @type {string}
8014
- * @memberof TcxSbcDTO
8015
- */
8016
- 'ipAddress'?: string;
8017
- /**
8018
- * LAN Default Gateway
8019
- * @type {string}
8020
- * @memberof TcxSbcDTO
8021
- */
8022
- 'defaultGateway'?: string;
8023
- /**
8024
- * LAN Subnet Mask
8025
- * @type {string}
8026
- * @memberof TcxSbcDTO
8027
- */
8028
- 'netmask'?: string;
8029
- /**
8030
- * DNS
8031
- * @type {string}
8032
- * @memberof TcxSbcDTO
8033
- */
8034
- 'dns'?: string;
8035
- /**
8036
- * 3CX URL
8037
- * @type {string}
8038
- * @memberof TcxSbcDTO
8039
- */
8040
- 'tcxUrl'?: string;
8041
- /**
8042
- * 3CX SBC Key
8043
- * @type {string}
8044
- * @memberof TcxSbcDTO
8045
- */
8046
- 'tcxKey'?: string;
8047
- }
8048
7208
  /**
8049
7209
  * 3CX Wizard SBC
8050
7210
  * @export
@@ -8149,7 +7309,7 @@ export interface TcxSbcEntity {
8149
7309
  'technicalContact'?: string;
8150
7310
  }
8151
7311
  /**
8152
- * 3CX Wizard SBC
7312
+ * 3CX SBC Model
8153
7313
  * @export
8154
7314
  * @interface TcxSbcModel
8155
7315
  */
@@ -9321,40 +8481,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
9321
8481
 
9322
8482
 
9323
8483
 
9324
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9325
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9326
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9327
-
9328
- return {
9329
- url: toPathString(localVarUrlObj),
9330
- options: localVarRequestOptions,
9331
- };
9332
- },
9333
- /**
9334
- * Get Account Detailed Summary
9335
- * @summary Get Account Detailed Summary
9336
- * @param {number} id Customer ID
9337
- * @param {*} [options] Override http request option.
9338
- * @throws {RequiredError}
9339
- */
9340
- getGetAccountDetailedSummary: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9341
- // verify required parameter 'id' is not null or undefined
9342
- assertParamExists('getGetAccountDetailedSummary', 'id', id)
9343
- const localVarPath = `/accounts/{id}/summary`
9344
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9345
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9346
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9347
- let baseOptions;
9348
- if (configuration) {
9349
- baseOptions = configuration.baseOptions;
9350
- }
9351
-
9352
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9353
- const localVarHeaderParameter = {} as any;
9354
- const localVarQueryParameter = {} as any;
9355
-
9356
-
9357
-
9358
8484
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9359
8485
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9360
8486
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -9653,36 +8779,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
9653
8779
  options: localVarRequestOptions,
9654
8780
  };
9655
8781
  },
9656
- /**
9657
- * Get Admin Account
9658
- * @summary Get Admin Account
9659
- * @param {*} [options] Override http request option.
9660
- * @throws {RequiredError}
9661
- */
9662
- postGetAdminAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9663
- const localVarPath = `/admin/me`;
9664
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9665
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9666
- let baseOptions;
9667
- if (configuration) {
9668
- baseOptions = configuration.baseOptions;
9669
- }
9670
-
9671
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9672
- const localVarHeaderParameter = {} as any;
9673
- const localVarQueryParameter = {} as any;
9674
-
9675
-
9676
-
9677
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9678
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9679
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9680
-
9681
- return {
9682
- url: toPathString(localVarUrlObj),
9683
- options: localVarRequestOptions,
9684
- };
9685
- },
9686
8782
  /**
9687
8783
  * Create client credentials
9688
8784
  * @summary Create client credentials
@@ -9932,19 +9028,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
9932
9028
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountContacts']?.[localVarOperationServerIndex]?.url;
9933
9029
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9934
9030
  },
9935
- /**
9936
- * Get Account Detailed Summary
9937
- * @summary Get Account Detailed Summary
9938
- * @param {number} id Customer ID
9939
- * @param {*} [options] Override http request option.
9940
- * @throws {RequiredError}
9941
- */
9942
- async getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDetailedSummaryDTO>> {
9943
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options);
9944
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9945
- const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountDetailedSummary']?.[localVarOperationServerIndex]?.url;
9946
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9947
- },
9948
9031
  /**
9949
9032
  * Get Accounts
9950
9033
  * @summary Get Accounts
@@ -10050,18 +9133,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
10050
9133
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAccounts']?.[localVarOperationServerIndex]?.url;
10051
9134
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10052
9135
  },
10053
- /**
10054
- * Get Admin Account
10055
- * @summary Get Admin Account
10056
- * @param {*} [options] Override http request option.
10057
- * @throws {RequiredError}
10058
- */
10059
- async postGetAdminAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminUserModel>> {
10060
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetAdminAccount(options);
10061
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10062
- const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAdminAccount']?.[localVarOperationServerIndex]?.url;
10063
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10064
- },
10065
9136
  /**
10066
9137
  * Create client credentials
10067
9138
  * @summary Create client credentials
@@ -10179,16 +9250,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
10179
9250
  getGetAccountContacts(email?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>> {
10180
9251
  return localVarFp.getGetAccountContacts(email, options).then((request) => request(axios, basePath));
10181
9252
  },
10182
- /**
10183
- * Get Account Detailed Summary
10184
- * @summary Get Account Detailed Summary
10185
- * @param {number} id Customer ID
10186
- * @param {*} [options] Override http request option.
10187
- * @throws {RequiredError}
10188
- */
10189
- getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AccountDetailedSummaryDTO> {
10190
- return localVarFp.getGetAccountDetailedSummary(id, options).then((request) => request(axios, basePath));
10191
- },
10192
9253
  /**
10193
9254
  * Get Accounts
10194
9255
  * @summary Get Accounts
@@ -10270,15 +9331,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
10270
9331
  postGetAccounts(accountRequestModel?: AccountRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<PortalAccountModel> {
10271
9332
  return localVarFp.postGetAccounts(accountRequestModel, options).then((request) => request(axios, basePath));
10272
9333
  },
10273
- /**
10274
- * Get Admin Account
10275
- * @summary Get Admin Account
10276
- * @param {*} [options] Override http request option.
10277
- * @throws {RequiredError}
10278
- */
10279
- postGetAdminAccount(options?: RawAxiosRequestConfig): AxiosPromise<AdminUserModel> {
10280
- return localVarFp.postGetAdminAccount(options).then((request) => request(axios, basePath));
10281
- },
10282
9334
  /**
10283
9335
  * Create client credentials
10284
9336
  * @summary Create client credentials
@@ -10389,18 +9441,6 @@ export class AccountsApi extends BaseAPI {
10389
9441
  return AccountsApiFp(this.configuration).getGetAccountContacts(email, options).then((request) => request(this.axios, this.basePath));
10390
9442
  }
10391
9443
 
10392
- /**
10393
- * Get Account Detailed Summary
10394
- * @summary Get Account Detailed Summary
10395
- * @param {number} id Customer ID
10396
- * @param {*} [options] Override http request option.
10397
- * @throws {RequiredError}
10398
- * @memberof AccountsApi
10399
- */
10400
- public getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig) {
10401
- return AccountsApiFp(this.configuration).getGetAccountDetailedSummary(id, options).then((request) => request(this.axios, this.basePath));
10402
- }
10403
-
10404
9444
  /**
10405
9445
  * Get Accounts
10406
9446
  * @summary Get Accounts
@@ -10498,17 +9538,6 @@ export class AccountsApi extends BaseAPI {
10498
9538
  return AccountsApiFp(this.configuration).postGetAccounts(accountRequestModel, options).then((request) => request(this.axios, this.basePath));
10499
9539
  }
10500
9540
 
10501
- /**
10502
- * Get Admin Account
10503
- * @summary Get Admin Account
10504
- * @param {*} [options] Override http request option.
10505
- * @throws {RequiredError}
10506
- * @memberof AccountsApi
10507
- */
10508
- public postGetAdminAccount(options?: RawAxiosRequestConfig) {
10509
- return AccountsApiFp(this.configuration).postGetAdminAccount(options).then((request) => request(this.axios, this.basePath));
10510
- }
10511
-
10512
9541
  /**
10513
9542
  * Create client credentials
10514
9543
  * @summary Create client credentials
@@ -10619,14 +9648,16 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
10619
9648
  };
10620
9649
  },
10621
9650
  /**
10622
- * Get Bulk 3CX Licence Details
10623
- * @summary Get bulk 3CX Licence Details
10624
- * @param {Array<string>} [requestBody] Licence Lookup Request
9651
+ * Generate a 3CX hashed password for 3CX installation
9652
+ * @summary Convert a password to a hashed 3CX password
9653
+ * @param {string} password Desired 3CX web access password
10625
9654
  * @param {*} [options] Override http request option.
10626
9655
  * @throws {RequiredError}
10627
9656
  */
10628
- postGetBulkLicenceDetails: async (requestBody?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10629
- const localVarPath = `/tcx/licences/bulk/details`;
9657
+ getGetPasswordHash: async (password: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9658
+ // verify required parameter 'password' is not null or undefined
9659
+ assertParamExists('getGetPasswordHash', 'password', password)
9660
+ const localVarPath = `/tcx/pwd2hash`;
10630
9661
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10631
9662
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10632
9663
  let baseOptions;
@@ -10634,29 +9665,64 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
10634
9665
  baseOptions = configuration.baseOptions;
10635
9666
  }
10636
9667
 
10637
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9668
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10638
9669
  const localVarHeaderParameter = {} as any;
10639
9670
  const localVarQueryParameter = {} as any;
10640
9671
 
9672
+ if (password !== undefined) {
9673
+ localVarQueryParameter['password'] = password;
9674
+ }
10641
9675
 
10642
-
10643
- localVarHeaderParameter['Content-Type'] = 'application/json';
10644
9676
 
9677
+
10645
9678
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10646
9679
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10647
9680
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10648
- localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
10649
9681
 
10650
9682
  return {
10651
9683
  url: toPathString(localVarUrlObj),
10652
9684
  options: localVarRequestOptions,
10653
9685
  };
10654
9686
  },
10655
- }
10656
- };
10657
-
10658
- /**
10659
- * Class3CXApi - functional programming interface
9687
+ /**
9688
+ * Get Bulk 3CX Licence Details
9689
+ * @summary Get bulk 3CX Licence Details
9690
+ * @param {Array<string>} [requestBody] Licence Lookup Request
9691
+ * @param {*} [options] Override http request option.
9692
+ * @throws {RequiredError}
9693
+ */
9694
+ postGetBulkLicenceDetails: async (requestBody?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9695
+ const localVarPath = `/tcx/licences/bulk/details`;
9696
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9697
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9698
+ let baseOptions;
9699
+ if (configuration) {
9700
+ baseOptions = configuration.baseOptions;
9701
+ }
9702
+
9703
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9704
+ const localVarHeaderParameter = {} as any;
9705
+ const localVarQueryParameter = {} as any;
9706
+
9707
+
9708
+
9709
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9710
+
9711
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9712
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9713
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9714
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
9715
+
9716
+ return {
9717
+ url: toPathString(localVarUrlObj),
9718
+ options: localVarRequestOptions,
9719
+ };
9720
+ },
9721
+ }
9722
+ };
9723
+
9724
+ /**
9725
+ * Class3CXApi - functional programming interface
10660
9726
  * @export
10661
9727
  */
10662
9728
  export const Class3CXApiFp = function(configuration?: Configuration) {
@@ -10675,6 +9741,19 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
10675
9741
  const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetLicenceDetails']?.[localVarOperationServerIndex]?.url;
10676
9742
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10677
9743
  },
9744
+ /**
9745
+ * Generate a 3CX hashed password for 3CX installation
9746
+ * @summary Convert a password to a hashed 3CX password
9747
+ * @param {string} password Desired 3CX web access password
9748
+ * @param {*} [options] Override http request option.
9749
+ * @throws {RequiredError}
9750
+ */
9751
+ async getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGetPasswordHash200Response>> {
9752
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetPasswordHash(password, options);
9753
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9754
+ const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetPasswordHash']?.[localVarOperationServerIndex]?.url;
9755
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9756
+ },
10678
9757
  /**
10679
9758
  * Get Bulk 3CX Licence Details
10680
9759
  * @summary Get bulk 3CX Licence Details
@@ -10708,6 +9787,16 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
10708
9787
  getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel> {
10709
9788
  return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
10710
9789
  },
9790
+ /**
9791
+ * Generate a 3CX hashed password for 3CX installation
9792
+ * @summary Convert a password to a hashed 3CX password
9793
+ * @param {string} password Desired 3CX web access password
9794
+ * @param {*} [options] Override http request option.
9795
+ * @throws {RequiredError}
9796
+ */
9797
+ getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): AxiosPromise<GetGetPasswordHash200Response> {
9798
+ return localVarFp.getGetPasswordHash(password, options).then((request) => request(axios, basePath));
9799
+ },
10711
9800
  /**
10712
9801
  * Get Bulk 3CX Licence Details
10713
9802
  * @summary Get bulk 3CX Licence Details
@@ -10740,6 +9829,18 @@ export class Class3CXApi extends BaseAPI {
10740
9829
  return Class3CXApiFp(this.configuration).getGetLicenceDetails(key, options).then((request) => request(this.axios, this.basePath));
10741
9830
  }
10742
9831
 
9832
+ /**
9833
+ * Generate a 3CX hashed password for 3CX installation
9834
+ * @summary Convert a password to a hashed 3CX password
9835
+ * @param {string} password Desired 3CX web access password
9836
+ * @param {*} [options] Override http request option.
9837
+ * @throws {RequiredError}
9838
+ * @memberof Class3CXApi
9839
+ */
9840
+ public getGetPasswordHash(password: string, options?: RawAxiosRequestConfig) {
9841
+ return Class3CXApiFp(this.configuration).getGetPasswordHash(password, options).then((request) => request(this.axios, this.basePath));
9842
+ }
9843
+
10743
9844
  /**
10744
9845
  * Get Bulk 3CX Licence Details
10745
9846
  * @summary Get bulk 3CX Licence Details
@@ -15334,14 +14435,13 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
15334
14435
  return {
15335
14436
  /**
15336
14437
  * Delete Orders
15337
- * @summary Delete Orders
15338
14438
  * @param {number} id Order ID
15339
14439
  * @param {*} [options] Override http request option.
15340
14440
  * @throws {RequiredError}
15341
14441
  */
15342
- deleteUpdateOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14442
+ deleteDeleteOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15343
14443
  // verify required parameter 'id' is not null or undefined
15344
- assertParamExists('deleteUpdateOrder', 'id', id)
14444
+ assertParamExists('deleteDeleteOrder', 'id', id)
15345
14445
  const localVarPath = `/orders/{id}`
15346
14446
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
15347
14447
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -15357,39 +14457,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
15357
14457
 
15358
14458
 
15359
14459
 
15360
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15361
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15362
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15363
-
15364
- return {
15365
- url: toPathString(localVarUrlObj),
15366
- options: localVarRequestOptions,
15367
- };
15368
- },
15369
- /**
15370
- * Get Editable Order
15371
- * @param {number} id Order ID
15372
- * @param {*} [options] Override http request option.
15373
- * @throws {RequiredError}
15374
- */
15375
- getGetEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15376
- // verify required parameter 'id' is not null or undefined
15377
- assertParamExists('getGetEditableOrder', 'id', id)
15378
- const localVarPath = `/orders/{id}/views/editable`
15379
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
15380
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15381
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15382
- let baseOptions;
15383
- if (configuration) {
15384
- baseOptions = configuration.baseOptions;
15385
- }
15386
-
15387
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15388
- const localVarHeaderParameter = {} as any;
15389
- const localVarQueryParameter = {} as any;
15390
-
15391
-
15392
-
15393
14460
  setSearchParams(localVarUrlObj, localVarQueryParameter);
15394
14461
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15395
14462
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -15459,170 +14526,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
15459
14526
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15460
14527
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15461
14528
 
15462
- return {
15463
- url: toPathString(localVarUrlObj),
15464
- options: localVarRequestOptions,
15465
- };
15466
- },
15467
- /**
15468
- * Create An Order (Admin)
15469
- * @summary Create An Order (Admin)
15470
- * @param {boolean} [readonly] Readonly Order
15471
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
15472
- * @param {*} [options] Override http request option.
15473
- * @throws {RequiredError}
15474
- */
15475
- postCreateAdminOrder: async (readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15476
- const localVarPath = `/admin/orders`;
15477
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15478
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15479
- let baseOptions;
15480
- if (configuration) {
15481
- baseOptions = configuration.baseOptions;
15482
- }
15483
-
15484
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15485
- const localVarHeaderParameter = {} as any;
15486
- const localVarQueryParameter = {} as any;
15487
-
15488
- if (readonly !== undefined) {
15489
- localVarQueryParameter['readonly'] = readonly;
15490
- }
15491
-
15492
-
15493
-
15494
- localVarHeaderParameter['Content-Type'] = 'application/json';
15495
-
15496
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15497
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15498
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15499
- localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
15500
-
15501
- return {
15502
- url: toPathString(localVarUrlObj),
15503
- options: localVarRequestOptions,
15504
- };
15505
- },
15506
- /**
15507
- * Create An Order
15508
- * @summary Create An Order
15509
- * @param {boolean} [readonly] Readonly Order
15510
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15511
- * @param {*} [options] Override http request option.
15512
- * @throws {RequiredError}
15513
- */
15514
- postGetOrders: async (readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15515
- const localVarPath = `/orders`;
15516
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15517
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15518
- let baseOptions;
15519
- if (configuration) {
15520
- baseOptions = configuration.baseOptions;
15521
- }
15522
-
15523
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15524
- const localVarHeaderParameter = {} as any;
15525
- const localVarQueryParameter = {} as any;
15526
-
15527
- if (readonly !== undefined) {
15528
- localVarQueryParameter['readonly'] = readonly;
15529
- }
15530
-
15531
-
15532
-
15533
- localVarHeaderParameter['Content-Type'] = 'application/json';
15534
-
15535
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15536
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15537
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15538
- localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
15539
-
15540
- return {
15541
- url: toPathString(localVarUrlObj),
15542
- options: localVarRequestOptions,
15543
- };
15544
- },
15545
- /**
15546
- * Update An Order (Admin)
15547
- * @summary Update An Order (Admin)
15548
- * @param {number} id Order ID
15549
- * @param {boolean} [readonly] Readonly Order
15550
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
15551
- * @param {*} [options] Override http request option.
15552
- * @throws {RequiredError}
15553
- */
15554
- putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15555
- // verify required parameter 'id' is not null or undefined
15556
- assertParamExists('putUpdateAdminOrder', 'id', id)
15557
- const localVarPath = `/admin/orders/{id}`
15558
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
15559
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15560
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15561
- let baseOptions;
15562
- if (configuration) {
15563
- baseOptions = configuration.baseOptions;
15564
- }
15565
-
15566
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
15567
- const localVarHeaderParameter = {} as any;
15568
- const localVarQueryParameter = {} as any;
15569
-
15570
- if (readonly !== undefined) {
15571
- localVarQueryParameter['readonly'] = readonly;
15572
- }
15573
-
15574
-
15575
-
15576
- localVarHeaderParameter['Content-Type'] = 'application/json';
15577
-
15578
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15579
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15580
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15581
- localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
15582
-
15583
- return {
15584
- url: toPathString(localVarUrlObj),
15585
- options: localVarRequestOptions,
15586
- };
15587
- },
15588
- /**
15589
- * Update An Order
15590
- * @summary Update An Order
15591
- * @param {number} id Order ID
15592
- * @param {boolean} [readonly] Readonly Order
15593
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15594
- * @param {*} [options] Override http request option.
15595
- * @throws {RequiredError}
15596
- */
15597
- putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15598
- // verify required parameter 'id' is not null or undefined
15599
- assertParamExists('putUpdateOrder', 'id', id)
15600
- const localVarPath = `/orders/{id}`
15601
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
15602
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15603
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15604
- let baseOptions;
15605
- if (configuration) {
15606
- baseOptions = configuration.baseOptions;
15607
- }
15608
-
15609
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
15610
- const localVarHeaderParameter = {} as any;
15611
- const localVarQueryParameter = {} as any;
15612
-
15613
- if (readonly !== undefined) {
15614
- localVarQueryParameter['readonly'] = readonly;
15615
- }
15616
-
15617
-
15618
-
15619
- localVarHeaderParameter['Content-Type'] = 'application/json';
15620
-
15621
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15622
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15623
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15624
- localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
15625
-
15626
14529
  return {
15627
14530
  url: toPathString(localVarUrlObj),
15628
14531
  options: localVarRequestOptions,
@@ -15640,27 +14543,14 @@ export const OrdersApiFp = function(configuration?: Configuration) {
15640
14543
  return {
15641
14544
  /**
15642
14545
  * Delete Orders
15643
- * @summary Delete Orders
15644
- * @param {number} id Order ID
15645
- * @param {*} [options] Override http request option.
15646
- * @throws {RequiredError}
15647
- */
15648
- async deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
15649
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUpdateOrder(id, options);
15650
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15651
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteUpdateOrder']?.[localVarOperationServerIndex]?.url;
15652
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15653
- },
15654
- /**
15655
- * Get Editable Order
15656
14546
  * @param {number} id Order ID
15657
14547
  * @param {*} [options] Override http request option.
15658
14548
  * @throws {RequiredError}
15659
14549
  */
15660
- async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderSummaryDTO>> {
15661
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
14550
+ async deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
14551
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeleteOrder(id, options);
15662
14552
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15663
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
14553
+ const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteDeleteOrder']?.[localVarOperationServerIndex]?.url;
15664
14554
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15665
14555
  },
15666
14556
  /**
@@ -15682,64 +14572,6 @@ export const OrdersApiFp = function(configuration?: Configuration) {
15682
14572
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
15683
14573
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15684
14574
  },
15685
- /**
15686
- * Create An Order (Admin)
15687
- * @summary Create An Order (Admin)
15688
- * @param {boolean} [readonly] Readonly Order
15689
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
15690
- * @param {*} [options] Override http request option.
15691
- * @throws {RequiredError}
15692
- */
15693
- async postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
15694
- const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options);
15695
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15696
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
15697
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15698
- },
15699
- /**
15700
- * Create An Order
15701
- * @summary Create An Order
15702
- * @param {boolean} [readonly] Readonly Order
15703
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15704
- * @param {*} [options] Override http request option.
15705
- * @throws {RequiredError}
15706
- */
15707
- async postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
15708
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options);
15709
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15710
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
15711
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15712
- },
15713
- /**
15714
- * Update An Order (Admin)
15715
- * @summary Update An Order (Admin)
15716
- * @param {number} id Order ID
15717
- * @param {boolean} [readonly] Readonly Order
15718
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
15719
- * @param {*} [options] Override http request option.
15720
- * @throws {RequiredError}
15721
- */
15722
- async putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
15723
- const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options);
15724
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15725
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateAdminOrder']?.[localVarOperationServerIndex]?.url;
15726
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15727
- },
15728
- /**
15729
- * Update An Order
15730
- * @summary Update An Order
15731
- * @param {number} id Order ID
15732
- * @param {boolean} [readonly] Readonly Order
15733
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15734
- * @param {*} [options] Override http request option.
15735
- * @throws {RequiredError}
15736
- */
15737
- async putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
15738
- const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateOrder(id, readonly, customerOrderRequestDTO, options);
15739
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15740
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateOrder']?.[localVarOperationServerIndex]?.url;
15741
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15742
- },
15743
14575
  }
15744
14576
  };
15745
14577
 
@@ -15752,22 +14584,12 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
15752
14584
  return {
15753
14585
  /**
15754
14586
  * Delete Orders
15755
- * @summary Delete Orders
15756
14587
  * @param {number} id Order ID
15757
14588
  * @param {*} [options] Override http request option.
15758
14589
  * @throws {RequiredError}
15759
14590
  */
15760
- deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
15761
- return localVarFp.deleteUpdateOrder(id, options).then((request) => request(axios, basePath));
15762
- },
15763
- /**
15764
- * Get Editable Order
15765
- * @param {number} id Order ID
15766
- * @param {*} [options] Override http request option.
15767
- * @throws {RequiredError}
15768
- */
15769
- getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummaryDTO> {
15770
- return localVarFp.getGetEditableOrder(id, options).then((request) => request(axios, basePath));
14591
+ deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
14592
+ return localVarFp.deleteDeleteOrder(id, options).then((request) => request(axios, basePath));
15771
14593
  },
15772
14594
  /**
15773
14595
  * Get Orders
@@ -15785,52 +14607,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
15785
14607
  getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel> {
15786
14608
  return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(axios, basePath));
15787
14609
  },
15788
- /**
15789
- * Create An Order (Admin)
15790
- * @summary Create An Order (Admin)
15791
- * @param {boolean} [readonly] Readonly Order
15792
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
15793
- * @param {*} [options] Override http request option.
15794
- * @throws {RequiredError}
15795
- */
15796
- postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
15797
- return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
15798
- },
15799
- /**
15800
- * Create An Order
15801
- * @summary Create An Order
15802
- * @param {boolean} [readonly] Readonly Order
15803
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15804
- * @param {*} [options] Override http request option.
15805
- * @throws {RequiredError}
15806
- */
15807
- postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
15808
- return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
15809
- },
15810
- /**
15811
- * Update An Order (Admin)
15812
- * @summary Update An Order (Admin)
15813
- * @param {number} id Order ID
15814
- * @param {boolean} [readonly] Readonly Order
15815
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
15816
- * @param {*} [options] Override http request option.
15817
- * @throws {RequiredError}
15818
- */
15819
- putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
15820
- return localVarFp.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
15821
- },
15822
- /**
15823
- * Update An Order
15824
- * @summary Update An Order
15825
- * @param {number} id Order ID
15826
- * @param {boolean} [readonly] Readonly Order
15827
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15828
- * @param {*} [options] Override http request option.
15829
- * @throws {RequiredError}
15830
- */
15831
- putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
15832
- return localVarFp.putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
15833
- },
15834
14610
  };
15835
14611
  };
15836
14612
 
@@ -15843,25 +14619,13 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
15843
14619
  export class OrdersApi extends BaseAPI {
15844
14620
  /**
15845
14621
  * Delete Orders
15846
- * @summary Delete Orders
15847
- * @param {number} id Order ID
15848
- * @param {*} [options] Override http request option.
15849
- * @throws {RequiredError}
15850
- * @memberof OrdersApi
15851
- */
15852
- public deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig) {
15853
- return OrdersApiFp(this.configuration).deleteUpdateOrder(id, options).then((request) => request(this.axios, this.basePath));
15854
- }
15855
-
15856
- /**
15857
- * Get Editable Order
15858
14622
  * @param {number} id Order ID
15859
14623
  * @param {*} [options] Override http request option.
15860
14624
  * @throws {RequiredError}
15861
14625
  * @memberof OrdersApi
15862
14626
  */
15863
- public getGetEditableOrder(id: number, options?: RawAxiosRequestConfig) {
15864
- return OrdersApiFp(this.configuration).getGetEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
14627
+ public deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig) {
14628
+ return OrdersApiFp(this.configuration).deleteDeleteOrder(id, options).then((request) => request(this.axios, this.basePath));
15865
14629
  }
15866
14630
 
15867
14631
  /**
@@ -15881,60 +14645,6 @@ export class OrdersApi extends BaseAPI {
15881
14645
  public getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) {
15882
14646
  return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
15883
14647
  }
15884
-
15885
- /**
15886
- * Create An Order (Admin)
15887
- * @summary Create An Order (Admin)
15888
- * @param {boolean} [readonly] Readonly Order
15889
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
15890
- * @param {*} [options] Override http request option.
15891
- * @throws {RequiredError}
15892
- * @memberof OrdersApi
15893
- */
15894
- public postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
15895
- return OrdersApiFp(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
15896
- }
15897
-
15898
- /**
15899
- * Create An Order
15900
- * @summary Create An Order
15901
- * @param {boolean} [readonly] Readonly Order
15902
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15903
- * @param {*} [options] Override http request option.
15904
- * @throws {RequiredError}
15905
- * @memberof OrdersApi
15906
- */
15907
- public postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
15908
- return OrdersApiFp(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
15909
- }
15910
-
15911
- /**
15912
- * Update An Order (Admin)
15913
- * @summary Update An Order (Admin)
15914
- * @param {number} id Order ID
15915
- * @param {boolean} [readonly] Readonly Order
15916
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
15917
- * @param {*} [options] Override http request option.
15918
- * @throws {RequiredError}
15919
- * @memberof OrdersApi
15920
- */
15921
- public putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
15922
- return OrdersApiFp(this.configuration).putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
15923
- }
15924
-
15925
- /**
15926
- * Update An Order
15927
- * @summary Update An Order
15928
- * @param {number} id Order ID
15929
- * @param {boolean} [readonly] Readonly Order
15930
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15931
- * @param {*} [options] Override http request option.
15932
- * @throws {RequiredError}
15933
- * @memberof OrdersApi
15934
- */
15935
- public putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
15936
- return OrdersApiFp(this.configuration).putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
15937
- }
15938
14648
  }
15939
14649
 
15940
14650
  /**
@@ -16315,47 +15025,13 @@ export type PostSendPriceListCategoryEnum = typeof PostSendPriceListCategoryEnum
16315
15025
  export const ProductsApiAxiosParamCreator = function (configuration?: Configuration) {
16316
15026
  return {
16317
15027
  /**
16318
- * Get Attribute Sets
16319
- * @summary Get Attribute Sets
16320
- * @param {*} [options] Override http request option.
16321
- * @throws {RequiredError}
16322
- */
16323
- getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16324
- const localVarPath = `/products/attributes`;
16325
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16326
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16327
- let baseOptions;
16328
- if (configuration) {
16329
- baseOptions = configuration.baseOptions;
16330
- }
16331
-
16332
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16333
- const localVarHeaderParameter = {} as any;
16334
- const localVarQueryParameter = {} as any;
16335
-
16336
-
16337
-
16338
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16339
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16340
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16341
-
16342
- return {
16343
- url: toPathString(localVarUrlObj),
16344
- options: localVarRequestOptions,
16345
- };
16346
- },
16347
- /**
16348
- * Get Current Stock & Pricing
16349
- * @summary Get Current Stock & Pricing
16350
- * @param {GetGetLegacyStockListFormatEnum} format File Format
15028
+ * Get Attribute Sets
15029
+ * @summary Get Attribute Sets
16351
15030
  * @param {*} [options] Override http request option.
16352
- * @deprecated
16353
15031
  * @throws {RequiredError}
16354
15032
  */
16355
- getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16356
- // verify required parameter 'format' is not null or undefined
16357
- assertParamExists('getGetLegacyStockList', 'format', format)
16358
- const localVarPath = `/products/stock/legacy`;
15033
+ getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15034
+ const localVarPath = `/products/attributes`;
16359
15035
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16360
15036
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16361
15037
  let baseOptions;
@@ -16367,10 +15043,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16367
15043
  const localVarHeaderParameter = {} as any;
16368
15044
  const localVarQueryParameter = {} as any;
16369
15045
 
16370
- if (format !== undefined) {
16371
- localVarQueryParameter['format'] = format;
16372
- }
16373
-
16374
15046
 
16375
15047
 
16376
15048
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -16383,13 +15055,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16383
15055
  };
16384
15056
  },
16385
15057
  /**
16386
- * Get Products
16387
- * @summary Get Products
15058
+ * Get Customer Price Lists
15059
+ * @summary Get Customer Price Lists
16388
15060
  * @param {*} [options] Override http request option.
16389
15061
  * @throws {RequiredError}
16390
15062
  */
16391
- getGetProducts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16392
- const localVarPath = `/products`;
15063
+ getGetCustomerPriceLists: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15064
+ const localVarPath = `/products/prices/lists`;
16393
15065
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16394
15066
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16395
15067
  let baseOptions;
@@ -16415,11 +15087,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16415
15087
  /**
16416
15088
  * Get Current Stock & Pricing
16417
15089
  * @summary Get Current Stock & Pricing
15090
+ * @param {GetGetLegacyStockListFormatEnum} format File Format
16418
15091
  * @param {*} [options] Override http request option.
15092
+ * @deprecated
16419
15093
  * @throws {RequiredError}
16420
15094
  */
16421
- getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16422
- const localVarPath = `/products/stock`;
15095
+ getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15096
+ // verify required parameter 'format' is not null or undefined
15097
+ assertParamExists('getGetLegacyStockList', 'format', format)
15098
+ const localVarPath = `/products/stock/legacy`;
16423
15099
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16424
15100
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16425
15101
  let baseOptions;
@@ -16431,36 +15107,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16431
15107
  const localVarHeaderParameter = {} as any;
16432
15108
  const localVarQueryParameter = {} as any;
16433
15109
 
16434
-
16435
-
16436
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16437
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16438
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16439
-
16440
- return {
16441
- url: toPathString(localVarUrlObj),
16442
- options: localVarRequestOptions,
16443
- };
16444
- },
16445
- /**
16446
- * Get 3CX Templates
16447
- * @summary Get 3CX Templates
16448
- * @param {*} [options] Override http request option.
16449
- * @throws {RequiredError}
16450
- */
16451
- getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16452
- const localVarPath = `/products/attributes/tcx/templates`;
16453
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16454
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16455
- let baseOptions;
16456
- if (configuration) {
16457
- baseOptions = configuration.baseOptions;
15110
+ if (format !== undefined) {
15111
+ localVarQueryParameter['format'] = format;
16458
15112
  }
16459
15113
 
16460
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16461
- const localVarHeaderParameter = {} as any;
16462
- const localVarQueryParameter = {} as any;
16463
-
16464
15114
 
16465
15115
 
16466
15116
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -16473,15 +15123,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16473
15123
  };
16474
15124
  },
16475
15125
  /**
16476
- * Search Products
16477
- * @summary Search Products
15126
+ * Get Products
15127
+ * @summary Get Products
16478
15128
  * @param {number} [pageSize] Number Of Results
16479
15129
  * @param {number} [page] Page Number
16480
15130
  * @param {string} [search] Search
16481
15131
  * @param {*} [options] Override http request option.
16482
15132
  * @throws {RequiredError}
16483
15133
  */
16484
- getSearchProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15134
+ getGetProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16485
15135
  const localVarPath = `/products/search`;
16486
15136
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16487
15137
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -16518,20 +15168,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16518
15168
  };
16519
15169
  },
16520
15170
  /**
16521
- * Get Product
16522
- * @summary Get Product
16523
- * @param {string} sku Product SKU
16524
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15171
+ * Get Current Stock & Pricing
15172
+ * @summary Get Current Stock & Pricing
16525
15173
  * @param {*} [options] Override http request option.
16526
15174
  * @throws {RequiredError}
16527
15175
  */
16528
- postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16529
- // verify required parameter 'sku' is not null or undefined
16530
- assertParamExists('postGetProduct', 'sku', sku)
16531
- // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
16532
- assertParamExists('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
16533
- const localVarPath = `/products/{sku}`
16534
- .replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
15176
+ getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15177
+ const localVarPath = `/products/stock`;
16535
15178
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16536
15179
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16537
15180
  let baseOptions;
@@ -16539,18 +15182,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16539
15182
  baseOptions = configuration.baseOptions;
16540
15183
  }
16541
15184
 
16542
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15185
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16543
15186
  const localVarHeaderParameter = {} as any;
16544
15187
  const localVarQueryParameter = {} as any;
16545
15188
 
16546
15189
 
16547
15190
 
16548
- localVarHeaderParameter['Content-Type'] = 'application/json';
16549
-
16550
15191
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16551
15192
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16552
15193
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16553
- localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
16554
15194
 
16555
15195
  return {
16556
15196
  url: toPathString(localVarUrlObj),
@@ -16558,23 +15198,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16558
15198
  };
16559
15199
  },
16560
15200
  /**
16561
- * Get Product For Customer
16562
- * @summary Get Product For Customer
16563
- * @param {number} customerId Customer ID
16564
- * @param {string} sku Product SKU
16565
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15201
+ * Get 3CX Templates
15202
+ * @summary Get 3CX Templates
16566
15203
  * @param {*} [options] Override http request option.
16567
15204
  * @throws {RequiredError}
16568
15205
  */
16569
- postGetProductForCustomer: async (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16570
- // verify required parameter 'customerId' is not null or undefined
16571
- assertParamExists('postGetProductForCustomer', 'customerId', customerId)
16572
- // verify required parameter 'sku' is not null or undefined
16573
- assertParamExists('postGetProductForCustomer', 'sku', sku)
16574
- // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
16575
- assertParamExists('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
16576
- const localVarPath = `/admin/products/{sku}`
16577
- .replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
15206
+ getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15207
+ const localVarPath = `/products/attributes/tcx/templates`;
16578
15208
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16579
15209
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16580
15210
  let baseOptions;
@@ -16582,22 +15212,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16582
15212
  baseOptions = configuration.baseOptions;
16583
15213
  }
16584
15214
 
16585
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15215
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16586
15216
  const localVarHeaderParameter = {} as any;
16587
15217
  const localVarQueryParameter = {} as any;
16588
15218
 
16589
- if (customerId !== undefined) {
16590
- localVarQueryParameter['customerId'] = customerId;
16591
- }
16592
-
16593
15219
 
16594
15220
 
16595
- localVarHeaderParameter['Content-Type'] = 'application/json';
16596
-
16597
15221
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16598
15222
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16599
15223
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16600
- localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
16601
15224
 
16602
15225
  return {
16603
15226
  url: toPathString(localVarUrlObj),
@@ -16626,6 +15249,18 @@ export const ProductsApiFp = function(configuration?: Configuration) {
16626
15249
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetAttributeSets']?.[localVarOperationServerIndex]?.url;
16627
15250
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16628
15251
  },
15252
+ /**
15253
+ * Get Customer Price Lists
15254
+ * @summary Get Customer Price Lists
15255
+ * @param {*} [options] Override http request option.
15256
+ * @throws {RequiredError}
15257
+ */
15258
+ async getGetCustomerPriceLists(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CustomerPriceListEnum>>> {
15259
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCustomerPriceLists(options);
15260
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15261
+ const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetCustomerPriceLists']?.[localVarOperationServerIndex]?.url;
15262
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15263
+ },
16629
15264
  /**
16630
15265
  * Get Current Stock & Pricing
16631
15266
  * @summary Get Current Stock & Pricing
@@ -16643,11 +15278,14 @@ export const ProductsApiFp = function(configuration?: Configuration) {
16643
15278
  /**
16644
15279
  * Get Products
16645
15280
  * @summary Get Products
15281
+ * @param {number} [pageSize] Number Of Results
15282
+ * @param {number} [page] Page Number
15283
+ * @param {string} [search] Search
16646
15284
  * @param {*} [options] Override http request option.
16647
15285
  * @throws {RequiredError}
16648
15286
  */
16649
- async getGetProducts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BasicProductDTO>>> {
16650
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(options);
15287
+ async getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
15288
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(pageSize, page, search, options);
16651
15289
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16652
15290
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetProducts']?.[localVarOperationServerIndex]?.url;
16653
15291
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -16676,50 +15314,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
16676
15314
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetTcxTemplates']?.[localVarOperationServerIndex]?.url;
16677
15315
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16678
15316
  },
16679
- /**
16680
- * Search Products
16681
- * @summary Search Products
16682
- * @param {number} [pageSize] Number Of Results
16683
- * @param {number} [page] Page Number
16684
- * @param {string} [search] Search
16685
- * @param {*} [options] Override http request option.
16686
- * @throws {RequiredError}
16687
- */
16688
- async getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
16689
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSearchProducts(pageSize, page, search, options);
16690
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16691
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.getSearchProducts']?.[localVarOperationServerIndex]?.url;
16692
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16693
- },
16694
- /**
16695
- * Get Product
16696
- * @summary Get Product
16697
- * @param {string} sku Product SKU
16698
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
16699
- * @param {*} [options] Override http request option.
16700
- * @throws {RequiredError}
16701
- */
16702
- async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
16703
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options);
16704
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16705
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProduct']?.[localVarOperationServerIndex]?.url;
16706
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16707
- },
16708
- /**
16709
- * Get Product For Customer
16710
- * @summary Get Product For Customer
16711
- * @param {number} customerId Customer ID
16712
- * @param {string} sku Product SKU
16713
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
16714
- * @param {*} [options] Override http request option.
16715
- * @throws {RequiredError}
16716
- */
16717
- async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
16718
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options);
16719
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16720
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProductForCustomer']?.[localVarOperationServerIndex]?.url;
16721
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16722
- },
16723
15317
  }
16724
15318
  };
16725
15319
 
@@ -16739,6 +15333,15 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
16739
15333
  getGetAttributeSets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeSetEnum>> {
16740
15334
  return localVarFp.getGetAttributeSets(options).then((request) => request(axios, basePath));
16741
15335
  },
15336
+ /**
15337
+ * Get Customer Price Lists
15338
+ * @summary Get Customer Price Lists
15339
+ * @param {*} [options] Override http request option.
15340
+ * @throws {RequiredError}
15341
+ */
15342
+ getGetCustomerPriceLists(options?: RawAxiosRequestConfig): AxiosPromise<Array<CustomerPriceListEnum>> {
15343
+ return localVarFp.getGetCustomerPriceLists(options).then((request) => request(axios, basePath));
15344
+ },
16742
15345
  /**
16743
15346
  * Get Current Stock & Pricing
16744
15347
  * @summary Get Current Stock & Pricing
@@ -16753,11 +15356,14 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
16753
15356
  /**
16754
15357
  * Get Products
16755
15358
  * @summary Get Products
15359
+ * @param {number} [pageSize] Number Of Results
15360
+ * @param {number} [page] Page Number
15361
+ * @param {string} [search] Search
16756
15362
  * @param {*} [options] Override http request option.
16757
15363
  * @throws {RequiredError}
16758
15364
  */
16759
- getGetProducts(options?: RawAxiosRequestConfig): AxiosPromise<Array<BasicProductDTO>> {
16760
- return localVarFp.getGetProducts(options).then((request) => request(axios, basePath));
15365
+ getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
15366
+ return localVarFp.getGetProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
16761
15367
  },
16762
15368
  /**
16763
15369
  * Get Current Stock & Pricing
@@ -16777,41 +15383,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
16777
15383
  getGetTcxTemplates(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxTemplateXmlEnum>> {
16778
15384
  return localVarFp.getGetTcxTemplates(options).then((request) => request(axios, basePath));
16779
15385
  },
16780
- /**
16781
- * Search Products
16782
- * @summary Search Products
16783
- * @param {number} [pageSize] Number Of Results
16784
- * @param {number} [page] Page Number
16785
- * @param {string} [search] Search
16786
- * @param {*} [options] Override http request option.
16787
- * @throws {RequiredError}
16788
- */
16789
- getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
16790
- return localVarFp.getSearchProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
16791
- },
16792
- /**
16793
- * Get Product
16794
- * @summary Get Product
16795
- * @param {string} sku Product SKU
16796
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
16797
- * @param {*} [options] Override http request option.
16798
- * @throws {RequiredError}
16799
- */
16800
- postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
16801
- return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
16802
- },
16803
- /**
16804
- * Get Product For Customer
16805
- * @summary Get Product For Customer
16806
- * @param {number} customerId Customer ID
16807
- * @param {string} sku Product SKU
16808
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
16809
- * @param {*} [options] Override http request option.
16810
- * @throws {RequiredError}
16811
- */
16812
- postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
16813
- return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
16814
- },
16815
15386
  };
16816
15387
  };
16817
15388
 
@@ -16833,6 +15404,17 @@ export class ProductsApi extends BaseAPI {
16833
15404
  return ProductsApiFp(this.configuration).getGetAttributeSets(options).then((request) => request(this.axios, this.basePath));
16834
15405
  }
16835
15406
 
15407
+ /**
15408
+ * Get Customer Price Lists
15409
+ * @summary Get Customer Price Lists
15410
+ * @param {*} [options] Override http request option.
15411
+ * @throws {RequiredError}
15412
+ * @memberof ProductsApi
15413
+ */
15414
+ public getGetCustomerPriceLists(options?: RawAxiosRequestConfig) {
15415
+ return ProductsApiFp(this.configuration).getGetCustomerPriceLists(options).then((request) => request(this.axios, this.basePath));
15416
+ }
15417
+
16836
15418
  /**
16837
15419
  * Get Current Stock & Pricing
16838
15420
  * @summary Get Current Stock & Pricing
@@ -16849,12 +15431,15 @@ export class ProductsApi extends BaseAPI {
16849
15431
  /**
16850
15432
  * Get Products
16851
15433
  * @summary Get Products
15434
+ * @param {number} [pageSize] Number Of Results
15435
+ * @param {number} [page] Page Number
15436
+ * @param {string} [search] Search
16852
15437
  * @param {*} [options] Override http request option.
16853
15438
  * @throws {RequiredError}
16854
15439
  * @memberof ProductsApi
16855
15440
  */
16856
- public getGetProducts(options?: RawAxiosRequestConfig) {
16857
- return ProductsApiFp(this.configuration).getGetProducts(options).then((request) => request(this.axios, this.basePath));
15441
+ public getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
15442
+ return ProductsApiFp(this.configuration).getGetProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
16858
15443
  }
16859
15444
 
16860
15445
  /**
@@ -16878,47 +15463,6 @@ export class ProductsApi extends BaseAPI {
16878
15463
  public getGetTcxTemplates(options?: RawAxiosRequestConfig) {
16879
15464
  return ProductsApiFp(this.configuration).getGetTcxTemplates(options).then((request) => request(this.axios, this.basePath));
16880
15465
  }
16881
-
16882
- /**
16883
- * Search Products
16884
- * @summary Search Products
16885
- * @param {number} [pageSize] Number Of Results
16886
- * @param {number} [page] Page Number
16887
- * @param {string} [search] Search
16888
- * @param {*} [options] Override http request option.
16889
- * @throws {RequiredError}
16890
- * @memberof ProductsApi
16891
- */
16892
- public getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
16893
- return ProductsApiFp(this.configuration).getSearchProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
16894
- }
16895
-
16896
- /**
16897
- * Get Product
16898
- * @summary Get Product
16899
- * @param {string} sku Product SKU
16900
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
16901
- * @param {*} [options] Override http request option.
16902
- * @throws {RequiredError}
16903
- * @memberof ProductsApi
16904
- */
16905
- public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
16906
- return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
16907
- }
16908
-
16909
- /**
16910
- * Get Product For Customer
16911
- * @summary Get Product For Customer
16912
- * @param {number} customerId Customer ID
16913
- * @param {string} sku Product SKU
16914
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
16915
- * @param {*} [options] Override http request option.
16916
- * @throws {RequiredError}
16917
- * @memberof ProductsApi
16918
- */
16919
- public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
16920
- return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
16921
- }
16922
15466
  }
16923
15467
 
16924
15468
  /**
@@ -17259,7 +15803,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
17259
15803
  * @param {*} [options] Override http request option.
17260
15804
  * @throws {RequiredError}
17261
15805
  */
17262
- async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningModel>>> {
15806
+ async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningEntity>>> {
17263
15807
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetGroups(id, options);
17264
15808
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17265
15809
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getGetGroups']?.[localVarOperationServerIndex]?.url;
@@ -17272,7 +15816,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
17272
15816
  * @param {*} [options] Override http request option.
17273
15817
  * @throws {RequiredError}
17274
15818
  */
17275
- async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningModel>> {
15819
+ async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningEntity>> {
17276
15820
  const localVarAxiosArgs = await localVarAxiosParamCreator.postAddFanvilGroup(provisioningRequestEntity, options);
17277
15821
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17278
15822
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilGroup']?.[localVarOperationServerIndex]?.url;
@@ -17351,7 +15895,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
17351
15895
  * @param {*} [options] Override http request option.
17352
15896
  * @throws {RequiredError}
17353
15897
  */
17354
- getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningModel>> {
15898
+ getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningEntity>> {
17355
15899
  return localVarFp.getGetGroups(id, options).then((request) => request(axios, basePath));
17356
15900
  },
17357
15901
  /**
@@ -17361,7 +15905,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
17361
15905
  * @param {*} [options] Override http request option.
17362
15906
  * @throws {RequiredError}
17363
15907
  */
17364
- postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningModel> {
15908
+ postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningEntity> {
17365
15909
  return localVarFp.postAddFanvilGroup(provisioningRequestEntity, options).then((request) => request(axios, basePath));
17366
15910
  },
17367
15911
  /**
@@ -19262,114 +17806,6 @@ export class SMSApi extends BaseAPI {
19262
17806
 
19263
17807
 
19264
17808
 
19265
- /**
19266
- * ShippingApi - axios parameter creator
19267
- * @export
19268
- */
19269
- export const ShippingApiAxiosParamCreator = function (configuration?: Configuration) {
19270
- return {
19271
- /**
19272
- * Get Shipping Services
19273
- * @summary Get Shipping Services
19274
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
19275
- * @param {*} [options] Override http request option.
19276
- * @throws {RequiredError}
19277
- */
19278
- postGetShippingServices: async (shippingInformationDTO?: ShippingInformationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19279
- const localVarPath = `/shipping/services`;
19280
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
19281
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19282
- let baseOptions;
19283
- if (configuration) {
19284
- baseOptions = configuration.baseOptions;
19285
- }
19286
-
19287
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
19288
- const localVarHeaderParameter = {} as any;
19289
- const localVarQueryParameter = {} as any;
19290
-
19291
-
19292
-
19293
- localVarHeaderParameter['Content-Type'] = 'application/json';
19294
-
19295
- setSearchParams(localVarUrlObj, localVarQueryParameter);
19296
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19297
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19298
- localVarRequestOptions.data = serializeDataIfNeeded(shippingInformationDTO, localVarRequestOptions, configuration)
19299
-
19300
- return {
19301
- url: toPathString(localVarUrlObj),
19302
- options: localVarRequestOptions,
19303
- };
19304
- },
19305
- }
19306
- };
19307
-
19308
- /**
19309
- * ShippingApi - functional programming interface
19310
- * @export
19311
- */
19312
- export const ShippingApiFp = function(configuration?: Configuration) {
19313
- const localVarAxiosParamCreator = ShippingApiAxiosParamCreator(configuration)
19314
- return {
19315
- /**
19316
- * Get Shipping Services
19317
- * @summary Get Shipping Services
19318
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
19319
- * @param {*} [options] Override http request option.
19320
- * @throws {RequiredError}
19321
- */
19322
- async postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingServicesModel>> {
19323
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetShippingServices(shippingInformationDTO, options);
19324
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19325
- const localVarOperationServerBasePath = operationServerMap['ShippingApi.postGetShippingServices']?.[localVarOperationServerIndex]?.url;
19326
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19327
- },
19328
- }
19329
- };
19330
-
19331
- /**
19332
- * ShippingApi - factory interface
19333
- * @export
19334
- */
19335
- export const ShippingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
19336
- const localVarFp = ShippingApiFp(configuration)
19337
- return {
19338
- /**
19339
- * Get Shipping Services
19340
- * @summary Get Shipping Services
19341
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
19342
- * @param {*} [options] Override http request option.
19343
- * @throws {RequiredError}
19344
- */
19345
- postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShippingServicesModel> {
19346
- return localVarFp.postGetShippingServices(shippingInformationDTO, options).then((request) => request(axios, basePath));
19347
- },
19348
- };
19349
- };
19350
-
19351
- /**
19352
- * ShippingApi - object-oriented interface
19353
- * @export
19354
- * @class ShippingApi
19355
- * @extends {BaseAPI}
19356
- */
19357
- export class ShippingApi extends BaseAPI {
19358
- /**
19359
- * Get Shipping Services
19360
- * @summary Get Shipping Services
19361
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
19362
- * @param {*} [options] Override http request option.
19363
- * @throws {RequiredError}
19364
- * @memberof ShippingApi
19365
- */
19366
- public postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig) {
19367
- return ShippingApiFp(this.configuration).postGetShippingServices(shippingInformationDTO, options).then((request) => request(this.axios, this.basePath));
19368
- }
19369
- }
19370
-
19371
-
19372
-
19373
17809
  /**
19374
17810
  * StockManagementApi - axios parameter creator
19375
17811
  * @export
@@ -20456,7 +18892,7 @@ export const StockManagementApiFp = function(configuration?: Configuration) {
20456
18892
  * @param {*} [options] Override http request option.
20457
18893
  * @throws {RequiredError}
20458
18894
  */
20459
- async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryDTO>>> {
18895
+ async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryModel>>> {
20460
18896
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockSupplierProducts(id, options);
20461
18897
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20462
18898
  const localVarOperationServerBasePath = operationServerMap['StockManagementApi.getGetStockSupplierProducts']?.[localVarOperationServerIndex]?.url;
@@ -20759,7 +19195,7 @@ export const StockManagementApiFactory = function (configuration?: Configuration
20759
19195
  * @param {*} [options] Override http request option.
20760
19196
  * @throws {RequiredError}
20761
19197
  */
20762
- getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryDTO>> {
19198
+ getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryModel>> {
20763
19199
  return localVarFp.getGetStockSupplierProducts(id, options).then((request) => request(axios, basePath));
20764
19200
  },
20765
19201
  /**