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

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 -213
  2. package/README.md +7 -33
  3. package/api.ts +262 -1782
  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 -1292
  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 -37
  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 -33
  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,200 +535,6 @@ export interface AddressRequestModel {
651
535
  */
652
536
  'addressPostcode'?: string;
653
537
  }
654
- /**
655
- * Admin Order Item Request
656
- * @export
657
- * @interface AdminItemRequestDTO
658
- */
659
- export interface AdminItemRequestDTO {
660
- /**
661
- * SKU
662
- * @type {string}
663
- * @memberof AdminItemRequestDTO
664
- */
665
- 'sku'?: string;
666
- /**
667
- * Quantity
668
- * @type {number}
669
- * @memberof AdminItemRequestDTO
670
- */
671
- 'quantity'?: number;
672
- /**
673
- * ID
674
- * @type {number}
675
- * @memberof AdminItemRequestDTO
676
- */
677
- 'id'?: number | null;
678
- /**
679
- * 3CX Licence Key
680
- * @type {string}
681
- * @memberof AdminItemRequestDTO
682
- */
683
- 'licenceKey'?: string | null;
684
- /**
685
- * 3CX Hosting
686
- * @type {boolean}
687
- * @memberof AdminItemRequestDTO
688
- */
689
- 'hosting'?: boolean | null;
690
- /**
691
- * Date Time
692
- * @type {string}
693
- * @memberof AdminItemRequestDTO
694
- */
695
- 'processDate'?: string;
696
- /**
697
- * SBCS
698
- * @type {Array<TcxSbcDTO>}
699
- * @memberof AdminItemRequestDTO
700
- */
701
- 'sbcs'?: Array<TcxSbcDTO>;
702
- /**
703
- * Title
704
- * @type {string}
705
- * @memberof AdminItemRequestDTO
706
- */
707
- 'title'?: string | null;
708
- /**
709
- * Price (£)
710
- * @type {number}
711
- * @memberof AdminItemRequestDTO
712
- */
713
- 'itemPrice'?: number | null;
714
- }
715
- /**
716
- * Admin Order Request
717
- * @export
718
- * @interface AdminOrderRequestDTO
719
- */
720
- export interface AdminOrderRequestDTO {
721
- /**
722
- * Order Reference
723
- * @type {string}
724
- * @memberof AdminOrderRequestDTO
725
- */
726
- 'orderReference'?: string | null;
727
- /**
728
- * Items
729
- * @type {Array<AdminItemRequestDTO>}
730
- * @memberof AdminOrderRequestDTO
731
- */
732
- 'items'?: Array<AdminItemRequestDTO>;
733
- /**
734
- *
735
- * @type {ShippingServiceDTO}
736
- * @memberof AdminOrderRequestDTO
737
- */
738
- 'shippingService'?: ShippingServiceDTO;
739
- /**
740
- * Provisioning URL
741
- * @type {string}
742
- * @memberof AdminOrderRequestDTO
743
- */
744
- 'provisioningUrl'?: string | null;
745
- /**
746
- *
747
- * @type {AddressModel}
748
- * @memberof AdminOrderRequestDTO
749
- */
750
- 'shippingAddress'?: AddressModel;
751
- /**
752
- * Part Ship Order
753
- * @type {boolean}
754
- * @memberof AdminOrderRequestDTO
755
- */
756
- 'partShip'?: boolean;
757
- /**
758
- * Quote
759
- * @type {boolean}
760
- * @memberof AdminOrderRequestDTO
761
- */
762
- 'quote'?: boolean;
763
- /**
764
- * Customer ID
765
- * @type {number}
766
- * @memberof AdminOrderRequestDTO
767
- */
768
- 'customerId'?: number;
769
- /**
770
- * Contact
771
- * @type {string}
772
- * @memberof AdminOrderRequestDTO
773
- */
774
- 'contact'?: string;
775
- /**
776
- * Ignore Customer On Hold
777
- * @type {boolean}
778
- * @memberof AdminOrderRequestDTO
779
- */
780
- 'ignoreOnHold'?: boolean;
781
- /**
782
- * Ignore Customer Credit Limit
783
- * @type {boolean}
784
- * @memberof AdminOrderRequestDTO
785
- */
786
- 'ignoreCreditLimit'?: boolean;
787
- /**
788
- * Include NFR Promos
789
- * @type {boolean}
790
- * @memberof AdminOrderRequestDTO
791
- */
792
- 'includeNfrPromos'?: boolean;
793
- /**
794
- * Carriage Charge
795
- * @type {number}
796
- * @memberof AdminOrderRequestDTO
797
- */
798
- 'carriageCharge'?: number;
799
- }
800
- /**
801
- * Admin User
802
- * @export
803
- * @interface AdminUserModel
804
- */
805
- export interface AdminUserModel {
806
- /**
807
- * First Name
808
- * @type {string}
809
- * @memberof AdminUserModel
810
- */
811
- 'firstName'?: string;
812
- /**
813
- * Last Name
814
- * @type {string}
815
- * @memberof AdminUserModel
816
- */
817
- 'lastName'?: string;
818
- /**
819
- * Avatar
820
- * @type {string}
821
- * @memberof AdminUserModel
822
- */
823
- 'avatar'?: string | null;
824
- /**
825
- * Role
826
- * @type {number}
827
- * @memberof AdminUserModel
828
- */
829
- 'role'?: AdminUserModelRoleEnum;
830
- /**
831
- * Email
832
- * @type {string}
833
- * @memberof AdminUserModel
834
- */
835
- 'email'?: string | null;
836
- }
837
-
838
- export const AdminUserModelRoleEnum = {
839
- NUMBER_0: 0,
840
- NUMBER_1: 1,
841
- NUMBER_2: 2,
842
- NUMBER_3: 3,
843
- NUMBER_4: 4
844
- } as const;
845
-
846
- export type AdminUserModelRoleEnum = typeof AdminUserModelRoleEnum[keyof typeof AdminUserModelRoleEnum];
847
-
848
538
  /**
849
539
  * Agent Hours Graph
850
540
  * @export
@@ -1074,44 +764,6 @@ export interface AuthCodeResponseModel {
1074
764
  */
1075
765
  'redirect_uri'?: string | null;
1076
766
  }
1077
- /**
1078
- * Basic Order Item
1079
- * @export
1080
- * @interface BasicItemDTO
1081
- */
1082
- export interface BasicItemDTO {
1083
- /**
1084
- * SKU
1085
- * @type {string}
1086
- * @memberof BasicItemDTO
1087
- */
1088
- 'sku'?: string;
1089
- /**
1090
- * Quantity
1091
- * @type {number}
1092
- * @memberof BasicItemDTO
1093
- */
1094
- 'quantity'?: number;
1095
- }
1096
- /**
1097
- * Basic Product
1098
- * @export
1099
- * @interface BasicProductDTO
1100
- */
1101
- export interface BasicProductDTO {
1102
- /**
1103
- * SKU
1104
- * @type {string}
1105
- * @memberof BasicProductDTO
1106
- */
1107
- 'sku'?: string;
1108
- /**
1109
- * Title
1110
- * @type {string}
1111
- * @memberof BasicProductDTO
1112
- */
1113
- 'title'?: string;
1114
- }
1115
767
  /**
1116
768
  * BatchesEntity
1117
769
  * @export
@@ -1306,6 +958,12 @@ export interface ClientDetailsModel {
1306
958
  * @memberof ClientDetailsModel
1307
959
  */
1308
960
  'lastName'?: string;
961
+ /**
962
+ * User Profile Picture
963
+ * @type {string}
964
+ * @memberof ClientDetailsModel
965
+ */
966
+ 'image'?: string | null;
1309
967
  }
1310
968
  /**
1311
969
  * OAuth client details
@@ -1468,112 +1126,45 @@ export interface ConversationModel {
1468
1126
  'attachments'?: Array<AttachmentModel>;
1469
1127
  }
1470
1128
  /**
1471
- * CourierPricesEntity
1129
+ * Credit Account
1472
1130
  * @export
1473
- * @interface CourierPriceEntity
1131
+ * @interface CreditAccountEntity
1474
1132
  */
