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

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 (58) hide show
  1. package/.openapi-generator/FILES +198 -217
  2. package/README.md +7 -36
  3. package/api.ts +236 -1972
  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 +160 -1479
  9. package/dist/api.js +197 -1140
  10. package/dist/base.d.ts +1 -1
  11. package/dist/base.js +1 -1
  12. package/dist/common.d.ts +1 -1
  13. package/dist/common.js +1 -1
  14. package/dist/configuration.d.ts +1 -1
  15. package/dist/configuration.js +1 -1
  16. package/dist/index.d.ts +1 -1
  17. package/dist/index.js +1 -1
  18. package/docs/AccountsApi.md +0 -103
  19. package/docs/AddressModel.md +0 -2
  20. package/docs/Class3CXApi.md +55 -0
  21. package/docs/ClientDetailsModel.md +2 -0
  22. package/docs/{ShippingServicesModel.md → GetGetPasswordHash200Response.md} +5 -5
  23. package/docs/ItemDTO.md +4 -12
  24. package/docs/ItemEntity.md +2 -4
  25. package/docs/OrderSummaryDTO.md +0 -8
  26. package/docs/OrderTotalModel.md +0 -2
  27. package/docs/OrdersApi.md +4 -356
  28. package/docs/ProductSearchResultsModel.md +1 -1
  29. package/docs/{ProductSummaryDTO.md → ProductSummaryModel.md} +3 -5
  30. package/docs/ProductsApi.md +43 -164
  31. package/docs/ProvisioningApi.md +4 -4
  32. package/docs/{ProvisioningModel.md → ProvisioningEntity.md} +3 -3
  33. package/docs/ShipmentEntity.md +2 -2
  34. package/docs/StockManagementApi.md +2 -2
  35. package/docs/TcxSbcModel.md +1 -1
  36. package/index.ts +1 -1
  37. package/package.json +1 -1
  38. package/docs/AbstractOrderRequestDTO.md +0 -33
  39. package/docs/AccountDetailedSummaryDTO.md +0 -39
  40. package/docs/AdminItemRequestDTO.md +0 -43
  41. package/docs/AdminOrderRequestDTO.md +0 -45
  42. package/docs/AdminUserModel.md +0 -29
  43. package/docs/BasicItemDTO.md +0 -23
  44. package/docs/BasicProductDTO.md +0 -23
  45. package/docs/CourierPriceEntity.md +0 -39
  46. package/docs/CustomerItemRequestDTO.md +0 -37
  47. package/docs/CustomerOrderRequestDTO.md +0 -33
  48. package/docs/DetailedItemRequestDTO.md +0 -43
  49. package/docs/DetailedOrderRequestDTO.md +0 -33
  50. package/docs/ItemDiscountEntity.md +0 -33
  51. package/docs/LinkedOrderEntity.md +0 -23
  52. package/docs/PostGetProductForCustomerRequest.md +0 -24
  53. package/docs/ShippingApi.md +0 -63
  54. package/docs/ShippingConsignmentModel.md +0 -26
  55. package/docs/ShippingInformationDTO.md +0 -25
  56. package/docs/ShippingServiceDTO.md +0 -23
  57. package/docs/ShippingServiceModel.md +0 -31
  58. package/docs/TcxSbcDTO.md +0 -31
package/api.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Yellowgrid
5
- * Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `http://api.yellowgrid.local` For questions or technical support, please contact support@yellowgrid.co.uk.
5
+ * Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `http://api.yellowgrid.local` For questions or technical support, please contact support@yellowgrid.co.uk.
6
6
  *
7
7
  * The version of the OpenAPI document: 0
8
8
  *
@@ -23,55 +23,6 @@ import type { RequestArgs } from './base';
23
23
  // @ts-ignore
24
24
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
25
25
 
26
- /**
27
- * Order Request
28
- * @export
29
- * @interface AbstractOrderRequestDTO
30
- */
31
- export interface AbstractOrderRequestDTO {
32
- /**
33
- * Order Reference
34
- * @type {string}
35
- * @memberof AbstractOrderRequestDTO
36
- */
37
- 'orderReference'?: string | null;
38
- /**
39
- * Items
40
- * @type {Array<CustomerItemRequestDTO>}
41
- * @memberof AbstractOrderRequestDTO
42
- */
43
- 'items'?: Array<CustomerItemRequestDTO>;
44
- /**
45
- *
46
- * @type {ShippingServiceDTO}
47
- * @memberof AbstractOrderRequestDTO
48
- */
49
- 'shippingService'?: ShippingServiceDTO;
50
- /**
51
- * Provisioning URL
52
- * @type {string}
53
- * @memberof AbstractOrderRequestDTO
54
- */
55
- 'provisioningUrl'?: string | null;
56
- /**
57
- *
58
- * @type {AddressModel}
59
- * @memberof AbstractOrderRequestDTO
60
- */
61
- 'shippingAddress'?: AddressModel | null;
62
- /**
63
- * Part Ship Order
64
- * @type {boolean}
65
- * @memberof AbstractOrderRequestDTO
66
- */
67
- 'partShip'?: boolean;
68
- /**
69
- * Quote
70
- * @type {boolean}
71
- * @memberof AbstractOrderRequestDTO
72
- */
73
- 'quote'?: boolean;
74
- }
75
26
  /**
76
27
  * AccountContactsEntity
77
28
  * @export
@@ -303,73 +254,6 @@ export interface AccountContactRequestModel {
303
254
  */
304
255
  'despatchEmails'?: boolean;
305
256
  }
306
- /**
307
- * Account Details
308
- * @export
309
- * @interface AccountDetailedSummaryDTO
310
- */
311
- export interface AccountDetailedSummaryDTO {
312
- /**
313
- * ID
314
- * @type {number}
315
- * @memberof AccountDetailedSummaryDTO
316
- */
317
- 'id'?: number;
318
- /**
319
- * Xero ID
320
- * @type {string}
321
- * @memberof AccountDetailedSummaryDTO
322
- */
323
- 'xeroId'?: string;
324
- /**
325
- * Company
326
- * @type {string}
327
- * @memberof AccountDetailedSummaryDTO
328
- */
329
- 'company'?: string;
330
- /**
331
- * Credit Limit
332
- * @type {number}
333
- * @memberof AccountDetailedSummaryDTO
334
- */
335
- 'creditLimit'?: number;
336
- /**
337
- * Contacts
338
- * @type {Array<AccountContactModel>}
339
- * @memberof AccountDetailedSummaryDTO
340
- */
341
- 'contacts'?: Array<AccountContactModel>;
342
- /**
343
- *
344
- * @type {AddressModel}
345
- * @memberof AccountDetailedSummaryDTO
346
- */
347
- 'billingAddress'?: AddressModel;
348
- /**
349
- * Addresses
350
- * @type {Array<AddressModel>}
351
- * @memberof AccountDetailedSummaryDTO
352
- */
353
- 'addresses'?: Array<AddressModel>;
354
- /**
355
- * Provisioning URLs
356
- * @type {Array<ProvisioningModel>}
357
- * @memberof AccountDetailedSummaryDTO
358
- */
359
- 'provisioningUrls'?: Array<ProvisioningModel>;
360
- /**
361
- * On Hold
362
- * @type {boolean}
363
- * @memberof AccountDetailedSummaryDTO
364
- */
365
- 'onHold'?: boolean;
366
- /**
367
- * Balance (£)
368
- * @type {number}
369
- * @memberof AccountDetailedSummaryDTO
370
- */
371
- 'balance'?: number | null;
372
- }
373
257
  /**
374
258
  * New Account Request
375
259
  * @export
@@ -619,12 +503,6 @@ export interface AddressModel {
619
503
  * @memberof AddressModel
620
504
  */
621
505
  'company'?: string;
622
- /**
623
- * Default
624
- * @type {boolean}
625
- * @memberof AddressModel
626
- */
627
- 'default'?: boolean;
628
506
  }
629
507
  /**
630
508
  * Address Request
@@ -657,139 +535,6 @@ export interface AddressRequestModel {
657
535
  */
658
536
  'addressPostcode'?: string;
659
537
  }
660
- /**
661
- * Admin Order Request
662
- * @export
663
- * @interface AdminOrderRequestDTO
664
- */
665
- export interface AdminOrderRequestDTO {
666
- /**
667
- * Order Reference
668
- * @type {string}
669
- * @memberof AdminOrderRequestDTO
670
- */
671
- 'orderReference'?: string | null;
672
- /**
673
- * Items
674
- * @type {Array<DetailedItemRequestDTO>}
675
- * @memberof AdminOrderRequestDTO
676
- */
677
- 'items'?: Array<DetailedItemRequestDTO>;
678
- /**
679
- *
680
- * @type {ShippingServiceDTO}
681
- * @memberof AdminOrderRequestDTO
682
- */
683
- 'shippingService'?: ShippingServiceDTO;
684
- /**
685
- * Provisioning URL
686
- * @type {string}
687
- * @memberof AdminOrderRequestDTO
688
- */
689
- 'provisioningUrl'?: string | null;
690
- /**
691
- *
692
- * @type {AddressModel}
693
- * @memberof AdminOrderRequestDTO
694
- */
695
- 'shippingAddress'?: AddressModel;
696
- /**
697
- * Part Ship Order
698
- * @type {boolean}
699
- * @memberof AdminOrderRequestDTO
700
- */
701
- 'partShip'?: boolean;
702
- /**
703
- * Quote
704
- * @type {boolean}
705
- * @memberof AdminOrderRequestDTO
706
- */
707
- 'quote'?: boolean;
708
- /**
709
- * Customer ID
710
- * @type {number}
711
- * @memberof AdminOrderRequestDTO
712
- */
713
- 'customerId'?: number;
714
- /**
715
- * Contact
716
- * @type {string}
717
- * @memberof AdminOrderRequestDTO
718
- */
719
- 'contact'?: string;
720
- /**
721
- * Ignore Customer On Hold
722
- * @type {boolean}
723
- * @memberof AdminOrderRequestDTO
724
- */
725
- 'ignoreOnHold'?: boolean;
726
- /**
727
- * Ignore Customer Credit Limit
728
- * @type {boolean}
729
- * @memberof AdminOrderRequestDTO
730
- */
731
- 'ignoreCreditLimit'?: boolean;
732
- /**
733
- * Include NFR Promos
734
- * @type {boolean}
735
- * @memberof AdminOrderRequestDTO
736
- */
737
- 'includeNfrPromos'?: boolean;
738
- /**
739
- * Carriage Charge
740
- * @type {number}
741
- * @memberof AdminOrderRequestDTO
742
- */
743
- 'carriageCharge'?: number;
744
- }
745
- /**
746
- * Admin User
747
- * @export
748
- * @interface AdminUserModel
749
- */
750
- export interface AdminUserModel {
751
- /**
752
- * First Name
753
- * @type {string}
754
- * @memberof AdminUserModel
755
- */
756
- 'firstName'?: string;
757
- /**
758
- * Last Name
759
- * @type {string}
760
- * @memberof AdminUserModel
761
- */
762
- 'lastName'?: string;
763
- /**
764
- * Avatar
765
- * @type {string}
766
- * @memberof AdminUserModel
767
- */
768
- 'avatar'?: string | null;
769
- /**
770
- * Role
771
- * @type {number}
772
- * @memberof AdminUserModel
773
- */
774
- 'role'?: AdminUserModelRoleEnum;
775
- /**
776
- * Email
777
- * @type {string}
778
- * @memberof AdminUserModel
779
- */
780
- 'email'?: string | null;
781
- }
782
-
783
- export const AdminUserModelRoleEnum = {
784
- NUMBER_0: 0,
785
- NUMBER_1: 1,
786
- NUMBER_2: 2,
787
- NUMBER_3: 3,
788
- NUMBER_4: 4
789
- } as const;
790
-
791
- export type AdminUserModelRoleEnum = typeof AdminUserModelRoleEnum[keyof typeof AdminUserModelRoleEnum];
792
-
793
538
  /**
794
539
  * Agent Hours Graph
795
540
  * @export
@@ -1019,44 +764,6 @@ export interface AuthCodeResponseModel {
1019
764
  */
1020
765
  'redirect_uri'?: string | null;
1021
766
  }
