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

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 (57) hide show
  1. package/.openapi-generator/FILES +195 -213
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +7 -33
  4. package/api.ts +254 -1792
  5. package/base.ts +1 -1
  6. package/common.ts +5 -5
  7. package/config.json +3 -3
  8. package/configuration.ts +1 -1
  9. package/dist/api.d.ts +150 -1310
  10. package/dist/api.js +208 -1060
  11. package/dist/base.d.ts +1 -1
  12. package/dist/base.js +1 -1
  13. package/dist/common.d.ts +1 -1
  14. package/dist/common.js +1 -1
  15. package/dist/configuration.d.ts +1 -1
  16. package/dist/configuration.js +1 -1
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +1 -1
  19. package/docs/AccountsApi.md +0 -103
  20. package/docs/AddressModel.md +0 -2
  21. package/docs/Class3CXApi.md +55 -0
  22. package/docs/ClientDetailsModel.md +2 -0
  23. package/docs/{ShippingServicesModel.md → GetGetPasswordHash200Response.md} +5 -5
  24. package/docs/ItemDTO.md +4 -12
  25. package/docs/ItemEntity.md +0 -2
  26. package/docs/OrderSummaryDTO.md +0 -8
  27. package/docs/OrderTotalModel.md +0 -2
  28. package/docs/OrdersApi.md +4 -301
  29. package/docs/ProductSearchResultsModel.md +1 -1
  30. package/docs/{ProductSummaryDTO.md → ProductSummaryModel.md} +3 -5
  31. package/docs/ProductsApi.md +43 -164
  32. package/docs/ProvisioningApi.md +4 -4
  33. package/docs/{ProvisioningModel.md → ProvisioningEntity.md} +3 -3
  34. package/docs/ShipmentEntity.md +2 -2
  35. package/docs/StockManagementApi.md +2 -2
  36. package/docs/TcxSbcModel.md +1 -1
  37. package/index.ts +1 -1
  38. package/openapitools.json +1 -1
  39. package/package.json +1 -1
  40. package/docs/AbstractOrderRequestDTO.md +0 -33
  41. package/docs/AccountDetailedSummaryDTO.md +0 -39
  42. package/docs/AdminItemRequestDTO.md +0 -39
  43. package/docs/AdminOrderRequestDTO.md +0 -45
  44. package/docs/AdminUserModel.md +0 -29
  45. package/docs/BasicItemDTO.md +0 -23
  46. package/docs/BasicProductDTO.md +0 -23
  47. package/docs/CourierPriceEntity.md +0 -39
  48. package/docs/CustomerItemRequestDTO.md +0 -35
  49. package/docs/CustomerOrderRequestDTO.md +0 -33
  50. package/docs/LinkedOrderEntity.md +0 -23
  51. package/docs/PostGetProductForCustomerRequest.md +0 -24
  52. package/docs/ShippingApi.md +0 -63
  53. package/docs/ShippingConsignmentModel.md +0 -26
  54. package/docs/ShippingInformationDTO.md +0 -25
  55. package/docs/ShippingServiceDTO.md +0 -23
  56. package/docs/ShippingServiceModel.md +0 -31
  57. 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,39 +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
16072
- * @param {number} id Order ID
16073
- * @param {*} [options] Override http request option.
16074
- * @throws {RequiredError}
16075
- */
16076
- getGetEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16077
- // verify required parameter 'id' is not null or undefined
16078
- assertParamExists('getGetEditableOrder', 'id', id)
16079
- const localVarPath = `/orders/{id}/views/editable`
16080
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16081
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16082
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16083
- let baseOptions;
16084
- if (configuration) {
16085
- baseOptions = configuration.baseOptions;
16086
- }
16087
-
16088
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16089
- const localVarHeaderParameter = {} as any;
16090
- const localVarQueryParameter = {} as any;
16091
-
16092
-
16093
-
16094
15187
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16095
15188
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16096
15189
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -16160,170 +15253,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
16160
15253
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16161
15254
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16162
15255
 
