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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/.openapi-generator/FILES +197 -214
  2. package/README.md +7 -33
  3. package/api.ts +252 -1806
  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 -1326
  9. package/dist/api.js +208 -1064
  10. package/dist/base.d.ts +1 -1
  11. package/dist/base.js +1 -1
  12. package/dist/common.d.ts +1 -1
  13. package/dist/common.js +1 -1
  14. package/dist/configuration.d.ts +1 -1
  15. package/dist/configuration.js +1 -1
  16. package/dist/index.d.ts +1 -1
  17. package/dist/index.js +1 -1
  18. package/docs/AccountsApi.md +0 -103
  19. package/docs/AddressModel.md +0 -2
  20. package/docs/Class3CXApi.md +55 -0
  21. package/docs/ClientDetailsModel.md +2 -0
  22. package/docs/{ShippingServicesModel.md → GetGetPasswordHash200Response.md} +5 -5
  23. package/docs/ItemDTO.md +4 -12
  24. package/docs/ItemEntity.md +0 -2
  25. package/docs/OrderSummaryDTO.md +0 -8
  26. package/docs/OrderTotalModel.md +0 -2
  27. package/docs/OrdersApi.md +4 -301
  28. package/docs/ProductSearchResultsModel.md +1 -1
  29. package/docs/{ProductSummaryDTO.md → ProductSummaryModel.md} +3 -5
  30. package/docs/ProductsApi.md +43 -164
  31. package/docs/ProvisioningApi.md +4 -4
  32. package/docs/{ProvisioningModel.md → ProvisioningEntity.md} +3 -3
  33. package/docs/ShipmentEntity.md +2 -2
  34. package/docs/StockManagementApi.md +2 -2
  35. package/docs/TcxSbcModel.md +1 -1
  36. package/index.ts +1 -1
  37. package/package.json +1 -1
  38. package/docs/AbstractOrderRequestDTO.md +0 -33
  39. package/docs/AccountDetailedSummaryDTO.md +0 -39
  40. package/docs/AdminItemRequestDTO.md +0 -41
  41. package/docs/AdminOrderRequestDTO.md +0 -45
  42. package/docs/AdminUserModel.md +0 -29
  43. package/docs/BasicItemDTO.md +0 -23
  44. package/docs/BasicProductDTO.md +0 -23
  45. package/docs/CourierPriceEntity.md +0 -39
  46. package/docs/CustomerItemRequestDTO.md +0 -37
  47. package/docs/CustomerOrderRequestDTO.md +0 -33
  48. package/docs/LinkedOrderEntity.md +0 -23
  49. package/docs/PostGetProductForCustomerRequest.md +0 -24
  50. package/docs/ShippingApi.md +0 -63
  51. package/docs/ShippingConsignmentModel.md +0 -26
  52. package/docs/ShippingInformationDTO.md +0 -25
  53. package/docs/ShippingServiceDTO.md +0 -23
  54. package/docs/ShippingServiceModel.md +0 -31
  55. package/docs/TcxSbcDTO.md +0 -31
package/api.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Yellowgrid
5
- * Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `http://api.yellowgrid.local` For questions or technical support, please contact support@yellowgrid.co.uk.
5
+ * Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `http://api.yellowgrid.local` For questions or technical support, please contact support@yellowgrid.co.uk.
6
6
  *
7
7
  * The version of the OpenAPI document: 0
8
8
  *
@@ -23,55 +23,6 @@ import type { RequestArgs } from './base';
23
23
  // @ts-ignore
24
24
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
25
25
 
26
- /**
27
- * Order Request
28
- * @export
29
- * @interface AbstractOrderRequestDTO
30
- */
31
- export interface AbstractOrderRequestDTO {
32
- /**
33
- * Order Reference
34
- * @type {string}
35
- * @memberof AbstractOrderRequestDTO
36
- */
37
- 'orderReference'?: string | null;
38
- /**
39
- * Items
40
- * @type {Array<CustomerItemRequestDTO>}
41
- * @memberof AbstractOrderRequestDTO
42
- */
43
- 'items'?: Array<CustomerItemRequestDTO>;
44
- /**
45
- *
46
- * @type {ShippingServiceDTO}
47
- * @memberof AbstractOrderRequestDTO
48
- */
49
- 'shippingService'?: ShippingServiceDTO;
50
- /**
51
- * Provisioning URL
52
- * @type {string}
53
- * @memberof AbstractOrderRequestDTO
54
- */
55
- 'provisioningUrl'?: string | null;
56
- /**
57
- *
58
- * @type {AddressModel}
59
- * @memberof AbstractOrderRequestDTO
60
- */
61
- 'shippingAddress'?: AddressModel | null;
62
- /**
63
- * Part Ship Order
64
- * @type {boolean}
65
- * @memberof AbstractOrderRequestDTO
66
- */
67
- 'partShip'?: boolean;
68
- /**
69
- * Quote
70
- * @type {boolean}
71
- * @memberof AbstractOrderRequestDTO
72
- */
73
- 'quote'?: boolean;
74
- }
75
26
  /**
76
27
  * AccountContactsEntity
77
28
  * @export
@@ -303,73 +254,6 @@ export interface AccountContactRequestModel {
303
254
  */
304
255
  'despatchEmails'?: boolean;
305
256
  }
306
- /**
307
- * Account Details
308
- * @export
309
- * @interface AccountDetailedSummaryDTO
310
- */
311
- export interface AccountDetailedSummaryDTO {
312
- /**
313
- * ID
314
- * @type {number}
315
- * @memberof AccountDetailedSummaryDTO
316
- */
317
- 'id'?: number;
318
- /**
319
- * Xero ID
320
- * @type {string}
321
- * @memberof AccountDetailedSummaryDTO
322
- */
323
- 'xeroId'?: string;
324
- /**
325
- * Company
326
- * @type {string}
327
- * @memberof AccountDetailedSummaryDTO
328
- */
329
- 'company'?: string;
330
- /**
331
- * Credit Limit
332
- * @type {number}
333
- * @memberof AccountDetailedSummaryDTO
334
- */
335
- 'creditLimit'?: number;
336
- /**
337
- * Contacts
338
- * @type {Array<AccountContactModel>}
339
- * @memberof AccountDetailedSummaryDTO
340
- */
341
- 'contacts'?: Array<AccountContactModel>;
342
- /**
343
- *
344
- * @type {AddressModel}
345
- * @memberof AccountDetailedSummaryDTO
346
- */
347
- 'billingAddress'?: AddressModel;
348
- /**
349
- * Addresses
350
- * @type {Array<AddressModel>}
351
- * @memberof AccountDetailedSummaryDTO
352
- */
353
- 'addresses'?: Array<AddressModel>;
354
- /**
355
- * Provisioning URLs
356
- * @type {Array<ProvisioningModel>}
357
- * @memberof AccountDetailedSummaryDTO
358
- */
359
- 'provisioningUrls'?: Array<ProvisioningModel>;
360
- /**
361
- * On Hold
362
- * @type {boolean}
363
- * @memberof AccountDetailedSummaryDTO
364
- */
365
- 'onHold'?: boolean;
366
- /**
367
- * Balance (£)
368
- * @type {number}
369
- * @memberof AccountDetailedSummaryDTO
370
- */
371
- 'balance'?: number | null;
372
- }
373
257
  /**
374
258
  * New Account Request
375
259
  * @export
@@ -619,12 +503,6 @@ export interface AddressModel {
619
503
  * @memberof AddressModel
620
504
  */
621
505
  'company'?: string;
622
- /**
623
- * Default
624
- * @type {boolean}
625
- * @memberof AddressModel
626
- */
627
- 'default'?: boolean;
628
506
  }
629
507
  /**
630
508
  * Address Request
@@ -657,212 +535,6 @@ export interface AddressRequestModel {
657
535
  */
658
536
  'addressPostcode'?: string;
659
537
  }
660
- /**
661
- * Admin Order Item Request
662
- * @export
663
- * @interface AdminItemRequestDTO
664
- */
665
- export interface AdminItemRequestDTO {
666
- /**
667
- * SKU
668
- * @type {string}
669
- * @memberof AdminItemRequestDTO
670
- */
671
- 'sku'?: string;
672
- /**
673
- * Quantity
674
- * @type {number}
675
- * @memberof AdminItemRequestDTO
676
- */
677
- 'quantity'?: number;
678
- /**
679
- * ID
680
- * @type {number}
681
- * @memberof AdminItemRequestDTO
682
- */
683
- 'id'?: number | null;
684
- /**
685
- * 3CX Licence Key
686
- * @type {string}
687
- * @memberof AdminItemRequestDTO
688
- */
689
- 'licenceKey'?: string | null;
690
- /**
691
- * 3CX Hosting
692
- * @type {boolean}
693
- * @memberof AdminItemRequestDTO
694
- */
695
- 'hosting'?: boolean | null;
696
- /**
697
- * Date Time
698
- * @type {string}
699
- * @memberof AdminItemRequestDTO
700
- */
701
- 'processDate'?: string;
702
- /**
703
- * 3CX Sales Code
704
- * @type {string}
705
- * @memberof AdminItemRequestDTO
706
- */
707
- 'tcxSalesCode'?: string | null;
708
- /**
709
- * SBCS
710
- * @type {Array<TcxSbcDTO>}
711
- * @memberof AdminItemRequestDTO
712
- */
713
- 'sbcs'?: Array<TcxSbcDTO>;
714
- /**
715
- * Read Only (Cannot be edited)
716
- * @type {boolean}
717
- * @memberof AdminItemRequestDTO
718
- */
719
- 'readOnly'?: boolean;
720
- /**
721
- * Title
722
- * @type {string}
723
- * @memberof AdminItemRequestDTO
724
- */
725
- 'title'?: string | null;
726
- /**
727
- * Price (£)
728
- * @type {number}
729
- * @memberof AdminItemRequestDTO
730
- */
731
- 'itemPrice'?: number | null;
732
- }
733
- /**
734
- * Admin Order Request
735
- * @export
736
- * @interface AdminOrderRequestDTO
737
- */
738
- export interface AdminOrderRequestDTO {
739
- /**
740
- * Order Reference
741
- * @type {string}
742
- * @memberof AdminOrderRequestDTO
743
- */
744
- 'orderReference'?: string | null;
745
- /**
746
- * Items
747
- * @type {Array<AdminItemRequestDTO>}
748
- * @memberof AdminOrderRequestDTO
749
- */
750
- 'items'?: Array<AdminItemRequestDTO>;
751
- /**
752
- *
753
- * @type {ShippingServiceDTO}
754
- * @memberof AdminOrderRequestDTO
755
- */
756
- 'shippingService'?: ShippingServiceDTO;
757
- /**
758
- * Provisioning URL
759
- * @type {string}
760
- * @memberof AdminOrderRequestDTO
761
- */
762
- 'provisioningUrl'?: string | null;
763
- /**
764
- *
765
- * @type {AddressModel}
766
- * @memberof AdminOrderRequestDTO
767
- */
768
- 'shippingAddress'?: AddressModel;
769
- /**
770
- * Part Ship Order
771
- * @type {boolean}
772
- * @memberof AdminOrderRequestDTO
773
- */
774
- 'partShip'?: boolean;
775
- /**
776
- * Quote
777
- * @type {boolean}
778
- * @memberof AdminOrderRequestDTO
779
- */
780
- 'quote'?: boolean;
781
- /**
782
- * Customer ID
783
- * @type {number}
784
- * @memberof AdminOrderRequestDTO
785
- */
786
- 'customerId'?: number;
787
- /**
788
- * Contact
789
- * @type {string}
790
- * @memberof AdminOrderRequestDTO
791
- */
792
- 'contact'?: string;
793
- /**
794
- * Ignore Customer On Hold
795
- * @type {boolean}
796
- * @memberof AdminOrderRequestDTO
797
- */
798
- 'ignoreOnHold'?: boolean;
799
- /**
800
- * Ignore Customer Credit Limit
801
- * @type {boolean}
802
- * @memberof AdminOrderRequestDTO
803
- */
804
- 'ignoreCreditLimit'?: boolean;
805
- /**
806
- * Include NFR Promos
807
- * @type {boolean}
808
- * @memberof AdminOrderRequestDTO
809
- */
810
- 'includeNfrPromos'?: boolean;
811
- /**
812
- * Carriage Charge
813
- * @type {number}
814
- * @memberof AdminOrderRequestDTO
815
- */
816
- 'carriageCharge'?: number;
817
- }
818
- /**
819
- * Admin User
820
- * @export
821
- * @interface AdminUserModel
822
- */
823
- export interface AdminUserModel {
824
- /**
825
- * First Name
826
- * @type {string}
827
- * @memberof AdminUserModel
828
- */
829
- 'firstName'?: string;
830
- /**
831
- * Last Name
832
- * @type {string}
833
- * @memberof AdminUserModel
834
- */
835
- 'lastName'?: string;
836
- /**
837
- * Avatar
838
- * @type {string}
839
- * @memberof AdminUserModel
840
- */
841
- 'avatar'?: string | null;
842
- /**
843
- * Role
844
- * @type {number}
845
- * @memberof AdminUserModel
846
- */
847
- 'role'?: AdminUserModelRoleEnum;
848
- /**
849
- * Email
850
- * @type {string}
851
- * @memberof AdminUserModel
852
- */
853
- 'email'?: string | null;
854
- }
855
-
856
- export const AdminUserModelRoleEnum = {
857
- NUMBER_0: 0,
858
- NUMBER_1: 1,
859
- NUMBER_2: 2,
860
- NUMBER_3: 3,
861
- NUMBER_4: 4
862
- } as const;
863
-
864
- export type AdminUserModelRoleEnum = typeof AdminUserModelRoleEnum[keyof typeof AdminUserModelRoleEnum];
865
-
866
538
  /**
867
539
  * Agent Hours Graph
868
540
  * @export
@@ -1092,44 +764,6 @@ export interface AuthCodeResponseModel {
1092
764
  */
