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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/.openapi-generator/FILES +195 -213
  2. package/README.md +7 -34
  3. package/api.ts +254 -1865
  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 +154 -1351
  9. package/dist/api.js +197 -1135
  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/AddressModel.md +0 -2
  20. package/docs/Class3CXApi.md +55 -0
  21. package/docs/ClientDetailsModel.md +2 -0
  22. package/docs/{ShippingServicesModel.md → GetGetPasswordHash200Response.md} +5 -5
  23. package/docs/ItemDTO.md +4 -12
  24. package/docs/ItemEntity.md +0 -2
  25. package/docs/OrderSummaryDTO.md +0 -8
  26. package/docs/OrderTotalModel.md +0 -2
  27. package/docs/OrdersApi.md +4 -356
  28. package/docs/ProductSearchResultsModel.md +1 -1
  29. package/docs/{ProductSummaryDTO.md → ProductSummaryModel.md} +3 -5
  30. package/docs/ProductsApi.md +43 -164
  31. package/docs/ProvisioningApi.md +4 -4
  32. package/docs/{ProvisioningModel.md → ProvisioningEntity.md} +3 -3
  33. package/docs/ShipmentEntity.md +2 -2
  34. package/docs/StockManagementApi.md +2 -2
  35. package/docs/TcxSbcModel.md +1 -1
  36. package/index.ts +1 -1
  37. package/package.json +1 -1
  38. package/docs/AbstractOrderRequestDTO.md +0 -33
  39. package/docs/AccountDetailedSummaryDTO.md +0 -39
  40. package/docs/AdminItemRequestDTO.md +0 -39
  41. package/docs/AdminOrderRequestDTO.md +0 -45
  42. package/docs/AdminUserModel.md +0 -29
  43. package/docs/BasicItemDTO.md +0 -23
  44. package/docs/BasicProductDTO.md +0 -23
  45. package/docs/CourierPriceEntity.md +0 -39
  46. package/docs/CustomerItemRequestDTO.md +0 -35
  47. package/docs/CustomerOrderRequestDTO.md +0 -33
  48. package/docs/LinkedOrderEntity.md +0 -23
  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/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 | null;
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
@@ -619,12 +503,6 @@ export interface AddressModel {
619
503
  * @memberof AddressModel
620
504
  */
621
505
  'company'?: string;
622
- /**
623
- * Default
624
- * @type {boolean}
625
- * @memberof AddressModel
626
- */
627
- 'default'?: boolean;
628
506
  }
629
507
  /**
630
508
  * Address Request
@@ -657,206 +535,6 @@ export interface AddressRequestModel {
657
535
  */
658
536
  'addressPostcode'?: string;
659
537
  }
660
- /**
661
- * Admin Order Item Request
662
- * @export
663
- * @interface AdminItemRequestDTO
664
- */
665
- export interface AdminItemRequestDTO {
666
- /**
667
- * SKU
668
- * @type {string}
669
- * @memberof AdminItemRequestDTO
670
- */
671
- 'sku'?: string;
672
- /**
673
- * Quantity
674
- * @type {number}
675
- * @memberof AdminItemRequestDTO
676
- */
677
- 'quantity'?: number;
678
- /**
679
- * ID
680
- * @type {number}
681
- * @memberof AdminItemRequestDTO
682
- */
683
- 'id'?: number | null;
684
- /**
685
- * 3CX Licence Key
686
- * @type {string}
687
- * @memberof AdminItemRequestDTO
688
- */
689
- 'licenceKey'?: string | null;
690
- /**
691
- * 3CX Hosting
692
- * @type {boolean}
693
- * @memberof AdminItemRequestDTO
694
- */
695
- 'hosting'?: boolean | null;
696
- /**
697
- * Date Time
698
- * @type {string}
699
- * @memberof AdminItemRequestDTO
700
- */
701
- 'processDate'?: string;
702
- /**
703
- * 3CX Sales Code
704
- * @type {string}
705
- * @memberof AdminItemRequestDTO
706
- */
707
- 'tcxSalesCode'?: string | null;
708
- /**
709
- * SBCS
710
- * @type {Array<TcxSbcDTO>}
711
- * @memberof AdminItemRequestDTO
712
- */
713
- 'sbcs'?: Array<TcxSbcDTO>;
714
- /**
715
- * Title
716
- * @type {string}
717
- * @memberof AdminItemRequestDTO
718
- */
719
- 'title'?: string | null;
720
- /**
721
- * Price (£)
722
- * @type {number}
723
- * @memberof AdminItemRequestDTO
724
- */
725
- 'itemPrice'?: number | null;
726
- }
727
- /**
728
- * Admin Order Request
729
- * @export
730
- * @interface AdminOrderRequestDTO
731
- */
732
- export interface AdminOrderRequestDTO {
733
- /**
734
- * Order Reference
735
- * @type {string}
736
- * @memberof AdminOrderRequestDTO
737
- */
738
- 'orderReference'?: string | null;
739
- /**
740
- * Items
741
- * @type {Array<AdminItemRequestDTO>}
742
- * @memberof AdminOrderRequestDTO
743
- */
744
- 'items'?: Array<AdminItemRequestDTO>;
745
- /**
746
- *
747
- * @type {ShippingServiceDTO}
748
- * @memberof AdminOrderRequestDTO
749
- */
750
- 'shippingService'?: ShippingServiceDTO;
751
- /**
752
- * Provisioning URL
753
- * @type {string}
754
- * @memberof AdminOrderRequestDTO
755
- */
756
- 'provisioningUrl'?: string | null;
757
- /**
758
- *
759
- * @type {AddressModel}
760
- * @memberof AdminOrderRequestDTO
761
- */
762
- 'shippingAddress'?: AddressModel;
763
- /**
764
- * Part Ship Order
765
- * @type {boolean}
766
- * @memberof AdminOrderRequestDTO
767
- */
768
- 'partShip'?: boolean;
769
- /**
770
- * Quote
771
- * @type {boolean}
772
- * @memberof AdminOrderRequestDTO
773
- */
774
- 'quote'?: boolean;
775
- /**
776
- * Customer ID
777
- * @type {number}
778
- * @memberof AdminOrderRequestDTO
779
- */
780
- 'customerId'?: number;
781
- /**
782
- * Contact
783
- * @type {string}
784
- * @memberof AdminOrderRequestDTO
785
- */
786
- 'contact'?: string;
787
- /**
788
- * Ignore Customer On Hold
789
- * @type {boolean}
790
- * @memberof AdminOrderRequestDTO
791
- */
792
- 'ignoreOnHold'?: boolean;
793
- /**
794
- * Ignore Customer Credit Limit
795
- * @type {boolean}
796
- * @memberof AdminOrderRequestDTO
797
- */
798
- 'ignoreCreditLimit'?: boolean;
799
- /**
800
- * Include NFR Promos
801
- * @type {boolean}
802
- * @memberof AdminOrderRequestDTO
803
- */
804
- 'includeNfrPromos'?: boolean;
805
- /**
806
- * Carriage Charge
807
- * @type {number}
808
- * @memberof AdminOrderRequestDTO
809
- */
810
- 'carriageCharge'?: number;
811
- }
812
- /**
813
- * Admin User
814
- * @export
815
- * @interface AdminUserModel
816
- */
817
- export interface AdminUserModel {
818
- /**
819
- * First Name
820
- * @type {string}
821
- * @memberof AdminUserModel
822
- */
823
- 'firstName'?: string;
824
- /**
825
- * Last Name
826
- * @type {string}
827
- * @memberof AdminUserModel
828
- */
829
- 'lastName'?: string;
830
- /**
831
- * Avatar
832
- * @type {string}
833
- * @memberof AdminUserModel
834
- */
835
- 'avatar'?: string | null;
836
- /**
837
- * Role
838
- * @type {number}
839
- * @memberof AdminUserModel
840
- */
841
- 'role'?: AdminUserModelRoleEnum;
842
- /**
843
- * Email
844
- * @type {string}
845
- * @memberof AdminUserModel
846
- */
847
- 'email'?: string | null;
848
- }
849
-
850
- export const AdminUserModelRoleEnum = {
851
- NUMBER_0: 0,
852
- NUMBER_1: 1,
853
- NUMBER_2: 2,
854
- NUMBER_3: 3,
855
- NUMBER_4: 4
856
- } as const;
857
-
858
- export type AdminUserModelRoleEnum = typeof AdminUserModelRoleEnum[keyof typeof AdminUserModelRoleEnum];
859
-
860
538
  /**
861
539
  * Agent Hours Graph
862
540
  * @export
@@ -1086,44 +764,6 @@ export interface AuthCodeResponseModel {
1086
764
  */
1087
765
  'redirect_uri'?: string | null;
1088
766
  }
1089
- /**
1090
- * Basic Order Item
1091
- * @export
1092
- * @interface BasicItemDTO
1093
- */
1094
- export interface BasicItemDTO {
1095
- /**
1096
- * SKU
1097
- * @type {string}
1098
- * @memberof BasicItemDTO
1099
- */
1100
- 'sku'?: string;
1101
- /**
1102
- * Quantity
1103
- * @type {number}
1104
- * @memberof BasicItemDTO
1105
- */
1106
- 'quantity'?: number;
1107
- }
1108
- /**
1109
- * Basic Product
1110
- * @export
1111
- * @interface BasicProductDTO
1112
- */
1113
- export interface BasicProductDTO {
1114
- /**
1115
- * SKU
1116
- * @type {string}
1117
- * @memberof BasicProductDTO
1118
- */
1119
- 'sku'?: string;
1120
- /**
1121
- * Title
1122
- * @type {string}
1123
- * @memberof BasicProductDTO
1124
- */
1125
- 'title'?: string;
1126
- }
1127
767
  /**
1128
768
  * BatchesEntity
1129
769
  * @export
@@ -1318,6 +958,12 @@ export interface ClientDetailsModel {
1318
958
  * @memberof ClientDetailsModel
1319
959
  */
1320
960
  'lastName'?: string;
961
+ /**
962
+ * User Profile Picture
963
+ * @type {string}
964
+ * @memberof ClientDetailsModel
965
+ */
966
+ 'image'?: string | null;
1321
967
  }
1322
968
  /**
1323
969
  * OAuth client details
@@ -1480,102 +1126,35 @@ export interface ConversationModel {
1480
1126
  'attachments'?: Array<AttachmentModel>;
1481
1127
  }
1482
1128
  /**
1483
- * CourierPricesEntity
1129
+ * Credit Account
1484
1130
  * @export
1485
- * @interface CourierPriceEntity
1131
+ * @interface CreditAccountEntity
1486
1132
  */