1022
- /**
1023
- * Basic Order Item
1024
- * @export
1025
- * @interface BasicItemDTO
1026
- */
1027
- export interface BasicItemDTO {
1028
- /**
1029
- * SKU
1030
- * @type {string}
1031
- * @memberof BasicItemDTO
1032
- */
1033
- 'sku'?: string;
1034
- /**
1035
- * Quantity
1036
- * @type {number}
1037
- * @memberof BasicItemDTO
1038
- */
1039
- 'quantity'?: number;
1040
- }
1041
- /**
1042
- * Basic Product
1043
- * @export
1044
- * @interface BasicProductDTO
1045
- */
1046
- export interface BasicProductDTO {
1047
- /**
1048
- * SKU
1049
- * @type {string}
1050
- * @memberof BasicProductDTO
1051
- */
1052
- 'sku'?: string;
1053
- /**
1054
- * Title
1055
- * @type {string}
1056
- * @memberof BasicProductDTO
1057
- */
1058
- 'title'?: string;
1059
- }
1060
767
  /**
1061
768
  * BatchesEntity
1062
769
  * @export
@@ -1251,6 +958,12 @@ export interface ClientDetailsModel {
1251
958
  * @memberof ClientDetailsModel
1252
959
  */
1253
960
  'lastName'?: string;
961
+ /**
962
+ * User Profile Picture
963
+ * @type {string}
964
+ * @memberof ClientDetailsModel
965
+ */
966
+ 'image'?: string | null;
1254
967
  }
1255
968
  /**
1256
969
  * OAuth client details
@@ -1412,73 +1125,6 @@ export interface ConversationModel {
1412
1125
  */
1413
1126
  'attachments'?: Array<AttachmentModel>;
1414
1127
  }
1415
- /**
1416
- * CourierPricesEntity
1417
- * @export
1418
- * @interface CourierPriceEntity
1419
- */
1420
- export interface CourierPriceEntity {
1421
- /**
1422
- * id
1423
- * @type {number}
1424
- * @memberof CourierPriceEntity
1425
- */
1426
- 'id'?: number;
1427
- /**
1428
- * courier
1429
- * @type {string}
1430
- * @memberof CourierPriceEntity
1431
- */
1432
- 'courier'?: string;
1433
- /**
1434
- * destinationIso
1435
- * @type {string}
1436
- * @memberof CourierPriceEntity
1437
- */
1438
- 'destinationIso'?: string;
1439
- /**
1440
- * serviceDescription
1441
- * @type {string}
1442
- * @memberof CourierPriceEntity
1443
- */
1444
- 'serviceDescription'?: string;
1445
- /**
1446
- * flatRate
1447
- * @type {number}
1448
- * @memberof CourierPriceEntity
1449
- */
1450
- 'flatRate'?: number;
1451
- /**
1452
- * initialBox
1453
- * @type {number}
1454
- * @memberof CourierPriceEntity
1455
- */
1456
- 'initialBox'?: number;
1457
- /**
1458
- * initialKg
1459
- * @type {number}
1460
- * @memberof CourierPriceEntity
1461
- */
1462
- 'initialKg'?: number;
1463
- /**
1464
- * perBox
1465
- * @type {number}
1466
- * @memberof CourierPriceEntity
1467
- */
1468
- 'perBox'?: number;
1469
- /**
1470
- * perKg
1471
- * @type {number}
1472
- * @memberof CourierPriceEntity
1473
- */
1474
- 'perKg'?: number;
1475
- /**
1476
- * maxKg
1477
- * @type {number}
1478
- * @memberof CourierPriceEntity
1479
- */
1480
- 'maxKg'?: number;
1481
- }
1482
1128
  /**
1483
1129
  * Credit Account
1484
1130
  * @export
@@ -1711,131 +1357,21 @@ export interface CustomerInformationModel {
1711
1357
  'contactLastName'?: string;
1712
1358
  }
1713
1359
  /**
1714
- * Order Item Request
1360
+ * Customer Price List
1715
1361
  * @export
1716
- * @interface CustomerItemRequestDTO
1362
+ * @interface CustomerPriceListEnum
1717
1363
  */
1718
- export interface CustomerItemRequestDTO {
1719
- /**
1720
- * SKU
1721
- * @type {string}
1722
- * @memberof CustomerItemRequestDTO
1723
- */
1724
- 'sku'?: string;
1725
- /**
1726
- * Quantity
1727
- * @type {number}
1728
- * @memberof CustomerItemRequestDTO
1729
- */
1730
- 'quantity'?: number;
1364
+ export interface CustomerPriceListEnum {
1731
1365
  /**
1732
- * ID
1366
+ * Price List ID
1733
1367
  * @type {number}
1734
- * @memberof CustomerItemRequestDTO
1368
+ * @memberof CustomerPriceListEnum
1735
1369
  */
1736
- 'id'?: number | null;
1370
+ 'id'?: number;
1737
1371
  /**
1738
- * 3CX Licence Key
1372
+ * Price List Name
1739
1373
  * @type {string}
1740
- * @memberof CustomerItemRequestDTO
1741
- */
1742
- 'licenceKey'?: string | null;
1743
- /**
1744
- * 3CX Hosting
1745
- * @type {boolean}
1746
- * @memberof CustomerItemRequestDTO
1747
- */
1748
- 'hosting'?: boolean | null;
1749
- /**
1750
- * Date Time
1751
- * @type {string}
1752
- * @memberof CustomerItemRequestDTO
1753
- */
1754
- 'processDate'?: string;
1755
- /**
1756
- * 3CX Sales Code
1757
- * @type {string}
1758
- * @memberof CustomerItemRequestDTO
1759
- */
1760
- 'tcxSalesCode'?: string | null;
1761
- /**
1762
- * SBCS
1763
- * @type {Array<TcxSbcDTO>}
1764
- * @memberof CustomerItemRequestDTO
1765
- */
1766
- 'sbcs'?: Array<TcxSbcDTO>;
1767
- /**
1768
- * Read Only (Cannot be edited)
1769
- * @type {boolean}
1770
- * @memberof CustomerItemRequestDTO
1771
- */
1772
- 'readOnly'?: boolean;
1773
- }
1774
- /**
1775
- * Order Request
1776
- * @export
1777
- * @interface CustomerOrderRequestDTO
1778
- */
1779
- export interface CustomerOrderRequestDTO {
1780
- /**
1781
- * Order Reference
1782
- * @type {string}
1783
- * @memberof CustomerOrderRequestDTO
1784
- */
1785
- 'orderReference'?: string | null;
1786
- /**
1787
- * Items
1788
- * @type {Array<CustomerItemRequestDTO>}
1789
- * @memberof CustomerOrderRequestDTO
1790
- */
1791
- 'items'?: Array<CustomerItemRequestDTO>;
1792
- /**
1793
- *
1794
- * @type {ShippingServiceDTO}
1795
- * @memberof CustomerOrderRequestDTO
1796
- */
1797
- 'shippingService'?: ShippingServiceDTO;
1798
- /**
1799
- * Provisioning URL
1800
- * @type {string}
1801
- * @memberof CustomerOrderRequestDTO
1802
- */
1803
- 'provisioningUrl'?: string | null;
1804
- /**
1805
- *
1806
- * @type {AddressModel}
1807
- * @memberof CustomerOrderRequestDTO
1808
- */
1809
- 'shippingAddress'?: AddressModel;
1810
- /**
1811
- * Part Ship Order
1812
- * @type {boolean}
1813
- * @memberof CustomerOrderRequestDTO
1814
- */
1815
- 'partShip'?: boolean;
1816
- /**
1817
- * Quote
1818
- * @type {boolean}
1819
- * @memberof CustomerOrderRequestDTO
1820
- */
1821
- 'quote'?: boolean;
1822
- }
1823
- /**
1824
- * Customer Price List
1825
- * @export
1826
- * @interface CustomerPriceListEnum
1827
- */
1828
- export interface CustomerPriceListEnum {
1829
- /**
1830
- * Price List ID
1831
- * @type {number}
1832
- * @memberof CustomerPriceListEnum
1833
- */
1834
- 'id'?: number;
1835
- /**
1836
- * Price List Name
1837
- * @type {string}
1838
- * @memberof CustomerPriceListEnum
1374
+ * @memberof CustomerPriceListEnum
1839
1375
  */
1840
1376
  'name'?: string;
1841
1377
  }
@@ -1920,134 +1456,6 @@ export interface DdiRangesRequestModel {
1920
1456
  */
1921
1457
  'ranges'?: Array<DdiRangeRequestModel>;
1922
1458
  }
1923
- /**
1924
- * Detailed Order Item Request
1925
- * @export
1926
- * @interface DetailedItemRequestDTO
1927
- */
1928
- export interface DetailedItemRequestDTO {
1929
- /**
1930
- * SKU
1931
- * @type {string}
1932
- * @memberof DetailedItemRequestDTO
1933
- */
1934
- 'sku'?: string;
1935
- /**
1936
- * Quantity
1937
- * @type {number}
1938
- * @memberof DetailedItemRequestDTO
1939
- */
1940
- 'quantity'?: number;
1941
- /**
1942
- * ID
1943
- * @type {number}
1944
- * @memberof DetailedItemRequestDTO
1945
- */
1946
- 'id'?: number | null;
1947
- /**
1948
- * 3CX Licence Key
1949
- * @type {string}
1950
- * @memberof DetailedItemRequestDTO
1951
- */
1952
- 'licenceKey'?: string | null;
1953
- /**
1954
- * 3CX Hosting
1955
- * @type {boolean}
1956
- * @memberof DetailedItemRequestDTO
1957
- */
1958
- 'hosting'?: boolean | null;
1959
- /**
1960
- * Date Time
1961
- * @type {string}
1962
- * @memberof DetailedItemRequestDTO
1963
- */
1964
- 'processDate'?: string;
1965
- /**
1966
- * 3CX Sales Code
1967
- * @type {string}
1968
- * @memberof DetailedItemRequestDTO
1969
- */
1970
- 'tcxSalesCode'?: string | null;
1971
- /**
1972
- * SBCS
1973
- * @type {Array<TcxSbcDTO>}
1974
- * @memberof DetailedItemRequestDTO
1975
- */
1976
- 'sbcs'?: Array<TcxSbcDTO>;
1977
- /**
1978
- * Read Only (Cannot be edited)
1979
- * @type {boolean}
1980
- * @memberof DetailedItemRequestDTO
1981
- */
1982
- 'readOnly'?: boolean;
1983
- /**
1984
- * Title
1985
- * @type {string}
1986
- * @memberof DetailedItemRequestDTO
1987
- */
1988
- 'title'?: string | null;
1989
- /**
1990
- * Price (£)
1991
- * @type {number}
1992
- * @memberof DetailedItemRequestDTO
1993
- */
1994
- 'itemPrice'?: number | null;
1995
- /**
1996
- * Additional Discount
1997
- * @type {number}
1998
- * @memberof DetailedItemRequestDTO
1999
- */
2000
- 'additionalDiscount'?: number | null;
2001
- }
2002
- /**
2003
- * Detailed Order Request
2004
- * @export
2005
- * @interface DetailedOrderRequestDTO
2006
- */
2007
- export interface DetailedOrderRequestDTO {
2008
- /**
2009
- * Order Reference
2010
- * @type {string}
2011
- * @memberof DetailedOrderRequestDTO
2012
- */
2013
- 'orderReference'?: string | null;
2014
- /**
2015
- * Items
2016
- * @type {Array<DetailedItemRequestDTO>}
2017
- * @memberof DetailedOrderRequestDTO
2018
- */
2019
- 'items'?: Array<DetailedItemRequestDTO>;
2020
- /**
2021
- *
2022
- * @type {ShippingServiceDTO}
2023
- * @memberof DetailedOrderRequestDTO
2024
- */
2025
- 'shippingService'?: ShippingServiceDTO;
2026
- /**
2027
- * Provisioning URL
2028
- * @type {string}
2029
- * @memberof DetailedOrderRequestDTO
2030
- */
2031
- 'provisioningUrl'?: string | null;
2032
- /**
2033
- *
2034
- * @type {AddressModel}
2035
- * @memberof DetailedOrderRequestDTO
2036
- */
2037
- 'shippingAddress'?: AddressModel;
2038
- /**
2039
- * Part Ship Order
2040
- * @type {boolean}
2041
- * @memberof DetailedOrderRequestDTO
2042
- */
2043
- 'partShip'?: boolean;
2044
- /**
2045
- * Quote
2046
- * @type {boolean}
2047
- * @memberof DetailedOrderRequestDTO
2048
- */
2049
- 'quote'?: boolean;
2050
- }
2051
1459
  /**
2052
1460
  * Divert Request
2053
1461
  * @export
@@ -2457,6 +1865,19 @@ export interface GenericFileModel {
2457
1865
  */
2458
1866
  'type'?: string;
2459
1867
  }
