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

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 (56) hide show
  1. package/.openapi-generator/FILES +190 -209
  2. package/README.md +7 -35
  3. package/api.ts +276 -1816
  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 +156 -1318
  9. package/dist/api.js +208 -1060
  10. package/dist/base.d.ts +1 -1
  11. package/dist/base.js +1 -1
  12. package/dist/common.d.ts +1 -1
  13. package/dist/common.js +1 -1
  14. package/dist/configuration.d.ts +1 -1
  15. package/dist/configuration.js +1 -1
  16. package/dist/index.d.ts +1 -1
  17. package/dist/index.js +1 -1
  18. package/docs/AccountsApi.md +0 -103
  19. package/docs/Class3CXApi.md +55 -0
  20. package/docs/ClientDetailsModel.md +2 -0
  21. package/docs/{ShippingServicesModel.md → GetGetPasswordHash200Response.md} +5 -5
  22. package/docs/ItemDTO.md +4 -10
  23. package/docs/OrderSummaryDTO.md +0 -8
  24. package/docs/OrderTotalModel.md +0 -2
  25. package/docs/OrdersApi.md +4 -301
  26. package/docs/ProductSearchResultsModel.md +1 -1
  27. package/docs/{ProductSummaryDTO.md → ProductSummaryModel.md} +3 -5
  28. package/docs/ProductsApi.md +43 -164
  29. package/docs/ProvisioningApi.md +4 -4
  30. package/docs/{ProvisioningModel.md → ProvisioningEntity.md} +3 -3
  31. package/docs/ShipmentEntity.md +2 -2
  32. package/docs/StockManagementApi.md +2 -2
  33. package/docs/TcxBackupModel.md +2 -0
  34. package/docs/TcxSbcModel.md +1 -1
  35. package/index.ts +1 -1
  36. package/package.json +1 -1
  37. package/docs/AbstractOrderRequestDTO.md +0 -33
  38. package/docs/AccountDetailedSummaryDTO.md +0 -35
  39. package/docs/AdminItemRequestDTO.md +0 -37
  40. package/docs/AdminOrderRequestDTO.md +0 -41
  41. package/docs/AdminUserModel.md +0 -31
  42. package/docs/BasicItemDTO.md +0 -23
  43. package/docs/BasicProductDTO.md +0 -23
  44. package/docs/CourierPriceEntity.md +0 -39
  45. package/docs/CustomerItemRequestDTO.md +0 -33
  46. package/docs/CustomerOrderRequestDTO.md +0 -33
  47. package/docs/LinkedOrderEntity.md +0 -23
  48. package/docs/NavigationItemModel.md +0 -27
  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/SubNavigationItemModel.md +0 -25
  56. 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;
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,61 +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
257
  /**
362
258
  * New Account Request
363
259
  * @export
@@ -639,194 +535,6 @@ export interface AddressRequestModel {
639
535
  */
640
536
  'addressPostcode'?: string;
641
537
  }
642
- /**
643
- * Admin Order Item Request
644
- * @export
645
- * @interface AdminItemRequestDTO
646
- */
647
- export interface AdminItemRequestDTO {
648
- /**
649
- * SKU
650
- * @type {string}
651
- * @memberof AdminItemRequestDTO
652
- */
653
- 'sku'?: string;
654
- /**
655
- * Quantity
656
- * @type {number}
657
- * @memberof AdminItemRequestDTO
658
- */
659
- 'quantity'?: number;
660
- /**
661
- * ID
662
- * @type {number}
663
- * @memberof AdminItemRequestDTO
664
- */
665
- 'id'?: number | null;
666
- /**
667
- * 3CX Licence Key
668
- * @type {string}
669
- * @memberof AdminItemRequestDTO
670
- */
671
- 'licenceKey'?: string | null;
672
- /**
673
- * 3CX Hosting
674
- * @type {boolean}
675
- * @memberof AdminItemRequestDTO
676
- */
677
- 'hosting'?: boolean | null;
678
- /**
679
- * Date Time
680
- * @type {string}
681
- * @memberof AdminItemRequestDTO
682
- */
683
- 'processDate'?: string;
684
- /**
685
- * SBCS
686
- * @type {Array<TcxSbcDTO>}
687
- * @memberof AdminItemRequestDTO
688
- */
689
- 'sbcs'?: Array<TcxSbcDTO>;
690
- /**
691
- * Title
692
- * @type {string}
693
- * @memberof AdminItemRequestDTO
694
- */
695
- 'title'?: string | null;
696
- /**
697
- * Price (£)
698
- * @type {number}
699
- * @memberof AdminItemRequestDTO
700
- */
701
- 'itemPrice'?: number | null;
702
- }
703
- /**
704
- * Admin Order Request
705
- * @export
706
- * @interface AdminOrderRequestDTO
707
- */
708
- export interface AdminOrderRequestDTO {
709
- /**
710
- * Order Reference
711
- * @type {string}
712
- * @memberof AdminOrderRequestDTO
713
- */
714
- 'orderReference'?: string;
715
- /**
716
- * Items
717
- * @type {Array<AdminItemRequestDTO>}
718
- * @memberof AdminOrderRequestDTO
719
- */
720
- 'items'?: Array<AdminItemRequestDTO>;
721
- /**
722
- *
723
- * @type {ShippingServiceDTO}
724
- * @memberof AdminOrderRequestDTO
725
- */
726
- 'shippingService'?: ShippingServiceDTO;
727
- /**
728
- * Provisioning URL
729
- * @type {string}
730
- * @memberof AdminOrderRequestDTO
731
- */
732
- 'provisioningUrl'?: string | null;
733
- /**
734
- *
735
- * @type {AddressModel}
736
- * @memberof AdminOrderRequestDTO
737
- */
738
- 'shippingAddress'?: AddressModel;
739
- /**
740
- * Part Ship Order
741
- * @type {boolean}
742
- * @memberof AdminOrderRequestDTO
743
- */
744
- 'partShip'?: boolean;
745
- /**
746
- * Quote
747
- * @type {boolean}
748
- * @memberof AdminOrderRequestDTO
749
- */
750
- 'quote'?: boolean;
751
- /**
752
- * Customer ID
753
- * @type {number}
754
- * @memberof AdminOrderRequestDTO
755
- */
756
- 'customerId'?: number;
757
- /**
758
- * Ignore Customer On Hold
759
- * @type {boolean}
760
- * @memberof AdminOrderRequestDTO
761
- */
762
- 'ignoreOnHold'?: boolean;
763
- /**
764
- * Ignore Customer Credit Limit
765
- * @type {boolean}
766
- * @memberof AdminOrderRequestDTO
767
- */
768
- 'ignoreCreditLimit'?: boolean;
769
- /**
770
- * Include NFR Promos
771
- * @type {boolean}
772
- * @memberof AdminOrderRequestDTO
773
- */
774
- 'includeNfrPromos'?: boolean;
775
- }
776
- /**
777
- * Admin User
778
- * @export
779
- * @interface AdminUserModel
780
- */
781
- export interface AdminUserModel {
782
- /**
783
- * First Name
784
- * @type {string}
785
- * @memberof AdminUserModel
786
- */
787
- 'firstName'?: string;
788
- /**
789
- * Last Name
790
- * @type {string}
791
- * @memberof AdminUserModel
792
- */
793
- 'lastName'?: string;
794
- /**
795
- * Avatar
796
- * @type {string}
797
- * @memberof AdminUserModel
798
- */
799
- 'avatar'?: string | null;
800
- /**
801
- * Role
802
- * @type {number}
803
- * @memberof AdminUserModel
804
- */
805
- 'role'?: AdminUserModelRoleEnum;
806
- /**
807
- * Navigation
808
- * @type {Array<NavigationItemModel>}
809
- * @memberof AdminUserModel
810
- */
811
- 'navigation'?: Array<NavigationItemModel>;
812
- /**
813
- * Email
814
- * @type {string}
815
- * @memberof AdminUserModel
816
- */
817
- 'email'?: string | null;
818
- }
819
-
820
- export const AdminUserModelRoleEnum = {
821
- NUMBER_0: 0,
822
- NUMBER_1: 1,
823
- NUMBER_2: 2,
824
- NUMBER_3: 3,
825
- NUMBER_4: 4
826
- } as const;
827
-
828
- export type AdminUserModelRoleEnum = typeof AdminUserModelRoleEnum[keyof typeof AdminUserModelRoleEnum];
829
-
830
538
  /**
831
539
  * Agent Hours Graph
832
540
  * @export
@@ -1056,44 +764,6 @@ export interface AuthCodeResponseModel {
1056
764
  */
1057
765
  'redirect_uri'?: string | null;
1058
766
  }
1059
- /**
1060
- * Basic Order Item
1061
- * @export
1062
- * @interface BasicItemDTO
1063
- */
1064
- export interface BasicItemDTO {
1065
- /**
1066
- * SKU
1067
- * @type {string}
1068
- * @memberof BasicItemDTO
1069
- */
1070
- 'sku'?: string;
1071
- /**
1072
- * Quantity
1073
- * @type {number}
1074
- * @memberof BasicItemDTO
1075
- */
1076
- 'quantity'?: number;
1077
- }
1078
- /**
1079
- * Basic Product
1080
- * @export
1081
- * @interface BasicProductDTO
1082
- */
1083
- export interface BasicProductDTO {
1084
- /**
1085
- * SKU
1086
- * @type {string}
1087
- * @memberof BasicProductDTO
1088
- */
1089
- 'sku'?: string;
1090
- /**
1091
- * Title
1092
- * @type {string}
1093
- * @memberof BasicProductDTO
1094
- */
1095
- 'title'?: string;
1096
- }
1097
767
  /**
1098
768
  * BatchesEntity
1099
769
  * @export
@@ -1288,6 +958,12 @@ export interface ClientDetailsModel {
1288
958
  * @memberof ClientDetailsModel
1289
959
  */
1290
960
  'lastName'?: string;
961
+ /**
962
+ * User Profile Picture
963
+ * @type {string}
964
+ * @memberof ClientDetailsModel
965
+ */
966
+ 'image'?: string | null;
1291
967
  }
1292
968
  /**
1293
969
  * OAuth client details
@@ -1449,73 +1125,6 @@ export interface ConversationModel {
1449
1125
  */
1450
1126
  'attachments'?: Array<AttachmentModel>;
1451
1127
  }