16163
- return {
16164
- url: toPathString(localVarUrlObj),
16165
- options: localVarRequestOptions,
16166
- };
16167
- },
16168
- /**
16169
- * Create An Order (Admin)
16170
- * @summary Create An Order (Admin)
16171
- * @param {boolean} [readonly] Readonly Order
16172
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16173
- * @param {*} [options] Override http request option.
16174
- * @throws {RequiredError}
16175
- */
16176
- postCreateAdminOrder: async (readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16177
- const localVarPath = `/admin/orders`;
16178
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16179
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16180
- let baseOptions;
16181
- if (configuration) {
16182
- baseOptions = configuration.baseOptions;
16183
- }
16184
-
16185
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16186
- const localVarHeaderParameter = {} as any;
16187
- const localVarQueryParameter = {} as any;
16188
-
16189
- if (readonly !== undefined) {
16190
- localVarQueryParameter['readonly'] = readonly;
16191
- }
16192
-
16193
-
16194
-
16195
- localVarHeaderParameter['Content-Type'] = 'application/json';
16196
-
16197
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16198
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16199
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16200
- localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
16201
-
16202
- return {
16203
- url: toPathString(localVarUrlObj),
16204
- options: localVarRequestOptions,
16205
- };
16206
- },
16207
- /**
16208
- * Create An Order
16209
- * @summary Create An Order
16210
- * @param {boolean} [readonly] Readonly Order
16211
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16212
- * @param {*} [options] Override http request option.
16213
- * @throws {RequiredError}
16214
- */
16215
- postGetOrders: async (readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16216
- const localVarPath = `/orders`;
16217
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16218
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16219
- let baseOptions;
16220
- if (configuration) {
16221
- baseOptions = configuration.baseOptions;
16222
- }
16223
-
16224
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16225
- const localVarHeaderParameter = {} as any;
16226
- const localVarQueryParameter = {} as any;
16227
-
16228
- if (readonly !== undefined) {
16229
- localVarQueryParameter['readonly'] = readonly;
16230
- }
16231
-
16232
-
16233
-
16234
- localVarHeaderParameter['Content-Type'] = 'application/json';
16235
-
16236
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16237
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16238
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16239
- localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
16240
-
16241
- return {
16242
- url: toPathString(localVarUrlObj),
16243
- options: localVarRequestOptions,
16244
- };
16245
- },
16246
- /**
16247
- * Update An Order (Admin)
16248
- * @summary Update An Order (Admin)
16249
- * @param {number} id Order ID
16250
- * @param {boolean} [readonly] Readonly Order
16251
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16252
- * @param {*} [options] Override http request option.
16253
- * @throws {RequiredError}
16254
- */
16255
- putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16256
- // verify required parameter 'id' is not null or undefined
16257
- assertParamExists('putUpdateAdminOrder', 'id', id)
16258
- const localVarPath = `/admin/orders/{id}`
16259
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16260
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16261
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16262
- let baseOptions;
16263
- if (configuration) {
16264
- baseOptions = configuration.baseOptions;
16265
- }
16266
-
16267
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
16268
- const localVarHeaderParameter = {} as any;
16269
- const localVarQueryParameter = {} as any;
16270
-
16271
- if (readonly !== undefined) {
16272
- localVarQueryParameter['readonly'] = readonly;
16273
- }
16274
-
16275
-
16276
-
16277
- localVarHeaderParameter['Content-Type'] = 'application/json';
16278
-
16279
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16280
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16281
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16282
- localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
16283
-
16284
- return {
16285
- url: toPathString(localVarUrlObj),
16286
- options: localVarRequestOptions,
16287
- };
16288
- },
16289
- /**
16290
- * Update An Order
16291
- * @summary Update An Order
16292
- * @param {number} id Order ID
16293
- * @param {boolean} [readonly] Readonly Order
16294
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16295
- * @param {*} [options] Override http request option.
16296
- * @throws {RequiredError}
16297
- */
16298
- putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16299
- // verify required parameter 'id' is not null or undefined
16300
- assertParamExists('putUpdateOrder', 'id', id)
16301
- const localVarPath = `/orders/{id}`
16302
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16303
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16304
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16305
- let baseOptions;
16306
- if (configuration) {
16307
- baseOptions = configuration.baseOptions;
16308
- }
16309
-
16310
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
16311
- const localVarHeaderParameter = {} as any;
16312
- const localVarQueryParameter = {} as any;
16313
-
16314
- if (readonly !== undefined) {
16315
- localVarQueryParameter['readonly'] = readonly;
16316
- }
16317
-
16318
-
16319
-
16320
- localVarHeaderParameter['Content-Type'] = 'application/json';
16321
-
16322
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16323
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16324
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16325
- localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
16326
-
16327
15256
  return {
16328
15257
  url: toPathString(localVarUrlObj),
16329
15258
  options: localVarRequestOptions,
@@ -16341,27 +15270,14 @@ export const OrdersApiFp = function(configuration?: Configuration) {
16341
15270
  return {
16342
15271
  /**
16343
15272
  * Delete Orders
16344
- * @summary Delete Orders
16345
15273
  * @param {number} id Order ID
16346
15274
  * @param {*} [options] Override http request option.
16347
15275
  * @throws {RequiredError}
16348
15276
  */
16349
- async deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
16350
- 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);
16351
15279
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16352
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteUpdateOrder']?.[localVarOperationServerIndex]?.url;
16353
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16354
- },
16355
- /**
16356
- * Get Editable Order
16357
- * @param {number} id Order ID
16358
- * @param {*} [options] Override http request option.
16359
- * @throws {RequiredError}
16360
- */
16361
- async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderSummaryDTO>> {
16362
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
16363
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16364
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
15280
+ const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteDeleteOrder']?.[localVarOperationServerIndex]?.url;
16365
15281
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16366
15282
  },
16367
15283
  /**
@@ -16383,64 +15299,6 @@ export const OrdersApiFp = function(configuration?: Configuration) {
16383
15299
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
16384
15300
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16385
15301
  },
16386
- /**
16387
- * Create An Order (Admin)
16388
- * @summary Create An Order (Admin)
16389
- * @param {boolean} [readonly] Readonly Order
16390
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16391
- * @param {*} [options] Override http request option.
16392
- * @throws {RequiredError}
16393
- */
16394
- async postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16395
- const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options);
16396
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16397
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
16398
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16399
- },
16400
- /**
16401
- * Create An Order
16402
- * @summary Create An Order
16403
- * @param {boolean} [readonly] Readonly Order
16404
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16405
- * @param {*} [options] Override http request option.
16406
- * @throws {RequiredError}
16407
- */
16408
- async postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16409
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options);
16410
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16411
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
16412
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16413
- },
16414
- /**
16415
- * Update An Order (Admin)
16416
- * @summary Update An Order (Admin)
16417
- * @param {number} id Order ID
16418
- * @param {boolean} [readonly] Readonly Order
16419
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16420
- * @param {*} [options] Override http request option.
16421
- * @throws {RequiredError}
16422
- */
16423
- async putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16424
- const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options);
16425
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16426
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateAdminOrder']?.[localVarOperationServerIndex]?.url;
16427
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16428
- },
16429
- /**
16430
- * Update An Order
16431
- * @summary Update An Order
16432
- * @param {number} id Order ID
16433
- * @param {boolean} [readonly] Readonly Order
16434
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16435
- * @param {*} [options] Override http request option.
16436
- * @throws {RequiredError}
16437
- */
16438
- async putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16439
- const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateOrder(id, readonly, customerOrderRequestDTO, options);
16440
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16441
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateOrder']?.[localVarOperationServerIndex]?.url;
16442
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16443
- },
16444
15302
  }