1093
765
  'redirect_uri'?: string | null;
1094
766
  }
1095
- /**
1096
- * Basic Order Item
1097
- * @export
1098
- * @interface BasicItemDTO
1099
- */
1100
- export interface BasicItemDTO {
1101
- /**
1102
- * SKU
1103
- * @type {string}
1104
- * @memberof BasicItemDTO
1105
- */
1106
- 'sku'?: string;
1107
- /**
1108
- * Quantity
1109
- * @type {number}
1110
- * @memberof BasicItemDTO
1111
- */
1112
- 'quantity'?: number;
1113
- }
1114
- /**
1115
- * Basic Product
1116
- * @export
1117
- * @interface BasicProductDTO
1118
- */
1119
- export interface BasicProductDTO {
1120
- /**
1121
- * SKU
1122
- * @type {string}
1123
- * @memberof BasicProductDTO
1124
- */
1125
- 'sku'?: string;
1126
- /**
1127
- * Title
1128
- * @type {string}
1129
- * @memberof BasicProductDTO
1130
- */
1131
- 'title'?: string;
1132
- }
1133
767
  /**
1134
768
  * BatchesEntity
1135
769
  * @export
@@ -1324,6 +958,12 @@ export interface ClientDetailsModel {
1324
958
  * @memberof ClientDetailsModel
1325
959
  */
1326
960
  'lastName'?: string;
961
+ /**
962
+ * User Profile Picture
963
+ * @type {string}
964
+ * @memberof ClientDetailsModel
965
+ */
966
+ 'image'?: string | null;
1327
967
  }
1328
968
  /**
1329
969
  * OAuth client details
@@ -1486,102 +1126,35 @@ export interface ConversationModel {
1486
1126
  'attachments'?: Array<AttachmentModel>;
1487
1127
  }
1488
1128
  /**
1489
- * CourierPricesEntity
1129
+ * Credit Account
1490
1130
  * @export
1491
- * @interface CourierPriceEntity
1131
+ * @interface CreditAccountEntity
1492
1132
  */
1493
- export interface CourierPriceEntity {
1133
+ export interface CreditAccountEntity {
1494
1134
  /**
1495
- * id
1135
+ * ID
1496
1136
  * @type {number}
1497
- * @memberof CourierPriceEntity
1137
+ * @memberof CreditAccountEntity
1498
1138
  */
1499
1139
  'id'?: number;
1500
1140
  /**
1501
- * courier
1141
+ * Contact Name
1502
1142
  * @type {string}
1503
- * @memberof CourierPriceEntity
1143
+ * @memberof CreditAccountEntity
1504
1144
  */
1505
- 'courier'?: string;
1145
+ 'name'?: string;
1506
1146
  /**
1507
- * destinationIso
1147
+ * Email
1508
1148
  * @type {string}
1509
- * @memberof CourierPriceEntity
1149
+ * @memberof CreditAccountEntity
1510
1150
  */
1511
- 'destinationIso'?: string;
1151
+ 'email'?: string;
1512
1152
  /**
1513
- * serviceDescription
1153
+ * Phone Number
1514
1154
  * @type {string}
1515
- * @memberof CourierPriceEntity
1155
+ * @memberof CreditAccountEntity
1516
1156
  */
1517
- 'serviceDescription'?: string;
1518
- /**
1519
- * flatRate
1520
- * @type {number}
1521
- * @memberof CourierPriceEntity
1522
- */
1523
- 'flatRate'?: number;
1524
- /**
1525
- * initialBox
1526
- * @type {number}
1527
- * @memberof CourierPriceEntity
1528
- */
1529
- 'initialBox'?: number;
1530
- /**
1531
- * initialKg
1532
- * @type {number}
1533
- * @memberof CourierPriceEntity
1534
- */
1535
- 'initialKg'?: number;
1536
- /**
1537
- * perBox
1538
- * @type {number}
1539
- * @memberof CourierPriceEntity
1540
- */
1541
- 'perBox'?: number;
1542
- /**
1543
- * perKg
1544
- * @type {number}
1545
- * @memberof CourierPriceEntity
1546
- */
1547
- 'perKg'?: number;
1548
- /**
1549
- * maxKg
1550
- * @type {number}
1551
- * @memberof CourierPriceEntity
1552
- */
1553
- 'maxKg'?: number;
1554
- }
1555
- /**
1556
- * Credit Account
1557
- * @export
1558
- * @interface CreditAccountEntity
1559
- */
1560
- export interface CreditAccountEntity {
1561
- /**
1562
- * ID
1563
- * @type {number}
1564
- * @memberof CreditAccountEntity
1565
- */
1566
- 'id'?: number;
1567
- /**
1568
- * Contact Name
1569
- * @type {string}
1570
- * @memberof CreditAccountEntity
1571
- */
1572
- 'name'?: string;
1573
- /**
1574
- * Email
1575
- * @type {string}
1576
- * @memberof CreditAccountEntity
1577
- */
1578
- 'email'?: string;
1579
- /**
1580
- * Phone Number
1581
- * @type {string}
1582
- * @memberof CreditAccountEntity
1583
- */
1584
- 'phone'?: string;
1157
+ 'phone'?: string;
1585
1158
  /**
1586
1159
  * Company Name
1587
1160
  * @type {string}
@@ -1783,116 +1356,6 @@ export interface CustomerInformationModel {
1783
1356
  */
1784
1357
  'contactLastName'?: string;
1785
1358
  }
1786
- /**
1787
- * Order Item Request
1788
- * @export
1789
- * @interface CustomerItemRequestDTO
1790
- */
1791
- export interface CustomerItemRequestDTO {
1792
- /**
1793
- * SKU
1794
- * @type {string}
1795
- * @memberof CustomerItemRequestDTO
1796
- */
1797
- 'sku'?: string;
1798
- /**
1799
- * Quantity
1800
- * @type {number}
1801
- * @memberof CustomerItemRequestDTO
1802
- */
1803
- 'quantity'?: number;
1804
- /**
1805
- * ID
1806
- * @type {number}
1807
- * @memberof CustomerItemRequestDTO
1808
- */
1809
- 'id'?: number | null;
1810
- /**
1811
- * 3CX Licence Key
1812
- * @type {string}
1813
- * @memberof CustomerItemRequestDTO
1814
- */
1815
- 'licenceKey'?: string | null;
1816
- /**
1817
- * 3CX Hosting
1818
- * @type {boolean}
1819
- * @memberof CustomerItemRequestDTO
1820
- */
1821
- 'hosting'?: boolean | null;
1822
- /**
1823
- * Date Time
1824
- * @type {string}
1825
- * @memberof CustomerItemRequestDTO
1826
- */
1827
- 'processDate'?: string;
1828
- /**
1829
- * 3CX Sales Code
1830
- * @type {string}
1831
- * @memberof CustomerItemRequestDTO
1832
- */
1833
- 'tcxSalesCode'?: string | null;
1834
- /**
1835
- * SBCS
1836
- * @type {Array<TcxSbcDTO>}
1837
- * @memberof CustomerItemRequestDTO
1838
- */
1839
- 'sbcs'?: Array<TcxSbcDTO>;
1840
- /**
1841
- * Read Only (Cannot be edited)
1842
- * @type {boolean}
1843
- * @memberof CustomerItemRequestDTO
1844
- */
1845
- 'readOnly'?: boolean;
1846
- }
1847
- /**
1848
- * Order Request
1849
- * @export
1850
- * @interface CustomerOrderRequestDTO
1851
- */
1852
- export interface CustomerOrderRequestDTO {
1853
- /**
1854
- * Order Reference
1855
- * @type {string}
1856
- * @memberof CustomerOrderRequestDTO
1857
- */
1858
- 'orderReference'?: string | null;
1859
- /**
1860
- * Items
1861
- * @type {Array<CustomerItemRequestDTO>}
1862
- * @memberof CustomerOrderRequestDTO
1863
- */
1864
- 'items'?: Array<CustomerItemRequestDTO>;
1865
- /**
1866
- *
1867
- * @type {ShippingServiceDTO}
1868
- * @memberof CustomerOrderRequestDTO
1869
- */
1870
- 'shippingService'?: ShippingServiceDTO;
1871
- /**
1872
- * Provisioning URL
1873
- * @type {string}
1874
- * @memberof CustomerOrderRequestDTO
1875
- */
1876
- 'provisioningUrl'?: string | null;
1877
- /**
1878
- *
1879
- * @type {AddressModel}
1880
- * @memberof CustomerOrderRequestDTO
1881
- */
1882
- 'shippingAddress'?: AddressModel;
1883
- /**
1884
- * Part Ship Order
1885
- * @type {boolean}
1886
- * @memberof CustomerOrderRequestDTO
1887
- */
1888
- 'partShip'?: boolean;
1889
- /**
1890
- * Quote
1891
- * @type {boolean}
1892
- * @memberof CustomerOrderRequestDTO
1893
- */
1894
- 'quote'?: boolean;
1895
- }
1896
1359
  /**
1897
1360
  * Customer Price List
1898
1361
  * @export
@@ -2402,6 +1865,19 @@ export interface GenericFileModel {
2402
1865
  */
2403
1866
  'type'?: string;
2404
1867
  }
1868
+ /**
1869
+ *
1870
+ * @export
1871
+ * @interface GetGetPasswordHash200Response
1872
+ */
1873
+ export interface GetGetPasswordHash200Response {
1874
+ /**
1875
+ *
1876
+ * @type {string}
1877
+ * @memberof GetGetPasswordHash200Response
1878
+ */
1879
+ 'hash'?: string;
1880
+ }
2405
1881
  /**
2406
1882
  *
2407
1883
  * @export
@@ -3002,36 +2478,36 @@ export interface InstanceUserCredentialsEntity {
3002
2478
  * @interface ItemDTO
3003
2479
  */