1475
- export interface CourierPriceEntity {
1133
+ export interface CreditAccountEntity {
1476
1134
  /**
1477
- * id
1135
+ * ID
1478
1136
  * @type {number}
1479
- * @memberof CourierPriceEntity
1137
+ * @memberof CreditAccountEntity
1480
1138
  */
1481
1139
  'id'?: number;
1482
1140
  /**
1483
- * courier
1141
+ * Contact Name
1484
1142
  * @type {string}
1485
- * @memberof CourierPriceEntity
1143
+ * @memberof CreditAccountEntity
1486
1144
  */
1487
- 'courier'?: string;
1145
+ 'name'?: string;
1488
1146
  /**
1489
- * destinationIso
1147
+ * Email
1490
1148
  * @type {string}
1491
- * @memberof CourierPriceEntity
1149
+ * @memberof CreditAccountEntity
1492
1150
  */
1493
- 'destinationIso'?: string;
1151
+ 'email'?: string;
1494
1152
  /**
1495
- * serviceDescription
1153
+ * Phone Number
1496
1154
  * @type {string}
1497
- * @memberof CourierPriceEntity
1155
+ * @memberof CreditAccountEntity
1498
1156
  */
1499
- 'serviceDescription'?: string;
1157
+ 'phone'?: string;
1500
1158
  /**
1501
- * flatRate
1502
- * @type {number}
1503
- * @memberof CourierPriceEntity
1159
+ * Company Name
1160
+ * @type {string}
1161
+ * @memberof CreditAccountEntity
1504
1162
  */
1505
- 'flatRate'?: number;
1163
+ 'company'?: string;
1506
1164
  /**
1507
- * initialBox
1508
- * @type {number}
1509
- * @memberof CourierPriceEntity
1510
- */
1511
- 'initialBox'?: number;
1512
- /**
1513
- * initialKg
1514
- * @type {number}
1515
- * @memberof CourierPriceEntity
1516
- */
1517
- 'initialKg'?: number;
1518
- /**
1519
- * perBox
1520
- * @type {number}
1521
- * @memberof CourierPriceEntity
1522
- */
1523
- 'perBox'?: number;
1524
- /**
1525
- * perKg
1526
- * @type {number}
1527
- * @memberof CourierPriceEntity
1528
- */
1529
- 'perKg'?: number;
1530
- /**
1531
- * maxKg
1532
- * @type {number}
1533
- * @memberof CourierPriceEntity
1534
- */
1535
- 'maxKg'?: number;
1536
- }
1537
- /**
1538
- * Credit Account
1539
- * @export
1540
- * @interface CreditAccountEntity
1541
- */
1542
- export interface CreditAccountEntity {
1543
- /**
1544
- * ID
1545
- * @type {number}
1546
- * @memberof CreditAccountEntity
1547
- */
1548
- 'id'?: number;
1549
- /**
1550
- * Contact Name
1551
- * @type {string}
1552
- * @memberof CreditAccountEntity
1553
- */
1554
- 'name'?: string;
1555
- /**
1556
- * Email
1557
- * @type {string}
1558
- * @memberof CreditAccountEntity
1559
- */
1560
- 'email'?: string;
1561
- /**
1562
- * Phone Number
1563
- * @type {string}
1564
- * @memberof CreditAccountEntity
1565
- */
1566
- 'phone'?: string;
1567
- /**
1568
- * Company Name
1569
- * @type {string}
1570
- * @memberof CreditAccountEntity
1571
- */
1572
- 'company'?: string;
1573
- /**
1574
- * Company Registration Number
1575
- * @type {string}
1576
- * @memberof CreditAccountEntity
1165
+ * Company Registration Number
1166
+ * @type {string}
1167
+ * @memberof CreditAccountEntity
1577
1168
  */
1578
1169
  'companyNumber'?: string;
1579
1170
  /**
@@ -1716,104 +1307,6 @@ export interface CustomerInformationModel {
1716
1307
  */
1717
1308
  'contactLastName'?: string;
1718
1309
  }
1719
- /**
1720
- * Order Item Request
1721
- * @export
1722
- * @interface CustomerItemRequestDTO
1723
- */
1724
- export interface CustomerItemRequestDTO {
1725
- /**
1726
- * SKU
1727
- * @type {string}
1728
- * @memberof CustomerItemRequestDTO
1729
- */
1730
- 'sku'?: string;
1731
- /**
1732
- * Quantity
1733
- * @type {number}
1734
- * @memberof CustomerItemRequestDTO
1735
- */
1736
- 'quantity'?: number;
1737
- /**
1738
- * ID
1739
- * @type {number}
1740
- * @memberof CustomerItemRequestDTO
1741
- */
1742
- 'id'?: number | null;
1743
- /**
1744
- * 3CX Licence Key
1745
- * @type {string}
1746
- * @memberof CustomerItemRequestDTO
1747
- */
1748
- 'licenceKey'?: string | null;
1749
- /**
1750
- * 3CX Hosting
1751
- * @type {boolean}
1752
- * @memberof CustomerItemRequestDTO
1753
- */
1754
- 'hosting'?: boolean | null;
1755
- /**
1756
- * Date Time
1757
- * @type {string}
1758
- * @memberof CustomerItemRequestDTO
1759
- */
1760
- 'processDate'?: string;
1761
- /**
1762
- * SBCS
1763
- * @type {Array<TcxSbcDTO>}
1764
- * @memberof CustomerItemRequestDTO
1765
- */
1766
- 'sbcs'?: Array<TcxSbcDTO>;
1767
- }
1768
- /**
1769
- * Order Request
1770
- * @export
1771
- * @interface CustomerOrderRequestDTO
1772
- */
1773
- export interface CustomerOrderRequestDTO {
1774
- /**
1775
- * Order Reference
1776
- * @type {string}
1777
- * @memberof CustomerOrderRequestDTO
1778
- */
1779
- 'orderReference'?: string | null;
1780
- /**
1781
- * Items
1782
- * @type {Array<CustomerItemRequestDTO>}
1783
- * @memberof CustomerOrderRequestDTO
1784
- */
1785
- 'items'?: Array<CustomerItemRequestDTO>;
1786
- /**
1787
- *
1788
- * @type {ShippingServiceDTO}
1789
- * @memberof CustomerOrderRequestDTO
1790
- */
1791
- 'shippingService'?: ShippingServiceDTO;
1792
- /**
1793
- * Provisioning URL
1794
- * @type {string}
1795
- * @memberof CustomerOrderRequestDTO
1796
- */
1797
- 'provisioningUrl'?: string | null;
1798
- /**
1799
- *
1800
- * @type {AddressModel}
1801
- * @memberof CustomerOrderRequestDTO
1802
- */
1803
- 'shippingAddress'?: AddressModel;
1804
- /**
1805
- * Part Ship Order
1806
- * @type {boolean}
1807
- * @memberof CustomerOrderRequestDTO
1808
- */
1809
- 'partShip'?: boolean;
1810
- /**
1811
- * Quote
1812
- * @type {boolean}
1813
- * @memberof CustomerOrderRequestDTO
1814
- */
1815
- 'quote'?: boolean;
1816
- }
1817
1310
  /**
1818
1311
  * Customer Price List
1819
1312
  * @export
@@ -2323,6 +1816,19 @@ export interface GenericFileModel {
2323
1816
  */
2324
1817
  'type'?: string;
2325
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
+ }
2326
1832
  /**
2327
1833
  *
2328
1834
  * @export
@@ -2923,36 +2429,36 @@ export interface InstanceUserCredentialsEntity {
2923
2429
  * @interface ItemDTO
2924
2430
  */
2925
2431
  export interface ItemDTO {
2926
- /**
2927
- * SKU
2928
- * @type {string}
2929
- * @memberof ItemDTO
2930
- */
2931
- 'sku'?: string;
2932
- /**
2933
- * Quantity
2934
- * @type {number}
2935
- * @memberof ItemDTO
2936
- */
2937
- 'quantity'?: number;
2938
2432
  /**
2939
2433
  * ID
2940
2434
  * @type {number}
2941
2435
  * @memberof ItemDTO
2942
2436
  */
2943
- 'id'?: number | null;
2437
+ 'id'?: number;
2944
2438
  /**
2945
2439
  * Order ID
2946
2440
  * @type {number}
2947
2441
  * @memberof ItemDTO
2948
2442
  */
2949
- 'orderId'?: number | null;
2443
+ 'orderId'?: number;
2950
2444
  /**
2951
2445
  * Title
2952
2446
  * @type {string}
2953
2447
  * @memberof ItemDTO
2954
2448
  */
2955
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;
2956
2462
  /**
2957
2463
  * Price
2958
2464
  * @type {number}
@@ -2977,12 +2483,6 @@ export interface ItemDTO {
2977
2483
  * @memberof ItemDTO
2978
2484
  */
2979
2485
  'processDate'?: string;
2980
- /**
2981
- * 3CX Hosting
2982
- * @type {boolean}
2983
- * @memberof ItemDTO
2984
- */
2985
- 'hosting'?: boolean | null;
2986
2486
  /**
2987
2487
  * Promo Item
2988
2488
  * @type {boolean}
@@ -2994,25 +2494,7 @@ export interface ItemDTO {
2994
2494
  * @type {number}
2995
2495
  * @memberof ItemDTO
2996
2496
  */
2997
- 'refunded'?: number | null;
2998
- /**
2999
- * SBCs
3000
- * @type {Array<TcxSbcDTO>}
3001
- * @memberof ItemDTO
3002
- */
3003
- 'sbcs'?: Array<TcxSbcDTO> | null;
3004
- /**
3005
- * Readonly
3006
- * @type {boolean}
3007
- * @memberof ItemDTO
3008
- */
3009
- 'readonly'?: boolean;
3010
- /**
3011
- * 3CX Sales Code
3012
- * @type {string}
3013
- * @memberof ItemDTO
3014
- */
3015
- 'tcxSalesCode'?: string | null;
2497
+ 'refunded'?: number;
3016
2498
  }
3017
2499
  /**
3018
2500
  * ItemsEntity
@@ -3146,31 +2628,6 @@ export interface ItemEntity {
3146
2628
  * @memberof ItemEntity
3147
2629
  */
3148
2630
  'promoItem'?: number;
3149
- /**
3150
- * 3CX Sales Code
3151
- * @type {string}
3152
- * @memberof ItemEntity
3153
- */
3154
- 'tcxSalesCode'?: string | null;
3155
- }
3156
- /**
3157
- * LinkedOrdersEntity
3158
- * @export
3159
- * @interface LinkedOrderEntity
3160
- */
3161
- export interface LinkedOrderEntity {
3162
- /**
3163
- * orderId
3164
- * @type {number}
3165
- * @memberof LinkedOrderEntity
3166
- */
3167
- 'orderId'?: number;
3168
- /**
3169
- * linkedOrderId
3170
- * @type {number}
3171
- * @memberof LinkedOrderEntity
3172
- */
3173
- 'linkedOrderId'?: number;
3174
2631
  }
3175
2632
  /**
3176
2633
  * MFA Required
@@ -3831,19 +3288,13 @@ export interface OrderSummaryDTO {
3831
3288
  * @type {string}
3832
3289
  * @memberof OrderSummaryDTO
3833
3290
  */
3834
- 'reference'?: string | null;
3291
+ 'reference'?: string;
3835
3292
  /**
3836
3293
  * Invoice Number
3837
3294
  * @type {string}
3838
3295
  * @memberof OrderSummaryDTO
3839
3296
  */
3840
3297
  'invoiceNumber'?: string;
3841
- /**
3842
- * Invoice ID
3843
- * @type {string}
3844
- * @memberof OrderSummaryDTO
3845
- */
3846
- 'invoiceId'?: string | null;
3847
3298
  /**
3848
3299
  * Date Time
3849
3300
  * @type {string}
@@ -3898,24 +3349,6 @@ export interface OrderSummaryDTO {
3898
3349
  * @memberof OrderSummaryDTO
3899
3350
  */
3900
3351
  'fulfillable'?: boolean | null;