1487
- export interface CourierPriceEntity {
1133
+ export interface CreditAccountEntity {
1488
1134
  /**
1489
- * id
1135
+ * ID
1490
1136
  * @type {number}
1491
- * @memberof CourierPriceEntity
1137
+ * @memberof CreditAccountEntity
1492
1138
  */
1493
1139
  'id'?: number;
1494
1140
  /**
1495
- * courier
1141
+ * Contact Name
1496
1142
  * @type {string}
1497
- * @memberof CourierPriceEntity
1143
+ * @memberof CreditAccountEntity
1498
1144
  */
1499
- 'courier'?: string;
1145
+ 'name'?: string;
1500
1146
  /**
1501
- * destinationIso
1147
+ * Email
1502
1148
  * @type {string}
1503
- * @memberof CourierPriceEntity
1149
+ * @memberof CreditAccountEntity
1504
1150
  */
1505
- 'destinationIso'?: string;
1151
+ 'email'?: string;
1506
1152
  /**
1507
- * serviceDescription
1153
+ * Phone Number
1508
1154
  * @type {string}
1509
- * @memberof CourierPriceEntity
1155
+ * @memberof CreditAccountEntity
1510
1156
  */
1511
- 'serviceDescription'?: string;
1512
- /**
1513
- * flatRate
1514
- * @type {number}
1515
- * @memberof CourierPriceEntity
1516
- */
1517
- 'flatRate'?: number;
1518
- /**
1519
- * initialBox
1520
- * @type {number}
1521
- * @memberof CourierPriceEntity
1522
- */
1523
- 'initialBox'?: number;
1524
- /**
1525
- * initialKg
1526
- * @type {number}
1527
- * @memberof CourierPriceEntity
1528
- */
1529
- 'initialKg'?: number;
1530
- /**
1531
- * perBox
1532
- * @type {number}
1533
- * @memberof CourierPriceEntity
1534
- */
1535
- 'perBox'?: number;
1536
- /**
1537
- * perKg
1538
- * @type {number}
1539
- * @memberof CourierPriceEntity
1540
- */
1541
- 'perKg'?: number;
1542
- /**
1543
- * maxKg
1544
- * @type {number}
1545
- * @memberof CourierPriceEntity
1546
- */
1547
- 'maxKg'?: number;
1548
- }
1549
- /**
1550
- * Credit Account
1551
- * @export
1552
- * @interface CreditAccountEntity
1553
- */
1554
- export interface CreditAccountEntity {
1555
- /**
1556
- * ID
1557
- * @type {number}
1558
- * @memberof CreditAccountEntity
1559
- */
1560
- 'id'?: number;
1561
- /**
1562
- * Contact Name
1563
- * @type {string}
1564
- * @memberof CreditAccountEntity
1565
- */
1566
- 'name'?: string;
1567
- /**
1568
- * Email
1569
- * @type {string}
1570
- * @memberof CreditAccountEntity
1571
- */
1572
- 'email'?: string;
1573
- /**
1574
- * Phone Number
1575
- * @type {string}
1576
- * @memberof CreditAccountEntity
1577
- */
1578
- 'phone'?: string;
1157
+ 'phone'?: string;
1579
1158
  /**
1580
1159
  * Company Name
1581
1160
  * @type {string}
@@ -1728,110 +1307,6 @@ export interface CustomerInformationModel {
1728
1307
  */
1729
1308
  'contactLastName'?: string;
1730
1309
  }
1731
- /**
1732
- * Order Item Request
1733
- * @export
1734
- * @interface CustomerItemRequestDTO
1735
- */
1736
- export interface CustomerItemRequestDTO {
1737
- /**
1738
- * SKU
1739
- * @type {string}
1740
- * @memberof CustomerItemRequestDTO
1741
- */
1742
- 'sku'?: string;
1743
- /**
1744
- * Quantity
1745
- * @type {number}
1746
- * @memberof CustomerItemRequestDTO
1747
- */
1748
- 'quantity'?: number;
1749
- /**
1750
- * ID
1751
- * @type {number}
1752
- * @memberof CustomerItemRequestDTO
1753
- */
1754
- 'id'?: number | null;
1755
- /**
1756
- * 3CX Licence Key
1757
- * @type {string}
1758
- * @memberof CustomerItemRequestDTO
1759
- */
1760
- 'licenceKey'?: string | null;
1761
- /**
1762
- * 3CX Hosting
1763
- * @type {boolean}
1764
- * @memberof CustomerItemRequestDTO
1765
- */
1766
- 'hosting'?: boolean | null;
1767
- /**
1768
- * Date Time
1769
- * @type {string}
1770
- * @memberof CustomerItemRequestDTO
1771
- */
1772
- 'processDate'?: string;
1773
- /**
1774
- * 3CX Sales Code
1775
- * @type {string}
1776
- * @memberof CustomerItemRequestDTO
1777
- */
1778
- 'tcxSalesCode'?: string | null;
1779
- /**
1780
- * SBCS
1781
- * @type {Array<TcxSbcDTO>}
1782
- * @memberof CustomerItemRequestDTO
1783
- */
1784
- 'sbcs'?: Array<TcxSbcDTO>;
1785
- }
1786
- /**
1787
- * Order Request
1788
- * @export
1789
- * @interface CustomerOrderRequestDTO
1790
- */
1791
- export interface CustomerOrderRequestDTO {
1792
- /**
1793
- * Order Reference
1794
- * @type {string}
1795
- * @memberof CustomerOrderRequestDTO
1796
- */
1797
- 'orderReference'?: string | null;
1798
- /**
1799
- * Items
1800
- * @type {Array<CustomerItemRequestDTO>}
1801
- * @memberof CustomerOrderRequestDTO
1802
- */
1803
- 'items'?: Array<CustomerItemRequestDTO>;
1804
- /**
1805
- *
1806
- * @type {ShippingServiceDTO}
1807
- * @memberof CustomerOrderRequestDTO
1808
- */
1809
- 'shippingService'?: ShippingServiceDTO;
1810
- /**
1811
- * Provisioning URL
1812
- * @type {string}
1813
- * @memberof CustomerOrderRequestDTO
1814
- */
1815
- 'provisioningUrl'?: string | null;
1816
- /**
1817
- *
1818
- * @type {AddressModel}
1819
- * @memberof CustomerOrderRequestDTO
1820
- */
1821
- 'shippingAddress'?: AddressModel;
1822
- /**
1823
- * Part Ship Order
1824
- * @type {boolean}
1825
- * @memberof CustomerOrderRequestDTO
1826
- */
1827
- 'partShip'?: boolean;
1828
- /**
1829
- * Quote
1830
- * @type {boolean}
1831
- * @memberof CustomerOrderRequestDTO
1832
- */
1833
- 'quote'?: boolean;
1834
- }
1835
1310
  /**
1836
1311
  * Customer Price List
1837
1312
  * @export
@@ -2341,6 +1816,19 @@ export interface GenericFileModel {
2341
1816
  */
2342
1817
  'type'?: string;
2343
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
+ }
2344
1832
  /**
2345
1833
  *
2346
1834
  * @export
@@ -2941,36 +2429,36 @@ export interface InstanceUserCredentialsEntity {
2941
2429
  * @interface ItemDTO
2942
2430
  */
2943
2431
  export interface ItemDTO {
2944
- /**
2945
- * SKU
2946
- * @type {string}
2947
- * @memberof ItemDTO
2948
- */
2949
- 'sku'?: string;
2950
- /**
2951
- * Quantity
2952
- * @type {number}
2953
- * @memberof ItemDTO
2954
- */
2955
- 'quantity'?: number;
2956
2432
  /**
2957
2433
  * ID
2958
2434
  * @type {number}
2959
2435
  * @memberof ItemDTO
2960
2436
  */
2961
- 'id'?: number | null;
2437
+ 'id'?: number;
2962
2438
  /**
2963
2439
  * Order ID
2964
2440
  * @type {number}
2965
2441
  * @memberof ItemDTO
2966
2442
  */
2967
- 'orderId'?: number | null;
2443
+ 'orderId'?: number;
2968
2444
  /**
2969
2445
  * Title
2970
2446
  * @type {string}
2971
2447
  * @memberof ItemDTO
2972
2448
  */
2973
2449
  'title'?: string;
2450
+ /**
2451
+ * SKU
2452
+ * @type {string}
2453
+ * @memberof ItemDTO
2454
+ */
2455
+ 'sku'?: string;
2456
+ /**
2457
+ * Quantity
2458
+ * @type {number}
2459
+ * @memberof ItemDTO
2460
+ */
2461
+ 'quantity'?: number;
2974
2462
  /**
2975
2463
  * Price
2976
2464
  * @type {number}
@@ -2995,12 +2483,6 @@ export interface ItemDTO {
2995
2483
  * @memberof ItemDTO
2996
2484
  */
2997
2485
  'processDate'?: string;
2998
- /**
2999
- * 3CX Hosting
3000
- * @type {boolean}
3001
- * @memberof ItemDTO
3002
- */
3003
- 'hosting'?: boolean | null;
3004
2486
  /**
3005
2487
  * Promo Item
3006
2488
  * @type {boolean}
@@ -3012,25 +2494,7 @@ export interface ItemDTO {
3012
2494
  * @type {number}
3013
2495
  * @memberof ItemDTO
3014
2496
  */
3015
- 'refunded'?: number | null;
3016
- /**
3017
- * SBCs
3018
- * @type {Array<TcxSbcDTO>}
3019
- * @memberof ItemDTO
3020
- */
3021
- 'sbcs'?: Array<TcxSbcDTO> | null;
3022
- /**
3023
- * Readonly
3024
- * @type {boolean}
3025
- * @memberof ItemDTO
3026
- */
3027
- 'readonly'?: boolean;
3028
- /**
3029
- * 3CX Sales Code
3030
- * @type {string}
3031
- * @memberof ItemDTO
3032
- */
3033
- 'tcxSalesCode'?: string | null;
2497
+ 'refunded'?: number;
3034
2498
  }
3035
2499
  /**
3036
2500
  * ItemsEntity
@@ -3164,31 +2628,6 @@ export interface ItemEntity {
3164
2628
  * @memberof ItemEntity
3165
2629
  */
3166
2630
  'promoItem'?: number;
3167
- /**
3168
- * 3CX Sales Code
3169
- * @type {string}
3170
- * @memberof ItemEntity
3171
- */
3172
- 'tcxSalesCode'?: string | null;
3173
- }
3174
- /**
3175
- * LinkedOrdersEntity
3176
- * @export
3177
- * @interface LinkedOrderEntity
3178
- */
3179
- export interface LinkedOrderEntity {
3180
- /**
3181
- * orderId
3182
- * @type {number}
3183
- * @memberof LinkedOrderEntity
3184
- */
3185
- 'orderId'?: number;
3186
- /**
3187
- * linkedOrderId
3188
- * @type {number}
3189
- * @memberof LinkedOrderEntity
3190
- */
3191
- 'linkedOrderId'?: number;
3192
2631
  }
3193
2632
  /**
3194
2633
  * MFA Required
@@ -3849,19 +3288,13 @@ export interface OrderSummaryDTO {
3849
3288
  * @type {string}
3850
3289
  * @memberof OrderSummaryDTO
3851
3290
  */
3852
- 'reference'?: string | null;
3291
+ 'reference'?: string;
3853
3292
  /**
3854
3293
  * Invoice Number
3855
3294
  * @type {string}
3856
3295
  * @memberof OrderSummaryDTO
3857
3296
  */
3858
3297
  'invoiceNumber'?: string;
3859
- /**
3860
- * Invoice ID
3861
- * @type {string}
3862
- * @memberof OrderSummaryDTO
3863
- */
3864
- 'invoiceId'?: string | null;
3865
3298
  /**
3866
3299
  * Date Time
3867
3300
  * @type {string}
@@ -3916,24 +3349,6 @@ export interface OrderSummaryDTO {
3916
3349
  * @memberof OrderSummaryDTO
3917
3350
  */
3918
3351
  'fulfillable'?: boolean | null;
3919
- /**
3920
- * Provisioning URL
3921
- * @type {string}
3922
- * @memberof OrderSummaryDTO
3923
- */
3924
- 'provisioningUrl'?: string | null;
3925
- /**
3926
- *
3927
- * @type {ShippingServiceDTO}
3928
- * @memberof OrderSummaryDTO
3929
- */
3930
- 'shippingService'?: ShippingServiceDTO | null;
3931
- /**
3932
- * Readonly
3933
- * @type {boolean}
3934
- * @memberof OrderSummaryDTO
3935
- */
3936
- 'readonly'?: boolean;
3937
3352
  }
