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

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 (60) hide show
  1. package/.openapi-generator/FILES +218 -198
  2. package/README.md +38 -7
  3. package/api.ts +2123 -241
  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 +1589 -166
  9. package/dist/api.js +1236 -203
  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/AbstractOrderRequestDTO.md +33 -0
  19. package/docs/AccountDetailedSummaryDTO.md +39 -0
  20. package/docs/AccountsApi.md +103 -0
  21. package/docs/AddressModel.md +2 -0
  22. package/docs/AdminItemRequestDTO.md +43 -0
  23. package/docs/AdminOrderRequestDTO.md +45 -0
  24. package/docs/AdminUserModel.md +29 -0
  25. package/docs/AuditLogEntity.md +37 -0
  26. package/docs/BasicItemDTO.md +23 -0
  27. package/docs/BasicProductDTO.md +23 -0
  28. package/docs/Class3CXApi.md +0 -55
  29. package/docs/ClientDetailsModel.md +0 -2
  30. package/docs/CourierPriceEntity.md +39 -0
  31. package/docs/CustomerItemRequestDTO.md +37 -0
  32. package/docs/CustomerOrderRequestDTO.md +33 -0
  33. package/docs/DetailedItemRequestDTO.md +43 -0
  34. package/docs/DetailedOrderRequestDTO.md +33 -0
  35. package/docs/ItemDTO.md +12 -4
  36. package/docs/ItemDiscountEntity.md +33 -0
  37. package/docs/ItemEntity.md +4 -2
  38. package/docs/LinkedOrderEntity.md +23 -0
  39. package/docs/OrderSummaryDTO.md +8 -0
  40. package/docs/OrderTotalModel.md +2 -0
  41. package/docs/OrdersApi.md +356 -4
  42. package/docs/PostGetProductForCustomerRequest.md +24 -0
  43. package/docs/ProductSearchResultsModel.md +1 -1
  44. package/docs/{ProductSummaryModel.md → ProductSummaryDTO.md} +7 -3
  45. package/docs/ProductsApi.md +164 -43
  46. package/docs/ProvisioningApi.md +4 -4
  47. package/docs/{ProvisioningEntity.md → ProvisioningModel.md} +3 -3
  48. package/docs/ShipmentEntity.md +2 -2
  49. package/docs/ShippingApi.md +122 -0
  50. package/docs/ShippingConsignmentModel.md +26 -0
  51. package/docs/ShippingInformationDTO.md +25 -0
  52. package/docs/ShippingServiceDTO.md +23 -0
  53. package/docs/ShippingServiceModel.md +31 -0
  54. package/docs/{GetGetPasswordHash200Response.md → ShippingServicesModel.md} +5 -5
  55. package/docs/StockManagementApi.md +2 -2
  56. package/docs/TcxSbcDTO.md +31 -0
  57. package/docs/TcxSbcModel.md +1 -1
  58. package/hs_err_pid58424.log +247 -0
  59. package/index.ts +1 -1
  60. package/package.json +1 -1
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,6 +23,55 @@ 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
+ }
26
75
  /**
27
76
  * AccountContactsEntity
28
77
  * @export
@@ -254,6 +303,73 @@ export interface AccountContactRequestModel {
254
303
  */
255
304
  'despatchEmails'?: boolean;
256
305
  }
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
+ }
257
373
  /**
258
374
  * New Account Request
259
375
  * @export
@@ -503,6 +619,12 @@ export interface AddressModel {
503
619
  * @memberof AddressModel
504
620
  */
505
621
  'company'?: string;
622
+ /**
623
+ * Default
624
+ * @type {boolean}
625
+ * @memberof AddressModel
626
+ */
627
+ 'default'?: boolean;
506
628
  }
507
629
  /**
508
630
  * Address Request
@@ -535,6 +657,139 @@ export interface AddressRequestModel {
535
657
  */
536
658
  'addressPostcode'?: string;
537
659
  }
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
+
538
793
  /**
539
794
  * Agent Hours Graph
540
795
  * @export
@@ -739,6 +994,67 @@ export interface AttributeSetEnum {
739
994
  */
740
995
  'name'?: string;
741
996
  }
997
+ /**
998
+ * AuditLogEntity
999
+ * @export
1000
+ * @interface AuditLogEntity
1001
+ */
1002
+ export interface AuditLogEntity {
1003
+ /**
1004
+ * id
1005
+ * @type {number}
1006
+ * @memberof AuditLogEntity
1007
+ */
1008
+ 'id'?: number;
1009
+ /**
1010
+ * action
1011
+ * @type {string}
1012
+ * @memberof AuditLogEntity
1013
+ */
1014
+ 'action'?: string;
1015
+ /**
1016
+ * type
1017
+ * @type {string}
1018
+ * @memberof AuditLogEntity
1019
+ */
1020
+ 'type'?: string;
1021
+ /**
1022
+ * identifier
1023
+ * @type {string}
1024
+ * @memberof AuditLogEntity
1025
+ */
1026
+ 'identifier'?: string;
1027
+ /**
1028
+ * user
1029
+ * @type {string}
1030
+ * @memberof AuditLogEntity
1031
+ */
1032
+ 'user'?: string;
1033
+ /**
1034
+ * timestamp
1035
+ * @type {string}
1036
+ * @memberof AuditLogEntity
1037
+ */
1038
+ 'timestamp'?: string;
1039
+ /**
1040
+ * beforeData
1041
+ * @type {string}
1042
+ * @memberof AuditLogEntity
1043
+ */
1044
+ 'beforeData'?: string;
1045
+ /**
1046
+ * afterData
1047
+ * @type {string}
1048
+ * @memberof AuditLogEntity
1049
+ */
1050
+ 'afterData'?: string;
1051
+ /**
1052
+ * description
1053
+ * @type {string}
1054
+ * @memberof AuditLogEntity
1055
+ */
1056
+ 'description'?: string;
1057
+ }
742
1058
  /**
743
1059
  * OAuth Auth Code Response
744
1060
  * @export
@@ -764,6 +1080,44 @@ export interface AuthCodeResponseModel {
764
1080
  */
765
1081
  'redirect_uri'?: string | null;
766
1082
  }
1083
+ /**
1084
+ * Basic Order Item
1085
+ * @export
1086
+ * @interface BasicItemDTO
1087
+ */
1088
+ export interface BasicItemDTO {
1089
+ /**
1090
+ * SKU
1091
+ * @type {string}
1092
+ * @memberof BasicItemDTO
1093
+ */
1094
+ 'sku'?: string;
1095
+ /**
1096
+ * Quantity
1097
+ * @type {number}
1098
+ * @memberof BasicItemDTO
1099
+ */
1100
+ 'quantity'?: number;
1101
+ }
1102
+ /**
1103
+ * Basic Product
1104
+ * @export
1105
+ * @interface BasicProductDTO
1106
+ */
1107
+ export interface BasicProductDTO {
1108
+ /**
1109
+ * SKU
1110
+ * @type {string}
1111
+ * @memberof BasicProductDTO
1112
+ */
1113
+ 'sku'?: string;
1114
+ /**
1115
+ * Title
1116
+ * @type {string}
1117
+ * @memberof BasicProductDTO
1118
+ */
1119
+ 'title'?: string;
1120
+ }
767
1121
  /**
768
1122
  * BatchesEntity
769
1123
  * @export
@@ -958,12 +1312,6 @@ export interface ClientDetailsModel {
958
1312
  * @memberof ClientDetailsModel
959
1313
  */
960
1314
  'lastName'?: string;
961
- /**
962
- * User Profile Picture
963
- * @type {string}
964
- * @memberof ClientDetailsModel
965
- */
966
- 'image'?: string | null;
967
1315
  }
968
1316
  /**
969
1317
  * OAuth client details
@@ -1126,43 +1474,110 @@ export interface ConversationModel {
1126
1474
  'attachments'?: Array<AttachmentModel>;
1127
1475
  }
1128
1476
  /**
1129
- * Credit Account
1477
+ * CourierPricesEntity
1130
1478
  * @export
1131
- * @interface CreditAccountEntity
1479
+ * @interface CourierPriceEntity
1132
1480
  */
