yellowgrid-api-ts 3.0.110-dev.0 → 3.0.111

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 (54) hide show
  1. package/.openapi-generator/FILES +195 -212
  2. package/README.md +7 -33
  3. package/api.ts +259 -1791
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/config.json +3 -3
  7. package/configuration.ts +1 -1
  8. package/dist/api.d.ts +150 -1304
  9. package/dist/api.js +208 -1060
  10. package/dist/base.d.ts +1 -1
  11. package/dist/base.js +1 -1
  12. package/dist/common.d.ts +1 -1
  13. package/dist/common.js +1 -1
  14. package/dist/configuration.d.ts +1 -1
  15. package/dist/configuration.js +1 -1
  16. package/dist/index.d.ts +1 -1
  17. package/dist/index.js +1 -1
  18. package/docs/AccountsApi.md +0 -103
  19. package/docs/Class3CXApi.md +55 -0
  20. package/docs/ClientDetailsModel.md +2 -0
  21. package/docs/{ShippingServicesModel.md → GetGetPasswordHash200Response.md} +5 -5
  22. package/docs/ItemDTO.md +4 -12
  23. package/docs/ItemEntity.md +0 -2
  24. package/docs/OrderSummaryDTO.md +0 -8
  25. package/docs/OrderTotalModel.md +0 -2
  26. package/docs/OrdersApi.md +4 -301
  27. package/docs/ProductSearchResultsModel.md +1 -1
  28. package/docs/{ProductSummaryDTO.md → ProductSummaryModel.md} +3 -5
  29. package/docs/ProductsApi.md +43 -164
  30. package/docs/ProvisioningApi.md +4 -4
  31. package/docs/{ProvisioningModel.md → ProvisioningEntity.md} +3 -3
  32. package/docs/ShipmentEntity.md +2 -2
  33. package/docs/StockManagementApi.md +2 -2
  34. package/docs/TcxSbcModel.md +1 -1
  35. package/index.ts +1 -1
  36. package/package.json +1 -1
  37. package/docs/AbstractOrderRequestDTO.md +0 -33
  38. package/docs/AccountDetailedSummaryDTO.md +0 -39
  39. package/docs/AdminItemRequestDTO.md +0 -39
  40. package/docs/AdminOrderRequestDTO.md +0 -45
  41. package/docs/AdminUserModel.md +0 -29
  42. package/docs/BasicItemDTO.md +0 -23
  43. package/docs/BasicProductDTO.md +0 -23
  44. package/docs/CourierPriceEntity.md +0 -39
  45. package/docs/CustomerItemRequestDTO.md +0 -35
  46. package/docs/CustomerOrderRequestDTO.md +0 -33
  47. package/docs/LinkedOrderEntity.md +0 -23
  48. package/docs/PostGetProductForCustomerRequest.md +0 -24
  49. package/docs/ShippingApi.md +0 -63
  50. package/docs/ShippingConsignmentModel.md +0 -26
  51. package/docs/ShippingInformationDTO.md +0 -25
  52. package/docs/ShippingServiceDTO.md +0 -23
  53. package/docs/ShippingServiceModel.md +0 -31
  54. 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
@@ -651,206 +535,6 @@ export interface AddressRequestModel {
651
535
  */
652
536
  'addressPostcode'?: string;
653
537
  }
654
- /**
655
- * Admin Order Item Request
656
- * @export
657
- * @interface AdminItemRequestDTO
658
- */
659
- export interface AdminItemRequestDTO {
660
- /**
661
- * SKU
662
- * @type {string}
663
- * @memberof AdminItemRequestDTO
664
- */
665
- 'sku'?: string;
666
- /**
667
- * Quantity
668
- * @type {number}
669
- * @memberof AdminItemRequestDTO
670
- */
671
- 'quantity'?: number;
672
- /**
673
- * ID
674
- * @type {number}
675
- * @memberof AdminItemRequestDTO
676
- */
677
- 'id'?: number | null;
678
- /**
679
- * 3CX Licence Key
680
- * @type {string}
681
- * @memberof AdminItemRequestDTO
682
- */
683
- 'licenceKey'?: string | null;
684
- /**
685
- * 3CX Hosting
686
- * @type {boolean}
687
- * @memberof AdminItemRequestDTO
688
- */
689
- 'hosting'?: boolean | null;
690
- /**
691
- * Date Time
692
- * @type {string}
693
- * @memberof AdminItemRequestDTO
694
- */
695
- 'processDate'?: string;
696
- /**
697
- * 3CX Sales Code
698
- * @type {string}
699
- * @memberof AdminItemRequestDTO
700
- */
701
- 'tcxSalesCode'?: string | null;
702
- /**
703
- * SBCS
704
- * @type {Array<TcxSbcDTO>}
705
- * @memberof AdminItemRequestDTO
706
- */
707
- 'sbcs'?: Array<TcxSbcDTO>;
708
- /**
709
- * Title
710
- * @type {string}
711
- * @memberof AdminItemRequestDTO
712
- */
713
- 'title'?: string | null;
714
- /**
715
- * Price (£)
716
- * @type {number}
717
- * @memberof AdminItemRequestDTO
718
- */
719
- 'itemPrice'?: number | null;
720
- }
721
- /**
722
- * Admin Order Request
723
- * @export
724
- * @interface AdminOrderRequestDTO
725
- */
726
- export interface AdminOrderRequestDTO {
727
- /**
728
- * Order Reference
729
- * @type {string}
730
- * @memberof AdminOrderRequestDTO
731
- */
732
- 'orderReference'?: string | null;
733
- /**
734
- * Items
735
- * @type {Array<AdminItemRequestDTO>}
736
- * @memberof AdminOrderRequestDTO
737
- */
738
- 'items'?: Array<AdminItemRequestDTO>;
739
- /**
740
- *
741
- * @type {ShippingServiceDTO}
742
- * @memberof AdminOrderRequestDTO
743
- */
744
- 'shippingService'?: ShippingServiceDTO;
745
- /**
746
- * Provisioning URL
747
- * @type {string}
748
- * @memberof AdminOrderRequestDTO
749
- */
750
- 'provisioningUrl'?: string | null;
751
- /**
752
- *
753
- * @type {AddressModel}
754
- * @memberof AdminOrderRequestDTO
755
- */
756
- 'shippingAddress'?: AddressModel;
757
- /**
758
- * Part Ship Order
759
- * @type {boolean}
760
- * @memberof AdminOrderRequestDTO
761
- */
762
- 'partShip'?: boolean;
763
- /**
764
- * Quote
765
- * @type {boolean}
766
- * @memberof AdminOrderRequestDTO
767
- */
768
- 'quote'?: boolean;
769
- /**
770
- * Customer ID
771
- * @type {number}
772
- * @memberof AdminOrderRequestDTO
773
- */
774
- 'customerId'?: number;
775
- /**
776
- * Contact
777
- * @type {string}
778
- * @memberof AdminOrderRequestDTO
779
- */
780
- 'contact'?: string;
781
- /**
782
- * Ignore Customer On Hold
783
- * @type {boolean}
784
- * @memberof AdminOrderRequestDTO
785
- */
786
- 'ignoreOnHold'?: boolean;
787
- /**
788
- * Ignore Customer Credit Limit
789
- * @type {boolean}
790
- * @memberof AdminOrderRequestDTO
791
- */
792
- 'ignoreCreditLimit'?: boolean;
793
- /**
794
- * Include NFR Promos
795
- * @type {boolean}
796
- * @memberof AdminOrderRequestDTO
797
- */
798
- 'includeNfrPromos'?: boolean;
799
- /**
800
- * Carriage Charge
801
- * @type {number}
802
- * @memberof AdminOrderRequestDTO
803
- */
804
- 'carriageCharge'?: number;
805
- }
806
- /**
807
- * Admin User
808
- * @export
809
- * @interface AdminUserModel
810
- */
811
- export interface AdminUserModel {
812
- /**
813
- * First Name
814
- * @type {string}
815
- * @memberof AdminUserModel
816
- */
817
- 'firstName'?: string;
818
- /**
819
- * Last Name
820
- * @type {string}
821
- * @memberof AdminUserModel
822
- */
823
- 'lastName'?: string;
824
- /**
825
- * Avatar
826
- * @type {string}
827
- * @memberof AdminUserModel
828
- */
829
- 'avatar'?: string | null;
830
- /**
831
- * Role
832
- * @type {number}
833
- * @memberof AdminUserModel
834
- */
835
- 'role'?: AdminUserModelRoleEnum;
836
- /**
837
- * Email
838
- * @type {string}
839
- * @memberof AdminUserModel
840
- */
841
- 'email'?: string | null;
842
- }
843
-
844
- export const AdminUserModelRoleEnum = {
845
- NUMBER_0: 0,
846
- NUMBER_1: 1,
847
- NUMBER_2: 2,
848
- NUMBER_3: 3,
849
- NUMBER_4: 4
850
- } as const;
851
-
852
- export type AdminUserModelRoleEnum = typeof AdminUserModelRoleEnum[keyof typeof AdminUserModelRoleEnum];
853
-
854
538
  /**
855
539
  * Agent Hours Graph
856
540
  * @export
@@ -1080,44 +764,6 @@ export interface AuthCodeResponseModel {
1080
764
  */
1081
765
  'redirect_uri'?: string | null;
1082
766
  }
1083
- /**
1084
- * Basic Order Item
1085
- * @export
1086
- * @interface BasicItemDTO
1087
- */
1088
- export interface BasicItemDTO {
1089
- /**
1090
- * SKU
1091
- * @type {string}
1092
- * @memberof BasicItemDTO
1093
- */
1094
- 'sku'?: string;
1095
- /**
1096
- * Quantity
1097
- * @type {number}
1098
- * @memberof BasicItemDTO
1099
- */
1100
- 'quantity'?: number;
1101
- }
1102
- /**
1103
- * Basic Product
1104
- * @export
1105
- * @interface BasicProductDTO
1106
- */
1107
- export interface BasicProductDTO {
1108
- /**
1109
- * SKU
1110
- * @type {string}
1111
- * @memberof BasicProductDTO
1112
- */
1113
- 'sku'?: string;
1114
- /**
1115
- * Title
1116
- * @type {string}
1117
- * @memberof BasicProductDTO
1118
- */
1119
- 'title'?: string;
1120
- }
1121
767
  /**
1122
768
  * BatchesEntity
1123
769
  * @export
@@ -1312,6 +958,12 @@ export interface ClientDetailsModel {
1312
958
  * @memberof ClientDetailsModel
1313
959
  */
1314
960
  'lastName'?: string;