3901
- /**
3902
- * Provisioning URL
3903
- * @type {string}
3904
- * @memberof OrderSummaryDTO
3905
- */
3906
- 'provisioningUrl'?: string | null;
3907
- /**
3908
- *
3909
- * @type {ShippingServiceDTO}
3910
- * @memberof OrderSummaryDTO
3911
- */
3912
- 'shippingService'?: ShippingServiceDTO | null;
3913
- /**
3914
- * Readonly
3915
- * @type {boolean}
3916
- * @memberof OrderSummaryDTO
3917
- */
3918
- 'readonly'?: boolean;
3919
3352
  }
3920
3353
  /**
3921
3354
  * Order Totals
@@ -3965,12 +3398,6 @@ export interface OrderTotalModel {
3965
3398
  * @memberof OrderTotalModel
3966
3399
  */
3967
3400
  'currency'?: OrderTotalModelCurrencyEnum;
3968
- /**
3969
- * Delivery
3970
- * @type {number}
3971
- * @memberof OrderTotalModel
3972
- */
3973
- 'delivery'?: number | null;
3974
3401
  }
3975
3402
 
3976
3403
  export const OrderTotalModelCurrencyEnum = {
@@ -4352,31 +3779,6 @@ export interface PostGetClientCredentialsRequest {
4352
3779
  */
4353
3780
  'scopes'?: Array<string>;
4354
3781
  }
4355
- /**
4356
- *
4357
- * @export
4358
- * @interface PostGetProductForCustomerRequest
4359
- */
4360
- export interface PostGetProductForCustomerRequest {
4361
- /**
4362
- * Quantity
4363
- * @type {number}
4364
- * @memberof PostGetProductForCustomerRequest
4365
- */
4366
- 'quantity'?: number | null;
4367
- /**
4368
- * 3CX Licence Key
4369
- * @type {string}
4370
- * @memberof PostGetProductForCustomerRequest
4371
- */
4372
- 'licenceKey'?: string | null;
4373
- /**
4374
- * 3CX Hosting
4375
- * @type {boolean}
4376
- * @memberof PostGetProductForCustomerRequest
4377
- */
4378
- 'hosting'?: boolean | null;
4379
- }
4380
3782
  /**
4381
3783
  * Price & Stock List
4382
3784
  * @export
@@ -4465,10 +3867,10 @@ export interface PrizesEntity {
4465
3867
  export interface ProductSearchResultsModel {
4466
3868
  /**
4467
3869
  * Results
4468
- * @type {Array<ProductSummaryDTO>}
3870
+ * @type {Array<ProductSummaryModel>}
4469
3871
  * @memberof ProductSearchResultsModel
4470
3872
  */
4471
- 'results'?: Array<ProductSummaryDTO>;
3873
+ 'results'?: Array<ProductSummaryModel>;
4472
3874
  }
4473
3875
  /**
4474
3876
  * Product Serial Info
@@ -4504,51 +3906,45 @@ export interface ProductSerialInfoModel {
4504
3906
  /**
4505
3907
  * Product Summary
4506
3908
  * @export
4507
- * @interface ProductSummaryDTO
3909
+ * @interface ProductSummaryModel
4508
3910
  */