16445
15303
  };
16446
15304
 
@@ -16453,22 +15311,12 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
16453
15311
  return {
16454
15312
  /**
16455
15313
  * Delete Orders
16456
- * @summary Delete Orders
16457
- * @param {number} id Order ID
16458
- * @param {*} [options] Override http request option.
16459
- * @throws {RequiredError}
16460
- */
16461
- deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
16462
- return localVarFp.deleteUpdateOrder(id, options).then((request) => request(axios, basePath));
16463
- },
16464
- /**
16465
- * Get Editable Order
16466
15314
  * @param {number} id Order ID
16467
15315
  * @param {*} [options] Override http request option.
16468
15316
  * @throws {RequiredError}
16469
15317
  */
16470
- getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummaryDTO> {
16471
- 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));
16472
15320
  },
16473
15321
  /**
16474
15322
  * Get Orders
@@ -16486,52 +15334,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
16486
15334
  getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel> {
16487
15335
  return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(axios, basePath));
16488
15336
  },
16489
- /**
16490
- * Create An Order (Admin)
16491
- * @summary Create An Order (Admin)
16492
- * @param {boolean} [readonly] Readonly Order
16493
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16494
- * @param {*} [options] Override http request option.
16495
- * @throws {RequiredError}
16496
- */
16497
- postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16498
- return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
16499
- },
16500
- /**
16501
- * Create An Order
16502
- * @summary Create An Order
16503
- * @param {boolean} [readonly] Readonly Order
16504
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16505
- * @param {*} [options] Override http request option.
16506
- * @throws {RequiredError}
16507
- */
16508
- postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16509
- return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
16510
- },
16511
- /**
16512
- * Update An Order (Admin)
16513
- * @summary Update An Order (Admin)
16514
- * @param {number} id Order ID
16515
- * @param {boolean} [readonly] Readonly Order
16516
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16517
- * @param {*} [options] Override http request option.
16518
- * @throws {RequiredError}
16519
- */
16520
- putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16521
- return localVarFp.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
16522
- },
16523
- /**
16524
- * Update An Order
16525
- * @summary Update An Order
16526
- * @param {number} id Order ID
16527
- * @param {boolean} [readonly] Readonly Order
16528
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16529
- * @param {*} [options] Override http request option.
16530
- * @throws {RequiredError}
16531
- */
16532
- putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16533
- return localVarFp.putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
16534
- },
16535
15337
  };
16536
15338
  };
16537
15339
 
@@ -16544,25 +15346,13 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
16544
15346
  export class OrdersApi extends BaseAPI {
16545
15347
  /**
16546
15348
  * Delete Orders
16547
- * @summary Delete Orders
16548
15349
  * @param {number} id Order ID
16549
15350
  * @param {*} [options] Override http request option.
16550
15351
  * @throws {RequiredError}
16551
15352
  * @memberof OrdersApi
16552
15353
  */
16553
- public deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig) {
16554
- return OrdersApiFp(this.configuration).deleteUpdateOrder(id, options).then((request) => request(this.axios, this.basePath));
16555
- }
16556
-
16557
- /**
16558
- * Get Editable Order
16559
- * @param {number} id Order ID
16560
- * @param {*} [options] Override http request option.
16561
- * @throws {RequiredError}
16562
- * @memberof OrdersApi
16563
- */
16564
- public getGetEditableOrder(id: number, options?: RawAxiosRequestConfig) {
16565
- 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));
16566
15356
  }