3938
3353
  /**
3939
3354
  * Order Totals
@@ -3983,12 +3398,6 @@ export interface OrderTotalModel {
3983
3398
  * @memberof OrderTotalModel
3984
3399
  */
3985
3400
  'currency'?: OrderTotalModelCurrencyEnum;
3986
- /**
3987
- * Delivery
3988
- * @type {number}
3989
- * @memberof OrderTotalModel
3990
- */
3991
- 'delivery'?: number | null;
3992
3401
  }
3993
3402
 
3994
3403
  export const OrderTotalModelCurrencyEnum = {
@@ -4370,31 +3779,6 @@ export interface PostGetClientCredentialsRequest {
4370
3779
  */
4371
3780
  'scopes'?: Array<string>;
4372
3781
  }
4373
- /**
4374
- *
4375
- * @export
4376
- * @interface PostGetProductForCustomerRequest
4377
- */
4378
- export interface PostGetProductForCustomerRequest {
4379
- /**
4380
- * Quantity
4381
- * @type {number}
4382
- * @memberof PostGetProductForCustomerRequest
4383
- */
4384
- 'quantity'?: number | null;
4385
- /**
4386
- * 3CX Licence Key
4387
- * @type {string}
4388
- * @memberof PostGetProductForCustomerRequest
4389
- */
4390
- 'licenceKey'?: string | null;
4391
- /**
4392
- * 3CX Hosting
4393
- * @type {boolean}
4394
- * @memberof PostGetProductForCustomerRequest
4395
- */
4396
- 'hosting'?: boolean | null;
4397
- }
4398
3782
  /**
4399
3783
  * Price & Stock List
4400
3784
  * @export
@@ -4483,10 +3867,10 @@ export interface PrizesEntity {
4483
3867
  export interface ProductSearchResultsModel {
4484
3868
  /**
4485
3869
  * Results
4486
- * @type {Array<ProductSummaryDTO>}
3870
+ * @type {Array<ProductSummaryModel>}
4487
3871
  * @memberof ProductSearchResultsModel
4488
3872
  */
4489
- 'results'?: Array<ProductSummaryDTO>;
3873
+ 'results'?: Array<ProductSummaryModel>;
4490
3874
  }
4491
3875
  /**
4492
3876
  * Product Serial Info
@@ -4522,51 +3906,45 @@ export interface ProductSerialInfoModel {
4522
3906
  /**
4523
3907
  * Product Summary
4524
3908
  * @export
4525
- * @interface ProductSummaryDTO
3909
+ * @interface ProductSummaryModel
4526
3910
  */