1868
+ /**
1869
+ *
1870
+ * @export
1871
+ * @interface GetGetPasswordHash200Response
1872
+ */
1873
+ export interface GetGetPasswordHash200Response {
1874
+ /**
1875
+ *
1876
+ * @type {string}
1877
+ * @memberof GetGetPasswordHash200Response
1878
+ */
1879
+ 'hash'?: string;
1880
+ }
2460
1881
  /**
2461
1882
  *
2462
1883
  * @export
@@ -3057,36 +2478,36 @@ export interface InstanceUserCredentialsEntity {
3057
2478
  * @interface ItemDTO
3058
2479
  */
3059
2480
  export interface ItemDTO {
3060
- /**
3061
- * SKU
3062
- * @type {string}
3063
- * @memberof ItemDTO
3064
- */
3065
- 'sku'?: string;
3066
- /**
3067
- * Quantity
3068
- * @type {number}
3069
- * @memberof ItemDTO
3070
- */
3071
- 'quantity'?: number;
3072
2481
  /**
3073
2482
  * ID
3074
2483
  * @type {number}
3075
2484
  * @memberof ItemDTO
3076
2485
  */
3077
- 'id'?: number | null;
2486
+ 'id'?: number;
3078
2487
  /**
3079
2488
  * Order ID
3080
2489
  * @type {number}
3081
2490
  * @memberof ItemDTO
3082
2491
  */
3083
- 'orderId'?: number | null;
2492
+ 'orderId'?: number;
3084
2493
  /**
3085
2494
  * Title
3086
2495
  * @type {string}
3087
2496
  * @memberof ItemDTO
3088
2497
  */
3089
2498
  'title'?: string;
2499
+ /**
2500
+ * SKU
2501
+ * @type {string}
2502
+ * @memberof ItemDTO
2503
+ */
2504
+ 'sku'?: string;
2505
+ /**
2506
+ * Quantity
2507
+ * @type {number}
2508
+ * @memberof ItemDTO
2509
+ */
2510
+ 'quantity'?: number;
3090
2511
  /**
3091
2512
  * Price
3092
2513
  * @type {number}
@@ -3111,12 +2532,6 @@ export interface ItemDTO {
3111
2532
  * @memberof ItemDTO
3112
2533
  */
3113
2534
  'processDate'?: string;
3114
- /**
3115
- * 3CX Hosting
3116
- * @type {boolean}
3117
- * @memberof ItemDTO
3118
- */
3119
- 'hosting'?: boolean | null;
3120
2535
  /**
3121
2536
  * Promo Item
3122
2537
  * @type {boolean}
@@ -3128,84 +2543,8 @@ export interface ItemDTO {
3128
2543
  * @type {number}
3129
2544
  * @memberof ItemDTO
3130
2545
  */
3131
- 'refunded'?: number | null;
3132
- /**
3133
- * SBCs
3134
- * @type {Array<TcxSbcDTO>}
3135
- * @memberof ItemDTO
3136
- */
3137
- 'sbcs'?: Array<TcxSbcDTO> | null;
3138
- /**
3139
- * Readonly
3140
- * @type {boolean}
3141
- * @memberof ItemDTO
3142
- */
3143
- 'readonly'?: boolean;
3144
- /**
3145
- * 3CX Sales Code
3146
- * @type {string}
3147
- * @memberof ItemDTO
3148
- */
3149
- 'tcxSalesCode'?: string | null;
3150
- }
3151
- /**
3152
- * ItemDiscountsEntity
3153
- * @export
3154
- * @interface ItemDiscountEntity
3155
- */
3156
- export interface ItemDiscountEntity {
3157
- /**
3158
- * id
3159
- * @type {number}
3160
- * @memberof ItemDiscountEntity
3161
- */
3162
- 'id'?: number;
3163
- /**
3164
- * itemId
3165
- * @type {number}
3166
- * @memberof ItemDiscountEntity
3167
- */
3168
- 'itemId'?: number;
3169
- /**
3170
- * priceList
3171
- * @type {string}
3172
- * @memberof ItemDiscountEntity
3173
- */
3174
- 'priceList'?: string;
3175
- /**
3176
- * discount
3177
- * @type {number}
3178
- * @memberof ItemDiscountEntity
3179
- */
3180
- 'discount'?: number;
3181
- /**
3182
- * type
3183
- * @type {string}
3184
- * @memberof ItemDiscountEntity
3185
- */
3186
- 'type'?: ItemDiscountEntityTypeEnum | null;
3187
- /**
3188
- * description
3189
- * @type {string}
3190
- * @memberof ItemDiscountEntity
3191
- */
3192
- 'description'?: string;
3193
- /**
3194
- * priority
3195
- * @type {number}
3196
- * @memberof ItemDiscountEntity
3197
- */
3198
- 'priority'?: number;
2546
+ 'refunded'?: number;
3199
2547
  }
3200
-
3201
- export const ItemDiscountEntityTypeEnum = {
3202
- TcxPhones: 'TCX_PHONES',
3203
- PhoneBulk: 'PHONE_BULK',
3204
- Additional: 'ADDITIONAL'
3205
- } as const;
3206
-
3207
- export type ItemDiscountEntityTypeEnum = typeof ItemDiscountEntityTypeEnum[keyof typeof ItemDiscountEntityTypeEnum];
3208
-
3209
2548
  /**
3210
2549
  * ItemsEntity
3211
2550
  * @export
@@ -3313,7 +2652,7 @@ export interface ItemEntity {
3313
2652
  * @type {string}
3314
2653
  * @memberof ItemEntity
3315
2654
  */
3316
- 'licenceKey'?: string;
2655
+ 'licencekey'?: string;
3317
2656
  /**
3318
2657
  * addHosting
3319
2658
  * @type {number}
@@ -3338,31 +2677,6 @@ export interface ItemEntity {
3338
2677
  * @memberof ItemEntity
3339
2678
  */
3340
2679
  'promoItem'?: number;
3341
- /**
3342
- * 3CX Sales Code
3343
- * @type {string}
3344
- * @memberof ItemEntity
3345
- */
3346
- 'tcxSalesCode'?: string | null;
3347
- }
3348
- /**
3349
- * LinkedOrdersEntity
3350
- * @export
3351
- * @interface LinkedOrderEntity
3352
- */
3353
- export interface LinkedOrderEntity {
3354
- /**
3355
- * orderId
3356
- * @type {number}
3357
- * @memberof LinkedOrderEntity
3358
- */
3359
- 'orderId'?: number;
3360
- /**
3361
- * linkedOrderId
3362
- * @type {number}
3363
- * @memberof LinkedOrderEntity
3364
- */
3365
- 'linkedOrderId'?: number;
3366
2680
  }
3367
2681
  /**
3368
2682
  * MFA Required
@@ -4023,19 +3337,13 @@ export interface OrderSummaryDTO {
4023
3337
  * @type {string}
4024
3338
  * @memberof OrderSummaryDTO
4025
3339
  */
4026
- 'reference'?: string | null;
3340
+ 'reference'?: string;
4027
3341
  /**
4028
3342
  * Invoice Number
4029
3343
  * @type {string}
4030
3344
  * @memberof OrderSummaryDTO
4031
3345
  */
4032
3346
  'invoiceNumber'?: string;
4033
- /**
4034
- * Invoice ID
4035
- * @type {string}
4036
- * @memberof OrderSummaryDTO
4037
- */
4038
- 'invoiceId'?: string | null;
4039
3347
  /**
4040
3348
  * Date Time
4041
3349
  * @type {string}
@@ -4090,24 +3398,6 @@ export interface OrderSummaryDTO {
4090
3398
  * @memberof OrderSummaryDTO
4091
3399
  */
4092
3400
  'fulfillable'?: boolean | null;
4093
- /**
4094
- * Provisioning URL
4095
- * @type {string}
4096
- * @memberof OrderSummaryDTO
4097
- */
4098
- 'provisioningUrl'?: string | null;
4099
- /**
4100
- *
4101
- * @type {ShippingServiceDTO}
4102
- * @memberof OrderSummaryDTO
4103
- */
4104
- 'shippingService'?: ShippingServiceDTO | null;
4105
- /**
4106
- * Readonly
4107
- * @type {boolean}
4108
- * @memberof OrderSummaryDTO
4109
- */
4110
- 'readonly'?: boolean;
4111
3401
  }
4112
3402
  /**
4113
3403
  * Order Totals
@@ -4157,12 +3447,6 @@ export interface OrderTotalModel {
4157
3447
  * @memberof OrderTotalModel
4158
3448
  */
4159
3449
  'currency'?: OrderTotalModelCurrencyEnum;
4160
- /**
4161
- * Delivery
4162
- * @type {number}
4163
- * @memberof OrderTotalModel
4164
- */
4165
- 'delivery'?: number | null;
4166
3450
  }
4167
3451
 
4168
3452
  export const OrderTotalModelCurrencyEnum = {
@@ -4544,31 +3828,6 @@ export interface PostGetClientCredentialsRequest {
4544
3828
  */
4545
3829
  'scopes'?: Array<string>;
4546
3830
  }
4547
- /**
4548
- *
4549
- * @export
4550
- * @interface PostGetProductForCustomerRequest
4551
- */
4552
- export interface PostGetProductForCustomerRequest {
4553
- /**
4554
- * Quantity
4555
- * @type {number}
4556
- * @memberof PostGetProductForCustomerRequest
4557
- */
4558
- 'quantity'?: number | null;
4559
- /**
4560
- * 3CX Licence Key
4561
- * @type {string}
4562
- * @memberof PostGetProductForCustomerRequest
4563
- */
4564
- 'licenceKey'?: string | null;
4565
- /**
4566
- * 3CX Hosting
4567
- * @type {boolean}
4568
- * @memberof PostGetProductForCustomerRequest
4569
- */
4570
- 'hosting'?: boolean | null;
4571
- }
4572
3831
  /**
4573
3832
  * Price & Stock List
4574
3833
  * @export
@@ -4700,10 +3959,10 @@ export interface ProductPriceListItemModel {
4700
3959
  export interface ProductSearchResultsModel {
4701
3960
  /**
4702
3961
  * Results
4703
- * @type {Array<ProductSummaryDTO>}
3962
+ * @type {Array<ProductSummaryModel>}
4704
3963
  * @memberof ProductSearchResultsModel
4705
3964
  */
4706
- 'results'?: Array<ProductSummaryDTO>;
3965
+ 'results'?: Array<ProductSummaryModel>;
4707
3966
  }
4708
3967
  /**
4709
3968
  * Product Serial Info
@@ -4739,51 +3998,45 @@ export interface ProductSerialInfoModel {
4739
3998
  /**
4740
3999
  * Product Summary
4741
4000
  * @export
4742
- * @interface ProductSummaryDTO
4001
+ * @interface ProductSummaryModel
4743
4002
  */