3004
2480
  export interface ItemDTO {
3005
- /**
3006
- * SKU
3007
- * @type {string}
3008
- * @memberof ItemDTO
3009
- */
3010
- 'sku'?: string;
3011
- /**
3012
- * Quantity
3013
- * @type {number}
3014
- * @memberof ItemDTO
3015
- */
3016
- 'quantity'?: number;
3017
2481
  /**
3018
2482
  * ID
3019
2483
  * @type {number}
3020
2484
  * @memberof ItemDTO
3021
2485
  */
3022
- 'id'?: number | null;
2486
+ 'id'?: number;
3023
2487
  /**
3024
2488
  * Order ID
3025
2489
  * @type {number}
3026
2490
  * @memberof ItemDTO
3027
2491
  */
3028
- 'orderId'?: number | null;
2492
+ 'orderId'?: number;
3029
2493
  /**
3030
2494
  * Title
3031
2495
  * @type {string}
3032
2496
  * @memberof ItemDTO
3033
2497
  */
3034
2498
  'title'?: string;
2499
+ /**
2500
+ * SKU
2501
+ * @type {string}
2502
+ * @memberof ItemDTO
2503
+ */
2504
+ 'sku'?: string;
2505
+ /**
2506
+ * Quantity
2507
+ * @type {number}
2508
+ * @memberof ItemDTO
2509
+ */
2510
+ 'quantity'?: number;
3035
2511
  /**
3036
2512
  * Price
3037
2513
  * @type {number}
@@ -3056,12 +2532,6 @@ export interface ItemDTO {
3056
2532
  * @memberof ItemDTO
3057
2533
  */
3058
2534
  'processDate'?: string;
3059
- /**
3060
- * 3CX Hosting
3061
- * @type {boolean}
3062
- * @memberof ItemDTO
3063
- */
3064
- 'hosting'?: boolean | null;
3065
2535
  /**
3066
2536
  * Promo Item
3067
2537
  * @type {boolean}
@@ -3073,25 +2543,7 @@ export interface ItemDTO {
3073
2543
  * @type {number}
3074
2544
  * @memberof ItemDTO
3075
2545
  */
3076
- 'refunded'?: number | null;
3077
- /**
3078
- * SBCs
3079
- * @type {Array<TcxSbcDTO>}
3080
- * @memberof ItemDTO
3081
- */
3082
- 'sbcs'?: Array<TcxSbcDTO> | null;
3083
- /**
3084
- * Readonly
3085
- * @type {boolean}
3086
- * @memberof ItemDTO
3087
- */
3088
- 'readonly'?: boolean;
3089
- /**
3090
- * 3CX Sales Code
3091
- * @type {string}
3092
- * @memberof ItemDTO
3093
- */
3094
- 'tcxSalesCode'?: string | null;
2546
+ 'refunded'?: number;
3095
2547
  }
3096
2548
  /**
3097
2549
  * ItemsEntity
@@ -3225,31 +2677,6 @@ export interface ItemEntity {
3225
2677
  * @memberof ItemEntity
3226
2678
  */
3227
2679
  'promoItem'?: number;
3228
- /**
3229
- * 3CX Sales Code
3230
- * @type {string}
3231
- * @memberof ItemEntity
3232
- */
3233
- 'tcxSalesCode'?: string | null;
3234
- }
3235
- /**
3236
- * LinkedOrdersEntity
3237
- * @export
3238
- * @interface LinkedOrderEntity
3239
- */
3240
- export interface LinkedOrderEntity {
3241
- /**
3242
- * orderId
3243
- * @type {number}
3244
- * @memberof LinkedOrderEntity
3245
- */
3246
- 'orderId'?: number;
3247
- /**
3248
- * linkedOrderId
3249
- * @type {number}
3250
- * @memberof LinkedOrderEntity
3251
- */
3252
- 'linkedOrderId'?: number;
3253
2680
  }
3254
2681
  /**
3255
2682
  * MFA Required
@@ -3910,19 +3337,13 @@ export interface OrderSummaryDTO {
3910
3337
  * @type {string}
3911
3338
  * @memberof OrderSummaryDTO
3912
3339
  */
3913
- 'reference'?: string | null;
3340
+ 'reference'?: string;
3914
3341
  /**
3915
3342
  * Invoice Number
3916
3343
  * @type {string}
3917
3344
  * @memberof OrderSummaryDTO
3918
3345
  */
3919
3346
  'invoiceNumber'?: string;
3920
- /**
3921
- * Invoice ID
3922
- * @type {string}
3923
- * @memberof OrderSummaryDTO
3924
- */
3925
- 'invoiceId'?: string | null;
3926
3347
  /**
3927
3348
  * Date Time
3928
3349
  * @type {string}
@@ -3977,24 +3398,6 @@ export interface OrderSummaryDTO {
3977
3398
  * @memberof OrderSummaryDTO
3978
3399
  */
3979
3400
  'fulfillable'?: boolean | null;
3980
- /**
3981
- * Provisioning URL
3982
- * @type {string}
3983
- * @memberof OrderSummaryDTO
3984
- */
3985
- 'provisioningUrl'?: string | null;
3986
- /**
3987
- *
3988
- * @type {ShippingServiceDTO}
3989
- * @memberof OrderSummaryDTO
3990
- */
3991
- 'shippingService'?: ShippingServiceDTO | null;
3992
- /**
3993
- * Readonly
3994
- * @type {boolean}
3995
- * @memberof OrderSummaryDTO
3996
- */
3997
- 'readonly'?: boolean;
3998
3401
  }
3999
3402
  /**
4000
3403
  * Order Totals
@@ -4044,12 +3447,6 @@ export interface OrderTotalModel {
4044
3447
  * @memberof OrderTotalModel
4045
3448
  */
4046
3449
  'currency'?: OrderTotalModelCurrencyEnum;
4047
- /**
4048
- * Delivery
4049
- * @type {number}
4050
- * @memberof OrderTotalModel
4051
- */
4052
- 'delivery'?: number | null;
4053
3450
  }
4054
3451
 
4055
3452
  export const OrderTotalModelCurrencyEnum = {
@@ -4431,31 +3828,6 @@ export interface PostGetClientCredentialsRequest {
4431
3828
  */
4432
3829
  'scopes'?: Array<string>;
4433
3830
  }
4434
- /**
4435
- *
4436
- * @export
4437
- * @interface PostGetProductForCustomerRequest
4438
- */
4439
- export interface PostGetProductForCustomerRequest {
4440
- /**
4441
- * Quantity
4442
- * @type {number}
4443
- * @memberof PostGetProductForCustomerRequest
4444
- */
4445
- 'quantity'?: number | null;
4446
- /**
4447
- * 3CX Licence Key
4448
- * @type {string}
4449
- * @memberof PostGetProductForCustomerRequest
4450
- */
4451
- 'licenceKey'?: string | null;
4452
- /**
4453
- * 3CX Hosting
4454
- * @type {boolean}
4455
- * @memberof PostGetProductForCustomerRequest
4456
- */
4457
- 'hosting'?: boolean | null;
4458
- }
4459
3831
  /**
4460
3832
  * Price & Stock List
4461
3833
  * @export
@@ -4544,10 +3916,10 @@ export interface PrizesEntity {
4544
3916
  export interface ProductSearchResultsModel {
4545
3917
  /**
4546
3918
  * Results
4547
- * @type {Array<ProductSummaryDTO>}
3919
+ * @type {Array<ProductSummaryModel>}
4548
3920
  * @memberof ProductSearchResultsModel
4549
3921
  */
4550
- 'results'?: Array<ProductSummaryDTO>;
3922
+ 'results'?: Array<ProductSummaryModel>;
4551
3923
  }
4552
3924
  /**
4553
3925
  * Product Serial Info
@@ -4583,51 +3955,45 @@ export interface ProductSerialInfoModel {
4583
3955
  /**
4584
3956
  * Product Summary
4585
3957
  * @export
4586
- * @interface ProductSummaryDTO
3958
+ * @interface ProductSummaryModel
4587
3959
  */