4527
- export interface ProductSummaryDTO {
3911
+ export interface ProductSummaryModel {
4528
3912
  /**
4529
3913
  * SKU
4530
3914
  * @type {string}
4531
- * @memberof ProductSummaryDTO
3915
+ * @memberof ProductSummaryModel
4532
3916
  */
4533
3917
  'sku'?: string;
4534
3918
  /**
4535
3919
  * Title
4536
3920
  * @type {string}
4537
- * @memberof ProductSummaryDTO
3921
+ * @memberof ProductSummaryModel
4538
3922
  */
4539
3923
  'title'?: string;
4540
3924
  /**
4541
3925
  * Stock Quantity
4542
3926
  * @type {number}
4543
- * @memberof ProductSummaryDTO
3927
+ * @memberof ProductSummaryModel
4544
3928
  */
4545
3929
  'quantity'?: number | null;
4546
3930
  /**
4547
3931
  * Stock Product
4548
3932
  * @type {boolean}
4549
- * @memberof ProductSummaryDTO
3933
+ * @memberof ProductSummaryModel
4550
3934
  */
4551
3935
  'stockProduct'?: boolean;
4552
3936
  /**
4553
3937
  * Price
4554
3938
  * @type {number}
4555
- * @memberof ProductSummaryDTO
3939
+ * @memberof ProductSummaryModel
4556
3940
  */
4557
3941
  'price'?: number | null;
4558
3942
  /**
4559
3943
  * Carton Size
4560
3944
  * @type {number}
4561
- * @memberof ProductSummaryDTO
3945
+ * @memberof ProductSummaryModel
4562
3946
  */
4563
3947
  'cartonSize'?: number | null;
4564
- /**
4565
- * RRP Price
4566
- * @type {number}
4567
- * @memberof ProductSummaryDTO
4568
- */
4569
- 'rrp'?: number | null;
4570
3948
  }
4571
3949
  /**
4572
3950
  * PromoCodesEntity
@@ -4705,37 +4083,37 @@ export interface PromoItemsEntity {
4705
4083
  /**
4706
4084
  * Provisioning Group
4707
4085
  * @export
4708
- * @interface ProvisioningModel
4086
+ * @interface ProvisioningEntity
4709
4087
  */
4710
- export interface ProvisioningModel {
4088
+ export interface ProvisioningEntity {
4711
4089
  /**
4712
4090
  * Provisioning Group Name
4713
4091
  * @type {string}
4714
- * @memberof ProvisioningModel
4092
+ * @memberof ProvisioningEntity
4715
4093
  */
4716
4094
  'groupName'?: string;
4717
4095
  /**
4718
4096
  * Provisioning URL (Static Provisioning Server)
4719
4097
  * @type {string}
4720
- * @memberof ProvisioningModel
4098
+ * @memberof ProvisioningEntity
4721
4099
  */
4722
4100
  'provisioningUrl'?: string;
4723
4101
  /**
4724
4102
  * Additional Authentication Secret
4725
4103
  * @type {string}
4726
- * @memberof ProvisioningModel
4104
+ * @memberof ProvisioningEntity
4727
4105
  */
4728
4106
  'auth'?: string;
4729
4107
  /**
4730
4108
  * Provisioning Group ID
4731
4109
  * @type {number}
4732
- * @memberof ProvisioningModel
4110
+ * @memberof ProvisioningEntity
4733
4111
  */
4734
4112
  'id'?: number;
4735
4113
  /**
4736
4114
  * Owner ID
4737
4115
  * @type {number}
4738
- * @memberof ProvisioningModel
4116
+ * @memberof ProvisioningEntity
4739
4117
  */
4740
4118
  'customerId'?: number;
4741
4119
  }
@@ -5089,7 +4467,7 @@ export interface ShipmentEntity {
5089
4467
  * @type {string}
5090
4468
  * @memberof ShipmentEntity
5091
4469
  */
5092
- 'dateShipped'?: string;
4470
+ 'date'?: string;
5093
4471
  /**
5094
4472
  * requestDate
5095
4473
  * @type {string}
@@ -5141,188 +4519,39 @@ export interface ShipmentItemEntity {
5141
4519
  'itemId'?: string;
5142
4520
  }
5143
4521
  /**
5144
- *
4522
+ * Change Response
5145
4523
  * @export
5146
- * @interface ShippingConsignmentModel
4524
+ * @interface SipTrunkChangeResponseModel
5147
4525
  */
5148
- export interface ShippingConsignmentModel {
4526
+ export interface SipTrunkChangeResponseModel {
5149
4527
  /**
5150
- *
5151
- * @type {ShippingServiceModel}
5152
- * @memberof ShippingConsignmentModel
4528
+ * ID
4529
+ * @type {string}
4530
+ * @memberof SipTrunkChangeResponseModel
5153
4531
  */
5154
- 'service'?: ShippingServiceModel;
4532
+ 'changeId'?: string;
5155
4533
  /**
5156
- * ID/Number
5157
- * @type {string}
5158
- * @memberof ShippingConsignmentModel
4534
+ *
4535
+ * @type {SipTrunkEntity}
4536
+ * @memberof SipTrunkChangeResponseModel
5159
4537
  */
5160
- 'id'?: string;
4538
+ 'trunk'?: SipTrunkEntity;
5161
4539
  /**
5162
- * Tracking Number
4540
+ * Type
5163
4541
  * @type {string}
5164
- * @memberof ShippingConsignmentModel
4542
+ * @memberof SipTrunkChangeResponseModel
5165
4543
  */
5166
- 'trackingNumber'?: string;
4544
+ 'type'?: SipTrunkChangeResponseModelTypeEnum;
5167
4545
  /**
5168
- * Parcels
5169
- * @type {Array<string>}
5170
- * @memberof ShippingConsignmentModel
4546
+ * Progress
4547
+ * @type {number}
4548
+ * @memberof SipTrunkChangeResponseModel
5171
4549
  */
5172
- 'parcelIds'?: Array<string>;
5173
- }
5174
- /**
5175
- * Shipping Information
5176
- * @export
5177
- * @interface ShippingInformationDTO
5178
- */
5179
- export interface ShippingInformationDTO {
4550
+ 'progress'?: number;
5180
4551
  /**
5181
- * Items
5182
- * @type {Array<BasicItemDTO>}
5183
- * @memberof ShippingInformationDTO
5184
- */
5185
- 'items'?: Array<BasicItemDTO>;
5186
- /**
5187
- * Destination Post Code
5188
- * @type {string}
5189
- * @memberof ShippingInformationDTO
5190
- */
5191
- 'postalCode'?: string;
5192
- /**
5193
- * Destination ISO
5194
- * @type {string}
5195
- * @memberof ShippingInformationDTO
5196
- */
5197
- 'iso'?: string;
5198
- }
5199
- /**
5200
- * Shipping Service
5201
- * @export
5202
- * @interface ShippingServiceDTO
5203
- */
5204
- export interface ShippingServiceDTO {
5205
- /**
5206
- * Courier
5207
- * @type {string}
5208
- * @memberof ShippingServiceDTO
5209
- */
5210
- 'courier'?: ShippingServiceDTOCourierEnum;
5211
- /**
5212
- * Service Name
5213
- * @type {string}
5214
- * @memberof ShippingServiceDTO
5215
- */
5216
- 'serviceName'?: string;
5217
- }
5218
-
5219
- export const ShippingServiceDTOCourierEnum = {
5220
- Dpd: 'DPD',
5221
- ChorltonPallet: 'Chorlton Pallet',
5222
- Pops: 'POPS'
5223
- } as const;
5224
-
5225
- export type ShippingServiceDTOCourierEnum = typeof ShippingServiceDTOCourierEnum[keyof typeof ShippingServiceDTOCourierEnum];
5226
-
5227
- /**
5228
- * Shipping Service
5229
- * @export
5230
- * @interface ShippingServiceModel
5231
- */
5232
- export interface ShippingServiceModel {
5233
- /**
5234
- * Courier
5235
- * @type {string}
5236
- * @memberof ShippingServiceModel
5237
- */
5238
- 'courier'?: ShippingServiceModelCourierEnum;
5239
- /**
5240
- * Code
5241
- * @type {string}
5242
- * @memberof ShippingServiceModel
5243
- */
5244
- 'code'?: string;
5245
- /**
5246
- * Name
5247
- * @type {string}
5248
- * @memberof ShippingServiceModel
5249
- */
5250
- 'name'?: string;
5251
- /**
5252
- * Description
5253
- * @type {string}
5254
- * @memberof ShippingServiceModel
5255
- */
5256
- 'description'?: string;
5257
- /**
5258
- * Label
5259
- * @type {string}
5260
- * @memberof ShippingServiceModel
5261
- */
5262
- 'label'?: string | null;
5263
- /**
5264
- * Price
5265
- * @type {number}
5266
- * @memberof ShippingServiceModel
5267
- */
5268
- 'price'?: number | null;
5269
- }
5270
-
5271
- export const ShippingServiceModelCourierEnum = {
5272
- Dpd: 'DPD',
5273
- ChorltonPallet: 'Chorlton Pallet',
5274
- Pops: 'POPS'
5275
- } as const;
5276
-
5277
- export type ShippingServiceModelCourierEnum = typeof ShippingServiceModelCourierEnum[keyof typeof ShippingServiceModelCourierEnum];
5278
-
5279
- /**
5280
- *
5281
- * @export
5282
- * @interface ShippingServicesModel
5283
- */
5284
- export interface ShippingServicesModel {
5285
- /**
5286
- * Services
5287
- * @type {Array<ShippingServiceModel>}
5288
- * @memberof ShippingServicesModel
5289
- */
5290
- 'services'?: Array<ShippingServiceModel>;
5291
- }
5292
- /**
5293
- * Change Response
5294
- * @export
5295
- * @interface SipTrunkChangeResponseModel
5296
- */
5297
- export interface SipTrunkChangeResponseModel {
5298
- /**
5299
- * ID
5300
- * @type {string}
5301
- * @memberof SipTrunkChangeResponseModel
5302
- */
5303
- 'changeId'?: string;
5304
- /**
5305
- *
5306
- * @type {SipTrunkEntity}
5307
- * @memberof SipTrunkChangeResponseModel
5308
- */
5309
- 'trunk'?: SipTrunkEntity;
5310
- /**
5311
- * Type
5312
- * @type {string}
5313
- * @memberof SipTrunkChangeResponseModel
5314
- */
5315
- 'type'?: SipTrunkChangeResponseModelTypeEnum;
5316
- /**
5317
- * Progress
5318
- * @type {number}
5319
- * @memberof SipTrunkChangeResponseModel
5320
- */
5321
- 'progress'?: number;
5322
- /**
5323
- * Service Provider
5324
- * @type {number}
5325
- * @memberof SipTrunkChangeResponseModel
4552
+ * Service Provider
4553
+ * @type {number}
4554
+ * @memberof SipTrunkChangeResponseModel
5326
4555
  */
5327
4556
  'provider'?: number;
5328
4557
  }
@@ -8128,49 +7357,6 @@ export interface TcxRemoteStorageModel {
8128
7357
  */
8129
7358
  'secretAccessKey'?: string;
8130
7359
  }
8131
- /**
8132
- * SBC Data
8133
- * @export
8134
- * @interface TcxSbcDTO
8135
- */
8136
- export interface TcxSbcDTO {
8137
- /**
8138
- * LAN IP Address
8139
- * @type {string}
8140
- * @memberof TcxSbcDTO
8141
- */
8142
- 'ipAddress'?: string;
8143
- /**
8144
- * LAN Default Gateway
8145
- * @type {string}
8146
- * @memberof TcxSbcDTO
8147
- */
8148
- 'defaultGateway'?: string;
8149
- /**
8150
- * LAN Subnet Mask
8151
- * @type {string}
8152
- * @memberof TcxSbcDTO
8153
- */
8154
- 'netmask'?: string;
8155
- /**
8156
- * DNS
8157
- * @type {string}
8158
- * @memberof TcxSbcDTO
8159
- */
8160
- 'dns'?: string;
8161
- /**
8162
- * 3CX URL
8163
- * @type {string}
8164
- * @memberof TcxSbcDTO
8165
- */
8166
- 'tcxUrl'?: string;
8167
- /**
8168
- * 3CX SBC Key
8169
- * @type {string}
8170
- * @memberof TcxSbcDTO
8171
- */
8172
- 'tcxKey'?: string;
8173
- }
8174
7360
  /**
8175
7361
  * 3CX Wizard SBC
8176
7362
  * @export
@@ -8275,7 +7461,7 @@ export interface TcxSbcEntity {
8275
7461
  'technicalContact'?: string;
8276
7462
  }
8277
7463
  /**
8278
- * 3CX Wizard SBC
7464
+ * 3CX SBC Model
8279
7465
  * @export
8280
7466
  * @interface TcxSbcModel
8281
7467
  */
@@ -9460,40 +8646,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
9460
8646
 
9461
8647
 
9462
8648
 
9463
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9464
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9465
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9466
-
9467
- return {
9468
- url: toPathString(localVarUrlObj),
9469
- options: localVarRequestOptions,
9470
- };
9471
- },
9472
- /**
9473
- * Get Account Detailed Summary
9474
- * @summary Get Account Detailed Summary
9475
- * @param {number} id Customer ID
9476
- * @param {*} [options] Override http request option.
9477
- * @throws {RequiredError}
9478
- */
9479
- getGetAccountDetailedSummary: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9480
- // verify required parameter 'id' is not null or undefined
9481
- assertParamExists('getGetAccountDetailedSummary', 'id', id)
9482
- const localVarPath = `/accounts/{id}/summary`
9483
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9484
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9485
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9486
- let baseOptions;
9487
- if (configuration) {
9488
- baseOptions = configuration.baseOptions;
9489
- }
9490
-
9491
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9492
- const localVarHeaderParameter = {} as any;
9493
- const localVarQueryParameter = {} as any;
9494
-
9495
-
9496
-
9497
8649
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9498
8650
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9499
8651
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -9792,36 +8944,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
9792
8944
  options: localVarRequestOptions,
9793
8945
  };
9794
8946
  },
9795
- /**
9796
- * Get Admin Account
9797
- * @summary Get Admin Account
9798
- * @param {*} [options] Override http request option.
9799
- * @throws {RequiredError}
9800
- */
9801
- postGetAdminAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9802
- const localVarPath = `/admin/me`;
9803
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9804
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9805
- let baseOptions;
9806
- if (configuration) {
9807
- baseOptions = configuration.baseOptions;
9808
- }
9809
-
9810
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9811
- const localVarHeaderParameter = {} as any;
9812
- const localVarQueryParameter = {} as any;
9813
-
9814
-
9815
-
9816
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9817
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9818
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9819
-
9820
- return {
9821
- url: toPathString(localVarUrlObj),
9822
- options: localVarRequestOptions,
9823
- };
9824
- },
9825
8947
  /**
9826
8948
  * Create client credentials
9827
8949
  * @summary Create client credentials
@@ -10071,19 +9193,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
10071
9193
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountContacts']?.[localVarOperationServerIndex]?.url;
10072
9194
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10073
9195
  },
10074
- /**
10075
- * Get Account Detailed Summary
10076
- * @summary Get Account Detailed Summary
10077
- * @param {number} id Customer ID
10078
- * @param {*} [options] Override http request option.
10079
- * @throws {RequiredError}
10080
- */
10081
- async getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDetailedSummaryDTO>> {
10082
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options);
10083
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10084
- const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountDetailedSummary']?.[localVarOperationServerIndex]?.url;
10085
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10086
- },
10087
9196
  /**
10088
9197
  * Get Accounts
10089
9198
  * @summary Get Accounts
@@ -10189,18 +9298,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
10189
9298
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAccounts']?.[localVarOperationServerIndex]?.url;
10190
9299
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10191
9300
  },
10192
- /**
10193
- * Get Admin Account
10194
- * @summary Get Admin Account
10195
- * @param {*} [options] Override http request option.
10196
- * @throws {RequiredError}
10197
- */
10198
- async postGetAdminAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminUserModel>> {
10199
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetAdminAccount(options);
10200
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10201
- const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAdminAccount']?.[localVarOperationServerIndex]?.url;
10202
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10203
- },
10204
9301
  /**
10205
9302
  * Create client credentials
10206
9303
  * @summary Create client credentials
@@ -10318,16 +9415,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
10318
9415
  getGetAccountContacts(email?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>> {
10319
9416
  return localVarFp.getGetAccountContacts(email, options).then((request) => request(axios, basePath));
10320
9417
  },
10321
- /**
10322
- * Get Account Detailed Summary
10323
- * @summary Get Account Detailed Summary
10324
- * @param {number} id Customer ID
10325
- * @param {*} [options] Override http request option.
10326
- * @throws {RequiredError}
10327
- */
10328
- getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AccountDetailedSummaryDTO> {
10329
- return localVarFp.getGetAccountDetailedSummary(id, options).then((request) => request(axios, basePath));
10330
- },
10331
9418
  /**
10332
9419
  * Get Accounts
10333
9420
  * @summary Get Accounts
@@ -10409,15 +9496,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
10409
9496
  postGetAccounts(accountRequestModel?: AccountRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<PortalAccountModel> {
10410
9497
  return localVarFp.postGetAccounts(accountRequestModel, options).then((request) => request(axios, basePath));
10411
9498
  },
10412
- /**
10413
- * Get Admin Account
10414
- * @summary Get Admin Account
10415
- * @param {*} [options] Override http request option.
10416
- * @throws {RequiredError}
10417
- */
10418
- postGetAdminAccount(options?: RawAxiosRequestConfig): AxiosPromise<AdminUserModel> {
10419
- return localVarFp.postGetAdminAccount(options).then((request) => request(axios, basePath));
10420
- },
10421
9499
  /**
10422
9500
  * Create client credentials
10423
9501
  * @summary Create client credentials
@@ -10528,18 +9606,6 @@ export class AccountsApi extends BaseAPI {
10528
9606
  return AccountsApiFp(this.configuration).getGetAccountContacts(email, options).then((request) => request(this.axios, this.basePath));
10529
9607
  }
10530
9608
 
10531
- /**
10532
- * Get Account Detailed Summary
10533
- * @summary Get Account Detailed Summary
10534
- * @param {number} id Customer ID
10535
- * @param {*} [options] Override http request option.
10536
- * @throws {RequiredError}
10537
- * @memberof AccountsApi
10538
- */
10539
- public getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig) {
10540
- return AccountsApiFp(this.configuration).getGetAccountDetailedSummary(id, options).then((request) => request(this.axios, this.basePath));
10541
- }
10542
-
10543
9609
  /**
10544
9610
  * Get Accounts
10545
9611
  * @summary Get Accounts
@@ -10637,17 +9703,6 @@ export class AccountsApi extends BaseAPI {
10637
9703
  return AccountsApiFp(this.configuration).postGetAccounts(accountRequestModel, options).then((request) => request(this.axios, this.basePath));
10638
9704
  }
10639
9705
 
10640
- /**
10641
- * Get Admin Account
10642
- * @summary Get Admin Account
10643
- * @param {*} [options] Override http request option.
10644
- * @throws {RequiredError}
10645
- * @memberof AccountsApi
10646
- */
10647
- public postGetAdminAccount(options?: RawAxiosRequestConfig) {
10648
- return AccountsApiFp(this.configuration).postGetAdminAccount(options).then((request) => request(this.axios, this.basePath));
10649
- }
10650
-
10651
9706
  /**
10652
9707
  * Create client credentials
10653
9708
  * @summary Create client credentials
@@ -10748,6 +9803,43 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
10748
9803
 
10749
9804
 
10750
9805
 
9806
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9807
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9808
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9809
+
9810
+ return {
9811
+ url: toPathString(localVarUrlObj),
9812
+ options: localVarRequestOptions,
9813
+ };
9814
+ },
9815
+ /**
9816
+ * Generate a 3CX hashed password for 3CX installation
9817
+ * @summary Convert a password to a hashed 3CX password
9818
+ * @param {string} password Desired 3CX web access password
9819
+ * @param {*} [options] Override http request option.
9820
+ * @throws {RequiredError}
9821
+ */
9822
+ getGetPasswordHash: async (password: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9823
+ // verify required parameter 'password' is not null or undefined
9824
+ assertParamExists('getGetPasswordHash', 'password', password)
9825
+ const localVarPath = `/tcx/pwd2hash`;
9826
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9827
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9828
+ let baseOptions;
9829
+ if (configuration) {
9830
+ baseOptions = configuration.baseOptions;
9831
+ }
9832
+
9833
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9834
+ const localVarHeaderParameter = {} as any;
9835
+ const localVarQueryParameter = {} as any;
9836
+
9837
+ if (password !== undefined) {
9838
+ localVarQueryParameter['password'] = password;
9839
+ }
9840
+
9841
+
9842
+
10751
9843
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10752
9844
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10753
9845
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -10814,6 +9906,19 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
10814
9906
  const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetLicenceDetails']?.[localVarOperationServerIndex]?.url;
10815
9907
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10816
9908
  },