4509
- export interface ProductSummaryDTO {
3911
+ export interface ProductSummaryModel {
4510
3912
  /**
4511
3913
  * SKU
4512
3914
  * @type {string}
4513
- * @memberof ProductSummaryDTO
3915
+ * @memberof ProductSummaryModel
4514
3916
  */
4515
3917
  'sku'?: string;
4516
3918
  /**
4517
3919
  * Title
4518
3920
  * @type {string}
4519
- * @memberof ProductSummaryDTO
3921
+ * @memberof ProductSummaryModel
4520
3922
  */
4521
3923
  'title'?: string;
4522
3924
  /**
4523
3925
  * Stock Quantity
4524
3926
  * @type {number}
4525
- * @memberof ProductSummaryDTO
3927
+ * @memberof ProductSummaryModel
4526
3928
  */
4527
3929
  'quantity'?: number | null;
4528
3930
  /**
4529
3931
  * Stock Product
4530
3932
  * @type {boolean}
4531
- * @memberof ProductSummaryDTO
3933
+ * @memberof ProductSummaryModel
4532
3934
  */
4533
3935
  'stockProduct'?: boolean;
4534
3936
  /**
4535
3937
  * Price
4536
3938
  * @type {number}
4537
- * @memberof ProductSummaryDTO
3939
+ * @memberof ProductSummaryModel
4538
3940
  */
4539
3941
  'price'?: number | null;
4540
3942
  /**
4541
3943
  * Carton Size
4542
3944
  * @type {number}
4543
- * @memberof ProductSummaryDTO
3945
+ * @memberof ProductSummaryModel
4544
3946
  */
4545
3947
  'cartonSize'?: number | null;
4546
- /**
4547
- * RRP Price
4548
- * @type {number}
4549
- * @memberof ProductSummaryDTO
4550
- */
4551
- 'rrp'?: number | null;
4552
3948
  }
4553
3949
  /**
4554
3950
  * PromoCodesEntity
@@ -4687,37 +4083,37 @@ export interface PromoItemsEntity {
4687
4083
  /**
4688
4084
  * Provisioning Group
4689
4085
  * @export
4690
- * @interface ProvisioningModel
4086
+ * @interface ProvisioningEntity
4691
4087
  */
4692
- export interface ProvisioningModel {
4088
+ export interface ProvisioningEntity {
4693
4089
  /**
4694
4090
  * Provisioning Group Name
4695
4091
  * @type {string}
4696
- * @memberof ProvisioningModel
4092
+ * @memberof ProvisioningEntity
4697
4093
  */
4698
4094
  'groupName'?: string;
4699
4095
  /**
4700
4096
  * Provisioning URL (Static Provisioning Server)
4701
4097
  * @type {string}
4702
- * @memberof ProvisioningModel
4098
+ * @memberof ProvisioningEntity
4703
4099
  */
4704
4100
  'provisioningUrl'?: string;
4705
4101
  /**
4706
4102
  * Additional Authentication Secret
4707
4103
  * @type {string}
4708
- * @memberof ProvisioningModel
4104
+ * @memberof ProvisioningEntity
4709
4105
  */
4710
4106
  'auth'?: string;
4711
4107
  /**
4712
4108
  * Provisioning Group ID
4713
4109
  * @type {number}
4714
- * @memberof ProvisioningModel
4110
+ * @memberof ProvisioningEntity
4715
4111
  */
4716
4112
  'id'?: number;
4717
4113
  /**
4718
4114
  * Owner ID
4719
4115
  * @type {number}
4720
- * @memberof ProvisioningModel
4116
+ * @memberof ProvisioningEntity
4721
4117
  */
4722
4118
  'customerId'?: number;
4723
4119
  }
@@ -5071,7 +4467,7 @@ export interface ShipmentEntity {
5071
4467
  * @type {string}
5072
4468
  * @memberof ShipmentEntity
5073
4469
  */
5074
- 'dateShipped'?: string;
4470
+ 'date'?: string;
5075
4471
  /**
5076
4472
  * requestDate
5077
4473
  * @type {string}
@@ -5123,190 +4519,41 @@ export interface ShipmentItemEntity {
5123
4519
  'itemId'?: string;
5124
4520
  }
5125
4521
  /**
5126
- *
4522
+ * Change Response
5127
4523
  * @export
5128
- * @interface ShippingConsignmentModel
4524
+ * @interface SipTrunkChangeResponseModel
5129
4525
  */
5130
- export interface ShippingConsignmentModel {
4526
+ export interface SipTrunkChangeResponseModel {
4527
+ /**
4528
+ * ID
4529
+ * @type {string}
4530
+ * @memberof SipTrunkChangeResponseModel
4531
+ */
4532
+ 'changeId'?: string;
5131
4533
  /**
5132
4534
  *
5133
- * @type {ShippingServiceModel}
5134
- * @memberof ShippingConsignmentModel
4535
+ * @type {SipTrunkEntity}
4536
+ * @memberof SipTrunkChangeResponseModel
5135
4537
  */
5136
- 'service'?: ShippingServiceModel;
4538
+ 'trunk'?: SipTrunkEntity;
5137
4539
  /**
5138
- * ID/Number
4540
+ * Type
5139
4541
  * @type {string}
5140
- * @memberof ShippingConsignmentModel
4542
+ * @memberof SipTrunkChangeResponseModel
5141
4543
  */
5142
- 'id'?: string;
4544
+ 'type'?: SipTrunkChangeResponseModelTypeEnum;
5143
4545
  /**
5144
- * Tracking Number
5145
- * @type {string}
5146
- * @memberof ShippingConsignmentModel
4546
+ * Progress
4547
+ * @type {number}
4548
+ * @memberof SipTrunkChangeResponseModel
5147
4549
  */
5148
- 'trackingNumber'?: string;
4550
+ 'progress'?: number;
5149
4551
  /**
5150
- * Parcels
5151
- * @type {Array<string>}
5152
- * @memberof ShippingConsignmentModel
4552
+ * Service Provider
4553
+ * @type {number}
4554
+ * @memberof SipTrunkChangeResponseModel
5153
4555
  */
5154
- 'parcelIds'?: Array<string>;
5155
- }
5156
- /**
5157
- * Shipping Information
5158
- * @export
5159
- * @interface ShippingInformationDTO
5160
- */
5161
- export interface ShippingInformationDTO {
5162
- /**
5163
- * Items
5164
- * @type {Array<BasicItemDTO>}
5165
- * @memberof ShippingInformationDTO
5166
- */
5167
- 'items'?: Array<BasicItemDTO>;
5168
- /**
5169
- * Destination Post Code
5170
- * @type {string}
5171
- * @memberof ShippingInformationDTO
5172
- */
5173
- 'postalCode'?: string;
5174
- /**
5175
- * Destination ISO
5176
- * @type {string}
5177
- * @memberof ShippingInformationDTO
5178
- */
5179
- 'iso'?: string;
5180
- }
5181
- /**
5182
- * Shipping Service
5183
- * @export
5184
- * @interface ShippingServiceDTO
5185
- */
5186
- export interface ShippingServiceDTO {
5187
- /**
5188
- * Courier
5189
- * @type {string}
5190
- * @memberof ShippingServiceDTO
5191
- */
5192
- 'courier'?: ShippingServiceDTOCourierEnum;
5193
- /**
5194
- * Service Name
5195
- * @type {string}
5196
- * @memberof ShippingServiceDTO
5197
- */
5198
- 'serviceName'?: string;
5199
- }
5200
-
5201
- export const ShippingServiceDTOCourierEnum = {
5202
- Dpd: 'DPD',
5203
- ChorltonPallet: 'Chorlton Pallet',
5204
- Pops: 'POPS'
5205
- } as const;
5206
-
5207
- export type ShippingServiceDTOCourierEnum = typeof ShippingServiceDTOCourierEnum[keyof typeof ShippingServiceDTOCourierEnum];
5208
-
5209
- /**
5210
- * Shipping Service
5211
- * @export
5212
- * @interface ShippingServiceModel
5213
- */
5214
- export interface ShippingServiceModel {
5215
- /**
5216
- * Courier
5217
- * @type {string}
5218
- * @memberof ShippingServiceModel
5219
- */
5220
- 'courier'?: ShippingServiceModelCourierEnum;
5221
- /**
5222
- * Code
5223
- * @type {string}
5224
- * @memberof ShippingServiceModel
5225
- */
5226
- 'code'?: string;
5227
- /**
5228
- * Name
5229
- * @type {string}
5230
- * @memberof ShippingServiceModel
5231
- */
5232
- 'name'?: string;
5233
- /**
5234
- * Description
5235
- * @type {string}
5236
- * @memberof ShippingServiceModel
5237
- */
5238
- 'description'?: string;
5239
- /**
5240
- * Label
5241
- * @type {string}
5242
- * @memberof ShippingServiceModel
5243
- */
5244
- 'label'?: string | null;
5245
- /**
5246
- * Price
5247
- * @type {number}
5248
- * @memberof ShippingServiceModel
5249
- */
5250
- 'price'?: number | null;
5251
- }
5252
-
5253
- export const ShippingServiceModelCourierEnum = {
5254
- Dpd: 'DPD',
5255
- ChorltonPallet: 'Chorlton Pallet',
5256
- Pops: 'POPS'
5257
- } as const;
5258
-
5259
- export type ShippingServiceModelCourierEnum = typeof ShippingServiceModelCourierEnum[keyof typeof ShippingServiceModelCourierEnum];
5260
-
5261
- /**
5262
- *
5263
- * @export
5264
- * @interface ShippingServicesModel
5265
- */
5266
- export interface ShippingServicesModel {
5267
- /**
5268
- * Services
5269
- * @type {Array<ShippingServiceModel>}
5270
- * @memberof ShippingServicesModel
5271
- */
5272
- 'services'?: Array<ShippingServiceModel>;
5273
- }
5274
- /**
5275
- * Change Response
5276
- * @export
5277
- * @interface SipTrunkChangeResponseModel
5278
- */
5279
- export interface SipTrunkChangeResponseModel {
5280
- /**
5281
- * ID
5282
- * @type {string}
5283
- * @memberof SipTrunkChangeResponseModel
5284
- */
5285
- 'changeId'?: string;
5286
- /**
5287
- *
5288
- * @type {SipTrunkEntity}
5289
- * @memberof SipTrunkChangeResponseModel
5290
- */
5291
- 'trunk'?: SipTrunkEntity;
5292
- /**
5293
- * Type
5294
- * @type {string}
5295
- * @memberof SipTrunkChangeResponseModel
5296
- */
5297
- 'type'?: SipTrunkChangeResponseModelTypeEnum;
5298
- /**
5299
- * Progress
5300
- * @type {number}
5301
- * @memberof SipTrunkChangeResponseModel
5302
- */
5303
- 'progress'?: number;
5304
- /**
5305
- * Service Provider
5306
- * @type {number}
5307
- * @memberof SipTrunkChangeResponseModel
5308
- */
5309
- 'provider'?: number;
4556
+ 'provider'?: number;
5310
4557
  }
5311
4558
 
5312
4559
  export const SipTrunkChangeResponseModelTypeEnum = {
@@ -8110,49 +7357,6 @@ export interface TcxRemoteStorageModel {
8110
7357
  */
8111
7358
  'secretAccessKey'?: string;
8112
7359
  }
8113
- /**
8114
- * SBC Data
8115
- * @export
8116
- * @interface TcxSbcDTO
8117
- */
8118
- export interface TcxSbcDTO {
8119
- /**
8120
- * LAN IP Address
8121
- * @type {string}
8122
- * @memberof TcxSbcDTO
8123
- */
8124
- 'ipAddress'?: string;
8125
- /**
8126
- * LAN Default Gateway
8127
- * @type {string}
8128
- * @memberof TcxSbcDTO
8129
- */
8130
- 'defaultGateway'?: string;
8131
- /**
8132
- * LAN Subnet Mask
8133
- * @type {string}
8134
- * @memberof TcxSbcDTO
8135
- */
8136
- 'netmask'?: string;
8137
- /**
8138
- * DNS
8139
- * @type {string}
8140
- * @memberof TcxSbcDTO
8141
- */
8142
- 'dns'?: string;
8143
- /**
8144
- * 3CX URL
8145
- * @type {string}
8146
- * @memberof TcxSbcDTO
8147
- */
8148
- 'tcxUrl'?: string;
8149
- /**
8150
- * 3CX SBC Key
8151
- * @type {string}
8152
- * @memberof TcxSbcDTO
8153
- */
8154
- 'tcxKey'?: string;
8155
- }
8156
7360
  /**
8157
7361
  * 3CX Wizard SBC
8158
7362
  * @export
@@ -8257,7 +7461,7 @@ export interface TcxSbcEntity {
8257
7461
  'technicalContact'?: string;
8258
7462
  }
8259
7463
  /**
8260
- * 3CX Wizard SBC
7464
+ * 3CX SBC Model
8261
7465
  * @export
8262
7466
  * @interface TcxSbcModel
8263
7467
  */
@@ -9442,40 +8646,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
9442
8646
 
9443
8647
 
9444
8648
 
9445
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9446
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9447
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9448
-
9449
- return {
9450
- url: toPathString(localVarUrlObj),
9451
- options: localVarRequestOptions,
9452
- };
9453
- },
9454
- /**
9455
- * Get Account Detailed Summary
9456
- * @summary Get Account Detailed Summary
9457
- * @param {number} id Customer ID
9458
- * @param {*} [options] Override http request option.
9459
- * @throws {RequiredError}
9460
- */
9461
- getGetAccountDetailedSummary: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9462
- // verify required parameter 'id' is not null or undefined
9463
- assertParamExists('getGetAccountDetailedSummary', 'id', id)
9464
- const localVarPath = `/accounts/{id}/summary`
9465
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9466
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9467
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9468
- let baseOptions;
9469
- if (configuration) {
9470
- baseOptions = configuration.baseOptions;
9471
- }
9472
-
9473
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9474
- const localVarHeaderParameter = {} as any;
9475
- const localVarQueryParameter = {} as any;
9476
-
9477
-
9478
-
9479
8649
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9480
8650
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9481
8651
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -9774,36 +8944,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
9774
8944
  options: localVarRequestOptions,
9775
8945
  };
9776
8946
  },
9777
- /**
9778
- * Get Admin Account
9779
- * @summary Get Admin Account
9780
- * @param {*} [options] Override http request option.
9781
- * @throws {RequiredError}
9782
- */
9783
- postGetAdminAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9784
- const localVarPath = `/admin/me`;
9785
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9786
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9787
- let baseOptions;
9788
- if (configuration) {
9789
- baseOptions = configuration.baseOptions;
9790
- }
9791
-
9792
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9793
- const localVarHeaderParameter = {} as any;
9794
- const localVarQueryParameter = {} as any;
9795
-
9796
-
9797
-
9798
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9799
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9800
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9801
-
9802
- return {
9803
- url: toPathString(localVarUrlObj),
9804
- options: localVarRequestOptions,
9805
- };
9806
- },
9807
8947
  /**
9808
8948
  * Create client credentials
9809
8949
  * @summary Create client credentials
@@ -10053,19 +9193,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
10053
9193
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountContacts']?.[localVarOperationServerIndex]?.url;
10054
9194
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10055
9195
  },
10056
- /**
10057
- * Get Account Detailed Summary
10058
- * @summary Get Account Detailed Summary
10059
- * @param {number} id Customer ID
10060
- * @param {*} [options] Override http request option.
10061
- * @throws {RequiredError}
10062
- */
10063
- async getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDetailedSummaryDTO>> {
10064
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options);
10065
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10066
- const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountDetailedSummary']?.[localVarOperationServerIndex]?.url;
10067
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10068
- },
10069
9196
  /**
10070
9197
  * Get Accounts
10071
9198
  * @summary Get Accounts
@@ -10171,18 +9298,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
10171
9298
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAccounts']?.[localVarOperationServerIndex]?.url;
10172
9299
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10173
9300
  },
10174
- /**
10175
- * Get Admin Account
10176
- * @summary Get Admin Account
10177
- * @param {*} [options] Override http request option.
10178
- * @throws {RequiredError}
10179
- */
10180
- async postGetAdminAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminUserModel>> {
10181
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetAdminAccount(options);
10182
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10183
- const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAdminAccount']?.[localVarOperationServerIndex]?.url;
10184
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10185
- },
10186
9301
  /**
10187
9302
  * Create client credentials
10188
9303
  * @summary Create client credentials
@@ -10300,16 +9415,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
10300
9415
  getGetAccountContacts(email?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>> {
10301
9416
  return localVarFp.getGetAccountContacts(email, options).then((request) => request(axios, basePath));
10302
9417
  },
10303
- /**
10304
- * Get Account Detailed Summary
10305
- * @summary Get Account Detailed Summary
10306
- * @param {number} id Customer ID
10307
- * @param {*} [options] Override http request option.
10308
- * @throws {RequiredError}
10309
- */
10310
- getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AccountDetailedSummaryDTO> {
10311
- return localVarFp.getGetAccountDetailedSummary(id, options).then((request) => request(axios, basePath));
10312
- },
10313
9418
  /**
10314
9419
  * Get Accounts
10315
9420
  * @summary Get Accounts
@@ -10391,15 +9496,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
10391
9496
  postGetAccounts(accountRequestModel?: AccountRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<PortalAccountModel> {
10392
9497
  return localVarFp.postGetAccounts(accountRequestModel, options).then((request) => request(axios, basePath));
10393
9498
  },
10394
- /**
10395
- * Get Admin Account
10396
- * @summary Get Admin Account
10397
- * @param {*} [options] Override http request option.
10398
- * @throws {RequiredError}
10399
- */
10400
- postGetAdminAccount(options?: RawAxiosRequestConfig): AxiosPromise<AdminUserModel> {
10401
- return localVarFp.postGetAdminAccount(options).then((request) => request(axios, basePath));
10402
- },
10403
9499
  /**
10404
9500
  * Create client credentials
10405
9501
  * @summary Create client credentials
@@ -10510,18 +9606,6 @@ export class AccountsApi extends BaseAPI {
10510
9606
  return AccountsApiFp(this.configuration).getGetAccountContacts(email, options).then((request) => request(this.axios, this.basePath));
10511
9607
  }
10512
9608
 
10513
- /**
10514
- * Get Account Detailed Summary
10515
- * @summary Get Account Detailed Summary
10516
- * @param {number} id Customer ID
10517
- * @param {*} [options] Override http request option.
10518
- * @throws {RequiredError}
10519
- * @memberof AccountsApi
10520
- */
10521
- public getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig) {
10522
- return AccountsApiFp(this.configuration).getGetAccountDetailedSummary(id, options).then((request) => request(this.axios, this.basePath));
10523
- }
10524
-
10525
9609
  /**
10526
9610
  * Get Accounts
10527
9611
  * @summary Get Accounts
@@ -10619,17 +9703,6 @@ export class AccountsApi extends BaseAPI {
10619
9703
  return AccountsApiFp(this.configuration).postGetAccounts(accountRequestModel, options).then((request) => request(this.axios, this.basePath));
10620
9704
  }
10621
9705
 
10622
- /**
10623
- * Get Admin Account
10624
- * @summary Get Admin Account
10625
- * @param {*} [options] Override http request option.
10626
- * @throws {RequiredError}
10627
- * @memberof AccountsApi
10628
- */
10629
- public postGetAdminAccount(options?: RawAxiosRequestConfig) {
10630
- return AccountsApiFp(this.configuration).postGetAdminAccount(options).then((request) => request(this.axios, this.basePath));
10631
- }
10632
-
10633
9706
  /**
10634
9707
  * Create client credentials
10635
9708
  * @summary Create client credentials
@@ -10730,6 +9803,43 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
10730
9803
 
10731
9804
 
10732
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
+
10733
9843
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10734
9844
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10735
9845
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -10796,6 +9906,19 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
10796
9906
  const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetLicenceDetails']?.[localVarOperationServerIndex]?.url;
10797
9907
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10798
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
+ },
10799
9922
  /**
10800
9923
  * Get Bulk 3CX Licence Details
10801
9924
  * @summary Get bulk 3CX Licence Details
@@ -10829,6 +9952,16 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
10829
9952
  getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel> {
10830
9953
  return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
10831
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
+ },
10832
9965
  /**
10833
9966
  * Get Bulk 3CX Licence Details
10834
9967
  * @summary Get bulk 3CX Licence Details
@@ -10861,6 +9994,18 @@ export class Class3CXApi extends BaseAPI {
10861
9994
  return Class3CXApiFp(this.configuration).getGetLicenceDetails(key, options).then((request) => request(this.axios, this.basePath));
10862
9995
  }
10863
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
+
10864
10009
  /**
10865
10010
  * Get Bulk 3CX Licence Details
10866
10011
  * @summary Get bulk 3CX Licence Details
@@ -16017,14 +15162,13 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
16017
15162
  return {
16018
15163
  /**
16019
15164
  * Delete Orders
16020
- * @summary Delete Orders
16021
15165
  * @param {number} id Order ID
16022
15166
  * @param {*} [options] Override http request option.
16023
15167
  * @throws {RequiredError}
16024
15168
  */