961
+ /**
962
+ * User Profile Picture
963
+ * @type {string}
964
+ * @memberof ClientDetailsModel
965
+ */
966
+ 'image'?: string | null;
1315
967
  }
1316
968
  /**
1317
969
  * OAuth client details
@@ -1474,108 +1126,41 @@ export interface ConversationModel {
1474
1126
  'attachments'?: Array<AttachmentModel>;
1475
1127
  }
1476
1128
  /**
1477
- * CourierPricesEntity
1129
+ * Credit Account
1478
1130
  * @export
1479
- * @interface CourierPriceEntity
1131
+ * @interface CreditAccountEntity
1480
1132
  */
1481
- export interface CourierPriceEntity {
1133
+ export interface CreditAccountEntity {
1482
1134
  /**
1483
- * id
1135
+ * ID
1484
1136
  * @type {number}
1485
- * @memberof CourierPriceEntity
1137
+ * @memberof CreditAccountEntity
1486
1138
  */
1487
1139
  'id'?: number;
1488
1140
  /**
1489
- * courier
1141
+ * Contact Name
1490
1142
  * @type {string}
1491
- * @memberof CourierPriceEntity
1143
+ * @memberof CreditAccountEntity
1492
1144
  */
1493
- 'courier'?: string;
1145
+ 'name'?: string;
1494
1146
  /**
1495
- * destinationIso
1147
+ * Email
1496
1148
  * @type {string}
1497
- * @memberof CourierPriceEntity
1149
+ * @memberof CreditAccountEntity
1498
1150
  */
1499
- 'destinationIso'?: string;
1151
+ 'email'?: string;
1500
1152
  /**
1501
- * serviceDescription
1153
+ * Phone Number
1502
1154
  * @type {string}
1503
- * @memberof CourierPriceEntity
1155
+ * @memberof CreditAccountEntity
1504
1156
  */
1505
- 'serviceDescription'?: string;
1157
+ 'phone'?: string;
1506
1158
  /**
1507
- * flatRate
1508
- * @type {number}
1509
- * @memberof CourierPriceEntity
1159
+ * Company Name
1160
+ * @type {string}
1161
+ * @memberof CreditAccountEntity
1510
1162
  */
1511
- 'flatRate'?: number;
1512
- /**
1513
- * initialBox
1514
- * @type {number}
1515
- * @memberof CourierPriceEntity
1516
- */
1517
- 'initialBox'?: number;
1518
- /**
1519
- * initialKg
1520
- * @type {number}
1521
- * @memberof CourierPriceEntity
1522
- */
1523
- 'initialKg'?: number;
1524
- /**
1525
- * perBox
1526
- * @type {number}
1527
- * @memberof CourierPriceEntity
1528
- */
1529
- 'perBox'?: number;
1530
- /**
1531
- * perKg
1532
- * @type {number}
1533
- * @memberof CourierPriceEntity
1534
- */
1535
- 'perKg'?: number;
1536
- /**
1537
- * maxKg
1538
- * @type {number}
1539
- * @memberof CourierPriceEntity
1540
- */
1541
- 'maxKg'?: number;
1542
- }
1543
- /**
1544
- * Credit Account
1545
- * @export
1546
- * @interface CreditAccountEntity
1547
- */
1548
- export interface CreditAccountEntity {
1549
- /**
1550
- * ID
1551
- * @type {number}
1552
- * @memberof CreditAccountEntity
1553
- */
1554
- 'id'?: number;
1555
- /**
1556
- * Contact Name
1557
- * @type {string}
1558
- * @memberof CreditAccountEntity
1559
- */
1560
- 'name'?: string;
1561
- /**
1562
- * Email
1563
- * @type {string}
1564
- * @memberof CreditAccountEntity
1565
- */
1566
- 'email'?: string;
1567
- /**
1568
- * Phone Number
1569
- * @type {string}
1570
- * @memberof CreditAccountEntity
1571
- */
1572
- 'phone'?: string;
1573
- /**
1574
- * Company Name
1575
- * @type {string}
1576
- * @memberof CreditAccountEntity
1577
- */
1578
- 'company'?: string;
1163
+ 'company'?: string;
1579
1164
  /**
1580
1165
  * Company Registration Number
1581
1166
  * @type {string}
@@ -1722,110 +1307,6 @@ export interface CustomerInformationModel {
1722
1307
  */
1723
1308
  'contactLastName'?: string;
1724
1309
  }
1725
- /**
1726
- * Order Item Request
1727
- * @export
1728
- * @interface CustomerItemRequestDTO
1729
- */
1730
- export interface CustomerItemRequestDTO {
1731
- /**
1732
- * SKU
1733
- * @type {string}
1734
- * @memberof CustomerItemRequestDTO
1735
- */
1736
- 'sku'?: string;
1737
- /**
1738
- * Quantity
1739
- * @type {number}
1740
- * @memberof CustomerItemRequestDTO
1741
- */
1742
- 'quantity'?: number;
1743
- /**
1744
- * ID
1745
- * @type {number}
1746
- * @memberof CustomerItemRequestDTO
1747
- */
1748
- 'id'?: number | null;
1749
- /**
1750
- * 3CX Licence Key
1751
- * @type {string}
1752
- * @memberof CustomerItemRequestDTO
1753
- */
1754
- 'licenceKey'?: string | null;
1755
- /**
1756
- * 3CX Hosting
1757
- * @type {boolean}
1758
- * @memberof CustomerItemRequestDTO
1759
- */
1760
- 'hosting'?: boolean | null;
1761
- /**
1762
- * Date Time
1763
- * @type {string}
1764
- * @memberof CustomerItemRequestDTO
1765
- */
1766
- 'processDate'?: string;
1767
- /**
1768
- * 3CX Sales Code
1769
- * @type {string}
1770
- * @memberof CustomerItemRequestDTO
1771
- */
1772
- 'tcxSalesCode'?: string | null;
1773
- /**
1774
- * SBCS
1775
- * @type {Array<TcxSbcDTO>}
1776
- * @memberof CustomerItemRequestDTO
1777
- */
1778
- 'sbcs'?: Array<TcxSbcDTO>;
1779
- }
1780
- /**
1781
- * Order Request
1782
- * @export
1783
- * @interface CustomerOrderRequestDTO
1784
- */
1785
- export interface CustomerOrderRequestDTO {
1786
- /**
1787
- * Order Reference
1788
- * @type {string}
1789
- * @memberof CustomerOrderRequestDTO
1790
- */
1791
- 'orderReference'?: string | null;
1792
- /**
1793
- * Items
1794
- * @type {Array<CustomerItemRequestDTO>}
1795
- * @memberof CustomerOrderRequestDTO
1796
- */
1797
- 'items'?: Array<CustomerItemRequestDTO>;
1798
- /**
1799
- *
1800
- * @type {ShippingServiceDTO}
1801
- * @memberof CustomerOrderRequestDTO
1802
- */
1803
- 'shippingService'?: ShippingServiceDTO;
1804
- /**
1805
- * Provisioning URL
1806
- * @type {string}
1807
- * @memberof CustomerOrderRequestDTO
1808
- */
1809
- 'provisioningUrl'?: string | null;
1810
- /**
1811
- *
1812
- * @type {AddressModel}
1813
- * @memberof CustomerOrderRequestDTO
1814
- */
1815
- 'shippingAddress'?: AddressModel;
1816
- /**
1817
- * Part Ship Order
1818
- * @type {boolean}
1819
- * @memberof CustomerOrderRequestDTO
1820
- */
1821
- 'partShip'?: boolean;
1822
- /**
1823
- * Quote
1824
- * @type {boolean}
1825
- * @memberof CustomerOrderRequestDTO
1826
- */
1827
- 'quote'?: boolean;
1828
- }
1829
1310
  /**
1830
1311
  * Customer Price List
1831
1312
  * @export
@@ -2335,6 +1816,19 @@ export interface GenericFileModel {
2335
1816
  */
2336
1817
  'type'?: string;
2337
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
+ }
2338
1832
  /**
2339
1833
  *
2340
1834
  * @export
@@ -2935,36 +2429,36 @@ export interface InstanceUserCredentialsEntity {
2935
2429
  * @interface ItemDTO
2936
2430
  */
2937
2431
  export interface ItemDTO {
2938
- /**
2939
- * SKU
2940
- * @type {string}
2941
- * @memberof ItemDTO
2942
- */
2943
- 'sku'?: string;
2944
- /**
2945
- * Quantity
2946
- * @type {number}
2947
- * @memberof ItemDTO
2948
- */
2949
- 'quantity'?: number;
2950
2432
  /**
2951
2433
  * ID
2952
2434
  * @type {number}
2953
2435
  * @memberof ItemDTO
2954
2436
  */
2955
- 'id'?: number | null;
2437
+ 'id'?: number;
2956
2438
  /**
2957
2439
  * Order ID
2958
2440
  * @type {number}
2959
2441
  * @memberof ItemDTO
2960
2442
  */
2961
- 'orderId'?: number | null;
2443
+ 'orderId'?: number;
2962
2444
  /**
2963
2445
  * Title
2964
2446
  * @type {string}
2965
2447
  * @memberof ItemDTO
2966
2448
  */
2967
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;
2968
2462
  /**
2969
2463
  * Price
2970
2464
  * @type {number}
@@ -2989,12 +2483,6 @@ export interface ItemDTO {
2989
2483
  * @memberof ItemDTO
2990
2484
  */
2991
2485
  'processDate'?: string;
2992
- /**
2993
- * 3CX Hosting
2994
- * @type {boolean}
2995
- * @memberof ItemDTO
2996
- */
2997
- 'hosting'?: boolean | null;
2998
2486
  /**
2999
2487
  * Promo Item
3000
2488
  * @type {boolean}
@@ -3006,25 +2494,7 @@ export interface ItemDTO {
3006
2494
  * @type {number}
3007
2495
  * @memberof ItemDTO
3008
2496
  */
3009
- 'refunded'?: number | null;
3010
- /**
3011
- * SBCs
3012
- * @type {Array<TcxSbcDTO>}
3013
- * @memberof ItemDTO
3014
- */
3015
- 'sbcs'?: Array<TcxSbcDTO> | null;
3016
- /**
3017
- * Readonly
3018
- * @type {boolean}
3019
- * @memberof ItemDTO
3020
- */
3021
- 'readonly'?: boolean;
3022
- /**
3023
- * 3CX Sales Code
3024
- * @type {string}
3025
- * @memberof ItemDTO
3026
- */
3027
- 'tcxSalesCode'?: string | null;
2497
+ 'refunded'?: number;
3028
2498
  }