1452
- /**
1453
- * CourierPricesEntity
1454
- * @export
1455
- * @interface CourierPriceEntity
1456
- */
1457
- export interface CourierPriceEntity {
1458
- /**
1459
- * id
1460
- * @type {number}
1461
- * @memberof CourierPriceEntity
1462
- */
1463
- 'id'?: number;
1464
- /**
1465
- * courier
1466
- * @type {string}
1467
- * @memberof CourierPriceEntity
1468
- */
1469
- 'courier'?: string;
1470
- /**
1471
- * destinationIso
1472
- * @type {string}
1473
- * @memberof CourierPriceEntity
1474
- */
1475
- 'destinationIso'?: string;
1476
- /**
1477
- * serviceDescription
1478
- * @type {string}
1479
- * @memberof CourierPriceEntity
1480
- */
1481
- 'serviceDescription'?: string;
1482
- /**
1483
- * flatRate
1484
- * @type {number}
1485
- * @memberof CourierPriceEntity
1486
- */
1487
- 'flatRate'?: number;
1488
- /**
1489
- * initialBox
1490
- * @type {number}
1491
- * @memberof CourierPriceEntity
1492
- */
1493
- 'initialBox'?: number;
1494
- /**
1495
- * initialKg
1496
- * @type {number}
1497
- * @memberof CourierPriceEntity
1498
- */
1499
- 'initialKg'?: number;
1500
- /**
1501
- * perBox
1502
- * @type {number}
1503
- * @memberof CourierPriceEntity
1504
- */
1505
- 'perBox'?: number;
1506
- /**
1507
- * perKg
1508
- * @type {number}
1509
- * @memberof CourierPriceEntity
1510
- */
1511
- 'perKg'?: number;
1512
- /**
1513
- * maxKg
1514
- * @type {number}
1515
- * @memberof CourierPriceEntity
1516
- */
1517
- 'maxKg'?: number;
1518
- }
1519
1128
  /**
1520
1129
  * Credit Account
1521
1130
  * @export
@@ -1699,107 +1308,9 @@ export interface CustomerInformationModel {
1699
1308
  'contactLastName'?: string;
1700
1309
  }
1701
1310
  /**
1702
- * Order Item Request
1311
+ * Customer Price List
1703
1312
  * @export
1704
- * @interface CustomerItemRequestDTO
1705
- */
1706
- export interface CustomerItemRequestDTO {
1707
- /**
1708
- * SKU
1709
- * @type {string}
1710
- * @memberof CustomerItemRequestDTO
1711
- */
1712
- 'sku'?: string;
1713
- /**
1714
- * Quantity
1715
- * @type {number}
1716
- * @memberof CustomerItemRequestDTO
1717
- */
1718
- 'quantity'?: number;
1719
- /**
1720
- * ID
1721
- * @type {number}
1722
- * @memberof CustomerItemRequestDTO
1723
- */
1724
- 'id'?: number | null;
1725
- /**
1726
- * 3CX Licence Key
1727
- * @type {string}
1728
- * @memberof CustomerItemRequestDTO
1729
- */
1730
- 'licenceKey'?: string | null;
1731
- /**
1732
- * 3CX Hosting
1733
- * @type {boolean}
1734
- * @memberof CustomerItemRequestDTO
1735
- */
1736
- 'hosting'?: boolean | null;
1737
- /**
1738
- * Date Time
1739
- * @type {string}
1740
- * @memberof CustomerItemRequestDTO
1741
- */
1742
- 'processDate'?: string;
1743
- /**
1744
- * SBCS
1745
- * @type {Array<TcxSbcDTO>}
1746
- * @memberof CustomerItemRequestDTO
1747
- */
1748
- 'sbcs'?: Array<TcxSbcDTO>;
1749
- }
1750
- /**
1751
- * Order Request
1752
- * @export
1753
- * @interface CustomerOrderRequestDTO
1754
- */
1755
- export interface CustomerOrderRequestDTO {
1756
- /**
1757
- * Order Reference
1758
- * @type {string}
1759
- * @memberof CustomerOrderRequestDTO
1760
- */
1761
- 'orderReference'?: string;
1762
- /**
1763
- * Items
1764
- * @type {Array<CustomerItemRequestDTO>}
1765
- * @memberof CustomerOrderRequestDTO
1766
- */
1767
- 'items'?: Array<CustomerItemRequestDTO>;
1768
- /**
1769
- *
1770
- * @type {ShippingServiceDTO}
1771
- * @memberof CustomerOrderRequestDTO
1772
- */
1773
- 'shippingService'?: ShippingServiceDTO;
1774
- /**
1775
- * Provisioning URL
1776
- * @type {string}
1777
- * @memberof CustomerOrderRequestDTO
1778
- */
1779
- 'provisioningUrl'?: string | null;
1780
- /**
1781
- *
1782
- * @type {AddressModel}
1783
- * @memberof CustomerOrderRequestDTO
1784
- */
1785
- 'shippingAddress'?: AddressModel;
1786
- /**
1787
- * Part Ship Order
1788
- * @type {boolean}
1789
- * @memberof CustomerOrderRequestDTO
1790
- */
1791
- 'partShip'?: boolean;
1792
- /**
1793
- * Quote
1794
- * @type {boolean}
1795
- * @memberof CustomerOrderRequestDTO
1796
- */
1797
- 'quote'?: boolean;
1798
- }
1799
- /**
1800
- * Customer Price List
1801
- * @export
1802
- * @interface CustomerPriceListEnum
1313
+ * @interface CustomerPriceListEnum
1803
1314
  */
1804
1315
  export interface CustomerPriceListEnum {
1805
1316
  /**
@@ -2305,6 +1816,19 @@ export interface GenericFileModel {
2305
1816
  */
2306
1817
  'type'?: string;
2307
1818
  }
1819
+ /**
1820
+ *
1821
+ * @export
1822
+ * @interface GetGetPasswordHash200Response
1823
+ */
1824
+ export interface GetGetPasswordHash200Response {
1825
+ /**
1826
+ *
1827
+ * @type {string}
1828
+ * @memberof GetGetPasswordHash200Response
1829
+ */
1830
+ 'hash'?: string;
1831
+ }
2308
1832
  /**
2309
1833
  *
2310
1834
  * @export
@@ -2865,36 +2389,36 @@ export interface InstanceUserCredentialsEntity {
2865
2389
  * @interface ItemDTO
2866
2390
  */
2867
2391
  export interface ItemDTO {
2868
- /**
2869
- * SKU
2870
- * @type {string}
2871
- * @memberof ItemDTO
2872
- */
2873
- 'sku'?: string;
2874
- /**
2875
- * Quantity
2876
- * @type {number}
2877
- * @memberof ItemDTO
2878
- */
2879
- 'quantity'?: number;
2880
2392
  /**
2881
2393
  * ID
2882
2394
  * @type {number}
2883
2395
  * @memberof ItemDTO
2884
2396
  */
2885
- 'id'?: number | null;
2397
+ 'id'?: number;
2886
2398
  /**
2887
2399
  * Order ID
2888
2400
  * @type {number}
2889
2401
  * @memberof ItemDTO
2890
2402
  */
2891
- 'orderId'?: number | null;
2403
+ 'orderId'?: number;
2892
2404
  /**
2893
2405
  * Title
2894
2406
  * @type {string}
2895
2407
  * @memberof ItemDTO
2896
2408
  */
2897
2409
  'title'?: string;
2410
+ /**
2411
+ * SKU
2412
+ * @type {string}
2413
+ * @memberof ItemDTO
2414
+ */
2415
+ 'sku'?: string;
2416
+ /**
2417
+ * Quantity
2418
+ * @type {number}
2419
+ * @memberof ItemDTO
2420
+ */
2421
+ 'quantity'?: number;
2898
2422
  /**
2899
2423
  * Price
2900
2424
  * @type {number}
@@ -2919,12 +2443,6 @@ export interface ItemDTO {
2919
2443
  * @memberof ItemDTO
2920
2444
  */
2921
2445
  'processDate'?: string;
2922
- /**
2923
- * 3CX Hosting
2924
- * @type {boolean}
2925
- * @memberof ItemDTO
2926
- */
2927
- 'hosting'?: boolean | null;
2928
2446
  /**
2929
2447
  * Promo Item
2930
2448
  * @type {boolean}
@@ -2936,19 +2454,7 @@ export interface ItemDTO {
2936
2454
  * @type {number}
2937
2455
  * @memberof ItemDTO
2938
2456
  */
2939
- 'refunded'?: number | null;
2940
- /**
2941
- * SBCs
2942
- * @type {Array<TcxSbcDTO>}
2943
- * @memberof ItemDTO
2944
- */
2945
- 'sbcs'?: Array<TcxSbcDTO> | null;
2946
- /**
2947
- * Readonly
2948
- * @type {boolean}
2949
- * @memberof ItemDTO
2950
- */
2951
- 'readonly'?: boolean;
2457
+ 'refunded'?: number;
2952
2458
  }
2953
2459
  /**
2954
2460
  * ItemsEntity
@@ -3083,25 +2589,6 @@ export interface ItemEntity {
3083
2589
  */
3084
2590
  'promoItem'?: number;
3085
2591
  }
3086
- /**
3087
- * LinkedOrdersEntity
3088
- * @export
3089
- * @interface LinkedOrderEntity
3090
- */
3091
- export interface LinkedOrderEntity {
3092
- /**
3093
- * orderId
3094
- * @type {number}
3095
- * @memberof LinkedOrderEntity
3096
- */
3097
- 'orderId'?: number;
3098
- /**
3099
- * linkedOrderId
3100
- * @type {number}
3101
- * @memberof LinkedOrderEntity
3102
- */
3103
- 'linkedOrderId'?: number;
3104
- }
3105
2592
  /**
3106
2593
  * MFA Required
3107
2594
  * @export
@@ -3191,37 +2678,6 @@ export const MultiTenantChangeResponseModelTypeEnum = {
3191
2678
 
3192
2679
  export type MultiTenantChangeResponseModelTypeEnum = typeof MultiTenantChangeResponseModelTypeEnum[keyof typeof MultiTenantChangeResponseModelTypeEnum];
3193
2680
 
3194
- /**
3195
- * POPS Navigation Item
3196
- * @export
3197
- * @interface NavigationItemModel
3198
- */
3199
- export interface NavigationItemModel {
3200
- /**
3201
- * Title
3202
- * @type {string}
3203
- * @memberof NavigationItemModel
3204
- */
3205
- 'title'?: string;
3206
- /**
3207
- * URL
3208
- * @type {string}
3209
- * @memberof NavigationItemModel
3210
- */
3211
- 'url'?: string | null;
3212
- /**
3213
- * Icon (Font Awesome)
3214
- * @type {string}
3215
- * @memberof NavigationItemModel
3216
- */
3217
- 'icon'?: string;
3218
- /**
3219
- * Sub Navigation
3220
- * @type {Array<SubNavigationItemModel>}
3221
- * @memberof NavigationItemModel
3222
- */
3223
- 'items'?: Array<SubNavigationItemModel>;
3224
- }
3225
2681
  /**
3226
2682
  * Navigation Endpoint
3227
2683
  * @export
@@ -3799,12 +3255,6 @@ export interface OrderSummaryDTO {
3799
3255
  * @memberof OrderSummaryDTO
3800
3256
  */
3801
3257
  'invoiceNumber'?: string;
3802
- /**
3803
- * Invoice ID
3804
- * @type {string}
3805
- * @memberof OrderSummaryDTO
3806
- */
3807
- 'invoiceId'?: string | null;
3808
3258
  /**
3809
3259
  * Date Time
3810
3260
  * @type {string}
@@ -3859,24 +3309,6 @@ export interface OrderSummaryDTO {
3859
3309
  * @memberof OrderSummaryDTO
3860
3310
  */
3861
3311
  'fulfillable'?: boolean | null;
3862
- /**
3863
- * Provisioning URL
3864
- * @type {string}
3865
- * @memberof OrderSummaryDTO
3866
- */
3867
- 'provisioningUrl'?: string | null;
3868
- /**
3869
- *
3870
- * @type {ShippingServiceDTO}
3871
- * @memberof OrderSummaryDTO
3872
- */
3873
- 'shippingService'?: ShippingServiceDTO | null;
3874
- /**
3875
- * Readonly
3876
- * @type {boolean}
3877
- * @memberof OrderSummaryDTO
3878
- */
3879
- 'readonly'?: boolean;
3880
3312
  }
3881
3313
  /**
3882
3314
  * Order Totals
@@ -3926,12 +3358,6 @@ export interface OrderTotalModel {
3926
3358
  * @memberof OrderTotalModel
3927
3359
  */
3928
3360
  'currency'?: OrderTotalModelCurrencyEnum;
3929
- /**
3930
- * Delivery
3931
- * @type {number}
3932
- * @memberof OrderTotalModel
3933
- */
3934
- 'delivery'?: number | null;
3935
3361
  }
3936
3362
 