16025
- deleteUpdateOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15169
+ deleteDeleteOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16026
15170
  // verify required parameter 'id' is not null or undefined
16027
- assertParamExists('deleteUpdateOrder', 'id', id)
15171
+ assertParamExists('deleteDeleteOrder', 'id', id)
16028
15172
  const localVarPath = `/orders/{id}`
16029
15173
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16030
15174
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -16040,39 +15184,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
16040
15184
 
16041
15185
 
16042
15186
 
16043
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16044
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16045
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16046
-
16047
- return {
16048
- url: toPathString(localVarUrlObj),
16049
- options: localVarRequestOptions,
16050
- };
16051
- },
16052
- /**
16053
- * Get Editable Order
16054
- * @param {number} id Order ID
16055
- * @param {*} [options] Override http request option.
16056
- * @throws {RequiredError}
16057
- */
16058
- getGetEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16059
- // verify required parameter 'id' is not null or undefined
16060
- assertParamExists('getGetEditableOrder', 'id', id)
16061
- const localVarPath = `/orders/{id}/views/editable`
16062
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16063
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16064
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16065
- let baseOptions;
16066
- if (configuration) {
16067
- baseOptions = configuration.baseOptions;
16068
- }
16069
-
16070
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16071
- const localVarHeaderParameter = {} as any;
16072
- const localVarQueryParameter = {} as any;
16073
-
16074
-
16075
-
16076
15187
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16077
15188
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16078
15189
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -16142,170 +15253,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
16142
15253
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16143
15254
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16144
15255
 
16145
- return {
16146
- url: toPathString(localVarUrlObj),
16147
- options: localVarRequestOptions,
16148
- };
16149
- },
16150
- /**
16151
- * Create An Order (Admin)
16152
- * @summary Create An Order (Admin)
16153
- * @param {boolean} [readonly] Readonly Order
16154
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16155
- * @param {*} [options] Override http request option.
16156
- * @throws {RequiredError}
16157
- */
16158
- postCreateAdminOrder: async (readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16159
- const localVarPath = `/admin/orders`;
16160
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16161
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16162
- let baseOptions;
16163
- if (configuration) {
16164
- baseOptions = configuration.baseOptions;
16165
- }
16166
-
16167
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16168
- const localVarHeaderParameter = {} as any;
16169
- const localVarQueryParameter = {} as any;
16170
-
16171
- if (readonly !== undefined) {
16172
- localVarQueryParameter['readonly'] = readonly;
16173
- }
16174
-
16175
-
16176
-
16177
- localVarHeaderParameter['Content-Type'] = 'application/json';
16178
-
16179
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16180
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16181
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16182
- localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
16183
-
16184
- return {
16185
- url: toPathString(localVarUrlObj),
16186
- options: localVarRequestOptions,
16187
- };
16188
- },
16189
- /**
16190
- * Create An Order
16191
- * @summary Create An Order
16192
- * @param {boolean} [readonly] Readonly Order
16193
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16194
- * @param {*} [options] Override http request option.
16195
- * @throws {RequiredError}
16196
- */
16197
- postGetOrders: async (readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16198
- const localVarPath = `/orders`;
16199
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16200
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16201
- let baseOptions;
16202
- if (configuration) {
16203
- baseOptions = configuration.baseOptions;
16204
- }
16205
-
16206
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16207
- const localVarHeaderParameter = {} as any;
16208
- const localVarQueryParameter = {} as any;
16209
-
16210
- if (readonly !== undefined) {
16211
- localVarQueryParameter['readonly'] = readonly;
16212
- }
16213
-
16214
-
16215
-
16216
- localVarHeaderParameter['Content-Type'] = 'application/json';
16217
-
16218
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16219
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16220
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16221
- localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
16222
-
16223
- return {
16224
- url: toPathString(localVarUrlObj),
16225
- options: localVarRequestOptions,
16226
- };
16227
- },
16228
- /**
16229
- * Update An Order (Admin)
16230
- * @summary Update An Order (Admin)
16231
- * @param {number} id Order ID
16232
- * @param {boolean} [readonly] Readonly Order
16233
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16234
- * @param {*} [options] Override http request option.
16235
- * @throws {RequiredError}
16236
- */
16237
- putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16238
- // verify required parameter 'id' is not null or undefined
16239
- assertParamExists('putUpdateAdminOrder', 'id', id)
16240
- const localVarPath = `/admin/orders/{id}`
16241
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16242
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16243
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16244
- let baseOptions;
16245
- if (configuration) {
16246
- baseOptions = configuration.baseOptions;
16247
- }
16248
-
16249
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
16250
- const localVarHeaderParameter = {} as any;
16251
- const localVarQueryParameter = {} as any;
16252
-
16253
- if (readonly !== undefined) {
16254
- localVarQueryParameter['readonly'] = readonly;
16255
- }
16256
-
16257
-
16258
-
16259
- localVarHeaderParameter['Content-Type'] = 'application/json';
16260
-
16261
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16262
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16263
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16264
- localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
16265
-
16266
- return {
16267
- url: toPathString(localVarUrlObj),
16268
- options: localVarRequestOptions,
16269
- };
16270
- },
16271
- /**
16272
- * Update An Order
16273
- * @summary Update An Order
16274
- * @param {number} id Order ID
16275
- * @param {boolean} [readonly] Readonly Order
16276
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16277
- * @param {*} [options] Override http request option.
16278
- * @throws {RequiredError}
16279
- */
16280
- putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16281
- // verify required parameter 'id' is not null or undefined
16282
- assertParamExists('putUpdateOrder', 'id', id)
16283
- const localVarPath = `/orders/{id}`
16284
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16285
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16286
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16287
- let baseOptions;
16288
- if (configuration) {
16289
- baseOptions = configuration.baseOptions;
16290
- }
16291
-
16292
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
16293
- const localVarHeaderParameter = {} as any;
16294
- const localVarQueryParameter = {} as any;
16295
-
16296
- if (readonly !== undefined) {
16297
- localVarQueryParameter['readonly'] = readonly;
16298
- }
16299
-
16300
-
16301
-
16302
- localVarHeaderParameter['Content-Type'] = 'application/json';
16303
-
16304
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16305
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16306
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16307
- localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
16308
-
16309
15256
  return {
16310
15257
  url: toPathString(localVarUrlObj),
16311
15258
  options: localVarRequestOptions,
@@ -16323,27 +15270,14 @@ export const OrdersApiFp = function(configuration?: Configuration) {
16323
15270
  return {
16324
15271
  /**
16325
15272
  * Delete Orders
16326
- * @summary Delete Orders
16327
15273
  * @param {number} id Order ID
16328
15274
  * @param {*} [options] Override http request option.
16329
15275
  * @throws {RequiredError}
16330
15276
  */
16331
- async deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
16332
- 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);
16333
15279
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16334
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteUpdateOrder']?.[localVarOperationServerIndex]?.url;
16335
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16336
- },
16337
- /**
16338
- * Get Editable Order
16339
- * @param {number} id Order ID
16340
- * @param {*} [options] Override http request option.
16341
- * @throws {RequiredError}
16342
- */
16343
- async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderSummaryDTO>> {
16344
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
16345
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16346
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
15280
+ const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteDeleteOrder']?.[localVarOperationServerIndex]?.url;
16347
15281
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16348
15282
  },
16349
15283
  /**
@@ -16365,64 +15299,6 @@ export const OrdersApiFp = function(configuration?: Configuration) {
16365
15299
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
16366
15300
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16367
15301
  },
16368
- /**
16369
- * Create An Order (Admin)
16370
- * @summary Create An Order (Admin)
16371
- * @param {boolean} [readonly] Readonly Order
16372
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16373
- * @param {*} [options] Override http request option.
16374
- * @throws {RequiredError}
16375
- */
16376
- async postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16377
- const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options);
16378
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16379
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
16380
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16381
- },
16382
- /**
16383
- * Create An Order
16384
- * @summary Create An Order
16385
- * @param {boolean} [readonly] Readonly Order
16386
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16387
- * @param {*} [options] Override http request option.
16388
- * @throws {RequiredError}
16389
- */
16390
- async postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16391
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options);
16392
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16393
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
16394
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16395
- },
16396
- /**
16397
- * Update An Order (Admin)
16398
- * @summary Update An Order (Admin)
16399
- * @param {number} id Order ID
16400
- * @param {boolean} [readonly] Readonly Order
16401
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16402
- * @param {*} [options] Override http request option.
16403
- * @throws {RequiredError}
16404
- */
16405
- async putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16406
- const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options);
16407
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16408
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateAdminOrder']?.[localVarOperationServerIndex]?.url;
16409
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16410
- },
16411
- /**
16412
- * Update An Order
16413
- * @summary Update An Order
16414
- * @param {number} id Order ID
16415
- * @param {boolean} [readonly] Readonly Order
16416
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16417
- * @param {*} [options] Override http request option.
16418
- * @throws {RequiredError}
16419
- */
16420
- async putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16421
- const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateOrder(id, readonly, customerOrderRequestDTO, options);
16422
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16423
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateOrder']?.[localVarOperationServerIndex]?.url;
16424
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16425
- },
16426
15302
  }