4588
- export interface ProductSummaryDTO {
3960
+ export interface ProductSummaryModel {
4589
3961
  /**
4590
3962
  * SKU
4591
3963
  * @type {string}
4592
- * @memberof ProductSummaryDTO
3964
+ * @memberof ProductSummaryModel
4593
3965
  */
4594
3966
  'sku'?: string;
4595
3967
  /**
4596
3968
  * Title
4597
3969
  * @type {string}
4598
- * @memberof ProductSummaryDTO
3970
+ * @memberof ProductSummaryModel
4599
3971
  */
4600
3972
  'title'?: string;
4601
3973
  /**
4602
3974
  * Stock Quantity
4603
3975
  * @type {number}
4604
- * @memberof ProductSummaryDTO
3976
+ * @memberof ProductSummaryModel
4605
3977
  */
4606
3978
  'quantity'?: number | null;
4607
3979
  /**
4608
3980
  * Stock Product
4609
3981
  * @type {boolean}
4610
- * @memberof ProductSummaryDTO
3982
+ * @memberof ProductSummaryModel
4611
3983
  */
4612
3984
  'stockProduct'?: boolean;
4613
3985
  /**
4614
3986
  * Price
4615
3987
  * @type {number}
4616
- * @memberof ProductSummaryDTO
3988
+ * @memberof ProductSummaryModel
4617
3989
  */
4618
3990
  'price'?: number | null;
4619
3991
  /**
4620
3992
  * Carton Size
4621
3993
  * @type {number}
4622
- * @memberof ProductSummaryDTO
3994
+ * @memberof ProductSummaryModel
4623
3995
  */
4624
3996
  'cartonSize'?: number | null;
4625
- /**
4626
- * RRP Price
4627
- * @type {number}
4628
- * @memberof ProductSummaryDTO
4629
- */
4630
- 'rrp'?: number | null;
4631
3997
  }
4632
3998
  /**
4633
3999
  * PromoCodesEntity
@@ -4766,37 +4132,37 @@ export interface PromoItemsEntity {
4766
4132
  /**
4767
4133
  * Provisioning Group
4768
4134
  * @export
4769
- * @interface ProvisioningModel
4135
+ * @interface ProvisioningEntity
4770
4136
  */
4771
- export interface ProvisioningModel {
4137
+ export interface ProvisioningEntity {
4772
4138
  /**
4773
4139
  * Provisioning Group Name
4774
4140
  * @type {string}
4775
- * @memberof ProvisioningModel
4141
+ * @memberof ProvisioningEntity
4776
4142
  */
4777
4143
  'groupName'?: string;
4778
4144
  /**
4779
4145
  * Provisioning URL (Static Provisioning Server)
4780
4146
  * @type {string}
4781
- * @memberof ProvisioningModel
4147
+ * @memberof ProvisioningEntity
4782
4148
  */
4783
4149
  'provisioningUrl'?: string;
4784
4150
  /**
4785
4151
  * Additional Authentication Secret
4786
4152
  * @type {string}
4787
- * @memberof ProvisioningModel
4153
+ * @memberof ProvisioningEntity
4788
4154
  */
4789
4155
  'auth'?: string;
4790
4156
  /**
4791
4157
  * Provisioning Group ID
4792
4158
  * @type {number}
4793
- * @memberof ProvisioningModel
4159
+ * @memberof ProvisioningEntity
4794
4160
  */
4795
4161
  'id'?: number;
4796
4162
  /**
4797
4163
  * Owner ID
4798
4164
  * @type {number}
4799
- * @memberof ProvisioningModel
4165
+ * @memberof ProvisioningEntity
4800
4166
  */
4801
4167
  'customerId'?: number;
4802
4168
  }
@@ -5150,7 +4516,7 @@ export interface ShipmentEntity {
5150
4516
  * @type {string}
5151
4517
  * @memberof ShipmentEntity
5152
4518
  */
5153
- 'dateShipped'?: string;
4519
+ 'date'?: string;
5154
4520
  /**
5155
4521
  * requestDate
5156
4522
  * @type {string}
@@ -5202,182 +4568,33 @@ export interface ShipmentItemEntity {
5202
4568
  'itemId'?: string;
5203
4569
  }
5204
4570
  /**
5205
- *
4571
+ * Change Response
5206
4572
  * @export
5207
- * @interface ShippingConsignmentModel
4573
+ * @interface SipTrunkChangeResponseModel
5208
4574
  */
5209
- export interface ShippingConsignmentModel {
4575
+ export interface SipTrunkChangeResponseModel {
5210
4576
  /**
5211
- *
5212
- * @type {ShippingServiceModel}
5213
- * @memberof ShippingConsignmentModel
4577
+ * ID
4578
+ * @type {string}
4579
+ * @memberof SipTrunkChangeResponseModel
5214
4580
  */
5215
- 'service'?: ShippingServiceModel;
4581
+ 'changeId'?: string;
5216
4582
  /**
5217
- * ID/Number
5218
- * @type {string}
5219
- * @memberof ShippingConsignmentModel
4583
+ *
4584
+ * @type {SipTrunkEntity}
4585
+ * @memberof SipTrunkChangeResponseModel
5220
4586
  */
5221
- 'id'?: string;
4587
+ 'trunk'?: SipTrunkEntity;
5222
4588
  /**
5223
- * Tracking Number
4589
+ * Type
5224
4590
  * @type {string}
5225
- * @memberof ShippingConsignmentModel
4591
+ * @memberof SipTrunkChangeResponseModel
5226
4592
  */
5227
- 'trackingNumber'?: string;
4593
+ 'type'?: SipTrunkChangeResponseModelTypeEnum;
5228
4594
  /**
5229
- * Parcels
5230
- * @type {Array<string>}
5231
- * @memberof ShippingConsignmentModel
5232
- */
5233
- 'parcelIds'?: Array<string>;
5234
- }
5235
- /**
5236
- * Shipping Information
5237
- * @export
5238
- * @interface ShippingInformationDTO
5239
- */
5240
- export interface ShippingInformationDTO {
5241
- /**
5242
- * Items
5243
- * @type {Array<BasicItemDTO>}
5244
- * @memberof ShippingInformationDTO
5245
- */
5246
- 'items'?: Array<BasicItemDTO>;
5247
- /**
5248
- * Destination Post Code
5249
- * @type {string}
5250
- * @memberof ShippingInformationDTO
5251
- */
5252
- 'postalCode'?: string;
5253
- /**
5254
- * Destination ISO
5255
- * @type {string}
5256
- * @memberof ShippingInformationDTO
5257
- */
5258
- 'iso'?: string;
5259
- }
5260
- /**
5261
- * Shipping Service
5262
- * @export
5263
- * @interface ShippingServiceDTO
5264
- */
5265
- export interface ShippingServiceDTO {
5266
- /**
5267
- * Courier
5268
- * @type {string}
5269
- * @memberof ShippingServiceDTO
5270
- */
5271
- 'courier'?: ShippingServiceDTOCourierEnum;
5272
- /**
5273
- * Service Name
5274
- * @type {string}
5275
- * @memberof ShippingServiceDTO
5276
- */
5277
- 'serviceName'?: string;
5278
- }
5279
-
5280
- export const ShippingServiceDTOCourierEnum = {
5281
- Dpd: 'DPD',
5282
- ChorltonPallet: 'Chorlton Pallet',
5283
- Pops: 'POPS'
5284
- } as const;
5285
-
5286
- export type ShippingServiceDTOCourierEnum = typeof ShippingServiceDTOCourierEnum[keyof typeof ShippingServiceDTOCourierEnum];
5287
-
5288
- /**
5289
- * Shipping Service
5290
- * @export
5291
- * @interface ShippingServiceModel
5292
- */
5293
- export interface ShippingServiceModel {
5294
- /**
5295
- * Courier
5296
- * @type {string}
5297
- * @memberof ShippingServiceModel
5298
- */
5299
- 'courier'?: ShippingServiceModelCourierEnum;
5300
- /**
5301
- * Code
5302
- * @type {string}
5303
- * @memberof ShippingServiceModel
5304
- */
5305
- 'code'?: string;
5306
- /**
5307
- * Name
5308
- * @type {string}
5309
- * @memberof ShippingServiceModel
5310
- */
5311
- 'name'?: string;
5312
- /**
5313
- * Description
5314
- * @type {string}
5315
- * @memberof ShippingServiceModel
5316
- */
5317
- 'description'?: string;
5318
- /**
5319
- * Label
5320
- * @type {string}
5321
- * @memberof ShippingServiceModel
5322
- */
5323
- 'label'?: string | null;
5324
- /**
5325
- * Price
5326
- * @type {number}
5327
- * @memberof ShippingServiceModel
5328
- */
5329
- 'price'?: number | null;
5330
- }
5331
-
5332
- export const ShippingServiceModelCourierEnum = {
5333
- Dpd: 'DPD',
5334
- ChorltonPallet: 'Chorlton Pallet',
5335
- Pops: 'POPS'
5336
- } as const;
5337
-
5338
- export type ShippingServiceModelCourierEnum = typeof ShippingServiceModelCourierEnum[keyof typeof ShippingServiceModelCourierEnum];
5339
-
5340
- /**
5341
- *
5342
- * @export
5343
- * @interface ShippingServicesModel
5344
- */
5345
- export interface ShippingServicesModel {
5346
- /**
5347
- * Services
5348
- * @type {Array<ShippingServiceModel>}
5349
- * @memberof ShippingServicesModel
5350
- */
5351
- 'services'?: Array<ShippingServiceModel>;
5352
- }
5353
- /**
5354
- * Change Response
5355
- * @export
5356
- * @interface SipTrunkChangeResponseModel
5357
- */
5358
- export interface SipTrunkChangeResponseModel {
5359
- /**
5360
- * ID
5361
- * @type {string}
5362
- * @memberof SipTrunkChangeResponseModel
5363
- */
5364
- 'changeId'?: string;
5365
- /**
5366
- *
5367
- * @type {SipTrunkEntity}
5368
- * @memberof SipTrunkChangeResponseModel
5369
- */
5370
- 'trunk'?: SipTrunkEntity;
5371
- /**
5372
- * Type
5373
- * @type {string}
5374
- * @memberof SipTrunkChangeResponseModel
5375
- */
5376
- 'type'?: SipTrunkChangeResponseModelTypeEnum;
5377
- /**
5378
- * Progress
5379
- * @type {number}
5380
- * @memberof SipTrunkChangeResponseModel
4595
+ * Progress
4596
+ * @type {number}
4597
+ * @memberof SipTrunkChangeResponseModel
5381
4598
  */
5382
4599
  'progress'?: number;
5383
4600
  /**
@@ -8189,49 +7406,6 @@ export interface TcxRemoteStorageModel {
8189
7406
  */
8190
7407
  'secretAccessKey'?: string;
8191
7408
  }
8192
- /**
8193
- * SBC Data
8194
- * @export
8195
- * @interface TcxSbcDTO
8196
- */
8197
- export interface TcxSbcDTO {
8198
- /**
8199
- * LAN IP Address
8200
- * @type {string}
8201
- * @memberof TcxSbcDTO
8202
- */
8203
- 'ipAddress'?: string;
8204
- /**
8205
- * LAN Default Gateway
8206
- * @type {string}
8207
- * @memberof TcxSbcDTO
8208
- */
8209
- 'defaultGateway'?: string;
8210
- /**
8211
- * LAN Subnet Mask
8212
- * @type {string}
8213
- * @memberof TcxSbcDTO
8214
- */
8215
- 'netmask'?: string;
8216
- /**
8217
- * DNS
8218
- * @type {string}
8219
- * @memberof TcxSbcDTO
8220
- */
8221
- 'dns'?: string;
8222
- /**
8223
- * 3CX URL
8224
- * @type {string}
8225
- * @memberof TcxSbcDTO
8226
- */
8227
- 'tcxUrl'?: string;
8228
- /**
8229
- * 3CX SBC Key
8230
- * @type {string}
8231
- * @memberof TcxSbcDTO
8232
- */
8233
- 'tcxKey'?: string;
8234
- }
8235
7409
  /**
8236
7410
  * 3CX Wizard SBC
8237
7411
  * @export
@@ -8336,7 +7510,7 @@ export interface TcxSbcEntity {
8336
7510
  'technicalContact'?: string;
8337
7511
  }
8338
7512
  /**
8339
- * 3CX Wizard SBC
7513
+ * 3CX SBC Model
8340
7514
  * @export
8341
7515
  * @interface TcxSbcModel
8342
7516
  */
@@ -9521,40 +8695,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
9521
8695
 
9522
8696
 
9523
8697
 
9524
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9525
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9526
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9527
-
9528
- return {
9529
- url: toPathString(localVarUrlObj),
9530
- options: localVarRequestOptions,
9531
- };
9532
- },
9533
- /**
9534
- * Get Account Detailed Summary
9535
- * @summary Get Account Detailed Summary
9536
- * @param {number} id Customer ID
9537
- * @param {*} [options] Override http request option.
9538
- * @throws {RequiredError}
9539
- */
9540
- getGetAccountDetailedSummary: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9541
- // verify required parameter 'id' is not null or undefined
9542
- assertParamExists('getGetAccountDetailedSummary', 'id', id)
9543
- const localVarPath = `/accounts/{id}/summary`
9544
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9545
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9546
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9547
- let baseOptions;
9548
- if (configuration) {
9549
- baseOptions = configuration.baseOptions;
9550
- }
9551
-
9552
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9553
- const localVarHeaderParameter = {} as any;
9554
- const localVarQueryParameter = {} as any;
9555
-
9556
-
9557
-
9558
8698
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9559
8699
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9560
8700
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -9853,36 +8993,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
9853
8993
  options: localVarRequestOptions,
9854
8994
  };
9855
8995
  },
9856
- /**
9857
- * Get Admin Account
9858
- * @summary Get Admin Account
9859
- * @param {*} [options] Override http request option.
9860
- * @throws {RequiredError}
9861
- */
9862
- postGetAdminAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9863
- const localVarPath = `/admin/me`;
9864
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9865
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9866
- let baseOptions;
9867
- if (configuration) {
9868
- baseOptions = configuration.baseOptions;
9869
- }
9870
-
9871
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9872
- const localVarHeaderParameter = {} as any;
9873
- const localVarQueryParameter = {} as any;
9874
-
9875
-
9876
-
9877
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9878
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9879
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9880
-
9881
- return {
9882
- url: toPathString(localVarUrlObj),
9883
- options: localVarRequestOptions,
9884
- };
9885
- },
9886
8996
  /**
9887
8997
  * Create client credentials
9888
8998
  * @summary Create client credentials
@@ -10132,19 +9242,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
10132
9242
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountContacts']?.[localVarOperationServerIndex]?.url;
10133
9243
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10134
9244
  },
10135
- /**
10136
- * Get Account Detailed Summary
10137
- * @summary Get Account Detailed Summary
10138
- * @param {number} id Customer ID
10139
- * @param {*} [options] Override http request option.
10140
- * @throws {RequiredError}
10141
- */
10142
- async getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDetailedSummaryDTO>> {
10143
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options);
10144
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10145
- const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountDetailedSummary']?.[localVarOperationServerIndex]?.url;
10146
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10147
- },
10148
9245
  /**
10149
9246
  * Get Accounts
10150
9247
  * @summary Get Accounts
@@ -10250,18 +9347,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
10250
9347
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAccounts']?.[localVarOperationServerIndex]?.url;
10251
9348
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10252
9349
  },
10253
- /**
10254
- * Get Admin Account
10255
- * @summary Get Admin Account
10256
- * @param {*} [options] Override http request option.
10257
- * @throws {RequiredError}
10258
- */
10259
- async postGetAdminAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminUserModel>> {
10260
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetAdminAccount(options);
10261
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10262
- const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAdminAccount']?.[localVarOperationServerIndex]?.url;
10263
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10264
- },
10265
9350
  /**
10266
9351
  * Create client credentials
10267
9352
  * @summary Create client credentials
@@ -10379,16 +9464,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
10379
9464
  getGetAccountContacts(email?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>> {
10380
9465
  return localVarFp.getGetAccountContacts(email, options).then((request) => request(axios, basePath));
10381
9466
  },
10382
- /**
10383
- * Get Account Detailed Summary
10384
- * @summary Get Account Detailed Summary
10385
- * @param {number} id Customer ID
10386
- * @param {*} [options] Override http request option.
10387
- * @throws {RequiredError}
10388
- */
10389
- getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AccountDetailedSummaryDTO> {
10390
- return localVarFp.getGetAccountDetailedSummary(id, options).then((request) => request(axios, basePath));
10391
- },
10392
9467
  /**
10393
9468
  * Get Accounts
10394
9469
  * @summary Get Accounts
@@ -10470,15 +9545,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
10470
9545
  postGetAccounts(accountRequestModel?: AccountRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<PortalAccountModel> {
10471
9546
  return localVarFp.postGetAccounts(accountRequestModel, options).then((request) => request(axios, basePath));
10472
9547
  },
10473
- /**
10474
- * Get Admin Account
10475
- * @summary Get Admin Account
10476
- * @param {*} [options] Override http request option.
10477
- * @throws {RequiredError}
10478
- */
10479
- postGetAdminAccount(options?: RawAxiosRequestConfig): AxiosPromise<AdminUserModel> {
10480
- return localVarFp.postGetAdminAccount(options).then((request) => request(axios, basePath));
10481
- },
10482
9548
  /**
10483
9549
  * Create client credentials
10484
9550
  * @summary Create client credentials
@@ -10589,18 +9655,6 @@ export class AccountsApi extends BaseAPI {
10589
9655
  return AccountsApiFp(this.configuration).getGetAccountContacts(email, options).then((request) => request(this.axios, this.basePath));
10590
9656
  }
10591
9657
 
10592
- /**
10593
- * Get Account Detailed Summary
10594
- * @summary Get Account Detailed Summary
10595
- * @param {number} id Customer ID
10596
- * @param {*} [options] Override http request option.
10597
- * @throws {RequiredError}
10598
- * @memberof AccountsApi
10599
- */
10600
- public getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig) {
10601
- return AccountsApiFp(this.configuration).getGetAccountDetailedSummary(id, options).then((request) => request(this.axios, this.basePath));
10602
- }
10603
-
10604
9658
  /**
10605
9659
  * Get Accounts
10606
9660
  * @summary Get Accounts
@@ -10698,17 +9752,6 @@ export class AccountsApi extends BaseAPI {
10698
9752
  return AccountsApiFp(this.configuration).postGetAccounts(accountRequestModel, options).then((request) => request(this.axios, this.basePath));
10699
9753
  }
10700
9754
 
10701
- /**
10702
- * Get Admin Account
10703
- * @summary Get Admin Account
10704
- * @param {*} [options] Override http request option.
10705
- * @throws {RequiredError}
10706
- * @memberof AccountsApi
10707
- */
10708
- public postGetAdminAccount(options?: RawAxiosRequestConfig) {
10709
- return AccountsApiFp(this.configuration).postGetAdminAccount(options).then((request) => request(this.axios, this.basePath));
10710
- }
10711
-
10712
9755
  /**
10713
9756
  * Create client credentials
10714
9757
  * @summary Create client credentials
@@ -10906,6 +9949,43 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
10906
9949
 
10907
9950
 
10908
9951
 
9952
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9953
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9954
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9955
+
9956
+ return {
9957
+ url: toPathString(localVarUrlObj),
9958
+ options: localVarRequestOptions,
9959
+ };
9960
+ },
9961
+ /**
9962
+ * Generate a 3CX hashed password for 3CX installation
9963
+ * @summary Convert a password to a hashed 3CX password
9964
+ * @param {string} password Desired 3CX web access password
9965
+ * @param {*} [options] Override http request option.
9966
+ * @throws {RequiredError}
9967
+ */
9968
+ getGetPasswordHash: async (password: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9969
+ // verify required parameter 'password' is not null or undefined
9970
+ assertParamExists('getGetPasswordHash', 'password', password)
9971
+ const localVarPath = `/tcx/pwd2hash`;
9972
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9973
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9974
+ let baseOptions;
9975
+ if (configuration) {
9976
+ baseOptions = configuration.baseOptions;
9977
+ }
9978
+
9979
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9980
+ const localVarHeaderParameter = {} as any;
9981
+ const localVarQueryParameter = {} as any;
9982
+
9983
+ if (password !== undefined) {
9984
+ localVarQueryParameter['password'] = password;
9985
+ }
9986
+
9987
+
9988
+
10909
9989
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10910
9990
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10911
9991
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -10972,6 +10052,19 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
10972
10052
  const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetLicenceDetails']?.[localVarOperationServerIndex]?.url;
10973
10053
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10974
10054
  },