4744
- export interface ProductSummaryDTO {
4003
+ export interface ProductSummaryModel {
4745
4004
  /**
4746
4005
  * SKU
4747
4006
  * @type {string}
4748
- * @memberof ProductSummaryDTO
4007
+ * @memberof ProductSummaryModel
4749
4008
  */
4750
4009
  'sku'?: string;
4751
4010
  /**
4752
4011
  * Title
4753
4012
  * @type {string}
4754
- * @memberof ProductSummaryDTO
4013
+ * @memberof ProductSummaryModel
4755
4014
  */
4756
4015
  'title'?: string;
4757
4016
  /**
4758
4017
  * Stock Quantity
4759
4018
  * @type {number}
4760
- * @memberof ProductSummaryDTO
4019
+ * @memberof ProductSummaryModel
4761
4020
  */
4762
4021
  'quantity'?: number | null;
4763
4022
  /**
4764
4023
  * Stock Product
4765
4024
  * @type {boolean}
4766
- * @memberof ProductSummaryDTO
4025
+ * @memberof ProductSummaryModel
4767
4026
  */
4768
4027
  'stockProduct'?: boolean;
4769
4028
  /**
4770
4029
  * Price
4771
4030
  * @type {number}
4772
- * @memberof ProductSummaryDTO
4031
+ * @memberof ProductSummaryModel
4773
4032
  */
4774
4033
  'price'?: number | null;
4775
4034
  /**
4776
4035
  * Carton Size
4777
4036
  * @type {number}
4778
- * @memberof ProductSummaryDTO
4037
+ * @memberof ProductSummaryModel
4779
4038
  */
4780
4039
  'cartonSize'?: number | null;
4781
- /**
4782
- * RRP Price
4783
- * @type {number}
4784
- * @memberof ProductSummaryDTO
4785
- */
4786
- 'rrp'?: number | null;
4787
4040
  }
4788
4041
  /**
4789
4042
  * PromoCodesEntity
@@ -4922,37 +4175,37 @@ export interface PromoItemsEntity {
4922
4175
  /**
4923
4176
  * Provisioning Group
4924
4177
  * @export
4925
- * @interface ProvisioningModel
4178
+ * @interface ProvisioningEntity
4926
4179
  */
4927
- export interface ProvisioningModel {
4180
+ export interface ProvisioningEntity {
4928
4181
  /**
4929
4182
  * Provisioning Group Name
4930
4183
  * @type {string}
4931
- * @memberof ProvisioningModel
4184
+ * @memberof ProvisioningEntity
4932
4185
  */
4933
4186
  'groupName'?: string;
4934
4187
  /**
4935
4188
  * Provisioning URL (Static Provisioning Server)
4936
4189
  * @type {string}
4937
- * @memberof ProvisioningModel
4190
+ * @memberof ProvisioningEntity
4938
4191
  */
4939
4192
  'provisioningUrl'?: string;
4940
4193
  /**
4941
4194
  * Additional Authentication Secret
4942
4195
  * @type {string}
4943
- * @memberof ProvisioningModel
4196
+ * @memberof ProvisioningEntity
4944
4197
  */
4945
4198
  'auth'?: string;
4946
4199
  /**
4947
4200
  * Provisioning Group ID
4948
4201
  * @type {number}
4949
- * @memberof ProvisioningModel
4202
+ * @memberof ProvisioningEntity
4950
4203
  */
4951
4204
  'id'?: number;
4952
4205
  /**
4953
4206
  * Owner ID
4954
4207
  * @type {number}
4955
- * @memberof ProvisioningModel
4208
+ * @memberof ProvisioningEntity
4956
4209
  */
4957
4210
  'customerId'?: number;
4958
4211
  }
@@ -5306,7 +4559,7 @@ export interface ShipmentEntity {
5306
4559
  * @type {string}
5307
4560
  * @memberof ShipmentEntity
5308
4561
  */
5309
- 'dateShipped'?: string;
4562
+ 'date'?: string;
5310
4563
  /**
5311
4564
  * requestDate
5312
4565
  * @type {string}
@@ -5357,155 +4610,6 @@ export interface ShipmentItemEntity {
5357
4610
  */
5358
4611
  'itemId'?: string;
5359
4612
  }
5360
- /**
5361
- *
5362
- * @export
5363
- * @interface ShippingConsignmentModel
5364
- */
5365
- export interface ShippingConsignmentModel {
5366
- /**
5367
- *
5368
- * @type {ShippingServiceModel}
5369
- * @memberof ShippingConsignmentModel
5370
- */
5371
- 'service'?: ShippingServiceModel;
5372
- /**
5373
- * ID/Number
5374
- * @type {string}
5375
- * @memberof ShippingConsignmentModel
5376
- */
5377
- 'id'?: string;
5378
- /**
5379
- * Tracking Number
5380
- * @type {string}
5381
- * @memberof ShippingConsignmentModel
5382
- */
5383
- 'trackingNumber'?: string;
5384
- /**
5385
- * Parcels
5386
- * @type {Array<string>}
5387
- * @memberof ShippingConsignmentModel
5388
- */
5389
- 'parcelIds'?: Array<string>;
5390
- }
5391
- /**
5392
- * Shipping Information
5393
- * @export
5394
- * @interface ShippingInformationDTO
5395
- */
5396
- export interface ShippingInformationDTO {
5397
- /**
5398
- * Items
5399
- * @type {Array<BasicItemDTO>}
5400
- * @memberof ShippingInformationDTO
5401
- */
5402
- 'items'?: Array<BasicItemDTO>;
5403
- /**
5404
- * Destination Post Code
5405
- * @type {string}
5406
- * @memberof ShippingInformationDTO
5407
- */
5408
- 'postalCode'?: string;
5409
- /**
5410
- * Destination ISO
5411
- * @type {string}
5412
- * @memberof ShippingInformationDTO
5413
- */
5414
- 'iso'?: string;
5415
- }
5416
- /**
5417
- * Shipping Service
5418
- * @export
5419
- * @interface ShippingServiceDTO
5420
- */
5421
- export interface ShippingServiceDTO {
5422
- /**
5423
- * Courier
5424
- * @type {string}
5425
- * @memberof ShippingServiceDTO
5426
- */
5427
- 'courier'?: ShippingServiceDTOCourierEnum;
5428
- /**
5429
- * Service Name
5430
- * @type {string}
5431
- * @memberof ShippingServiceDTO
5432
- */
5433
- 'serviceName'?: string;
5434
- }
5435
-
5436
- export const ShippingServiceDTOCourierEnum = {
5437
- Dpd: 'DPD',
5438
- ChorltonPallet: 'Chorlton Pallet',
5439
- Pops: 'POPS'
5440
- } as const;
5441
-
5442
- export type ShippingServiceDTOCourierEnum = typeof ShippingServiceDTOCourierEnum[keyof typeof ShippingServiceDTOCourierEnum];
5443
-
5444
- /**
5445
- * Shipping Service
5446
- * @export
5447
- * @interface ShippingServiceModel
5448
- */
5449
- export interface ShippingServiceModel {
5450
- /**
5451
- * Courier
5452
- * @type {string}
5453
- * @memberof ShippingServiceModel
5454
- */
5455
- 'courier'?: ShippingServiceModelCourierEnum;
5456
- /**
5457
- * Code
5458
- * @type {string}
5459
- * @memberof ShippingServiceModel
5460
- */
5461
- 'code'?: string;
5462
- /**
5463
- * Name
5464
- * @type {string}
5465
- * @memberof ShippingServiceModel
5466
- */
5467
- 'name'?: string;
5468
- /**
5469
- * Description
5470
- * @type {string}
5471
- * @memberof ShippingServiceModel
5472
- */
5473
- 'description'?: string;
5474
- /**
5475
- * Label
5476
- * @type {string}
5477
- * @memberof ShippingServiceModel
5478
- */
5479
- 'label'?: string | null;
5480
- /**
5481
- * Price
5482
- * @type {number}
5483
- * @memberof ShippingServiceModel
5484
- */
5485
- 'price'?: number | null;
5486
- }
5487
-
5488
- export const ShippingServiceModelCourierEnum = {
5489
- Dpd: 'DPD',
5490
- ChorltonPallet: 'Chorlton Pallet',
5491
- Pops: 'POPS'
5492
- } as const;
5493
-
5494
- export type ShippingServiceModelCourierEnum = typeof ShippingServiceModelCourierEnum[keyof typeof ShippingServiceModelCourierEnum];
5495
-
5496
- /**
5497
- *
5498
- * @export
5499
- * @interface ShippingServicesModel
5500
- */
5501
- export interface ShippingServicesModel {
5502
- /**
5503
- * Services
5504
- * @type {Array<ShippingServiceModel>}
5505
- * @memberof ShippingServicesModel
5506
- */
5507
- 'services'?: Array<ShippingServiceModel>;
5508
- }
5509
4613
  /**
5510
4614
  * Change Response
5511
4615
  * @export
@@ -8345,49 +7449,6 @@ export interface TcxRemoteStorageModel {
8345
7449
  */
8346
7450
  'secretAccessKey'?: string;
8347
7451
  }
8348
- /**
8349
- * SBC Data
8350
- * @export
8351
- * @interface TcxSbcDTO
8352
- */
8353
- export interface TcxSbcDTO {
8354
- /**
8355
- * LAN IP Address
8356
- * @type {string}
8357
- * @memberof TcxSbcDTO
8358
- */
8359
- 'ipAddress'?: string;
8360
- /**
8361
- * LAN Default Gateway
8362
- * @type {string}
8363
- * @memberof TcxSbcDTO
8364
- */
8365
- 'defaultGateway'?: string;
8366
- /**
8367
- * LAN Subnet Mask
8368
- * @type {string}
8369
- * @memberof TcxSbcDTO
8370
- */
8371
- 'netmask'?: string;
8372
- /**
8373
- * DNS
8374
- * @type {string}
8375
- * @memberof TcxSbcDTO
8376
- */
8377
- 'dns'?: string;
8378
- /**
8379
- * 3CX URL
8380
- * @type {string}
8381
- * @memberof TcxSbcDTO
8382
- */
8383
- 'tcxUrl'?: string;
8384
- /**
8385
- * 3CX SBC Key
8386
- * @type {string}
8387
- * @memberof TcxSbcDTO
8388
- */
8389
- 'tcxKey'?: string;
8390
- }
8391
7452
  /**
8392
7453
  * 3CX Wizard SBC
8393
7454
  * @export
@@ -8492,7 +7553,7 @@ export interface TcxSbcEntity {
8492
7553
  'technicalContact'?: string;
8493
7554
  }
8494
7555
  /**
8495
- * 3CX Wizard SBC
7556
+ * 3CX SBC Model
8496
7557
  * @export
8497
7558
  * @interface TcxSbcModel
8498
7559
  */
@@ -9677,40 +8738,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
9677
8738
 
9678
8739
 
9679
8740
 
9680
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9681
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9682
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9683
-
9684
- return {
9685
- url: toPathString(localVarUrlObj),
9686
- options: localVarRequestOptions,
9687
- };
9688
- },
9689
- /**
9690
- * Get Account Detailed Summary
9691
- * @summary Get Account Detailed Summary
9692
- * @param {number} id Customer ID
9693
- * @param {*} [options] Override http request option.
9694
- * @throws {RequiredError}
9695
- */
9696
- getGetAccountDetailedSummary: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9697
- // verify required parameter 'id' is not null or undefined
9698
- assertParamExists('getGetAccountDetailedSummary', 'id', id)
9699
- const localVarPath = `/accounts/{id}/summary`
9700
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9701
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9702
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9703
- let baseOptions;
9704
- if (configuration) {
9705
- baseOptions = configuration.baseOptions;
9706
- }
9707
-
9708
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9709
- const localVarHeaderParameter = {} as any;
9710
- const localVarQueryParameter = {} as any;
9711
-
9712
-
9713
-
9714
8741
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9715
8742
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9716
8743
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -10009,36 +9036,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
10009
9036
  options: localVarRequestOptions,
10010
9037
  };
10011
9038
  },