16427
15303
  };
16428
15304
 
@@ -16435,22 +15311,12 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
16435
15311
  return {
16436
15312
  /**
16437
15313
  * Delete Orders
16438
- * @summary Delete Orders
16439
15314
  * @param {number} id Order ID
16440
15315
  * @param {*} [options] Override http request option.
16441
15316
  * @throws {RequiredError}
16442
15317
  */
16443
- deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
16444
- return localVarFp.deleteUpdateOrder(id, options).then((request) => request(axios, basePath));
16445
- },
16446
- /**
16447
- * Get Editable Order
16448
- * @param {number} id Order ID
16449
- * @param {*} [options] Override http request option.
16450
- * @throws {RequiredError}
16451
- */
16452
- getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummaryDTO> {
16453
- 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));
16454
15320
  },
16455
15321
  /**
16456
15322
  * Get Orders
@@ -16468,52 +15334,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
16468
15334
  getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel> {
16469
15335
  return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(axios, basePath));
16470
15336
  },
16471
- /**
16472
- * Create An Order (Admin)
16473
- * @summary Create An Order (Admin)
16474
- * @param {boolean} [readonly] Readonly Order
16475
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16476
- * @param {*} [options] Override http request option.
16477
- * @throws {RequiredError}
16478
- */
16479
- postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16480
- return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
16481
- },
16482
- /**
16483
- * Create An Order
16484
- * @summary Create An Order
16485
- * @param {boolean} [readonly] Readonly Order
16486
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16487
- * @param {*} [options] Override http request option.
16488
- * @throws {RequiredError}
16489
- */
16490
- postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16491
- return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
16492
- },
16493
- /**
16494
- * Update An Order (Admin)
16495
- * @summary Update An Order (Admin)
16496
- * @param {number} id Order ID
16497
- * @param {boolean} [readonly] Readonly Order
16498
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16499
- * @param {*} [options] Override http request option.
16500
- * @throws {RequiredError}
16501
- */
16502
- putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16503
- return localVarFp.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
16504
- },
16505
- /**
16506
- * Update An Order
16507
- * @summary Update An Order
16508
- * @param {number} id Order ID
16509
- * @param {boolean} [readonly] Readonly Order
16510
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16511
- * @param {*} [options] Override http request option.
16512
- * @throws {RequiredError}
16513
- */
16514
- putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16515
- return localVarFp.putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
16516
- },
16517
15337
  };
16518
15338
  };
16519
15339
 
@@ -16526,25 +15346,13 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
16526
15346
  export class OrdersApi extends BaseAPI {
16527
15347
  /**
16528
15348
  * Delete Orders
16529
- * @summary Delete Orders
16530
- * @param {number} id Order ID
16531
- * @param {*} [options] Override http request option.
16532
- * @throws {RequiredError}
16533
- * @memberof OrdersApi
16534
- */
16535
- public deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig) {
16536
- return OrdersApiFp(this.configuration).deleteUpdateOrder(id, options).then((request) => request(this.axios, this.basePath));
16537
- }
16538
-
16539
- /**
16540
- * Get Editable Order
16541
15349
  * @param {number} id Order ID
16542
15350
  * @param {*} [options] Override http request option.
16543
15351
  * @throws {RequiredError}
16544
15352
  * @memberof OrdersApi
16545
15353
  */
16546
- public getGetEditableOrder(id: number, options?: RawAxiosRequestConfig) {
16547
- 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));
16548
15356
  }
16549
15357
 
16550
15358
  /**
@@ -16564,60 +15372,6 @@ export class OrdersApi extends BaseAPI {
16564
15372
  public getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) {
16565
15373
  return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
16566
15374
  }
16567
-
16568
- /**
16569
- * Create An Order (Admin)
16570
- * @summary Create An Order (Admin)
16571
- * @param {boolean} [readonly] Readonly Order
16572
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16573
- * @param {*} [options] Override http request option.
16574
- * @throws {RequiredError}
16575
- * @memberof OrdersApi
16576
- */
16577
- public postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
16578
- return OrdersApiFp(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16579
- }
16580
-
16581
- /**
16582
- * Create An Order
16583
- * @summary Create An Order
16584
- * @param {boolean} [readonly] Readonly Order
16585
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16586
- * @param {*} [options] Override http request option.
16587
- * @throws {RequiredError}
16588
- * @memberof OrdersApi
16589
- */
16590
- public postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
16591
- return OrdersApiFp(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16592
- }
16593
-
16594
- /**
16595
- * Update An Order (Admin)
16596
- * @summary Update An Order (Admin)
16597
- * @param {number} id Order ID
16598
- * @param {boolean} [readonly] Readonly Order
16599
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16600
- * @param {*} [options] Override http request option.
16601
- * @throws {RequiredError}
16602
- * @memberof OrdersApi
16603
- */
16604
- public putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
16605
- return OrdersApiFp(this.configuration).putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16606
- }
16607
-
16608
- /**
16609
- * Update An Order
16610
- * @summary Update An Order
16611
- * @param {number} id Order ID
16612
- * @param {boolean} [readonly] Readonly Order
16613
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16614
- * @param {*} [options] Override http request option.
16615
- * @throws {RequiredError}
16616
- * @memberof OrdersApi
16617
- */
16618
- public putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
16619
- return OrdersApiFp(this.configuration).putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16620
- }
16621
15375
  }
16622
15376
 
16623
15377
  /**
@@ -16998,47 +15752,13 @@ export type PostSendPriceListCategoryEnum = typeof PostSendPriceListCategoryEnum
16998
15752
  export const ProductsApiAxiosParamCreator = function (configuration?: Configuration) {
16999
15753
  return {
17000
15754
  /**
17001
- * Get Attribute Sets
17002
- * @summary Get Attribute Sets
17003
- * @param {*} [options] Override http request option.
17004
- * @throws {RequiredError}
17005
- */
17006
- getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17007
- const localVarPath = `/products/attributes`;
17008
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17009
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17010
- let baseOptions;
17011
- if (configuration) {
17012
- baseOptions = configuration.baseOptions;
17013
- }
17014
-
17015
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17016
- const localVarHeaderParameter = {} as any;
17017
- const localVarQueryParameter = {} as any;
17018
-
17019
-
17020
-
17021
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17022
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17023
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17024
-
17025
- return {
17026
- url: toPathString(localVarUrlObj),
17027
- options: localVarRequestOptions,
17028
- };
17029
- },
17030
- /**
17031
- * Get Current Stock & Pricing
17032
- * @summary Get Current Stock & Pricing
17033
- * @param {GetGetLegacyStockListFormatEnum} format File Format
15755
+ * Get Attribute Sets
15756
+ * @summary Get Attribute Sets
17034
15757
  * @param {*} [options] Override http request option.
17035
- * @deprecated
17036
15758
  * @throws {RequiredError}
17037
15759
  */
17038
- getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17039
- // verify required parameter 'format' is not null or undefined
17040
- assertParamExists('getGetLegacyStockList', 'format', format)
17041
- const localVarPath = `/products/stock/legacy`;
15760
+ getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15761
+ const localVarPath = `/products/attributes`;
17042
15762
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17043
15763
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17044
15764
  let baseOptions;