3029
2499
  /**
3030
2500
  * ItemsEntity
@@ -3158,31 +2628,6 @@ export interface ItemEntity {
3158
2628
  * @memberof ItemEntity
3159
2629
  */
3160
2630
  'promoItem'?: number;
3161
- /**
3162
- * 3CX Sales Code
3163
- * @type {string}
3164
- * @memberof ItemEntity
3165
- */
3166
- 'tcxSalesCode'?: string | null;
3167
- }
3168
- /**
3169
- * LinkedOrdersEntity
3170
- * @export
3171
- * @interface LinkedOrderEntity
3172
- */
3173
- export interface LinkedOrderEntity {
3174
- /**
3175
- * orderId
3176
- * @type {number}
3177
- * @memberof LinkedOrderEntity
3178
- */
3179
- 'orderId'?: number;
3180
- /**
3181
- * linkedOrderId
3182
- * @type {number}
3183
- * @memberof LinkedOrderEntity
3184
- */
3185
- 'linkedOrderId'?: number;
3186
2631
  }
3187
2632
  /**
3188
2633
  * MFA Required
@@ -3843,19 +3288,13 @@ export interface OrderSummaryDTO {
3843
3288
  * @type {string}
3844
3289
  * @memberof OrderSummaryDTO
3845
3290
  */
3846
- 'reference'?: string | null;
3291
+ 'reference'?: string;
3847
3292
  /**
3848
3293
  * Invoice Number
3849
3294
  * @type {string}
3850
3295
  * @memberof OrderSummaryDTO
3851
3296
  */
3852
3297
  'invoiceNumber'?: string;
3853
- /**
3854
- * Invoice ID
3855
- * @type {string}
3856
- * @memberof OrderSummaryDTO
3857
- */
3858
- 'invoiceId'?: string | null;
3859
3298
  /**
3860
3299
  * Date Time
3861
3300
  * @type {string}
@@ -3910,24 +3349,6 @@ export interface OrderSummaryDTO {
3910
3349
  * @memberof OrderSummaryDTO
3911
3350
  */
3912
3351
  'fulfillable'?: boolean | null;
3913
- /**
3914
- * Provisioning URL
3915
- * @type {string}
3916
- * @memberof OrderSummaryDTO
3917
- */
3918
- 'provisioningUrl'?: string | null;
3919
- /**
3920
- *
3921
- * @type {ShippingServiceDTO}
3922
- * @memberof OrderSummaryDTO
3923
- */
3924
- 'shippingService'?: ShippingServiceDTO | null;
3925
- /**
3926
- * Readonly
3927
- * @type {boolean}
3928
- * @memberof OrderSummaryDTO
3929
- */
3930
- 'readonly'?: boolean;
3931
3352
  }
3932
3353
  /**
3933
3354
  * Order Totals
@@ -3977,12 +3398,6 @@ export interface OrderTotalModel {
3977
3398
  * @memberof OrderTotalModel
3978
3399
  */
3979
3400
  'currency'?: OrderTotalModelCurrencyEnum;
3980
- /**
3981
- * Delivery
3982
- * @type {number}
3983
- * @memberof OrderTotalModel
3984
- */
3985
- 'delivery'?: number | null;
3986
3401
  }
3987
3402
 
3988
3403
  export const OrderTotalModelCurrencyEnum = {
@@ -4364,31 +3779,6 @@ export interface PostGetClientCredentialsRequest {
4364
3779
  */
4365
3780
  'scopes'?: Array<string>;
4366
3781
  }
4367
- /**
4368
- *
4369
- * @export
4370
- * @interface PostGetProductForCustomerRequest
4371
- */
4372
- export interface PostGetProductForCustomerRequest {
4373
- /**
4374
- * Quantity
4375
- * @type {number}
4376
- * @memberof PostGetProductForCustomerRequest
4377
- */
4378
- 'quantity'?: number | null;
4379
- /**
4380
- * 3CX Licence Key
4381
- * @type {string}
4382
- * @memberof PostGetProductForCustomerRequest
4383
- */
4384
- 'licenceKey'?: string | null;
4385
- /**
4386
- * 3CX Hosting
4387
- * @type {boolean}
4388
- * @memberof PostGetProductForCustomerRequest
4389
- */
4390
- 'hosting'?: boolean | null;
4391
- }
4392
3782
  /**
4393
3783
  * Price & Stock List
4394
3784
  * @export
@@ -4477,10 +3867,10 @@ export interface PrizesEntity {
4477
3867
  export interface ProductSearchResultsModel {
4478
3868
  /**
4479
3869
  * Results
4480
- * @type {Array<ProductSummaryDTO>}
3870
+ * @type {Array<ProductSummaryModel>}
4481
3871
  * @memberof ProductSearchResultsModel
4482
3872
  */
4483
- 'results'?: Array<ProductSummaryDTO>;
3873
+ 'results'?: Array<ProductSummaryModel>;
4484
3874
  }
4485
3875
  /**
4486
3876
  * Product Serial Info
@@ -4516,51 +3906,45 @@ export interface ProductSerialInfoModel {
4516
3906
  /**
4517
3907
  * Product Summary
4518
3908
  * @export
4519
- * @interface ProductSummaryDTO
3909
+ * @interface ProductSummaryModel
4520
3910
  */