10055
+ /**
10056
+ * Generate a 3CX hashed password for 3CX installation
10057
+ * @summary Convert a password to a hashed 3CX password
10058
+ * @param {string} password Desired 3CX web access password
10059
+ * @param {*} [options] Override http request option.
10060
+ * @throws {RequiredError}
10061
+ */
10062
+ async getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGetPasswordHash200Response>> {
10063
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetPasswordHash(password, options);
10064
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10065
+ const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetPasswordHash']?.[localVarOperationServerIndex]?.url;
10066
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10067
+ },
10975
10068
  /**
10976
10069
  * Get Bulk 3CX Licence Details
10977
10070
  * @summary Get bulk 3CX Licence Details
@@ -11006,9 +10099,19 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
11006
10099
  return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
11007
10100
  },
11008
10101
  /**
11009
- * Get Bulk 3CX Licence Details
11010
- * @summary Get bulk 3CX Licence Details
11011
- * @param {Array<string>} [requestBody] Licence Lookup Request
10102
+ * Generate a 3CX hashed password for 3CX installation
10103
+ * @summary Convert a password to a hashed 3CX password
10104
+ * @param {string} password Desired 3CX web access password
10105
+ * @param {*} [options] Override http request option.
10106
+ * @throws {RequiredError}
10107
+ */
10108
+ getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): AxiosPromise<GetGetPasswordHash200Response> {
10109
+ return localVarFp.getGetPasswordHash(password, options).then((request) => request(axios, basePath));
10110
+ },
10111
+ /**
10112
+ * Get Bulk 3CX Licence Details
10113
+ * @summary Get bulk 3CX Licence Details
10114
+ * @param {Array<string>} [requestBody] Licence Lookup Request
11012
10115
  * @param {*} [options] Override http request option.
11013
10116
  * @throws {RequiredError}
11014
10117
  */
@@ -11037,6 +10140,18 @@ export class Class3CXApi extends BaseAPI {
11037
10140
  return Class3CXApiFp(this.configuration).getGetLicenceDetails(key, options).then((request) => request(this.axios, this.basePath));
11038
10141
  }
11039
10142
 
10143
+ /**
10144
+ * Generate a 3CX hashed password for 3CX installation
10145
+ * @summary Convert a password to a hashed 3CX password
10146
+ * @param {string} password Desired 3CX web access password
10147
+ * @param {*} [options] Override http request option.
10148
+ * @throws {RequiredError}
10149
+ * @memberof Class3CXApi
10150
+ */
10151
+ public getGetPasswordHash(password: string, options?: RawAxiosRequestConfig) {
10152
+ return Class3CXApiFp(this.configuration).getGetPasswordHash(password, options).then((request) => request(this.axios, this.basePath));
10153
+ }
10154
+
11040
10155
  /**
11041
10156
  * Get Bulk 3CX Licence Details
11042
10157
  * @summary Get bulk 3CX Licence Details
@@ -16211,14 +15326,13 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
16211
15326
  return {
16212
15327
  /**
16213
15328
  * Delete Orders
16214
- * @summary Delete Orders
16215
15329
  * @param {number} id Order ID
16216
15330
  * @param {*} [options] Override http request option.
16217
15331
  * @throws {RequiredError}
16218
15332
  */
16219
- deleteUpdateOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15333
+ deleteDeleteOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16220
15334
  // verify required parameter 'id' is not null or undefined
16221
- assertParamExists('deleteUpdateOrder', 'id', id)
15335
+ assertParamExists('deleteDeleteOrder', 'id', id)
16222
15336
  const localVarPath = `/orders/{id}`
16223
15337
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16224
15338
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -16234,40 +15348,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
16234
15348
 
16235
15349
 
16236
15350
 
16237
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16238
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16239
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16240
-
16241
- return {
16242
- url: toPathString(localVarUrlObj),
16243
- options: localVarRequestOptions,
16244
- };
16245
- },
16246
- /**
16247
- * Get Editable Order
16248
- * @summary Get Editable Order
16249
- * @param {number} id Order ID
16250
- * @param {*} [options] Override http request option.
16251
- * @throws {RequiredError}
16252
- */
16253
- getGetEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16254
- // verify required parameter 'id' is not null or undefined
16255
- assertParamExists('getGetEditableOrder', 'id', id)
16256
- const localVarPath = `/orders/{id}/views/editable`
16257
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16258
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16259
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16260
- let baseOptions;
16261
- if (configuration) {
16262
- baseOptions = configuration.baseOptions;
16263
- }
16264
-
16265
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16266
- const localVarHeaderParameter = {} as any;
16267
- const localVarQueryParameter = {} as any;
16268
-
16269
-
16270
-
16271
15351
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16272
15352
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16273
15353
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -16337,170 +15417,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
16337
15417
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16338
15418
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16339
15419
 