@@ -17050,10 +15770,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17050
15770
  const localVarHeaderParameter = {} as any;
17051
15771
  const localVarQueryParameter = {} as any;
17052
15772
 
17053
- if (format !== undefined) {
17054
- localVarQueryParameter['format'] = format;
17055
- }
17056
-
17057
15773
 
17058
15774
 
17059
15775
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -17066,13 +15782,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17066
15782
  };
17067
15783
  },
17068
15784
  /**
17069
- * Get Products
17070
- * @summary Get Products
15785
+ * Get Customer Price Lists
15786
+ * @summary Get Customer Price Lists
17071
15787
  * @param {*} [options] Override http request option.
17072
15788
  * @throws {RequiredError}
17073
15789
  */
17074
- getGetProducts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17075
- const localVarPath = `/products`;
15790
+ getGetCustomerPriceLists: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15791
+ const localVarPath = `/products/prices/lists`;
17076
15792
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17077
15793
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17078
15794
  let baseOptions;
@@ -17098,11 +15814,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17098
15814
  /**
17099
15815
  * Get Current Stock & Pricing
17100
15816
  * @summary Get Current Stock & Pricing
15817
+ * @param {GetGetLegacyStockListFormatEnum} format File Format
17101
15818
  * @param {*} [options] Override http request option.
15819
+ * @deprecated
17102
15820
  * @throws {RequiredError}
17103
15821
  */