3937
3363
  export const OrderTotalModelCurrencyEnum = {
@@ -4313,31 +3739,6 @@ export interface PostGetClientCredentialsRequest {
4313
3739
  */
4314
3740
  'scopes'?: Array<string>;
4315
3741
  }
4316
- /**
4317
- *
4318
- * @export
4319
- * @interface PostGetProductForCustomerRequest
4320
- */
4321
- export interface PostGetProductForCustomerRequest {
4322
- /**
4323
- * Quantity
4324
- * @type {number}
4325
- * @memberof PostGetProductForCustomerRequest
4326
- */
4327
- 'quantity'?: number | null;
4328
- /**
4329
- * 3CX Licence Key
4330
- * @type {string}
4331
- * @memberof PostGetProductForCustomerRequest
4332
- */
4333
- 'licenceKey'?: string | null;
4334
- /**
4335
- * 3CX Hosting
4336
- * @type {boolean}
4337
- * @memberof PostGetProductForCustomerRequest
4338
- */
4339
- 'hosting'?: boolean | null;
4340
- }
4341
3742
  /**
4342
3743
  * Price & Stock List
4343
3744
  * @export
@@ -4426,10 +3827,10 @@ export interface PrizesEntity {
4426
3827
  export interface ProductSearchResultsModel {
4427
3828
  /**
4428
3829
  * Results
4429
- * @type {Array<ProductSummaryDTO>}
3830
+ * @type {Array<ProductSummaryModel>}
4430
3831
  * @memberof ProductSearchResultsModel
4431
3832
  */
4432
- 'results'?: Array<ProductSummaryDTO>;
3833
+ 'results'?: Array<ProductSummaryModel>;
4433
3834
  }
4434
3835
  /**
4435
3836
  * Product Serial Info
@@ -4465,51 +3866,45 @@ export interface ProductSerialInfoModel {
4465
3866
  /**
4466
3867
  * Product Summary
4467
3868
  * @export
4468
- * @interface ProductSummaryDTO
3869
+ * @interface ProductSummaryModel
4469
3870
  */