4521
- export interface ProductSummaryDTO {
3911
+ export interface ProductSummaryModel {
4522
3912
  /**
4523
3913
  * SKU
4524
3914
  * @type {string}
4525
- * @memberof ProductSummaryDTO
3915
+ * @memberof ProductSummaryModel
4526
3916
  */
4527
3917
  'sku'?: string;
4528
3918
  /**
4529
3919
  * Title
4530
3920
  * @type {string}
4531
- * @memberof ProductSummaryDTO
3921
+ * @memberof ProductSummaryModel
4532
3922
  */
4533
3923
  'title'?: string;
4534
3924
  /**
4535
3925
  * Stock Quantity
4536
3926
  * @type {number}
4537
- * @memberof ProductSummaryDTO
3927
+ * @memberof ProductSummaryModel
4538
3928
  */
4539
3929
  'quantity'?: number | null;
4540
3930
  /**
4541
3931
  * Stock Product
4542
3932
  * @type {boolean}
4543
- * @memberof ProductSummaryDTO
3933
+ * @memberof ProductSummaryModel
4544
3934
  */
4545
3935
  'stockProduct'?: boolean;
4546
3936
  /**
4547
3937
  * Price
4548
3938
  * @type {number}
4549
- * @memberof ProductSummaryDTO
3939
+ * @memberof ProductSummaryModel
4550
3940
  */
4551
3941
  'price'?: number | null;
4552
3942
  /**
4553
3943
  * Carton Size
4554
3944
  * @type {number}
4555
- * @memberof ProductSummaryDTO
3945
+ * @memberof ProductSummaryModel
4556
3946
  */
4557
3947
  'cartonSize'?: number | null;
4558
- /**
4559
- * RRP Price
4560
- * @type {number}
4561
- * @memberof ProductSummaryDTO
4562
- */
4563
- 'rrp'?: number | null;
4564
3948
  }
4565
3949
  /**
4566
3950
  * PromoCodesEntity
@@ -4699,37 +4083,37 @@ export interface PromoItemsEntity {
4699
4083
  /**
4700
4084
  * Provisioning Group
4701
4085
  * @export
4702
- * @interface ProvisioningModel
4086
+ * @interface ProvisioningEntity
4703
4087
  */
4704
- export interface ProvisioningModel {
4088
+ export interface ProvisioningEntity {
4705
4089
  /**
4706
4090
  * Provisioning Group Name
4707
4091
  * @type {string}
4708
- * @memberof ProvisioningModel
4092
+ * @memberof ProvisioningEntity
4709
4093
  */
4710
4094
  'groupName'?: string;
4711
4095
  /**
4712
4096
  * Provisioning URL (Static Provisioning Server)
4713
4097
  * @type {string}
4714
- * @memberof ProvisioningModel
4098
+ * @memberof ProvisioningEntity
4715
4099
  */
4716
4100
  'provisioningUrl'?: string;
4717
4101
  /**
4718
4102
  * Additional Authentication Secret
4719
4103
  * @type {string}
4720
- * @memberof ProvisioningModel
4104
+ * @memberof ProvisioningEntity
4721
4105
  */
4722
4106
  'auth'?: string;
4723
4107
  /**
4724
4108
  * Provisioning Group ID
4725
4109
  * @type {number}
4726
- * @memberof ProvisioningModel
4110
+ * @memberof ProvisioningEntity
4727
4111
  */
4728
4112
  'id'?: number;
4729
4113
  /**
4730
4114
  * Owner ID
4731
4115
  * @type {number}
4732
- * @memberof ProvisioningModel
4116
+ * @memberof ProvisioningEntity
4733
4117
  */
4734
4118
  'customerId'?: number;
4735
4119
  }
@@ -5083,7 +4467,7 @@ export interface ShipmentEntity {
5083
4467
  * @type {string}
5084
4468
  * @memberof ShipmentEntity
5085
4469
  */
5086
- 'dateShipped'?: string;
4470
+ 'date'?: string;
5087
4471
  /**
5088
4472
  * requestDate
5089
4473
  * @type {string}
@@ -5135,190 +4519,41 @@ export interface ShipmentItemEntity {
5135
4519
  'itemId'?: string;
5136
4520
  }
5137
4521
  /**
5138
- *
4522
+ * Change Response
5139
4523
  * @export
5140
- * @interface ShippingConsignmentModel
4524
+ * @interface SipTrunkChangeResponseModel
5141
4525
  */
5142
- export interface ShippingConsignmentModel {
4526
+ export interface SipTrunkChangeResponseModel {
4527
+ /**
4528
+ * ID
4529
+ * @type {string}
4530
+ * @memberof SipTrunkChangeResponseModel
4531
+ */
4532
+ 'changeId'?: string;
5143
4533
  /**
5144
4534
  *
5145
- * @type {ShippingServiceModel}
5146
- * @memberof ShippingConsignmentModel
4535
+ * @type {SipTrunkEntity}
4536
+ * @memberof SipTrunkChangeResponseModel
5147
4537
  */
5148
- 'service'?: ShippingServiceModel;
4538
+ 'trunk'?: SipTrunkEntity;
5149
4539
  /**
5150
- * ID/Number
4540
+ * Type
5151
4541
  * @type {string}
5152
- * @memberof ShippingConsignmentModel
4542
+ * @memberof SipTrunkChangeResponseModel
5153
4543
  */
5154
- 'id'?: string;
4544
+ 'type'?: SipTrunkChangeResponseModelTypeEnum;
5155
4545
  /**
5156
- * Tracking Number
5157
- * @type {string}
5158
- * @memberof ShippingConsignmentModel
4546
+ * Progress
4547
+ * @type {number}
4548
+ * @memberof SipTrunkChangeResponseModel
5159
4549
  */
5160
- 'trackingNumber'?: string;
4550
+ 'progress'?: number;
5161
4551
  /**
5162
- * Parcels
5163
- * @type {Array<string>}
5164
- * @memberof ShippingConsignmentModel
4552
+ * Service Provider
4553
+ * @type {number}
4554
+ * @memberof SipTrunkChangeResponseModel
5165
4555
  */
5166
- 'parcelIds'?: Array<string>;
5167
- }
5168
- /**
5169
- * Shipping Information
5170
- * @export
5171
- * @interface ShippingInformationDTO
5172
- */
5173
- export interface ShippingInformationDTO {
5174
- /**
5175
- * Items
5176
- * @type {Array<BasicItemDTO>}
5177
- * @memberof ShippingInformationDTO
5178
- */
5179
- 'items'?: Array<BasicItemDTO>;
5180
- /**
5181
- * Destination Post Code
5182
- * @type {string}
5183
- * @memberof ShippingInformationDTO
5184
- */
5185
- 'postalCode'?: string;
5186
- /**
5187
- * Destination ISO
5188
- * @type {string}
5189
- * @memberof ShippingInformationDTO
5190
- */
5191
- 'iso'?: string;
5192
- }
5193
- /**
5194
- * Shipping Service
5195
- * @export
5196
- * @interface ShippingServiceDTO
5197
- */
5198
- export interface ShippingServiceDTO {
5199
- /**
5200
- * Courier
5201
- * @type {string}
5202
- * @memberof ShippingServiceDTO
5203
- */
5204
- 'courier'?: ShippingServiceDTOCourierEnum;
5205
- /**
5206
- * Service Name
5207
- * @type {string}
5208
- * @memberof ShippingServiceDTO
5209
- */
5210
- 'serviceName'?: string;
5211
- }
5212
-
5213
- export const ShippingServiceDTOCourierEnum = {
5214
- Dpd: 'DPD',
5215
- ChorltonPallet: 'Chorlton Pallet',
5216
- Pops: 'POPS'
5217
- } as const;
5218
-
5219
- export type ShippingServiceDTOCourierEnum = typeof ShippingServiceDTOCourierEnum[keyof typeof ShippingServiceDTOCourierEnum];
5220
-
5221
- /**
5222
- * Shipping Service
5223
- * @export
5224
- * @interface ShippingServiceModel
5225
- */
5226
- export interface ShippingServiceModel {
5227
- /**
5228
- * Courier
5229
- * @type {string}
5230
- * @memberof ShippingServiceModel
5231
- */
5232
- 'courier'?: ShippingServiceModelCourierEnum;
5233
- /**
5234
- * Code
5235
- * @type {string}
5236
- * @memberof ShippingServiceModel
5237
- */
5238
- 'code'?: string;
5239
- /**
5240
- * Name
5241
- * @type {string}
5242
- * @memberof ShippingServiceModel
5243
- */
5244
- 'name'?: string;
5245
- /**
5246
- * Description
5247
- * @type {string}
5248
- * @memberof ShippingServiceModel
5249
- */
5250
- 'description'?: string;
5251
- /**
5252
- * Label
5253
- * @type {string}
5254
- * @memberof ShippingServiceModel
5255
- */
5256
- 'label'?: string | null;
5257
- /**
5258
- * Price
5259
- * @type {number}
5260
- * @memberof ShippingServiceModel
5261
- */
5262
- 'price'?: number | null;
5263
- }
5264
-
5265
- export const ShippingServiceModelCourierEnum = {
5266
- Dpd: 'DPD',
5267
- ChorltonPallet: 'Chorlton Pallet',
5268
- Pops: 'POPS'
5269
- } as const;
5270
-
5271
- export type ShippingServiceModelCourierEnum = typeof ShippingServiceModelCourierEnum[keyof typeof ShippingServiceModelCourierEnum];
5272
-
5273
- /**
5274
- *
5275
- * @export
5276
- * @interface ShippingServicesModel
5277
- */
5278
- export interface ShippingServicesModel {
5279
- /**
5280
- * Services
5281
- * @type {Array<ShippingServiceModel>}
5282
- * @memberof ShippingServicesModel
5283
- */
5284
- 'services'?: Array<ShippingServiceModel>;
5285
- }
5286
- /**
5287
- * Change Response
5288
- * @export
5289
- * @interface SipTrunkChangeResponseModel
5290
- */
5291
- export interface SipTrunkChangeResponseModel {
5292
- /**
5293
- * ID
5294
- * @type {string}
5295
- * @memberof SipTrunkChangeResponseModel
5296
- */
5297
- 'changeId'?: string;
5298
- /**
5299
- *
5300
- * @type {SipTrunkEntity}
5301
- * @memberof SipTrunkChangeResponseModel
5302
- */
5303
- 'trunk'?: SipTrunkEntity;
5304
- /**
5305
- * Type
5306
- * @type {string}
5307
- * @memberof SipTrunkChangeResponseModel
5308
- */
5309
- 'type'?: SipTrunkChangeResponseModelTypeEnum;
5310
- /**
5311
- * Progress
5312
- * @type {number}
5313
- * @memberof SipTrunkChangeResponseModel
5314
- */
5315
- 'progress'?: number;
5316
- /**
5317
- * Service Provider
5318
- * @type {number}
5319
- * @memberof SipTrunkChangeResponseModel
5320
- */
5321
- 'provider'?: number;
4556
+ 'provider'?: number;
5322
4557
  }
5323
4558
 
5324
4559
  export const SipTrunkChangeResponseModelTypeEnum = {
@@ -8122,49 +7357,6 @@ export interface TcxRemoteStorageModel {
8122
7357
  */
8123
7358
  'secretAccessKey'?: string;
8124
7359
  }
8125
- /**
8126
- * SBC Data
8127
- * @export
8128
- * @interface TcxSbcDTO
8129
- */
8130
- export interface TcxSbcDTO {
8131
- /**
8132
- * LAN IP Address
8133
- * @type {string}
8134
- * @memberof TcxSbcDTO
8135
- */
8136
- 'ipAddress'?: string;
8137
- /**
8138
- * LAN Default Gateway
8139
- * @type {string}
8140
- * @memberof TcxSbcDTO
8141
- */
8142
- 'defaultGateway'?: string;
8143
- /**
8144
- * LAN Subnet Mask
8145
- * @type {string}
8146
- * @memberof TcxSbcDTO
8147
- */
8148
- 'netmask'?: string;
8149
- /**
8150
- * DNS
8151
- * @type {string}
8152
- * @memberof TcxSbcDTO
8153
- */
8154
- 'dns'?: string;
8155
- /**
8156
- * 3CX URL
8157
- * @type {string}
8158
- * @memberof TcxSbcDTO
8159
- */
8160
- 'tcxUrl'?: string;
8161
- /**
8162
- * 3CX SBC Key
8163
- * @type {string}
8164
- * @memberof TcxSbcDTO
8165
- */
8166
- 'tcxKey'?: string;
8167
- }
8168
7360
  /**
8169
7361
  * 3CX Wizard SBC
8170
7362
  * @export
@@ -8269,7 +7461,7 @@ export interface TcxSbcEntity {
8269
7461
  'technicalContact'?: string;
8270
7462
  }
8271
7463
  /**
8272
- * 3CX Wizard SBC
7464
+ * 3CX SBC Model
8273
7465
  * @export
8274
7466
  * @interface TcxSbcModel
8275
7467
  */
@@ -9454,40 +8646,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
9454
8646
 
9455
8647
 
9456
8648
 
9457
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9458
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9459
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9460
-
9461
- return {
9462
- url: toPathString(localVarUrlObj),
9463
- options: localVarRequestOptions,
9464
- };
9465
- },
9466
- /**
9467
- * Get Account Detailed Summary
9468
- * @summary Get Account Detailed Summary
9469
- * @param {number} id Customer ID
9470
- * @param {*} [options] Override http request option.
9471
- * @throws {RequiredError}
9472
- */
9473
- getGetAccountDetailedSummary: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9474
- // verify required parameter 'id' is not null or undefined
9475
- assertParamExists('getGetAccountDetailedSummary', 'id', id)
9476
- const localVarPath = `/accounts/{id}/summary`
9477
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9478
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9479
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9480
- let baseOptions;
9481
- if (configuration) {
9482
- baseOptions = configuration.baseOptions;
9483
- }
9484
-
9485
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9486
- const localVarHeaderParameter = {} as any;
9487
- const localVarQueryParameter = {} as any;
9488
-
9489
-
9490
-
9491
8649
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9492
8650
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9493
8651
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -9786,36 +8944,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
9786
8944
  options: localVarRequestOptions,
9787
8945
  };
9788
8946
  },
9789
- /**
9790
- * Get Admin Account
9791
- * @summary Get Admin Account
9792
- * @param {*} [options] Override http request option.
9793
- * @throws {RequiredError}
9794
- */
9795
- postGetAdminAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9796
- const localVarPath = `/admin/me`;
9797
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9798
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9799
- let baseOptions;
9800
- if (configuration) {
9801
- baseOptions = configuration.baseOptions;
9802
- }
9803
-
9804
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9805
- const localVarHeaderParameter = {} as any;
9806
- const localVarQueryParameter = {} as any;
9807
-
9808
-
9809
-
9810
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9811
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9812
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9813
-
9814
- return {
9815
- url: toPathString(localVarUrlObj),
9816
- options: localVarRequestOptions,
9817
- };
9818
- },
9819
8947
  /**
9820
8948
  * Create client credentials
9821
8949
  * @summary Create client credentials
@@ -10065,19 +9193,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
10065
9193
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountContacts']?.[localVarOperationServerIndex]?.url;
10066
9194
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10067
9195
  },
10068
- /**
10069
- * Get Account Detailed Summary
10070
- * @summary Get Account Detailed Summary
10071
- * @param {number} id Customer ID
10072
- * @param {*} [options] Override http request option.
10073
- * @throws {RequiredError}
10074
- */
10075
- async getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDetailedSummaryDTO>> {
10076
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options);
10077
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10078
- const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountDetailedSummary']?.[localVarOperationServerIndex]?.url;
10079
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10080
- },
10081
9196
  /**
10082
9197
  * Get Accounts
10083
9198
  * @summary Get Accounts
@@ -10183,18 +9298,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
10183
9298
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAccounts']?.[localVarOperationServerIndex]?.url;
10184
9299
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10185
9300
  },
10186
- /**
10187
- * Get Admin Account
10188
- * @summary Get Admin Account
10189
- * @param {*} [options] Override http request option.
10190
- * @throws {RequiredError}
10191
- */
10192
- async postGetAdminAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminUserModel>> {
10193
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetAdminAccount(options);
10194
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10195
- const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAdminAccount']?.[localVarOperationServerIndex]?.url;
10196
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10197
- },
10198
9301
  /**
10199
9302
  * Create client credentials
10200
9303
  * @summary Create client credentials
@@ -10312,16 +9415,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
10312
9415
  getGetAccountContacts(email?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>> {
10313
9416
  return localVarFp.getGetAccountContacts(email, options).then((request) => request(axios, basePath));
10314
9417
  },
10315
- /**
10316
- * Get Account Detailed Summary
10317
- * @summary Get Account Detailed Summary
10318
- * @param {number} id Customer ID
10319
- * @param {*} [options] Override http request option.
10320
- * @throws {RequiredError}
10321
- */
10322
- getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AccountDetailedSummaryDTO> {
10323
- return localVarFp.getGetAccountDetailedSummary(id, options).then((request) => request(axios, basePath));
10324
- },
10325
9418
  /**
10326
9419
  * Get Accounts
10327
9420
  * @summary Get Accounts
@@ -10403,15 +9496,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
10403
9496
  postGetAccounts(accountRequestModel?: AccountRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<PortalAccountModel> {
10404
9497
  return localVarFp.postGetAccounts(accountRequestModel, options).then((request) => request(axios, basePath));
10405
9498
  },
10406
- /**
10407
- * Get Admin Account
10408
- * @summary Get Admin Account
10409
- * @param {*} [options] Override http request option.
10410
- * @throws {RequiredError}
10411
- */
10412
- postGetAdminAccount(options?: RawAxiosRequestConfig): AxiosPromise<AdminUserModel> {
10413
- return localVarFp.postGetAdminAccount(options).then((request) => request(axios, basePath));
10414
- },
10415
9499
  /**
10416
9500
  * Create client credentials
10417
9501
  * @summary Create client credentials
@@ -10522,18 +9606,6 @@ export class AccountsApi extends BaseAPI {
10522
9606
  return AccountsApiFp(this.configuration).getGetAccountContacts(email, options).then((request) => request(this.axios, this.basePath));
10523
9607
  }
10524
9608
 
10525
- /**
10526
- * Get Account Detailed Summary
10527
- * @summary Get Account Detailed Summary
10528
- * @param {number} id Customer ID
10529
- * @param {*} [options] Override http request option.
10530
- * @throws {RequiredError}
10531
- * @memberof AccountsApi
10532
- */
10533
- public getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig) {
10534
- return AccountsApiFp(this.configuration).getGetAccountDetailedSummary(id, options).then((request) => request(this.axios, this.basePath));
10535
- }
10536
-
10537
9609
  /**
10538
9610
  * Get Accounts
10539
9611
  * @summary Get Accounts
@@ -10631,17 +9703,6 @@ export class AccountsApi extends BaseAPI {
10631
9703
  return AccountsApiFp(this.configuration).postGetAccounts(accountRequestModel, options).then((request) => request(this.axios, this.basePath));
10632
9704
  }
10633
9705
 
10634
- /**
10635
- * Get Admin Account
10636
- * @summary Get Admin Account
10637
- * @param {*} [options] Override http request option.
10638
- * @throws {RequiredError}
10639
- * @memberof AccountsApi
10640
- */
10641
- public postGetAdminAccount(options?: RawAxiosRequestConfig) {
10642
- return AccountsApiFp(this.configuration).postGetAdminAccount(options).then((request) => request(this.axios, this.basePath));
10643
- }
10644
-
10645
9706
  /**
10646
9707
  * Create client credentials
10647
9708
  * @summary Create client credentials
@@ -10742,6 +9803,43 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
10742
9803
 
10743
9804
 
10744
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
+
10745
9843
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10746
9844
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10747
9845
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -10808,6 +9906,19 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
10808
9906
  const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetLicenceDetails']?.[localVarOperationServerIndex]?.url;
10809
9907
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10810
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
+ },
10811
9922
  /**
10812
9923
  * Get Bulk 3CX Licence Details
10813
9924
  * @summary Get bulk 3CX Licence Details
@@ -10841,6 +9952,16 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
10841
9952
  getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel> {
10842
9953
  return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
10843
9954
  },
9955
+ /**
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
+ },
10844
9965
  /**
10845
9966
  * Get Bulk 3CX Licence Details
10846
9967
  * @summary Get bulk 3CX Licence Details
@@ -10873,6 +9994,18 @@ export class Class3CXApi extends BaseAPI {
10873
9994
  return Class3CXApiFp(this.configuration).getGetLicenceDetails(key, options).then((request) => request(this.axios, this.basePath));
10874
9995
  }
10875
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
+
10876
10009
  /**
10877
10010
  * Get Bulk 3CX Licence Details
10878
10011
  * @summary Get bulk 3CX Licence Details
@@ -16029,14 +15162,13 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
16029
15162
  return {
16030
15163
  /**
16031
15164
  * Delete Orders
16032
- * @summary Delete Orders
16033
15165
  * @param {number} id Order ID
16034
15166
  * @param {*} [options] Override http request option.
16035
15167
  * @throws {RequiredError}
16036
15168
  */