10012
- /**
10013
- * Get Admin Account
10014
- * @summary Get Admin Account
10015
- * @param {*} [options] Override http request option.
10016
- * @throws {RequiredError}
10017
- */
10018
- postGetAdminAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10019
- const localVarPath = `/admin/me`;
10020
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
10021
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10022
- let baseOptions;
10023
- if (configuration) {
10024
- baseOptions = configuration.baseOptions;
10025
- }
10026
-
10027
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10028
- const localVarHeaderParameter = {} as any;
10029
- const localVarQueryParameter = {} as any;
10030
-
10031
-
10032
-
10033
- setSearchParams(localVarUrlObj, localVarQueryParameter);
10034
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10035
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10036
-
10037
- return {
10038
- url: toPathString(localVarUrlObj),
10039
- options: localVarRequestOptions,
10040
- };
10041
- },
10042
9039
  /**
10043
9040
  * Create client credentials
10044
9041
  * @summary Create client credentials
@@ -10288,19 +9285,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
10288
9285
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountContacts']?.[localVarOperationServerIndex]?.url;
10289
9286
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10290
9287
  },
10291
- /**
10292
- * Get Account Detailed Summary
10293
- * @summary Get Account Detailed Summary
10294
- * @param {number} id Customer ID
10295
- * @param {*} [options] Override http request option.
10296
- * @throws {RequiredError}
10297
- */
10298
- async getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDetailedSummaryDTO>> {
10299
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options);
10300
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10301
- const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountDetailedSummary']?.[localVarOperationServerIndex]?.url;
10302
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10303
- },
10304
9288
  /**
10305
9289
  * Get Accounts
10306
9290
  * @summary Get Accounts
@@ -10406,18 +9390,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
10406
9390
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAccounts']?.[localVarOperationServerIndex]?.url;
10407
9391
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10408
9392
  },
10409
- /**
10410
- * Get Admin Account
10411
- * @summary Get Admin Account
10412
- * @param {*} [options] Override http request option.
10413
- * @throws {RequiredError}
10414
- */
10415
- async postGetAdminAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminUserModel>> {
10416
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetAdminAccount(options);
10417
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10418
- const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAdminAccount']?.[localVarOperationServerIndex]?.url;
10419
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10420
- },
10421
9393
  /**
10422
9394
  * Create client credentials
10423
9395
  * @summary Create client credentials
@@ -10535,16 +9507,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
10535
9507
  getGetAccountContacts(email?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>> {
10536
9508
  return localVarFp.getGetAccountContacts(email, options).then((request) => request(axios, basePath));
10537
9509
  },
10538
- /**
10539
- * Get Account Detailed Summary
10540
- * @summary Get Account Detailed Summary
10541
- * @param {number} id Customer ID
10542
- * @param {*} [options] Override http request option.
10543
- * @throws {RequiredError}
10544
- */
10545
- getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AccountDetailedSummaryDTO> {
10546
- return localVarFp.getGetAccountDetailedSummary(id, options).then((request) => request(axios, basePath));
10547
- },
10548
9510
  /**
10549
9511
  * Get Accounts
10550
9512
  * @summary Get Accounts
@@ -10626,15 +9588,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
10626
9588
  postGetAccounts(accountRequestModel?: AccountRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<PortalAccountModel> {
10627
9589
  return localVarFp.postGetAccounts(accountRequestModel, options).then((request) => request(axios, basePath));
10628
9590
  },
10629
- /**
10630
- * Get Admin Account
10631
- * @summary Get Admin Account
10632
- * @param {*} [options] Override http request option.
10633
- * @throws {RequiredError}
10634
- */
10635
- postGetAdminAccount(options?: RawAxiosRequestConfig): AxiosPromise<AdminUserModel> {
10636
- return localVarFp.postGetAdminAccount(options).then((request) => request(axios, basePath));
10637
- },
10638
9591
  /**
10639
9592
  * Create client credentials
10640
9593
  * @summary Create client credentials
@@ -10745,18 +9698,6 @@ export class AccountsApi extends BaseAPI {
10745
9698
  return AccountsApiFp(this.configuration).getGetAccountContacts(email, options).then((request) => request(this.axios, this.basePath));
10746
9699
  }
10747
9700
 
10748
- /**
10749
- * Get Account Detailed Summary
10750
- * @summary Get Account Detailed Summary
10751
- * @param {number} id Customer ID
10752
- * @param {*} [options] Override http request option.
10753
- * @throws {RequiredError}
10754
- * @memberof AccountsApi
10755
- */
10756
- public getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig) {
10757
- return AccountsApiFp(this.configuration).getGetAccountDetailedSummary(id, options).then((request) => request(this.axios, this.basePath));
10758
- }
10759
-
10760
9701
  /**
10761
9702
  * Get Accounts
10762
9703
  * @summary Get Accounts
@@ -10854,17 +9795,6 @@ export class AccountsApi extends BaseAPI {
10854
9795
  return AccountsApiFp(this.configuration).postGetAccounts(accountRequestModel, options).then((request) => request(this.axios, this.basePath));
10855
9796
  }
10856
9797
 
10857
- /**
10858
- * Get Admin Account
10859
- * @summary Get Admin Account
10860
- * @param {*} [options] Override http request option.
10861
- * @throws {RequiredError}
10862
- * @memberof AccountsApi
10863
- */
10864
- public postGetAdminAccount(options?: RawAxiosRequestConfig) {
10865
- return AccountsApiFp(this.configuration).postGetAdminAccount(options).then((request) => request(this.axios, this.basePath));
10866
- }
10867
-
10868
9798
  /**
10869
9799
  * Create client credentials
10870
9800
  * @summary Create client credentials
@@ -11072,14 +10002,16 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
11072
10002
  };
11073
10003
  },
11074
10004
  /**
11075
- * Get Bulk 3CX Licence Details
11076
- * @summary Get bulk 3CX Licence Details
11077
- * @param {Array<string>} [requestBody] Licence Lookup Request
10005
+ * Generate a 3CX hashed password for 3CX installation
10006
+ * @summary Convert a password to a hashed 3CX password
10007
+ * @param {string} password Desired 3CX web access password
11078
10008
  * @param {*} [options] Override http request option.
11079
10009
  * @throws {RequiredError}
11080
10010
  */
11081
- postGetBulkLicenceDetails: async (requestBody?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11082
- const localVarPath = `/tcx/licences/bulk/details`;
10011
+ getGetPasswordHash: async (password: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10012
+ // verify required parameter 'password' is not null or undefined
10013
+ assertParamExists('getGetPasswordHash', 'password', password)
10014
+ const localVarPath = `/tcx/pwd2hash`;
11083
10015
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11084
10016
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11085
10017
  let baseOptions;
@@ -11087,18 +10019,53 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
11087
10019
  baseOptions = configuration.baseOptions;
11088
10020
  }
11089
10021
 
11090
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10022
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11091
10023
  const localVarHeaderParameter = {} as any;
11092
10024
  const localVarQueryParameter = {} as any;
11093
10025
 
10026
+ if (password !== undefined) {
10027
+ localVarQueryParameter['password'] = password;
10028
+ }
10029
+
11094
10030
 
11095
10031
 
11096
- localVarHeaderParameter['Content-Type'] = 'application/json';
11097
-
11098
10032
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11099
10033
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11100
10034
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11101
- localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
10035
+
10036
+ return {
10037
+ url: toPathString(localVarUrlObj),
10038
+ options: localVarRequestOptions,
10039
+ };
10040
+ },
10041
+ /**
10042
+ * Get Bulk 3CX Licence Details
10043
+ * @summary Get bulk 3CX Licence Details
10044
+ * @param {Array<string>} [requestBody] Licence Lookup Request
10045
+ * @param {*} [options] Override http request option.
10046
+ * @throws {RequiredError}
10047
+ */
10048
+ postGetBulkLicenceDetails: async (requestBody?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10049
+ const localVarPath = `/tcx/licences/bulk/details`;
10050
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10051
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10052
+ let baseOptions;
10053
+ if (configuration) {
10054
+ baseOptions = configuration.baseOptions;
10055
+ }
10056
+
10057
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10058
+ const localVarHeaderParameter = {} as any;
10059
+ const localVarQueryParameter = {} as any;
10060
+
10061
+
10062
+
10063
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10064
+
10065
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10066
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10067
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10068
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
11102
10069
 
11103
10070
  return {
11104
10071
  url: toPathString(localVarUrlObj),
@@ -11128,6 +10095,19 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
11128
10095
  const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetLicenceDetails']?.[localVarOperationServerIndex]?.url;
11129
10096
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11130
10097
  },
10098
+ /**
10099
+ * Generate a 3CX hashed password for 3CX installation
10100
+ * @summary Convert a password to a hashed 3CX password
10101
+ * @param {string} password Desired 3CX web access password
10102
+ * @param {*} [options] Override http request option.
10103
+ * @throws {RequiredError}
10104
+ */
10105
+ async getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGetPasswordHash200Response>> {
10106
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetPasswordHash(password, options);
10107
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10108
+ const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetPasswordHash']?.[localVarOperationServerIndex]?.url;
10109
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10110
+ },
11131
10111
  /**
11132
10112
  * Get Bulk 3CX Licence Details
11133
10113
  * @summary Get bulk 3CX Licence Details
@@ -11161,6 +10141,16 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
11161
10141
  getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel> {
11162
10142
  return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
11163
10143
  },
10144
+ /**
10145
+ * Generate a 3CX hashed password for 3CX installation
10146
+ * @summary Convert a password to a hashed 3CX password
10147
+ * @param {string} password Desired 3CX web access password
10148
+ * @param {*} [options] Override http request option.
10149
+ * @throws {RequiredError}
10150
+ */
10151
+ getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): AxiosPromise<GetGetPasswordHash200Response> {
10152
+ return localVarFp.getGetPasswordHash(password, options).then((request) => request(axios, basePath));
10153
+ },
11164
10154
  /**
11165
10155
  * Get Bulk 3CX Licence Details
11166
10156
  * @summary Get bulk 3CX Licence Details
@@ -11193,6 +10183,18 @@ export class Class3CXApi extends BaseAPI {
11193
10183
  return Class3CXApiFp(this.configuration).getGetLicenceDetails(key, options).then((request) => request(this.axios, this.basePath));
11194
10184
  }
11195
10185
 
10186
+ /**
10187
+ * Generate a 3CX hashed password for 3CX installation
10188
+ * @summary Convert a password to a hashed 3CX password
10189
+ * @param {string} password Desired 3CX web access password
10190
+ * @param {*} [options] Override http request option.
10191
+ * @throws {RequiredError}
10192
+ * @memberof Class3CXApi
10193
+ */
10194
+ public getGetPasswordHash(password: string, options?: RawAxiosRequestConfig) {
10195
+ return Class3CXApiFp(this.configuration).getGetPasswordHash(password, options).then((request) => request(this.axios, this.basePath));
10196
+ }
10197
+
11196
10198
  /**
11197
10199
  * Get Bulk 3CX Licence Details
11198
10200
  * @summary Get bulk 3CX Licence Details
@@ -16367,14 +15369,13 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
16367
15369
  return {
16368
15370
  /**
16369
15371
  * Delete Orders
16370
- * @summary Delete Orders
16371
15372
  * @param {number} id Order ID
16372
15373
  * @param {*} [options] Override http request option.
16373
15374
  * @throws {RequiredError}
16374
15375
  */
16375
- deleteUpdateOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15376
+ deleteDeleteOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16376
15377
  // verify required parameter 'id' is not null or undefined
16377
- assertParamExists('deleteUpdateOrder', 'id', id)
15378
+ assertParamExists('deleteDeleteOrder', 'id', id)
16378
15379
  const localVarPath = `/orders/{id}`
16379
15380
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16380
15381
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -16390,74 +15391,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
16390
15391
 
16391
15392
 
16392
15393
 
16393
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16394
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16395
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16396
-
16397
- return {
16398
- url: toPathString(localVarUrlObj),
16399
- options: localVarRequestOptions,
16400
- };
16401
- },
16402
- /**
16403
- * Get Editable Order (Admin)
16404
- * @summary Get Editable Order (Admin)
16405
- * @param {number} id Order ID
16406
- * @param {*} [options] Override http request option.
16407
- * @throws {RequiredError}
16408
- */
16409
- getGetAdminEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16410
- // verify required parameter 'id' is not null or undefined
16411
- assertParamExists('getGetAdminEditableOrder', 'id', id)
16412
- const localVarPath = `/admin/orders/{id}/views/editable`
16413
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16414
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16415
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16416
- let baseOptions;
16417
- if (configuration) {
16418
- baseOptions = configuration.baseOptions;
16419
- }
16420
-
16421
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16422
- const localVarHeaderParameter = {} as any;
16423
- const localVarQueryParameter = {} as any;
16424
-
16425
-
16426
-
16427
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16428
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16429
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16430
-
16431
- return {
16432
- url: toPathString(localVarUrlObj),
16433
- options: localVarRequestOptions,
16434
- };
16435
- },
16436
- /**
16437
- * Get Editable Order
16438
- * @summary Get Editable Order
16439
- * @param {number} id Order ID
16440
- * @param {*} [options] Override http request option.
16441
- * @throws {RequiredError}
16442
- */
16443
- getGetEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16444
- // verify required parameter 'id' is not null or undefined
16445
- assertParamExists('getGetEditableOrder', 'id', id)
16446
- const localVarPath = `/orders/{id}/views/editable`
16447
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16448
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16449
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16450
- let baseOptions;
16451
- if (configuration) {
16452
- baseOptions = configuration.baseOptions;
16453
- }
16454
-
16455
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16456
- const localVarHeaderParameter = {} as any;
16457
- const localVarQueryParameter = {} as any;
16458
-
16459
-
16460
-
16461
15394
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16462
15395
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16463
15396
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -16527,170 +15460,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
16527
15460
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16528
15461
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16529
15462
 