16340
- return {
16341
- url: toPathString(localVarUrlObj),
16342
- options: localVarRequestOptions,
16343
- };
16344
- },
16345
- /**
16346
- * Create An Order (Admin)
16347
- * @summary Create An Order (Admin)
16348
- * @param {boolean} [readonly] Readonly Order
16349
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16350
- * @param {*} [options] Override http request option.
16351
- * @throws {RequiredError}
16352
- */
16353
- postCreateAdminOrder: async (readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16354
- const localVarPath = `/admin/orders`;
16355
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16356
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16357
- let baseOptions;
16358
- if (configuration) {
16359
- baseOptions = configuration.baseOptions;
16360
- }
16361
-
16362
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16363
- const localVarHeaderParameter = {} as any;
16364
- const localVarQueryParameter = {} as any;
16365
-
16366
- if (readonly !== undefined) {
16367
- localVarQueryParameter['readonly'] = readonly;
16368
- }
16369
-
16370
-
16371
-
16372
- localVarHeaderParameter['Content-Type'] = 'application/json';
16373
-
16374
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16375
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16376
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16377
- localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
16378
-
16379
- return {
16380
- url: toPathString(localVarUrlObj),
16381
- options: localVarRequestOptions,
16382
- };
16383
- },
16384
- /**
16385
- * Create An Order
16386
- * @summary Create An Order
16387
- * @param {boolean} [readonly] Readonly Order
16388
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16389
- * @param {*} [options] Override http request option.
16390
- * @throws {RequiredError}
16391
- */
16392
- postGetOrders: async (readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16393
- const localVarPath = `/orders`;
16394
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16395
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16396
- let baseOptions;
16397
- if (configuration) {
16398
- baseOptions = configuration.baseOptions;
16399
- }
16400
-
16401
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16402
- const localVarHeaderParameter = {} as any;
16403
- const localVarQueryParameter = {} as any;
16404
-
16405
- if (readonly !== undefined) {
16406
- localVarQueryParameter['readonly'] = readonly;
16407
- }
16408
-
16409
-
16410
-
16411
- localVarHeaderParameter['Content-Type'] = 'application/json';
16412
-
16413
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16414
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16415
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16416
- localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
16417
-
16418
- return {
16419
- url: toPathString(localVarUrlObj),
16420
- options: localVarRequestOptions,
16421
- };
16422
- },
16423
- /**
16424
- * Update An Order (Admin)
16425
- * @summary Update An Order (Admin)
16426
- * @param {number} id Order ID
16427
- * @param {boolean} [readonly] Readonly Order
16428
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16429
- * @param {*} [options] Override http request option.
16430
- * @throws {RequiredError}
16431
- */
16432
- putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16433
- // verify required parameter 'id' is not null or undefined
16434
- assertParamExists('putUpdateAdminOrder', 'id', id)
16435
- const localVarPath = `/admin/orders/{id}`
16436
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16437
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16438
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16439
- let baseOptions;
16440
- if (configuration) {
16441
- baseOptions = configuration.baseOptions;
16442
- }
16443
-
16444
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
16445
- const localVarHeaderParameter = {} as any;
16446
- const localVarQueryParameter = {} as any;
16447
-
16448
- if (readonly !== undefined) {
16449
- localVarQueryParameter['readonly'] = readonly;
16450
- }
16451
-
16452
-
16453
-
16454
- localVarHeaderParameter['Content-Type'] = 'application/json';
16455
-
16456
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16457
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16458
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16459
- localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
16460
-
16461
- return {
16462
- url: toPathString(localVarUrlObj),
16463
- options: localVarRequestOptions,
16464
- };
16465
- },
16466
- /**
16467
- * Update An Order
16468
- * @summary Update An Order
16469
- * @param {number} id Order ID
16470
- * @param {boolean} [readonly] Readonly Order
16471
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16472
- * @param {*} [options] Override http request option.
16473
- * @throws {RequiredError}
16474
- */
16475
- putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16476
- // verify required parameter 'id' is not null or undefined
16477
- assertParamExists('putUpdateOrder', 'id', id)
16478
- const localVarPath = `/orders/{id}`
16479
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16480
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16481
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16482
- let baseOptions;
16483
- if (configuration) {
16484
- baseOptions = configuration.baseOptions;
16485
- }
16486
-
16487
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
16488
- const localVarHeaderParameter = {} as any;
16489
- const localVarQueryParameter = {} as any;
16490
-
16491
- if (readonly !== undefined) {
16492
- localVarQueryParameter['readonly'] = readonly;
16493
- }
16494
-
16495
-
16496
-
16497
- localVarHeaderParameter['Content-Type'] = 'application/json';
16498
-
16499
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16500
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16501
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16502
- localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
16503
-
16504
15420
  return {
16505
15421
  url: toPathString(localVarUrlObj),
16506
15422
  options: localVarRequestOptions,
@@ -16518,28 +15434,14 @@ export const OrdersApiFp = function(configuration?: Configuration) {
16518
15434
  return {
16519
15435
  /**
16520
15436
  * Delete Orders
16521
- * @summary Delete Orders
16522
15437
  * @param {number} id Order ID
16523
15438
  * @param {*} [options] Override http request option.
16524
15439
  * @throws {RequiredError}
16525
15440
  */
16526
- async deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
16527
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUpdateOrder(id, options);
15441
+ async deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
15442
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeleteOrder(id, options);
16528
15443
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16529
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteUpdateOrder']?.[localVarOperationServerIndex]?.url;
16530
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16531
- },
16532
- /**
16533
- * Get Editable Order
16534
- * @summary Get Editable Order
16535
- * @param {number} id Order ID
16536
- * @param {*} [options] Override http request option.
16537
- * @throws {RequiredError}
16538
- */
16539
- async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminOrderRequestDTO>> {
16540
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
16541
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16542
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
15444
+ const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteDeleteOrder']?.[localVarOperationServerIndex]?.url;
16543
15445
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16544
15446
  },
16545
15447
  /**
@@ -16561,64 +15463,6 @@ export const OrdersApiFp = function(configuration?: Configuration) {
16561
15463
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
16562
15464
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16563
15465
  },
16564
- /**
16565
- * Create An Order (Admin)
16566
- * @summary Create An Order (Admin)
16567
- * @param {boolean} [readonly] Readonly Order
16568
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16569
- * @param {*} [options] Override http request option.
16570
- * @throws {RequiredError}
16571
- */
16572
- async postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16573
- const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options);
16574
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16575
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
16576
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16577
- },
16578
- /**
16579
- * Create An Order
16580
- * @summary Create An Order
16581
- * @param {boolean} [readonly] Readonly Order
16582
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16583
- * @param {*} [options] Override http request option.
16584
- * @throws {RequiredError}
16585
- */
16586
- async postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16587
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options);
16588
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16589
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
16590
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16591
- },
16592
- /**
16593
- * Update An Order (Admin)
16594
- * @summary Update An Order (Admin)
16595
- * @param {number} id Order ID
16596
- * @param {boolean} [readonly] Readonly Order
16597
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16598
- * @param {*} [options] Override http request option.
16599
- * @throws {RequiredError}
16600
- */
16601
- async putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16602
- const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options);
16603
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16604
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateAdminOrder']?.[localVarOperationServerIndex]?.url;
16605
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16606
- },
16607
- /**
16608
- * Update An Order
16609
- * @summary Update An Order
16610
- * @param {number} id Order ID
16611
- * @param {boolean} [readonly] Readonly Order
16612
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16613
- * @param {*} [options] Override http request option.
16614
- * @throws {RequiredError}
16615
- */
16616
- async putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16617
- const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateOrder(id, readonly, customerOrderRequestDTO, options);
16618
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16619
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateOrder']?.[localVarOperationServerIndex]?.url;
16620
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16621
- },
16622
15466
  }
16623
15467
  };
16624
15468
 
@@ -16631,23 +15475,12 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
16631
15475
  return {
16632
15476
  /**
16633
15477
  * Delete Orders
16634
- * @summary Delete Orders
16635
- * @param {number} id Order ID
16636
- * @param {*} [options] Override http request option.
16637
- * @throws {RequiredError}
16638
- */
16639
- deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
16640
- return localVarFp.deleteUpdateOrder(id, options).then((request) => request(axios, basePath));
16641
- },
16642
- /**
16643
- * Get Editable Order
16644
- * @summary Get Editable Order
16645
15478
  * @param {number} id Order ID
16646
15479
  * @param {*} [options] Override http request option.
16647
15480
  * @throws {RequiredError}
16648
15481
  */
16649
- getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AdminOrderRequestDTO> {
16650
- return localVarFp.getGetEditableOrder(id, options).then((request) => request(axios, basePath));
15482
+ deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
15483
+ return localVarFp.deleteDeleteOrder(id, options).then((request) => request(axios, basePath));
16651
15484
  },
16652
15485
  /**
16653
15486
  * Get Orders
@@ -16665,52 +15498,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
16665
15498
  getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel> {
16666
15499
  return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(axios, basePath));
16667
15500
  },
16668
- /**
16669
- * Create An Order (Admin)
16670
- * @summary Create An Order (Admin)
16671
- * @param {boolean} [readonly] Readonly Order
16672
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16673
- * @param {*} [options] Override http request option.
16674
- * @throws {RequiredError}
16675
- */
16676
- postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16677
- return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
16678
- },
16679
- /**
16680
- * Create An Order
16681
- * @summary Create An Order
16682
- * @param {boolean} [readonly] Readonly Order
16683
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16684
- * @param {*} [options] Override http request option.
16685
- * @throws {RequiredError}
16686
- */
16687
- postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16688
- return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
16689
- },
16690
- /**
16691
- * Update An Order (Admin)
16692
- * @summary Update An Order (Admin)
16693
- * @param {number} id Order ID
16694
- * @param {boolean} [readonly] Readonly Order
16695
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16696
- * @param {*} [options] Override http request option.
16697
- * @throws {RequiredError}
16698
- */
16699
- putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16700
- return localVarFp.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
16701
- },
16702
- /**
16703
- * Update An Order
16704
- * @summary Update An Order
16705
- * @param {number} id Order ID
16706
- * @param {boolean} [readonly] Readonly Order
16707
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16708
- * @param {*} [options] Override http request option.
16709
- * @throws {RequiredError}
16710
- */
16711
- putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16712
- return localVarFp.putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
16713
- },
16714
15501
  };
16715
15502
  };
16716
15503
 
@@ -16723,26 +15510,13 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
16723
15510
  export class OrdersApi extends BaseAPI {
16724
15511
  /**
16725
15512
  * Delete Orders
16726
- * @summary Delete Orders
16727
- * @param {number} id Order ID
16728
- * @param {*} [options] Override http request option.
16729
- * @throws {RequiredError}
16730
- * @memberof OrdersApi
16731
- */
16732
- public deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig) {
16733
- return OrdersApiFp(this.configuration).deleteUpdateOrder(id, options).then((request) => request(this.axios, this.basePath));
16734
- }
16735
-
16736
- /**
16737
- * Get Editable Order
16738
- * @summary Get Editable Order
16739
15513
  * @param {number} id Order ID
16740
15514
  * @param {*} [options] Override http request option.
16741
15515
  * @throws {RequiredError}
16742
15516
  * @memberof OrdersApi
16743
15517
  */
16744
- public getGetEditableOrder(id: number, options?: RawAxiosRequestConfig) {
16745
- return OrdersApiFp(this.configuration).getGetEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
15518
+ public deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig) {
15519
+ return OrdersApiFp(this.configuration).deleteDeleteOrder(id, options).then((request) => request(this.axios, this.basePath));
16746
15520
  }
16747
15521
 
16748
15522
  /**
@@ -16762,60 +15536,6 @@ export class OrdersApi extends BaseAPI {
16762
15536
  public getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) {
16763
15537
  return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
16764
15538
  }
16765
-
16766
- /**
16767
- * Create An Order (Admin)
16768
- * @summary Create An Order (Admin)
16769
- * @param {boolean} [readonly] Readonly Order
16770
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16771
- * @param {*} [options] Override http request option.
16772
- * @throws {RequiredError}
16773
- * @memberof OrdersApi
16774
- */
16775
- public postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
16776
- return OrdersApiFp(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16777
- }
16778
-
16779
- /**
16780
- * Create An Order
16781
- * @summary Create An Order
16782
- * @param {boolean} [readonly] Readonly Order
16783
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16784
- * @param {*} [options] Override http request option.
16785
- * @throws {RequiredError}
16786
- * @memberof OrdersApi
16787
- */
16788
- public postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
16789
- return OrdersApiFp(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16790
- }
16791
-
16792
- /**
16793
- * Update An Order (Admin)
16794
- * @summary Update An Order (Admin)
16795
- * @param {number} id Order ID
16796
- * @param {boolean} [readonly] Readonly Order
16797
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16798
- * @param {*} [options] Override http request option.
16799
- * @throws {RequiredError}
16800
- * @memberof OrdersApi
16801
- */
16802
- public putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
16803
- return OrdersApiFp(this.configuration).putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16804
- }
16805
-
16806
- /**
16807
- * Update An Order
16808
- * @summary Update An Order
16809
- * @param {number} id Order ID
16810
- * @param {boolean} [readonly] Readonly Order
16811
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16812
- * @param {*} [options] Override http request option.
16813
- * @throws {RequiredError}
16814
- * @memberof OrdersApi
16815
- */
16816
- public putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
16817
- return OrdersApiFp(this.configuration).putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
16818
- }
16819
15539
  }
16820
15540
 