16037
- deleteUpdateOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15169
+ deleteDeleteOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16038
15170
  // verify required parameter 'id' is not null or undefined
16039
- assertParamExists('deleteUpdateOrder', 'id', id)
15171
+ assertParamExists('deleteDeleteOrder', 'id', id)
16040
15172
  const localVarPath = `/orders/{id}`
16041
15173
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16042
15174
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -16052,39 +15184,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
16052
15184
 
16053
15185
 
16054
15186
 
16055
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16056
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16057
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16058
-
16059
- return {
16060
- url: toPathString(localVarUrlObj),
16061
- options: localVarRequestOptions,
16062
- };
16063
- },
16064
- /**
16065
- * Get Editable Order
16066
- * @param {number} id Order ID
16067
- * @param {*} [options] Override http request option.
16068
- * @throws {RequiredError}
16069
- */
16070
- getGetEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16071
- // verify required parameter 'id' is not null or undefined
16072
- assertParamExists('getGetEditableOrder', 'id', id)
16073
- const localVarPath = `/orders/{id}/views/editable`
16074
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16075
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16076
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16077
- let baseOptions;
16078
- if (configuration) {
16079
- baseOptions = configuration.baseOptions;
16080
- }
16081
-
16082
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16083
- const localVarHeaderParameter = {} as any;
16084
- const localVarQueryParameter = {} as any;
16085
-
16086
-
16087
-
16088
15187
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16089
15188
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16090
15189
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -16154,170 +15253,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
16154
15253
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16155
15254
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16156
15255
 