16530
- return {
16531
- url: toPathString(localVarUrlObj),
16532
- options: localVarRequestOptions,
16533
- };
16534
- },
16535
- /**
16536
- * Create An Order (Admin)
16537
- * @summary Create An Order (Admin)
16538
- * @param {boolean} [readonly] Readonly Order
16539
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16540
- * @param {*} [options] Override http request option.
16541
- * @throws {RequiredError}
16542
- */
16543
- postCreateAdminOrder: async (readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16544
- const localVarPath = `/admin/orders`;
16545
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16546
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16547
- let baseOptions;
16548
- if (configuration) {
16549
- baseOptions = configuration.baseOptions;
16550
- }
16551
-
16552
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16553
- const localVarHeaderParameter = {} as any;
16554
- const localVarQueryParameter = {} as any;
16555
-
16556
- if (readonly !== undefined) {
16557
- localVarQueryParameter['readonly'] = readonly;
16558
- }
16559
-
16560
-
16561
-
16562
- localVarHeaderParameter['Content-Type'] = 'application/json';
16563
-
16564
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16565
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16566
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16567
- localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
16568
-
16569
- return {
16570
- url: toPathString(localVarUrlObj),
16571
- options: localVarRequestOptions,
16572
- };
16573
- },
16574
- /**
16575
- * Create An Order
16576
- * @summary Create An Order
16577
- * @param {boolean} [readonly] Readonly Order
16578
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16579
- * @param {*} [options] Override http request option.
16580
- * @throws {RequiredError}
16581
- */
16582
- postGetOrders: async (readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16583
- const localVarPath = `/orders`;
16584
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16585
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16586
- let baseOptions;
16587
- if (configuration) {
16588
- baseOptions = configuration.baseOptions;
16589
- }
16590
-
16591
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16592
- const localVarHeaderParameter = {} as any;
16593
- const localVarQueryParameter = {} as any;
16594
-
16595
- if (readonly !== undefined) {
16596
- localVarQueryParameter['readonly'] = readonly;
16597
- }
16598
-
16599
-
16600
-
16601
- localVarHeaderParameter['Content-Type'] = 'application/json';
16602
-
16603
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16604
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16605
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16606
- localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
16607
-
16608
- return {
16609
- url: toPathString(localVarUrlObj),
16610
- options: localVarRequestOptions,
16611
- };
16612
- },
16613
- /**
16614
- * Update An Order (Admin)
16615
- * @summary Update An Order (Admin)
16616
- * @param {number} id Order ID
16617
- * @param {boolean} [readonly] Readonly Order
16618
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16619
- * @param {*} [options] Override http request option.
16620
- * @throws {RequiredError}
16621
- */
16622
- putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16623
- // verify required parameter 'id' is not null or undefined
16624
- assertParamExists('putUpdateAdminOrder', 'id', id)
16625
- const localVarPath = `/admin/orders/{id}`
16626
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16627
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16628
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16629
- let baseOptions;
16630
- if (configuration) {
16631
- baseOptions = configuration.baseOptions;
16632
- }
16633
-
16634
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
16635
- const localVarHeaderParameter = {} as any;
16636
- const localVarQueryParameter = {} as any;
16637
-
16638
- if (readonly !== undefined) {
16639
- localVarQueryParameter['readonly'] = readonly;
16640
- }
16641
-
16642
-
16643
-
16644
- localVarHeaderParameter['Content-Type'] = 'application/json';
16645
-
16646
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16647
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16648
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16649
- localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
16650
-
16651
- return {
16652
- url: toPathString(localVarUrlObj),
16653
- options: localVarRequestOptions,
16654
- };
16655
- },
16656
- /**
16657
- * Update An Order
16658
- * @summary Update An Order
16659
- * @param {number} id Order ID
16660
- * @param {boolean} [readonly] Readonly Order
16661
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16662
- * @param {*} [options] Override http request option.
16663
- * @throws {RequiredError}
16664
- */
16665
- putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16666
- // verify required parameter 'id' is not null or undefined
16667
- assertParamExists('putUpdateOrder', 'id', id)
16668
- const localVarPath = `/orders/{id}`
16669
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16670
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16671
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16672
- let baseOptions;
16673
- if (configuration) {
16674
- baseOptions = configuration.baseOptions;
16675
- }
16676
-
16677
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
16678
- const localVarHeaderParameter = {} as any;
16679
- const localVarQueryParameter = {} as any;
16680
-
16681
- if (readonly !== undefined) {
16682
- localVarQueryParameter['readonly'] = readonly;
16683
- }
16684
-
16685
-
16686
-
16687
- localVarHeaderParameter['Content-Type'] = 'application/json';
16688
-
16689
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16690
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16691
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16692
- localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
16693
-
16694
15463
  return {
16695
15464
  url: toPathString(localVarUrlObj),
16696
15465
  options: localVarRequestOptions,
@@ -16708,41 +15477,14 @@ export const OrdersApiFp = function(configuration?: Configuration) {
16708
15477
  return {
16709
15478
  /**
16710
15479
  * Delete Orders
16711
- * @summary Delete Orders
16712
- * @param {number} id Order ID
16713
- * @param {*} [options] Override http request option.
16714
- * @throws {RequiredError}
16715
- */
16716
- async deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
16717
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUpdateOrder(id, options);
16718
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16719
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteUpdateOrder']?.[localVarOperationServerIndex]?.url;
16720
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16721
- },
16722
- /**
16723
- * Get Editable Order (Admin)
16724
- * @summary Get Editable Order (Admin)
16725
- * @param {number} id Order ID
16726
- * @param {*} [options] Override http request option.
16727
- * @throws {RequiredError}
16728
- */
16729
- async getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminOrderRequestDTO>> {
16730
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAdminEditableOrder(id, options);
16731
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16732
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetAdminEditableOrder']?.[localVarOperationServerIndex]?.url;
16733
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16734
- },
16735
- /**
16736
- * Get Editable Order
16737
- * @summary Get Editable Order
16738
15480
  * @param {number} id Order ID
16739
15481
  * @param {*} [options] Override http request option.
16740
15482
  * @throws {RequiredError}
16741
15483
  */
16742
- async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DetailedOrderRequestDTO>> {
16743
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
15484
+ async deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
15485
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeleteOrder(id, options);
16744
15486
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16745
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
15487
+ const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteDeleteOrder']?.[localVarOperationServerIndex]?.url;
16746
15488
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16747
15489
  },
16748
15490
  /**
@@ -16764,64 +15506,6 @@ export const OrdersApiFp = function(configuration?: Configuration) {
16764
15506
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
16765
15507
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16766
15508
  },
16767
- /**
16768
- * Create An Order (Admin)
16769
- * @summary Create An Order (Admin)
16770
- * @param {boolean} [readonly] Readonly Order
16771
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16772
- * @param {*} [options] Override http request option.
16773
- * @throws {RequiredError}
16774
- */
16775
- async postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16776
- const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options);
16777
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16778
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
16779
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16780
- },
16781
- /**
16782
- * Create An Order
16783
- * @summary Create An Order
16784
- * @param {boolean} [readonly] Readonly Order
16785
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16786
- * @param {*} [options] Override http request option.
16787
- * @throws {RequiredError}
16788
- */
16789
- async postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16790
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options);
16791
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16792
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
16793
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16794
- },
16795
- /**
16796
- * Update An Order (Admin)
16797
- * @summary Update An Order (Admin)
16798
- * @param {number} id Order ID
16799
- * @param {boolean} [readonly] Readonly Order
16800
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16801
- * @param {*} [options] Override http request option.
16802
- * @throws {RequiredError}
16803
- */
16804
- async putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16805
- const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options);
16806
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16807
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateAdminOrder']?.[localVarOperationServerIndex]?.url;
16808
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16809
- },
16810
- /**
16811
- * Update An Order
16812
- * @summary Update An Order
16813
- * @param {number} id Order ID
16814
- * @param {boolean} [readonly] Readonly Order
16815
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16816
- * @param {*} [options] Override http request option.
16817
- * @throws {RequiredError}
16818
- */
16819
- async putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16820
- const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateOrder(id, readonly, customerOrderRequestDTO, options);
16821
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16822
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateOrder']?.[localVarOperationServerIndex]?.url;
16823
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16824
- },
16825
15509
  }
16826
15510
  };
16827
15511
 
@@ -16834,33 +15518,12 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
16834
15518
  return {
16835
15519
  /**
16836
15520
  * Delete Orders
16837
- * @summary Delete Orders
16838
15521
  * @param {number} id Order ID
16839
15522
  * @param {*} [options] Override http request option.
16840
15523
  * @throws {RequiredError}
16841
15524
  */
16842
- deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
16843
- return localVarFp.deleteUpdateOrder(id, options).then((request) => request(axios, basePath));
16844
- },
16845
- /**
16846
- * Get Editable Order (Admin)
16847
- * @summary Get Editable Order (Admin)
16848
- * @param {number} id Order ID
16849
- * @param {*} [options] Override http request option.
16850
- * @throws {RequiredError}
16851
- */
16852
- getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AdminOrderRequestDTO> {
16853
- return localVarFp.getGetAdminEditableOrder(id, options).then((request) => request(axios, basePath));
16854
- },
16855
- /**
16856
- * Get Editable Order
16857
- * @summary Get Editable Order
16858
- * @param {number} id Order ID
16859
- * @param {*} [options] Override http request option.
16860
- * @throws {RequiredError}
16861
- */
16862
- getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<DetailedOrderRequestDTO> {
16863
- return localVarFp.getGetEditableOrder(id, options).then((request) => request(axios, basePath));
15525
+ deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
15526
+ return localVarFp.deleteDeleteOrder(id, options).then((request) => request(axios, basePath));
16864
15527
  },
16865
15528
  /**
16866
15529
  * Get Orders
@@ -16878,52 +15541,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
16878
15541
  getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel> {
16879
15542
  return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(axios, basePath));
16880
15543
  },
16881
- /**
16882
- * Create An Order (Admin)
16883
- * @summary Create An Order (Admin)
16884
- * @param {boolean} [readonly] Readonly Order
16885
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16886
- * @param {*} [options] Override http request option.
16887
- * @throws {RequiredError}
16888
- */
16889
- postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16890
- return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
16891
- },
16892
- /**
16893
- * Create An Order
16894
- * @summary Create An Order
16895
- * @param {boolean} [readonly] Readonly Order
16896
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16897
- * @param {*} [options] Override http request option.
16898
- * @throws {RequiredError}
16899
- */
16900
- postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16901
- return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
16902
- },
16903
- /**
16904
- * Update An Order (Admin)
16905
- * @summary Update An Order (Admin)
16906
- * @param {number} id Order ID
16907
- * @param {boolean} [readonly] Readonly Order
16908
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16909
- * @param {*} [options] Override http request option.
16910
- * @throws {RequiredError}
16911
- */
16912
- putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16913
- return localVarFp.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
16914
- },
16915
- /**
16916
- * Update An Order
16917
- * @summary Update An Order
16918
- * @param {number} id Order ID
16919
- * @param {boolean} [readonly] Readonly Order
16920
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16921
- * @param {*} [options] Override http request option.
16922
- * @throws {RequiredError}
16923
- */
16924
- putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16925
- return localVarFp.putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
16926
- },
16927
15544
  };
16928
15545
  };
16929
15546
 
@@ -16936,38 +15553,13 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
16936
15553
  export class OrdersApi extends BaseAPI {
16937
15554
  /**
16938
15555
  * Delete Orders
16939
- * @summary Delete Orders
16940
- * @param {number} id Order ID
16941
- * @param {*} [options] Override http request option.
16942
- * @throws {RequiredError}
16943
- * @memberof OrdersApi
16944
- */
16945
- public deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig) {
16946
- return OrdersApiFp(this.configuration).deleteUpdateOrder(id, options).then((request) => request(this.axios, this.basePath));
16947
- }
16948
-
16949
- /**
16950
- * Get Editable Order (Admin)
16951
- * @summary Get Editable Order (Admin)
16952
15556
  * @param {number} id Order ID
16953
15557
  * @param {*} [options] Override http request option.
16954
15558
  * @throws {RequiredError}
16955
15559
  * @memberof OrdersApi
16956
15560
  */
16957
- public getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig) {
16958
- return OrdersApiFp(this.configuration).getGetAdminEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
16959
- }
16960
-
16961
- /**
16962
- * Get Editable Order
16963
- * @summary Get Editable Order
16964
- * @param {number} id Order ID
16965
- * @param {*} [options] Override http request option.
16966
- * @throws {RequiredError}
16967
- * @memberof OrdersApi
16968
- */
16969
- public getGetEditableOrder(id: number, options?: RawAxiosRequestConfig) {
16970
- return OrdersApiFp(this.configuration).getGetEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
15561
+ public deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig) {
15562
+ return OrdersApiFp(this.configuration).deleteDeleteOrder(id, options).then((request) => request(this.axios, this.basePath));
16971
15563
  }
16972
15564
 
16973
15565
  /**
@@ -16987,60 +15579,6 @@ export class OrdersApi extends BaseAPI {
16987
15579
  public getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) {
16988
15580
  return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
16989
15581
  }
16990
-
16991
- /**
16992
- * Create An Order (Admin)
16993
- * @summary Create An Order (Admin)
16994
- * @param {boolean} [readonly] Readonly Order
16995
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16996
- * @param {*} [options] Override http request option.
16997
- * @throws {RequiredError}
16998
- * @memberof OrdersApi
16999
- */
17000
- public postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
17001
- return OrdersApiFp(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
17002
- }
17003
-
17004
- /**
17005
- * Create An Order
17006
- * @summary Create An Order
17007
- * @param {boolean} [readonly] Readonly Order
17008
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
17009
- * @param {*} [options] Override http request option.
17010
- * @throws {RequiredError}
17011
- * @memberof OrdersApi
17012
- */
17013
- public postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
17014
- return OrdersApiFp(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
17015
- }
17016
-
17017
- /**
17018
- * Update An Order (Admin)
17019
- * @summary Update An Order (Admin)
17020
- * @param {number} id Order ID
17021
- * @param {boolean} [readonly] Readonly Order
17022
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
17023
- * @param {*} [options] Override http request option.
17024
- * @throws {RequiredError}
17025
- * @memberof OrdersApi
17026
- */
17027
- public putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
17028
- return OrdersApiFp(this.configuration).putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
17029
- }
17030
-
17031
- /**
17032
- * Update An Order
17033
- * @summary Update An Order
17034
- * @param {number} id Order ID
17035
- * @param {boolean} [readonly] Readonly Order
17036
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
17037
- * @param {*} [options] Override http request option.
17038
- * @throws {RequiredError}
17039
- * @memberof OrdersApi
17040
- */
17041
- public putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
17042
- return OrdersApiFp(this.configuration).putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
17043
- }
17044
15582
  }