4470
- export interface ProductSummaryDTO {
3871
+ export interface ProductSummaryModel {
4471
3872
  /**
4472
3873
  * SKU
4473
3874
  * @type {string}
4474
- * @memberof ProductSummaryDTO
3875
+ * @memberof ProductSummaryModel
4475
3876
  */
4476
3877
  'sku'?: string;
4477
3878
  /**
4478
3879
  * Title
4479
3880
  * @type {string}
4480
- * @memberof ProductSummaryDTO
3881
+ * @memberof ProductSummaryModel
4481
3882
  */
4482
3883
  'title'?: string;
4483
3884
  /**
4484
3885
  * Stock Quantity
4485
3886
  * @type {number}
4486
- * @memberof ProductSummaryDTO
3887
+ * @memberof ProductSummaryModel
4487
3888
  */
4488
3889
  'quantity'?: number | null;
4489
3890
  /**
4490
3891
  * Stock Product
4491
3892
  * @type {boolean}
4492
- * @memberof ProductSummaryDTO
3893
+ * @memberof ProductSummaryModel
4493
3894
  */
4494
3895
  'stockProduct'?: boolean;
4495
3896
  /**
4496
3897
  * Price
4497
3898
  * @type {number}
4498
- * @memberof ProductSummaryDTO
3899
+ * @memberof ProductSummaryModel
4499
3900
  */
4500
3901
  'price'?: number | null;
4501
3902
  /**
4502
3903
  * Carton Size
4503
3904
  * @type {number}
4504
- * @memberof ProductSummaryDTO
3905
+ * @memberof ProductSummaryModel
4505
3906
  */
4506
3907
  'cartonSize'?: number | null;
4507
- /**
4508
- * RRP Price
4509
- * @type {number}
4510
- * @memberof ProductSummaryDTO
4511
- */
4512
- 'rrp'?: number | null;
4513
3908
  }
4514
3909
  /**
4515
3910
  * PromoCodesEntity
@@ -4648,37 +4043,37 @@ export interface PromoItemsEntity {
4648
4043
  /**
4649
4044
  * Provisioning Group
4650
4045
  * @export
4651
- * @interface ProvisioningModel
4046
+ * @interface ProvisioningEntity
4652
4047
  */
4653
- export interface ProvisioningModel {
4048
+ export interface ProvisioningEntity {
4654
4049
  /**
4655
4050
  * Provisioning Group Name
4656
4051
  * @type {string}
4657
- * @memberof ProvisioningModel
4052
+ * @memberof ProvisioningEntity
4658
4053
  */
4659
4054
  'groupName'?: string;
4660
4055
  /**
4661
4056
  * Provisioning URL (Static Provisioning Server)
4662
4057
  * @type {string}
4663
- * @memberof ProvisioningModel
4058
+ * @memberof ProvisioningEntity
4664
4059
  */
4665
4060
  'provisioningUrl'?: string;
4666
4061
  /**
4667
4062
  * Additional Authentication Secret
4668
4063
  * @type {string}
4669
- * @memberof ProvisioningModel
4064
+ * @memberof ProvisioningEntity
4670
4065
  */
4671
4066
  'auth'?: string;
4672
4067
  /**
4673
4068
  * Provisioning Group ID
4674
4069
  * @type {number}
4675
- * @memberof ProvisioningModel
4070
+ * @memberof ProvisioningEntity
4676
4071
  */
4677
4072
  'id'?: number;
4678
4073
  /**
4679
4074
  * Owner ID
4680
4075
  * @type {number}
4681
- * @memberof ProvisioningModel
4076
+ * @memberof ProvisioningEntity
4682
4077
  */
4683
4078
  'customerId'?: number;
4684
4079
  }
@@ -4951,7 +4346,7 @@ export interface ShipmentEntity {
4951
4346
  * @type {string}
4952
4347
  * @memberof ShipmentEntity
4953
4348
  */
4954
- 'dateShipped'?: string;
4349
+ 'date'?: string;
4955
4350
  /**
4956
4351
  * requestDate
4957
4352
  * @type {string}
@@ -5003,221 +4398,72 @@ export interface ShipmentItemEntity {
5003
4398
  'itemId'?: string;
5004
4399
  }
5005
4400
  /**
5006
- *
4401
+ * Change Response
5007
4402
  * @export
5008
- * @interface ShippingConsignmentModel
4403
+ * @interface SipTrunkChangeResponseModel
5009
4404
  */
5010
- export interface ShippingConsignmentModel {
5011
- /**
5012
- *
5013
- * @type {ShippingServiceModel}
5014
- * @memberof ShippingConsignmentModel
5015
- */
5016
- 'service'?: ShippingServiceModel;
5017
- /**
5018
- * ID/Number
5019
- * @type {string}
5020
- * @memberof ShippingConsignmentModel
5021
- */
5022
- 'id'?: string;
4405
+ export interface SipTrunkChangeResponseModel {
5023
4406
  /**
5024
- * Tracking Number
4407
+ * ID
5025
4408
  * @type {string}
5026
- * @memberof ShippingConsignmentModel
5027
- */
5028
- 'trackingNumber'?: string;
5029
- /**
5030
- * Parcels
5031
- * @type {Array<string>}
5032
- * @memberof ShippingConsignmentModel
5033
- */
5034
- 'parcelIds'?: Array<string>;
5035
- }
5036
- /**
5037
- * Shipping Information
5038
- * @export
5039
- * @interface ShippingInformationDTO
5040
- */
5041
- export interface ShippingInformationDTO {
5042
- /**
5043
- * Items
5044
- * @type {Array<BasicItemDTO>}
5045
- * @memberof ShippingInformationDTO
4409
+ * @memberof SipTrunkChangeResponseModel
5046
4410
  */
5047
- 'items'?: Array<BasicItemDTO>;
4411
+ 'changeId'?: string;
5048
4412
  /**
5049
- * Destination Post Code
5050
- * @type {string}
5051
- * @memberof ShippingInformationDTO
4413
+ *
4414
+ * @type {SipTrunkEntity}
4415
+ * @memberof SipTrunkChangeResponseModel
5052
4416
  */
5053
- 'postalCode'?: string;
4417
+ 'trunk'?: SipTrunkEntity;
5054
4418
  /**
5055
- * Destination ISO
4419
+ * Type
5056
4420
  * @type {string}
5057
- * @memberof ShippingInformationDTO
4421
+ * @memberof SipTrunkChangeResponseModel
5058
4422
  */
5059
- 'iso'?: string;
5060
- }
5061
- /**
5062
- * Shipping Service
5063
- * @export
5064
- * @interface ShippingServiceDTO
5065
- */
5066
- export interface ShippingServiceDTO {
4423
+ 'type'?: SipTrunkChangeResponseModelTypeEnum;
5067
4424
  /**
5068
- * Courier
5069
- * @type {string}
5070
- * @memberof ShippingServiceDTO
4425
+ * Progress
4426
+ * @type {number}
4427
+ * @memberof SipTrunkChangeResponseModel
5071
4428
  */
5072
- 'courier'?: ShippingServiceDTOCourierEnum;
4429
+ 'progress'?: number;
5073
4430
  /**
5074
- * Service Name
5075
- * @type {string}
5076
- * @memberof ShippingServiceDTO
4431
+ * Service Provider
4432
+ * @type {number}
4433
+ * @memberof SipTrunkChangeResponseModel
5077
4434
  */
5078
- 'serviceName'?: string;
4435
+ 'provider'?: number;
5079
4436
  }
5080
4437
 
5081
- export const ShippingServiceDTOCourierEnum = {
5082
- Dpd: 'DPD',
5083
- ChorltonPallet: 'Chorlton Pallet',
5084
- Pops: 'POPS'
4438
+ export const SipTrunkChangeResponseModelTypeEnum = {
4439
+ NewTrunk: 'New Trunk',
4440
+ AvailableTrunk: 'Available Trunk',
4441
+ MainTrunkNumber: 'Main Trunk Number',
4442
+ Divert: 'Divert',
4443
+ NewDdi: 'New DDI',
4444
+ CompanyName: 'Company Name',
4445
+ CliFlexibility: 'CLI Flexibility',
4446
+ ChannelCount: 'Channel Count',
4447
+ Cease: 'Cease',
4448
+ PbxIpAddress: 'PBX IP Address',
4449
+ Address: 'Address',
4450
+ BulkEndpointDetails: 'Bulk Endpoint Details',
4451
+ Fraud: 'Fraud',
4452
+ CallBarring: 'Call Barring'
5085
4453
  } as const;
5086
4454
 
5087
- export type ShippingServiceDTOCourierEnum = typeof ShippingServiceDTOCourierEnum[keyof typeof ShippingServiceDTOCourierEnum];
4455
+ export type SipTrunkChangeResponseModelTypeEnum = typeof SipTrunkChangeResponseModelTypeEnum[keyof typeof SipTrunkChangeResponseModelTypeEnum];
5088
4456
 
5089
4457
  /**
5090
- * Shipping Service
4458
+ * SIP Trunk Request
5091
4459
  * @export
5092
- * @interface ShippingServiceModel
4460
+ * @interface SipTrunkCreationRequestModel
5093
4461
  */
5094
- export interface ShippingServiceModel {
4462
+ export interface SipTrunkCreationRequestModel {
5095
4463
  /**
5096
- * Courier
5097
- * @type {string}
5098
- * @memberof ShippingServiceModel
5099
- */
5100
- 'courier'?: ShippingServiceModelCourierEnum;
5101
- /**
5102
- * Code
5103
- * @type {string}
5104
- * @memberof ShippingServiceModel
5105
- */
5106
- 'code'?: string;
5107
- /**
5108
- * Name
5109
- * @type {string}
5110
- * @memberof ShippingServiceModel
5111
- */
5112
- 'name'?: string;
5113
- /**
5114
- * Description
5115
- * @type {string}
5116
- * @memberof ShippingServiceModel
5117
- */
5118
- 'description'?: string;
5119
- /**
5120
- * Label
5121
- * @type {string}
5122
- * @memberof ShippingServiceModel
5123
- */
5124
- 'label'?: string | null;
5125
- /**
5126
- * Price
5127
- * @type {number}
5128
- * @memberof ShippingServiceModel
5129
- */
5130
- 'price'?: number | null;
5131
- }
5132
-
5133
- export const ShippingServiceModelCourierEnum = {
5134
- Dpd: 'DPD',
5135
- ChorltonPallet: 'Chorlton Pallet',
5136
- Pops: 'POPS'
5137
- } as const;
5138
-
5139
- export type ShippingServiceModelCourierEnum = typeof ShippingServiceModelCourierEnum[keyof typeof ShippingServiceModelCourierEnum];
5140
-
5141
- /**
5142
- *
5143
- * @export
5144
- * @interface ShippingServicesModel
5145
- */
5146
- export interface ShippingServicesModel {
5147
- /**
5148
- * Services
5149
- * @type {Array<ShippingServiceModel>}
5150
- * @memberof ShippingServicesModel
5151
- */
5152
- 'services'?: Array<ShippingServiceModel>;
5153
- }
5154
- /**
5155
- * Change Response
5156
- * @export
5157
- * @interface SipTrunkChangeResponseModel
5158
- */
5159
- export interface SipTrunkChangeResponseModel {
5160
- /**
5161
- * ID
5162
- * @type {string}
5163
- * @memberof SipTrunkChangeResponseModel
5164
- */
5165
- 'changeId'?: string;
5166
- /**
5167
- *
5168
- * @type {SipTrunkEntity}
5169
- * @memberof SipTrunkChangeResponseModel
5170
- */
5171
- 'trunk'?: SipTrunkEntity;
5172
- /**
5173
- * Type
5174
- * @type {string}
5175
- * @memberof SipTrunkChangeResponseModel
5176
- */
5177
- 'type'?: SipTrunkChangeResponseModelTypeEnum;
5178
- /**
5179
- * Progress
5180
- * @type {number}
5181
- * @memberof SipTrunkChangeResponseModel
5182
- */
5183
- 'progress'?: number;
5184
- /**
5185
- * Service Provider
5186
- * @type {number}
5187
- * @memberof SipTrunkChangeResponseModel
5188
- */
5189
- 'provider'?: number;
5190
- }
5191
-
5192
- export const SipTrunkChangeResponseModelTypeEnum = {
5193
- NewTrunk: 'New Trunk',
5194
- AvailableTrunk: 'Available Trunk',
5195
- MainTrunkNumber: 'Main Trunk Number',
5196
- Divert: 'Divert',
5197
- NewDdi: 'New DDI',
5198
- CompanyName: 'Company Name',
5199
- CliFlexibility: 'CLI Flexibility',
5200
- ChannelCount: 'Channel Count',
5201
- Cease: 'Cease',
5202
- PbxIpAddress: 'PBX IP Address',
5203
- Address: 'Address',
5204
- BulkEndpointDetails: 'Bulk Endpoint Details',
5205
- Fraud: 'Fraud',
5206
- CallBarring: 'Call Barring'
5207
- } as const;
5208
-
5209
- export type SipTrunkChangeResponseModelTypeEnum = typeof SipTrunkChangeResponseModelTypeEnum[keyof typeof SipTrunkChangeResponseModelTypeEnum];
5210
-
5211
- /**
5212
- * SIP Trunk Request
5213
- * @export
5214
- * @interface SipTrunkCreationRequestModel
5215
- */
5216
- export interface SipTrunkCreationRequestModel {
5217
- /**
5218
- *
5219
- * @type {CustomerInformationModel}
5220
- * @memberof SipTrunkCreationRequestModel
4464
+ *
4465
+ * @type {CustomerInformationModel}
4466
+ * @memberof SipTrunkCreationRequestModel
5221
4467
  */
5222
4468
  'customer'?: CustomerInformationModel;
5223
4469
  /**
@@ -6572,31 +5818,6 @@ export interface StockTransactionsEntity {
6572
5818
  */
6573
5819
  'user'?: number;
6574
5820
  }
6575
- /**
6576
- * POPS Sub Navigation Item
6577
- * @export
6578
- * @interface SubNavigationItemModel
6579
- */
6580
- export interface SubNavigationItemModel {
6581
- /**
6582
- * Title
6583
- * @type {string}
6584
- * @memberof SubNavigationItemModel
6585
- */
6586
- 'title'?: string;
6587
- /**
6588
- * URL
6589
- * @type {string}
6590
- * @memberof SubNavigationItemModel
6591
- */
6592
- 'url'?: string;
6593
- /**
6594
- * Icon (Font Awesome)
6595
- * @type {string}
6596
- * @memberof SubNavigationItemModel
6597
- */
6598
- 'icon'?: string | null;
6599
- }
6600
5821
  /**
6601
5822
  * SuppliersEntity
6602
5823
  * @export
@@ -6888,6 +6109,12 @@ export interface TcxBackupModel {
6888
6109
  * @memberof TcxBackupModel
6889
6110
  */
6890
6111
  'phone'?: string | null;
6112
+ /**
6113
+ * Company Name
6114
+ * @type {string}
6115
+ * @memberof TcxBackupModel
6116
+ */
6117
+ 'companyName'?: string | null;
6891
6118
  }
6892
6119
  /**
6893
6120
  * TcxBillingEntity
@@ -7978,49 +7205,6 @@ export interface TcxPhonesEntity {
7978
7205
  */
7979
7206
  'sbcId'?: string;
7980
7207
  }
7981
- /**
7982
- * SBC Data
7983
- * @export
7984
- * @interface TcxSbcDTO
7985
- */
7986
- export interface TcxSbcDTO {
7987
- /**
7988
- * LAN IP Address
7989
- * @type {string}
7990
- * @memberof TcxSbcDTO
7991
- */
7992
- 'ipAddress'?: string;
7993
- /**
7994
- * LAN Default Gateway
7995
- * @type {string}
7996
- * @memberof TcxSbcDTO
7997
- */
7998
- 'defaultGateway'?: string;
7999
- /**
8000
- * LAN Subnet Mask
8001
- * @type {string}
8002
- * @memberof TcxSbcDTO
8003
- */
8004
- 'netmask'?: string;
8005
- /**
8006
- * DNS
8007
- * @type {string}
8008
- * @memberof TcxSbcDTO
8009
- */
8010
- 'dns'?: string;
8011
- /**
8012
- * 3CX URL
8013
- * @type {string}
8014
- * @memberof TcxSbcDTO
8015
- */
8016
- 'tcxUrl'?: string;
8017
- /**
8018
- * 3CX SBC Key
8019
- * @type {string}
8020
- * @memberof TcxSbcDTO
8021
- */
8022
- 'tcxKey'?: string;
8023
- }
8024
7208
  /**
8025
7209
  * 3CX Wizard SBC
8026
7210
  * @export
@@ -8125,7 +7309,7 @@ export interface TcxSbcEntity {
8125
7309
  'technicalContact'?: string;
8126
7310
  }
8127
7311
  /**
8128
- * 3CX Wizard SBC
7312
+ * 3CX SBC Model
8129
7313
  * @export
8130
7314
  * @interface TcxSbcModel
8131
7315
  */
@@ -9297,40 +8481,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
9297
8481
 
9298
8482
 
9299
8483
 
9300
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9301
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9302
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9303
-
9304
- return {
9305
- url: toPathString(localVarUrlObj),
9306
- options: localVarRequestOptions,
9307
- };
9308
- },
9309
- /**
9310
- * Get Account Detailed Summary
9311
- * @summary Get Account Detailed Summary
9312
- * @param {number} id Customer ID
9313
- * @param {*} [options] Override http request option.
9314
- * @throws {RequiredError}
9315
- */
9316
- getGetAccountDetailedSummary: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9317
- // verify required parameter 'id' is not null or undefined
9318
- assertParamExists('getGetAccountDetailedSummary', 'id', id)
9319
- const localVarPath = `/accounts/{id}/summary`
9320
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9321
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9322
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9323
- let baseOptions;
9324
- if (configuration) {
9325
- baseOptions = configuration.baseOptions;
9326
- }
9327
-
9328
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9329
- const localVarHeaderParameter = {} as any;
9330
- const localVarQueryParameter = {} as any;
9331
-
9332
-
9333
-
9334
8484
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9335
8485
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9336
8486
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -9629,36 +8779,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
9629
8779
  options: localVarRequestOptions,
9630
8780
  };
9631
8781
  },
9632
- /**
9633
- * Get Admin Account
9634
- * @summary Get Admin Account
9635
- * @param {*} [options] Override http request option.
9636
- * @throws {RequiredError}
9637
- */
9638
- postGetAdminAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9639
- const localVarPath = `/admin/me`;
9640
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9641
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9642
- let baseOptions;
9643
- if (configuration) {
9644
- baseOptions = configuration.baseOptions;
9645
- }
9646
-
9647
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9648
- const localVarHeaderParameter = {} as any;
9649
- const localVarQueryParameter = {} as any;
9650
-
9651
-
9652
-
9653
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9654
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9655
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9656
-
9657
- return {
9658
- url: toPathString(localVarUrlObj),
9659
- options: localVarRequestOptions,
9660
- };
9661
- },
9662
8782
  /**
9663
8783
  * Create client credentials
9664
8784
  * @summary Create client credentials
@@ -9908,19 +9028,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
9908
9028
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountContacts']?.[localVarOperationServerIndex]?.url;
9909
9029
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9910
9030
  },
9911
- /**
9912
- * Get Account Detailed Summary
9913
- * @summary Get Account Detailed Summary
9914
- * @param {number} id Customer ID
9915
- * @param {*} [options] Override http request option.
9916
- * @throws {RequiredError}
9917
- */
9918
- async getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDetailedSummaryDTO>> {
9919
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options);
9920
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9921
- const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountDetailedSummary']?.[localVarOperationServerIndex]?.url;
9922
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9923
- },
9924
9031
  /**
9925
9032
  * Get Accounts
9926
9033
  * @summary Get Accounts
@@ -10026,18 +9133,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
10026
9133
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAccounts']?.[localVarOperationServerIndex]?.url;
10027
9134
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10028
9135
  },
10029
- /**
10030
- * Get Admin Account
10031
- * @summary Get Admin Account
10032
- * @param {*} [options] Override http request option.
10033
- * @throws {RequiredError}
10034
- */
10035
- async postGetAdminAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminUserModel>> {
10036
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetAdminAccount(options);
10037
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10038
- const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAdminAccount']?.[localVarOperationServerIndex]?.url;
10039
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10040
- },
10041
9136
  /**
10042
9137
  * Create client credentials
10043
9138
  * @summary Create client credentials
@@ -10155,16 +9250,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
10155
9250
  getGetAccountContacts(email?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>> {
10156
9251
  return localVarFp.getGetAccountContacts(email, options).then((request) => request(axios, basePath));
10157
9252
  },
10158
- /**
10159
- * Get Account Detailed Summary
10160
- * @summary Get Account Detailed Summary
10161
- * @param {number} id Customer ID
10162
- * @param {*} [options] Override http request option.
10163
- * @throws {RequiredError}
10164
- */
10165
- getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AccountDetailedSummaryDTO> {
10166
- return localVarFp.getGetAccountDetailedSummary(id, options).then((request) => request(axios, basePath));
10167
- },
10168
9253
  /**
10169
9254
  * Get Accounts
10170
9255
  * @summary Get Accounts
@@ -10246,15 +9331,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
10246
9331
  postGetAccounts(accountRequestModel?: AccountRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<PortalAccountModel> {
10247
9332
  return localVarFp.postGetAccounts(accountRequestModel, options).then((request) => request(axios, basePath));
10248
9333
  },
10249
- /**
10250
- * Get Admin Account
10251
- * @summary Get Admin Account
10252
- * @param {*} [options] Override http request option.
10253
- * @throws {RequiredError}
10254
- */
10255
- postGetAdminAccount(options?: RawAxiosRequestConfig): AxiosPromise<AdminUserModel> {
10256
- return localVarFp.postGetAdminAccount(options).then((request) => request(axios, basePath));
10257
- },
10258
9334
  /**
10259
9335
  * Create client credentials
10260
9336
  * @summary Create client credentials
@@ -10365,18 +9441,6 @@ export class AccountsApi extends BaseAPI {
10365
9441
  return AccountsApiFp(this.configuration).getGetAccountContacts(email, options).then((request) => request(this.axios, this.basePath));
10366
9442
  }
10367
9443
 
10368
- /**
10369
- * Get Account Detailed Summary
10370
- * @summary Get Account Detailed Summary
10371
- * @param {number} id Customer ID
10372
- * @param {*} [options] Override http request option.
10373
- * @throws {RequiredError}
10374
- * @memberof AccountsApi
10375
- */
10376
- public getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig) {
10377
- return AccountsApiFp(this.configuration).getGetAccountDetailedSummary(id, options).then((request) => request(this.axios, this.basePath));
10378
- }
10379
-
10380
9444
  /**
10381
9445
  * Get Accounts
10382
9446
  * @summary Get Accounts
@@ -10474,17 +9538,6 @@ export class AccountsApi extends BaseAPI {
10474
9538
  return AccountsApiFp(this.configuration).postGetAccounts(accountRequestModel, options).then((request) => request(this.axios, this.basePath));
10475
9539
  }
10476
9540
 
10477
- /**
10478
- * Get Admin Account
10479
- * @summary Get Admin Account
10480
- * @param {*} [options] Override http request option.
10481
- * @throws {RequiredError}
10482
- * @memberof AccountsApi
10483
- */
10484
- public postGetAdminAccount(options?: RawAxiosRequestConfig) {
10485
- return AccountsApiFp(this.configuration).postGetAdminAccount(options).then((request) => request(this.axios, this.basePath));
10486
- }
10487
-
10488
9541
  /**
10489
9542
  * Create client credentials
10490
9543
  * @summary Create client credentials
@@ -10595,14 +9648,16 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
10595
9648
  };
10596
9649
  },
10597
9650
  /**
10598
- * Get Bulk 3CX Licence Details
10599
- * @summary Get bulk 3CX Licence Details
10600
- * @param {Array<string>} [requestBody] Licence Lookup Request
9651
+ * Generate a 3CX hashed password for 3CX installation
9652
+ * @summary Convert a password to a hashed 3CX password
9653
+ * @param {string} password Desired 3CX web access password
10601
9654
  * @param {*} [options] Override http request option.
10602
9655
  * @throws {RequiredError}
10603
9656
  */