16157
- return {
16158
- url: toPathString(localVarUrlObj),
16159
- options: localVarRequestOptions,
16160
- };
16161
- },
16162
- /**
16163
- * Create An Order (Admin)
16164
- * @summary Create An Order (Admin)
16165
- * @param {boolean} [readonly] Readonly Order
16166
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16167
- * @param {*} [options] Override http request option.
16168
- * @throws {RequiredError}
16169
- */
16170
- postCreateAdminOrder: async (readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16171
- const localVarPath = `/admin/orders`;
16172
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16173
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16174
- let baseOptions;
16175
- if (configuration) {
16176
- baseOptions = configuration.baseOptions;
16177
- }
16178
-
16179
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16180
- const localVarHeaderParameter = {} as any;
16181
- const localVarQueryParameter = {} as any;
16182
-
16183
- if (readonly !== undefined) {
16184
- localVarQueryParameter['readonly'] = readonly;
16185
- }
16186
-
16187
-
16188
-
16189
- localVarHeaderParameter['Content-Type'] = 'application/json';
16190
-
16191
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16192
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16193
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16194
- localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
16195
-
16196
- return {
16197
- url: toPathString(localVarUrlObj),
16198
- options: localVarRequestOptions,
16199
- };
16200
- },
16201
- /**
16202
- * Create An Order
16203
- * @summary Create An Order
16204
- * @param {boolean} [readonly] Readonly Order
16205
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16206
- * @param {*} [options] Override http request option.
16207
- * @throws {RequiredError}
16208
- */
16209
- postGetOrders: async (readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16210
- const localVarPath = `/orders`;
16211
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16212
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16213
- let baseOptions;
16214
- if (configuration) {
16215
- baseOptions = configuration.baseOptions;
16216
- }
16217
-
16218
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16219
- const localVarHeaderParameter = {} as any;
16220
- const localVarQueryParameter = {} as any;
16221
-
16222
- if (readonly !== undefined) {
16223
- localVarQueryParameter['readonly'] = readonly;
16224
- }
16225
-
16226
-
16227
-
16228
- localVarHeaderParameter['Content-Type'] = 'application/json';
16229
-
16230
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16231
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16232
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16233
- localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
16234
-
16235
- return {
16236
- url: toPathString(localVarUrlObj),
16237
- options: localVarRequestOptions,
16238
- };
16239
- },
16240
- /**
16241
- * Update An Order (Admin)
16242
- * @summary Update An Order (Admin)
16243
- * @param {number} id Order ID
16244
- * @param {boolean} [readonly] Readonly Order
16245
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16246
- * @param {*} [options] Override http request option.
16247
- * @throws {RequiredError}
16248
- */
16249
- putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16250
- // verify required parameter 'id' is not null or undefined
16251
- assertParamExists('putUpdateAdminOrder', 'id', id)
16252
- const localVarPath = `/admin/orders/{id}`
16253
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16254
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16255
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16256
- let baseOptions;
16257
- if (configuration) {
16258
- baseOptions = configuration.baseOptions;
16259
- }
16260
-
16261
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
16262
- const localVarHeaderParameter = {} as any;
16263
- const localVarQueryParameter = {} as any;
16264
-
16265
- if (readonly !== undefined) {
16266
- localVarQueryParameter['readonly'] = readonly;
16267
- }
16268
-
16269
-
16270
-
16271
- localVarHeaderParameter['Content-Type'] = 'application/json';
16272
-
16273
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16274
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16275
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16276
- localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
16277
-
16278
- return {
16279
- url: toPathString(localVarUrlObj),
16280
- options: localVarRequestOptions,
16281
- };
16282
- },
16283
- /**
16284
- * Update An Order
16285
- * @summary Update An Order
16286
- * @param {number} id Order ID
16287
- * @param {boolean} [readonly] Readonly Order
16288
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16289
- * @param {*} [options] Override http request option.
16290
- * @throws {RequiredError}
16291
- */
16292
- putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16293
- // verify required parameter 'id' is not null or undefined
16294
- assertParamExists('putUpdateOrder', 'id', id)
16295
- const localVarPath = `/orders/{id}`
16296
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16297
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16298
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16299
- let baseOptions;
16300
- if (configuration) {
16301
- baseOptions = configuration.baseOptions;
16302
- }
16303
-
16304
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
16305
- const localVarHeaderParameter = {} as any;
16306
- const localVarQueryParameter = {} as any;
16307
-
16308
- if (readonly !== undefined) {
16309
- localVarQueryParameter['readonly'] = readonly;
16310
- }
16311
-
16312
-
16313
-
16314
- localVarHeaderParameter['Content-Type'] = 'application/json';
16315
-
16316
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16317
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16318
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16319
- localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
16320
-
16321
15256
  return {
16322
15257
  url: toPathString(localVarUrlObj),
16323
15258
  options: localVarRequestOptions,
@@ -16335,27 +15270,14 @@ export const OrdersApiFp = function(configuration?: Configuration) {
16335
15270
  return {
16336
15271
  /**
16337
15272
  * Delete Orders
16338
- * @summary Delete Orders
16339
15273
  * @param {number} id Order ID
16340
15274
  * @param {*} [options] Override http request option.
16341
15275
  * @throws {RequiredError}
16342
15276
  */
16343
- async deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
16344
- 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);
16345
15279
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16346
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteUpdateOrder']?.[localVarOperationServerIndex]?.url;
16347
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16348
- },
16349
- /**
16350
- * Get Editable Order
16351
- * @param {number} id Order ID
16352
- * @param {*} [options] Override http request option.
16353
- * @throws {RequiredError}
16354
- */
16355
- async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderSummaryDTO>> {
16356
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
16357
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16358
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
15280
+ const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteDeleteOrder']?.[localVarOperationServerIndex]?.url;
16359
15281
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16360
15282
  },
16361
15283
  /**
@@ -16377,64 +15299,6 @@ export const OrdersApiFp = function(configuration?: Configuration) {
16377
15299
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
16378
15300
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16379
15301
  },
16380
- /**
16381
- * Create An Order (Admin)
16382
- * @summary Create An Order (Admin)
16383
- * @param {boolean} [readonly] Readonly Order
16384
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16385
- * @param {*} [options] Override http request option.
16386
- * @throws {RequiredError}
16387
- */
16388
- async postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16389
- const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options);
16390
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16391
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
16392
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16393
- },
16394
- /**
16395
- * Create An Order
16396
- * @summary Create An Order
16397
- * @param {boolean} [readonly] Readonly Order
16398
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16399
- * @param {*} [options] Override http request option.
16400
- * @throws {RequiredError}
16401
- */
16402
- async postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16403
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options);
16404
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16405
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
16406
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16407
- },
16408
- /**
16409
- * Update An Order (Admin)
16410
- * @summary Update An Order (Admin)
16411
- * @param {number} id Order ID
16412
- * @param {boolean} [readonly] Readonly Order
16413
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16414
- * @param {*} [options] Override http request option.
16415
- * @throws {RequiredError}
16416
- */
16417
- async putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16418
- const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options);
16419
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16420
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateAdminOrder']?.[localVarOperationServerIndex]?.url;
16421
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16422
- },
16423
- /**
16424
- * Update An Order
16425
- * @summary Update An Order
16426
- * @param {number} id Order ID
16427
- * @param {boolean} [readonly] Readonly Order
16428
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16429
- * @param {*} [options] Override http request option.
16430
- * @throws {RequiredError}
16431
- */
16432
- async putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16433
- const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateOrder(id, readonly, customerOrderRequestDTO, options);
16434
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16435
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateOrder']?.[localVarOperationServerIndex]?.url;
16436
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16437
- },
16438
15302
  }
16439
15303
  };
16440
15304
 
@@ -16447,22 +15311,12 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
16447
15311
  return {
16448
15312
  /**
16449
15313
  * Delete Orders
16450
- * @summary Delete Orders
16451
15314
  * @param {number} id Order ID
16452
15315
  * @param {*} [options] Override http request option.
16453
15316
  * @throws {RequiredError}
16454
15317
  */
16455
- deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
16456
- return localVarFp.deleteUpdateOrder(id, options).then((request) => request(axios, basePath));
16457
- },
16458
- /**
16459
- * Get Editable Order
16460
- * @param {number} id Order ID
16461
- * @param {*} [options] Override http request option.
16462
- * @throws {RequiredError}
16463
- */
16464
- getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummaryDTO> {
16465
- 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));
16466
15320
  },
16467
15321
  /**
16468
15322
  * Get Orders
@@ -16480,52 +15334,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
16480
15334
  getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel> {
16481
15335
  return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(axios, basePath));
16482
15336
  },
16483
- /**
16484
- * Create An Order (Admin)
16485
- * @summary Create An Order (Admin)
16486
- * @param {boolean} [readonly] Readonly Order
16487
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16488
- * @param {*} [options] Override http request option.
16489
- * @throws {RequiredError}
16490
- */
16491
- postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16492
- return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
16493
- },
16494
- /**
16495
- * Create An Order
16496
- * @summary Create An Order
16497
- * @param {boolean} [readonly] Readonly Order
16498
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16499
- * @param {*} [options] Override http request option.
16500
- * @throws {RequiredError}
16501
- */
16502
- postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16503
- return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
16504
- },
16505
- /**
16506
- * Update An Order (Admin)
16507
- * @summary Update An Order (Admin)
16508
- * @param {number} id Order ID
16509
- * @param {boolean} [readonly] Readonly Order
16510
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16511
- * @param {*} [options] Override http request option.
16512
- * @throws {RequiredError}
16513
- */
16514
- putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16515
- return localVarFp.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
16516
- },
16517
- /**
16518
- * Update An Order
16519
- * @summary Update An Order
16520
- * @param {number} id Order ID
16521
- * @param {boolean} [readonly] Readonly Order
16522
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16523
- * @param {*} [options] Override http request option.
16524
- * @throws {RequiredError}
16525
- */
16526
- putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16527
- return localVarFp.putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
16528
- },
16529
15337
  };
16530
15338
  };
16531
15339
 
@@ -16538,25 +15346,13 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
16538
15346
  export class OrdersApi extends BaseAPI {
16539
15347
  /**
16540
15348
  * Delete Orders
16541
- * @summary Delete Orders
16542
- * @param {number} id Order ID
16543
- * @param {*} [options] Override http request option.
16544
- * @throws {RequiredError}
16545
- * @memberof OrdersApi
16546
- */
16547
- public deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig) {
16548
- return OrdersApiFp(this.configuration).deleteUpdateOrder(id, options).then((request) => request(this.axios, this.basePath));
16549
- }
16550
-
16551
- /**
16552
- * Get Editable Order
16553
15349
  * @param {number} id Order ID
16554
15350
  * @param {*} [options] Override http request option.
16555
15351
  * @throws {RequiredError}
16556
15352
  * @memberof OrdersApi
16557
15353
  */
16558
- public getGetEditableOrder(id: number, options?: RawAxiosRequestConfig) {
16559
- 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));
16560
15356
  }
16561
15357
 
16562
15358
  /**
@@ -16576,60 +15372,6 @@ export class OrdersApi extends BaseAPI {
16576
15372
  public getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) {
16577
15373
  return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
16578
15374
  }
16579
-
16580
- /**
16581
- * Create An Order (Admin)
16582
- * @summary Create An Order (Admin)
16583
- * @param {boolean} [readonly] Readonly Order
16584
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16585
- * @param {*} [options] Override http request option.
16586
- * @throws {RequiredError}
16587
- * @memberof OrdersApi
16588
- */
16589
- public postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
16590
- return OrdersApiFp(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16591
- }
16592
-
16593
- /**
16594
- * Create An Order
16595
- * @summary Create An Order
16596
- * @param {boolean} [readonly] Readonly Order
16597
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16598
- * @param {*} [options] Override http request option.
16599
- * @throws {RequiredError}
16600
- * @memberof OrdersApi
16601
- */
16602
- public postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
16603
- return OrdersApiFp(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16604
- }
16605
-
16606
- /**
16607
- * Update An Order (Admin)
16608
- * @summary Update An Order (Admin)
16609
- * @param {number} id Order ID
16610
- * @param {boolean} [readonly] Readonly Order
16611
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16612
- * @param {*} [options] Override http request option.
16613
- * @throws {RequiredError}
16614
- * @memberof OrdersApi
16615
- */
16616
- public putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
16617
- return OrdersApiFp(this.configuration).putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16618
- }
16619
-
16620
- /**
16621
- * Update An Order
16622
- * @summary Update An Order
16623
- * @param {number} id Order ID
16624
- * @param {boolean} [readonly] Readonly Order
16625
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16626
- * @param {*} [options] Override http request option.
16627
- * @throws {RequiredError}
16628
- * @memberof OrdersApi
16629
- */
16630
- public putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
16631
- return OrdersApiFp(this.configuration).putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16632
- }
16633
15375
  }
16634
15376
 
16635
15377
  /**
@@ -17010,47 +15752,13 @@ export type PostSendPriceListCategoryEnum = typeof PostSendPriceListCategoryEnum
17010
15752
  export const ProductsApiAxiosParamCreator = function (configuration?: Configuration) {
17011
15753
  return {
17012
15754
  /**
17013
- * Get Attribute Sets
17014
- * @summary Get Attribute Sets
17015
- * @param {*} [options] Override http request option.
17016
- * @throws {RequiredError}
17017
- */
17018
- getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17019
- const localVarPath = `/products/attributes`;
17020
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17021
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17022
- let baseOptions;
17023
- if (configuration) {
17024
- baseOptions = configuration.baseOptions;
17025
- }
17026
-
17027
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17028
- const localVarHeaderParameter = {} as any;
17029
- const localVarQueryParameter = {} as any;
17030
-
17031
-
17032
-
17033
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17034
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17035
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17036
-
17037
- return {
17038
- url: toPathString(localVarUrlObj),
17039
- options: localVarRequestOptions,
17040
- };
17041
- },
17042
- /**
17043
- * Get Current Stock & Pricing
17044
- * @summary Get Current Stock & Pricing
17045
- * @param {GetGetLegacyStockListFormatEnum} format File Format
15755
+ * Get Attribute Sets
15756
+ * @summary Get Attribute Sets
17046
15757
  * @param {*} [options] Override http request option.
17047
- * @deprecated
17048
15758
  * @throws {RequiredError}
17049
15759
  */