17045
15583
 
17046
15584
  /**
@@ -17421,47 +15959,13 @@ export type PostSendPriceListCategoryEnum = typeof PostSendPriceListCategoryEnum
17421
15959
  export const ProductsApiAxiosParamCreator = function (configuration?: Configuration) {
17422
15960
  return {
17423
15961
  /**
17424
- * Get Attribute Sets
17425
- * @summary Get Attribute Sets
17426
- * @param {*} [options] Override http request option.
17427
- * @throws {RequiredError}
17428
- */
17429
- getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17430
- const localVarPath = `/products/attributes`;
17431
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17432
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17433
- let baseOptions;
17434
- if (configuration) {
17435
- baseOptions = configuration.baseOptions;
17436
- }
17437
-
17438
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17439
- const localVarHeaderParameter = {} as any;
17440
- const localVarQueryParameter = {} as any;
17441
-
17442
-
17443
-
17444
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17445
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17446
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17447
-
17448
- return {
17449
- url: toPathString(localVarUrlObj),
17450
- options: localVarRequestOptions,
17451
- };
17452
- },
17453
- /**
17454
- * Get Current Stock & Pricing
17455
- * @summary Get Current Stock & Pricing
17456
- * @param {GetGetLegacyStockListFormatEnum} format File Format
15962
+ * Get Attribute Sets
15963
+ * @summary Get Attribute Sets
17457
15964
  * @param {*} [options] Override http request option.
17458
- * @deprecated
17459
15965
  * @throws {RequiredError}
17460
15966
  */
17461
- getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17462
- // verify required parameter 'format' is not null or undefined
17463
- assertParamExists('getGetLegacyStockList', 'format', format)
17464
- const localVarPath = `/products/stock/legacy`;
15967
+ getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15968
+ const localVarPath = `/products/attributes`;
17465
15969
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17466
15970
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17467
15971
  let baseOptions;
@@ -17473,10 +15977,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17473
15977
  const localVarHeaderParameter = {} as any;
17474
15978
  const localVarQueryParameter = {} as any;
17475
15979
 
17476
- if (format !== undefined) {
17477
- localVarQueryParameter['format'] = format;
17478
- }
17479
-
17480
15980
 
17481
15981
 
17482
15982
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -17489,13 +15989,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17489
15989
  };
17490
15990
  },
17491
15991
  /**
17492
- * Get Products
17493
- * @summary Get Products
15992
+ * Get Customer Price Lists
15993
+ * @summary Get Customer Price Lists
17494
15994
  * @param {*} [options] Override http request option.
17495
15995
  * @throws {RequiredError}
17496
15996
  */
17497
- getGetProducts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17498
- const localVarPath = `/products`;
15997
+ getGetCustomerPriceLists: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15998
+ const localVarPath = `/products/prices/lists`;
17499
15999
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17500
16000
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17501
16001
  let baseOptions;
@@ -17521,11 +16021,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17521
16021
  /**
17522
16022
  * Get Current Stock & Pricing
17523
16023
  * @summary Get Current Stock & Pricing
16024
+ * @param {GetGetLegacyStockListFormatEnum} format File Format
17524
16025
  * @param {*} [options] Override http request option.
16026
+ * @deprecated
17525
16027
  * @throws {RequiredError}
17526
16028
  */
17527
- getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17528
- const localVarPath = `/products/stock`;
16029
+ getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16030
+ // verify required parameter 'format' is not null or undefined
16031
+ assertParamExists('getGetLegacyStockList', 'format', format)
16032
+ const localVarPath = `/products/stock/legacy`;
17529
16033
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17530
16034
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17531
16035
  let baseOptions;
@@ -17537,36 +16041,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17537
16041
  const localVarHeaderParameter = {} as any;
17538
16042
  const localVarQueryParameter = {} as any;
17539
16043
 
17540
-
17541
-
17542
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17543
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17544
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17545
-
17546
- return {
17547
- url: toPathString(localVarUrlObj),
17548
- options: localVarRequestOptions,
17549
- };
17550
- },
17551
- /**
17552
- * Get 3CX Templates
17553
- * @summary Get 3CX Templates
17554
- * @param {*} [options] Override http request option.
17555
- * @throws {RequiredError}
17556
- */
17557
- getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17558
- const localVarPath = `/products/attributes/tcx/templates`;
17559
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17560
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17561
- let baseOptions;
17562
- if (configuration) {
17563
- baseOptions = configuration.baseOptions;
16044
+ if (format !== undefined) {
16045
+ localVarQueryParameter['format'] = format;
17564
16046
  }
17565
16047
 
17566
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17567
- const localVarHeaderParameter = {} as any;
17568
- const localVarQueryParameter = {} as any;
17569
-
17570
16048
 
17571
16049
 
17572
16050
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -17579,15 +16057,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17579
16057
  };
17580
16058
  },
17581
16059
  /**
17582
- * Search Products
17583
- * @summary Search Products
16060
+ * Get Products
16061
+ * @summary Get Products
17584
16062
  * @param {number} [pageSize] Number Of Results
17585
16063
  * @param {number} [page] Page Number
17586
16064
  * @param {string} [search] Search
17587
16065
  * @param {*} [options] Override http request option.
17588
16066
  * @throws {RequiredError}
17589
16067
  */
17590
- getSearchProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16068
+ getGetProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17591
16069
  const localVarPath = `/products/search`;
17592
16070
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17593
16071
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -17624,20 +16102,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17624
16102
  };
17625
16103
  },
17626
16104
  /**
17627
- * Get Product
17628
- * @summary Get Product
17629
- * @param {string} sku Product SKU
17630
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
16105
+ * Get Current Stock & Pricing
16106
+ * @summary Get Current Stock & Pricing
17631
16107
  * @param {*} [options] Override http request option.
17632
16108
  * @throws {RequiredError}
17633
16109
  */
17634
- postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17635
- // verify required parameter 'sku' is not null or undefined
17636
- assertParamExists('postGetProduct', 'sku', sku)
17637
- // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
17638
- assertParamExists('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
17639
- const localVarPath = `/products/{sku}`
17640
- .replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
16110
+ getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16111
+ const localVarPath = `/products/stock`;
17641
16112
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17642
16113
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17643
16114
  let baseOptions;
@@ -17645,18 +16116,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17645
16116
  baseOptions = configuration.baseOptions;
17646
16117
  }
17647
16118
 
17648
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16119
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17649
16120
  const localVarHeaderParameter = {} as any;
17650
16121
  const localVarQueryParameter = {} as any;
17651
16122
 
17652
16123
 
17653
16124
 
17654
- localVarHeaderParameter['Content-Type'] = 'application/json';
17655
-
17656
16125
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17657
16126
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17658
16127
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17659
- localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
17660
16128
 
17661
16129
  return {
17662
16130
  url: toPathString(localVarUrlObj),
@@ -17664,23 +16132,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17664
16132
  };
17665
16133
  },
17666
16134
  /**
17667
- * Get Product For Customer
17668
- * @summary Get Product For Customer
17669
- * @param {number} customerId Customer ID
17670
- * @param {string} sku Product SKU
17671
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
16135
+ * Get 3CX Templates
16136
+ * @summary Get 3CX Templates
17672
16137
  * @param {*} [options] Override http request option.
17673
16138
  * @throws {RequiredError}
17674
16139
  */
17675
- postGetProductForCustomer: async (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17676
- // verify required parameter 'customerId' is not null or undefined
17677
- assertParamExists('postGetProductForCustomer', 'customerId', customerId)
17678
- // verify required parameter 'sku' is not null or undefined
17679
- assertParamExists('postGetProductForCustomer', 'sku', sku)
17680
- // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
17681
- assertParamExists('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
17682
- const localVarPath = `/admin/products/{sku}`
17683
- .replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
16140
+ getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16141
+ const localVarPath = `/products/attributes/tcx/templates`;
17684
16142
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17685
16143
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17686
16144
  let baseOptions;
@@ -17688,22 +16146,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
17688
16146
  baseOptions = configuration.baseOptions;
17689
16147
  }
17690
16148
 
17691
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16149
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17692
16150
  const localVarHeaderParameter = {} as any;
17693
16151
  const localVarQueryParameter = {} as any;
17694
16152
 
17695
- if (customerId !== undefined) {
17696
- localVarQueryParameter['customerId'] = customerId;
17697
- }
17698
-
17699
16153
 
17700
16154
 
17701
- localVarHeaderParameter['Content-Type'] = 'application/json';
17702
-
17703
16155
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17704
16156
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17705
16157
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17706
- localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
17707
16158
 
17708
16159
  return {
17709
16160
  url: toPathString(localVarUrlObj),
@@ -17732,6 +16183,18 @@ export const ProductsApiFp = function(configuration?: Configuration) {
17732
16183
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetAttributeSets']?.[localVarOperationServerIndex]?.url;
17733
16184
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17734
16185
  },
16186
+ /**
16187
+ * Get Customer Price Lists
16188
+ * @summary Get Customer Price Lists
16189
+ * @param {*} [options] Override http request option.
16190
+ * @throws {RequiredError}
16191
+ */
16192
+ async getGetCustomerPriceLists(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CustomerPriceListEnum>>> {
16193
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCustomerPriceLists(options);
16194
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16195
+ const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetCustomerPriceLists']?.[localVarOperationServerIndex]?.url;
16196
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16197
+ },
17735
16198
  /**
17736
16199
  * Get Current Stock & Pricing
17737
16200
  * @summary Get Current Stock & Pricing
@@ -17749,11 +16212,14 @@ export const ProductsApiFp = function(configuration?: Configuration) {
17749
16212
  /**
17750
16213
  * Get Products
17751
16214
  * @summary Get Products
16215
+ * @param {number} [pageSize] Number Of Results
16216
+ * @param {number} [page] Page Number
16217
+ * @param {string} [search] Search
17752
16218
  * @param {*} [options] Override http request option.
17753
16219
  * @throws {RequiredError}
17754
16220
  */
17755
- async getGetProducts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BasicProductDTO>>> {
17756
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(options);
16221
+ async getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
16222
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(pageSize, page, search, options);
17757
16223
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17758
16224
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetProducts']?.[localVarOperationServerIndex]?.url;
17759
16225
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -17782,50 +16248,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
17782
16248
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetTcxTemplates']?.[localVarOperationServerIndex]?.url;
17783
16249
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17784
16250
  },
17785
- /**
17786
- * Search Products
17787
- * @summary Search Products
17788
- * @param {number} [pageSize] Number Of Results
17789
- * @param {number} [page] Page Number
17790
- * @param {string} [search] Search
17791
- * @param {*} [options] Override http request option.
17792
- * @throws {RequiredError}
17793
- */
17794
- async getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
17795
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSearchProducts(pageSize, page, search, options);
17796
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17797
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.getSearchProducts']?.[localVarOperationServerIndex]?.url;
17798
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17799
- },
17800
- /**
17801
- * Get Product
17802
- * @summary Get Product
17803
- * @param {string} sku Product SKU
17804
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17805
- * @param {*} [options] Override http request option.
17806
- * @throws {RequiredError}
17807
- */
17808
- async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
17809
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options);
17810
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17811
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProduct']?.[localVarOperationServerIndex]?.url;
17812
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17813
- },
17814
- /**
17815
- * Get Product For Customer
17816
- * @summary Get Product For Customer
17817
- * @param {number} customerId Customer ID
17818
- * @param {string} sku Product SKU
17819
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17820
- * @param {*} [options] Override http request option.
17821
- * @throws {RequiredError}
17822
- */
17823
- async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
17824
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options);
17825
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17826
- const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProductForCustomer']?.[localVarOperationServerIndex]?.url;
17827
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17828
- },
17829
16251
  }
17830
16252
  };
17831
16253
 
@@ -17845,6 +16267,15 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
17845
16267
  getGetAttributeSets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeSetEnum>> {
17846
16268
  return localVarFp.getGetAttributeSets(options).then((request) => request(axios, basePath));
17847
16269
  },