10604
- postGetBulkLicenceDetails: async (requestBody?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10605
- const localVarPath = `/tcx/licences/bulk/details`;
9657
+ getGetPasswordHash: async (password: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9658
+ // verify required parameter 'password' is not null or undefined
9659
+ assertParamExists('getGetPasswordHash', 'password', password)
9660
+ const localVarPath = `/tcx/pwd2hash`;
10606
9661
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10607
9662
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10608
9663
  let baseOptions;
@@ -10610,13 +9665,48 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
10610
9665
  baseOptions = configuration.baseOptions;
10611
9666
  }
10612
9667
 
10613
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9668
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10614
9669
  const localVarHeaderParameter = {} as any;
10615
9670
  const localVarQueryParameter = {} as any;
10616
9671
 
9672
+ if (password !== undefined) {
9673
+ localVarQueryParameter['password'] = password;
9674
+ }
10617
9675
 
10618
-
10619
- localVarHeaderParameter['Content-Type'] = 'application/json';
9676
+
9677
+
9678
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9679
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9680
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9681
+
9682
+ return {
9683
+ url: toPathString(localVarUrlObj),
9684
+ options: localVarRequestOptions,
9685
+ };
9686
+ },
9687
+ /**
9688
+ * Get Bulk 3CX Licence Details
9689
+ * @summary Get bulk 3CX Licence Details
9690
+ * @param {Array<string>} [requestBody] Licence Lookup Request
9691
+ * @param {*} [options] Override http request option.
9692
+ * @throws {RequiredError}
9693
+ */
9694
+ postGetBulkLicenceDetails: async (requestBody?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9695
+ const localVarPath = `/tcx/licences/bulk/details`;
9696
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9697
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9698
+ let baseOptions;
9699
+ if (configuration) {
9700
+ baseOptions = configuration.baseOptions;
9701
+ }
9702
+
9703
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9704
+ const localVarHeaderParameter = {} as any;
9705
+ const localVarQueryParameter = {} as any;
9706
+
9707
+
9708
+
9709
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10620
9710
 
10621
9711
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10622
9712
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -10651,6 +9741,19 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
10651
9741
  const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetLicenceDetails']?.[localVarOperationServerIndex]?.url;
10652
9742
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10653
9743
  },
9744
+ /**
9745
+ * Generate a 3CX hashed password for 3CX installation
9746
+ * @summary Convert a password to a hashed 3CX password
9747
+ * @param {string} password Desired 3CX web access password
9748
+ * @param {*} [options] Override http request option.
9749
+ * @throws {RequiredError}
9750
+ */
9751
+ async getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGetPasswordHash200Response>> {
9752
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetPasswordHash(password, options);
9753
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9754
+ const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetPasswordHash']?.[localVarOperationServerIndex]?.url;
9755
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9756
+ },
10654
9757
  /**
10655
9758
  * Get Bulk 3CX Licence Details
10656
9759
  * @summary Get bulk 3CX Licence Details
@@ -10684,6 +9787,16 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
10684
9787
  getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel> {
10685
9788
  return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
10686
9789
  },
9790
+ /**
9791
+ * Generate a 3CX hashed password for 3CX installation
9792
+ * @summary Convert a password to a hashed 3CX password
9793
+ * @param {string} password Desired 3CX web access password
9794
+ * @param {*} [options] Override http request option.
9795
+ * @throws {RequiredError}
9796
+ */
9797
+ getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): AxiosPromise<GetGetPasswordHash200Response> {
9798
+ return localVarFp.getGetPasswordHash(password, options).then((request) => request(axios, basePath));
9799
+ },
10687
9800
  /**
10688
9801
  * Get Bulk 3CX Licence Details
10689
9802
  * @summary Get bulk 3CX Licence Details
@@ -10716,6 +9829,18 @@ export class Class3CXApi extends BaseAPI {
10716
9829
  return Class3CXApiFp(this.configuration).getGetLicenceDetails(key, options).then((request) => request(this.axios, this.basePath));
10717
9830
  }
10718
9831
 
9832
+ /**
9833
+ * Generate a 3CX hashed password for 3CX installation
9834
+ * @summary Convert a password to a hashed 3CX password
9835
+ * @param {string} password Desired 3CX web access password
9836
+ * @param {*} [options] Override http request option.
9837
+ * @throws {RequiredError}
9838
+ * @memberof Class3CXApi
9839
+ */
9840
+ public getGetPasswordHash(password: string, options?: RawAxiosRequestConfig) {
9841
+ return Class3CXApiFp(this.configuration).getGetPasswordHash(password, options).then((request) => request(this.axios, this.basePath));
9842
+ }
9843
+
10719
9844
  /**
10720
9845
  * Get Bulk 3CX Licence Details
10721
9846
  * @summary Get bulk 3CX Licence Details
@@ -15310,14 +14435,13 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
15310
14435
  return {
15311
14436
  /**
15312
14437
  * Delete Orders
15313
- * @summary Delete Orders
15314
14438
  * @param {number} id Order ID
15315
14439
  * @param {*} [options] Override http request option.
15316
14440
  * @throws {RequiredError}
15317
14441
  */
15318
- deleteUpdateOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14442
+ deleteDeleteOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15319
14443
  // verify required parameter 'id' is not null or undefined
15320
- assertParamExists('deleteUpdateOrder', 'id', id)
14444
+ assertParamExists('deleteDeleteOrder', 'id', id)
15321
14445
  const localVarPath = `/orders/{id}`
15322
14446
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
15323
14447
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -15333,39 +14457,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
15333
14457
 
15334
14458
 
15335
14459
 
15336
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15337
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15338
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15339
-
15340
- return {
15341
- url: toPathString(localVarUrlObj),
15342
- options: localVarRequestOptions,
15343
- };
15344
- },
15345
- /**
15346
- * Get Editable Order
15347
- * @param {number} id Order ID
15348
- * @param {*} [options] Override http request option.
15349
- * @throws {RequiredError}
15350
- */
15351
- getGetEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15352
- // verify required parameter 'id' is not null or undefined
15353
- assertParamExists('getGetEditableOrder', 'id', id)
15354
- const localVarPath = `/orders/{id}/views/editable`
15355
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
15356
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15357
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15358
- let baseOptions;
15359
- if (configuration) {
15360
- baseOptions = configuration.baseOptions;
15361
- }
15362
-
15363
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15364
- const localVarHeaderParameter = {} as any;
15365
- const localVarQueryParameter = {} as any;
15366
-
15367
-
15368
-
15369
14460
  setSearchParams(localVarUrlObj, localVarQueryParameter);
15370
14461
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15371
14462
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -15435,170 +14526,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
15435
14526
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15436
14527
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15437
14528
 