16821
15541
  /**
@@ -17196,47 +15916,13 @@ export type PostSendPriceListCategoryEnum = typeof PostSendPriceListCategoryEnum
17196
15916
  export const ProductsApiAxiosParamCreator = function (configuration?: Configuration) {
17197
15917
  return {
17198
15918
  /**
17199
- * Get Attribute Sets
17200
- * @summary Get Attribute Sets
17201
- * @param {*} [options] Override http request option.
17202
- * @throws {RequiredError}
17203
- */
17204
- getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17205
- const localVarPath = `/products/attributes`;
17206
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17207
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17208
- let baseOptions;
17209
- if (configuration) {
17210
- baseOptions = configuration.baseOptions;
17211
- }
17212
-
17213
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17214
- const localVarHeaderParameter = {} as any;
17215
- const localVarQueryParameter = {} as any;
17216
-
17217
-
17218
-
17219
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17220
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17221
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17222
-
17223
- return {
17224
- url: toPathString(localVarUrlObj),
17225
- options: localVarRequestOptions,
17226
- };
17227
- },
17228
- /**
17229
- * Get Current Stock & Pricing
17230
- * @summary Get Current Stock & Pricing
17231
- * @param {GetGetLegacyStockListFormatEnum} format File Format
15919
+ * Get Attribute Sets
15920
+ * @summary Get Attribute Sets
17232
15921
  * @param {*} [options] Override http request option.
17233
- * @deprecated
17234
15922
  * @throws {RequiredError}
17235
15923
  */
17236
- getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17237
- // verify required parameter 'format' is not null or undefined
17238
- assertParamExists('getGetLegacyStockList', 'format', format)
17239
- const localVarPath = `/products/stock/legacy`;
15924
+ getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15925
+ const localVarPath = `/products/attributes`;
17240
15926
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17241
15927
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17242
15928
  let baseOptions;
@@ -17248,10 +15934,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17248
15934
  const localVarHeaderParameter = {} as any;
17249
15935
  const localVarQueryParameter = {} as any;
17250
15936
 
17251
- if (format !== undefined) {
17252
- localVarQueryParameter['format'] = format;
17253
- }
17254
-
17255
15937
 
17256
15938
 
17257
15939
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -17264,13 +15946,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17264
15946
  };
17265
15947
  },
17266
15948
  /**
17267
- * Get Products
17268
- * @summary Get Products
15949
+ * Get Customer Price Lists
15950
+ * @summary Get Customer Price Lists
17269
15951
  * @param {*} [options] Override http request option.
17270
15952
  * @throws {RequiredError}
17271
15953
  */
17272
- getGetProducts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17273
- const localVarPath = `/products`;
15954
+ getGetCustomerPriceLists: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15955
+ const localVarPath = `/products/prices/lists`;
17274
15956
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17275
15957
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17276
15958
  let baseOptions;
@@ -17296,11 +15978,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17296
15978
  /**
17297
15979
  * Get Current Stock & Pricing
17298
15980
  * @summary Get Current Stock & Pricing
15981
+ * @param {GetGetLegacyStockListFormatEnum} format File Format
17299
15982
  * @param {*} [options] Override http request option.
15983
+ * @deprecated
17300
15984
  * @throws {RequiredError}
17301
15985
  */
17302
- getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17303
- const localVarPath = `/products/stock`;
15986
+ getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15987
+ // verify required parameter 'format' is not null or undefined
15988
+ assertParamExists('getGetLegacyStockList', 'format', format)
15989
+ const localVarPath = `/products/stock/legacy`;
17304
15990
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17305
15991
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17306
15992
  let baseOptions;
@@ -17312,36 +15998,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17312
15998
  const localVarHeaderParameter = {} as any;
17313
15999
  const localVarQueryParameter = {} as any;
17314
16000
 
17315
-
17316
-
17317
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17318
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17319
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17320
-
17321
- return {
17322
- url: toPathString(localVarUrlObj),
17323
- options: localVarRequestOptions,
17324
- };
17325
- },
17326
- /**
17327
- * Get 3CX Templates
17328
- * @summary Get 3CX Templates
17329
- * @param {*} [options] Override http request option.
17330
- * @throws {RequiredError}
17331
- */
17332
- getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17333
- const localVarPath = `/products/attributes/tcx/templates`;
17334
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17335
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17336
- let baseOptions;
17337
- if (configuration) {
17338
- baseOptions = configuration.baseOptions;
16001
+ if (format !== undefined) {
16002
+ localVarQueryParameter['format'] = format;
17339
16003
  }
17340
16004
 
17341
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17342
- const localVarHeaderParameter = {} as any;
17343
- const localVarQueryParameter = {} as any;
17344
-
17345
16005
 
17346
16006
 
17347
16007
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -17354,15 +16014,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17354
16014
  };
17355
16015
  },
17356
16016
  /**
17357
- * Search Products
17358
- * @summary Search Products
16017
+ * Get Products
16018
+ * @summary Get Products
17359
16019
  * @param {number} [pageSize] Number Of Results
17360
16020
  * @param {number} [page] Page Number
17361
16021
  * @param {string} [search] Search
17362
16022
  * @param {*} [options] Override http request option.
17363
16023
  * @throws {RequiredError}
17364
16024
  */
17365
- getSearchProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16025
+ getGetProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17366
16026
  const localVarPath = `/products/search`;
17367
16027
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17368
16028
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -17399,20 +16059,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17399
16059
  };
17400
16060
  },
17401
16061
  /**
17402
- * Get Product
17403
- * @summary Get Product
17404
- * @param {string} sku Product SKU
17405
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
16062
+ * Get Current Stock & Pricing
16063
+ * @summary Get Current Stock & Pricing
17406
16064
  * @param {*} [options] Override http request option.
17407
16065
  * @throws {RequiredError}
17408
16066
  */
17409
- postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17410
- // verify required parameter 'sku' is not null or undefined
17411
- assertParamExists('postGetProduct', 'sku', sku)
17412
- // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
17413
- assertParamExists('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
17414
- const localVarPath = `/products/{sku}`
17415
- .replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
16067
+ getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16068
+ const localVarPath = `/products/stock`;
17416
16069
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17417
16070
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17418
16071
  let baseOptions;
@@ -17420,18 +16073,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17420
16073
  baseOptions = configuration.baseOptions;
17421
16074
  }
17422
16075
 
17423
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16076
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17424
16077
  const localVarHeaderParameter = {} as any;
17425
16078
  const localVarQueryParameter = {} as any;
17426
16079
 
17427
16080
 
17428
16081
 
17429
- localVarHeaderParameter['Content-Type'] = 'application/json';
17430
-
17431
16082
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17432
16083
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17433
16084
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17434
- localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
17435
16085
 
17436
16086
  return {
17437
16087
  url: toPathString(localVarUrlObj),
@@ -17439,23 +16089,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17439
16089
  };
17440
16090
  },
17441
16091
  /**
17442
- * Get Product For Customer
17443
- * @summary Get Product For Customer
17444
- * @param {number} customerId Customer ID
17445
- * @param {string} sku Product SKU
17446
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
16092
+ * Get 3CX Templates
16093
+ * @summary Get 3CX Templates
17447
16094
  * @param {*} [options] Override http request option.
17448
16095
  * @throws {RequiredError}
17449
16096
  */
17450
- postGetProductForCustomer: async (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17451
- // verify required parameter 'customerId' is not null or undefined
17452
- assertParamExists('postGetProductForCustomer', 'customerId', customerId)
17453
- // verify required parameter 'sku' is not null or undefined
17454
- assertParamExists('postGetProductForCustomer', 'sku', sku)
17455
- // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
17456
- assertParamExists('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
17457
- const localVarPath = `/admin/products/{sku}`
17458
- .replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
16097
+ getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16098
+ const localVarPath = `/products/attributes/tcx/templates`;
17459
16099
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17460
16100
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17461
16101
  let baseOptions;
@@ -17463,22 +16103,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17463
16103
  baseOptions = configuration.baseOptions;
17464
16104
  }
17465
16105
 
17466
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16106
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17467
16107
  const localVarHeaderParameter = {} as any;
17468
16108
  const localVarQueryParameter = {} as any;
17469
16109
 
17470
- if (customerId !== undefined) {
17471
- localVarQueryParameter['customerId'] = customerId;
17472
- }
17473
-
17474
16110
 
17475
16111
 
17476
- localVarHeaderParameter['Content-Type'] = 'application/json';
17477
-
17478
16112
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17479
16113
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17480
16114
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17481
- localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
17482
16115
 
17483
16116
  return {
17484
16117
  url: toPathString(localVarUrlObj),
@@ -17507,6 +16140,18 @@ export const ProductsApiFp = function(configuration?: Configuration) {
17507
16140
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetAttributeSets']?.[localVarOperationServerIndex]?.url;
17508
16141
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17509
16142
  },
16143
+ /**
16144
+ * Get Customer Price Lists
16145
+ * @summary Get Customer Price Lists
16146
+ * @param {*} [options] Override http request option.
16147
+ * @throws {RequiredError}
16148
+ */
16149
+ async getGetCustomerPriceLists(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CustomerPriceListEnum>>> {
16150
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCustomerPriceLists(options);
16151
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16152
+ const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetCustomerPriceLists']?.[localVarOperationServerIndex]?.url;
16153
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16154
+ },
17510
16155
  /**
17511
16156
  * Get Current Stock & Pricing
17512
16157
  * @summary Get Current Stock & Pricing
@@ -17524,11 +16169,14 @@ export const ProductsApiFp = function(configuration?: Configuration) {
17524
16169
  /**
17525
16170
  * Get Products
17526
16171
  * @summary Get Products
16172
+ * @param {number} [pageSize] Number Of Results
16173
+ * @param {number} [page] Page Number
16174
+ * @param {string} [search] Search
17527
16175
  * @param {*} [options] Override http request option.
17528
16176
  * @throws {RequiredError}
17529
16177
  */
17530
- async getGetProducts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BasicProductDTO>>> {
17531
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(options);
16178
+ async getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
16179
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(pageSize, page, search, options);
17532
16180
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17533
16181
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetProducts']?.[localVarOperationServerIndex]?.url;
17534
16182
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -17557,50 +16205,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
17557
16205
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetTcxTemplates']?.[localVarOperationServerIndex]?.url;
17558
16206
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17559
16207
  },
17560
- /**
17561
- * Search Products
17562
- * @summary Search Products
17563
- * @param {number} [pageSize] Number Of Results
17564
- * @param {number} [page] Page Number
17565
- * @param {string} [search] Search
17566
- * @param {*} [options] Override http request option.
17567
- * @throws {RequiredError}
17568
- */
17569
- async getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
17570
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSearchProducts(pageSize, page, search, options);
17571
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17572
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.getSearchProducts']?.[localVarOperationServerIndex]?.url;
17573
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17574
- },
17575
- /**
17576
- * Get Product
17577
- * @summary Get Product
17578
- * @param {string} sku Product SKU
17579
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17580
- * @param {*} [options] Override http request option.
17581
- * @throws {RequiredError}
17582
- */
17583
- async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
17584
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options);
17585
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17586
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProduct']?.[localVarOperationServerIndex]?.url;
17587
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17588
- },
17589
- /**
17590
- * Get Product For Customer
17591
- * @summary Get Product For Customer
17592
- * @param {number} customerId Customer ID
17593
- * @param {string} sku Product SKU
17594
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17595
- * @param {*} [options] Override http request option.
17596
- * @throws {RequiredError}
17597
- */
17598
- async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
17599
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options);
17600
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17601
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProductForCustomer']?.[localVarOperationServerIndex]?.url;
17602
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17603
- },
17604
16208
  }
17605
16209
  };
17606
16210
 
@@ -17620,6 +16224,15 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
17620
16224
  getGetAttributeSets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeSetEnum>> {
17621
16225
  return localVarFp.getGetAttributeSets(options).then((request) => request(axios, basePath));
17622
16226
  },
16227
+ /**
16228
+ * Get Customer Price Lists
16229
+ * @summary Get Customer Price Lists
16230
+ * @param {*} [options] Override http request option.
16231
+ * @throws {RequiredError}
16232
+ */
16233
+ getGetCustomerPriceLists(options?: RawAxiosRequestConfig): AxiosPromise<Array<CustomerPriceListEnum>> {
16234
+ return localVarFp.getGetCustomerPriceLists(options).then((request) => request(axios, basePath));
16235
+ },
17623
16236
  /**
17624
16237
  * Get Current Stock & Pricing
17625
16238
  * @summary Get Current Stock & Pricing
@@ -17634,11 +16247,14 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
17634
16247
  /**
17635
16248
  * Get Products
17636
16249
  * @summary Get Products
16250
+ * @param {number} [pageSize] Number Of Results
16251
+ * @param {number} [page] Page Number
16252
+ * @param {string} [search] Search
17637
16253
  * @param {*} [options] Override http request option.
17638
16254
  * @throws {RequiredError}
17639
16255
  */