17050
- getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17051
- // verify required parameter 'format' is not null or undefined
17052
- assertParamExists('getGetLegacyStockList', 'format', format)
17053
- const localVarPath = `/products/stock/legacy`;
15760
+ getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15761
+ const localVarPath = `/products/attributes`;
17054
15762
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17055
15763
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17056
15764
  let baseOptions;
@@ -17062,10 +15770,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17062
15770
  const localVarHeaderParameter = {} as any;
17063
15771
  const localVarQueryParameter = {} as any;
17064
15772
 
17065
- if (format !== undefined) {
17066
- localVarQueryParameter['format'] = format;
17067
- }
17068
-
17069
15773
 
17070
15774
 
17071
15775
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -17078,13 +15782,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17078
15782
  };
17079
15783
  },
17080
15784
  /**
17081
- * Get Products
17082
- * @summary Get Products
15785
+ * Get Customer Price Lists
15786
+ * @summary Get Customer Price Lists
17083
15787
  * @param {*} [options] Override http request option.
17084
15788
  * @throws {RequiredError}
17085
15789
  */
17086
- getGetProducts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17087
- const localVarPath = `/products`;
15790
+ getGetCustomerPriceLists: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15791
+ const localVarPath = `/products/prices/lists`;
17088
15792
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17089
15793
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17090
15794
  let baseOptions;
@@ -17110,11 +15814,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17110
15814
  /**
17111
15815
  * Get Current Stock & Pricing
17112
15816
  * @summary Get Current Stock & Pricing
15817
+ * @param {GetGetLegacyStockListFormatEnum} format File Format
17113
15818
  * @param {*} [options] Override http request option.
15819
+ * @deprecated
17114
15820
  * @throws {RequiredError}
17115
15821
  */