9909
+ /**
9910
+ * Generate a 3CX hashed password for 3CX installation
9911
+ * @summary Convert a password to a hashed 3CX password
9912
+ * @param {string} password Desired 3CX web access password
9913
+ * @param {*} [options] Override http request option.
9914
+ * @throws {RequiredError}
9915
+ */
9916
+ async getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGetPasswordHash200Response>> {
9917
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetPasswordHash(password, options);
9918
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9919
+ const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetPasswordHash']?.[localVarOperationServerIndex]?.url;
9920
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9921
+ },
10817
9922
  /**
10818
9923
  * Get Bulk 3CX Licence Details
10819
9924
  * @summary Get bulk 3CX Licence Details
@@ -10848,7 +9953,17 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
10848
9953
  return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
10849
9954
  },
10850
9955
  /**
10851
- * Get Bulk 3CX Licence Details
9956
+ * Generate a 3CX hashed password for 3CX installation
9957
+ * @summary Convert a password to a hashed 3CX password
9958
+ * @param {string} password Desired 3CX web access password
9959
+ * @param {*} [options] Override http request option.
9960
+ * @throws {RequiredError}
9961
+ */
9962
+ getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): AxiosPromise<GetGetPasswordHash200Response> {
9963
+ return localVarFp.getGetPasswordHash(password, options).then((request) => request(axios, basePath));
9964
+ },
9965
+ /**
9966
+ * Get Bulk 3CX Licence Details
10852
9967
  * @summary Get bulk 3CX Licence Details
10853
9968
  * @param {Array<string>} [requestBody] Licence Lookup Request
10854
9969
  * @param {*} [options] Override http request option.
@@ -10879,6 +9994,18 @@ export class Class3CXApi extends BaseAPI {
10879
9994
  return Class3CXApiFp(this.configuration).getGetLicenceDetails(key, options).then((request) => request(this.axios, this.basePath));
10880
9995
  }
10881
9996
 
9997
+ /**
9998
+ * Generate a 3CX hashed password for 3CX installation
9999
+ * @summary Convert a password to a hashed 3CX password
10000
+ * @param {string} password Desired 3CX web access password
10001
+ * @param {*} [options] Override http request option.
10002
+ * @throws {RequiredError}
10003
+ * @memberof Class3CXApi
10004
+ */
10005
+ public getGetPasswordHash(password: string, options?: RawAxiosRequestConfig) {
10006
+ return Class3CXApiFp(this.configuration).getGetPasswordHash(password, options).then((request) => request(this.axios, this.basePath));
10007
+ }
10008
+
10882
10009
  /**
10883
10010
  * Get Bulk 3CX Licence Details
10884
10011
  * @summary Get bulk 3CX Licence Details
@@ -16035,14 +15162,13 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
16035
15162
  return {
16036
15163
  /**
16037
15164
  * Delete Orders
16038
- * @summary Delete Orders
16039
15165
  * @param {number} id Order ID
16040
15166
  * @param {*} [options] Override http request option.
16041
15167
  * @throws {RequiredError}
16042
15168
  */
16043
- deleteUpdateOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15169
+ deleteDeleteOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16044
15170
  // verify required parameter 'id' is not null or undefined
16045
- assertParamExists('deleteUpdateOrder', 'id', id)
15171
+ assertParamExists('deleteDeleteOrder', 'id', id)
16046
15172
  const localVarPath = `/orders/{id}`
16047
15173
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16048
15174
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -16058,74 +15184,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
16058
15184
 
16059
15185
 
16060
15186
 
16061
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16062
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16063
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16064
-
16065
- return {
16066
- url: toPathString(localVarUrlObj),
16067
- options: localVarRequestOptions,
16068
- };
16069
- },
16070
- /**
16071
- * Get Editable Order (Admin)
16072
- * @summary Get Editable Order (Admin)
16073
- * @param {number} id Order ID
16074
- * @param {*} [options] Override http request option.
16075
- * @throws {RequiredError}
16076
- */
16077
- getGetAdminEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16078
- // verify required parameter 'id' is not null or undefined
16079
- assertParamExists('getGetAdminEditableOrder', 'id', id)
16080
- const localVarPath = `/admin/orders/{id}/views/editable`
16081
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16082
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16083
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16084
- let baseOptions;
16085
- if (configuration) {
16086
- baseOptions = configuration.baseOptions;
16087
- }
16088
-
16089
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16090
- const localVarHeaderParameter = {} as any;
16091
- const localVarQueryParameter = {} as any;
16092
-
16093
-
16094
-
16095
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16096
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16097
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16098
-
16099
- return {
16100
- url: toPathString(localVarUrlObj),
16101
- options: localVarRequestOptions,
16102
- };
16103
- },
16104
- /**
16105
- * Get Editable Order
16106
- * @summary Get Editable Order
16107
- * @param {number} id Order ID
16108
- * @param {*} [options] Override http request option.
16109
- * @throws {RequiredError}
16110
- */
16111
- getGetEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16112
- // verify required parameter 'id' is not null or undefined
16113
- assertParamExists('getGetEditableOrder', 'id', id)
16114
- const localVarPath = `/orders/{id}/views/editable`
16115
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16116
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16117
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16118
- let baseOptions;
16119
- if (configuration) {
16120
- baseOptions = configuration.baseOptions;
16121
- }
16122
-
16123
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16124
- const localVarHeaderParameter = {} as any;
16125
- const localVarQueryParameter = {} as any;
16126
-
16127
-
16128
-
16129
15187
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16130
15188
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16131
15189
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -16195,170 +15253,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
16195
15253
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16196
15254
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16197
15255
 
16198
- return {
16199
- url: toPathString(localVarUrlObj),
16200
- options: localVarRequestOptions,
16201
- };
16202
- },
16203
- /**
16204
- * Create An Order (Admin)
16205
- * @summary Create An Order (Admin)
16206
- * @param {boolean} [readonly] Readonly Order
16207
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16208
- * @param {*} [options] Override http request option.
16209
- * @throws {RequiredError}
16210
- */
16211
- postCreateAdminOrder: async (readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16212
- const localVarPath = `/admin/orders`;
16213
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16214
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16215
- let baseOptions;
16216
- if (configuration) {
16217
- baseOptions = configuration.baseOptions;
16218
- }
16219
-
16220
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16221
- const localVarHeaderParameter = {} as any;
16222
- const localVarQueryParameter = {} as any;
16223
-
16224
- if (readonly !== undefined) {
16225
- localVarQueryParameter['readonly'] = readonly;
16226
- }
16227
-
16228
-
16229
-
16230
- localVarHeaderParameter['Content-Type'] = 'application/json';
16231
-
16232
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16233
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16234
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16235
- localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
16236
-
16237
- return {
16238
- url: toPathString(localVarUrlObj),
16239
- options: localVarRequestOptions,
16240
- };
16241
- },
16242
- /**
16243
- * Create An Order
16244
- * @summary Create An Order
16245
- * @param {boolean} [readonly] Readonly Order
16246
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16247
- * @param {*} [options] Override http request option.
16248
- * @throws {RequiredError}
16249
- */
16250
- postGetOrders: async (readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16251
- const localVarPath = `/orders`;
16252
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16253
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16254
- let baseOptions;
16255
- if (configuration) {
16256
- baseOptions = configuration.baseOptions;
16257
- }
16258
-
16259
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16260
- const localVarHeaderParameter = {} as any;
16261
- const localVarQueryParameter = {} as any;
16262
-
16263
- if (readonly !== undefined) {
16264
- localVarQueryParameter['readonly'] = readonly;
16265
- }
16266
-
16267
-
16268
-
16269
- localVarHeaderParameter['Content-Type'] = 'application/json';
16270
-
16271
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16272
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16273
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16274
- localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
16275
-
16276
- return {
16277
- url: toPathString(localVarUrlObj),
16278
- options: localVarRequestOptions,
16279
- };
16280
- },
16281
- /**
16282
- * Update An Order (Admin)
16283
- * @summary Update An Order (Admin)
16284
- * @param {number} id Order ID
16285
- * @param {boolean} [readonly] Readonly Order
16286
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16287
- * @param {*} [options] Override http request option.
16288
- * @throws {RequiredError}
16289
- */
16290
- putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16291
- // verify required parameter 'id' is not null or undefined
16292
- assertParamExists('putUpdateAdminOrder', 'id', id)
16293
- const localVarPath = `/admin/orders/{id}`
16294
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16295
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16296
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16297
- let baseOptions;
16298
- if (configuration) {
16299
- baseOptions = configuration.baseOptions;
16300
- }
16301
-
16302
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
16303
- const localVarHeaderParameter = {} as any;
16304
- const localVarQueryParameter = {} as any;
16305
-
16306
- if (readonly !== undefined) {
16307
- localVarQueryParameter['readonly'] = readonly;
16308
- }
16309
-
16310
-
16311
-
16312
- localVarHeaderParameter['Content-Type'] = 'application/json';
16313
-
16314
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16315
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16316
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16317
- localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
16318
-
16319
- return {
16320
- url: toPathString(localVarUrlObj),
16321
- options: localVarRequestOptions,
16322
- };
16323
- },
16324
- /**
16325
- * Update An Order
16326
- * @summary Update An Order
16327
- * @param {number} id Order ID
16328
- * @param {boolean} [readonly] Readonly Order
16329
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16330
- * @param {*} [options] Override http request option.
16331
- * @throws {RequiredError}
16332
- */
16333
- putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16334
- // verify required parameter 'id' is not null or undefined
16335
- assertParamExists('putUpdateOrder', 'id', id)
16336
- const localVarPath = `/orders/{id}`
16337
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16338
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16339
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16340
- let baseOptions;
16341
- if (configuration) {
16342
- baseOptions = configuration.baseOptions;
16343
- }
16344
-
16345
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
16346
- const localVarHeaderParameter = {} as any;
16347
- const localVarQueryParameter = {} as any;
16348
-
16349
- if (readonly !== undefined) {
16350
- localVarQueryParameter['readonly'] = readonly;
16351
- }
16352
-
16353
-
16354
-
16355
- localVarHeaderParameter['Content-Type'] = 'application/json';
16356
-
16357
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16358
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16359
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16360
- localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
16361
-
16362
15256
  return {
16363
15257
  url: toPathString(localVarUrlObj),
16364
15258
  options: localVarRequestOptions,
@@ -16376,41 +15270,14 @@ export const OrdersApiFp = function(configuration?: Configuration) {
16376
15270
  return {
16377
15271
  /**
16378
15272
  * Delete Orders
16379
- * @summary Delete Orders
16380
15273
  * @param {number} id Order ID
16381
15274
  * @param {*} [options] Override http request option.
16382
15275
  * @throws {RequiredError}
16383
15276
  */
16384
- async deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
16385
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUpdateOrder(id, options);
15277
+ async deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
15278
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeleteOrder(id, options);
16386
15279
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16387
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteUpdateOrder']?.[localVarOperationServerIndex]?.url;
16388
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16389
- },
16390
- /**
16391
- * Get Editable Order (Admin)
16392
- * @summary Get Editable Order (Admin)
16393
- * @param {number} id Order ID
16394
- * @param {*} [options] Override http request option.
16395
- * @throws {RequiredError}
16396
- */
16397
- async getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminOrderRequestDTO>> {
16398
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAdminEditableOrder(id, options);
16399
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16400
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetAdminEditableOrder']?.[localVarOperationServerIndex]?.url;
16401
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16402
- },
16403
- /**
16404
- * Get Editable Order
16405
- * @summary Get Editable Order
16406
- * @param {number} id Order ID
16407
- * @param {*} [options] Override http request option.
16408
- * @throws {RequiredError}
16409
- */
16410
- async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomerOrderRequestDTO>> {
16411
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
16412
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16413
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
15280
+ const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteDeleteOrder']?.[localVarOperationServerIndex]?.url;
16414
15281
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16415
15282
  },
16416
15283
  /**
@@ -16432,64 +15299,6 @@ export const OrdersApiFp = function(configuration?: Configuration) {
16432
15299
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
16433
15300
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16434
15301
  },
16435
- /**
16436
- * Create An Order (Admin)
16437
- * @summary Create An Order (Admin)
16438
- * @param {boolean} [readonly] Readonly Order
16439
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16440
- * @param {*} [options] Override http request option.
16441
- * @throws {RequiredError}
16442
- */
16443
- async postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16444
- const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options);
16445
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16446
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
16447
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16448
- },
16449
- /**
16450
- * Create An Order
16451
- * @summary Create An Order
16452
- * @param {boolean} [readonly] Readonly Order
16453
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16454
- * @param {*} [options] Override http request option.
16455
- * @throws {RequiredError}
16456
- */
16457
- async postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16458
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options);
16459
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16460
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
16461
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16462
- },
16463
- /**
16464
- * Update An Order (Admin)
16465
- * @summary Update An Order (Admin)
16466
- * @param {number} id Order ID
16467
- * @param {boolean} [readonly] Readonly Order
16468
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16469
- * @param {*} [options] Override http request option.
16470
- * @throws {RequiredError}
16471
- */
16472
- async putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16473
- const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options);
16474
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16475
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateAdminOrder']?.[localVarOperationServerIndex]?.url;
16476
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16477
- },
16478
- /**
16479
- * Update An Order
16480
- * @summary Update An Order
16481
- * @param {number} id Order ID
16482
- * @param {boolean} [readonly] Readonly Order
16483
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16484
- * @param {*} [options] Override http request option.
16485
- * @throws {RequiredError}
16486
- */
16487
- async putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16488
- const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateOrder(id, readonly, customerOrderRequestDTO, options);
16489
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16490
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateOrder']?.[localVarOperationServerIndex]?.url;
16491
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16492
- },
16493
15302
  }