1133
- export interface CreditAccountEntity {
1481
+ export interface CourierPriceEntity {
1134
1482
  /**
1135
- * ID
1483
+ * id
1136
1484
  * @type {number}
1137
- * @memberof CreditAccountEntity
1485
+ * @memberof CourierPriceEntity
1138
1486
  */
1139
1487
  'id'?: number;
1140
1488
  /**
1141
- * Contact Name
1489
+ * courier
1142
1490
  * @type {string}
1143
- * @memberof CreditAccountEntity
1491
+ * @memberof CourierPriceEntity
1144
1492
  */
1145
- 'name'?: string;
1493
+ 'courier'?: string;
1146
1494
  /**
1147
- * Email
1495
+ * destinationIso
1148
1496
  * @type {string}
1149
- * @memberof CreditAccountEntity
1497
+ * @memberof CourierPriceEntity
1150
1498
  */
1151
- 'email'?: string;
1499
+ 'destinationIso'?: string;
1152
1500
  /**
1153
- * Phone Number
1501
+ * serviceDescription
1154
1502
  * @type {string}
1155
- * @memberof CreditAccountEntity
1503
+ * @memberof CourierPriceEntity
1156
1504
  */
1157
- 'phone'?: string;
1505
+ 'serviceDescription'?: string;
1158
1506
  /**
1159
- * Company Name
1160
- * @type {string}
1161
- * @memberof CreditAccountEntity
1507
+ * flatRate
1508
+ * @type {number}
1509
+ * @memberof CourierPriceEntity
1162
1510
  */
1163
- 'company'?: string;
1511
+ 'flatRate'?: number;
1164
1512
  /**
1165
- * Company Registration Number
1513
+ * initialBox
1514
+ * @type {number}
1515
+ * @memberof CourierPriceEntity
1516
+ */
1517
+ 'initialBox'?: number;
1518
+ /**
1519
+ * initialKg
1520
+ * @type {number}
1521
+ * @memberof CourierPriceEntity
1522
+ */
1523
+ 'initialKg'?: number;
1524
+ /**
1525
+ * perBox
1526
+ * @type {number}
1527
+ * @memberof CourierPriceEntity
1528
+ */
1529
+ 'perBox'?: number;
1530
+ /**
1531
+ * perKg
1532
+ * @type {number}
1533
+ * @memberof CourierPriceEntity
1534
+ */
1535
+ 'perKg'?: number;
1536
+ /**
1537
+ * maxKg
1538
+ * @type {number}
1539
+ * @memberof CourierPriceEntity
1540
+ */
1541
+ 'maxKg'?: number;
1542
+ }
1543
+ /**
1544
+ * Credit Account
1545
+ * @export
1546
+ * @interface CreditAccountEntity
1547
+ */
1548
+ export interface CreditAccountEntity {
1549
+ /**
1550
+ * ID
1551
+ * @type {number}
1552
+ * @memberof CreditAccountEntity
1553
+ */
1554
+ 'id'?: number;
1555
+ /**
1556
+ * Contact Name
1557
+ * @type {string}
1558
+ * @memberof CreditAccountEntity
1559
+ */
1560
+ 'name'?: string;
1561
+ /**
1562
+ * Email
1563
+ * @type {string}
1564
+ * @memberof CreditAccountEntity
1565
+ */
1566
+ 'email'?: string;
1567
+ /**
1568
+ * Phone Number
1569
+ * @type {string}
1570
+ * @memberof CreditAccountEntity
1571
+ */
1572
+ 'phone'?: string;
1573
+ /**
1574
+ * Company Name
1575
+ * @type {string}
1576
+ * @memberof CreditAccountEntity
1577
+ */
1578
+ 'company'?: string;
1579
+ /**
1580
+ * Company Registration Number
1166
1581
  * @type {string}
1167
1582
  * @memberof CreditAccountEntity
1168
1583
  */
@@ -1356,6 +1771,116 @@ export interface CustomerInformationModel {
1356
1771
  */
1357
1772
  'contactLastName'?: string;
1358
1773
  }
1774
+ /**
1775
+ * Order Item Request
1776
+ * @export
1777
+ * @interface CustomerItemRequestDTO
1778
+ */
1779
+ export interface CustomerItemRequestDTO {
1780
+ /**
1781
+ * SKU
1782
+ * @type {string}
1783
+ * @memberof CustomerItemRequestDTO
1784
+ */
1785
+ 'sku'?: string;
1786
+ /**
1787
+ * Quantity
1788
+ * @type {number}
1789
+ * @memberof CustomerItemRequestDTO
1790
+ */
1791
+ 'quantity'?: number;
1792
+ /**
1793
+ * ID
1794
+ * @type {number}
1795
+ * @memberof CustomerItemRequestDTO
1796
+ */
1797
+ 'id'?: number | null;
1798
+ /**
1799
+ * 3CX Licence Key
1800
+ * @type {string}
1801
+ * @memberof CustomerItemRequestDTO
1802
+ */
1803
+ 'licenceKey'?: string | null;
1804
+ /**
1805
+ * 3CX Hosting
1806
+ * @type {boolean}
1807
+ * @memberof CustomerItemRequestDTO
1808
+ */
1809
+ 'hosting'?: boolean | null;
1810
+ /**
1811
+ * Date Time
1812
+ * @type {string}
1813
+ * @memberof CustomerItemRequestDTO
1814
+ */
1815
+ 'processDate'?: string;
1816
+ /**
1817
+ * 3CX Sales Code
1818
+ * @type {string}
1819
+ * @memberof CustomerItemRequestDTO
1820
+ */
1821
+ 'tcxSalesCode'?: string | null;
1822
+ /**
1823
+ * SBCS
1824
+ * @type {Array<TcxSbcDTO>}
1825
+ * @memberof CustomerItemRequestDTO
1826
+ */
1827
+ 'sbcs'?: Array<TcxSbcDTO>;
1828
+ /**
1829
+ * Read Only (Cannot be edited)
1830
+ * @type {boolean}
1831
+ * @memberof CustomerItemRequestDTO
1832
+ */
1833
+ 'readOnly'?: boolean;
1834
+ }
1835
+ /**
1836
+ * Order Request
1837
+ * @export
1838
+ * @interface CustomerOrderRequestDTO
1839
+ */
1840
+ export interface CustomerOrderRequestDTO {
1841
+ /**
1842
+ * Order Reference
1843
+ * @type {string}
1844
+ * @memberof CustomerOrderRequestDTO
1845
+ */
1846
+ 'orderReference'?: string | null;
1847
+ /**
1848
+ * Items
1849
+ * @type {Array<CustomerItemRequestDTO>}
1850
+ * @memberof CustomerOrderRequestDTO
1851
+ */
1852
+ 'items'?: Array<CustomerItemRequestDTO>;
1853
+ /**
1854
+ *
1855
+ * @type {ShippingServiceDTO}
1856
+ * @memberof CustomerOrderRequestDTO
1857
+ */
1858
+ 'shippingService'?: ShippingServiceDTO;
1859
+ /**
1860
+ * Provisioning URL
1861
+ * @type {string}
1862
+ * @memberof CustomerOrderRequestDTO
1863
+ */
1864
+ 'provisioningUrl'?: string | null;
1865
+ /**
1866
+ *
1867
+ * @type {AddressModel}
1868
+ * @memberof CustomerOrderRequestDTO
1869
+ */
1870
+ 'shippingAddress'?: AddressModel;
1871
+ /**
1872
+ * Part Ship Order
1873
+ * @type {boolean}
1874
+ * @memberof CustomerOrderRequestDTO
1875
+ */
1876
+ 'partShip'?: boolean;
1877
+ /**
1878
+ * Quote
1879
+ * @type {boolean}
1880
+ * @memberof CustomerOrderRequestDTO
1881
+ */
1882
+ 'quote'?: boolean;
1883
+ }
1359
1884
  /**
1360
1885
  * Customer Price List
1361
1886
  * @export
@@ -1456,6 +1981,134 @@ export interface DdiRangesRequestModel {
1456
1981
  */
1457
1982
  'ranges'?: Array<DdiRangeRequestModel>;
1458
1983
  }
1984
+ /**
1985
+ * Detailed Order Item Request
1986
+ * @export
1987
+ * @interface DetailedItemRequestDTO
1988
+ */
1989
+ export interface DetailedItemRequestDTO {
1990
+ /**
1991
+ * SKU
1992
+ * @type {string}
1993
+ * @memberof DetailedItemRequestDTO
1994
+ */
1995
+ 'sku'?: string;
1996
+ /**
1997
+ * Quantity
1998
+ * @type {number}
1999
+ * @memberof DetailedItemRequestDTO
2000
+ */
2001
+ 'quantity'?: number;
2002
+ /**
2003
+ * ID
2004
+ * @type {number}
2005
+ * @memberof DetailedItemRequestDTO
2006
+ */
2007
+ 'id'?: number | null;
2008
+ /**
2009
+ * 3CX Licence Key
2010
+ * @type {string}
2011
+ * @memberof DetailedItemRequestDTO
2012
+ */
2013
+ 'licenceKey'?: string | null;
2014
+ /**
2015
+ * 3CX Hosting
2016
+ * @type {boolean}
2017
+ * @memberof DetailedItemRequestDTO
2018
+ */
2019
+ 'hosting'?: boolean | null;
2020
+ /**
2021
+ * Date Time
2022
+ * @type {string}
2023
+ * @memberof DetailedItemRequestDTO
2024
+ */
2025
+ 'processDate'?: string;
2026
+ /**
2027
+ * 3CX Sales Code
2028
+ * @type {string}
2029
+ * @memberof DetailedItemRequestDTO
2030
+ */
2031
+ 'tcxSalesCode'?: string | null;
2032
+ /**
2033
+ * SBCS
2034
+ * @type {Array<TcxSbcDTO>}
2035
+ * @memberof DetailedItemRequestDTO
2036
+ */
2037
+ 'sbcs'?: Array<TcxSbcDTO>;
2038
+ /**
2039
+ * Read Only (Cannot be edited)
2040
+ * @type {boolean}
2041
+ * @memberof DetailedItemRequestDTO
2042
+ */
2043
+ 'readOnly'?: boolean;
2044
+ /**
2045
+ * Title
2046
+ * @type {string}
2047
+ * @memberof DetailedItemRequestDTO
2048
+ */
2049
+ 'title'?: string | null;
2050
+ /**
2051
+ * Price (£)
2052
+ * @type {number}
2053
+ * @memberof DetailedItemRequestDTO
2054
+ */
2055
+ 'itemPrice'?: number | null;
2056
+ /**
2057
+ * Additional Discount
2058
+ * @type {number}
2059
+ * @memberof DetailedItemRequestDTO
2060
+ */
2061
+ 'additionalDiscount'?: number | null;
2062
+ }
2063
+ /**
2064
+ * Detailed Order Request
2065
+ * @export
2066
+ * @interface DetailedOrderRequestDTO
2067
+ */
2068
+ export interface DetailedOrderRequestDTO {
2069
+ /**
2070
+ * Order Reference
2071
+ * @type {string}
2072
+ * @memberof DetailedOrderRequestDTO
2073
+ */
2074
+ 'orderReference'?: string | null;
2075
+ /**
2076
+ * Items
2077
+ * @type {Array<DetailedItemRequestDTO>}
2078
+ * @memberof DetailedOrderRequestDTO
2079
+ */
2080
+ 'items'?: Array<DetailedItemRequestDTO>;
2081
+ /**
2082
+ *
2083
+ * @type {ShippingServiceDTO}
2084
+ * @memberof DetailedOrderRequestDTO
2085
+ */
2086
+ 'shippingService'?: ShippingServiceDTO;
2087
+ /**
2088
+ * Provisioning URL
2089
+ * @type {string}
2090
+ * @memberof DetailedOrderRequestDTO
2091
+ */
2092
+ 'provisioningUrl'?: string | null;
2093
+ /**
2094
+ *
2095
+ * @type {AddressModel}
2096
+ * @memberof DetailedOrderRequestDTO
2097
+ */
2098
+ 'shippingAddress'?: AddressModel;
2099
+ /**
2100
+ * Part Ship Order
2101
+ * @type {boolean}
2102
+ * @memberof DetailedOrderRequestDTO
2103
+ */
2104
+ 'partShip'?: boolean;
2105
+ /**
2106
+ * Quote
2107
+ * @type {boolean}
2108
+ * @memberof DetailedOrderRequestDTO
2109
+ */
2110
+ 'quote'?: boolean;
2111
+ }
1459
2112
  /**
1460
2113
  * Divert Request
1461
2114
  * @export
@@ -1865,19 +2518,6 @@ export interface GenericFileModel {
1865
2518
  */
1866
2519
  'type'?: string;
1867
2520
  }
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
- }
1881
2521
  /**
1882
2522
  *
1883
2523
  * @export
@@ -2479,35 +3119,35 @@ export interface InstanceUserCredentialsEntity {
2479
3119
  */
2480
3120
  export interface ItemDTO {
2481
3121
  /**
2482
- * ID
2483
- * @type {number}
3122
+ * SKU
3123
+ * @type {string}
2484
3124
  * @memberof ItemDTO
2485
3125
  */
2486
- 'id'?: number;
3126
+ 'sku'?: string;
2487
3127
  /**
2488
- * Order ID
3128
+ * Quantity
2489
3129
  * @type {number}
2490
3130
  * @memberof ItemDTO
2491
3131
  */
2492
- 'orderId'?: number;
3132
+ 'quantity'?: number;
2493
3133
  /**
2494
- * Title
2495
- * @type {string}
3134
+ * ID
3135
+ * @type {number}
2496
3136
  * @memberof ItemDTO
2497
3137
  */
2498
- 'title'?: string;
3138
+ 'id'?: number | null;
2499
3139
  /**
2500
- * SKU
2501
- * @type {string}
3140
+ * Order ID
3141
+ * @type {number}
2502
3142
  * @memberof ItemDTO
2503
3143
  */
2504
- 'sku'?: string;
3144
+ 'orderId'?: number | null;
2505
3145
  /**
2506
- * Quantity
2507
- * @type {number}
3146
+ * Title
3147
+ * @type {string}
2508
3148
  * @memberof ItemDTO
2509
3149
  */
2510
- 'quantity'?: number;
3150
+ 'title'?: string;
2511
3151
  /**
2512
3152
  * Price
2513
3153
  * @type {number}
@@ -2532,6 +3172,12 @@ export interface ItemDTO {
2532
3172
  * @memberof ItemDTO
2533
3173
  */
2534
3174
  'processDate'?: string;
3175
+ /**
3176
+ * 3CX Hosting
3177
+ * @type {boolean}
3178
+ * @memberof ItemDTO
3179
+ */
3180
+ 'hosting'?: boolean | null;
2535
3181
  /**
2536
3182
  * Promo Item
2537
3183
  * @type {boolean}
@@ -2543,14 +3189,90 @@ export interface ItemDTO {
2543
3189
  * @type {number}
2544
3190
  * @memberof ItemDTO
2545
3191
  */
2546
- 'refunded'?: number;
3192
+ 'refunded'?: number | null;
3193
+ /**
3194
+ * SBCs
3195
+ * @type {Array<TcxSbcDTO>}
3196
+ * @memberof ItemDTO
3197
+ */
3198
+ 'sbcs'?: Array<TcxSbcDTO> | null;
3199
+ /**
3200
+ * Readonly
3201
+ * @type {boolean}
3202
+ * @memberof ItemDTO
3203
+ */
3204
+ 'readonly'?: boolean;
3205
+ /**
3206
+ * 3CX Sales Code
3207
+ * @type {string}
3208
+ * @memberof ItemDTO
3209
+ */
3210
+ 'tcxSalesCode'?: string | null;
2547
3211
  }
2548
3212
  /**
2549
- * ItemsEntity
3213
+ * ItemDiscountsEntity
2550
3214
  * @export
2551
- * @interface ItemEntity
3215
+ * @interface ItemDiscountEntity
2552
3216
  */