16567
15357
 
16568
15358
  /**
@@ -16582,60 +15372,6 @@ export class OrdersApi extends BaseAPI {
16582
15372
  public getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) {
16583
15373
  return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
16584
15374
  }
16585
-
16586
- /**
16587
- * Create An Order (Admin)
16588
- * @summary Create An Order (Admin)
16589
- * @param {boolean} [readonly] Readonly Order
16590
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16591
- * @param {*} [options] Override http request option.
16592
- * @throws {RequiredError}
16593
- * @memberof OrdersApi
16594
- */
16595
- public postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
16596
- return OrdersApiFp(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16597
- }
16598
-
16599
- /**
16600
- * Create An Order
16601
- * @summary Create An Order
16602
- * @param {boolean} [readonly] Readonly Order
16603
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16604
- * @param {*} [options] Override http request option.
16605
- * @throws {RequiredError}
16606
- * @memberof OrdersApi
16607
- */
16608
- public postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
16609
- return OrdersApiFp(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16610
- }
16611
-
16612
- /**
16613
- * Update An Order (Admin)
16614
- * @summary Update An Order (Admin)
16615
- * @param {number} id Order ID
16616
- * @param {boolean} [readonly] Readonly Order
16617
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16618
- * @param {*} [options] Override http request option.
16619
- * @throws {RequiredError}
16620
- * @memberof OrdersApi
16621
- */
16622
- public putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
16623
- return OrdersApiFp(this.configuration).putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16624
- }
16625
-
16626
- /**
16627
- * Update An Order
16628
- * @summary Update An Order
16629
- * @param {number} id Order ID
16630
- * @param {boolean} [readonly] Readonly Order
16631
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16632
- * @param {*} [options] Override http request option.
16633
- * @throws {RequiredError}
16634
- * @memberof OrdersApi
16635
- */
16636
- public putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
16637
- return OrdersApiFp(this.configuration).putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16638
- }
16639
15375
  }
16640
15376
 
16641
15377
  /**
@@ -17016,47 +15752,13 @@ export type PostSendPriceListCategoryEnum = typeof PostSendPriceListCategoryEnum
17016
15752
  export const ProductsApiAxiosParamCreator = function (configuration?: Configuration) {
17017
15753
  return {
17018
15754
  /**
17019
- * Get Attribute Sets
17020
- * @summary Get Attribute Sets
17021
- * @param {*} [options] Override http request option.
17022
- * @throws {RequiredError}
17023
- */
17024
- getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17025
- const localVarPath = `/products/attributes`;
17026
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17027
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17028
- let baseOptions;
17029
- if (configuration) {
17030
- baseOptions = configuration.baseOptions;
17031
- }
17032
-
17033
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17034
- const localVarHeaderParameter = {} as any;
17035
- const localVarQueryParameter = {} as any;
17036
-
17037
-
17038
-
17039
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17040
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17041
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17042
-
17043
- return {
17044
- url: toPathString(localVarUrlObj),
17045
- options: localVarRequestOptions,
17046
- };
17047
- },
17048
- /**
17049
- * Get Current Stock & Pricing
17050
- * @summary Get Current Stock & Pricing
17051
- * @param {GetGetLegacyStockListFormatEnum} format File Format
15755
+ * Get Attribute Sets
15756
+ * @summary Get Attribute Sets
17052
15757
  * @param {*} [options] Override http request option.
17053
- * @deprecated
17054
15758
  * @throws {RequiredError}
17055
15759
  */
17056
- getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17057
- // verify required parameter 'format' is not null or undefined
17058
- assertParamExists('getGetLegacyStockList', 'format', format)
17059
- const localVarPath = `/products/stock/legacy`;
15760
+ getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15761
+ const localVarPath = `/products/attributes`;
17060
15762
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17061
15763
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17062
15764
  let baseOptions;
@@ -17068,10 +15770,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17068
15770
  const localVarHeaderParameter = {} as any;
17069
15771
  const localVarQueryParameter = {} as any;
17070
15772
 
17071
- if (format !== undefined) {
17072
- localVarQueryParameter['format'] = format;
17073
- }
17074
-
17075
15773
 
17076
15774
 
17077
15775
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -17084,13 +15782,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17084
15782
  };
17085
15783
  },
17086
15784
  /**
17087
- * Get Products
17088
- * @summary Get Products
15785
+ * Get Customer Price Lists
15786
+ * @summary Get Customer Price Lists
17089
15787
  * @param {*} [options] Override http request option.
17090
15788
  * @throws {RequiredError}
17091
15789
  */
17092
- getGetProducts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17093
- const localVarPath = `/products`;
15790
+ getGetCustomerPriceLists: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15791
+ const localVarPath = `/products/prices/lists`;
17094
15792
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17095
15793
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17096
15794
  let baseOptions;