16494
15303
  };
16495
15304
 
@@ -16502,33 +15311,12 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
16502
15311
  return {
16503
15312
  /**
16504
15313
  * Delete Orders
16505
- * @summary Delete Orders
16506
15314
  * @param {number} id Order ID
16507
15315
  * @param {*} [options] Override http request option.
16508
15316
  * @throws {RequiredError}
16509
15317
  */
16510
- deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
16511
- return localVarFp.deleteUpdateOrder(id, options).then((request) => request(axios, basePath));
16512
- },
16513
- /**
16514
- * Get Editable Order (Admin)
16515
- * @summary Get Editable Order (Admin)
16516
- * @param {number} id Order ID
16517
- * @param {*} [options] Override http request option.
16518
- * @throws {RequiredError}
16519
- */
16520
- getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AdminOrderRequestDTO> {
16521
- return localVarFp.getGetAdminEditableOrder(id, options).then((request) => request(axios, basePath));
16522
- },
16523
- /**
16524
- * Get Editable Order
16525
- * @summary Get Editable Order
16526
- * @param {number} id Order ID
16527
- * @param {*} [options] Override http request option.
16528
- * @throws {RequiredError}
16529
- */
16530
- getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<CustomerOrderRequestDTO> {
16531
- return localVarFp.getGetEditableOrder(id, options).then((request) => request(axios, basePath));
15318
+ deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
15319
+ return localVarFp.deleteDeleteOrder(id, options).then((request) => request(axios, basePath));
16532
15320
  },
16533
15321
  /**
16534
15322
  * Get Orders
@@ -16546,52 +15334,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
16546
15334
  getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel> {
16547
15335
  return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(axios, basePath));
16548
15336
  },
16549
- /**
16550
- * Create An Order (Admin)
16551
- * @summary Create An Order (Admin)
16552
- * @param {boolean} [readonly] Readonly Order
16553
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16554
- * @param {*} [options] Override http request option.
16555
- * @throws {RequiredError}
16556
- */
16557
- postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16558
- return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
16559
- },
16560
- /**
16561
- * Create An Order
16562
- * @summary Create An Order
16563
- * @param {boolean} [readonly] Readonly Order
16564
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16565
- * @param {*} [options] Override http request option.
16566
- * @throws {RequiredError}
16567
- */
16568
- postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16569
- return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
16570
- },
16571
- /**
16572
- * Update An Order (Admin)
16573
- * @summary Update An Order (Admin)
16574
- * @param {number} id Order ID
16575
- * @param {boolean} [readonly] Readonly Order
16576
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16577
- * @param {*} [options] Override http request option.
16578
- * @throws {RequiredError}
16579
- */
16580
- putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16581
- return localVarFp.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
16582
- },
16583
- /**
16584
- * Update An Order
16585
- * @summary Update An Order
16586
- * @param {number} id Order ID
16587
- * @param {boolean} [readonly] Readonly Order
16588
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16589
- * @param {*} [options] Override http request option.
16590
- * @throws {RequiredError}
16591
- */
16592
- putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16593
- return localVarFp.putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
16594
- },
16595
15337
  };
16596
15338
  };
16597
15339
 
@@ -16604,38 +15346,13 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
16604
15346
  export class OrdersApi extends BaseAPI {
16605
15347
  /**
16606
15348
  * Delete Orders
16607
- * @summary Delete Orders
16608
15349
  * @param {number} id Order ID
16609
15350
  * @param {*} [options] Override http request option.
16610
15351
  * @throws {RequiredError}
16611
15352
  * @memberof OrdersApi
16612
15353
  */
16613
- public deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig) {
16614
- return OrdersApiFp(this.configuration).deleteUpdateOrder(id, options).then((request) => request(this.axios, this.basePath));
16615
- }
16616
-
16617
- /**
16618
- * Get Editable Order (Admin)
16619
- * @summary Get Editable Order (Admin)
16620
- * @param {number} id Order ID
16621
- * @param {*} [options] Override http request option.
16622
- * @throws {RequiredError}
16623
- * @memberof OrdersApi
16624
- */
16625
- public getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig) {
16626
- return OrdersApiFp(this.configuration).getGetAdminEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
16627
- }
16628
-
16629
- /**
16630
- * Get Editable Order
16631
- * @summary Get Editable Order
16632
- * @param {number} id Order ID
16633
- * @param {*} [options] Override http request option.
16634
- * @throws {RequiredError}
16635
- * @memberof OrdersApi
16636
- */
16637
- public getGetEditableOrder(id: number, options?: RawAxiosRequestConfig) {
16638
- return OrdersApiFp(this.configuration).getGetEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
15354
+ public deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig) {
15355
+ return OrdersApiFp(this.configuration).deleteDeleteOrder(id, options).then((request) => request(this.axios, this.basePath));
16639
15356
  }
16640
15357
 
16641
15358
  /**
@@ -16655,60 +15372,6 @@ export class OrdersApi extends BaseAPI {
16655
15372
  public getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) {
16656
15373
  return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
16657
15374
  }
16658
-
16659
- /**
16660
- * Create An Order (Admin)
16661
- * @summary Create An Order (Admin)
16662
- * @param {boolean} [readonly] Readonly Order
16663
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16664
- * @param {*} [options] Override http request option.
16665
- * @throws {RequiredError}
16666
- * @memberof OrdersApi
16667
- */
16668
- public postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
16669
- return OrdersApiFp(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16670
- }
16671
-
16672
- /**
16673
- * Create An Order
16674
- * @summary Create An Order
16675
- * @param {boolean} [readonly] Readonly Order
16676
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16677
- * @param {*} [options] Override http request option.
16678
- * @throws {RequiredError}
16679
- * @memberof OrdersApi
16680
- */
16681
- public postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
16682
- return OrdersApiFp(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16683
- }
16684
-
16685
- /**
16686
- * Update An Order (Admin)
16687
- * @summary Update An Order (Admin)
16688
- * @param {number} id Order ID
16689
- * @param {boolean} [readonly] Readonly Order
16690
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16691
- * @param {*} [options] Override http request option.
16692
- * @throws {RequiredError}
16693
- * @memberof OrdersApi
16694
- */
16695
- public putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
16696
- return OrdersApiFp(this.configuration).putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16697
- }
16698
-
16699
- /**
16700
- * Update An Order
16701
- * @summary Update An Order
16702
- * @param {number} id Order ID
16703
- * @param {boolean} [readonly] Readonly Order
16704
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16705
- * @param {*} [options] Override http request option.
16706
- * @throws {RequiredError}
16707
- * @memberof OrdersApi
16708
- */
16709
- public putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
16710
- return OrdersApiFp(this.configuration).putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16711
- }
16712
15375
  }
16713
15376
 
16714
15377
  /**
@@ -17089,47 +15752,13 @@ export type PostSendPriceListCategoryEnum = typeof PostSendPriceListCategoryEnum
17089
15752
  export const ProductsApiAxiosParamCreator = function (configuration?: Configuration) {
17090
15753
  return {
17091
15754
  /**
17092
- * Get Attribute Sets
17093
- * @summary Get Attribute Sets
17094
- * @param {*} [options] Override http request option.
17095
- * @throws {RequiredError}
17096
- */
17097
- getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17098
- const localVarPath = `/products/attributes`;
17099
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17100
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17101
- let baseOptions;
17102
- if (configuration) {
17103
- baseOptions = configuration.baseOptions;
17104
- }
17105
-
17106
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17107
- const localVarHeaderParameter = {} as any;
17108
- const localVarQueryParameter = {} as any;
17109
-
17110
-
17111
-
17112
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17113
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17114
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17115
-
17116
- return {
17117
- url: toPathString(localVarUrlObj),
17118
- options: localVarRequestOptions,
17119
- };
17120
- },
17121
- /**
17122
- * Get Current Stock & Pricing
17123
- * @summary Get Current Stock & Pricing
17124
- * @param {GetGetLegacyStockListFormatEnum} format File Format
15755
+ * Get Attribute Sets
15756
+ * @summary Get Attribute Sets
17125
15757
  * @param {*} [options] Override http request option.
17126
- * @deprecated
17127
15758
  * @throws {RequiredError}
17128
15759
  */