2553
- export interface ItemEntity {
3217
+ export interface ItemDiscountEntity {
3218
+ /**
3219
+ * id
3220
+ * @type {number}
3221
+ * @memberof ItemDiscountEntity
3222
+ */
3223
+ 'id'?: number;
3224
+ /**
3225
+ * itemId
3226
+ * @type {number}
3227
+ * @memberof ItemDiscountEntity
3228
+ */
3229
+ 'itemId'?: number;
3230
+ /**
3231
+ * priceList
3232
+ * @type {string}
3233
+ * @memberof ItemDiscountEntity
3234
+ */
3235
+ 'priceList'?: string;
3236
+ /**
3237
+ * discount
3238
+ * @type {number}
3239
+ * @memberof ItemDiscountEntity
3240
+ */
3241
+ 'discount'?: number;
3242
+ /**
3243
+ * type
3244
+ * @type {string}
3245
+ * @memberof ItemDiscountEntity
3246
+ */
3247
+ 'type'?: ItemDiscountEntityTypeEnum | null;
3248
+ /**
3249
+ * description
3250
+ * @type {string}
3251
+ * @memberof ItemDiscountEntity
3252
+ */
3253
+ 'description'?: string;
3254
+ /**
3255
+ * priority
3256
+ * @type {number}
3257
+ * @memberof ItemDiscountEntity
3258
+ */
3259
+ 'priority'?: number;
3260
+ }
3261
+
3262
+ export const ItemDiscountEntityTypeEnum = {
3263
+ TcxPhones: 'TCX_PHONES',
3264
+ PhoneBulk: 'PHONE_BULK',
3265
+ Additional: 'ADDITIONAL'
3266
+ } as const;
3267
+
3268
+ export type ItemDiscountEntityTypeEnum = typeof ItemDiscountEntityTypeEnum[keyof typeof ItemDiscountEntityTypeEnum];
3269
+
3270
+ /**
3271
+ * ItemsEntity
3272
+ * @export
3273
+ * @interface ItemEntity
3274
+ */
3275
+ export interface ItemEntity {
2554
3276
  /**
2555
3277
  * id
2556
3278
  * @type {number}
@@ -2652,7 +3374,7 @@ export interface ItemEntity {
2652
3374
  * @type {string}
2653
3375
  * @memberof ItemEntity
2654
3376
  */
2655
- 'licencekey'?: string;
3377
+ 'licenceKey'?: string;
2656
3378
  /**
2657
3379
  * addHosting
2658
3380
  * @type {number}
@@ -2677,6 +3399,31 @@ export interface ItemEntity {
2677
3399
  * @memberof ItemEntity
2678
3400
  */
2679
3401
  'promoItem'?: number;
3402
+ /**
3403
+ * 3CX Sales Code
3404
+ * @type {string}
3405
+ * @memberof ItemEntity
3406
+ */
3407
+ 'tcxSalesCode'?: string | null;
3408
+ }
3409
+ /**
3410
+ * LinkedOrdersEntity
3411
+ * @export
3412
+ * @interface LinkedOrderEntity
3413
+ */
3414
+ export interface LinkedOrderEntity {
3415
+ /**
3416
+ * orderId
3417
+ * @type {number}
3418
+ * @memberof LinkedOrderEntity
3419
+ */
3420
+ 'orderId'?: number;
3421
+ /**
3422
+ * linkedOrderId
3423
+ * @type {number}
3424
+ * @memberof LinkedOrderEntity
3425
+ */
3426
+ 'linkedOrderId'?: number;
2680
3427
  }
2681
3428
  /**
2682
3429
  * MFA Required
@@ -3337,13 +4084,19 @@ export interface OrderSummaryDTO {
3337
4084
  * @type {string}
3338
4085
  * @memberof OrderSummaryDTO
3339
4086
  */
3340
- 'reference'?: string;
4087
+ 'reference'?: string | null;
3341
4088
  /**
3342
4089
  * Invoice Number
3343
4090
  * @type {string}
3344
4091
  * @memberof OrderSummaryDTO
3345
4092
  */
3346
4093
  'invoiceNumber'?: string;
4094
+ /**
4095
+ * Invoice ID
4096
+ * @type {string}
4097
+ * @memberof OrderSummaryDTO
4098
+ */
4099
+ 'invoiceId'?: string | null;
3347
4100
  /**
3348
4101
  * Date Time
3349
4102
  * @type {string}
@@ -3398,6 +4151,24 @@ export interface OrderSummaryDTO {
3398
4151
  * @memberof OrderSummaryDTO
3399
4152
  */
3400
4153
  'fulfillable'?: boolean | null;
4154
+ /**
4155
+ * Provisioning URL
4156
+ * @type {string}
4157
+ * @memberof OrderSummaryDTO
4158
+ */
4159
+ 'provisioningUrl'?: string | null;
4160
+ /**
4161
+ *
4162
+ * @type {ShippingServiceDTO}
4163
+ * @memberof OrderSummaryDTO
4164
+ */
4165
+ 'shippingService'?: ShippingServiceDTO | null;
4166
+ /**
4167
+ * Readonly
4168
+ * @type {boolean}
4169
+ * @memberof OrderSummaryDTO
4170
+ */
4171
+ 'readonly'?: boolean;
3401
4172
  }
3402
4173
  /**
3403
4174
  * Order Totals
@@ -3447,6 +4218,12 @@ export interface OrderTotalModel {
3447
4218
  * @memberof OrderTotalModel
3448
4219
  */
3449
4220
  'currency'?: OrderTotalModelCurrencyEnum;
4221
+ /**
4222
+ * Delivery
4223
+ * @type {number}
4224
+ * @memberof OrderTotalModel
4225
+ */
4226
+ 'delivery'?: number | null;
3450
4227
  }
3451
4228
 
3452
4229
  export const OrderTotalModelCurrencyEnum = {
@@ -3828,6 +4605,31 @@ export interface PostGetClientCredentialsRequest {
3828
4605
  */
3829
4606
  'scopes'?: Array<string>;
3830
4607
  }
4608
+ /**
4609
+ *
4610
+ * @export
4611
+ * @interface PostGetProductForCustomerRequest
4612
+ */
4613
+ export interface PostGetProductForCustomerRequest {
4614
+ /**
4615
+ * Quantity
4616
+ * @type {number}
4617
+ * @memberof PostGetProductForCustomerRequest
4618
+ */
4619
+ 'quantity'?: number | null;
4620
+ /**
4621
+ * 3CX Licence Key
4622
+ * @type {string}
4623
+ * @memberof PostGetProductForCustomerRequest
4624
+ */
4625
+ 'licenceKey'?: string | null;
4626
+ /**
4627
+ * 3CX Hosting
4628
+ * @type {boolean}
4629
+ * @memberof PostGetProductForCustomerRequest
4630
+ */
4631
+ 'hosting'?: boolean | null;
4632
+ }
3831
4633
  /**
3832
4634
  * Price & Stock List
3833
4635
  * @export
@@ -3959,10 +4761,10 @@ export interface ProductPriceListItemModel {
3959
4761
  export interface ProductSearchResultsModel {
3960
4762
  /**
3961
4763
  * Results
3962
- * @type {Array<ProductSummaryModel>}
4764
+ * @type {Array<ProductSummaryDTO>}
3963
4765
  * @memberof ProductSearchResultsModel
3964
4766
  */
3965
- 'results'?: Array<ProductSummaryModel>;
4767
+ 'results'?: Array<ProductSummaryDTO>;
3966
4768
  }
3967
4769
  /**
3968
4770
  * Product Serial Info
@@ -3998,45 +4800,57 @@ export interface ProductSerialInfoModel {
3998
4800
  /**
3999
4801
  * Product Summary
4000
4802
  * @export
4001
- * @interface ProductSummaryModel
4803
+ * @interface ProductSummaryDTO
4002
4804
  */