@@ -17116,11 +15814,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17116
15814
  /**
17117
15815
  * Get Current Stock & Pricing
17118
15816
  * @summary Get Current Stock & Pricing
15817
+ * @param {GetGetLegacyStockListFormatEnum} format File Format
17119
15818
  * @param {*} [options] Override http request option.
15819
+ * @deprecated
17120
15820
  * @throws {RequiredError}
17121
15821
  */
17122
- getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17123
- 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`;
17124
15826
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17125
15827
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17126
15828
  let baseOptions;
@@ -17132,36 +15834,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17132
15834
  const localVarHeaderParameter = {} as any;
17133
15835
  const localVarQueryParameter = {} as any;
17134
15836
 
17135
-
17136
-
17137
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17138
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17139
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17140
-
17141
- return {
17142
- url: toPathString(localVarUrlObj),
17143
- options: localVarRequestOptions,
17144
- };
17145
- },
17146
- /**
17147
- * Get 3CX Templates
17148
- * @summary Get 3CX Templates
17149
- * @param {*} [options] Override http request option.
17150
- * @throws {RequiredError}
17151
- */
17152
- getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17153
- const localVarPath = `/products/attributes/tcx/templates`;
17154
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17155
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17156
- let baseOptions;
17157
- if (configuration) {
17158
- baseOptions = configuration.baseOptions;
15837
+ if (format !== undefined) {
15838
+ localVarQueryParameter['format'] = format;
17159
15839
  }
17160
15840
 
17161
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17162
- const localVarHeaderParameter = {} as any;
17163
- const localVarQueryParameter = {} as any;
17164
-
17165
15841
 
17166
15842
 
17167
15843
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -17174,15 +15850,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17174
15850
  };
17175
15851
  },
17176
15852
  /**
17177
- * Search Products
17178
- * @summary Search Products
15853
+ * Get Products
15854
+ * @summary Get Products
17179
15855
  * @param {number} [pageSize] Number Of Results
17180
15856
  * @param {number} [page] Page Number
17181
15857
  * @param {string} [search] Search
17182
15858
  * @param {*} [options] Override http request option.
17183
15859
  * @throws {RequiredError}
17184
15860
  */
17185
- 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> => {
17186
15862
  const localVarPath = `/products/search`;
17187
15863
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17188
15864
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -17219,20 +15895,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17219
15895
  };
17220
15896
  },
17221
15897
  /**
17222
- * Get Product
17223
- * @summary Get Product
17224
- * @param {string} sku Product SKU
17225
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15898
+ * Get Current Stock & Pricing
15899
+ * @summary Get Current Stock & Pricing
17226
15900
  * @param {*} [options] Override http request option.
17227
15901
  * @throws {RequiredError}
17228
15902
  */
17229
- postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17230
- // verify required parameter 'sku' is not null or undefined
17231
- assertParamExists('postGetProduct', 'sku', sku)
17232
- // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
17233
- assertParamExists('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
17234
- const localVarPath = `/products/{sku}`
17235
- .replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
15903
+ getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15904
+ const localVarPath = `/products/stock`;
17236
15905
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17237
15906
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17238
15907
  let baseOptions;
@@ -17240,18 +15909,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17240
15909
  baseOptions = configuration.baseOptions;
17241
15910
  }
17242
15911
 
17243
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15912
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17244
15913
  const localVarHeaderParameter = {} as any;
17245
15914
  const localVarQueryParameter = {} as any;
17246
15915
 
17247
15916
 
17248
15917
 
17249
- localVarHeaderParameter['Content-Type'] = 'application/json';
17250
-
17251
15918
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17252
15919
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17253
15920
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17254
- localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
17255
15921
 
17256
15922
  return {
17257
15923
  url: toPathString(localVarUrlObj),
@@ -17259,23 +15925,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17259
15925
  };
17260
15926
  },
17261
15927
  /**
17262
- * Get Product For Customer
17263
- * @summary Get Product For Customer
17264
- * @param {number} customerId Customer ID
17265
- * @param {string} sku Product SKU
17266
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15928
+ * Get 3CX Templates
15929
+ * @summary Get 3CX Templates
17267
15930
  * @param {*} [options] Override http request option.
17268
15931
  * @throws {RequiredError}
17269
15932
  */
17270
- postGetProductForCustomer: async (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17271
- // verify required parameter 'customerId' is not null or undefined
17272
- assertParamExists('postGetProductForCustomer', 'customerId', customerId)
17273
- // verify required parameter 'sku' is not null or undefined
17274
- assertParamExists('postGetProductForCustomer', 'sku', sku)
17275
- // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
17276
- assertParamExists('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
17277
- const localVarPath = `/admin/products/{sku}`
17278
- .replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
15933
+ getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15934
+ const localVarPath = `/products/attributes/tcx/templates`;
17279
15935
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17280
15936
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17281
15937
  let baseOptions;
@@ -17283,22 +15939,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17283
15939
  baseOptions = configuration.baseOptions;
17284
15940
  }
17285
15941
 
17286
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15942
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17287
15943
  const localVarHeaderParameter = {} as any;
17288
15944
  const localVarQueryParameter = {} as any;
17289
15945
 
17290
- if (customerId !== undefined) {
17291
- localVarQueryParameter['customerId'] = customerId;
17292
- }
17293
-
17294
15946
 
17295
15947
 
17296
- localVarHeaderParameter['Content-Type'] = 'application/json';
17297
-
17298
15948
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17299
15949
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17300
15950
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17301
- localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
17302
15951
 
17303
15952
  return {
17304
15953
  url: toPathString(localVarUrlObj),
@@ -17327,6 +15976,18 @@ export const ProductsApiFp = function(configuration?: Configuration) {
17327
15976
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetAttributeSets']?.[localVarOperationServerIndex]?.url;
17328
15977
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17329
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
+ },
17330
15991
  /**
17331
15992
  * Get Current Stock & Pricing
17332
15993
  * @summary Get Current Stock & Pricing
@@ -17344,11 +16005,14 @@ export const ProductsApiFp = function(configuration?: Configuration) {
17344
16005
  /**
17345
16006
  * Get Products
17346
16007
  * @summary Get Products
16008
+ * @param {number} [pageSize] Number Of Results
16009
+ * @param {number} [page] Page Number
16010
+ * @param {string} [search] Search
17347
16011
  * @param {*} [options] Override http request option.
17348
16012
  * @throws {RequiredError}
17349
16013
  */
17350
- async getGetProducts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BasicProductDTO>>> {
17351
- 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);
17352
16016
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17353
16017
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetProducts']?.[localVarOperationServerIndex]?.url;
17354
16018
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -17377,50 +16041,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
17377
16041
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetTcxTemplates']?.[localVarOperationServerIndex]?.url;
17378
16042
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17379
16043
  },
17380
- /**
17381
- * Search Products
17382
- * @summary Search Products
17383
- * @param {number} [pageSize] Number Of Results
17384
- * @param {number} [page] Page Number
17385
- * @param {string} [search] Search
17386
- * @param {*} [options] Override http request option.
17387
- * @throws {RequiredError}
17388
- */
17389
- async getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
17390
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSearchProducts(pageSize, page, search, options);
17391
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17392
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.getSearchProducts']?.[localVarOperationServerIndex]?.url;
17393
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17394
- },
17395
- /**
17396
- * Get Product
17397
- * @summary Get Product
17398
- * @param {string} sku Product SKU
17399
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17400
- * @param {*} [options] Override http request option.
17401
- * @throws {RequiredError}
17402
- */
17403
- async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
17404
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options);
17405
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17406
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProduct']?.[localVarOperationServerIndex]?.url;
17407
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17408
- },
17409
- /**
17410
- * Get Product For Customer
17411
- * @summary Get Product For Customer
17412
- * @param {number} customerId Customer ID
17413
- * @param {string} sku Product SKU
17414
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17415
- * @param {*} [options] Override http request option.
17416
- * @throws {RequiredError}
17417
- */
17418
- async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
17419
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options);
17420
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17421
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProductForCustomer']?.[localVarOperationServerIndex]?.url;
17422
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17423
- },
17424
16044
  }
17425
16045
  };
17426
16046
 
@@ -17440,6 +16060,15 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
17440
16060
  getGetAttributeSets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeSetEnum>> {
17441
16061
  return localVarFp.getGetAttributeSets(options).then((request) => request(axios, basePath));
17442
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
+ },
17443
16072
  /**
17444
16073
  * Get Current Stock & Pricing
17445
16074
  * @summary Get Current Stock & Pricing
@@ -17454,11 +16083,14 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
17454
16083
  /**
17455
16084
  * Get Products
17456
16085
  * @summary Get Products
16086
+ * @param {number} [pageSize] Number Of Results
16087
+ * @param {number} [page] Page Number
16088
+ * @param {string} [search] Search
17457
16089
  * @param {*} [options] Override http request option.
17458
16090
  * @throws {RequiredError}
17459
16091
  */
17460
- getGetProducts(options?: RawAxiosRequestConfig): AxiosPromise<Array<BasicProductDTO>> {
17461
- 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));
17462
16094
  },
17463
16095
  /**
17464
16096
  * Get Current Stock & Pricing
@@ -17478,41 +16110,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
17478
16110
  getGetTcxTemplates(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxTemplateXmlEnum>> {
17479
16111
  return localVarFp.getGetTcxTemplates(options).then((request) => request(axios, basePath));
17480
16112
  },
17481
- /**
17482
- * Search Products
17483
- * @summary Search Products
17484
- * @param {number} [pageSize] Number Of Results
17485
- * @param {number} [page] Page Number
17486
- * @param {string} [search] Search
17487
- * @param {*} [options] Override http request option.
17488
- * @throws {RequiredError}
17489
- */
17490
- getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
17491
- return localVarFp.getSearchProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
17492
- },
17493
- /**
17494
- * Get Product
17495
- * @summary Get Product
17496
- * @param {string} sku Product SKU
17497
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17498
- * @param {*} [options] Override http request option.
17499
- * @throws {RequiredError}
17500
- */
17501
- postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
17502
- return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
17503
- },
17504
- /**
17505
- * Get Product For Customer
17506
- * @summary Get Product For Customer
17507
- * @param {number} customerId Customer ID
17508
- * @param {string} sku Product SKU
17509
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17510
- * @param {*} [options] Override http request option.
17511
- * @throws {RequiredError}
17512
- */
17513
- postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
17514
- return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
17515
- },
17516
16113
  };
17517
16114
  };
17518
16115
 
@@ -17534,6 +16131,17 @@ export class ProductsApi extends BaseAPI {
17534
16131
  return ProductsApiFp(this.configuration).getGetAttributeSets(options).then((request) => request(this.axios, this.basePath));
17535
16132
  }
17536
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
+
17537
16145
  /**
17538
16146
  * Get Current Stock & Pricing
17539
16147
  * @summary Get Current Stock & Pricing
@@ -17550,12 +16158,15 @@ export class ProductsApi extends BaseAPI {
17550
16158
  /**
17551
16159
  * Get Products
17552
16160
  * @summary Get Products
16161
+ * @param {number} [pageSize] Number Of Results
16162
+ * @param {number} [page] Page Number
16163
+ * @param {string} [search] Search
17553
16164
  * @param {*} [options] Override http request option.
17554
16165
  * @throws {RequiredError}
17555
16166
  * @memberof ProductsApi
17556
16167
  */
17557
- public getGetProducts(options?: RawAxiosRequestConfig) {
17558
- 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));
17559
16170
  }
17560
16171
 
17561
16172
  /**
@@ -17579,47 +16190,6 @@ export class ProductsApi extends BaseAPI {
17579
16190
  public getGetTcxTemplates(options?: RawAxiosRequestConfig) {
17580
16191
  return ProductsApiFp(this.configuration).getGetTcxTemplates(options).then((request) => request(this.axios, this.basePath));
17581
16192
  }
17582
-
17583
- /**
17584
- * Search Products
17585
- * @summary Search Products
17586
- * @param {number} [pageSize] Number Of Results
17587
- * @param {number} [page] Page Number
17588
- * @param {string} [search] Search
17589
- * @param {*} [options] Override http request option.
17590
- * @throws {RequiredError}
17591
- * @memberof ProductsApi
17592
- */
17593
- public getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
17594
- return ProductsApiFp(this.configuration).getSearchProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
17595
- }
17596
-
17597
- /**
17598
- * Get Product
17599
- * @summary Get Product
17600
- * @param {string} sku Product SKU
17601
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17602
- * @param {*} [options] Override http request option.
17603
- * @throws {RequiredError}
17604
- * @memberof ProductsApi
17605
- */
17606
- public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
17607
- return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
17608
- }
17609
-
17610
- /**
17611
- * Get Product For Customer
17612
- * @summary Get Product For Customer
17613
- * @param {number} customerId Customer ID
17614
- * @param {string} sku Product SKU
17615
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17616
- * @param {*} [options] Override http request option.
17617
- * @throws {RequiredError}
17618
- * @memberof ProductsApi
17619
- */
17620
- public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
17621
- return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
17622
- }
17623
16193
  }
17624
16194
 
17625
16195
  /**
@@ -17960,7 +16530,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
17960
16530
  * @param {*} [options] Override http request option.
17961
16531
  * @throws {RequiredError}
17962
16532
  */
17963
- 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>>> {
17964
16534
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetGroups(id, options);
17965
16535
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17966
16536
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getGetGroups']?.[localVarOperationServerIndex]?.url;
@@ -17973,7 +16543,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
17973
16543
  * @param {*} [options] Override http request option.
17974
16544
  * @throws {RequiredError}
17975
16545
  */
17976
- 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>> {
17977
16547
  const localVarAxiosArgs = await localVarAxiosParamCreator.postAddFanvilGroup(provisioningRequestEntity, options);
17978
16548
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17979
16549
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilGroup']?.[localVarOperationServerIndex]?.url;
@@ -18052,7 +16622,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
18052
16622
  * @param {*} [options] Override http request option.
18053
16623
  * @throws {RequiredError}
18054
16624
  */
18055
- getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningModel>> {
16625
+ getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningEntity>> {
18056
16626
  return localVarFp.getGetGroups(id, options).then((request) => request(axios, basePath));
18057
16627
  },
18058
16628
  /**
@@ -18062,7 +16632,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
18062
16632
  * @param {*} [options] Override http request option.
18063
16633
  * @throws {RequiredError}
18064
16634
  */
18065
- postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningModel> {
16635
+ postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningEntity> {
18066
16636
  return localVarFp.postAddFanvilGroup(provisioningRequestEntity, options).then((request) => request(axios, basePath));
18067
16637
  },
18068
16638
  /**
@@ -19963,114 +18533,6 @@ export class SMSApi extends BaseAPI {
19963
18533
 
19964
18534
 
19965
18535
 
19966
- /**
19967
- * ShippingApi - axios parameter creator
19968
- * @export
19969
- */
19970
- export const ShippingApiAxiosParamCreator = function (configuration?: Configuration) {
19971
- return {
19972
- /**
19973
- * Get Shipping Services
19974
- * @summary Get Shipping Services
19975
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
19976
- * @param {*} [options] Override http request option.
19977
- * @throws {RequiredError}
19978
- */
19979
- postGetShippingServices: async (shippingInformationDTO?: ShippingInformationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19980
- const localVarPath = `/shipping/services`;
19981
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
19982
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19983
- let baseOptions;
19984
- if (configuration) {
19985
- baseOptions = configuration.baseOptions;
19986
- }
19987
-
19988
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
19989
- const localVarHeaderParameter = {} as any;
19990
- const localVarQueryParameter = {} as any;
19991
-
19992
-
19993
-
19994
- localVarHeaderParameter['Content-Type'] = 'application/json';
19995
-
19996
- setSearchParams(localVarUrlObj, localVarQueryParameter);
19997
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19998
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19999
- localVarRequestOptions.data = serializeDataIfNeeded(shippingInformationDTO, localVarRequestOptions, configuration)
20000
-
20001
- return {
20002
- url: toPathString(localVarUrlObj),
20003
- options: localVarRequestOptions,
20004
- };
20005
- },
20006
- }
20007
- };
20008
-
20009
- /**
20010
- * ShippingApi - functional programming interface
20011
- * @export
20012
- */
20013
- export const ShippingApiFp = function(configuration?: Configuration) {
20014
- const localVarAxiosParamCreator = ShippingApiAxiosParamCreator(configuration)
20015
- return {
20016
- /**
20017
- * Get Shipping Services
20018
- * @summary Get Shipping Services
20019
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20020
- * @param {*} [options] Override http request option.
20021
- * @throws {RequiredError}
20022
- */
20023
- async postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingServicesModel>> {
20024
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetShippingServices(shippingInformationDTO, options);
20025
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20026
- const localVarOperationServerBasePath = operationServerMap['ShippingApi.postGetShippingServices']?.[localVarOperationServerIndex]?.url;
20027
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20028
- },
20029
- }
20030
- };
20031
-
20032
- /**
20033
- * ShippingApi - factory interface
20034
- * @export
20035
- */
20036
- export const ShippingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
20037
- const localVarFp = ShippingApiFp(configuration)
20038
- return {
20039
- /**
20040
- * Get Shipping Services
20041
- * @summary Get Shipping Services
20042
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20043
- * @param {*} [options] Override http request option.
20044
- * @throws {RequiredError}
20045
- */
20046
- postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShippingServicesModel> {
20047
- return localVarFp.postGetShippingServices(shippingInformationDTO, options).then((request) => request(axios, basePath));
20048
- },
20049
- };
20050
- };
20051
-
20052
- /**
20053
- * ShippingApi - object-oriented interface
20054
- * @export
20055
- * @class ShippingApi
20056
- * @extends {BaseAPI}
20057
- */
20058
- export class ShippingApi extends BaseAPI {
20059
- /**
20060
- * Get Shipping Services
20061
- * @summary Get Shipping Services
20062
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20063
- * @param {*} [options] Override http request option.
20064
- * @throws {RequiredError}
20065
- * @memberof ShippingApi
20066
- */
20067
- public postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig) {
20068
- return ShippingApiFp(this.configuration).postGetShippingServices(shippingInformationDTO, options).then((request) => request(this.axios, this.basePath));
20069
- }
20070
- }
20071
-
20072
-
20073
-
20074
18536
  /**
20075
18537
  * StockManagementApi - axios parameter creator
20076
18538
  * @export
@@ -21157,7 +19619,7 @@ export const StockManagementApiFp = function(configuration?: Configuration) {
21157
19619
  * @param {*} [options] Override http request option.
21158
19620
  * @throws {RequiredError}
21159
19621
  */
21160
- 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>>> {
21161
19623
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockSupplierProducts(id, options);
21162
19624
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21163
19625
  const localVarOperationServerBasePath = operationServerMap['StockManagementApi.getGetStockSupplierProducts']?.[localVarOperationServerIndex]?.url;
@@ -21460,7 +19922,7 @@ export const StockManagementApiFactory = function (configuration?: Configuration
21460
19922
  * @param {*} [options] Override http request option.
21461
19923
  * @throws {RequiredError}
21462
19924
  */
21463
- getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryDTO>> {
19925
+ getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryModel>> {
21464
19926
  return localVarFp.getGetStockSupplierProducts(id, options).then((request) => request(axios, basePath));
21465
19927
  },
21466
19928
  /**