17640
- getGetProducts(options?: RawAxiosRequestConfig): AxiosPromise<Array<BasicProductDTO>> {
17641
- return localVarFp.getGetProducts(options).then((request) => request(axios, basePath));
16256
+ getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
16257
+ return localVarFp.getGetProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
17642
16258
  },
17643
16259
  /**
17644
16260
  * Get Current Stock & Pricing
@@ -17658,41 +16274,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
17658
16274
  getGetTcxTemplates(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxTemplateXmlEnum>> {
17659
16275
  return localVarFp.getGetTcxTemplates(options).then((request) => request(axios, basePath));
17660
16276
  },
17661
- /**
17662
- * Search Products
17663
- * @summary Search Products
17664
- * @param {number} [pageSize] Number Of Results
17665
- * @param {number} [page] Page Number
17666
- * @param {string} [search] Search
17667
- * @param {*} [options] Override http request option.
17668
- * @throws {RequiredError}
17669
- */
17670
- getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
17671
- return localVarFp.getSearchProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
17672
- },
17673
- /**
17674
- * Get Product
17675
- * @summary Get Product
17676
- * @param {string} sku Product SKU
17677
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17678
- * @param {*} [options] Override http request option.
17679
- * @throws {RequiredError}
17680
- */
17681
- postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
17682
- return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
17683
- },
17684
- /**
17685
- * Get Product For Customer
17686
- * @summary Get Product For Customer
17687
- * @param {number} customerId Customer ID
17688
- * @param {string} sku Product SKU
17689
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17690
- * @param {*} [options] Override http request option.
17691
- * @throws {RequiredError}
17692
- */
17693
- postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
17694
- return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
17695
- },
17696
16277
  };
17697
16278
  };
17698
16279
 
@@ -17714,6 +16295,17 @@ export class ProductsApi extends BaseAPI {
17714
16295
  return ProductsApiFp(this.configuration).getGetAttributeSets(options).then((request) => request(this.axios, this.basePath));
17715
16296
  }
17716
16297
 
16298
+ /**
16299
+ * Get Customer Price Lists
16300
+ * @summary Get Customer Price Lists
16301
+ * @param {*} [options] Override http request option.
16302
+ * @throws {RequiredError}
16303
+ * @memberof ProductsApi
16304
+ */
16305
+ public getGetCustomerPriceLists(options?: RawAxiosRequestConfig) {
16306
+ return ProductsApiFp(this.configuration).getGetCustomerPriceLists(options).then((request) => request(this.axios, this.basePath));
16307
+ }
16308
+
17717
16309
  /**
17718
16310
  * Get Current Stock & Pricing
17719
16311
  * @summary Get Current Stock & Pricing
@@ -17730,12 +16322,15 @@ export class ProductsApi extends BaseAPI {
17730
16322
  /**
17731
16323
  * Get Products
17732
16324
  * @summary Get Products
16325
+ * @param {number} [pageSize] Number Of Results
16326
+ * @param {number} [page] Page Number
16327
+ * @param {string} [search] Search
17733
16328
  * @param {*} [options] Override http request option.
17734
16329
  * @throws {RequiredError}
17735
16330
  * @memberof ProductsApi
17736
16331
  */
17737
- public getGetProducts(options?: RawAxiosRequestConfig) {
17738
- return ProductsApiFp(this.configuration).getGetProducts(options).then((request) => request(this.axios, this.basePath));
16332
+ public getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
16333
+ return ProductsApiFp(this.configuration).getGetProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
17739
16334
  }
17740
16335
 
17741
16336
  /**
@@ -17759,47 +16354,6 @@ export class ProductsApi extends BaseAPI {
17759
16354
  public getGetTcxTemplates(options?: RawAxiosRequestConfig) {
17760
16355
  return ProductsApiFp(this.configuration).getGetTcxTemplates(options).then((request) => request(this.axios, this.basePath));
17761
16356
  }
17762
-
17763
- /**
17764
- * Search Products
17765
- * @summary Search Products
17766
- * @param {number} [pageSize] Number Of Results
17767
- * @param {number} [page] Page Number
17768
- * @param {string} [search] Search
17769
- * @param {*} [options] Override http request option.
17770
- * @throws {RequiredError}
17771
- * @memberof ProductsApi
17772
- */
17773
- public getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
17774
- return ProductsApiFp(this.configuration).getSearchProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
17775
- }
17776
-
17777
- /**
17778
- * Get Product
17779
- * @summary Get Product
17780
- * @param {string} sku Product SKU
17781
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17782
- * @param {*} [options] Override http request option.
17783
- * @throws {RequiredError}
17784
- * @memberof ProductsApi
17785
- */
17786
- public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
17787
- return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
17788
- }
17789
-
17790
- /**
17791
- * Get Product For Customer
17792
- * @summary Get Product For Customer
17793
- * @param {number} customerId Customer ID
17794
- * @param {string} sku Product SKU
17795
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17796
- * @param {*} [options] Override http request option.
17797
- * @throws {RequiredError}
17798
- * @memberof ProductsApi
17799
- */
17800
- public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
17801
- return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
17802
- }
17803
16357
  }
17804
16358
 
17805
16359
  /**
@@ -18140,7 +16694,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
18140
16694
  * @param {*} [options] Override http request option.
18141
16695
  * @throws {RequiredError}
18142
16696
  */
18143
- async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningModel>>> {
16697
+ async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningEntity>>> {
18144
16698
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetGroups(id, options);
18145
16699
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18146
16700
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getGetGroups']?.[localVarOperationServerIndex]?.url;
@@ -18153,7 +16707,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
18153
16707
  * @param {*} [options] Override http request option.
18154
16708
  * @throws {RequiredError}
18155
16709
  */
18156
- async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningModel>> {
16710
+ async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningEntity>> {
18157
16711
  const localVarAxiosArgs = await localVarAxiosParamCreator.postAddFanvilGroup(provisioningRequestEntity, options);
18158
16712
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18159
16713
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilGroup']?.[localVarOperationServerIndex]?.url;
@@ -18232,7 +16786,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
18232
16786
  * @param {*} [options] Override http request option.
18233
16787
  * @throws {RequiredError}
18234
16788
  */
18235
- getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningModel>> {
16789
+ getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningEntity>> {
18236
16790
  return localVarFp.getGetGroups(id, options).then((request) => request(axios, basePath));
18237
16791
  },
18238
16792
  /**
@@ -18242,7 +16796,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
18242
16796
  * @param {*} [options] Override http request option.
18243
16797
  * @throws {RequiredError}
18244
16798
  */
18245
- postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningModel> {
16799
+ postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningEntity> {
18246
16800
  return localVarFp.postAddFanvilGroup(provisioningRequestEntity, options).then((request) => request(axios, basePath));
18247
16801
  },
18248
16802
  /**
@@ -20143,114 +18697,6 @@ export class SMSApi extends BaseAPI {
20143
18697
 
20144
18698
 
20145
18699
 
20146
- /**
20147
- * ShippingApi - axios parameter creator
20148
- * @export
20149
- */
20150
- export const ShippingApiAxiosParamCreator = function (configuration?: Configuration) {
20151
- return {
20152
- /**
20153
- * Get Shipping Services
20154
- * @summary Get Shipping Services
20155
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20156
- * @param {*} [options] Override http request option.
20157
- * @throws {RequiredError}
20158
- */
20159
- postGetShippingServices: async (shippingInformationDTO?: ShippingInformationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20160
- const localVarPath = `/shipping/services`;
20161
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
20162
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20163
- let baseOptions;
20164
- if (configuration) {
20165
- baseOptions = configuration.baseOptions;
20166
- }
20167
-
20168
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
20169
- const localVarHeaderParameter = {} as any;
20170
- const localVarQueryParameter = {} as any;
20171
-
20172
-
20173
-
20174
- localVarHeaderParameter['Content-Type'] = 'application/json';
20175
-
20176
- setSearchParams(localVarUrlObj, localVarQueryParameter);
20177
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20178
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20179
- localVarRequestOptions.data = serializeDataIfNeeded(shippingInformationDTO, localVarRequestOptions, configuration)
20180
-
20181
- return {
20182
- url: toPathString(localVarUrlObj),
20183
- options: localVarRequestOptions,
20184
- };
20185
- },
20186
- }
20187
- };
20188
-
20189
- /**
20190
- * ShippingApi - functional programming interface
20191
- * @export
20192
- */
20193
- export const ShippingApiFp = function(configuration?: Configuration) {
20194
- const localVarAxiosParamCreator = ShippingApiAxiosParamCreator(configuration)
20195
- return {
20196
- /**
20197
- * Get Shipping Services
20198
- * @summary Get Shipping Services
20199
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20200
- * @param {*} [options] Override http request option.
20201
- * @throws {RequiredError}
20202
- */
20203
- async postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingServicesModel>> {
20204
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetShippingServices(shippingInformationDTO, options);
20205
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20206
- const localVarOperationServerBasePath = operationServerMap['ShippingApi.postGetShippingServices']?.[localVarOperationServerIndex]?.url;
20207
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20208
- },
20209
- }
20210
- };
20211
-
20212
- /**
20213
- * ShippingApi - factory interface
20214
- * @export
20215
- */
20216
- export const ShippingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
20217
- const localVarFp = ShippingApiFp(configuration)
20218
- return {
20219
- /**
20220
- * Get Shipping Services
20221
- * @summary Get Shipping Services
20222
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20223
- * @param {*} [options] Override http request option.
20224
- * @throws {RequiredError}
20225
- */
20226
- postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShippingServicesModel> {
20227
- return localVarFp.postGetShippingServices(shippingInformationDTO, options).then((request) => request(axios, basePath));
20228
- },
20229
- };
20230
- };
20231
-
20232
- /**
20233
- * ShippingApi - object-oriented interface
20234
- * @export
20235
- * @class ShippingApi
20236
- * @extends {BaseAPI}
20237
- */
20238
- export class ShippingApi extends BaseAPI {
20239
- /**
20240
- * Get Shipping Services
20241
- * @summary Get Shipping Services
20242
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20243
- * @param {*} [options] Override http request option.
20244
- * @throws {RequiredError}
20245
- * @memberof ShippingApi
20246
- */
20247
- public postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig) {
20248
- return ShippingApiFp(this.configuration).postGetShippingServices(shippingInformationDTO, options).then((request) => request(this.axios, this.basePath));
20249
- }
20250
- }
20251
-
20252
-
20253
-
20254
18700
  /**
20255
18701
  * StockManagementApi - axios parameter creator
20256
18702
  * @export
@@ -21337,7 +19783,7 @@ export const StockManagementApiFp = function(configuration?: Configuration) {
21337
19783
  * @param {*} [options] Override http request option.
21338
19784
  * @throws {RequiredError}
21339
19785
  */
21340
- async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryDTO>>> {
19786
+ async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryModel>>> {
21341
19787
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockSupplierProducts(id, options);
21342
19788
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21343
19789
  const localVarOperationServerBasePath = operationServerMap['StockManagementApi.getGetStockSupplierProducts']?.[localVarOperationServerIndex]?.url;
@@ -21640,7 +20086,7 @@ export const StockManagementApiFactory = function (configuration?: Configuration
21640
20086
  * @param {*} [options] Override http request option.
21641
20087
  * @throws {RequiredError}
21642
20088
  */
21643
- getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryDTO>> {
20089
+ getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryModel>> {
21644
20090
  return localVarFp.getGetStockSupplierProducts(id, options).then((request) => request(axios, basePath));
21645
20091
  },
21646
20092
  /**