4003
- export interface ProductSummaryModel {
4805
+ export interface ProductSummaryDTO {
4004
4806
  /**
4005
4807
  * SKU
4006
4808
  * @type {string}
4007
- * @memberof ProductSummaryModel
4809
+ * @memberof ProductSummaryDTO
4008
4810
  */
4009
4811
  'sku'?: string;
4010
4812
  /**
4011
4813
  * Title
4012
4814
  * @type {string}
4013
- * @memberof ProductSummaryModel
4815
+ * @memberof ProductSummaryDTO
4014
4816
  */
4015
4817
  'title'?: string;
4016
4818
  /**
4017
4819
  * Stock Quantity
4018
4820
  * @type {number}
4019
- * @memberof ProductSummaryModel
4821
+ * @memberof ProductSummaryDTO
4020
4822
  */
4021
4823
  'quantity'?: number | null;
4022
4824
  /**
4023
4825
  * Stock Product
4024
4826
  * @type {boolean}
4025
- * @memberof ProductSummaryModel
4827
+ * @memberof ProductSummaryDTO
4026
4828
  */
4027
4829
  'stockProduct'?: boolean;
4028
4830
  /**
4029
4831
  * Price
4030
4832
  * @type {number}
4031
- * @memberof ProductSummaryModel
4833
+ * @memberof ProductSummaryDTO
4032
4834
  */
4033
4835
  'price'?: number | null;
4034
4836
  /**
4035
4837
  * Carton Size
4036
4838
  * @type {number}
4037
- * @memberof ProductSummaryModel
4839
+ * @memberof ProductSummaryDTO
4038
4840
  */
4039
4841
  'cartonSize'?: number | null;
4842
+ /**
4843
+ * RRP Price
4844
+ * @type {number}
4845
+ * @memberof ProductSummaryDTO
4846
+ */
4847
+ 'rrp'?: number | null;
4848
+ /**
4849
+ *
4850
+ * @type {TcxLicenceDetailsModel}
4851
+ * @memberof ProductSummaryDTO
4852
+ */
4853
+ 'licenceDetails'?: TcxLicenceDetailsModel | null;
4040
4854
  }
4041
4855
  /**
4042
4856
  * PromoCodesEntity
@@ -4175,37 +4989,37 @@ export interface PromoItemsEntity {
4175
4989
  /**
4176
4990
  * Provisioning Group
4177
4991
  * @export
4178
- * @interface ProvisioningEntity
4992
+ * @interface ProvisioningModel
4179
4993
  */
4180
- export interface ProvisioningEntity {
4994
+ export interface ProvisioningModel {
4181
4995
  /**
4182
4996
  * Provisioning Group Name
4183
4997
  * @type {string}
4184
- * @memberof ProvisioningEntity
4998
+ * @memberof ProvisioningModel
4185
4999
  */
4186
5000
  'groupName'?: string;
4187
5001
  /**
4188
5002
  * Provisioning URL (Static Provisioning Server)
4189
5003
  * @type {string}
4190
- * @memberof ProvisioningEntity
5004
+ * @memberof ProvisioningModel
4191
5005
  */
4192
5006
  'provisioningUrl'?: string;
4193
5007
  /**
4194
5008
  * Additional Authentication Secret
4195
5009
  * @type {string}
4196
- * @memberof ProvisioningEntity
5010
+ * @memberof ProvisioningModel
4197
5011
  */
4198
5012
  'auth'?: string;
4199
5013
  /**
4200
5014
  * Provisioning Group ID
4201
5015
  * @type {number}
4202
- * @memberof ProvisioningEntity
5016
+ * @memberof ProvisioningModel
4203
5017
  */
4204
5018
  'id'?: number;
4205
5019
  /**
4206
5020
  * Owner ID
4207
5021
  * @type {number}
4208
- * @memberof ProvisioningEntity
5022
+ * @memberof ProvisioningModel
4209
5023
  */
4210
5024
  'customerId'?: number;
4211
5025
  }
@@ -4559,7 +5373,7 @@ export interface ShipmentEntity {
4559
5373
  * @type {string}
4560
5374
  * @memberof ShipmentEntity
4561
5375
  */
4562
- 'date'?: string;
5376
+ 'dateShipped'?: string;
4563
5377
  /**
4564
5378
  * requestDate
4565
5379
  * @type {string}
@@ -4610,6 +5424,155 @@ export interface ShipmentItemEntity {
4610
5424
  */
4611
5425
  'itemId'?: string;
4612
5426
  }
5427
+ /**
5428
+ *
5429
+ * @export
5430
+ * @interface ShippingConsignmentModel
5431
+ */
5432
+ export interface ShippingConsignmentModel {
5433
+ /**
5434
+ *
5435
+ * @type {ShippingServiceModel}
5436
+ * @memberof ShippingConsignmentModel
5437
+ */
5438
+ 'service'?: ShippingServiceModel;
5439
+ /**
5440
+ * ID/Number
5441
+ * @type {string}
5442
+ * @memberof ShippingConsignmentModel
5443
+ */
5444
+ 'id'?: string;
5445
+ /**
5446
+ * Tracking Number
5447
+ * @type {string}
5448
+ * @memberof ShippingConsignmentModel
5449
+ */
5450
+ 'trackingNumber'?: string;
5451
+ /**
5452
+ * Parcels
5453
+ * @type {Array<string>}
5454
+ * @memberof ShippingConsignmentModel
5455
+ */
5456
+ 'parcelIds'?: Array<string>;
5457
+ }
5458
+ /**
5459
+ * Shipping Information
5460
+ * @export
5461
+ * @interface ShippingInformationDTO
5462
+ */
5463
+ export interface ShippingInformationDTO {
5464
+ /**
5465
+ * Items
5466
+ * @type {Array<BasicItemDTO>}
5467
+ * @memberof ShippingInformationDTO
5468
+ */
5469
+ 'items'?: Array<BasicItemDTO>;
5470
+ /**
5471
+ * Destination Post Code
5472
+ * @type {string}
5473
+ * @memberof ShippingInformationDTO
5474
+ */
5475
+ 'postalCode'?: string;
5476
+ /**
5477
+ * Destination ISO
5478
+ * @type {string}
5479
+ * @memberof ShippingInformationDTO
5480
+ */
5481
+ 'iso'?: string;
5482
+ }
5483
+ /**
5484
+ * Shipping Service
5485
+ * @export
5486
+ * @interface ShippingServiceDTO
5487
+ */
5488
+ export interface ShippingServiceDTO {
5489
+ /**
5490
+ * Courier
5491
+ * @type {string}
5492
+ * @memberof ShippingServiceDTO
5493
+ */
5494
+ 'courier'?: ShippingServiceDTOCourierEnum;
5495
+ /**
5496
+ * Service Name
5497
+ * @type {string}
5498
+ * @memberof ShippingServiceDTO
5499
+ */
5500
+ 'serviceName'?: string;
5501
+ }
5502
+
5503
+ export const ShippingServiceDTOCourierEnum = {
5504
+ Dpd: 'DPD',
5505
+ ChorltonPallet: 'Chorlton Pallet',
5506
+ Pops: 'POPS'
5507
+ } as const;
5508
+
5509
+ export type ShippingServiceDTOCourierEnum = typeof ShippingServiceDTOCourierEnum[keyof typeof ShippingServiceDTOCourierEnum];
5510
+
5511
+ /**
5512
+ * Shipping Service
5513
+ * @export
5514
+ * @interface ShippingServiceModel
5515
+ */
5516
+ export interface ShippingServiceModel {
5517
+ /**
5518
+ * Courier
5519
+ * @type {string}
5520
+ * @memberof ShippingServiceModel
5521
+ */
5522
+ 'courier'?: ShippingServiceModelCourierEnum;
5523
+ /**
5524
+ * Code
5525
+ * @type {string}
5526
+ * @memberof ShippingServiceModel
5527
+ */
5528
+ 'code'?: string;
5529
+ /**
5530
+ * Name
5531
+ * @type {string}
5532
+ * @memberof ShippingServiceModel
5533
+ */
5534
+ 'name'?: string;
5535
+ /**
5536
+ * Description
5537
+ * @type {string}
5538
+ * @memberof ShippingServiceModel
5539
+ */
5540
+ 'description'?: string;
5541
+ /**
5542
+ * Label
5543
+ * @type {string}
5544
+ * @memberof ShippingServiceModel
5545
+ */
5546
+ 'label'?: string | null;
5547
+ /**
5548
+ * Price
5549
+ * @type {number}
5550
+ * @memberof ShippingServiceModel
5551
+ */
5552
+ 'price'?: number | null;
5553
+ }
5554
+
5555
+ export const ShippingServiceModelCourierEnum = {
5556
+ Dpd: 'DPD',
5557
+ ChorltonPallet: 'Chorlton Pallet',
5558
+ Pops: 'POPS'
5559
+ } as const;
5560
+
5561
+ export type ShippingServiceModelCourierEnum = typeof ShippingServiceModelCourierEnum[keyof typeof ShippingServiceModelCourierEnum];
5562
+
5563
+ /**
5564
+ *
5565
+ * @export
5566
+ * @interface ShippingServicesModel
5567
+ */
5568
+ export interface ShippingServicesModel {
5569
+ /**
5570
+ * Services
5571
+ * @type {Array<ShippingServiceModel>}
5572
+ * @memberof ShippingServicesModel
5573
+ */
5574
+ 'services'?: Array<ShippingServiceModel>;
5575
+ }
4613
5576
  /**
4614
5577
  * Change Response
4615
5578
  * @export
@@ -7449,6 +8412,49 @@ export interface TcxRemoteStorageModel {
7449
8412
  */
7450
8413
  'secretAccessKey'?: string;
7451
8414
  }
8415
+ /**
8416
+ * SBC Data
8417
+ * @export
8418
+ * @interface TcxSbcDTO
8419
+ */
8420
+ export interface TcxSbcDTO {
8421
+ /**
8422
+ * LAN IP Address
8423
+ * @type {string}
8424
+ * @memberof TcxSbcDTO
8425
+ */
8426
+ 'ipAddress'?: string;
8427
+ /**
8428
+ * LAN Default Gateway
8429
+ * @type {string}
8430
+ * @memberof TcxSbcDTO
8431
+ */
8432
+ 'defaultGateway'?: string;
8433
+ /**
8434
+ * LAN Subnet Mask
8435
+ * @type {string}
8436
+ * @memberof TcxSbcDTO
8437
+ */
8438
+ 'netmask'?: string;
8439
+ /**
8440
+ * DNS
8441
+ * @type {string}
8442
+ * @memberof TcxSbcDTO
8443
+ */
8444
+ 'dns'?: string;
8445
+ /**
8446
+ * 3CX URL
8447
+ * @type {string}
8448
+ * @memberof TcxSbcDTO
8449
+ */
8450
+ 'tcxUrl'?: string;
8451
+ /**
8452
+ * 3CX SBC Key
8453
+ * @type {string}
8454
+ * @memberof TcxSbcDTO
8455
+ */
8456
+ 'tcxKey'?: string;
8457
+ }
7452
8458
  /**
7453
8459
  * 3CX Wizard SBC
7454
8460
  * @export
@@ -7553,7 +8559,7 @@ export interface TcxSbcEntity {
7553
8559
  'technicalContact'?: string;
7554
8560
  }
7555
8561
  /**
7556
- * 3CX SBC Model
8562
+ * 3CX Wizard SBC
7557
8563
  * @export
7558
8564
  * @interface TcxSbcModel
7559
8565
  */
@@ -8738,6 +9744,40 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
8738
9744
 
8739
9745
 
8740
9746
 
9747
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9748
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9749
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9750
+
9751
+ return {
9752
+ url: toPathString(localVarUrlObj),
9753
+ options: localVarRequestOptions,
9754
+ };
9755
+ },
9756
+ /**
9757
+ * Get Account Detailed Summary
9758
+ * @summary Get Account Detailed Summary
9759
+ * @param {number} id Customer ID
9760
+ * @param {*} [options] Override http request option.
9761
+ * @throws {RequiredError}
9762
+ */
9763
+ getGetAccountDetailedSummary: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9764
+ // verify required parameter 'id' is not null or undefined
9765
+ assertParamExists('getGetAccountDetailedSummary', 'id', id)
9766
+ const localVarPath = `/accounts/{id}/summary`
9767
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9768
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9769
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9770
+ let baseOptions;
9771
+ if (configuration) {
9772
+ baseOptions = configuration.baseOptions;
9773
+ }
9774
+
9775
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9776
+ const localVarHeaderParameter = {} as any;
9777
+ const localVarQueryParameter = {} as any;
9778
+
9779
+
9780
+
8741
9781
  setSearchParams(localVarUrlObj, localVarQueryParameter);
8742
9782
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8743
9783
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -9037,13 +10077,43 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
9037
10077
  };
9038
10078
  },
9039
10079
  /**
9040
- * Create client credentials
9041
- * @summary Create client credentials
9042
- * @param {PostGetClientCredentialsRequest} [postGetClientCredentialsRequest] New client credentials request
10080
+ * Get Admin Account
10081
+ * @summary Get Admin Account
9043
10082
  * @param {*} [options] Override http request option.
9044
10083
  * @throws {RequiredError}
9045
10084
  */