17116
- getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17117
- 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`;
17118
15826
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17119
15827
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17120
15828
  let baseOptions;
@@ -17126,36 +15834,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17126
15834
  const localVarHeaderParameter = {} as any;
17127
15835
  const localVarQueryParameter = {} as any;
17128
15836
 
17129
-
17130
-
17131
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17132
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17133
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17134
-
17135
- return {
17136
- url: toPathString(localVarUrlObj),
17137
- options: localVarRequestOptions,
17138
- };
17139
- },
17140
- /**
17141
- * Get 3CX Templates
17142
- * @summary Get 3CX Templates
17143
- * @param {*} [options] Override http request option.
17144
- * @throws {RequiredError}
17145
- */
17146
- getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17147
- const localVarPath = `/products/attributes/tcx/templates`;
17148
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17149
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17150
- let baseOptions;
17151
- if (configuration) {
17152
- baseOptions = configuration.baseOptions;
15837
+ if (format !== undefined) {
15838
+ localVarQueryParameter['format'] = format;
17153
15839
  }
17154
15840
 
17155
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17156
- const localVarHeaderParameter = {} as any;
17157
- const localVarQueryParameter = {} as any;
17158
-
17159
15841
 
17160
15842
 
17161
15843
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -17168,15 +15850,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17168
15850
  };
17169
15851
  },
17170
15852
  /**
17171
- * Search Products
17172
- * @summary Search Products
15853
+ * Get Products
15854
+ * @summary Get Products
17173
15855
  * @param {number} [pageSize] Number Of Results
17174
15856
  * @param {number} [page] Page Number
17175
15857
  * @param {string} [search] Search
17176
15858
  * @param {*} [options] Override http request option.
17177
15859
  * @throws {RequiredError}
17178
15860
  */
17179
- 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> => {
17180
15862
  const localVarPath = `/products/search`;
17181
15863
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17182
15864
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -17213,20 +15895,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17213
15895
  };
17214
15896
  },
17215
15897
  /**
17216
- * Get Product
17217
- * @summary Get Product
17218
- * @param {string} sku Product SKU
17219
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15898
+ * Get Current Stock & Pricing
15899
+ * @summary Get Current Stock & Pricing
17220
15900
  * @param {*} [options] Override http request option.
17221
15901
  * @throws {RequiredError}
17222
15902
  */
17223
- postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17224
- // verify required parameter 'sku' is not null or undefined
17225
- assertParamExists('postGetProduct', 'sku', sku)
17226
- // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
17227
- assertParamExists('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
17228
- const localVarPath = `/products/{sku}`
17229
- .replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
15903
+ getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15904
+ const localVarPath = `/products/stock`;
17230
15905
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17231
15906
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17232
15907
  let baseOptions;
@@ -17234,18 +15909,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17234
15909
  baseOptions = configuration.baseOptions;
17235
15910
  }
17236
15911
 
17237
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15912
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17238
15913
  const localVarHeaderParameter = {} as any;
17239
15914
  const localVarQueryParameter = {} as any;
17240
15915
 
17241
15916
 
17242
15917
 
17243
- localVarHeaderParameter['Content-Type'] = 'application/json';
17244
-
17245
15918
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17246
15919
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17247
15920
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17248
- localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
17249
15921
 
17250
15922
  return {
17251
15923
  url: toPathString(localVarUrlObj),
@@ -17253,23 +15925,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17253
15925
  };
17254
15926
  },
17255
15927
  /**
17256
- * Get Product For Customer
17257
- * @summary Get Product For Customer
17258
- * @param {number} customerId Customer ID
17259
- * @param {string} sku Product SKU
17260
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15928
+ * Get 3CX Templates
15929
+ * @summary Get 3CX Templates
17261
15930
  * @param {*} [options] Override http request option.
17262
15931
  * @throws {RequiredError}
17263
15932
  */
17264
- postGetProductForCustomer: async (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17265
- // verify required parameter 'customerId' is not null or undefined
17266
- assertParamExists('postGetProductForCustomer', 'customerId', customerId)
17267
- // verify required parameter 'sku' is not null or undefined
17268
- assertParamExists('postGetProductForCustomer', 'sku', sku)
17269
- // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
17270
- assertParamExists('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
17271
- const localVarPath = `/admin/products/{sku}`
17272
- .replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
15933
+ getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15934
+ const localVarPath = `/products/attributes/tcx/templates`;
17273
15935
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17274
15936
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17275
15937
  let baseOptions;
@@ -17277,22 +15939,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17277
15939
  baseOptions = configuration.baseOptions;
17278
15940
  }
17279
15941
 
17280
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15942
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17281
15943
  const localVarHeaderParameter = {} as any;
17282
15944
  const localVarQueryParameter = {} as any;
17283
15945
 
17284
- if (customerId !== undefined) {
17285
- localVarQueryParameter['customerId'] = customerId;
17286
- }
17287
-
17288
15946
 
17289
15947
 
17290
- localVarHeaderParameter['Content-Type'] = 'application/json';
17291
-
17292
15948
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17293
15949
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17294
15950
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17295
- localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
17296
15951
 
17297
15952
  return {
17298
15953
  url: toPathString(localVarUrlObj),
@@ -17321,6 +15976,18 @@ export const ProductsApiFp = function(configuration?: Configuration) {
17321
15976
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetAttributeSets']?.[localVarOperationServerIndex]?.url;
17322
15977
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17323
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
+ },
17324
15991
  /**
17325
15992
  * Get Current Stock & Pricing
17326
15993
  * @summary Get Current Stock & Pricing
@@ -17338,11 +16005,14 @@ export const ProductsApiFp = function(configuration?: Configuration) {
17338
16005
  /**
17339
16006
  * Get Products
17340
16007
  * @summary Get Products
16008
+ * @param {number} [pageSize] Number Of Results
16009
+ * @param {number} [page] Page Number
16010
+ * @param {string} [search] Search
17341
16011
  * @param {*} [options] Override http request option.
17342
16012
  * @throws {RequiredError}
17343
16013
  */
17344
- async getGetProducts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BasicProductDTO>>> {
17345
- 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);
17346
16016
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17347
16017
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetProducts']?.[localVarOperationServerIndex]?.url;
17348
16018
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -17371,50 +16041,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
17371
16041
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetTcxTemplates']?.[localVarOperationServerIndex]?.url;
17372
16042
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17373
16043
  },
17374
- /**
17375
- * Search Products
17376
- * @summary Search Products
17377
- * @param {number} [pageSize] Number Of Results
17378
- * @param {number} [page] Page Number
17379
- * @param {string} [search] Search
17380
- * @param {*} [options] Override http request option.
17381
- * @throws {RequiredError}
17382
- */
17383
- async getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
17384
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSearchProducts(pageSize, page, search, options);
17385
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17386
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.getSearchProducts']?.[localVarOperationServerIndex]?.url;
17387
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17388
- },
17389
- /**
17390
- * Get Product
17391
- * @summary Get Product
17392
- * @param {string} sku Product SKU
17393
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17394
- * @param {*} [options] Override http request option.
17395
- * @throws {RequiredError}
17396
- */
17397
- async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
17398
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options);
17399
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17400
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProduct']?.[localVarOperationServerIndex]?.url;
17401
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17402
- },
17403
- /**
17404
- * Get Product For Customer
17405
- * @summary Get Product For Customer
17406
- * @param {number} customerId Customer ID
17407
- * @param {string} sku Product SKU
17408
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17409
- * @param {*} [options] Override http request option.
17410
- * @throws {RequiredError}
17411
- */
17412
- async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
17413
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options);
17414
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17415
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProductForCustomer']?.[localVarOperationServerIndex]?.url;
17416
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17417
- },
17418
16044
  }
17419
16045
  };
17420
16046
 
@@ -17434,6 +16060,15 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
17434
16060
  getGetAttributeSets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeSetEnum>> {
17435
16061
  return localVarFp.getGetAttributeSets(options).then((request) => request(axios, basePath));
17436
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
+ },
17437
16072
  /**
17438
16073
  * Get Current Stock & Pricing
17439
16074
  * @summary Get Current Stock & Pricing
@@ -17448,11 +16083,14 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
17448
16083
  /**
17449
16084
  * Get Products
17450
16085
  * @summary Get Products
16086
+ * @param {number} [pageSize] Number Of Results
16087
+ * @param {number} [page] Page Number
16088
+ * @param {string} [search] Search
17451
16089
  * @param {*} [options] Override http request option.
17452
16090
  * @throws {RequiredError}
17453
16091
  */
17454
- getGetProducts(options?: RawAxiosRequestConfig): AxiosPromise<Array<BasicProductDTO>> {
17455
- 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));
17456
16094
  },
17457
16095
  /**
17458
16096
  * Get Current Stock & Pricing
@@ -17472,41 +16110,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
17472
16110
  getGetTcxTemplates(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxTemplateXmlEnum>> {
17473
16111
  return localVarFp.getGetTcxTemplates(options).then((request) => request(axios, basePath));
17474
16112
  },
17475
- /**
17476
- * Search Products
17477
- * @summary Search Products
17478
- * @param {number} [pageSize] Number Of Results
17479
- * @param {number} [page] Page Number
17480
- * @param {string} [search] Search
17481
- * @param {*} [options] Override http request option.
17482
- * @throws {RequiredError}
17483
- */
17484
- getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
17485
- return localVarFp.getSearchProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
17486
- },
17487
- /**
17488
- * Get Product
17489
- * @summary Get Product
17490
- * @param {string} sku Product SKU
17491
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17492
- * @param {*} [options] Override http request option.
17493
- * @throws {RequiredError}
17494
- */
17495
- postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
17496
- return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
17497
- },
17498
- /**
17499
- * Get Product For Customer
17500
- * @summary Get Product For Customer
17501
- * @param {number} customerId Customer ID
17502
- * @param {string} sku Product SKU
17503
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17504
- * @param {*} [options] Override http request option.
17505
- * @throws {RequiredError}
17506
- */
17507
- postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
17508
- return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
17509
- },
17510
16113
  };
17511
16114
  };
17512
16115
 
@@ -17528,6 +16131,17 @@ export class ProductsApi extends BaseAPI {
17528
16131
  return ProductsApiFp(this.configuration).getGetAttributeSets(options).then((request) => request(this.axios, this.basePath));
17529
16132
  }
17530
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
+
17531
16145
  /**
17532
16146
  * Get Current Stock & Pricing
17533
16147
  * @summary Get Current Stock & Pricing
@@ -17544,12 +16158,15 @@ export class ProductsApi extends BaseAPI {
17544
16158
  /**
17545
16159
  * Get Products
17546
16160
  * @summary Get Products
16161
+ * @param {number} [pageSize] Number Of Results
16162
+ * @param {number} [page] Page Number
16163
+ * @param {string} [search] Search
17547
16164
  * @param {*} [options] Override http request option.
17548
16165
  * @throws {RequiredError}
17549
16166
  * @memberof ProductsApi
17550
16167
  */
17551
- public getGetProducts(options?: RawAxiosRequestConfig) {
17552
- 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));
17553
16170
  }
17554
16171
 
17555
16172
  /**
@@ -17573,47 +16190,6 @@ export class ProductsApi extends BaseAPI {
17573
16190
  public getGetTcxTemplates(options?: RawAxiosRequestConfig) {
17574
16191
  return ProductsApiFp(this.configuration).getGetTcxTemplates(options).then((request) => request(this.axios, this.basePath));
17575
16192
  }
17576
-
17577
- /**
17578
- * Search Products
17579
- * @summary Search Products
17580
- * @param {number} [pageSize] Number Of Results
17581
- * @param {number} [page] Page Number
17582
- * @param {string} [search] Search
17583
- * @param {*} [options] Override http request option.
17584
- * @throws {RequiredError}
17585
- * @memberof ProductsApi
17586
- */
17587
- public getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
17588
- return ProductsApiFp(this.configuration).getSearchProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
17589
- }
17590
-
17591
- /**
17592
- * Get Product
17593
- * @summary Get Product
17594
- * @param {string} sku Product SKU
17595
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17596
- * @param {*} [options] Override http request option.
17597
- * @throws {RequiredError}
17598
- * @memberof ProductsApi
17599
- */
17600
- public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
17601
- return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
17602
- }
17603
-
17604
- /**
17605
- * Get Product For Customer
17606
- * @summary Get Product For Customer
17607
- * @param {number} customerId Customer ID
17608
- * @param {string} sku Product SKU
17609
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17610
- * @param {*} [options] Override http request option.
17611
- * @throws {RequiredError}
17612
- * @memberof ProductsApi
17613
- */
17614
- public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
17615
- return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
17616
- }
17617
16193
  }
17618
16194
 
17619
16195
  /**
@@ -17954,7 +16530,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
17954
16530
  * @param {*} [options] Override http request option.
17955
16531
  * @throws {RequiredError}
17956
16532
  */
17957
- 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>>> {
17958
16534
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetGroups(id, options);
17959
16535
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17960
16536
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getGetGroups']?.[localVarOperationServerIndex]?.url;
@@ -17967,7 +16543,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
17967
16543
  * @param {*} [options] Override http request option.
17968
16544
  * @throws {RequiredError}
17969
16545
  */
17970
- 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>> {
17971
16547
  const localVarAxiosArgs = await localVarAxiosParamCreator.postAddFanvilGroup(provisioningRequestEntity, options);
17972
16548
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17973
16549
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilGroup']?.[localVarOperationServerIndex]?.url;
@@ -18046,7 +16622,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
18046
16622
  * @param {*} [options] Override http request option.
18047
16623
  * @throws {RequiredError}
18048
16624
  */
18049
- getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningModel>> {
16625
+ getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningEntity>> {
18050
16626
  return localVarFp.getGetGroups(id, options).then((request) => request(axios, basePath));
18051
16627
  },
18052
16628
  /**
@@ -18056,7 +16632,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
18056
16632
  * @param {*} [options] Override http request option.
18057
16633
  * @throws {RequiredError}
18058
16634
  */
18059
- postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningModel> {
16635
+ postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningEntity> {
18060
16636
  return localVarFp.postAddFanvilGroup(provisioningRequestEntity, options).then((request) => request(axios, basePath));
18061
16637
  },
18062
16638
  /**
@@ -19957,114 +18533,6 @@ export class SMSApi extends BaseAPI {
19957
18533
 
19958
18534
 
19959
18535
 
19960
- /**
19961
- * ShippingApi - axios parameter creator
19962
- * @export
19963
- */
19964
- export const ShippingApiAxiosParamCreator = function (configuration?: Configuration) {
19965
- return {
19966
- /**
19967
- * Get Shipping Services
19968
- * @summary Get Shipping Services
19969
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
19970
- * @param {*} [options] Override http request option.
19971
- * @throws {RequiredError}
19972
- */
19973
- postGetShippingServices: async (shippingInformationDTO?: ShippingInformationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19974
- const localVarPath = `/shipping/services`;
19975
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
19976
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19977
- let baseOptions;
19978
- if (configuration) {
19979
- baseOptions = configuration.baseOptions;
19980
- }
19981
-
19982
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
19983
- const localVarHeaderParameter = {} as any;
19984
- const localVarQueryParameter = {} as any;
19985
-
19986
-
19987
-
19988
- localVarHeaderParameter['Content-Type'] = 'application/json';
19989
-
19990
- setSearchParams(localVarUrlObj, localVarQueryParameter);
19991
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19992
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19993
- localVarRequestOptions.data = serializeDataIfNeeded(shippingInformationDTO, localVarRequestOptions, configuration)
19994
-
19995
- return {
19996
- url: toPathString(localVarUrlObj),
19997
- options: localVarRequestOptions,
19998
- };
19999
- },
20000
- }
20001
- };
20002
-
20003
- /**
20004
- * ShippingApi - functional programming interface
20005
- * @export
20006
- */
20007
- export const ShippingApiFp = function(configuration?: Configuration) {
20008
- const localVarAxiosParamCreator = ShippingApiAxiosParamCreator(configuration)
20009
- return {
20010
- /**
20011
- * Get Shipping Services
20012
- * @summary Get Shipping Services
20013
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20014
- * @param {*} [options] Override http request option.
20015
- * @throws {RequiredError}
20016
- */
20017
- async postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingServicesModel>> {
20018
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetShippingServices(shippingInformationDTO, options);
20019
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20020
- const localVarOperationServerBasePath = operationServerMap['ShippingApi.postGetShippingServices']?.[localVarOperationServerIndex]?.url;
20021
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20022
- },
20023
- }
20024
- };
20025
-
20026
- /**
20027
- * ShippingApi - factory interface
20028
- * @export
20029
- */
20030
- export const ShippingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
20031
- const localVarFp = ShippingApiFp(configuration)
20032
- return {
20033
- /**
20034
- * Get Shipping Services
20035
- * @summary Get Shipping Services
20036
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20037
- * @param {*} [options] Override http request option.
20038
- * @throws {RequiredError}
20039
- */
20040
- postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShippingServicesModel> {
20041
- return localVarFp.postGetShippingServices(shippingInformationDTO, options).then((request) => request(axios, basePath));
20042
- },
20043
- };
20044
- };
20045
-
20046
- /**
20047
- * ShippingApi - object-oriented interface
20048
- * @export
20049
- * @class ShippingApi
20050
- * @extends {BaseAPI}
20051
- */
20052
- export class ShippingApi extends BaseAPI {
20053
- /**
20054
- * Get Shipping Services
20055
- * @summary Get Shipping Services
20056
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20057
- * @param {*} [options] Override http request option.
20058
- * @throws {RequiredError}
20059
- * @memberof ShippingApi
20060
- */
20061
- public postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig) {
20062
- return ShippingApiFp(this.configuration).postGetShippingServices(shippingInformationDTO, options).then((request) => request(this.axios, this.basePath));
20063
- }
20064
- }
20065
-
20066
-
20067
-
20068
18536
  /**
20069
18537
  * StockManagementApi - axios parameter creator
20070
18538
  * @export
@@ -21151,7 +19619,7 @@ export const StockManagementApiFp = function(configuration?: Configuration) {
21151
19619
  * @param {*} [options] Override http request option.
21152
19620
  * @throws {RequiredError}
21153
19621
  */
21154
- 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>>> {
21155
19623
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockSupplierProducts(id, options);
21156
19624
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21157
19625
  const localVarOperationServerBasePath = operationServerMap['StockManagementApi.getGetStockSupplierProducts']?.[localVarOperationServerIndex]?.url;
@@ -21454,7 +19922,7 @@ export const StockManagementApiFactory = function (configuration?: Configuration
21454
19922
  * @param {*} [options] Override http request option.
21455
19923
  * @throws {RequiredError}
21456
19924
  */
21457
- getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryDTO>> {
19925
+ getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryModel>> {
21458
19926
  return localVarFp.getGetStockSupplierProducts(id, options).then((request) => request(axios, basePath));
21459
19927
  },
21460
19928
  /**