17129
- getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17130
- // verify required parameter 'format' is not null or undefined
17131
- assertParamExists('getGetLegacyStockList', 'format', format)
17132
- const localVarPath = `/products/stock/legacy`;
15760
+ getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15761
+ const localVarPath = `/products/attributes`;
17133
15762
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17134
15763
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17135
15764
  let baseOptions;
@@ -17141,10 +15770,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17141
15770
  const localVarHeaderParameter = {} as any;
17142
15771
  const localVarQueryParameter = {} as any;
17143
15772
 
17144
- if (format !== undefined) {
17145
- localVarQueryParameter['format'] = format;
17146
- }
17147
-
17148
15773
 
17149
15774
 
17150
15775
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -17157,13 +15782,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17157
15782
  };
17158
15783
  },
17159
15784
  /**
17160
- * Get Products
17161
- * @summary Get Products
15785
+ * Get Customer Price Lists
15786
+ * @summary Get Customer Price Lists
17162
15787
  * @param {*} [options] Override http request option.
17163
15788
  * @throws {RequiredError}
17164
15789
  */
17165
- getGetProducts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17166
- const localVarPath = `/products`;
15790
+ getGetCustomerPriceLists: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15791
+ const localVarPath = `/products/prices/lists`;
17167
15792
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17168
15793
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17169
15794
  let baseOptions;
@@ -17189,11 +15814,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17189
15814
  /**
17190
15815
  * Get Current Stock & Pricing
17191
15816
  * @summary Get Current Stock & Pricing
15817
+ * @param {GetGetLegacyStockListFormatEnum} format File Format
17192
15818
  * @param {*} [options] Override http request option.
15819
+ * @deprecated
17193
15820
  * @throws {RequiredError}
17194
15821
  */
17195
- getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17196
- const localVarPath = `/products/stock`;
15822
+ getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15823
+ // verify required parameter 'format' is not null or undefined
15824
+ assertParamExists('getGetLegacyStockList', 'format', format)
15825
+ const localVarPath = `/products/stock/legacy`;
17197
15826
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17198
15827
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17199
15828
  let baseOptions;
@@ -17205,36 +15834,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17205
15834
  const localVarHeaderParameter = {} as any;
17206
15835
  const localVarQueryParameter = {} as any;
17207
15836
 
17208
-
17209
-
17210
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17211
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17212
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17213
-
17214
- return {
17215
- url: toPathString(localVarUrlObj),
17216
- options: localVarRequestOptions,
17217
- };
17218
- },
17219
- /**
17220
- * Get 3CX Templates
17221
- * @summary Get 3CX Templates
17222
- * @param {*} [options] Override http request option.
17223
- * @throws {RequiredError}
17224
- */
17225
- getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17226
- const localVarPath = `/products/attributes/tcx/templates`;
17227
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17228
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17229
- let baseOptions;
17230
- if (configuration) {
17231
- baseOptions = configuration.baseOptions;
15837
+ if (format !== undefined) {
15838
+ localVarQueryParameter['format'] = format;
17232
15839
  }
17233
15840
 
17234
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17235
- const localVarHeaderParameter = {} as any;
17236
- const localVarQueryParameter = {} as any;
17237
-
17238
15841
 
17239
15842
 
17240
15843
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -17247,15 +15850,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17247
15850
  };
17248
15851
  },
17249
15852
  /**
17250
- * Search Products
17251
- * @summary Search Products
15853
+ * Get Products
15854
+ * @summary Get Products
17252
15855
  * @param {number} [pageSize] Number Of Results
17253
15856
  * @param {number} [page] Page Number
17254
15857
  * @param {string} [search] Search
17255
15858
  * @param {*} [options] Override http request option.
17256
15859
  * @throws {RequiredError}
17257
15860
  */
17258
- getSearchProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15861
+ getGetProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17259
15862
  const localVarPath = `/products/search`;
17260
15863
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17261
15864
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -17292,20 +15895,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17292
15895
  };
17293
15896
  },
17294
15897
  /**
17295
- * Get Product
17296
- * @summary Get Product
17297
- * @param {string} sku Product SKU
17298
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15898
+ * Get Current Stock & Pricing
15899
+ * @summary Get Current Stock & Pricing
17299
15900
  * @param {*} [options] Override http request option.
17300
15901
  * @throws {RequiredError}
17301
15902
  */
17302
- postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17303
- // verify required parameter 'sku' is not null or undefined
17304
- assertParamExists('postGetProduct', 'sku', sku)
17305
- // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
17306
- assertParamExists('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
17307
- const localVarPath = `/products/{sku}`
17308
- .replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
15903
+ getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15904
+ const localVarPath = `/products/stock`;
17309
15905
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17310
15906
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17311
15907
  let baseOptions;
@@ -17313,18 +15909,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17313
15909
  baseOptions = configuration.baseOptions;
17314
15910
  }
17315
15911
 
17316
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15912
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17317
15913
  const localVarHeaderParameter = {} as any;
17318
15914
  const localVarQueryParameter = {} as any;
17319
15915
 
17320
15916
 
17321
15917
 
17322
- localVarHeaderParameter['Content-Type'] = 'application/json';
17323
-
17324
15918
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17325
15919
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17326
15920
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17327
- localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
17328
15921
 
17329
15922
  return {
17330
15923
  url: toPathString(localVarUrlObj),
@@ -17332,23 +15925,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17332
15925
  };
17333
15926
  },
17334
15927
  /**
17335
- * Get Product For Customer
17336
- * @summary Get Product For Customer
17337
- * @param {number} customerId Customer ID
17338
- * @param {string} sku Product SKU
17339
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15928
+ * Get 3CX Templates
15929
+ * @summary Get 3CX Templates
17340
15930
  * @param {*} [options] Override http request option.
17341
15931
  * @throws {RequiredError}
17342
15932
  */
17343
- postGetProductForCustomer: async (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17344
- // verify required parameter 'customerId' is not null or undefined
17345
- assertParamExists('postGetProductForCustomer', 'customerId', customerId)
17346
- // verify required parameter 'sku' is not null or undefined
17347
- assertParamExists('postGetProductForCustomer', 'sku', sku)
17348
- // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
17349
- assertParamExists('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
17350
- const localVarPath = `/admin/products/{sku}`
17351
- .replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
15933
+ getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15934
+ const localVarPath = `/products/attributes/tcx/templates`;
17352
15935
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17353
15936
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17354
15937
  let baseOptions;
@@ -17356,22 +15939,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17356
15939
  baseOptions = configuration.baseOptions;
17357
15940
  }
17358
15941
 
17359
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15942
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17360
15943
  const localVarHeaderParameter = {} as any;
17361
15944
  const localVarQueryParameter = {} as any;
17362
15945
 
17363
- if (customerId !== undefined) {
17364
- localVarQueryParameter['customerId'] = customerId;
17365
- }
17366
-
17367
15946
 
17368
15947
 
17369
- localVarHeaderParameter['Content-Type'] = 'application/json';
17370
-
17371
15948
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17372
15949
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17373
15950
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17374
- localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
17375
15951
 
17376
15952
  return {
17377
15953
  url: toPathString(localVarUrlObj),
@@ -17400,6 +15976,18 @@ export const ProductsApiFp = function(configuration?: Configuration) {
17400
15976
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetAttributeSets']?.[localVarOperationServerIndex]?.url;
17401
15977
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17402
15978
  },
15979
+ /**
15980
+ * Get Customer Price Lists
15981
+ * @summary Get Customer Price Lists
15982
+ * @param {*} [options] Override http request option.
15983
+ * @throws {RequiredError}
15984
+ */
15985
+ async getGetCustomerPriceLists(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CustomerPriceListEnum>>> {
15986
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCustomerPriceLists(options);
15987
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15988
+ const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetCustomerPriceLists']?.[localVarOperationServerIndex]?.url;
15989
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15990
+ },
17403
15991
  /**
17404
15992
  * Get Current Stock & Pricing
17405
15993
  * @summary Get Current Stock & Pricing
@@ -17417,11 +16005,14 @@ export const ProductsApiFp = function(configuration?: Configuration) {
17417
16005
  /**
17418
16006
  * Get Products
17419
16007
  * @summary Get Products
16008
+ * @param {number} [pageSize] Number Of Results
16009
+ * @param {number} [page] Page Number
16010
+ * @param {string} [search] Search
17420
16011
  * @param {*} [options] Override http request option.
17421
16012
  * @throws {RequiredError}
17422
16013
  */
17423
- async getGetProducts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BasicProductDTO>>> {
17424
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(options);
16014
+ async getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
16015
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(pageSize, page, search, options);
17425
16016
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17426
16017
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetProducts']?.[localVarOperationServerIndex]?.url;
17427
16018
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -17450,50 +16041,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
17450
16041
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetTcxTemplates']?.[localVarOperationServerIndex]?.url;
17451
16042
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17452
16043
  },
17453
- /**
17454
- * Search Products
17455
- * @summary Search Products
17456
- * @param {number} [pageSize] Number Of Results
17457
- * @param {number} [page] Page Number
17458
- * @param {string} [search] Search
17459
- * @param {*} [options] Override http request option.
17460
- * @throws {RequiredError}
17461
- */
17462
- async getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
17463
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSearchProducts(pageSize, page, search, options);
17464
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17465
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.getSearchProducts']?.[localVarOperationServerIndex]?.url;
17466
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17467
- },
17468
- /**
17469
- * Get Product
17470
- * @summary Get Product
17471
- * @param {string} sku Product SKU
17472
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17473
- * @param {*} [options] Override http request option.
17474
- * @throws {RequiredError}
17475
- */
17476
- async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
17477
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options);
17478
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17479
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProduct']?.[localVarOperationServerIndex]?.url;
17480
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17481
- },
17482
- /**
17483
- * Get Product For Customer
17484
- * @summary Get Product For Customer
17485
- * @param {number} customerId Customer ID
17486
- * @param {string} sku Product SKU
17487
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17488
- * @param {*} [options] Override http request option.
17489
- * @throws {RequiredError}
17490
- */
17491
- async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
17492
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options);
17493
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17494
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProductForCustomer']?.[localVarOperationServerIndex]?.url;
17495
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17496
- },
17497
16044
  }
17498
16045
  };
17499
16046
 
@@ -17513,6 +16060,15 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
17513
16060
  getGetAttributeSets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeSetEnum>> {
17514
16061
  return localVarFp.getGetAttributeSets(options).then((request) => request(axios, basePath));
17515
16062
  },
16063
+ /**
16064
+ * Get Customer Price Lists
16065
+ * @summary Get Customer Price Lists
16066
+ * @param {*} [options] Override http request option.
16067
+ * @throws {RequiredError}
16068
+ */
16069
+ getGetCustomerPriceLists(options?: RawAxiosRequestConfig): AxiosPromise<Array<CustomerPriceListEnum>> {
16070
+ return localVarFp.getGetCustomerPriceLists(options).then((request) => request(axios, basePath));
16071
+ },
17516
16072
  /**
17517
16073
  * Get Current Stock & Pricing
17518
16074
  * @summary Get Current Stock & Pricing
@@ -17527,11 +16083,14 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
17527
16083
  /**
17528
16084
  * Get Products
17529
16085
  * @summary Get Products
16086
+ * @param {number} [pageSize] Number Of Results
16087
+ * @param {number} [page] Page Number
16088
+ * @param {string} [search] Search
17530
16089
  * @param {*} [options] Override http request option.
17531
16090
  * @throws {RequiredError}
17532
16091
  */