9046
- postGetClientCredentials: async (postGetClientCredentialsRequest?: PostGetClientCredentialsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10085
+ postGetAdminAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10086
+ const localVarPath = `/admin/me`;
10087
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10088
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10089
+ let baseOptions;
10090
+ if (configuration) {
10091
+ baseOptions = configuration.baseOptions;
10092
+ }
10093
+
10094
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10095
+ const localVarHeaderParameter = {} as any;
10096
+ const localVarQueryParameter = {} as any;
10097
+
10098
+
10099
+
10100
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10101
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10102
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10103
+
10104
+ return {
10105
+ url: toPathString(localVarUrlObj),
10106
+ options: localVarRequestOptions,
10107
+ };
10108
+ },
10109
+ /**
10110
+ * Create client credentials
10111
+ * @summary Create client credentials
10112
+ * @param {PostGetClientCredentialsRequest} [postGetClientCredentialsRequest] New client credentials request
10113
+ * @param {*} [options] Override http request option.
10114
+ * @throws {RequiredError}
10115
+ */
10116
+ postGetClientCredentials: async (postGetClientCredentialsRequest?: PostGetClientCredentialsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9047
10117
  const localVarPath = `/accounts/me/contacts/credentials`;
9048
10118
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9049
10119
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -9285,6 +10355,19 @@ export const AccountsApiFp = function(configuration?: Configuration) {
9285
10355
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountContacts']?.[localVarOperationServerIndex]?.url;
9286
10356
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9287
10357
  },
10358
+ /**
10359
+ * Get Account Detailed Summary
10360
+ * @summary Get Account Detailed Summary
10361
+ * @param {number} id Customer ID
10362
+ * @param {*} [options] Override http request option.
10363
+ * @throws {RequiredError}
10364
+ */
10365
+ async getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDetailedSummaryDTO>> {
10366
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options);
10367
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10368
+ const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountDetailedSummary']?.[localVarOperationServerIndex]?.url;
10369
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10370
+ },
9288
10371
  /**
9289
10372
  * Get Accounts
9290
10373
  * @summary Get Accounts
@@ -9390,6 +10473,18 @@ export const AccountsApiFp = function(configuration?: Configuration) {
9390
10473
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAccounts']?.[localVarOperationServerIndex]?.url;
9391
10474
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9392
10475
  },
10476
+ /**
10477
+ * Get Admin Account
10478
+ * @summary Get Admin Account
10479
+ * @param {*} [options] Override http request option.
10480
+ * @throws {RequiredError}
10481
+ */
10482
+ async postGetAdminAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminUserModel>> {
10483
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postGetAdminAccount(options);
10484
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10485
+ const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAdminAccount']?.[localVarOperationServerIndex]?.url;
10486
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10487
+ },
9393
10488
  /**
9394
10489
  * Create client credentials
9395
10490
  * @summary Create client credentials
@@ -9507,6 +10602,16 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
9507
10602
  getGetAccountContacts(email?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>> {
9508
10603
  return localVarFp.getGetAccountContacts(email, options).then((request) => request(axios, basePath));
9509
10604
  },
10605
+ /**
10606
+ * Get Account Detailed Summary
10607
+ * @summary Get Account Detailed Summary
10608
+ * @param {number} id Customer ID
10609
+ * @param {*} [options] Override http request option.
10610
+ * @throws {RequiredError}
10611
+ */
10612
+ getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AccountDetailedSummaryDTO> {
10613
+ return localVarFp.getGetAccountDetailedSummary(id, options).then((request) => request(axios, basePath));
10614
+ },
9510
10615
  /**
9511
10616
  * Get Accounts
9512
10617
  * @summary Get Accounts
@@ -9588,6 +10693,15 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
9588
10693
  postGetAccounts(accountRequestModel?: AccountRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<PortalAccountModel> {
9589
10694
  return localVarFp.postGetAccounts(accountRequestModel, options).then((request) => request(axios, basePath));
9590
10695
  },
10696
+ /**
10697
+ * Get Admin Account
10698
+ * @summary Get Admin Account
10699
+ * @param {*} [options] Override http request option.
10700
+ * @throws {RequiredError}
10701
+ */
10702
+ postGetAdminAccount(options?: RawAxiosRequestConfig): AxiosPromise<AdminUserModel> {
10703
+ return localVarFp.postGetAdminAccount(options).then((request) => request(axios, basePath));
10704
+ },
9591
10705
  /**
9592
10706
  * Create client credentials
9593
10707
  * @summary Create client credentials
@@ -9698,6 +10812,18 @@ export class AccountsApi extends BaseAPI {
9698
10812
  return AccountsApiFp(this.configuration).getGetAccountContacts(email, options).then((request) => request(this.axios, this.basePath));
9699
10813
  }
9700
10814
 
10815
+ /**
10816
+ * Get Account Detailed Summary
10817
+ * @summary Get Account Detailed Summary
10818
+ * @param {number} id Customer ID
10819
+ * @param {*} [options] Override http request option.
10820
+ * @throws {RequiredError}
10821
+ * @memberof AccountsApi
10822
+ */
10823
+ public getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig) {
10824
+ return AccountsApiFp(this.configuration).getGetAccountDetailedSummary(id, options).then((request) => request(this.axios, this.basePath));
10825
+ }
10826
+
9701
10827
  /**
9702
10828
  * Get Accounts
9703
10829
  * @summary Get Accounts
@@ -9795,6 +10921,17 @@ export class AccountsApi extends BaseAPI {
9795
10921
  return AccountsApiFp(this.configuration).postGetAccounts(accountRequestModel, options).then((request) => request(this.axios, this.basePath));
9796
10922
  }
9797
10923
 
10924
+ /**
10925
+ * Get Admin Account
10926
+ * @summary Get Admin Account
10927
+ * @param {*} [options] Override http request option.
10928
+ * @throws {RequiredError}
10929
+ * @memberof AccountsApi
10930
+ */
10931
+ public postGetAdminAccount(options?: RawAxiosRequestConfig) {
10932
+ return AccountsApiFp(this.configuration).postGetAdminAccount(options).then((request) => request(this.axios, this.basePath));
10933
+ }
10934
+
9798
10935
  /**
9799
10936
  * Create client credentials
9800
10937
  * @summary Create client credentials
@@ -9992,43 +11129,6 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
9992
11129
 
9993
11130
 
9994
11131
 
9995
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9996
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9997
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9998
-
9999
- return {
10000
- url: toPathString(localVarUrlObj),
10001
- options: localVarRequestOptions,
10002
- };
10003
- },
10004
- /**
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
10008
- * @param {*} [options] Override http request option.
10009
- * @throws {RequiredError}
10010
- */
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`;
10015
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
10016
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10017
- let baseOptions;
10018
- if (configuration) {
10019
- baseOptions = configuration.baseOptions;
10020
- }
10021
-
10022
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10023
- const localVarHeaderParameter = {} as any;
10024
- const localVarQueryParameter = {} as any;
10025
-
10026
- if (password !== undefined) {
10027
- localVarQueryParameter['password'] = password;
10028
- }
10029
-
10030
-
10031
-
10032
11132
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10033
11133
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10034
11134
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -10095,19 +11195,6 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
10095
11195
  const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetLicenceDetails']?.[localVarOperationServerIndex]?.url;
10096
11196
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10097
11197
  },
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
- },
10111
11198
  /**
10112
11199
  * Get Bulk 3CX Licence Details
10113
11200
  * @summary Get bulk 3CX Licence Details
@@ -10141,16 +11228,6 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
10141
11228
  getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel> {
10142
11229
  return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
10143
11230
  },
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
- },
10154
11231
  /**
10155
11232
  * Get Bulk 3CX Licence Details
10156
11233
  * @summary Get bulk 3CX Licence Details
@@ -10183,18 +11260,6 @@ export class Class3CXApi extends BaseAPI {
10183
11260
  return Class3CXApiFp(this.configuration).getGetLicenceDetails(key, options).then((request) => request(this.axios, this.basePath));
10184
11261
  }
10185
11262
 
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
-
10198
11263
  /**
10199
11264
  * Get Bulk 3CX Licence Details
10200
11265
  * @summary Get bulk 3CX Licence Details
@@ -15369,13 +16434,14 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
15369
16434
  return {
15370
16435
  /**
15371
16436
  * Delete Orders
16437
+ * @summary Delete Orders
15372
16438
  * @param {number} id Order ID
15373
16439
  * @param {*} [options] Override http request option.
15374
16440
  * @throws {RequiredError}
15375
16441
  */
15376
- deleteDeleteOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16442
+ deleteUpdateOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15377
16443
  // verify required parameter 'id' is not null or undefined
15378
- assertParamExists('deleteDeleteOrder', 'id', id)
16444
+ assertParamExists('deleteUpdateOrder', 'id', id)
15379
16445
  const localVarPath = `/orders/{id}`
15380
16446
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
15381
16447
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -15391,6 +16457,74 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
15391
16457
 
15392
16458
 
15393
16459
 
16460
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16461
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16462
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16463
+
16464
+ return {
16465
+ url: toPathString(localVarUrlObj),
16466
+ options: localVarRequestOptions,
16467
+ };
16468
+ },
16469
+ /**
16470
+ * Get Editable Order (Admin)
16471
+ * @summary Get Editable Order (Admin)
16472
+ * @param {number} id Order ID
16473
+ * @param {*} [options] Override http request option.
16474
+ * @throws {RequiredError}
16475
+ */
16476
+ getGetAdminEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16477
+ // verify required parameter 'id' is not null or undefined
16478
+ assertParamExists('getGetAdminEditableOrder', 'id', id)
16479
+ const localVarPath = `/admin/orders/{id}/views/editable`
16480
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16481
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16482
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16483
+ let baseOptions;
16484
+ if (configuration) {
16485
+ baseOptions = configuration.baseOptions;
16486
+ }
16487
+
16488
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16489
+ const localVarHeaderParameter = {} as any;
16490
+ const localVarQueryParameter = {} as any;
16491
+
16492
+
16493
+
16494
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16495
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16496
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16497
+
16498
+ return {
16499
+ url: toPathString(localVarUrlObj),
16500
+ options: localVarRequestOptions,
16501
+ };
16502
+ },
16503
+ /**
16504
+ * Get Editable Order
16505
+ * @summary Get Editable Order
16506
+ * @param {number} id Order ID
16507
+ * @param {*} [options] Override http request option.
16508
+ * @throws {RequiredError}
16509
+ */
16510
+ getGetEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16511
+ // verify required parameter 'id' is not null or undefined
16512
+ assertParamExists('getGetEditableOrder', 'id', id)
16513
+ const localVarPath = `/orders/{id}/views/editable`
16514
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16515
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16516
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16517
+ let baseOptions;
16518
+ if (configuration) {
16519
+ baseOptions = configuration.baseOptions;
16520
+ }
16521
+
16522
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16523
+ const localVarHeaderParameter = {} as any;
16524
+ const localVarQueryParameter = {} as any;
16525
+
16526
+
16527
+
15394
16528
  setSearchParams(localVarUrlObj, localVarQueryParameter);
15395
16529
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15396
16530
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -15460,6 +16594,170 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
15460
16594
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15461
16595
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15462
16596
 
16597
+ return {
16598
+ url: toPathString(localVarUrlObj),
16599
+ options: localVarRequestOptions,
16600
+ };
16601
+ },
16602
+ /**
16603
+ * Create An Order (Admin)
16604
+ * @summary Create An Order (Admin)
16605
+ * @param {boolean} [readonly] Readonly Order
16606
+ * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16607
+ * @param {*} [options] Override http request option.
16608
+ * @throws {RequiredError}
16609
+ */
16610
+ postCreateAdminOrder: async (readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16611
+ const localVarPath = `/admin/orders`;
16612
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16613
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16614
+ let baseOptions;
16615
+ if (configuration) {
16616
+ baseOptions = configuration.baseOptions;
16617
+ }
16618
+
16619
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16620
+ const localVarHeaderParameter = {} as any;
16621
+ const localVarQueryParameter = {} as any;
16622
+
16623
+ if (readonly !== undefined) {
16624
+ localVarQueryParameter['readonly'] = readonly;
16625
+ }
16626
+
16627
+
16628
+
16629
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16630
+
16631
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16632
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16633
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16634
+ localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
16635
+
16636
+ return {
16637
+ url: toPathString(localVarUrlObj),
16638
+ options: localVarRequestOptions,
16639
+ };
16640
+ },
16641
+ /**
16642
+ * Create An Order
16643
+ * @summary Create An Order
16644
+ * @param {boolean} [readonly] Readonly Order
16645
+ * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16646
+ * @param {*} [options] Override http request option.
16647
+ * @throws {RequiredError}
16648
+ */
16649
+ postGetOrders: async (readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16650
+ const localVarPath = `/orders`;
16651
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16652
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16653
+ let baseOptions;
16654
+ if (configuration) {
16655
+ baseOptions = configuration.baseOptions;
16656
+ }
16657
+
16658
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16659
+ const localVarHeaderParameter = {} as any;
16660
+ const localVarQueryParameter = {} as any;
16661
+
16662
+ if (readonly !== undefined) {
16663
+ localVarQueryParameter['readonly'] = readonly;
16664
+ }
16665
+
16666
+
16667
+
16668
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16669
+
16670
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16671
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16672
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16673
+ localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
16674
+
16675
+ return {
16676
+ url: toPathString(localVarUrlObj),
16677
+ options: localVarRequestOptions,
16678
+ };
16679
+ },
16680
+ /**
16681
+ * Update An Order (Admin)
16682
+ * @summary Update An Order (Admin)
16683
+ * @param {number} id Order ID
16684
+ * @param {boolean} [readonly] Readonly Order
16685
+ * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16686
+ * @param {*} [options] Override http request option.
16687
+ * @throws {RequiredError}
16688
+ */
16689
+ putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16690
+ // verify required parameter 'id' is not null or undefined
16691
+ assertParamExists('putUpdateAdminOrder', 'id', id)
16692
+ const localVarPath = `/admin/orders/{id}`
16693
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16694
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16695
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16696
+ let baseOptions;
16697
+ if (configuration) {
16698
+ baseOptions = configuration.baseOptions;
16699
+ }
16700
+
16701
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
16702
+ const localVarHeaderParameter = {} as any;
16703
+ const localVarQueryParameter = {} as any;
16704
+
16705
+ if (readonly !== undefined) {
16706
+ localVarQueryParameter['readonly'] = readonly;
16707
+ }
16708
+
16709
+
16710
+
16711
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16712
+
16713
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16714
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16715
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16716
+ localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
16717
+
16718
+ return {
16719
+ url: toPathString(localVarUrlObj),
16720
+ options: localVarRequestOptions,
16721
+ };
16722
+ },
16723
+ /**
16724
+ * Update An Order
16725
+ * @summary Update An Order
16726
+ * @param {number} id Order ID
16727
+ * @param {boolean} [readonly] Readonly Order
16728
+ * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16729
+ * @param {*} [options] Override http request option.
16730
+ * @throws {RequiredError}
16731
+ */
16732
+ putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16733
+ // verify required parameter 'id' is not null or undefined
16734
+ assertParamExists('putUpdateOrder', 'id', id)
16735
+ const localVarPath = `/orders/{id}`
16736
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16737
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16738
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16739
+ let baseOptions;
16740
+ if (configuration) {
16741
+ baseOptions = configuration.baseOptions;
16742
+ }
16743
+
16744
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
16745
+ const localVarHeaderParameter = {} as any;
16746
+ const localVarQueryParameter = {} as any;
16747
+
16748
+ if (readonly !== undefined) {
16749
+ localVarQueryParameter['readonly'] = readonly;
16750
+ }
16751
+
16752
+
16753
+
16754
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16755
+
16756
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16757
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16758
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16759
+ localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
16760
+
15463
16761
  return {
15464
16762
  url: toPathString(localVarUrlObj),
15465
16763
  options: localVarRequestOptions,
@@ -15477,14 +16775,41 @@ export const OrdersApiFp = function(configuration?: Configuration) {
15477
16775
  return {
15478
16776
  /**
15479
16777
  * Delete Orders
16778
+ * @summary Delete Orders
16779
+ * @param {number} id Order ID
16780
+ * @param {*} [options] Override http request option.
16781
+ * @throws {RequiredError}
16782
+ */
16783
+ async deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
16784
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUpdateOrder(id, options);
16785
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16786
+ const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteUpdateOrder']?.[localVarOperationServerIndex]?.url;
16787
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16788
+ },
16789
+ /**
16790
+ * Get Editable Order (Admin)
16791
+ * @summary Get Editable Order (Admin)
16792
+ * @param {number} id Order ID
16793
+ * @param {*} [options] Override http request option.
16794
+ * @throws {RequiredError}
16795
+ */
16796
+ async getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminOrderRequestDTO>> {
16797
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAdminEditableOrder(id, options);
16798
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16799
+ const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetAdminEditableOrder']?.[localVarOperationServerIndex]?.url;
16800
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16801
+ },
16802
+ /**
16803
+ * Get Editable Order
16804
+ * @summary Get Editable Order
15480
16805
  * @param {number} id Order ID
15481
16806
  * @param {*} [options] Override http request option.
15482
16807
  * @throws {RequiredError}
15483
16808
  */
15484
- async deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
15485
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeleteOrder(id, options);
16809
+ async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DetailedOrderRequestDTO>> {
16810
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
15486
16811
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15487
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteDeleteOrder']?.[localVarOperationServerIndex]?.url;
16812
+ const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
15488
16813
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15489
16814
  },
15490
16815
  /**
@@ -15506,6 +16831,64 @@ export const OrdersApiFp = function(configuration?: Configuration) {
15506
16831
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
15507
16832
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15508
16833
  },
16834
+ /**
16835
+ * Create An Order (Admin)
16836
+ * @summary Create An Order (Admin)
16837
+ * @param {boolean} [readonly] Readonly Order
16838
+ * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16839
+ * @param {*} [options] Override http request option.
16840
+ * @throws {RequiredError}
16841
+ */
16842
+ async postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16843
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options);
16844
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16845
+ const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
16846
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16847
+ },
16848
+ /**
16849
+ * Create An Order
16850
+ * @summary Create An Order
16851
+ * @param {boolean} [readonly] Readonly Order
16852
+ * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16853
+ * @param {*} [options] Override http request option.
16854
+ * @throws {RequiredError}
16855
+ */
16856
+ async postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16857
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options);
16858
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16859
+ const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
16860
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16861
+ },
16862
+ /**
16863
+ * Update An Order (Admin)
16864
+ * @summary Update An Order (Admin)
16865
+ * @param {number} id Order ID
16866
+ * @param {boolean} [readonly] Readonly Order
16867
+ * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16868
+ * @param {*} [options] Override http request option.
16869
+ * @throws {RequiredError}
16870
+ */
16871
+ async putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16872
+ const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options);
16873
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16874
+ const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateAdminOrder']?.[localVarOperationServerIndex]?.url;
16875
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16876
+ },
16877
+ /**
16878
+ * Update An Order
16879
+ * @summary Update An Order
16880
+ * @param {number} id Order ID
16881
+ * @param {boolean} [readonly] Readonly Order
16882
+ * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16883
+ * @param {*} [options] Override http request option.
16884
+ * @throws {RequiredError}
16885
+ */
16886
+ async putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
16887
+ const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateOrder(id, readonly, customerOrderRequestDTO, options);
16888
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16889
+ const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateOrder']?.[localVarOperationServerIndex]?.url;
16890
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16891
+ },
15509
16892
  }
15510
16893
  };
15511
16894
 
@@ -15518,12 +16901,33 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
15518
16901
  return {
15519
16902
  /**
15520
16903
  * Delete Orders
16904
+ * @summary Delete Orders
15521
16905
  * @param {number} id Order ID
15522
16906
  * @param {*} [options] Override http request option.
15523
16907
  * @throws {RequiredError}
15524
16908
  */
15525
- deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
15526
- return localVarFp.deleteDeleteOrder(id, options).then((request) => request(axios, basePath));
16909
+ deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
16910
+ return localVarFp.deleteUpdateOrder(id, options).then((request) => request(axios, basePath));
16911
+ },
16912
+ /**
16913
+ * Get Editable Order (Admin)
16914
+ * @summary Get Editable Order (Admin)
16915
+ * @param {number} id Order ID
16916
+ * @param {*} [options] Override http request option.
16917
+ * @throws {RequiredError}
16918
+ */
16919
+ getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AdminOrderRequestDTO> {
16920
+ return localVarFp.getGetAdminEditableOrder(id, options).then((request) => request(axios, basePath));
16921
+ },
16922
+ /**
16923
+ * Get Editable Order
16924
+ * @summary Get Editable Order
16925
+ * @param {number} id Order ID
16926
+ * @param {*} [options] Override http request option.
16927
+ * @throws {RequiredError}
16928
+ */
16929
+ getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<DetailedOrderRequestDTO> {
16930
+ return localVarFp.getGetEditableOrder(id, options).then((request) => request(axios, basePath));
15527
16931
  },
15528
16932
  /**
15529
16933
  * Get Orders
@@ -15541,6 +16945,52 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
15541
16945
  getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel> {
15542
16946
  return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(axios, basePath));
15543
16947
  },
16948
+ /**
16949
+ * Create An Order (Admin)
16950
+ * @summary Create An Order (Admin)
16951
+ * @param {boolean} [readonly] Readonly Order
16952
+ * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
16953
+ * @param {*} [options] Override http request option.
16954
+ * @throws {RequiredError}
16955
+ */
16956
+ postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16957
+ return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
16958
+ },
16959
+ /**
16960
+ * Create An Order
16961
+ * @summary Create An Order
16962
+ * @param {boolean} [readonly] Readonly Order
16963
+ * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16964
+ * @param {*} [options] Override http request option.
16965
+ * @throws {RequiredError}
16966
+ */
16967
+ postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16968
+ return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
16969
+ },
16970
+ /**
16971
+ * Update An Order (Admin)
16972
+ * @summary Update An Order (Admin)
16973
+ * @param {number} id Order ID
16974
+ * @param {boolean} [readonly] Readonly Order
16975
+ * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
16976
+ * @param {*} [options] Override http request option.
16977
+ * @throws {RequiredError}
16978
+ */
16979
+ putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16980
+ return localVarFp.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
16981
+ },
16982
+ /**
16983
+ * Update An Order
16984
+ * @summary Update An Order
16985
+ * @param {number} id Order ID
16986
+ * @param {boolean} [readonly] Readonly Order
16987
+ * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
16988
+ * @param {*} [options] Override http request option.
16989
+ * @throws {RequiredError}
16990
+ */
16991
+ putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
16992
+ return localVarFp.putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
16993
+ },
15544
16994
  };
15545
16995
  };
15546
16996
 
@@ -15553,13 +17003,38 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
15553
17003
  export class OrdersApi extends BaseAPI {
15554
17004
  /**
15555
17005
  * Delete Orders
17006
+ * @summary Delete Orders
17007
+ * @param {number} id Order ID
17008
+ * @param {*} [options] Override http request option.
17009
+ * @throws {RequiredError}
17010
+ * @memberof OrdersApi
17011
+ */
17012
+ public deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig) {
17013
+ return OrdersApiFp(this.configuration).deleteUpdateOrder(id, options).then((request) => request(this.axios, this.basePath));
17014
+ }
17015
+
17016
+ /**
17017
+ * Get Editable Order (Admin)
17018
+ * @summary Get Editable Order (Admin)
17019
+ * @param {number} id Order ID
17020
+ * @param {*} [options] Override http request option.
17021
+ * @throws {RequiredError}
17022
+ * @memberof OrdersApi
17023
+ */
17024
+ public getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig) {
17025
+ return OrdersApiFp(this.configuration).getGetAdminEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
17026
+ }
17027
+
17028
+ /**
17029
+ * Get Editable Order
17030
+ * @summary Get Editable Order
15556
17031
  * @param {number} id Order ID
15557
17032
  * @param {*} [options] Override http request option.
15558
17033
  * @throws {RequiredError}
15559
17034
  * @memberof OrdersApi
15560
17035
  */
15561
- public deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig) {
15562
- return OrdersApiFp(this.configuration).deleteDeleteOrder(id, options).then((request) => request(this.axios, this.basePath));
17036
+ public getGetEditableOrder(id: number, options?: RawAxiosRequestConfig) {
17037
+ return OrdersApiFp(this.configuration).getGetEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
15563
17038
  }
15564
17039
 
15565
17040
  /**
@@ -15579,6 +17054,60 @@ export class OrdersApi extends BaseAPI {
15579
17054
  public getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) {
15580
17055
  return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
15581
17056
  }
17057
+
17058
+ /**
17059
+ * Create An Order (Admin)
17060
+ * @summary Create An Order (Admin)
17061
+ * @param {boolean} [readonly] Readonly Order
17062
+ * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
17063
+ * @param {*} [options] Override http request option.
17064
+ * @throws {RequiredError}
17065
+ * @memberof OrdersApi
17066
+ */
17067
+ public postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
17068
+ return OrdersApiFp(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
17069
+ }
17070
+
17071
+ /**
17072
+ * Create An Order
17073
+ * @summary Create An Order
17074
+ * @param {boolean} [readonly] Readonly Order
17075
+ * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
17076
+ * @param {*} [options] Override http request option.
17077
+ * @throws {RequiredError}
17078
+ * @memberof OrdersApi
17079
+ */
17080
+ public postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
17081
+ return OrdersApiFp(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
17082
+ }
17083
+
17084
+ /**
17085
+ * Update An Order (Admin)
17086
+ * @summary Update An Order (Admin)
17087
+ * @param {number} id Order ID
17088
+ * @param {boolean} [readonly] Readonly Order
17089
+ * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
17090
+ * @param {*} [options] Override http request option.
17091
+ * @throws {RequiredError}
17092
+ * @memberof OrdersApi
17093
+ */
17094
+ public putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
17095
+ return OrdersApiFp(this.configuration).putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
17096
+ }
17097
+
17098
+ /**
17099
+ * Update An Order
17100
+ * @summary Update An Order
17101
+ * @param {number} id Order ID
17102
+ * @param {boolean} [readonly] Readonly Order
17103
+ * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
17104
+ * @param {*} [options] Override http request option.
17105
+ * @throws {RequiredError}
17106
+ * @memberof OrdersApi
17107
+ */
17108
+ public putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
17109
+ return OrdersApiFp(this.configuration).putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
17110
+ }
15582
17111
  }
15583
17112
 
15584
17113
  /**
@@ -15989,13 +17518,51 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
15989
17518
  };
15990
17519
  },
15991
17520
  /**
15992
- * Get Customer Price Lists
15993
- * @summary Get Customer Price Lists
17521
+ * Get Current Stock & Pricing
17522
+ * @summary Get Current Stock & Pricing
17523
+ * @param {GetGetLegacyStockListFormatEnum} format File Format
15994
17524
  * @param {*} [options] Override http request option.
17525
+ * @deprecated
15995
17526
  * @throws {RequiredError}
15996
17527
  */
15997
- getGetCustomerPriceLists: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15998
- const localVarPath = `/products/prices/lists`;
17528
+ getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17529
+ // verify required parameter 'format' is not null or undefined
17530
+ assertParamExists('getGetLegacyStockList', 'format', format)
17531
+ const localVarPath = `/products/stock/legacy`;
17532
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17533
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17534
+ let baseOptions;
17535
+ if (configuration) {
17536
+ baseOptions = configuration.baseOptions;
17537
+ }
17538
+
17539
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17540
+ const localVarHeaderParameter = {} as any;
17541
+ const localVarQueryParameter = {} as any;
17542
+
17543
+ if (format !== undefined) {
17544
+ localVarQueryParameter['format'] = format;
17545
+ }
17546
+
17547
+
17548
+
17549
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17550
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17551
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17552
+
17553
+ return {
17554
+ url: toPathString(localVarUrlObj),
17555
+ options: localVarRequestOptions,
17556
+ };
17557
+ },
17558
+ /**
17559
+ * Get Products
17560
+ * @summary Get Products
17561
+ * @param {*} [options] Override http request option.
17562
+ * @throws {RequiredError}
17563
+ */
17564
+ getGetProducts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17565
+ const localVarPath = `/products`;
15999
17566
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16000
17567
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16001
17568
  let baseOptions;
@@ -16021,15 +17588,11 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16021
17588
  /**
16022
17589
  * Get Current Stock & Pricing
16023
17590
  * @summary Get Current Stock & Pricing
16024
- * @param {GetGetLegacyStockListFormatEnum} format File Format
16025
17591
  * @param {*} [options] Override http request option.
16026
- * @deprecated
16027
17592
  * @throws {RequiredError}
16028
17593
  */
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`;
17594
+ getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17595
+ const localVarPath = `/products/stock`;
16033
17596
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16034
17597
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16035
17598
  let baseOptions;