17104
- getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17105
- 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`;
17106
15826
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17107
15827
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17108
15828
  let baseOptions;
@@ -17114,36 +15834,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17114
15834
  const localVarHeaderParameter = {} as any;
17115
15835
  const localVarQueryParameter = {} as any;
17116
15836
 
17117
-
17118
-
17119
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17120
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17121
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17122
-
17123
- return {
17124
- url: toPathString(localVarUrlObj),
17125
- options: localVarRequestOptions,
17126
- };
17127
- },
17128
- /**
17129
- * Get 3CX Templates
17130
- * @summary Get 3CX Templates
17131
- * @param {*} [options] Override http request option.
17132
- * @throws {RequiredError}
17133
- */
17134
- getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17135
- const localVarPath = `/products/attributes/tcx/templates`;
17136
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17137
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17138
- let baseOptions;
17139
- if (configuration) {
17140
- baseOptions = configuration.baseOptions;
15837
+ if (format !== undefined) {
15838
+ localVarQueryParameter['format'] = format;
17141
15839
  }
17142
15840
 
17143
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17144
- const localVarHeaderParameter = {} as any;
17145
- const localVarQueryParameter = {} as any;
17146
-
17147
15841
 
17148
15842
 
17149
15843
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -17156,15 +15850,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17156
15850
  };
17157
15851
  },
17158
15852
  /**
17159
- * Search Products
17160
- * @summary Search Products
15853
+ * Get Products
15854
+ * @summary Get Products
17161
15855
  * @param {number} [pageSize] Number Of Results
17162
15856
  * @param {number} [page] Page Number
17163
15857
  * @param {string} [search] Search
17164
15858
  * @param {*} [options] Override http request option.
17165
15859
  * @throws {RequiredError}
17166
15860
  */
17167
- 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> => {
17168
15862
  const localVarPath = `/products/search`;
17169
15863
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17170
15864
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -17201,20 +15895,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17201
15895
  };
17202
15896
  },
17203
15897
  /**
17204
- * Get Product
17205
- * @summary Get Product
17206
- * @param {string} sku Product SKU
17207
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15898
+ * Get Current Stock & Pricing
15899
+ * @summary Get Current Stock & Pricing
17208
15900
  * @param {*} [options] Override http request option.
17209
15901
  * @throws {RequiredError}
17210
15902
  */
17211
- postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17212
- // verify required parameter 'sku' is not null or undefined
17213
- assertParamExists('postGetProduct', 'sku', sku)
17214
- // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
17215
- assertParamExists('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
17216
- const localVarPath = `/products/{sku}`
17217
- .replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
15903
+ getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15904
+ const localVarPath = `/products/stock`;
17218
15905
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17219
15906
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17220
15907
  let baseOptions;
@@ -17222,18 +15909,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17222
15909
  baseOptions = configuration.baseOptions;
17223
15910
  }
17224
15911
 
17225
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15912
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17226
15913
  const localVarHeaderParameter = {} as any;
17227
15914
  const localVarQueryParameter = {} as any;
17228
15915
 
17229
15916
 
17230
15917
 
17231
- localVarHeaderParameter['Content-Type'] = 'application/json';
17232
-
17233
15918
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17234
15919
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17235
15920
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17236
- localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
17237
15921
 
17238
15922
  return {
17239
15923
  url: toPathString(localVarUrlObj),
@@ -17241,23 +15925,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17241
15925
  };
17242
15926
  },
17243
15927
  /**
17244
- * Get Product For Customer
17245
- * @summary Get Product For Customer
17246
- * @param {number} customerId Customer ID
17247
- * @param {string} sku Product SKU
17248
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15928
+ * Get 3CX Templates
15929
+ * @summary Get 3CX Templates
17249
15930
  * @param {*} [options] Override http request option.
17250
15931
  * @throws {RequiredError}
17251
15932
  */
17252
- postGetProductForCustomer: async (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17253
- // verify required parameter 'customerId' is not null or undefined
17254
- assertParamExists('postGetProductForCustomer', 'customerId', customerId)
17255
- // verify required parameter 'sku' is not null or undefined
17256
- assertParamExists('postGetProductForCustomer', 'sku', sku)
17257
- // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
17258
- assertParamExists('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
17259
- const localVarPath = `/admin/products/{sku}`
17260
- .replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
15933
+ getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15934
+ const localVarPath = `/products/attributes/tcx/templates`;
17261
15935
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17262
15936
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17263
15937
  let baseOptions;
@@ -17265,22 +15939,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17265
15939
  baseOptions = configuration.baseOptions;
17266
15940
  }
17267
15941
 
17268
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15942
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17269
15943
  const localVarHeaderParameter = {} as any;
17270
15944
  const localVarQueryParameter = {} as any;
17271
15945
 
17272
- if (customerId !== undefined) {
17273
- localVarQueryParameter['customerId'] = customerId;
17274
- }
17275
-
17276
15946
 
17277
15947
 
17278
- localVarHeaderParameter['Content-Type'] = 'application/json';
17279
-
17280
15948
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17281
15949
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17282
15950
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17283
- localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
17284
15951
 
17285
15952
  return {
17286
15953
  url: toPathString(localVarUrlObj),
@@ -17309,6 +15976,18 @@ export const ProductsApiFp = function(configuration?: Configuration) {
17309
15976
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetAttributeSets']?.[localVarOperationServerIndex]?.url;
17310
15977
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17311
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
+ },
17312
15991
  /**
17313
15992
  * Get Current Stock & Pricing
17314
15993
  * @summary Get Current Stock & Pricing
@@ -17326,11 +16005,14 @@ export const ProductsApiFp = function(configuration?: Configuration) {
17326
16005
  /**
17327
16006
  * Get Products
17328
16007
  * @summary Get Products
16008
+ * @param {number} [pageSize] Number Of Results
16009
+ * @param {number} [page] Page Number
16010
+ * @param {string} [search] Search
17329
16011
  * @param {*} [options] Override http request option.
17330
16012
  * @throws {RequiredError}
17331
16013
  */
17332
- async getGetProducts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BasicProductDTO>>> {
17333
- 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);
17334
16016
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17335
16017
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetProducts']?.[localVarOperationServerIndex]?.url;
17336
16018
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -17359,50 +16041,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
17359
16041
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetTcxTemplates']?.[localVarOperationServerIndex]?.url;
17360
16042
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17361
16043
  },
17362
- /**
17363
- * Search Products
17364
- * @summary Search Products
17365
- * @param {number} [pageSize] Number Of Results
17366
- * @param {number} [page] Page Number
17367
- * @param {string} [search] Search
17368
- * @param {*} [options] Override http request option.
17369
- * @throws {RequiredError}
17370
- */
17371
- async getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
17372
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSearchProducts(pageSize, page, search, options);
17373
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17374
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.getSearchProducts']?.[localVarOperationServerIndex]?.url;
17375
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17376
- },
17377
- /**
17378
- * Get Product
17379
- * @summary Get Product
17380
- * @param {string} sku Product SKU
17381
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17382
- * @param {*} [options] Override http request option.
17383
- * @throws {RequiredError}
17384
- */
17385
- async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
17386
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options);
17387
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17388
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProduct']?.[localVarOperationServerIndex]?.url;
17389
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17390
- },
17391
- /**
17392
- * Get Product For Customer
17393
- * @summary Get Product For Customer
17394
- * @param {number} customerId Customer ID
17395
- * @param {string} sku Product SKU
17396
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17397
- * @param {*} [options] Override http request option.
17398
- * @throws {RequiredError}
17399
- */
17400
- async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
17401
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options);
17402
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17403
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProductForCustomer']?.[localVarOperationServerIndex]?.url;
17404
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17405
- },
17406
16044
  }
17407
16045
  };
17408
16046
 
@@ -17422,6 +16060,15 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
17422
16060
  getGetAttributeSets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeSetEnum>> {
17423
16061
  return localVarFp.getGetAttributeSets(options).then((request) => request(axios, basePath));
17424
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
+ },
17425
16072
  /**
17426
16073
  * Get Current Stock & Pricing
17427
16074
  * @summary Get Current Stock & Pricing
@@ -17436,11 +16083,14 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
17436
16083
  /**
17437
16084
  * Get Products
17438
16085
  * @summary Get Products
16086
+ * @param {number} [pageSize] Number Of Results
16087
+ * @param {number} [page] Page Number
16088
+ * @param {string} [search] Search
17439
16089
  * @param {*} [options] Override http request option.
17440
16090
  * @throws {RequiredError}
17441
16091
  */
17442
- getGetProducts(options?: RawAxiosRequestConfig): AxiosPromise<Array<BasicProductDTO>> {
17443
- 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));
17444
16094
  },
17445
16095
  /**
17446
16096
  * Get Current Stock & Pricing
@@ -17460,41 +16110,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
17460
16110
  getGetTcxTemplates(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxTemplateXmlEnum>> {
17461
16111
  return localVarFp.getGetTcxTemplates(options).then((request) => request(axios, basePath));
17462
16112
  },
17463
- /**
17464
- * Search Products
17465
- * @summary Search Products
17466
- * @param {number} [pageSize] Number Of Results
17467
- * @param {number} [page] Page Number
17468
- * @param {string} [search] Search
17469
- * @param {*} [options] Override http request option.
17470
- * @throws {RequiredError}
17471
- */
17472
- getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
17473
- return localVarFp.getSearchProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
17474
- },
17475
- /**
17476
- * Get Product
17477
- * @summary Get Product
17478
- * @param {string} sku Product SKU
17479
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17480
- * @param {*} [options] Override http request option.
17481
- * @throws {RequiredError}
17482
- */
17483
- postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
17484
- return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
17485
- },
17486
- /**
17487
- * Get Product For Customer
17488
- * @summary Get Product For Customer
17489
- * @param {number} customerId Customer ID
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
- postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
17496
- return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
17497
- },
17498
16113
  };
17499
16114
  };
17500
16115
 
@@ -17516,6 +16131,17 @@ export class ProductsApi extends BaseAPI {
17516
16131
  return ProductsApiFp(this.configuration).getGetAttributeSets(options).then((request) => request(this.axios, this.basePath));
17517
16132
  }
17518
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
+
17519
16145
  /**
17520
16146
  * Get Current Stock & Pricing
17521
16147
  * @summary Get Current Stock & Pricing
@@ -17532,12 +16158,15 @@ export class ProductsApi extends BaseAPI {
17532
16158
  /**
17533
16159
  * Get Products
17534
16160
  * @summary Get Products
16161
+ * @param {number} [pageSize] Number Of Results
16162
+ * @param {number} [page] Page Number
16163
+ * @param {string} [search] Search
17535
16164
  * @param {*} [options] Override http request option.
17536
16165
  * @throws {RequiredError}
17537
16166
  * @memberof ProductsApi
17538
16167
  */
17539
- public getGetProducts(options?: RawAxiosRequestConfig) {
17540
- 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));
17541
16170
  }
17542
16171
 
17543
16172
  /**
@@ -17561,47 +16190,6 @@ export class ProductsApi extends BaseAPI {
17561
16190
  public getGetTcxTemplates(options?: RawAxiosRequestConfig) {
17562
16191
  return ProductsApiFp(this.configuration).getGetTcxTemplates(options).then((request) => request(this.axios, this.basePath));
17563
16192
  }
17564
-
17565
- /**
17566
- * Search Products
17567
- * @summary Search Products
17568
- * @param {number} [pageSize] Number Of Results
17569
- * @param {number} [page] Page Number
17570
- * @param {string} [search] Search
17571
- * @param {*} [options] Override http request option.
17572
- * @throws {RequiredError}
17573
- * @memberof ProductsApi
17574
- */
17575
- public getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
17576
- return ProductsApiFp(this.configuration).getSearchProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
17577
- }
17578
-
17579
- /**
17580
- * Get Product
17581
- * @summary Get Product
17582
- * @param {string} sku Product SKU
17583
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17584
- * @param {*} [options] Override http request option.
17585
- * @throws {RequiredError}
17586
- * @memberof ProductsApi
17587
- */
17588
- public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
17589
- return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
17590
- }
17591
-
17592
- /**
17593
- * Get Product For Customer
17594
- * @summary Get Product For Customer
17595
- * @param {number} customerId Customer ID
17596
- * @param {string} sku Product SKU
17597
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17598
- * @param {*} [options] Override http request option.
17599
- * @throws {RequiredError}
17600
- * @memberof ProductsApi
17601
- */
17602
- public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
17603
- return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
17604
- }
17605
16193
  }
17606
16194
 
17607
16195
  /**
@@ -17942,7 +16530,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
17942
16530
  * @param {*} [options] Override http request option.
17943
16531
  * @throws {RequiredError}
17944
16532
  */
17945
- 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>>> {
17946
16534
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetGroups(id, options);
17947
16535
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17948
16536
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getGetGroups']?.[localVarOperationServerIndex]?.url;
@@ -17955,7 +16543,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
17955
16543
  * @param {*} [options] Override http request option.
17956
16544
  * @throws {RequiredError}
17957
16545
  */
17958
- 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>> {
17959
16547
  const localVarAxiosArgs = await localVarAxiosParamCreator.postAddFanvilGroup(provisioningRequestEntity, options);
17960
16548
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17961
16549
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilGroup']?.[localVarOperationServerIndex]?.url;
@@ -18034,7 +16622,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
18034
16622
  * @param {*} [options] Override http request option.
18035
16623
  * @throws {RequiredError}
18036
16624
  */
18037
- getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningModel>> {
16625
+ getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningEntity>> {
18038
16626
  return localVarFp.getGetGroups(id, options).then((request) => request(axios, basePath));
18039
16627
  },
18040
16628
  /**
@@ -18044,7 +16632,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
18044
16632
  * @param {*} [options] Override http request option.
18045
16633
  * @throws {RequiredError}
18046
16634
  */
18047
- postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningModel> {
16635
+ postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningEntity> {
18048
16636
  return localVarFp.postAddFanvilGroup(provisioningRequestEntity, options).then((request) => request(axios, basePath));
18049
16637
  },
18050
16638
  /**
@@ -19945,114 +18533,6 @@ export class SMSApi extends BaseAPI {
19945
18533
 
19946
18534
 
19947
18535
 
19948
- /**
19949
- * ShippingApi - axios parameter creator
19950
- * @export
19951
- */
19952
- export const ShippingApiAxiosParamCreator = function (configuration?: Configuration) {
19953
- return {
19954
- /**
19955
- * Get Shipping Services
19956
- * @summary Get Shipping Services
19957
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
19958
- * @param {*} [options] Override http request option.
19959
- * @throws {RequiredError}
19960
- */
19961
- postGetShippingServices: async (shippingInformationDTO?: ShippingInformationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19962
- const localVarPath = `/shipping/services`;
19963
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
19964
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19965
- let baseOptions;
19966
- if (configuration) {
19967
- baseOptions = configuration.baseOptions;
19968
- }
19969
-
19970
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
19971
- const localVarHeaderParameter = {} as any;
19972
- const localVarQueryParameter = {} as any;
19973
-
19974
-
19975
-
19976
- localVarHeaderParameter['Content-Type'] = 'application/json';
19977
-
19978
- setSearchParams(localVarUrlObj, localVarQueryParameter);
19979
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19980
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19981
- localVarRequestOptions.data = serializeDataIfNeeded(shippingInformationDTO, localVarRequestOptions, configuration)
19982
-
19983
- return {
19984
- url: toPathString(localVarUrlObj),
19985
- options: localVarRequestOptions,
19986
- };
19987
- },
19988
- }
19989
- };
19990
-
19991
- /**
19992
- * ShippingApi - functional programming interface
19993
- * @export
19994
- */
19995
- export const ShippingApiFp = function(configuration?: Configuration) {
19996
- const localVarAxiosParamCreator = ShippingApiAxiosParamCreator(configuration)
19997
- return {
19998
- /**
19999
- * Get Shipping Services
20000
- * @summary Get Shipping Services
20001
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20002
- * @param {*} [options] Override http request option.
20003
- * @throws {RequiredError}
20004
- */
20005
- async postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingServicesModel>> {
20006
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetShippingServices(shippingInformationDTO, options);
20007
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20008
- const localVarOperationServerBasePath = operationServerMap['ShippingApi.postGetShippingServices']?.[localVarOperationServerIndex]?.url;
20009
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20010
- },
20011
- }
20012
- };
20013
-
20014
- /**
20015
- * ShippingApi - factory interface
20016
- * @export
20017
- */
20018
- export const ShippingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
20019
- const localVarFp = ShippingApiFp(configuration)
20020
- return {
20021
- /**
20022
- * Get Shipping Services
20023
- * @summary Get Shipping Services
20024
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20025
- * @param {*} [options] Override http request option.
20026
- * @throws {RequiredError}
20027
- */
20028
- postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShippingServicesModel> {
20029
- return localVarFp.postGetShippingServices(shippingInformationDTO, options).then((request) => request(axios, basePath));
20030
- },
20031
- };
20032
- };
20033
-
20034
- /**
20035
- * ShippingApi - object-oriented interface
20036
- * @export
20037
- * @class ShippingApi
20038
- * @extends {BaseAPI}
20039
- */
20040
- export class ShippingApi extends BaseAPI {
20041
- /**
20042
- * Get Shipping Services
20043
- * @summary Get Shipping Services
20044
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20045
- * @param {*} [options] Override http request option.
20046
- * @throws {RequiredError}
20047
- * @memberof ShippingApi
20048
- */
20049
- public postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig) {
20050
- return ShippingApiFp(this.configuration).postGetShippingServices(shippingInformationDTO, options).then((request) => request(this.axios, this.basePath));
20051
- }
20052
- }
20053
-
20054
-
20055
-
20056
18536
  /**
20057
18537
  * StockManagementApi - axios parameter creator
20058
18538
  * @export
@@ -21139,7 +19619,7 @@ export const StockManagementApiFp = function(configuration?: Configuration) {
21139
19619
  * @param {*} [options] Override http request option.
21140
19620
  * @throws {RequiredError}
21141
19621
  */
21142
- 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>>> {
21143
19623
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockSupplierProducts(id, options);
21144
19624
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21145
19625
  const localVarOperationServerBasePath = operationServerMap['StockManagementApi.getGetStockSupplierProducts']?.[localVarOperationServerIndex]?.url;
@@ -21442,7 +19922,7 @@ export const StockManagementApiFactory = function (configuration?: Configuration
21442
19922
  * @param {*} [options] Override http request option.
21443
19923
  * @throws {RequiredError}
21444
19924
  */
21445
- getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryDTO>> {
19925
+ getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryModel>> {
21446
19926
  return localVarFp.getGetStockSupplierProducts(id, options).then((request) => request(axios, basePath));
21447
19927
  },
21448
19928
  /**