17533
- getGetProducts(options?: RawAxiosRequestConfig): AxiosPromise<Array<BasicProductDTO>> {
17534
- return localVarFp.getGetProducts(options).then((request) => request(axios, basePath));
16092
+ getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
16093
+ return localVarFp.getGetProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
17535
16094
  },
17536
16095
  /**
17537
16096
  * Get Current Stock & Pricing
@@ -17551,41 +16110,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
17551
16110
  getGetTcxTemplates(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxTemplateXmlEnum>> {
17552
16111
  return localVarFp.getGetTcxTemplates(options).then((request) => request(axios, basePath));
17553
16112
  },
17554
- /**
17555
- * Search Products
17556
- * @summary Search Products
17557
- * @param {number} [pageSize] Number Of Results
17558
- * @param {number} [page] Page Number
17559
- * @param {string} [search] Search
17560
- * @param {*} [options] Override http request option.
17561
- * @throws {RequiredError}
17562
- */
17563
- getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
17564
- return localVarFp.getSearchProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
17565
- },
17566
- /**
17567
- * Get Product
17568
- * @summary Get Product
17569
- * @param {string} sku Product SKU
17570
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17571
- * @param {*} [options] Override http request option.
17572
- * @throws {RequiredError}
17573
- */
17574
- postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
17575
- return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
17576
- },
17577
- /**
17578
- * Get Product For Customer
17579
- * @summary Get Product For Customer
17580
- * @param {number} customerId Customer ID
17581
- * @param {string} sku Product SKU
17582
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17583
- * @param {*} [options] Override http request option.
17584
- * @throws {RequiredError}
17585
- */
17586
- postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
17587
- return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
17588
- },
17589
16113
  };
17590
16114
  };
17591
16115
 
@@ -17607,6 +16131,17 @@ export class ProductsApi extends BaseAPI {
17607
16131
  return ProductsApiFp(this.configuration).getGetAttributeSets(options).then((request) => request(this.axios, this.basePath));
17608
16132
  }
17609
16133
 
16134
+ /**
16135
+ * Get Customer Price Lists
16136
+ * @summary Get Customer Price Lists
16137
+ * @param {*} [options] Override http request option.
16138
+ * @throws {RequiredError}
16139
+ * @memberof ProductsApi
16140
+ */
16141
+ public getGetCustomerPriceLists(options?: RawAxiosRequestConfig) {
16142
+ return ProductsApiFp(this.configuration).getGetCustomerPriceLists(options).then((request) => request(this.axios, this.basePath));
16143
+ }
16144
+
17610
16145
  /**
17611
16146
  * Get Current Stock & Pricing
17612
16147
  * @summary Get Current Stock & Pricing
@@ -17623,12 +16158,15 @@ export class ProductsApi extends BaseAPI {
17623
16158
  /**
17624
16159
  * Get Products
17625
16160
  * @summary Get Products
16161
+ * @param {number} [pageSize] Number Of Results
16162
+ * @param {number} [page] Page Number
16163
+ * @param {string} [search] Search
17626
16164
  * @param {*} [options] Override http request option.
17627
16165
  * @throws {RequiredError}
17628
16166
  * @memberof ProductsApi
17629
16167
  */
17630
- public getGetProducts(options?: RawAxiosRequestConfig) {
17631
- return ProductsApiFp(this.configuration).getGetProducts(options).then((request) => request(this.axios, this.basePath));
16168
+ public getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
16169
+ return ProductsApiFp(this.configuration).getGetProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
17632
16170
  }
17633
16171
 
17634
16172
  /**
@@ -17652,47 +16190,6 @@ export class ProductsApi extends BaseAPI {
17652
16190
  public getGetTcxTemplates(options?: RawAxiosRequestConfig) {
17653
16191
  return ProductsApiFp(this.configuration).getGetTcxTemplates(options).then((request) => request(this.axios, this.basePath));
17654
16192
  }
17655
-
17656
- /**
17657
- * Search Products
17658
- * @summary Search Products
17659
- * @param {number} [pageSize] Number Of Results
17660
- * @param {number} [page] Page Number
17661
- * @param {string} [search] Search
17662
- * @param {*} [options] Override http request option.
17663
- * @throws {RequiredError}
17664
- * @memberof ProductsApi
17665
- */
17666
- public getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
17667
- return ProductsApiFp(this.configuration).getSearchProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
17668
- }
17669
-
17670
- /**
17671
- * Get Product
17672
- * @summary Get Product
17673
- * @param {string} sku Product SKU
17674
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17675
- * @param {*} [options] Override http request option.
17676
- * @throws {RequiredError}
17677
- * @memberof ProductsApi
17678
- */
17679
- public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
17680
- return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
17681
- }
17682
-
17683
- /**
17684
- * Get Product For Customer
17685
- * @summary Get Product For Customer
17686
- * @param {number} customerId Customer ID
17687
- * @param {string} sku Product SKU
17688
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17689
- * @param {*} [options] Override http request option.
17690
- * @throws {RequiredError}
17691
- * @memberof ProductsApi
17692
- */
17693
- public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
17694
- return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
17695
- }
17696
16193
  }
17697
16194
 
17698
16195
  /**
@@ -18033,7 +16530,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
18033
16530
  * @param {*} [options] Override http request option.
18034
16531
  * @throws {RequiredError}
18035
16532
  */
18036
- async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningModel>>> {
16533
+ async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningEntity>>> {
18037
16534
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetGroups(id, options);
18038
16535
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18039
16536
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getGetGroups']?.[localVarOperationServerIndex]?.url;
@@ -18046,7 +16543,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
18046
16543
  * @param {*} [options] Override http request option.
18047
16544
  * @throws {RequiredError}
18048
16545
  */
18049
- async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningModel>> {
16546
+ async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningEntity>> {
18050
16547
  const localVarAxiosArgs = await localVarAxiosParamCreator.postAddFanvilGroup(provisioningRequestEntity, options);
18051
16548
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18052
16549
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilGroup']?.[localVarOperationServerIndex]?.url;
@@ -18125,7 +16622,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
18125
16622
  * @param {*} [options] Override http request option.
18126
16623
  * @throws {RequiredError}
18127
16624
  */
18128
- getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningModel>> {
16625
+ getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningEntity>> {
18129
16626
  return localVarFp.getGetGroups(id, options).then((request) => request(axios, basePath));
18130
16627
  },
18131
16628
  /**
@@ -18135,7 +16632,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
18135
16632
  * @param {*} [options] Override http request option.
18136
16633
  * @throws {RequiredError}
18137
16634
  */
18138
- postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningModel> {
16635
+ postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningEntity> {
18139
16636
  return localVarFp.postAddFanvilGroup(provisioningRequestEntity, options).then((request) => request(axios, basePath));
18140
16637
  },
18141
16638
  /**
@@ -20036,114 +18533,6 @@ export class SMSApi extends BaseAPI {
20036
18533
 
20037
18534
 
20038
18535
 
20039
- /**
20040
- * ShippingApi - axios parameter creator
20041
- * @export
20042
- */
20043
- export const ShippingApiAxiosParamCreator = function (configuration?: Configuration) {
20044
- return {
20045
- /**
20046
- * Get Shipping Services
20047
- * @summary Get Shipping Services
20048
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20049
- * @param {*} [options] Override http request option.
20050
- * @throws {RequiredError}
20051
- */
20052
- postGetShippingServices: async (shippingInformationDTO?: ShippingInformationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20053
- const localVarPath = `/shipping/services`;
20054
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
20055
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20056
- let baseOptions;
20057
- if (configuration) {
20058
- baseOptions = configuration.baseOptions;
20059
- }
20060
-
20061
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
20062
- const localVarHeaderParameter = {} as any;
20063
- const localVarQueryParameter = {} as any;
20064
-
20065
-
20066
-
20067
- localVarHeaderParameter['Content-Type'] = 'application/json';
20068
-
20069
- setSearchParams(localVarUrlObj, localVarQueryParameter);
20070
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20071
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20072
- localVarRequestOptions.data = serializeDataIfNeeded(shippingInformationDTO, localVarRequestOptions, configuration)
20073
-
20074
- return {
20075
- url: toPathString(localVarUrlObj),
20076
- options: localVarRequestOptions,
20077
- };
20078
- },
20079
- }
20080
- };
20081
-
20082
- /**
20083
- * ShippingApi - functional programming interface
20084
- * @export
20085
- */
20086
- export const ShippingApiFp = function(configuration?: Configuration) {
20087
- const localVarAxiosParamCreator = ShippingApiAxiosParamCreator(configuration)
20088
- return {
20089
- /**
20090
- * Get Shipping Services
20091
- * @summary Get Shipping Services
20092
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20093
- * @param {*} [options] Override http request option.
20094
- * @throws {RequiredError}
20095
- */
20096
- async postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingServicesModel>> {
20097
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetShippingServices(shippingInformationDTO, options);
20098
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20099
- const localVarOperationServerBasePath = operationServerMap['ShippingApi.postGetShippingServices']?.[localVarOperationServerIndex]?.url;
20100
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20101
- },
20102
- }
20103
- };
20104
-
20105
- /**
20106
- * ShippingApi - factory interface
20107
- * @export
20108
- */
20109
- export const ShippingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
20110
- const localVarFp = ShippingApiFp(configuration)
20111
- return {
20112
- /**
20113
- * Get Shipping Services
20114
- * @summary Get Shipping Services
20115
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20116
- * @param {*} [options] Override http request option.
20117
- * @throws {RequiredError}
20118
- */
20119
- postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShippingServicesModel> {
20120
- return localVarFp.postGetShippingServices(shippingInformationDTO, options).then((request) => request(axios, basePath));
20121
- },
20122
- };
20123
- };
20124
-
20125
- /**
20126
- * ShippingApi - object-oriented interface
20127
- * @export
20128
- * @class ShippingApi
20129
- * @extends {BaseAPI}
20130
- */
20131
- export class ShippingApi extends BaseAPI {
20132
- /**
20133
- * Get Shipping Services
20134
- * @summary Get Shipping Services
20135
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20136
- * @param {*} [options] Override http request option.
20137
- * @throws {RequiredError}
20138
- * @memberof ShippingApi
20139
- */
20140
- public postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig) {
20141
- return ShippingApiFp(this.configuration).postGetShippingServices(shippingInformationDTO, options).then((request) => request(this.axios, this.basePath));
20142
- }
20143
- }
20144
-
20145
-
20146
-
20147
18536
  /**
20148
18537
  * StockManagementApi - axios parameter creator
20149
18538
  * @export
@@ -21230,7 +19619,7 @@ export const StockManagementApiFp = function(configuration?: Configuration) {
21230
19619
  * @param {*} [options] Override http request option.
21231
19620
  * @throws {RequiredError}
21232
19621
  */
21233
- async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryDTO>>> {
19622
+ async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryModel>>> {
21234
19623
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockSupplierProducts(id, options);
21235
19624
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21236
19625
  const localVarOperationServerBasePath = operationServerMap['StockManagementApi.getGetStockSupplierProducts']?.[localVarOperationServerIndex]?.url;
@@ -21533,7 +19922,7 @@ export const StockManagementApiFactory = function (configuration?: Configuration
21533
19922
  * @param {*} [options] Override http request option.
21534
19923
  * @throws {RequiredError}
21535
19924
  */
21536
- getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryDTO>> {
19925
+ getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryModel>> {
21537
19926
  return localVarFp.getGetStockSupplierProducts(id, options).then((request) => request(axios, basePath));
21538
19927
  },
21539
19928
  /**