@@ -16041,10 +17604,36 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16041
17604
  const localVarHeaderParameter = {} as any;
16042
17605
  const localVarQueryParameter = {} as any;
16043
17606
 
16044
- if (format !== undefined) {
16045
- localVarQueryParameter['format'] = format;
17607
+
17608
+
17609
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17610
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17611
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17612
+
17613
+ return {
17614
+ url: toPathString(localVarUrlObj),
17615
+ options: localVarRequestOptions,
17616
+ };
17617
+ },
17618
+ /**
17619
+ * Get 3CX Templates
17620
+ * @summary Get 3CX Templates
17621
+ * @param {*} [options] Override http request option.
17622
+ * @throws {RequiredError}
17623
+ */
17624
+ getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17625
+ const localVarPath = `/products/attributes/tcx/templates`;
17626
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17627
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17628
+ let baseOptions;
17629
+ if (configuration) {
17630
+ baseOptions = configuration.baseOptions;
16046
17631
  }
16047
17632
 
17633
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17634
+ const localVarHeaderParameter = {} as any;
17635
+ const localVarQueryParameter = {} as any;
17636
+
16048
17637
 
16049
17638
 
16050
17639
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -16057,15 +17646,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16057
17646
  };
16058
17647
  },
16059
17648
  /**
16060
- * Get Products
16061
- * @summary Get Products
17649
+ * Search Products
17650
+ * @summary Search Products
16062
17651
  * @param {number} [pageSize] Number Of Results
16063
17652
  * @param {number} [page] Page Number
16064
17653
  * @param {string} [search] Search
16065
17654
  * @param {*} [options] Override http request option.
16066
17655
  * @throws {RequiredError}
16067
17656
  */