16270
+ /**
16271
+ * Get Customer Price Lists
16272
+ * @summary Get Customer Price Lists
16273
+ * @param {*} [options] Override http request option.
16274
+ * @throws {RequiredError}
16275
+ */
16276
+ getGetCustomerPriceLists(options?: RawAxiosRequestConfig): AxiosPromise<Array<CustomerPriceListEnum>> {
16277
+ return localVarFp.getGetCustomerPriceLists(options).then((request) => request(axios, basePath));
16278
+ },
17848
16279
  /**
17849
16280
  * Get Current Stock & Pricing
17850
16281
  * @summary Get Current Stock & Pricing
@@ -17859,11 +16290,14 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
17859
16290
  /**
17860
16291
  * Get Products
17861
16292
  * @summary Get Products
16293
+ * @param {number} [pageSize] Number Of Results
16294
+ * @param {number} [page] Page Number
16295
+ * @param {string} [search] Search
17862
16296
  * @param {*} [options] Override http request option.
17863
16297
  * @throws {RequiredError}
17864
16298
  */
17865
- getGetProducts(options?: RawAxiosRequestConfig): AxiosPromise<Array<BasicProductDTO>> {
17866
- return localVarFp.getGetProducts(options).then((request) => request(axios, basePath));
16299
+ getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
16300
+ return localVarFp.getGetProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
17867
16301
  },
17868
16302
  /**
17869
16303
  * Get Current Stock & Pricing
@@ -17883,41 +16317,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
17883
16317
  getGetTcxTemplates(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxTemplateXmlEnum>> {
17884
16318
  return localVarFp.getGetTcxTemplates(options).then((request) => request(axios, basePath));
17885
16319
  },
17886
- /**
17887
- * Search Products
17888
- * @summary Search Products
17889
- * @param {number} [pageSize] Number Of Results
17890
- * @param {number} [page] Page Number
17891
- * @param {string} [search] Search
17892
- * @param {*} [options] Override http request option.
17893
- * @throws {RequiredError}
17894
- */
17895
- getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
17896
- return localVarFp.getSearchProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
17897
- },
17898
- /**
17899
- * Get Product
17900
- * @summary Get Product
17901
- * @param {string} sku Product SKU
17902
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17903
- * @param {*} [options] Override http request option.
17904
- * @throws {RequiredError}
17905
- */
17906
- postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
17907
- return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
17908
- },
17909
- /**
17910
- * Get Product For Customer
17911
- * @summary Get Product For Customer
17912
- * @param {number} customerId Customer ID
17913
- * @param {string} sku Product SKU
17914
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17915
- * @param {*} [options] Override http request option.
17916
- * @throws {RequiredError}
17917
- */
17918
- postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
17919
- return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
17920
- },
17921
16320
  };
17922
16321
  };
17923
16322
 
@@ -17939,6 +16338,17 @@ export class ProductsApi extends BaseAPI {
17939
16338
  return ProductsApiFp(this.configuration).getGetAttributeSets(options).then((request) => request(this.axios, this.basePath));
17940
16339
  }
17941
16340
 
16341
+ /**
16342
+ * Get Customer Price Lists
16343
+ * @summary Get Customer Price Lists
16344
+ * @param {*} [options] Override http request option.
16345
+ * @throws {RequiredError}
16346
+ * @memberof ProductsApi
16347
+ */
16348
+ public getGetCustomerPriceLists(options?: RawAxiosRequestConfig) {
16349
+ return ProductsApiFp(this.configuration).getGetCustomerPriceLists(options).then((request) => request(this.axios, this.basePath));
16350
+ }
16351
+
17942
16352
  /**
17943
16353
  * Get Current Stock & Pricing
17944
16354
  * @summary Get Current Stock & Pricing
@@ -17955,12 +16365,15 @@ export class ProductsApi extends BaseAPI {
17955
16365
  /**
17956
16366
  * Get Products
17957
16367
  * @summary Get Products
16368
+ * @param {number} [pageSize] Number Of Results
16369
+ * @param {number} [page] Page Number
16370
+ * @param {string} [search] Search
17958
16371
  * @param {*} [options] Override http request option.
17959
16372
  * @throws {RequiredError}
17960
16373
  * @memberof ProductsApi
17961
16374
  */
17962
- public getGetProducts(options?: RawAxiosRequestConfig) {
17963
- return ProductsApiFp(this.configuration).getGetProducts(options).then((request) => request(this.axios, this.basePath));
16375
+ public getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
16376
+ return ProductsApiFp(this.configuration).getGetProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
17964
16377
  }
17965
16378
 
17966
16379
  /**
@@ -17984,47 +16397,6 @@ export class ProductsApi extends BaseAPI {
17984
16397
  public getGetTcxTemplates(options?: RawAxiosRequestConfig) {
17985
16398
  return ProductsApiFp(this.configuration).getGetTcxTemplates(options).then((request) => request(this.axios, this.basePath));
17986
16399
  }
17987
-
17988
- /**
17989
- * Search Products
17990
- * @summary Search Products
17991
- * @param {number} [pageSize] Number Of Results
17992
- * @param {number} [page] Page Number
17993
- * @param {string} [search] Search
17994
- * @param {*} [options] Override http request option.
17995
- * @throws {RequiredError}
17996
- * @memberof ProductsApi
17997
- */
17998
- public getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
17999
- return ProductsApiFp(this.configuration).getSearchProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
18000
- }
18001
-
18002
- /**
18003
- * Get Product
18004
- * @summary Get Product
18005
- * @param {string} sku Product SKU
18006
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
18007
- * @param {*} [options] Override http request option.
18008
- * @throws {RequiredError}
18009
- * @memberof ProductsApi
18010
- */
18011
- public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
18012
- return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
18013
- }
18014
-
18015
- /**
18016
- * Get Product For Customer
18017
- * @summary Get Product For Customer
18018
- * @param {number} customerId Customer ID
18019
- * @param {string} sku Product SKU
18020
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
18021
- * @param {*} [options] Override http request option.
18022
- * @throws {RequiredError}
18023
- * @memberof ProductsApi
18024
- */
18025
- public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
18026
- return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
18027
- }
18028
16400
  }
18029
16401
 
18030
16402
  /**
@@ -18365,7 +16737,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
18365
16737
  * @param {*} [options] Override http request option.
18366
16738
  * @throws {RequiredError}
18367
16739
  */
18368
- async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningModel>>> {
16740
+ async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningEntity>>> {
18369
16741
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetGroups(id, options);
18370
16742
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18371
16743
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getGetGroups']?.[localVarOperationServerIndex]?.url;
@@ -18378,7 +16750,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
18378
16750
  * @param {*} [options] Override http request option.
18379
16751
  * @throws {RequiredError}
18380
16752
  */
18381
- async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningModel>> {
16753
+ async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningEntity>> {
18382
16754
  const localVarAxiosArgs = await localVarAxiosParamCreator.postAddFanvilGroup(provisioningRequestEntity, options);
18383
16755
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18384
16756
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilGroup']?.[localVarOperationServerIndex]?.url;
@@ -18457,7 +16829,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
18457
16829
  * @param {*} [options] Override http request option.
18458
16830
  * @throws {RequiredError}
18459
16831
  */
18460
- getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningModel>> {
16832
+ getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningEntity>> {
18461
16833
  return localVarFp.getGetGroups(id, options).then((request) => request(axios, basePath));
18462
16834
  },
18463
16835
  /**
@@ -18467,7 +16839,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
18467
16839
  * @param {*} [options] Override http request option.
18468
16840
  * @throws {RequiredError}
18469
16841
  */
18470
- postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningModel> {
16842
+ postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningEntity> {
18471
16843
  return localVarFp.postAddFanvilGroup(provisioningRequestEntity, options).then((request) => request(axios, basePath));
18472
16844
  },
18473
16845
  /**
@@ -20368,114 +18740,6 @@ export class SMSApi extends BaseAPI {
20368
18740
 
20369
18741
 
20370
18742
 
20371
- /**
20372
- * ShippingApi - axios parameter creator
20373
- * @export
20374
- */
20375
- export const ShippingApiAxiosParamCreator = function (configuration?: Configuration) {
20376
- return {
20377
- /**
20378
- * Get Shipping Services
20379
- * @summary Get Shipping Services
20380
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20381
- * @param {*} [options] Override http request option.
20382
- * @throws {RequiredError}
20383
- */
20384
- postGetShippingServices: async (shippingInformationDTO?: ShippingInformationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20385
- const localVarPath = `/shipping/services`;
20386
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
20387
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20388
- let baseOptions;
20389
- if (configuration) {
20390
- baseOptions = configuration.baseOptions;
20391
- }
20392
-
20393
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
20394
- const localVarHeaderParameter = {} as any;
20395
- const localVarQueryParameter = {} as any;
20396
-
20397
-
20398
-
20399
- localVarHeaderParameter['Content-Type'] = 'application/json';
20400
-
20401
- setSearchParams(localVarUrlObj, localVarQueryParameter);
20402
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20403
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20404
- localVarRequestOptions.data = serializeDataIfNeeded(shippingInformationDTO, localVarRequestOptions, configuration)
20405
-
20406
- return {
20407
- url: toPathString(localVarUrlObj),
20408
- options: localVarRequestOptions,
20409
- };
20410
- },
20411
- }
20412
- };
20413
-
20414
- /**
20415
- * ShippingApi - functional programming interface
20416
- * @export
20417
- */
20418
- export const ShippingApiFp = function(configuration?: Configuration) {
20419
- const localVarAxiosParamCreator = ShippingApiAxiosParamCreator(configuration)
20420
- return {
20421
- /**
20422
- * Get Shipping Services
20423
- * @summary Get Shipping Services
20424
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20425
- * @param {*} [options] Override http request option.
20426
- * @throws {RequiredError}
20427
- */
20428
- async postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingServicesModel>> {
20429
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetShippingServices(shippingInformationDTO, options);
20430
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20431
- const localVarOperationServerBasePath = operationServerMap['ShippingApi.postGetShippingServices']?.[localVarOperationServerIndex]?.url;
20432
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20433
- },
20434
- }
20435
- };
20436
-
20437
- /**
20438
- * ShippingApi - factory interface
20439
- * @export
20440
- */
20441
- export const ShippingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
20442
- const localVarFp = ShippingApiFp(configuration)
20443
- return {
20444
- /**
20445
- * Get Shipping Services
20446
- * @summary Get Shipping Services
20447
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20448
- * @param {*} [options] Override http request option.
20449
- * @throws {RequiredError}
20450
- */
20451
- postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShippingServicesModel> {
20452
- return localVarFp.postGetShippingServices(shippingInformationDTO, options).then((request) => request(axios, basePath));
20453
- },
20454
- };
20455
- };
20456
-
20457
- /**
20458
- * ShippingApi - object-oriented interface
20459
- * @export
20460
- * @class ShippingApi
20461
- * @extends {BaseAPI}
20462
- */
20463
- export class ShippingApi extends BaseAPI {
20464
- /**
20465
- * Get Shipping Services
20466
- * @summary Get Shipping Services
20467
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20468
- * @param {*} [options] Override http request option.
20469
- * @throws {RequiredError}
20470
- * @memberof ShippingApi
20471
- */
20472
- public postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig) {
20473
- return ShippingApiFp(this.configuration).postGetShippingServices(shippingInformationDTO, options).then((request) => request(this.axios, this.basePath));
20474
- }
20475
- }
20476
-
20477
-
20478
-
20479
18743
  /**
20480
18744
  * StockManagementApi - axios parameter creator
20481
18745
  * @export
@@ -21562,7 +19826,7 @@ export const StockManagementApiFp = function(configuration?: Configuration) {
21562
19826
  * @param {*} [options] Override http request option.
21563
19827
  * @throws {RequiredError}
21564
19828
  */
21565
- async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryDTO>>> {
19829
+ async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryModel>>> {
21566
19830
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockSupplierProducts(id, options);
21567
19831
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21568
19832
  const localVarOperationServerBasePath = operationServerMap['StockManagementApi.getGetStockSupplierProducts']?.[localVarOperationServerIndex]?.url;
@@ -21865,7 +20129,7 @@ export const StockManagementApiFactory = function (configuration?: Configuration
21865
20129
  * @param {*} [options] Override http request option.
21866
20130
  * @throws {RequiredError}
21867
20131
  */
21868
- getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryDTO>> {
20132
+ getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryModel>> {
21869
20133
  return localVarFp.getGetStockSupplierProducts(id, options).then((request) => request(axios, basePath));
21870
20134
  },
21871
20135
  /**