15438
- return {
15439
- url: toPathString(localVarUrlObj),
15440
- options: localVarRequestOptions,
15441
- };
15442
- },
15443
- /**
15444
- * Create An Order (Admin)
15445
- * @summary Create An Order (Admin)
15446
- * @param {boolean} [readonly] Readonly Order
15447
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
15448
- * @param {*} [options] Override http request option.
15449
- * @throws {RequiredError}
15450
- */
15451
- postCreateAdminOrder: async (readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15452
- const localVarPath = `/admin/orders`;
15453
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15454
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15455
- let baseOptions;
15456
- if (configuration) {
15457
- baseOptions = configuration.baseOptions;
15458
- }
15459
-
15460
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15461
- const localVarHeaderParameter = {} as any;
15462
- const localVarQueryParameter = {} as any;
15463
-
15464
- if (readonly !== undefined) {
15465
- localVarQueryParameter['readonly'] = readonly;
15466
- }
15467
-
15468
-
15469
-
15470
- localVarHeaderParameter['Content-Type'] = 'application/json';
15471
-
15472
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15473
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15474
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15475
- localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
15476
-
15477
- return {
15478
- url: toPathString(localVarUrlObj),
15479
- options: localVarRequestOptions,
15480
- };
15481
- },
15482
- /**
15483
- * Create An Order
15484
- * @summary Create An Order
15485
- * @param {boolean} [readonly] Readonly Order
15486
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15487
- * @param {*} [options] Override http request option.
15488
- * @throws {RequiredError}
15489
- */
15490
- postGetOrders: async (readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15491
- const localVarPath = `/orders`;
15492
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15493
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15494
- let baseOptions;
15495
- if (configuration) {
15496
- baseOptions = configuration.baseOptions;
15497
- }
15498
-
15499
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15500
- const localVarHeaderParameter = {} as any;
15501
- const localVarQueryParameter = {} as any;
15502
-
15503
- if (readonly !== undefined) {
15504
- localVarQueryParameter['readonly'] = readonly;
15505
- }
15506
-
15507
-
15508
-
15509
- localVarHeaderParameter['Content-Type'] = 'application/json';
15510
-
15511
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15512
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15513
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15514
- localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
15515
-
15516
- return {
15517
- url: toPathString(localVarUrlObj),
15518
- options: localVarRequestOptions,
15519
- };
15520
- },
15521
- /**
15522
- * Update An Order (Admin)
15523
- * @summary Update An Order (Admin)
15524
- * @param {number} id Order ID
15525
- * @param {boolean} [readonly] Readonly Order
15526
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
15527
- * @param {*} [options] Override http request option.
15528
- * @throws {RequiredError}
15529
- */
15530
- putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15531
- // verify required parameter 'id' is not null or undefined
15532
- assertParamExists('putUpdateAdminOrder', 'id', id)
15533
- const localVarPath = `/admin/orders/{id}`
15534
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
15535
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15536
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15537
- let baseOptions;
15538
- if (configuration) {
15539
- baseOptions = configuration.baseOptions;
15540
- }
15541
-
15542
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
15543
- const localVarHeaderParameter = {} as any;
15544
- const localVarQueryParameter = {} as any;
15545
-
15546
- if (readonly !== undefined) {
15547
- localVarQueryParameter['readonly'] = readonly;
15548
- }
15549
-
15550
-
15551
-
15552
- localVarHeaderParameter['Content-Type'] = 'application/json';
15553
-
15554
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15555
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15556
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15557
- localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
15558
-
15559
- return {
15560
- url: toPathString(localVarUrlObj),
15561
- options: localVarRequestOptions,
15562
- };
15563
- },
15564
- /**
15565
- * Update An Order
15566
- * @summary Update An Order
15567
- * @param {number} id Order ID
15568
- * @param {boolean} [readonly] Readonly Order
15569
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15570
- * @param {*} [options] Override http request option.
15571
- * @throws {RequiredError}
15572
- */
15573
- putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15574
- // verify required parameter 'id' is not null or undefined
15575
- assertParamExists('putUpdateOrder', 'id', id)
15576
- const localVarPath = `/orders/{id}`
15577
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
15578
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15579
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15580
- let baseOptions;
15581
- if (configuration) {
15582
- baseOptions = configuration.baseOptions;
15583
- }
15584
-
15585
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
15586
- const localVarHeaderParameter = {} as any;
15587
- const localVarQueryParameter = {} as any;
15588
-
15589
- if (readonly !== undefined) {
15590
- localVarQueryParameter['readonly'] = readonly;
15591
- }
15592
-
15593
-
15594
-
15595
- localVarHeaderParameter['Content-Type'] = 'application/json';
15596
-
15597
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15598
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15599
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15600
- localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
15601
-
15602
14529
  return {
15603
14530
  url: toPathString(localVarUrlObj),
15604
14531
  options: localVarRequestOptions,
@@ -15616,27 +14543,14 @@ export const OrdersApiFp = function(configuration?: Configuration) {
15616
14543
  return {
15617
14544
  /**
15618
14545
  * Delete Orders
15619
- * @summary Delete Orders
15620
- * @param {number} id Order ID
15621
- * @param {*} [options] Override http request option.
15622
- * @throws {RequiredError}
15623
- */
15624
- async deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
15625
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUpdateOrder(id, options);
15626
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15627
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteUpdateOrder']?.[localVarOperationServerIndex]?.url;
15628
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15629
- },
15630
- /**
15631
- * Get Editable Order
15632
14546
  * @param {number} id Order ID
15633
14547
  * @param {*} [options] Override http request option.
15634
14548
  * @throws {RequiredError}
15635
14549
  */
15636
- async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderSummaryDTO>> {
15637
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
14550
+ async deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
14551
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeleteOrder(id, options);
15638
14552
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15639
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
14553
+ const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteDeleteOrder']?.[localVarOperationServerIndex]?.url;
15640
14554
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15641
14555
  },
15642
14556
  /**
@@ -15658,64 +14572,6 @@ export const OrdersApiFp = function(configuration?: Configuration) {
15658
14572
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
15659
14573
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15660
14574
  },
15661
- /**
15662
- * Create An Order (Admin)
15663
- * @summary Create An Order (Admin)
15664
- * @param {boolean} [readonly] Readonly Order
15665
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
15666
- * @param {*} [options] Override http request option.
15667
- * @throws {RequiredError}
15668
- */
15669
- async postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
15670
- const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options);
15671
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15672
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
15673
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15674
- },
15675
- /**
15676
- * Create An Order
15677
- * @summary Create An Order
15678
- * @param {boolean} [readonly] Readonly Order
15679
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15680
- * @param {*} [options] Override http request option.
15681
- * @throws {RequiredError}
15682
- */
15683
- async postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
15684
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options);
15685
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15686
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
15687
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15688
- },
15689
- /**
15690
- * Update An Order (Admin)
15691
- * @summary Update An Order (Admin)
15692
- * @param {number} id Order ID
15693
- * @param {boolean} [readonly] Readonly Order
15694
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
15695
- * @param {*} [options] Override http request option.
15696
- * @throws {RequiredError}
15697
- */
15698
- async putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
15699
- const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options);
15700
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15701
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateAdminOrder']?.[localVarOperationServerIndex]?.url;
15702
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15703
- },
15704
- /**
15705
- * Update An Order
15706
- * @summary Update An Order
15707
- * @param {number} id Order ID
15708
- * @param {boolean} [readonly] Readonly Order
15709
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15710
- * @param {*} [options] Override http request option.
15711
- * @throws {RequiredError}
15712
- */
15713
- async putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
15714
- const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateOrder(id, readonly, customerOrderRequestDTO, options);
15715
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15716
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateOrder']?.[localVarOperationServerIndex]?.url;
15717
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15718
- },
15719
14575
  }
15720
14576
  };
15721
14577
 
@@ -15728,22 +14584,12 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
15728
14584
  return {
15729
14585
  /**
15730
14586
  * Delete Orders
15731
- * @summary Delete Orders
15732
14587
  * @param {number} id Order ID
15733
14588
  * @param {*} [options] Override http request option.
15734
14589
  * @throws {RequiredError}
15735
14590
  */
15736
- deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
15737
- return localVarFp.deleteUpdateOrder(id, options).then((request) => request(axios, basePath));
15738
- },
15739
- /**
15740
- * Get Editable Order
15741
- * @param {number} id Order ID
15742
- * @param {*} [options] Override http request option.
15743
- * @throws {RequiredError}
15744
- */
15745
- getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummaryDTO> {
15746
- return localVarFp.getGetEditableOrder(id, options).then((request) => request(axios, basePath));
14591
+ deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
14592
+ return localVarFp.deleteDeleteOrder(id, options).then((request) => request(axios, basePath));
15747
14593
  },
15748
14594
  /**
15749
14595
  * Get Orders
@@ -15761,52 +14607,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
15761
14607
  getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel> {
15762
14608
  return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(axios, basePath));
15763
14609
  },
15764
- /**
15765
- * Create An Order (Admin)
15766
- * @summary Create An Order (Admin)
15767
- * @param {boolean} [readonly] Readonly Order
15768
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
15769
- * @param {*} [options] Override http request option.
15770
- * @throws {RequiredError}
15771
- */
15772
- postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
15773
- return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
15774
- },
15775
- /**
15776
- * Create An Order
15777
- * @summary Create An Order
15778
- * @param {boolean} [readonly] Readonly Order
15779
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15780
- * @param {*} [options] Override http request option.
15781
- * @throws {RequiredError}
15782
- */
15783
- postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
15784
- return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
15785
- },
15786
- /**
15787
- * Update An Order (Admin)
15788
- * @summary Update An Order (Admin)
15789
- * @param {number} id Order ID
15790
- * @param {boolean} [readonly] Readonly Order
15791
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
15792
- * @param {*} [options] Override http request option.
15793
- * @throws {RequiredError}
15794
- */
15795
- putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
15796
- return localVarFp.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
15797
- },
15798
- /**
15799
- * Update An Order
15800
- * @summary Update An Order
15801
- * @param {number} id Order ID
15802
- * @param {boolean} [readonly] Readonly Order
15803
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15804
- * @param {*} [options] Override http request option.
15805
- * @throws {RequiredError}
15806
- */
15807
- putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
15808
- return localVarFp.putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
15809
- },
15810
14610
  };
15811
14611
  };
15812
14612
 
@@ -15819,25 +14619,13 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
15819
14619
  export class OrdersApi extends BaseAPI {
15820
14620
  /**
15821
14621
  * Delete Orders
15822
- * @summary Delete Orders
15823
14622
  * @param {number} id Order ID
15824
14623
  * @param {*} [options] Override http request option.
15825
14624
  * @throws {RequiredError}
15826
14625
  * @memberof OrdersApi
15827
14626
  */
15828
- public deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig) {
15829
- return OrdersApiFp(this.configuration).deleteUpdateOrder(id, options).then((request) => request(this.axios, this.basePath));
15830
- }
15831
-
15832
- /**
15833
- * Get Editable Order
15834
- * @param {number} id Order ID
15835
- * @param {*} [options] Override http request option.
15836
- * @throws {RequiredError}
15837
- * @memberof OrdersApi
15838
- */
15839
- public getGetEditableOrder(id: number, options?: RawAxiosRequestConfig) {
15840
- return OrdersApiFp(this.configuration).getGetEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
14627
+ public deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig) {
14628
+ return OrdersApiFp(this.configuration).deleteDeleteOrder(id, options).then((request) => request(this.axios, this.basePath));
15841
14629
  }
15842
14630
 
15843
14631
  /**
@@ -15857,60 +14645,6 @@ export class OrdersApi extends BaseAPI {
15857
14645
  public getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) {
15858
14646
  return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
15859
14647
  }
15860
-
15861
- /**
15862
- * Create An Order (Admin)
15863
- * @summary Create An Order (Admin)
15864
- * @param {boolean} [readonly] Readonly Order
15865
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
15866
- * @param {*} [options] Override http request option.
15867
- * @throws {RequiredError}
15868
- * @memberof OrdersApi
15869
- */
15870
- public postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
15871
- return OrdersApiFp(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
15872
- }
15873
-
15874
- /**
15875
- * Create An Order
15876
- * @summary Create An Order
15877
- * @param {boolean} [readonly] Readonly Order
15878
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15879
- * @param {*} [options] Override http request option.
15880
- * @throws {RequiredError}
15881
- * @memberof OrdersApi
15882
- */
15883
- public postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
15884
- return OrdersApiFp(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
15885
- }
15886
-
15887
- /**
15888
- * Update An Order (Admin)
15889
- * @summary Update An Order (Admin)
15890
- * @param {number} id Order ID
15891
- * @param {boolean} [readonly] Readonly Order
15892
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
15893
- * @param {*} [options] Override http request option.
15894
- * @throws {RequiredError}
15895
- * @memberof OrdersApi
15896
- */
15897
- public putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
15898
- return OrdersApiFp(this.configuration).putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
15899
- }
15900
-
15901
- /**
15902
- * Update An Order
15903
- * @summary Update An Order
15904
- * @param {number} id Order ID
15905
- * @param {boolean} [readonly] Readonly Order
15906
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
15907
- * @param {*} [options] Override http request option.
15908
- * @throws {RequiredError}
15909
- * @memberof OrdersApi
15910
- */
15911
- public putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
15912
- return OrdersApiFp(this.configuration).putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
15913
- }
15914
14648
  }
15915
14649
 
15916
14650
  /**
@@ -16291,47 +15025,13 @@ export type PostSendPriceListCategoryEnum = typeof PostSendPriceListCategoryEnum
16291
15025
  export const ProductsApiAxiosParamCreator = function (configuration?: Configuration) {
16292
15026
  return {
16293
15027
  /**
16294
- * Get Attribute Sets
16295
- * @summary Get Attribute Sets
16296
- * @param {*} [options] Override http request option.
16297
- * @throws {RequiredError}
16298
- */
16299
- getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16300
- const localVarPath = `/products/attributes`;
16301
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16302
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16303
- let baseOptions;
16304
- if (configuration) {
16305
- baseOptions = configuration.baseOptions;
16306
- }
16307
-
16308
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16309
- const localVarHeaderParameter = {} as any;
16310
- const localVarQueryParameter = {} as any;
16311
-
16312
-
16313
-
16314
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16315
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16316
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16317
-
16318
- return {
16319
- url: toPathString(localVarUrlObj),
16320
- options: localVarRequestOptions,
16321
- };
16322
- },
16323
- /**
16324
- * Get Current Stock & Pricing
16325
- * @summary Get Current Stock & Pricing
16326
- * @param {GetGetLegacyStockListFormatEnum} format File Format
15028
+ * Get Attribute Sets
15029
+ * @summary Get Attribute Sets
16327
15030
  * @param {*} [options] Override http request option.
16328
- * @deprecated
16329
15031
  * @throws {RequiredError}
16330
15032
  */