16068
- getGetProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17657
+ getSearchProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16069
17658
  const localVarPath = `/products/search`;
16070
17659
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16071
17660
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -16102,13 +17691,20 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16102
17691
  };
16103
17692
  },
16104
17693
  /**
16105
- * Get Current Stock & Pricing
16106
- * @summary Get Current Stock & Pricing
17694
+ * Get Product
17695
+ * @summary Get Product
17696
+ * @param {string} sku Product SKU
17697
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
16107
17698
  * @param {*} [options] Override http request option.
16108
17699
  * @throws {RequiredError}
16109
17700
  */
16110
- getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16111
- const localVarPath = `/products/stock`;
17701
+ postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17702
+ // verify required parameter 'sku' is not null or undefined
17703
+ assertParamExists('postGetProduct', 'sku', sku)
17704
+ // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
17705
+ assertParamExists('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
17706
+ const localVarPath = `/products/{sku}`
17707
+ .replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
16112
17708
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16113
17709
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16114
17710
  let baseOptions;
@@ -16116,15 +17712,18 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16116
17712
  baseOptions = configuration.baseOptions;
16117
17713
  }
16118
17714
 
16119
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17715
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16120
17716
  const localVarHeaderParameter = {} as any;
16121
17717
  const localVarQueryParameter = {} as any;
16122
17718
 
16123
17719
 
16124
17720
 
17721
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17722
+
16125
17723
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16126
17724
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16127
17725
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17726
+ localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
16128
17727
 
16129
17728
  return {
16130
17729
  url: toPathString(localVarUrlObj),
@@ -16132,13 +17731,23 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16132
17731
  };
16133
17732
  },
16134
17733
  /**
16135
- * Get 3CX Templates
16136
- * @summary Get 3CX Templates
17734
+ * Get Product For Customer
17735
+ * @summary Get Product For Customer
17736
+ * @param {number} customerId Customer ID
17737
+ * @param {string} sku Product SKU
17738
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
16137
17739
  * @param {*} [options] Override http request option.
16138
17740
  * @throws {RequiredError}
16139
17741
  */
16140
- getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16141
- const localVarPath = `/products/attributes/tcx/templates`;
17742
+ postGetProductForCustomer: async (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17743
+ // verify required parameter 'customerId' is not null or undefined
17744
+ assertParamExists('postGetProductForCustomer', 'customerId', customerId)
17745
+ // verify required parameter 'sku' is not null or undefined
17746
+ assertParamExists('postGetProductForCustomer', 'sku', sku)
17747
+ // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
17748
+ assertParamExists('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
17749
+ const localVarPath = `/admin/products/{sku}`
17750
+ .replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
16142
17751
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16143
17752
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16144
17753
  let baseOptions;
@@ -16146,15 +17755,22 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
16146
17755
  baseOptions = configuration.baseOptions;
16147
17756
  }
16148
17757
 
16149
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17758
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16150
17759
  const localVarHeaderParameter = {} as any;
16151
17760
  const localVarQueryParameter = {} as any;
16152
17761
 
17762
+ if (customerId !== undefined) {
17763
+ localVarQueryParameter['customerId'] = customerId;
17764
+ }
17765
+
16153
17766
 
16154
17767
 
17768
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17769
+
16155
17770
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16156
17771
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16157
17772
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17773
+ localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
16158
17774
 
16159
17775
  return {
16160
17776
  url: toPathString(localVarUrlObj),
@@ -16183,18 +17799,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
16183
17799
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetAttributeSets']?.[localVarOperationServerIndex]?.url;
16184
17800
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16185
17801
  },
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
- },
16198
17802
  /**
16199
17803
  * Get Current Stock & Pricing
16200
17804
  * @summary Get Current Stock & Pricing
@@ -16212,14 +17816,11 @@ export const ProductsApiFp = function(configuration?: Configuration) {
16212
17816
  /**
16213
17817
  * Get Products
16214
17818
  * @summary Get Products
16215
- * @param {number} [pageSize] Number Of Results
16216
- * @param {number} [page] Page Number
16217
- * @param {string} [search] Search
16218
17819
  * @param {*} [options] Override http request option.
16219
17820
  * @throws {RequiredError}
16220
17821
  */
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);
17822
+ async getGetProducts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BasicProductDTO>>> {
17823
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(options);
16223
17824
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16224
17825
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetProducts']?.[localVarOperationServerIndex]?.url;
16225
17826
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -16248,6 +17849,50 @@ export const ProductsApiFp = function(configuration?: Configuration) {
16248
17849
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetTcxTemplates']?.[localVarOperationServerIndex]?.url;
16249
17850
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16250
17851
  },
17852
+ /**
17853
+ * Search Products
17854
+ * @summary Search Products
17855
+ * @param {number} [pageSize] Number Of Results
17856
+ * @param {number} [page] Page Number
17857
+ * @param {string} [search] Search
17858
+ * @param {*} [options] Override http request option.
17859
+ * @throws {RequiredError}
17860
+ */
17861
+ async getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
17862
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSearchProducts(pageSize, page, search, options);
17863
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17864
+ const localVarOperationServerBasePath = operationServerMap['ProductsApi.getSearchProducts']?.[localVarOperationServerIndex]?.url;
17865
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17866
+ },
17867
+ /**
17868
+ * Get Product
17869
+ * @summary Get Product
17870
+ * @param {string} sku Product SKU
17871
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17872
+ * @param {*} [options] Override http request option.
17873
+ * @throws {RequiredError}
17874
+ */
17875
+ async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
17876
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options);
17877
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17878
+ const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProduct']?.[localVarOperationServerIndex]?.url;
17879
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17880
+ },
17881
+ /**
17882
+ * Get Product For Customer
17883
+ * @summary Get Product For Customer
17884
+ * @param {number} customerId Customer ID
17885
+ * @param {string} sku Product SKU
17886
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17887
+ * @param {*} [options] Override http request option.
17888
+ * @throws {RequiredError}
17889
+ */
17890
+ async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
17891
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options);
17892
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17893
+ const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProductForCustomer']?.[localVarOperationServerIndex]?.url;
17894
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17895
+ },
16251
17896
  }
16252
17897
  };
16253
17898
 
@@ -16267,15 +17912,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
16267
17912
  getGetAttributeSets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeSetEnum>> {
16268
17913
  return localVarFp.getGetAttributeSets(options).then((request) => request(axios, basePath));
16269
17914
  },
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
- },
16279
17915
  /**
16280
17916
  * Get Current Stock & Pricing
16281
17917
  * @summary Get Current Stock & Pricing
@@ -16290,14 +17926,11 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
16290
17926
  /**
16291
17927
  * Get Products
16292
17928
  * @summary Get Products
16293
- * @param {number} [pageSize] Number Of Results
16294
- * @param {number} [page] Page Number
16295
- * @param {string} [search] Search
16296
17929
  * @param {*} [options] Override http request option.
16297
17930
  * @throws {RequiredError}
16298
17931
  */
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));
17932
+ getGetProducts(options?: RawAxiosRequestConfig): AxiosPromise<Array<BasicProductDTO>> {
17933
+ return localVarFp.getGetProducts(options).then((request) => request(axios, basePath));
16301
17934
  },
16302
17935
  /**
16303
17936
  * Get Current Stock & Pricing
@@ -16317,6 +17950,41 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
16317
17950
  getGetTcxTemplates(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxTemplateXmlEnum>> {
16318
17951
  return localVarFp.getGetTcxTemplates(options).then((request) => request(axios, basePath));
16319
17952
  },
17953
+ /**
17954
+ * Search Products
17955
+ * @summary Search Products
17956
+ * @param {number} [pageSize] Number Of Results
17957
+ * @param {number} [page] Page Number
17958
+ * @param {string} [search] Search
17959
+ * @param {*} [options] Override http request option.
17960
+ * @throws {RequiredError}
17961
+ */
17962
+ getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
17963
+ return localVarFp.getSearchProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
17964
+ },
17965
+ /**
17966
+ * Get Product
17967
+ * @summary Get Product
17968
+ * @param {string} sku Product SKU
17969
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17970
+ * @param {*} [options] Override http request option.
17971
+ * @throws {RequiredError}
17972
+ */
17973
+ postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
17974
+ return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
17975
+ },
17976
+ /**
17977
+ * Get Product For Customer
17978
+ * @summary Get Product For Customer
17979
+ * @param {number} customerId Customer ID
17980
+ * @param {string} sku Product SKU
17981
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17982
+ * @param {*} [options] Override http request option.
17983
+ * @throws {RequiredError}
17984
+ */
17985
+ postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
17986
+ return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
17987
+ },
16320
17988
  };
16321
17989
  };
16322
17990
 
@@ -16338,17 +18006,6 @@ export class ProductsApi extends BaseAPI {
16338
18006
  return ProductsApiFp(this.configuration).getGetAttributeSets(options).then((request) => request(this.axios, this.basePath));
16339
18007
  }
16340
18008
 
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
-
16352
18009
  /**
16353
18010
  * Get Current Stock & Pricing
16354
18011
  * @summary Get Current Stock & Pricing
@@ -16365,15 +18022,12 @@ export class ProductsApi extends BaseAPI {
16365
18022
  /**
16366
18023
  * Get Products
16367
18024
  * @summary Get Products
16368
- * @param {number} [pageSize] Number Of Results
16369
- * @param {number} [page] Page Number
16370
- * @param {string} [search] Search
16371
18025
  * @param {*} [options] Override http request option.
16372
18026
  * @throws {RequiredError}
16373
18027
  * @memberof ProductsApi
16374
18028
  */
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));
18029
+ public getGetProducts(options?: RawAxiosRequestConfig) {
18030
+ return ProductsApiFp(this.configuration).getGetProducts(options).then((request) => request(this.axios, this.basePath));
16377
18031
  }
16378
18032
 
16379
18033
  /**
@@ -16397,6 +18051,47 @@ export class ProductsApi extends BaseAPI {
16397
18051
  public getGetTcxTemplates(options?: RawAxiosRequestConfig) {
16398
18052
  return ProductsApiFp(this.configuration).getGetTcxTemplates(options).then((request) => request(this.axios, this.basePath));
16399
18053
  }
18054
+
18055
+ /**
18056
+ * Search Products
18057
+ * @summary Search Products
18058
+ * @param {number} [pageSize] Number Of Results
18059
+ * @param {number} [page] Page Number
18060
+ * @param {string} [search] Search
18061
+ * @param {*} [options] Override http request option.
18062
+ * @throws {RequiredError}
18063
+ * @memberof ProductsApi
18064
+ */
18065
+ public getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
18066
+ return ProductsApiFp(this.configuration).getSearchProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
18067
+ }
18068
+
18069
+ /**
18070
+ * Get Product
18071
+ * @summary Get Product
18072
+ * @param {string} sku Product SKU
18073
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
18074
+ * @param {*} [options] Override http request option.
18075
+ * @throws {RequiredError}
18076
+ * @memberof ProductsApi
18077
+ */
18078
+ public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
18079
+ return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
18080
+ }
18081
+
18082
+ /**
18083
+ * Get Product For Customer
18084
+ * @summary Get Product For Customer
18085
+ * @param {number} customerId Customer ID
18086
+ * @param {string} sku Product SKU
18087
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
18088
+ * @param {*} [options] Override http request option.
18089
+ * @throws {RequiredError}
18090
+ * @memberof ProductsApi
18091
+ */
18092
+ public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
18093
+ return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
18094
+ }
16400
18095
  }
16401
18096
 
16402
18097
  /**
@@ -16737,7 +18432,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
16737
18432
  * @param {*} [options] Override http request option.
16738
18433
  * @throws {RequiredError}
16739
18434
  */
16740
- async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningEntity>>> {
18435
+ async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningModel>>> {
16741
18436
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetGroups(id, options);
16742
18437
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16743
18438
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getGetGroups']?.[localVarOperationServerIndex]?.url;
@@ -16750,7 +18445,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
16750
18445
  * @param {*} [options] Override http request option.
16751
18446
  * @throws {RequiredError}
16752
18447
  */
16753
- async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningEntity>> {
18448
+ async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningModel>> {
16754
18449
  const localVarAxiosArgs = await localVarAxiosParamCreator.postAddFanvilGroup(provisioningRequestEntity, options);
16755
18450
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16756
18451
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilGroup']?.[localVarOperationServerIndex]?.url;
@@ -16829,7 +18524,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
16829
18524
  * @param {*} [options] Override http request option.
16830
18525
  * @throws {RequiredError}
16831
18526
  */
16832
- getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningEntity>> {
18527
+ getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningModel>> {
16833
18528
  return localVarFp.getGetGroups(id, options).then((request) => request(axios, basePath));
16834
18529
  },
16835
18530
  /**
@@ -16839,7 +18534,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
16839
18534
  * @param {*} [options] Override http request option.
16840
18535
  * @throws {RequiredError}
16841
18536
  */
16842
- postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningEntity> {
18537
+ postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningModel> {
16843
18538
  return localVarFp.postAddFanvilGroup(provisioningRequestEntity, options).then((request) => request(axios, basePath));
16844
18539
  },
16845
18540
  /**
@@ -18740,6 +20435,193 @@ export class SMSApi extends BaseAPI {
18740
20435
 
18741
20436
 
18742
20437
 
20438
+ /**
20439
+ * ShippingApi - axios parameter creator
20440
+ * @export
20441
+ */
20442
+ export const ShippingApiAxiosParamCreator = function (configuration?: Configuration) {
20443
+ return {
20444
+ /**
20445
+ * Get Shipping Services (Admin)
20446
+ * @summary Get Shipping Services
20447
+ * @param {number} customerId Customer ID
20448
+ * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20449
+ * @param {*} [options] Override http request option.
20450
+ * @throws {RequiredError}
20451
+ */
20452
+ postGetAdminShippingServices: async (customerId: number, shippingInformationDTO?: ShippingInformationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20453
+ // verify required parameter 'customerId' is not null or undefined
20454
+ assertParamExists('postGetAdminShippingServices', 'customerId', customerId)
20455
+ const localVarPath = `/admin/shipping/services`;
20456
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20457
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20458
+ let baseOptions;
20459
+ if (configuration) {
20460
+ baseOptions = configuration.baseOptions;
20461
+ }
20462
+
20463
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
20464
+ const localVarHeaderParameter = {} as any;
20465
+ const localVarQueryParameter = {} as any;
20466
+
20467
+ if (customerId !== undefined) {
20468
+ localVarQueryParameter['customerId'] = customerId;
20469
+ }
20470
+
20471
+
20472
+
20473
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20474
+
20475
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20476
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20477
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20478
+ localVarRequestOptions.data = serializeDataIfNeeded(shippingInformationDTO, localVarRequestOptions, configuration)
20479
+
20480
+ return {
20481
+ url: toPathString(localVarUrlObj),
20482
+ options: localVarRequestOptions,
20483
+ };
20484
+ },
20485
+ /**
20486
+ * Get Shipping Services
20487
+ * @summary Get Shipping Services
20488
+ * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20489
+ * @param {*} [options] Override http request option.
20490
+ * @throws {RequiredError}
20491
+ */
20492
+ postGetShippingServices: async (shippingInformationDTO?: ShippingInformationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20493
+ const localVarPath = `/shipping/services`;
20494
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20495
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20496
+ let baseOptions;
20497
+ if (configuration) {
20498
+ baseOptions = configuration.baseOptions;
20499
+ }
20500
+
20501
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
20502
+ const localVarHeaderParameter = {} as any;
20503
+ const localVarQueryParameter = {} as any;
20504
+
20505
+
20506
+
20507
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20508
+
20509
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20510
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20511
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20512
+ localVarRequestOptions.data = serializeDataIfNeeded(shippingInformationDTO, localVarRequestOptions, configuration)
20513
+
20514
+ return {
20515
+ url: toPathString(localVarUrlObj),
20516
+ options: localVarRequestOptions,
20517
+ };
20518
+ },
20519
+ }
20520
+ };
20521
+
20522
+ /**
20523
+ * ShippingApi - functional programming interface
20524
+ * @export
20525
+ */
20526
+ export const ShippingApiFp = function(configuration?: Configuration) {
20527
+ const localVarAxiosParamCreator = ShippingApiAxiosParamCreator(configuration)
20528
+ return {
20529
+ /**
20530
+ * Get Shipping Services (Admin)
20531
+ * @summary Get Shipping Services
20532
+ * @param {number} customerId Customer ID
20533
+ * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20534
+ * @param {*} [options] Override http request option.
20535
+ * @throws {RequiredError}
20536
+ */
20537
+ async postGetAdminShippingServices(customerId: number, shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingServicesModel>> {
20538
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postGetAdminShippingServices(customerId, shippingInformationDTO, options);
20539
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20540
+ const localVarOperationServerBasePath = operationServerMap['ShippingApi.postGetAdminShippingServices']?.[localVarOperationServerIndex]?.url;
20541
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20542
+ },
20543
+ /**
20544
+ * Get Shipping Services
20545
+ * @summary Get Shipping Services
20546
+ * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20547
+ * @param {*} [options] Override http request option.
20548
+ * @throws {RequiredError}
20549
+ */
20550
+ async postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingServicesModel>> {
20551
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postGetShippingServices(shippingInformationDTO, options);
20552
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20553
+ const localVarOperationServerBasePath = operationServerMap['ShippingApi.postGetShippingServices']?.[localVarOperationServerIndex]?.url;
20554
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20555
+ },
20556
+ }
20557
+ };
20558
+
20559
+ /**
20560
+ * ShippingApi - factory interface
20561
+ * @export
20562
+ */
20563
+ export const ShippingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
20564
+ const localVarFp = ShippingApiFp(configuration)
20565
+ return {
20566
+ /**
20567
+ * Get Shipping Services (Admin)
20568
+ * @summary Get Shipping Services
20569
+ * @param {number} customerId Customer ID
20570
+ * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20571
+ * @param {*} [options] Override http request option.
20572
+ * @throws {RequiredError}
20573
+ */
20574
+ postGetAdminShippingServices(customerId: number, shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShippingServicesModel> {
20575
+ return localVarFp.postGetAdminShippingServices(customerId, shippingInformationDTO, options).then((request) => request(axios, basePath));
20576
+ },
20577
+ /**
20578
+ * Get Shipping Services
20579
+ * @summary Get Shipping Services
20580
+ * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20581
+ * @param {*} [options] Override http request option.
20582
+ * @throws {RequiredError}
20583
+ */
20584
+ postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShippingServicesModel> {
20585
+ return localVarFp.postGetShippingServices(shippingInformationDTO, options).then((request) => request(axios, basePath));
20586
+ },
20587
+ };
20588
+ };
20589
+
20590
+ /**
20591
+ * ShippingApi - object-oriented interface
20592
+ * @export
20593
+ * @class ShippingApi
20594
+ * @extends {BaseAPI}
20595
+ */
20596
+ export class ShippingApi extends BaseAPI {
20597
+ /**
20598
+ * Get Shipping Services (Admin)
20599
+ * @summary Get Shipping Services
20600
+ * @param {number} customerId Customer ID
20601
+ * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20602
+ * @param {*} [options] Override http request option.
20603
+ * @throws {RequiredError}
20604
+ * @memberof ShippingApi
20605
+ */
20606
+ public postGetAdminShippingServices(customerId: number, shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig) {
20607
+ return ShippingApiFp(this.configuration).postGetAdminShippingServices(customerId, shippingInformationDTO, options).then((request) => request(this.axios, this.basePath));
20608
+ }
20609
+
20610
+ /**
20611
+ * Get Shipping Services
20612
+ * @summary Get Shipping Services
20613
+ * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
20614
+ * @param {*} [options] Override http request option.
20615
+ * @throws {RequiredError}
20616
+ * @memberof ShippingApi
20617
+ */
20618
+ public postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig) {
20619
+ return ShippingApiFp(this.configuration).postGetShippingServices(shippingInformationDTO, options).then((request) => request(this.axios, this.basePath));
20620
+ }
20621
+ }
20622
+
20623
+
20624
+
18743
20625
  /**
18744
20626
  * StockManagementApi - axios parameter creator
18745
20627
  * @export
@@ -19826,7 +21708,7 @@ export const StockManagementApiFp = function(configuration?: Configuration) {
19826
21708
  * @param {*} [options] Override http request option.
19827
21709
  * @throws {RequiredError}
19828
21710
  */
19829
- async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryModel>>> {
21711
+ async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryDTO>>> {
19830
21712
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockSupplierProducts(id, options);
19831
21713
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19832
21714
  const localVarOperationServerBasePath = operationServerMap['StockManagementApi.getGetStockSupplierProducts']?.[localVarOperationServerIndex]?.url;
@@ -20129,7 +22011,7 @@ export const StockManagementApiFactory = function (configuration?: Configuration
20129
22011
  * @param {*} [options] Override http request option.
20130
22012
  * @throws {RequiredError}
20131
22013
  */
20132
- getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryModel>> {
22014
+ getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryDTO>> {
20133
22015
  return localVarFp.getGetStockSupplierProducts(id, options).then((request) => request(axios, basePath));
20134
22016
  },
20135
22017
  /**