16331
- getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16332
- // verify required parameter 'format' is not null or undefined
16333
- assertParamExists('getGetLegacyStockList', 'format', format)
16334
- const localVarPath = `/products/stock/legacy`;
15033
+ getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15034
+ const localVarPath = `/products/attributes`;
16335
15035
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16336
15036
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16337
15037
  let baseOptions;
@@ -16343,10 +15043,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16343
15043
  const localVarHeaderParameter = {} as any;
16344
15044
  const localVarQueryParameter = {} as any;
16345
15045
 
16346
- if (format !== undefined) {
16347
- localVarQueryParameter['format'] = format;
16348
- }
16349
-
16350
15046
 
16351
15047
 
16352
15048
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -16359,13 +15055,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16359
15055
  };
16360
15056
  },
16361
15057
  /**
16362
- * Get Products
16363
- * @summary Get Products
15058
+ * Get Customer Price Lists
15059
+ * @summary Get Customer Price Lists
16364
15060
  * @param {*} [options] Override http request option.
16365
15061
  * @throws {RequiredError}
16366
15062
  */
16367
- getGetProducts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16368
- const localVarPath = `/products`;
15063
+ getGetCustomerPriceLists: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15064
+ const localVarPath = `/products/prices/lists`;
16369
15065
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16370
15066
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16371
15067
  let baseOptions;
@@ -16391,11 +15087,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16391
15087
  /**
16392
15088
  * Get Current Stock & Pricing
16393
15089
  * @summary Get Current Stock & Pricing
15090
+ * @param {GetGetLegacyStockListFormatEnum} format File Format
16394
15091
  * @param {*} [options] Override http request option.
15092
+ * @deprecated
16395
15093
  * @throws {RequiredError}
16396
15094
  */
16397
- getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16398
- const localVarPath = `/products/stock`;
15095
+ getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15096
+ // verify required parameter 'format' is not null or undefined
15097
+ assertParamExists('getGetLegacyStockList', 'format', format)
15098
+ const localVarPath = `/products/stock/legacy`;
16399
15099
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16400
15100
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16401
15101
  let baseOptions;
@@ -16407,36 +15107,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16407
15107
  const localVarHeaderParameter = {} as any;
16408
15108
  const localVarQueryParameter = {} as any;
16409
15109
 
16410
-
16411
-
16412
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16413
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16414
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16415
-
16416
- return {
16417
- url: toPathString(localVarUrlObj),
16418
- options: localVarRequestOptions,
16419
- };
16420
- },
16421
- /**
16422
- * Get 3CX Templates
16423
- * @summary Get 3CX Templates
16424
- * @param {*} [options] Override http request option.
16425
- * @throws {RequiredError}
16426
- */
16427
- getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16428
- const localVarPath = `/products/attributes/tcx/templates`;
16429
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16430
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16431
- let baseOptions;
16432
- if (configuration) {
16433
- baseOptions = configuration.baseOptions;
15110
+ if (format !== undefined) {
15111
+ localVarQueryParameter['format'] = format;
16434
15112
  }
16435
15113
 
16436
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16437
- const localVarHeaderParameter = {} as any;
16438
- const localVarQueryParameter = {} as any;
16439
-
16440
15114
 
16441
15115
 
16442
15116
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -16449,15 +15123,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16449
15123
  };
16450
15124
  },
16451
15125
  /**
16452
- * Search Products
16453
- * @summary Search Products
15126
+ * Get Products
15127
+ * @summary Get Products
16454
15128
  * @param {number} [pageSize] Number Of Results
16455
15129
  * @param {number} [page] Page Number
16456
15130
  * @param {string} [search] Search
16457
15131
  * @param {*} [options] Override http request option.
16458
15132
  * @throws {RequiredError}
16459
15133
  */
16460
- getSearchProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15134
+ getGetProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16461
15135
  const localVarPath = `/products/search`;
16462
15136
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16463
15137
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -16494,20 +15168,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16494
15168
  };
16495
15169
  },
16496
15170
  /**
16497
- * Get Product
16498
- * @summary Get Product
16499
- * @param {string} sku Product SKU
16500
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15171
+ * Get Current Stock & Pricing
15172
+ * @summary Get Current Stock & Pricing
16501
15173
  * @param {*} [options] Override http request option.
16502
15174
  * @throws {RequiredError}
16503
15175
  */
16504
- postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16505
- // verify required parameter 'sku' is not null or undefined
16506
- assertParamExists('postGetProduct', 'sku', sku)
16507
- // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
16508
- assertParamExists('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
16509
- const localVarPath = `/products/{sku}`
16510
- .replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
15176
+ getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15177
+ const localVarPath = `/products/stock`;
16511
15178
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16512
15179
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16513
15180
  let baseOptions;
@@ -16515,18 +15182,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16515
15182
  baseOptions = configuration.baseOptions;
16516
15183
  }
16517
15184
 
16518
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15185
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16519
15186
  const localVarHeaderParameter = {} as any;
16520
15187
  const localVarQueryParameter = {} as any;
16521
15188
 
16522
15189
 
16523
15190
 
16524
- localVarHeaderParameter['Content-Type'] = 'application/json';
16525
-
16526
15191
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16527
15192
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16528
15193
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16529
- localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
16530
15194
 
16531
15195
  return {
16532
15196
  url: toPathString(localVarUrlObj),
@@ -16534,23 +15198,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16534
15198
  };
16535
15199
  },
16536
15200
  /**
16537
- * Get Product For Customer
16538
- * @summary Get Product For Customer
16539
- * @param {number} customerId Customer ID
16540
- * @param {string} sku Product SKU
16541
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15201
+ * Get 3CX Templates
15202
+ * @summary Get 3CX Templates
16542
15203
  * @param {*} [options] Override http request option.
16543
15204
  * @throws {RequiredError}
16544
15205
  */
16545
- postGetProductForCustomer: async (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16546
- // verify required parameter 'customerId' is not null or undefined
16547
- assertParamExists('postGetProductForCustomer', 'customerId', customerId)
16548
- // verify required parameter 'sku' is not null or undefined
16549
- assertParamExists('postGetProductForCustomer', 'sku', sku)
16550
- // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
16551
- assertParamExists('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
16552
- const localVarPath = `/admin/products/{sku}`
16553
- .replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
15206
+ getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15207
+ const localVarPath = `/products/attributes/tcx/templates`;
16554
15208
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16555
15209
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16556
15210
  let baseOptions;
@@ -16558,22 +15212,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16558
15212
  baseOptions = configuration.baseOptions;
16559
15213
  }
16560
15214
 
16561
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15215
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16562
15216
  const localVarHeaderParameter = {} as any;
16563
15217
  const localVarQueryParameter = {} as any;
16564
15218
 
16565
- if (customerId !== undefined) {
16566
- localVarQueryParameter['customerId'] = customerId;
16567
- }
16568
-
16569
15219
 
16570
15220
 
16571
- localVarHeaderParameter['Content-Type'] = 'application/json';
16572
-
16573
15221
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16574
15222
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16575
15223
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16576
- localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
16577
15224
 
16578
15225
  return {
16579
15226
  url: toPathString(localVarUrlObj),
@@ -16602,6 +15249,18 @@ export const ProductsApiFp = function(configuration?: Configuration) {
16602
15249
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetAttributeSets']?.[localVarOperationServerIndex]?.url;
16603
15250
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16604
15251
  },
15252
+ /**
15253
+ * Get Customer Price Lists
15254
+ * @summary Get Customer Price Lists
15255
+ * @param {*} [options] Override http request option.
15256
+ * @throws {RequiredError}
15257
+ */
15258
+ async getGetCustomerPriceLists(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CustomerPriceListEnum>>> {
15259
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCustomerPriceLists(options);
15260
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15261
+ const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetCustomerPriceLists']?.[localVarOperationServerIndex]?.url;
15262
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15263
+ },
16605
15264
  /**
16606
15265
  * Get Current Stock & Pricing
16607
15266
  * @summary Get Current Stock & Pricing
@@ -16619,11 +15278,14 @@ export const ProductsApiFp = function(configuration?: Configuration) {
16619
15278
  /**
16620
15279
  * Get Products
16621
15280
  * @summary Get Products
15281
+ * @param {number} [pageSize] Number Of Results
15282
+ * @param {number} [page] Page Number
15283
+ * @param {string} [search] Search
16622
15284
  * @param {*} [options] Override http request option.
16623
15285
  * @throws {RequiredError}
16624
15286
  */
16625
- async getGetProducts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BasicProductDTO>>> {
16626
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(options);
15287
+ async getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
15288
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(pageSize, page, search, options);
16627
15289
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16628
15290
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetProducts']?.[localVarOperationServerIndex]?.url;
16629
15291
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -16652,50 +15314,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
16652
15314
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetTcxTemplates']?.[localVarOperationServerIndex]?.url;
16653
15315
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16654
15316
  },
16655
- /**
16656
- * Search Products
16657
- * @summary Search Products
16658
- * @param {number} [pageSize] Number Of Results
16659
- * @param {number} [page] Page Number
16660
- * @param {string} [search] Search
16661
- * @param {*} [options] Override http request option.
16662
- * @throws {RequiredError}
16663
- */
16664
- async getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
16665
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSearchProducts(pageSize, page, search, options);
16666
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16667
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.getSearchProducts']?.[localVarOperationServerIndex]?.url;
16668
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16669
- },
16670
- /**
16671
- * Get Product
16672
- * @summary Get Product
16673
- * @param {string} sku Product SKU
16674
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
16675
- * @param {*} [options] Override http request option.
16676
- * @throws {RequiredError}
16677
- */
16678
- async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
16679
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options);
16680
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16681
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProduct']?.[localVarOperationServerIndex]?.url;
16682
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16683
- },
16684
- /**
16685
- * Get Product For Customer
16686
- * @summary Get Product For Customer
16687
- * @param {number} customerId Customer ID
16688
- * @param {string} sku Product SKU
16689
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
16690
- * @param {*} [options] Override http request option.
16691
- * @throws {RequiredError}
16692
- */
16693
- async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
16694
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options);
16695
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16696
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProductForCustomer']?.[localVarOperationServerIndex]?.url;
16697
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16698
- },
16699
15317
  }
16700
15318
  };
16701
15319
 
@@ -16715,6 +15333,15 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
16715
15333
  getGetAttributeSets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeSetEnum>> {
16716
15334
  return localVarFp.getGetAttributeSets(options).then((request) => request(axios, basePath));
16717
15335
  },
15336
+ /**
15337
+ * Get Customer Price Lists
15338
+ * @summary Get Customer Price Lists
15339
+ * @param {*} [options] Override http request option.
15340
+ * @throws {RequiredError}
15341
+ */
15342
+ getGetCustomerPriceLists(options?: RawAxiosRequestConfig): AxiosPromise<Array<CustomerPriceListEnum>> {
15343
+ return localVarFp.getGetCustomerPriceLists(options).then((request) => request(axios, basePath));
15344
+ },
16718
15345
  /**
16719
15346
  * Get Current Stock & Pricing
16720
15347
  * @summary Get Current Stock & Pricing
@@ -16729,11 +15356,14 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
16729
15356
  /**
16730
15357
  * Get Products
16731
15358
  * @summary Get Products
15359
+ * @param {number} [pageSize] Number Of Results
15360
+ * @param {number} [page] Page Number
15361
+ * @param {string} [search] Search
16732
15362
  * @param {*} [options] Override http request option.
16733
15363
  * @throws {RequiredError}
16734
15364
  */
16735
- getGetProducts(options?: RawAxiosRequestConfig): AxiosPromise<Array<BasicProductDTO>> {
16736
- return localVarFp.getGetProducts(options).then((request) => request(axios, basePath));
15365
+ getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
15366
+ return localVarFp.getGetProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
16737
15367
  },
16738
15368
  /**
16739
15369
  * Get Current Stock & Pricing
@@ -16753,41 +15383,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
16753
15383
  getGetTcxTemplates(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxTemplateXmlEnum>> {
16754
15384
  return localVarFp.getGetTcxTemplates(options).then((request) => request(axios, basePath));
16755
15385
  },
16756
- /**
16757
- * Search Products
16758
- * @summary Search Products
16759
- * @param {number} [pageSize] Number Of Results
16760
- * @param {number} [page] Page Number
16761
- * @param {string} [search] Search
16762
- * @param {*} [options] Override http request option.
16763
- * @throws {RequiredError}
16764
- */
16765
- getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
16766
- return localVarFp.getSearchProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
16767
- },
16768
- /**
16769
- * Get Product
16770
- * @summary Get Product
16771
- * @param {string} sku Product SKU
16772
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
16773
- * @param {*} [options] Override http request option.
16774
- * @throws {RequiredError}
16775
- */
16776
- postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
16777
- return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
16778
- },
16779
- /**
16780
- * Get Product For Customer
16781
- * @summary Get Product For Customer
16782
- * @param {number} customerId Customer ID
16783
- * @param {string} sku Product SKU
16784
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
16785
- * @param {*} [options] Override http request option.
16786
- * @throws {RequiredError}
16787
- */
16788
- postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
16789
- return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
16790
- },
16791
15386
  };
16792
15387
  };
16793
15388
 
@@ -16809,6 +15404,17 @@ export class ProductsApi extends BaseAPI {
16809
15404
  return ProductsApiFp(this.configuration).getGetAttributeSets(options).then((request) => request(this.axios, this.basePath));
16810
15405
  }
16811
15406
 
15407
+ /**
15408
+ * Get Customer Price Lists
15409
+ * @summary Get Customer Price Lists
15410
+ * @param {*} [options] Override http request option.
15411
+ * @throws {RequiredError}
15412
+ * @memberof ProductsApi
15413
+ */
15414
+ public getGetCustomerPriceLists(options?: RawAxiosRequestConfig) {
15415
+ return ProductsApiFp(this.configuration).getGetCustomerPriceLists(options).then((request) => request(this.axios, this.basePath));
15416
+ }
15417
+
16812
15418
  /**
16813
15419
  * Get Current Stock & Pricing
16814
15420
  * @summary Get Current Stock & Pricing
@@ -16825,12 +15431,15 @@ export class ProductsApi extends BaseAPI {
16825
15431
  /**
16826
15432
  * Get Products
16827
15433
  * @summary Get Products
15434
+ * @param {number} [pageSize] Number Of Results
15435
+ * @param {number} [page] Page Number
15436
+ * @param {string} [search] Search
16828
15437
  * @param {*} [options] Override http request option.
16829
15438
  * @throws {RequiredError}
16830
15439
  * @memberof ProductsApi
16831
15440
  */
16832
- public getGetProducts(options?: RawAxiosRequestConfig) {
16833
- return ProductsApiFp(this.configuration).getGetProducts(options).then((request) => request(this.axios, this.basePath));
15441
+ public getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
15442
+ return ProductsApiFp(this.configuration).getGetProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
16834
15443
  }
16835
15444
 
16836
15445
  /**
@@ -16854,47 +15463,6 @@ export class ProductsApi extends BaseAPI {
16854
15463
  public getGetTcxTemplates(options?: RawAxiosRequestConfig) {
16855
15464
  return ProductsApiFp(this.configuration).getGetTcxTemplates(options).then((request) => request(this.axios, this.basePath));
16856
15465
  }
16857
-
16858
- /**
16859
- * Search Products
16860
- * @summary Search Products
16861
- * @param {number} [pageSize] Number Of Results
16862
- * @param {number} [page] Page Number
16863
- * @param {string} [search] Search
16864
- * @param {*} [options] Override http request option.
16865
- * @throws {RequiredError}
16866
- * @memberof ProductsApi
16867
- */
16868
- public getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
16869
- return ProductsApiFp(this.configuration).getSearchProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
16870
- }
16871
-
16872
- /**
16873
- * Get Product
16874
- * @summary Get Product
16875
- * @param {string} sku Product SKU
16876
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
16877
- * @param {*} [options] Override http request option.
16878
- * @throws {RequiredError}
16879
- * @memberof ProductsApi
16880
- */
16881
- public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
16882
- return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
16883
- }
16884
-
16885
- /**
16886
- * Get Product For Customer
16887
- * @summary Get Product For Customer
16888
- * @param {number} customerId Customer ID
16889
- * @param {string} sku Product SKU
16890
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
16891
- * @param {*} [options] Override http request option.
16892
- * @throws {RequiredError}
16893
- * @memberof ProductsApi
16894
- */
16895
- public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
16896
- return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
16897
- }
16898
15466
  }
16899
15467
 
16900
15468
  /**
@@ -17235,7 +15803,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
17235
15803
  * @param {*} [options] Override http request option.
17236
15804
  * @throws {RequiredError}
17237
15805
  */
17238
- async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningModel>>> {
15806
+ async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningEntity>>> {
17239
15807
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetGroups(id, options);
17240
15808
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17241
15809
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getGetGroups']?.[localVarOperationServerIndex]?.url;
@@ -17248,7 +15816,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
17248
15816
  * @param {*} [options] Override http request option.
17249
15817
  * @throws {RequiredError}
17250
15818
  */
17251
- async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningModel>> {
15819
+ async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningEntity>> {
17252
15820
  const localVarAxiosArgs = await localVarAxiosParamCreator.postAddFanvilGroup(provisioningRequestEntity, options);
17253
15821
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17254
15822
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilGroup']?.[localVarOperationServerIndex]?.url;
@@ -17327,7 +15895,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
17327
15895
  * @param {*} [options] Override http request option.
17328
15896
  * @throws {RequiredError}
17329
15897
  */
17330
- getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningModel>> {
15898
+ getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningEntity>> {
17331
15899
  return localVarFp.getGetGroups(id, options).then((request) => request(axios, basePath));
17332
15900
  },
17333
15901
  /**
@@ -17337,7 +15905,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
17337
15905
  * @param {*} [options] Override http request option.
17338
15906
  * @throws {RequiredError}
17339
15907
  */
17340
- postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningModel> {
15908
+ postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningEntity> {
17341
15909
  return localVarFp.postAddFanvilGroup(provisioningRequestEntity, options).then((request) => request(axios, basePath));
17342
15910
  },
17343
15911
  /**
@@ -19238,114 +17806,6 @@ export class SMSApi extends BaseAPI {
19238
17806
 
19239
17807
 
19240
17808
 
19241
- /**
19242
- * ShippingApi - axios parameter creator
19243
- * @export
19244
- */
19245
- export const ShippingApiAxiosParamCreator = function (configuration?: Configuration) {
19246
- return {
19247
- /**
19248
- * Get Shipping Services
19249
- * @summary Get Shipping Services
19250
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
19251
- * @param {*} [options] Override http request option.
19252
- * @throws {RequiredError}
19253
- */
19254
- postGetShippingServices: async (shippingInformationDTO?: ShippingInformationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19255
- const localVarPath = `/shipping/services`;
19256
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
19257
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19258
- let baseOptions;
19259
- if (configuration) {
19260
- baseOptions = configuration.baseOptions;
19261
- }
19262
-
19263
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
19264
- const localVarHeaderParameter = {} as any;
19265
- const localVarQueryParameter = {} as any;
19266
-
19267
-
19268
-
19269
- localVarHeaderParameter['Content-Type'] = 'application/json';
19270
-
19271
- setSearchParams(localVarUrlObj, localVarQueryParameter);
19272
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19273
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19274
- localVarRequestOptions.data = serializeDataIfNeeded(shippingInformationDTO, localVarRequestOptions, configuration)
19275
-
19276
- return {
19277
- url: toPathString(localVarUrlObj),
19278
- options: localVarRequestOptions,
19279
- };
19280
- },
19281
- }
19282
- };
19283
-
19284
- /**
19285
- * ShippingApi - functional programming interface
19286
- * @export
19287
- */
19288
- export const ShippingApiFp = function(configuration?: Configuration) {
19289
- const localVarAxiosParamCreator = ShippingApiAxiosParamCreator(configuration)
19290
- return {
19291
- /**
19292
- * Get Shipping Services
19293
- * @summary Get Shipping Services
19294
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
19295
- * @param {*} [options] Override http request option.
19296
- * @throws {RequiredError}
19297
- */
19298
- async postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingServicesModel>> {
19299
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetShippingServices(shippingInformationDTO, options);
19300
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19301
- const localVarOperationServerBasePath = operationServerMap['ShippingApi.postGetShippingServices']?.[localVarOperationServerIndex]?.url;
19302
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19303
- },
19304
- }
19305
- };
19306
-
19307
- /**
19308
- * ShippingApi - factory interface
19309
- * @export
19310
- */
19311
- export const ShippingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
19312
- const localVarFp = ShippingApiFp(configuration)
19313
- return {
19314
- /**
19315
- * Get Shipping Services
19316
- * @summary Get Shipping Services
19317
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
19318
- * @param {*} [options] Override http request option.
19319
- * @throws {RequiredError}
19320
- */
19321
- postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShippingServicesModel> {
19322
- return localVarFp.postGetShippingServices(shippingInformationDTO, options).then((request) => request(axios, basePath));
19323
- },
19324
- };
19325
- };
19326
-
19327
- /**
19328
- * ShippingApi - object-oriented interface
19329
- * @export
19330
- * @class ShippingApi
19331
- * @extends {BaseAPI}
19332
- */
19333
- export class ShippingApi extends BaseAPI {
19334
- /**
19335
- * Get Shipping Services
19336
- * @summary Get Shipping Services
19337
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
19338
- * @param {*} [options] Override http request option.
19339
- * @throws {RequiredError}
19340
- * @memberof ShippingApi
19341
- */
19342
- public postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig) {
19343
- return ShippingApiFp(this.configuration).postGetShippingServices(shippingInformationDTO, options).then((request) => request(this.axios, this.basePath));
19344
- }
19345
- }
19346
-
19347
-
19348
-
19349
17809
  /**
19350
17810
  * StockManagementApi - axios parameter creator
19351
17811
  * @export
@@ -20432,7 +18892,7 @@ export const StockManagementApiFp = function(configuration?: Configuration) {
20432
18892
  * @param {*} [options] Override http request option.
20433
18893
  * @throws {RequiredError}
20434
18894
  */
20435
- async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryDTO>>> {
18895
+ async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryModel>>> {
20436
18896
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockSupplierProducts(id, options);
20437
18897
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20438
18898
  const localVarOperationServerBasePath = operationServerMap['StockManagementApi.getGetStockSupplierProducts']?.[localVarOperationServerIndex]?.url;
@@ -20735,7 +19195,7 @@ export const StockManagementApiFactory = function (configuration?: Configuration
20735
19195
  * @param {*} [options] Override http request option.
20736
19196
  * @throws {RequiredError}
20737
19197
  */
20738
- getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryDTO>> {
19198
+ getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryModel>> {
20739
19199
  return localVarFp.getGetStockSupplierProducts(id, options).then((request) => request(axios, basePath));
20740
19200
  },
20741
19201
  /**