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

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 (69) hide show
  1. package/.openapi-generator/FILES +229 -249
  2. package/README.md +1 -35
  3. package/api.ts +203 -2375
  4. package/base.ts +2 -2
  5. package/common.ts +1 -1
  6. package/config.json +3 -3
  7. package/configuration.ts +1 -1
  8. package/dist/api.d.ts +105 -1733
  9. package/dist/api.js +84 -1379
  10. package/dist/base.d.ts +1 -1
  11. package/dist/base.js +2 -2
  12. package/dist/common.d.ts +1 -1
  13. package/dist/common.js +1 -1
  14. package/dist/configuration.d.ts +1 -1
  15. package/dist/configuration.js +1 -1
  16. package/dist/index.d.ts +1 -1
  17. package/dist/index.js +1 -1
  18. package/docs/AccountsApi.md +1 -1
  19. package/docs/CRMApi.md +1 -1
  20. package/docs/Class3CXApi.md +1 -1
  21. package/docs/Class3CXInstallationWizardApi.md +1 -1
  22. package/docs/Class3CXInstallationsApi.md +1 -1
  23. package/docs/Class3CXIntegrationsApi.md +1 -1
  24. package/docs/Class3CXMultiTenantApi.md +1 -1
  25. package/docs/MyPBXToolsApi.md +1 -1
  26. package/docs/OAuth20Api.md +1 -1
  27. package/docs/OrdersApi.md +13 -789
  28. package/docs/PricingApi.md +1 -1
  29. package/docs/ProductsApi.md +1 -1
  30. package/docs/ProvisioningApi.md +1 -1
  31. package/docs/SIPTrunksApi.md +1 -1
  32. package/docs/SMSApi.md +1 -1
  33. package/docs/ServicesApi.md +1 -1
  34. package/docs/ShippingApi.md +1 -1
  35. package/docs/StockManagementApi.md +1 -1
  36. package/docs/SystemApi.md +1 -1
  37. package/docs/TicketsApi.md +1 -1
  38. package/docs/WebhooksApi.md +1 -1
  39. package/getEnums.php +31 -31
  40. package/index.ts +1 -1
  41. package/package.json +1 -1
  42. package/dist/models/CourierEnum.d.ts +0 -18
  43. package/dist/models/CourierEnum.js +0 -20
  44. package/dist/models/PrinterEnum.d.ts +0 -18
  45. package/dist/models/PrinterEnum.js +0 -20
  46. package/docs/BatchDTO.md +0 -57
  47. package/docs/CreditNoteDTO.md +0 -21
  48. package/docs/CreditNoteEntity.md +0 -29
  49. package/docs/CreditNoteItemDTO.md +0 -25
  50. package/docs/CreditNoteItemEntity.md +0 -29
  51. package/docs/CreditNoteModel.md +0 -29
  52. package/docs/OrderDetailsDTO.md +0 -63
  53. package/docs/OrderItemDTO.md +0 -53
  54. package/docs/OrderedItemModel.md +0 -49
  55. package/docs/PostAddOrderNoteRequest.md +0 -20
  56. package/docs/PostSplitOrderRequest.md +0 -20
  57. package/docs/PrinterEntity.md +0 -29
  58. package/docs/PutAllocateItemsRequest.md +0 -20
  59. package/docs/PutAllocateItemsRequestItemsInner.md +0 -22
  60. package/docs/ShipmentDTO.md +0 -31
  61. package/docs/ShipmentItemDTO.md +0 -23
  62. package/docs/ShipmentItemModel.md +0 -29
  63. package/docs/ShipmentModel.md +0 -43
  64. package/docs/ShipmentRequestDTO.md +0 -31
  65. package/docs/ShippingRequestDTO.md +0 -24
  66. package/docs/SupplierModel.md +0 -37
  67. package/hs_err_pid58424.log +0 -247
  68. package/models/CourierEnum.ts +0 -19
  69. package/models/PrinterEnum.ts +0 -19
package/dist/api.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Yellowgrid
3
- * 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.
3
+ * 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: `https://bitbucket.org` For questions or technical support, please contact support@yellowgrid.co.uk.
4
4
  *
5
5
  * The version of the OpenAPI document: 0
6
6
  *
@@ -1016,13 +1016,13 @@ export interface AuditLogEntity {
1016
1016
  * @type {string}
1017
1017
  * @memberof AuditLogEntity
1018
1018
  */
1019
- 'action'?: AuditLogEntityActionEnum;
1019
+ 'action'?: string;
1020
1020
  /**
1021
1021
  * type
1022
1022
  * @type {string}
1023
1023
  * @memberof AuditLogEntity
1024
1024
  */
1025
- 'type'?: AuditLogEntityTypeEnum;
1025
+ 'type'?: string;
1026
1026
  /**
1027
1027
  * identifier
1028
1028
  * @type {string}
@@ -1060,89 +1060,6 @@ export interface AuditLogEntity {
1060
1060
  */
1061
1061
  'description'?: string;
1062
1062
  }
1063
- export declare const AuditLogEntityActionEnum: {
1064
- readonly Create: "CREATE";
1065
- readonly Read: "READ";
1066
- readonly Update: "UPDATE";
1067
- readonly Delete: "DELETE";
1068
- };
1069
- export type AuditLogEntityActionEnum = typeof AuditLogEntityActionEnum[keyof typeof AuditLogEntityActionEnum];
1070
- export declare const AuditLogEntityTypeEnum: {
1071
- readonly AuditLog: "audit_log";
1072
- readonly PopsOrders: "pops_orders";
1073
- readonly PopsAccountContacts: "pops_account_contacts";
1074
- readonly ApiLog: "api_log";
1075
- readonly PopsBatches: "pops_batches";
1076
- readonly PopsCourierPrices: "pops_courier_prices";
1077
- readonly PopsCreditAccounts: "pops_credit_accounts";
1078
- readonly PopsCreditNotes: "pops_credit_notes";
1079
- readonly PopsCreditNotesItems: "pops_credit_notes_items";
1080
- readonly EdtechproClients: "edtechpro_clients";
1081
- readonly EdtechproSchools: "edtechpro_schools";
1082
- readonly FreshdeskTickets: "freshdesk_tickets";
1083
- readonly PopsFtpAccounts: "pops_ftp_accounts";
1084
- readonly ServiceEvents: "service_events";
1085
- readonly ServiceEventUpdates: "service_event_updates";
1086
- readonly ServiceEventSubscriptions: "service_event_subscriptions";
1087
- readonly PopsInstanceFailoverIps: "pops_instance_failover_ips";
1088
- readonly PopsOvhDeleteSchedule: "pops_ovh_delete_schedule";
1089
- readonly PopsOvhInstances: "pops_ovh_instances";
1090
- readonly PopsInstanceFailover: "pops_instance_failover";
1091
- readonly PopsInstanceMonitoring: "pops_instance_monitoring";
1092
- readonly PopsInstanceMonitoringLog: "pops_instance_monitoring_log";
1093
- readonly PopsInstanceScheduledTasks: "pops_instance_scheduled_tasks";
1094
- readonly PopsInstance3cxDetails: "pops_instance_3cx_details";
1095
- readonly PopsInstanceUserCredentials: "pops_instance_user_credentials";
1096
- readonly IpBlacklist: "ip_blacklist";
1097
- readonly PopsItemDiscounts: "pops_item_discounts";
1098
- readonly PopsItems: "pops_items";
1099
- readonly PopsLinkedOrders: "pops_linked_orders";
1100
- readonly PopsOfflineInstances: "pops_offline_instances";
1101
- readonly PopsOrderedItems: "pops_ordered_items";
1102
- readonly PopsPrizes: "pops_prizes";
1103
- readonly PopsPrinters: "pops_printers";
1104
- readonly PopsPromoCodes: "pops_promo_codes";
1105
- readonly PopsPromoItems: "pops_promo_items";
1106
- readonly PopsProvisioning: "pops_provisioning";
1107
- readonly S3Buckets: "s3_buckets";
1108
- readonly PopsShipmentAddress: "pops_shipment_address";
1109
- readonly PopsShipments: "pops_shipments";
1110
- readonly PopsShipmentItems: "pops_shipment_items";
1111
- readonly PopsSipTrunkChangeQueue: "pops_sip_trunk_change_queue";
1112
- readonly PopsSipTrunks: "pops_sip_trunks";
1113
- readonly PopsSms: "pops_sms";
1114
- readonly PopsSmsNumbers: "pops_sms_numbers";
1115
- readonly PopsSmsWhitelist: "pops_sms_whitelist";
1116
- readonly PopsDistCourier: "pops_dist_courier";
1117
- readonly PopsDistDeductions: "pops_dist_deductions";
1118
- readonly PopsDistOrder: "pops_dist_order";
1119
- readonly PopsDistItems: "pops_dist_items";
1120
- readonly PopsDistPrices: "pops_dist_prices";
1121
- readonly PopsDistManufacturer: "pops_dist_manufacturer";
1122
- readonly PopsStockTransactions: "pops_stock_transactions";
1123
- readonly PopsSuppliers: "pops_suppliers";
1124
- readonly PopsSupplierItems: "pops_supplier_items";
1125
- readonly Pops3cxBackup: "pops_3cx_backup";
1126
- readonly Pops3cxBilling: "pops_3cx_billing";
1127
- readonly PopsDeadLicences: "pops_dead_licences";
1128
- readonly Pops3cxExts: "pops_3cx_exts";
1129
- readonly PopsHostingPricing: "pops_hosting_pricing";
1130
- readonly Pops3cxKeys: "pops_3cx_keys";
1131
- readonly Pops3cxMacs: "pops_3cx_macs";
1132
- readonly Pops3cxNumbers: "pops_3cx_numbers";
1133
- readonly Pops3cxOfficeHours: "pops_3cx_office_hours";
1134
- readonly Pops3cxPhones: "pops_3cx_phones";
1135
- readonly Pops3cxSbc: "pops_3cx_sbc";
1136
- readonly Pops3cxSetup: "pops_3cx_setup";
1137
- readonly Pops3cxSipTrunks: "pops_3cx_sip_trunks";
1138
- readonly Pops3cxUsers: "pops_3cx_users";
1139
- readonly PopsUsers: "pops_users";
1140
- readonly Webhook: "webhook";
1141
- readonly PopsXeroLog: "pops_xero_log";
1142
- readonly Oauth2Clients: "oauth2_clients";
1143
- readonly Oauth2Tokens: "oauth2_tokens";
1144
- };
1145
- export type AuditLogEntityTypeEnum = typeof AuditLogEntityTypeEnum[keyof typeof AuditLogEntityTypeEnum];
1146
1063
  /**
1147
1064
  * OAuth Auth Code Response
1148
1065
  * @export
@@ -1206,127 +1123,6 @@ export interface BasicProductDTO {
1206
1123
  */
1207
1124
  'title'?: string;
1208
1125
  }
1209
- /**
1210
- * Batch DTO
1211
- * @export
1212
- * @interface BatchDTO
1213
- */
1214
- export interface BatchDTO {
1215
- /**
1216
- * id
1217
- * @type {number}
1218
- * @memberof BatchDTO
1219
- */
1220
- 'id'?: number;
1221
- /**
1222
- * orderId
1223
- * @type {number}
1224
- * @memberof BatchDTO
1225
- */
1226
- 'orderId'?: number;
1227
- /**
1228
- * supplierId
1229
- * @type {number}
1230
- * @memberof BatchDTO
1231
- */
1232
- 'supplierId'?: number;
1233
- /**
1234
- * poNumber
1235
- * @type {string}
1236
- * @memberof BatchDTO
1237
- */
1238
- 'poNumber'?: string;
1239
- /**
1240
- * carriage
1241
- * @type {number}
1242
- * @memberof BatchDTO
1243
- */
1244
- 'carriage'?: number;
1245
- /**
1246
- * courier
1247
- * @type {string}
1248
- * @memberof BatchDTO
1249
- */
1250
- 'courier'?: string;
1251
- /**
1252
- * courierService
1253
- * @type {string}
1254
- * @memberof BatchDTO
1255
- */
1256
- 'courierService'?: string;
1257
- /**
1258
- * courierReference
1259
- * @type {string}
1260
- * @memberof BatchDTO
1261
- */
1262
- 'courierReference'?: string;
1263
- /**
1264
- * courierUnique
1265
- * @type {string}
1266
- * @memberof BatchDTO
1267
- */
1268
- 'courierUnique'?: string;
1269
- /**
1270
- * notes
1271
- * @type {string}
1272
- * @memberof BatchDTO
1273
- */
1274
- 'notes'?: string;
1275
- /**
1276
- * ordered
1277
- * @type {number}
1278
- * @memberof BatchDTO
1279
- */
1280
- 'ordered'?: number;
1281
- /**
1282
- * carriagePaid
1283
- * @type {number}
1284
- * @memberof BatchDTO
1285
- */
1286
- 'carriagePaid'?: number;
1287
- /**
1288
- * carriageRefunded
1289
- * @type {number}
1290
- * @memberof BatchDTO
1291
- */
1292
- 'carriageRefunded'?: number;
1293
- /**
1294
- * carriageRefundedDue
1295
- * @type {number}
1296
- * @memberof BatchDTO
1297
- */
1298
- 'carriageRefundedDue'?: number;
1299
- /**
1300
- * netdespatchLabel
1301
- * @type {string}
1302
- * @memberof BatchDTO
1303
- */
1304
- 'netdespatchLabel'?: string;
1305
- /**
1306
- * courierBoxes
1307
- * @type {number}
1308
- * @memberof BatchDTO
1309
- */
1310
- 'courierBoxes'?: number;
1311
- /**
1312
- * mac
1313
- * @type {string}
1314
- * @memberof BatchDTO
1315
- */
1316
- 'mac'?: string;
1317
- /**
1318
- * Shipments
1319
- * @type {Array<ShipmentDTO>}
1320
- * @memberof BatchDTO
1321
- */
1322
- 'shipments'?: Array<ShipmentDTO>;
1323
- /**
1324
- * Items
1325
- * @type {Array<OrderedItemModel>}
1326
- * @memberof BatchDTO
1327
- */
1328
- 'items'?: Array<OrderedItemModel>;
1329
- }
1330
1126
  /**
1331
1127
  * BatchesEntity
1332
1128
  * @export
@@ -1882,155 +1678,6 @@ export interface CreditAccountEntity {
1882
1678
  */
1883
1679
  'prizePromo'?: boolean;
1884
1680
  }
1885
- /**
1886
- * Credit Note
1887
- * @export
1888
- * @interface CreditNoteDTO
1889
- */
1890
- export interface CreditNoteDTO {
1891
- /**
1892
- * Items
1893
- * @type {Array<CreditNoteItemDTO>}
1894
- * @memberof CreditNoteDTO
1895
- */
1896
- 'items'?: Array<CreditNoteItemDTO>;
1897
- }
1898
- /**
1899
- * CreditNotesEntity
1900
- * @export
1901
- * @interface CreditNoteEntity
1902
- */
1903
- export interface CreditNoteEntity {
1904
- /**
1905
- * id
1906
- * @type {number}
1907
- * @memberof CreditNoteEntity
1908
- */
1909
- 'id'?: number;
1910
- /**
1911
- * orderId
1912
- * @type {number}
1913
- * @memberof CreditNoteEntity
1914
- */
1915
- 'orderId'?: number;
1916
- /**
1917
- * transactionId
1918
- * @type {string}
1919
- * @memberof CreditNoteEntity
1920
- */
1921
- 'transactionId'?: string;
1922
- /**
1923
- * amount
1924
- * @type {number}
1925
- * @memberof CreditNoteEntity
1926
- */
1927
- 'amount'?: number;
1928
- /**
1929
- * timestamp
1930
- * @type {string}
1931
- * @memberof CreditNoteEntity
1932
- */
1933
- 'timestamp'?: string;
1934
- }
1935
- /**
1936
- * Credit Note Item
1937
- * @export
1938
- * @interface CreditNoteItemDTO
1939
- */
1940
- export interface CreditNoteItemDTO {
1941
- /**
1942
- * Item ID
1943
- * @type {number}
1944
- * @memberof CreditNoteItemDTO
1945
- */
1946
- 'itemId'?: number;
1947
- /**
1948
- * Quantity
1949
- * @type {number}
1950
- * @memberof CreditNoteItemDTO
1951
- */
1952
- 'quantity'?: number | null;
1953
- /**
1954
- * Amount
1955
- * @type {number}
1956
- * @memberof CreditNoteItemDTO
1957
- */
1958
- 'amount'?: number | null;
1959
- }
1960
- /**
1961
- * CreditNotesItemsEntity
1962
- * @export
1963
- * @interface CreditNoteItemEntity
1964
- */
1965
- export interface CreditNoteItemEntity {
1966
- /**
1967
- * id
1968
- * @type {number}
1969
- * @memberof CreditNoteItemEntity
1970
- */
1971
- 'id'?: number;
1972
- /**
1973
- * creditNoteId
1974
- * @type {number}
1975
- * @memberof CreditNoteItemEntity
1976
- */
1977
- 'creditNoteId'?: number;
1978
- /**
1979
- * orderId
1980
- * @type {number}
1981
- * @memberof CreditNoteItemEntity
1982
- */
1983
- 'orderId'?: number;
1984
- /**
1985
- * itemId
1986
- * @type {number}
1987
- * @memberof CreditNoteItemEntity
1988
- */
1989
- 'itemId'?: number;
1990
- /**
1991
- * amount
1992
- * @type {number}
1993
- * @memberof CreditNoteItemEntity
1994
- */
1995
- 'amount'?: number;
1996
- }
1997
- /**
1998
- * Credit Note Model
1999
- * @export
2000
- * @interface CreditNoteModel
2001
- */
2002
- export interface CreditNoteModel {
2003
- /**
2004
- * id
2005
- * @type {number}
2006
- * @memberof CreditNoteModel
2007
- */
2008
- 'id'?: number;
2009
- /**
2010
- * orderId
2011
- * @type {number}
2012
- * @memberof CreditNoteModel
2013
- */
2014
- 'orderId'?: number;
2015
- /**
2016
- * transactionId
2017
- * @type {string}
2018
- * @memberof CreditNoteModel
2019
- */
2020
- 'transactionId'?: string;
2021
- /**
2022
- * amount
2023
- * @type {number}
2024
- * @memberof CreditNoteModel
2025
- */
2026
- 'amount'?: number;
2027
- /**
2028
- * timestamp
2029
- * @type {string}
2030
- * @memberof CreditNoteModel
2031
- */
2032
- 'timestamp'?: string;
2033
- }
2034
1681
  /**
2035
1682
  * CRM Contact
2036
1683
  * @export
@@ -3742,7 +3389,7 @@ export interface ItemDTO {
3742
3389
  * @type {Array<TcxSbcDTO>}
3743
3390
  * @memberof ItemDTO
3744
3391
  */
3745
- 'sbcs'?: Array<TcxSbcDTO>;
3392
+ 'sbcs'?: Array<TcxSbcDTO> | null;
3746
3393
  /**
3747
3394
  * Readonly
3748
3395
  * @type {boolean}
@@ -4124,204 +3771,65 @@ export interface OfflineInstancesEntity {
4124
3771
  'alerted'?: number;
4125
3772
  }
4126
3773
  /**
4127
- * Order Details
3774
+ * OrdersEntity
4128
3775
  * @export
4129
- * @interface OrderDetailsDTO
3776
+ * @interface OrderEntity
4130
3777
  */
4131
- export interface OrderDetailsDTO {
3778
+ export interface OrderEntity {
4132
3779
  /**
4133
- * ID
3780
+ * id
4134
3781
  * @type {number}
4135
- * @memberof OrderDetailsDTO
3782
+ * @memberof OrderEntity
4136
3783
  */
4137
3784
  'id'?: number;
4138
3785
  /**
4139
- * Reference
3786
+ * externalId
4140
3787
  * @type {string}
4141
- * @memberof OrderDetailsDTO
3788
+ * @memberof OrderEntity
4142
3789
  */
4143
- 'reference'?: string | null;
3790
+ 'reference'?: string;
4144
3791
  /**
4145
- * Invoice Number
3792
+ * sourceId
3793
+ * @type {number}
3794
+ * @memberof OrderEntity
3795
+ */
3796
+ 'sourceId'?: number;
3797
+ /**
3798
+ * sageInv
4146
3799
  * @type {string}
4147
- * @memberof OrderDetailsDTO
3800
+ * @memberof OrderEntity
4148
3801
  */
4149
3802
  'invoiceNumber'?: string;
4150
3803
  /**
4151
- * Invoice ID
3804
+ * invoiceId
4152
3805
  * @type {string}
4153
- * @memberof OrderDetailsDTO
3806
+ * @memberof OrderEntity
4154
3807
  */
4155
3808
  'invoiceId'?: string | null;
4156
3809
  /**
4157
- * Date Time
3810
+ * creditAccountId
3811
+ * @type {number}
3812
+ * @memberof OrderEntity
3813
+ */
3814
+ 'customerId'?: number;
3815
+ /**
3816
+ * orderDate
4158
3817
  * @type {string}
4159
- * @memberof OrderDetailsDTO
3818
+ * @memberof OrderEntity
4160
3819
  */
4161
3820
  'orderDate'?: string;
4162
3821
  /**
4163
- * Paid
4164
- * @type {boolean}
4165
- * @memberof OrderDetailsDTO
3822
+ * orderPostedDate
3823
+ * @type {string}
3824
+ * @memberof OrderEntity
4166
3825
  */
4167
- 'paid'?: boolean;
3826
+ 'orderPostedDate'?: string;
4168
3827
  /**
4169
- * Complete
4170
- * @type {boolean}
4171
- * @memberof OrderDetailsDTO
3828
+ * buyerEmail
3829
+ * @type {string}
3830
+ * @memberof OrderEntity
4172
3831
  */
4173
- 'complete'?: boolean;
4174
- /**
4175
- * Quote
4176
- * @type {boolean}
4177
- * @memberof OrderDetailsDTO
4178
- */
4179
- 'quote'?: boolean;
4180
- /**
4181
- *
4182
- * @type {AccountSummaryDTO}
4183
- * @memberof OrderDetailsDTO
4184
- */
4185
- 'customer'?: AccountSummaryDTO;
4186
- /**
4187
- *
4188
- * @type {AddressModel}
4189
- * @memberof OrderDetailsDTO
4190
- */
4191
- 'shippingAddress'?: AddressModel;
4192
- /**
4193
- * Items
4194
- * @type {Array<ItemDTO>}
4195
- * @memberof OrderDetailsDTO
4196
- */
4197
- 'items'?: Array<ItemDTO>;
4198
- /**
4199
- * Carriage Charge
4200
- * @type {number}
4201
- * @memberof OrderDetailsDTO
4202
- */
4203
- 'carriageCharge'?: number;
4204
- /**
4205
- * Fulfillable
4206
- * @type {boolean}
4207
- * @memberof OrderDetailsDTO
4208
- */
4209
- 'fulfillable'?: boolean | null;
4210
- /**
4211
- * Provisioning URL
4212
- * @type {string}
4213
- * @memberof OrderDetailsDTO
4214
- */
4215
- 'provisioningUrl'?: string | null;
4216
- /**
4217
- *
4218
- * @type {ShippingServiceDTO}
4219
- * @memberof OrderDetailsDTO
4220
- */
4221
- 'shippingService'?: ShippingServiceDTO;
4222
- /**
4223
- * Readonly
4224
- * @type {boolean}
4225
- * @memberof OrderDetailsDTO
4226
- */
4227
- 'readonly'?: boolean;
4228
- /**
4229
- * Detailed Items
4230
- * @type {Array<OrderItemDTO>}
4231
- * @memberof OrderDetailsDTO
4232
- */
4233
- 'detailedItems'?: Array<OrderItemDTO>;
4234
- /**
4235
- * Batches
4236
- * @type {Array<BatchDTO>}
4237
- * @memberof OrderDetailsDTO
4238
- */
4239
- 'batches'?: Array<BatchDTO>;
4240
- /**
4241
- * Audit Log
4242
- * @type {Array<AuditLogEntity>}
4243
- * @memberof OrderDetailsDTO
4244
- */
4245
- 'logEntries'?: Array<AuditLogEntity>;
4246
- /**
4247
- * Card Payment Link
4248
- * @type {string}
4249
- * @memberof OrderDetailsDTO
4250
- */
4251
- 'paymentLink'?: string | null;
4252
- /**
4253
- * Credits
4254
- * @type {Array<CreditNoteModel>}
4255
- * @memberof OrderDetailsDTO
4256
- */
4257
- 'credits'?: Array<CreditNoteModel>;
4258
- /**
4259
- * Customer Email
4260
- * @type {string}
4261
- * @memberof OrderDetailsDTO
4262
- */
4263
- 'customerEmail'?: string;
4264
- }
4265
- /**
4266
- * OrdersEntity
4267
- * @export
4268
- * @interface OrderEntity
4269
- */
4270
- export interface OrderEntity {
4271
- /**
4272
- * id
4273
- * @type {number}
4274
- * @memberof OrderEntity
4275
- */
4276
- 'id'?: number;
4277
- /**
4278
- * externalId
4279
- * @type {string}
4280
- * @memberof OrderEntity
4281
- */
4282
- 'reference'?: string;
4283
- /**
4284
- * sourceId
4285
- * @type {number}
4286
- * @memberof OrderEntity
4287
- */
4288
- 'sourceId'?: number;
4289
- /**
4290
- * sageInv
4291
- * @type {string}
4292
- * @memberof OrderEntity
4293
- */
4294
- 'invoiceNumber'?: string;
4295
- /**
4296
- * invoiceId
4297
- * @type {string}
4298
- * @memberof OrderEntity
4299
- */
4300
- 'invoiceId'?: string | null;
4301
- /**
4302
- * creditAccountId
4303
- * @type {number}
4304
- * @memberof OrderEntity
4305
- */
4306
- 'customerId'?: number;
4307
- /**
4308
- * orderDate
4309
- * @type {string}
4310
- * @memberof OrderEntity
4311
- */
4312
- 'orderDate'?: string;
4313
- /**
4314
- * orderPostedDate
4315
- * @type {string}
4316
- * @memberof OrderEntity
4317
- */
4318
- 'orderPostedDate'?: string;
4319
- /**
4320
- * buyerEmail
4321
- * @type {string}
4322
- * @memberof OrderEntity
4323
- */
4324
- 'buyerEmail'?: string;
3832
+ 'buyerEmail'?: string;
4325
3833
  /**
4326
3834
  * buyerPhone
4327
3835
  * @type {string}
@@ -4617,115 +4125,6 @@ export interface OrderEntity {
4617
4125
  */
4618
4126
  'fulfillable'?: boolean | null;
4619
4127
  }
4620
- /**
4621
- * Order Item Details
4622
- * @export
4623
- * @interface OrderItemDTO
4624
- */
4625
- export interface OrderItemDTO {
4626
- /**
4627
- * SKU
4628
- * @type {string}
4629
- * @memberof OrderItemDTO
4630
- */
4631
- 'sku'?: string;
4632
- /**
4633
- * Quantity
4634
- * @type {number}
4635
- * @memberof OrderItemDTO
4636
- */
4637
- 'quantity'?: number;
4638
- /**
4639
- * ID
4640
- * @type {number}
4641
- * @memberof OrderItemDTO
4642
- */
4643
- 'id'?: number | null;
4644
- /**
4645
- * Order ID
4646
- * @type {number}
4647
- * @memberof OrderItemDTO
4648
- */
4649
- 'orderId'?: number | null;
4650
- /**
4651
- * Title
4652
- * @type {string}
4653
- * @memberof OrderItemDTO
4654
- */
4655
- 'title'?: string;
4656
- /**
4657
- * Price
4658
- * @type {number}
4659
- * @memberof OrderItemDTO
4660
- */
4661
- 'price'?: number;
4662
- /**
4663
- * 3CX Licence Key
4664
- * @type {string}
4665
- * @memberof OrderItemDTO
4666
- */
4667
- 'licenceKey'?: string | null;
4668
- /**
4669
- * Date Time
4670
- * @type {string}
4671
- * @memberof OrderItemDTO
4672
- */
4673
- 'licenceExpiry'?: string;
4674
- /**
4675
- * Date Time
4676
- * @type {string}
4677
- * @memberof OrderItemDTO
4678
- */
4679
- 'processDate'?: string;
4680
- /**
4681
- * 3CX Hosting
4682
- * @type {boolean}
4683
- * @memberof OrderItemDTO
4684
- */
4685
- 'hosting'?: boolean | null;
4686
- /**
4687
- * Promo Item
4688
- * @type {boolean}
4689
- * @memberof OrderItemDTO
4690
- */
4691
- 'promoItem'?: boolean;
4692
- /**
4693
- * Refunded
4694
- * @type {number}
4695
- * @memberof OrderItemDTO
4696
- */
4697
- 'refunded'?: number | null;
4698
- /**
4699
- * SBCs
4700
- * @type {Array<TcxSbcDTO>}
4701
- * @memberof OrderItemDTO
4702
- */
4703
- 'sbcs'?: Array<TcxSbcDTO>;
4704
- /**
4705
- * Readonly
4706
- * @type {boolean}
4707
- * @memberof OrderItemDTO
4708
- */
4709
- 'readonly'?: boolean;
4710
- /**
4711
- * 3CX Sales Code
4712
- * @type {string}
4713
- * @memberof OrderItemDTO
4714
- */
4715
- 'tcxSalesCode'?: string | null;
4716
- /**
4717
- * Suppliers
4718
- * @type {Array<SupplierModel>}
4719
- * @memberof OrderItemDTO
4720
- */
4721
- 'suppliers'?: Array<SupplierModel>;
4722
- /**
4723
- * Allocated
4724
- * @type {number}
4725
- * @memberof OrderItemDTO
4726
- */
4727
- 'allocated'?: number | null;
4728
- }
4729
4128
  /**
4730
4129
  * EdTechPro Order Request
4731
4130
  * @export
@@ -5136,152 +4535,55 @@ export interface OrderedItemEntity {
5136
4535
  'returnedStock'?: number;
5137
4536
  }
5138
4537
  /**
5139
- * Ordered Item Model
4538
+ *
5140
4539
  * @export
5141
- * @interface OrderedItemModel
4540
+ * @interface PatchSetTcxWizardCnameRequest
5142
4541
  */
5143
- export interface OrderedItemModel {
4542
+ export interface PatchSetTcxWizardCnameRequest {
5144
4543
  /**
5145
- * id
5146
- * @type {number}
5147
- * @memberof OrderedItemModel
4544
+ * CNAME
4545
+ * @type {string}
4546
+ * @memberof PatchSetTcxWizardCnameRequest
5148
4547
  */
5149
- 'id'?: number;
4548
+ 'cname'?: string;
4549
+ }
4550
+ /**
4551
+ *
4552
+ * @export
4553
+ * @interface PatchUpdateAccountContactPasswordRequest
4554
+ */
4555
+ export interface PatchUpdateAccountContactPasswordRequest {
5150
4556
  /**
5151
- * itemId
5152
- * @type {number}
5153
- * @memberof OrderedItemModel
4557
+ * Password
4558
+ * @type {string}
4559
+ * @memberof PatchUpdateAccountContactPasswordRequest
5154
4560
  */
5155
- 'itemId'?: number;
4561
+ 'password'?: string;
4562
+ }
4563
+ /**
4564
+ * Customer Account
4565
+ * @export
4566
+ * @interface PortalAccountModel
4567
+ */
4568
+ export interface PortalAccountModel {
5156
4569
  /**
5157
- * orderedQuantity
4570
+ * ID
5158
4571
  * @type {number}
5159
- * @memberof OrderedItemModel
4572
+ * @memberof PortalAccountModel
5160
4573
  */
5161
- 'orderedQuantity'?: number;
4574
+ 'id'?: number;
5162
4575
  /**
5163
- * itemStatus
5164
- * @type {number}
5165
- * @memberof OrderedItemModel
4576
+ * Contact Name
4577
+ * @type {string}
4578
+ * @memberof PortalAccountModel
5166
4579
  */
5167
- 'itemStatus'?: number;
4580
+ 'name'?: string;
5168
4581
  /**
5169
- * supplierId
5170
- * @type {number}
5171
- * @memberof OrderedItemModel
4582
+ * Email
4583
+ * @type {string}
4584
+ * @memberof PortalAccountModel
5172
4585
  */
5173
- 'supplierId'?: number;
5174
- /**
5175
- * supplierItemId
5176
- * @type {number}
5177
- * @memberof OrderedItemModel
5178
- */
5179
- 'supplierItemId'?: number;
5180
- /**
5181
- * supplierPrice
5182
- * @type {number}
5183
- * @memberof OrderedItemModel
5184
- */
5185
- 'supplierPrice'?: number;
5186
- /**
5187
- * statusDate
5188
- * @type {string}
5189
- * @memberof OrderedItemModel
5190
- */
5191
- 'statusDate'?: string;
5192
- /**
5193
- * statusAuthor
5194
- * @type {number}
5195
- * @memberof OrderedItemModel
5196
- */
5197
- 'statusAuthor'?: number;
5198
- /**
5199
- * supplierPaid
5200
- * @type {number}
5201
- * @memberof OrderedItemModel
5202
- */
5203
- 'supplierPaid'?: number;
5204
- /**
5205
- * supplierCreditDue
5206
- * @type {number}
5207
- * @memberof OrderedItemModel
5208
- */
5209
- 'supplierCreditDue'?: number;
5210
- /**
5211
- * supplierCreditReceived
5212
- * @type {number}
5213
- * @memberof OrderedItemModel
5214
- */
5215
- 'supplierCreditReceived'?: number;
5216
- /**
5217
- * supplierSku
5218
- * @type {string}
5219
- * @memberof OrderedItemModel
5220
- */
5221
- 'supplierSku'?: string;
5222
- /**
5223
- * returnedStock
5224
- * @type {number}
5225
- * @memberof OrderedItemModel
5226
- */
5227
- 'returnedStock'?: number;
5228
- /**
5229
- *
5230
- * @type {SupplierModel}
5231
- * @memberof OrderedItemModel
5232
- */
5233
- 'supplier'?: SupplierModel;
5234
- }
5235
- /**
5236
- *
5237
- * @export
5238
- * @interface PatchSetTcxWizardCnameRequest
5239
- */
5240
- export interface PatchSetTcxWizardCnameRequest {
5241
- /**
5242
- * CNAME
5243
- * @type {string}
5244
- * @memberof PatchSetTcxWizardCnameRequest
5245
- */
5246
- 'cname'?: string;
5247
- }
5248
- /**
5249
- *
5250
- * @export
5251
- * @interface PatchUpdateAccountContactPasswordRequest
5252
- */
5253
- export interface PatchUpdateAccountContactPasswordRequest {
5254
- /**
5255
- * Password
5256
- * @type {string}
5257
- * @memberof PatchUpdateAccountContactPasswordRequest
5258
- */
5259
- 'password'?: string;
5260
- }
5261
- /**
5262
- * Customer Account
5263
- * @export
5264
- * @interface PortalAccountModel
5265
- */
5266
- export interface PortalAccountModel {
5267
- /**
5268
- * ID
5269
- * @type {number}
5270
- * @memberof PortalAccountModel
5271
- */
5272
- 'id'?: number;
5273
- /**
5274
- * Contact Name
5275
- * @type {string}
5276
- * @memberof PortalAccountModel
5277
- */
5278
- 'name'?: string;
5279
- /**
5280
- * Email
5281
- * @type {string}
5282
- * @memberof PortalAccountModel
5283
- */
5284
- 'email'?: string;
4586
+ 'email'?: string;
5285
4587
  /**
5286
4588
  * Phone Number
5287
4589
  * @type {string}
@@ -5458,19 +4760,6 @@ export interface PortalLoginModel {
5458
4760
  */
5459
4761
  'redirect_uri'?: string;
5460
4762
  }
5461
- /**
5462
- *
5463
- * @export
5464
- * @interface PostAddOrderNoteRequest
5465
- */
5466
- export interface PostAddOrderNoteRequest {
5467
- /**
5468
- * Order Note
5469
- * @type {string}
5470
- * @memberof PostAddOrderNoteRequest
5471
- */
5472
- 'note'?: string;
5473
- }
5474
4763
  /**
5475
4764
  *
5476
4765
  * @export
@@ -5553,19 +4842,6 @@ export interface PostGetProductRequest {
5553
4842
  */
5554
4843
  'hosting'?: boolean | null;
5555
4844
  }
5556
- /**
5557
- *
5558
- * @export
5559
- * @interface PostSplitOrderRequest
5560
- */
5561
- export interface PostSplitOrderRequest {
5562
- /**
5563
- * Item Ids
5564
- * @type {Array<number>}
5565
- * @memberof PostSplitOrderRequest
5566
- */
5567
- 'itemIds'?: Array<number>;
5568
- }
5569
4845
  /**
5570
4846
  * Price & Stock List
5571
4847
  * @export
@@ -5603,43 +4879,6 @@ export interface PriceListItemModel {
5603
4879
  */
5604
4880
  'stock'?: number | null;
5605
4881
  }
5606
- /**
5607
- * PrintersEntity
5608
- * @export
5609
- * @interface PrinterEntity
5610
- */
5611
- export interface PrinterEntity {
5612
- /**
5613
- * id
5614
- * @type {number}
5615
- * @memberof PrinterEntity
5616
- */
5617
- 'id'?: number;
5618
- /**
5619
- * brand
5620
- * @type {string}
5621
- * @memberof PrinterEntity
5622
- */
5623
- 'brand'?: string;
5624
- /**
5625
- * model
5626
- * @type {string}
5627
- * @memberof PrinterEntity
5628
- */
5629
- 'model'?: string;
5630
- /**
5631
- * sn
5632
- * @type {string}
5633
- * @memberof PrinterEntity
5634
- */
5635
- 'sn'?: string;
5636
- /**
5637
- * location
5638
- * @type {string}
5639
- * @memberof PrinterEntity
5640
- */
5641
- 'location'?: string;
5642
- }
5643
4882
  /**
5644
4883
  * PrizesEntity
5645
4884
  * @export
@@ -6027,38 +5266,6 @@ export interface ProvisioningRequestEntity {
6027
5266
  */
6028
5267
  'auth'?: string;
6029
5268
  }
6030
- /**
6031
- *
6032
- * @export
6033
- * @interface PutAllocateItemsRequest
6034
- */
6035
- export interface PutAllocateItemsRequest {
6036
- /**
6037
- * Items
6038
- * @type {Array<PutAllocateItemsRequestItemsInner>}
6039
- * @memberof PutAllocateItemsRequest
6040
- */
6041
- 'items'?: Array<PutAllocateItemsRequestItemsInner>;
6042
- }
6043
- /**
6044
- *
6045
- * @export
6046
- * @interface PutAllocateItemsRequestItemsInner
6047
- */
6048
- export interface PutAllocateItemsRequestItemsInner {
6049
- /**
6050
- * Item ID
6051
- * @type {number}
6052
- * @memberof PutAllocateItemsRequestItemsInner
6053
- */
6054
- 'itemId'?: number;
6055
- /**
6056
- * Quantity To Allocate
6057
- * @type {number}
6058
- * @memberof PutAllocateItemsRequestItemsInner
6059
- */
6060
- 'quantity'?: number;
6061
- }
6062
5269
  /**
6063
5270
  * Azure Recordings Backup
6064
5271
  * @export
@@ -6381,55 +5588,6 @@ export interface ShipmentAddressEntity {
6381
5588
  */
6382
5589
  'shipPhoneNumber'?: string;
6383
5590
  }
6384
- /**
6385
- * Shipment
6386
- * @export
6387
- * @interface ShipmentDTO
6388
- */
6389
- export interface ShipmentDTO {
6390
- /**
6391
- * Courier
6392
- * @type {string}
6393
- * @memberof ShipmentDTO
6394
- */
6395
- 'courier'?: ShipmentDTOCourierEnum | null;
6396
- /**
6397
- * Courier Reference
6398
- * @type {string}
6399
- * @memberof ShipmentDTO
6400
- */
6401
- 'reference'?: string | null;
6402
- /**
6403
- * Date Time
6404
- * @type {string}
6405
- * @memberof ShipmentDTO
6406
- */
6407
- 'requestedDate'?: string;
6408
- /**
6409
- * Scanned Items
6410
- * @type {Array<ScannedItemModel>}
6411
- * @memberof ShipmentDTO
6412
- */
6413
- 'scannedItems'?: Array<ScannedItemModel>;
6414
- /**
6415
- * Items
6416
- * @type {Array<ShipmentItemModel>}
6417
- * @memberof ShipmentDTO
6418
- */
6419
- 'items'?: Array<ShipmentItemModel>;
6420
- /**
6421
- *
6422
- * @type {AddressModel}
6423
- * @memberof ShipmentDTO
6424
- */
6425
- 'address'?: AddressModel;
6426
- }
6427
- export declare const ShipmentDTOCourierEnum: {
6428
- readonly Dpd: "DPD";
6429
- readonly ChorltonPallet: "Chorlton Pallet";
6430
- readonly Pops: "POPS";
6431
- };
6432
- export type ShipmentDTOCourierEnum = typeof ShipmentDTOCourierEnum[keyof typeof ShipmentDTOCourierEnum];
6433
5591
  /**
6434
5592
  * ShipmentsEntity
6435
5593
  * @export
@@ -6509,25 +5667,6 @@ export interface ShipmentEntity {
6509
5667
  */
6510
5668
  'provId'?: number;
6511
5669
  }
6512
- /**
6513
- * Shipment Item
6514
- * @export
6515
- * @interface ShipmentItemDTO
6516
- */
6517
- export interface ShipmentItemDTO {
6518
- /**
6519
- * Item ID
6520
- * @type {number}
6521
- * @memberof ShipmentItemDTO
6522
- */
6523
- 'itemId'?: number;
6524
- /**
6525
- * Quantity
6526
- * @type {number}
6527
- * @memberof ShipmentItemDTO
6528
- */
6529
- 'quantity'?: number;
6530
- }
6531
5670
  /**
6532
5671
  * ShipmentItemsEntity
6533
5672
  * @export
@@ -6566,257 +5705,61 @@ export interface ShipmentItemEntity {
6566
5705
  'itemId'?: string;
6567
5706
  }
6568
5707
  /**
6569
- * Shipment Item
5708
+ *
6570
5709
  * @export
6571
- * @interface ShipmentItemModel
5710
+ * @interface ShippingConsignmentModel
6572
5711
  */
6573
- export interface ShipmentItemModel {
6574
- /**
6575
- * id
6576
- * @type {number}
6577
- * @memberof ShipmentItemModel
6578
- */
6579
- 'id'?: number;
5712
+ export interface ShippingConsignmentModel {
6580
5713
  /**
6581
- * shipmentId
6582
- * @type {number}
6583
- * @memberof ShipmentItemModel
5714
+ *
5715
+ * @type {ShippingServiceModel}
5716
+ * @memberof ShippingConsignmentModel
6584
5717
  */
6585
- 'shipmentId'?: number;
5718
+ 'service'?: ShippingServiceModel;
6586
5719
  /**
6587
- * batchId
6588
- * @type {number}
6589
- * @memberof ShipmentItemModel
5720
+ * ID/Number
5721
+ * @type {string}
5722
+ * @memberof ShippingConsignmentModel
6590
5723
  */
6591
- 'batchId'?: number;
5724
+ 'id'?: string;
6592
5725
  /**
6593
- * quantity
6594
- * @type {number}
6595
- * @memberof ShipmentItemModel
5726
+ * Tracking Number
5727
+ * @type {string}
5728
+ * @memberof ShippingConsignmentModel
6596
5729
  */
6597
- 'quantity'?: number;
5730
+ 'trackingNumber'?: string;
6598
5731
  /**
6599
- * item
6600
- * @type {string}
6601
- * @memberof ShipmentItemModel
5732
+ * Parcels
5733
+ * @type {Array<string>}
5734
+ * @memberof ShippingConsignmentModel
6602
5735
  */
6603
- 'itemId'?: string;
5736
+ 'parcelIds'?: Array<string>;
6604
5737
  }
6605
5738
  /**
6606
- * Shipment
5739
+ * Shipping Information
6607
5740
  * @export
6608
- * @interface ShipmentModel
5741
+ * @interface ShippingInformationDTO
6609
5742
  */
6610
- export interface ShipmentModel {
6611
- /**
6612
- * id
6613
- * @type {number}
6614
- * @memberof ShipmentModel
6615
- */
6616
- 'id'?: number;
5743
+ export interface ShippingInformationDTO {
6617
5744
  /**
6618
- * batchId
6619
- * @type {number}
6620
- * @memberof ShipmentModel
5745
+ * Items
5746
+ * @type {Array<BasicItemDTO>}
5747
+ * @memberof ShippingInformationDTO
6621
5748
  */
6622
- 'batchId'?: number;
5749
+ 'items'?: Array<BasicItemDTO>;
6623
5750
  /**
6624
- * courier
5751
+ * Destination Post Code
6625
5752
  * @type {string}
6626
- * @memberof ShipmentModel
5753
+ * @memberof ShippingInformationDTO
6627
5754
  */
6628
- 'courier'?: string;
5755
+ 'postalCode'?: string;
6629
5756
  /**
6630
- * courierService
5757
+ * Destination ISO
6631
5758
  * @type {string}
6632
- * @memberof ShipmentModel
6633
- */
6634
- 'courierService'?: string;
6635
- /**
6636
- * courierServiceDesc
6637
- * @type {string}
6638
- * @memberof ShipmentModel
6639
- */
6640
- 'courierServiceDesc'?: string;
6641
- /**
6642
- * courierReference
6643
- * @type {string}
6644
- * @memberof ShipmentModel
6645
- */
6646
- 'courierReference'?: string;
6647
- /**
6648
- * courierTracking
6649
- * @type {string}
6650
- * @memberof ShipmentModel
6651
- */
6652
- 'courierTracking'?: string;
6653
- /**
6654
- * courierBoxes
6655
- * @type {number}
6656
- * @memberof ShipmentModel
6657
- */
6658
- 'courierBoxes'?: number;
6659
- /**
6660
- * mac
6661
- * @type {string}
6662
- * @memberof ShipmentModel
6663
- */
6664
- 'scannedData'?: string;
6665
- /**
6666
- * date
6667
- * @type {string}
6668
- * @memberof ShipmentModel
6669
- */
6670
- 'dateShipped'?: string;
6671
- /**
6672
- * requestDate
6673
- * @type {string}
6674
- * @memberof ShipmentModel
6675
- */
6676
- 'requestDate'?: string;
6677
- /**
6678
- * provId
6679
- * @type {number}
6680
- * @memberof ShipmentModel
6681
- */
6682
- 'provId'?: number;
6683
- }
6684
- /**
6685
- * Shipment Request
6686
- * @export
6687
- * @interface ShipmentRequestDTO
6688
- */
6689
- export interface ShipmentRequestDTO {
6690
- /**
6691
- * Courier
6692
- * @type {string}
6693
- * @memberof ShipmentRequestDTO
6694
- */
6695
- 'courier'?: ShipmentRequestDTOCourierEnum;
6696
- /**
6697
- *
6698
- * @type {AddressModel}
6699
- * @memberof ShipmentRequestDTO
6700
- */
6701
- 'address'?: AddressModel | null;
6702
- /**
6703
- * Scanned Lines
6704
- * @type {Array<string>}
6705
- * @memberof ShipmentRequestDTO
6706
- */
6707
- 'scannedLines'?: Array<string>;
6708
- /**
6709
- * Service
6710
- * @type {string}
6711
- * @memberof ShipmentRequestDTO
6712
- */
6713
- 'service'?: string;
6714
- /**
6715
- * Date Time
6716
- * @type {string}
6717
- * @memberof ShipmentRequestDTO
6718
- */
6719
- 'shipDate'?: string;
6720
- /**
6721
- * Items
6722
- * @type {Array<ShipmentItemDTO>}
6723
- * @memberof ShipmentRequestDTO
6724
- */
6725
- 'items'?: Array<ShipmentItemDTO>;
6726
- }
6727
- export declare const ShipmentRequestDTOCourierEnum: {
6728
- readonly Dpd: "DPD";
6729
- readonly ChorltonPallet: "Chorlton Pallet";
6730
- readonly Pops: "POPS";
6731
- };
6732
- export type ShipmentRequestDTOCourierEnum = typeof ShipmentRequestDTOCourierEnum[keyof typeof ShipmentRequestDTOCourierEnum];
6733
- /**
6734
- *
6735
- * @export
6736
- * @interface ShippingConsignmentModel
6737
- */
6738
- export interface ShippingConsignmentModel {
6739
- /**
6740
- *
6741
- * @type {ShippingServiceModel}
6742
- * @memberof ShippingConsignmentModel
6743
- */
6744
- 'service'?: ShippingServiceModel;
6745
- /**
6746
- * ID/Number
6747
- * @type {string}
6748
- * @memberof ShippingConsignmentModel
6749
- */
6750
- 'id'?: string;
6751
- /**
6752
- * Tracking Number
6753
- * @type {string}
6754
- * @memberof ShippingConsignmentModel
6755
- */
6756
- 'trackingNumber'?: string;
6757
- /**
6758
- * Parcels
6759
- * @type {Array<string>}
6760
- * @memberof ShippingConsignmentModel
6761
- */
6762
- 'parcelIds'?: Array<string>;
6763
- }
6764
- /**
6765
- * Shipping Information
6766
- * @export
6767
- * @interface ShippingInformationDTO
6768
- */
6769
- export interface ShippingInformationDTO {
6770
- /**
6771
- * Items
6772
- * @type {Array<BasicItemDTO>}
6773
- * @memberof ShippingInformationDTO
6774
- */
6775
- 'items'?: Array<BasicItemDTO>;
6776
- /**
6777
- * Destination Post Code
6778
- * @type {string}
6779
- * @memberof ShippingInformationDTO
6780
- */
6781
- 'postalCode'?: string;
6782
- /**
6783
- * Destination ISO
6784
- * @type {string}
6785
- * @memberof ShippingInformationDTO
5759
+ * @memberof ShippingInformationDTO
6786
5760
  */
6787
5761
  'iso'?: string;
6788
5762
  }
6789
- /**
6790
- *
6791
- * @export
6792
- * @interface ShippingRequestDTO
6793
- */
6794
- export interface ShippingRequestDTO {
6795
- /**
6796
- * Courier
6797
- * @type {string}
6798
- * @memberof ShippingRequestDTO
6799
- */
6800
- 'courier'?: ShippingRequestDTOCourierEnum;
6801
- /**
6802
- * Courier Service
6803
- * @type {string}
6804
- * @memberof ShippingRequestDTO
6805
- */
6806
- 'service'?: string;
6807
- /**
6808
- * Boxes
6809
- * @type {number}
6810
- * @memberof ShippingRequestDTO
6811
- */
6812
- 'boxes'?: number;
6813
- }
6814
- export declare const ShippingRequestDTOCourierEnum: {
6815
- readonly Dpd: "DPD";
6816
- readonly ChorltonPallet: "Chorlton Pallet";
6817
- readonly Pops: "POPS";
6818
- };
6819
- export type ShippingRequestDTOCourierEnum = typeof ShippingRequestDTOCourierEnum[keyof typeof ShippingRequestDTOCourierEnum];
6820
5763
  /**
6821
5764
  * Shipping Service
6822
5765
  * @export
@@ -8424,67 +7367,6 @@ export interface SupplierItemEntity {
8424
7367
  */
8425
7368
  'supplierSku'?: string;
8426
7369
  }
8427
- /**
8428
- * Supplier
8429
- * @export
8430
- * @interface SupplierModel
8431
- */
8432
- export interface SupplierModel {
8433
- /**
8434
- * id
8435
- * @type {number}
8436
- * @memberof SupplierModel
8437
- */
8438
- 'id'?: number;
8439
- /**
8440
- * name
8441
- * @type {string}
8442
- * @memberof SupplierModel
8443
- */
8444
- 'name'?: string;
8445
- /**
8446
- * nameShort
8447
- * @type {string}
8448
- * @memberof SupplierModel
8449
- */
8450
- 'shortName'?: string;
8451
- /**
8452
- * email
8453
- * @type {string}
8454
- * @memberof SupplierModel
8455
- */
8456
- 'email'?: string;
8457
- /**
8458
- * phone
8459
- * @type {string}
8460
- * @memberof SupplierModel
8461
- */
8462
- 'phone'?: string;
8463
- /**
8464
- * defaultCourier
8465
- * @type {string}
8466
- * @memberof SupplierModel
8467
- */
8468
- 'defaultCourier'?: string;
8469
- /**
8470
- * defaultCarriage
8471
- * @type {number}
8472
- * @memberof SupplierModel
8473
- */
8474
- 'defaultCarriage'?: number;
8475
- /**
8476
- * account
8477
- * @type {string}
8478
- * @memberof SupplierModel
8479
- */
8480
- 'accountNumber'?: string;
8481
- /**
8482
- * internalAccount
8483
- * @type {string}
8484
- * @memberof SupplierModel
8485
- */
8486
- 'xeroAccountNumber'?: string;
8487
- }
8488
7370
  /**
8489
7371
  * 3CX Wizard Restore From Backup
8490
7372
  * @export
@@ -14471,16 +13353,6 @@ export type PostAuthoriseScopeEnum = typeof PostAuthoriseScopeEnum[keyof typeof
14471
13353
  * @export
14472
13354
  */
14473
13355
  export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration) => {
14474
- /**
14475
- * Delete Shipment (Admin)
14476
- * @summary Delete Shipment (Admin)
14477
- * @param {number} id Order ID
14478
- * @param {number} batchId Batch ID
14479
- * @param {number} shipmentId Shipment ID
14480
- * @param {*} [options] Override http request option.
14481
- * @throws {RequiredError}
14482
- */
14483
- deleteCreateShipment: (id: number, batchId: number, shipmentId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14484
13356
  /**
14485
13357
  * Delete Orders (Beta)
14486
13358
  * @summary Delete Orders (Beta)
@@ -14497,14 +13369,6 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
14497
13369
  * @throws {RequiredError}
14498
13370
  */
14499
13371
  getGetAdminEditableOrder: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14500
- /**
14501
- * Get Order Details (Admin)
14502
- * @summary Get Order Details (Admin)
14503
- * @param {number} id Order ID
14504
- * @param {*} [options] Override http request option.
14505
- * @throws {RequiredError}
14506
- */
14507
- getGetAdminOrderDetails: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14508
13372
  /**
14509
13373
  * Get Editable Order (Beta)
14510
13374
  * @summary Get Editable Order (Beta)
@@ -14513,14 +13377,6 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
14513
13377
  * @throws {RequiredError}
14514
13378
  */
14515
13379
  getGetEditableOrder: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14516
- /**
14517
- * Download Order PDF
14518
- * @summary Download Order PDF
14519
- * @param {number} id Order ID
14520
- * @param {*} [options] Override http request option.
14521
- * @throws {RequiredError}
14522
- */
14523
- getGetOrderPdf: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14524
13380
  /**
14525
13381
  * Get Orders (Beta)
14526
13382
  * @summary Get Orders (Beta)
@@ -14535,15 +13391,6 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
14535
13391
  * @throws {RequiredError}
14536
13392
  */
14537
13393
  getGetOrders: (pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14538
- /**
14539
- * Add Order Note
14540
- * @summary Add Order Note
14541
- * @param {number} id Order ID
14542
- * @param {PostAddOrderNoteRequest} [postAddOrderNoteRequest]
14543
- * @param {*} [options] Override http request option.
14544
- * @throws {RequiredError}
14545
- */
14546
- postAddOrderNote: (id: number, postAddOrderNoteRequest?: PostAddOrderNoteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14547
13394
  /**
14548
13395
  * Create An Order (Admin)
14549
13396
  * @summary Create An Order (Admin)
@@ -14553,26 +13400,6 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
14553
13400
  * @throws {RequiredError}
14554
13401
  */
14555
13402
  postCreateAdminOrder: (readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14556
- /**
14557
- * Create Shipping Consignment
14558
- * @summary Create Shipping Consignment
14559
- * @param {number} id Order ID
14560
- * @param {number} shipmentId Shipment ID
14561
- * @param {ShippingRequestDTO} [shippingRequestDTO] Shipping Request
14562
- * @param {*} [options] Override http request option.
14563
- * @throws {RequiredError}
14564
- */
14565
- postCreateConsignment: (id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14566
- /**
14567
- * Create Shipment (Admin)
14568
- * @summary Create Shipment (Admin)
14569
- * @param {number} id Order ID
14570
- * @param {number} batchId Batch ID
14571
- * @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
14572
- * @param {*} [options] Override http request option.
14573
- * @throws {RequiredError}
14574
- */
14575
- postCreateShipment: (id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14576
13403
  /**
14577
13404
  * Create An Order (Beta)
14578
13405
  * @summary Create An Order (Beta)
@@ -14582,73 +13409,6 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
14582
13409
  * @throws {RequiredError}
14583
13410
  */
14584
13411
  postGetOrders: (readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14585
- /**
14586
- * Issue Credit (Admin)
14587
- * @summary Issue Credit (Admin)
14588
- * @param {number} id Order ID
14589
- * @param {CreditNoteDTO} [creditNoteDTO] Credit Request
14590
- * @param {*} [options] Override http request option.
14591
- * @throws {RequiredError}
14592
- */
14593
- postIssueCredit: (id: number, creditNoteDTO?: CreditNoteDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14594
- /**
14595
- * Print Shipment Label
14596
- * @summary Print Shipment Label
14597
- * @param {number} id Order ID
14598
- * @param {number} shipmentId Shipment ID
14599
- * @param {PostPrintShippingLabelPrinterEnum} printer Printer
14600
- * @param {*} [options] Override http request option.
14601
- * @throws {RequiredError}
14602
- */
14603
- postPrintShippingLabel: (id: number, shipmentId: number, printer: PostPrintShippingLabelPrinterEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14604
- /**
14605
- * Send Order Email
14606
- * @summary Send Order Email
14607
- * @param {number} id Order ID
14608
- * @param {string} email Email Address
14609
- * @param {*} [options] Override http request option.
14610
- * @throws {RequiredError}
14611
- */
14612
- postSendOrderEmail: (id: number, email: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14613
- /**
14614
- * Send Supplier Email
14615
- * @summary Send Supplier Email
14616
- * @param {number} id Order ID
14617
- * @param {number} batchId Batch ID
14618
- * @param {*} [options] Override http request option.
14619
- * @throws {RequiredError}
14620
- */
14621
- postSendSupplierEmail: (id: number, batchId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14622
- /**
14623
- * Split Order
14624
- * @summary Split Order
14625
- * @param {number} id Order ID
14626
- * @param {PostSplitOrderRequest} [postSplitOrderRequest]
14627
- * @param {*} [options] Override http request option.
14628
- * @throws {RequiredError}
14629
- */
14630
- postSplitOrder: (id: number, postSplitOrderRequest?: PostSplitOrderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14631
- /**
14632
- * Allocate Items To Supplier
14633
- * @summary Allocate Items To Supplier
14634
- * @param {number} id Order ID
14635
- * @param {number} supplierId Supplier ID
14636
- * @param {PutAllocateItemsRequest} [putAllocateItemsRequest]
14637
- * @param {*} [options] Override http request option.
14638
- * @throws {RequiredError}
14639
- */
14640
- putAllocateItems: (id: number, supplierId: number, putAllocateItemsRequest?: PutAllocateItemsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14641
- /**
14642
- * Update Shipment (Admin)
14643
- * @summary Update Shipment (Admin)
14644
- * @param {number} id Order ID
14645
- * @param {number} batchId Batch ID
14646
- * @param {number} shipmentId Shipment ID
14647
- * @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
14648
- * @param {*} [options] Override http request option.
14649
- * @throws {RequiredError}
14650
- */
14651
- putCreateShipment: (id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14652
13412
  /**
14653
13413
  * Update An Order (Admin)
14654
13414
  * @summary Update An Order (Admin)
@@ -14675,16 +13435,6 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
14675
13435
  * @export
14676
13436
  */
14677
13437
  export declare const OrdersApiFp: (configuration?: Configuration) => {
14678
- /**
14679
- * Delete Shipment (Admin)
14680
- * @summary Delete Shipment (Admin)
14681
- * @param {number} id Order ID
14682
- * @param {number} batchId Batch ID
14683
- * @param {number} shipmentId Shipment ID
14684
- * @param {*} [options] Override http request option.
14685
- * @throws {RequiredError}
14686
- */
14687
- deleteCreateShipment(id: number, batchId: number, shipmentId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
14688
13438
  /**
14689
13439
  * Delete Orders (Beta)
14690
13440
  * @summary Delete Orders (Beta)
@@ -14701,14 +13451,6 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
14701
13451
  * @throws {RequiredError}
14702
13452
  */
14703
13453
  getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminOrderRequestDTO>>;
14704
- /**
14705
- * Get Order Details (Admin)
14706
- * @summary Get Order Details (Admin)
14707
- * @param {number} id Order ID
14708
- * @param {*} [options] Override http request option.
14709
- * @throws {RequiredError}
14710
- */
14711
- getGetAdminOrderDetails(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderDetailsDTO>>;
14712
13454
  /**
14713
13455
  * Get Editable Order (Beta)
14714
13456
  * @summary Get Editable Order (Beta)
@@ -14717,14 +13459,6 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
14717
13459
  * @throws {RequiredError}
14718
13460
  */
14719
13461
  getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DetailedOrderRequestDTO>>;
14720
- /**
14721
- * Download Order PDF
14722
- * @summary Download Order PDF
14723
- * @param {number} id Order ID
14724
- * @param {*} [options] Override http request option.
14725
- * @throws {RequiredError}
14726
- */
14727
- getGetOrderPdf(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
14728
13462
  /**
14729
13463
  * Get Orders (Beta)
14730
13464
  * @summary Get Orders (Beta)
@@ -14739,15 +13473,6 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
14739
13473
  * @throws {RequiredError}
14740
13474
  */
14741
13475
  getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderSummariesModel>>;
14742
- /**
14743
- * Add Order Note
14744
- * @summary Add Order Note
14745
- * @param {number} id Order ID
14746
- * @param {PostAddOrderNoteRequest} [postAddOrderNoteRequest]
14747
- * @param {*} [options] Override http request option.
14748
- * @throws {RequiredError}
14749
- */
14750
- postAddOrderNote(id: number, postAddOrderNoteRequest?: PostAddOrderNoteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
14751
13476
  /**
14752
13477
  * Create An Order (Admin)
14753
13478
  * @summary Create An Order (Admin)
@@ -14757,26 +13482,6 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
14757
13482
  * @throws {RequiredError}
14758
13483
  */
14759
13484
  postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>>;
14760
- /**
14761
- * Create Shipping Consignment
14762
- * @summary Create Shipping Consignment
14763
- * @param {number} id Order ID
14764
- * @param {number} shipmentId Shipment ID
14765
- * @param {ShippingRequestDTO} [shippingRequestDTO] Shipping Request
14766
- * @param {*} [options] Override http request option.
14767
- * @throws {RequiredError}
14768
- */
14769
- postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentModel>>;
14770
- /**
14771
- * Create Shipment (Admin)
14772
- * @summary Create Shipment (Admin)
14773
- * @param {number} id Order ID
14774
- * @param {number} batchId Batch ID
14775
- * @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
14776
- * @param {*} [options] Override http request option.
14777
- * @throws {RequiredError}
14778
- */
14779
- postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentModel>>;
14780
13485
  /**
14781
13486
  * Create An Order (Beta)
14782
13487
  * @summary Create An Order (Beta)
@@ -14786,73 +13491,6 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
14786
13491
  * @throws {RequiredError}
14787
13492
  */
14788
13493
  postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>>;
14789
- /**
14790
- * Issue Credit (Admin)
14791
- * @summary Issue Credit (Admin)
14792
- * @param {number} id Order ID
14793
- * @param {CreditNoteDTO} [creditNoteDTO] Credit Request
14794
- * @param {*} [options] Override http request option.
14795
- * @throws {RequiredError}
14796
- */
14797
- postIssueCredit(id: number, creditNoteDTO?: CreditNoteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreditNoteModel>>;
14798
- /**
14799
- * Print Shipment Label
14800
- * @summary Print Shipment Label
14801
- * @param {number} id Order ID
14802
- * @param {number} shipmentId Shipment ID
14803
- * @param {PostPrintShippingLabelPrinterEnum} printer Printer
14804
- * @param {*} [options] Override http request option.
14805
- * @throws {RequiredError}
14806
- */
14807
- postPrintShippingLabel(id: number, shipmentId: number, printer: PostPrintShippingLabelPrinterEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
14808
- /**
14809
- * Send Order Email
14810
- * @summary Send Order Email
14811
- * @param {number} id Order ID
14812
- * @param {string} email Email Address
14813
- * @param {*} [options] Override http request option.
14814
- * @throws {RequiredError}
14815
- */
14816
- postSendOrderEmail(id: number, email: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
14817
- /**
14818
- * Send Supplier Email
14819
- * @summary Send Supplier Email
14820
- * @param {number} id Order ID
14821
- * @param {number} batchId Batch ID
14822
- * @param {*} [options] Override http request option.
14823
- * @throws {RequiredError}
14824
- */
14825
- postSendSupplierEmail(id: number, batchId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
14826
- /**
14827
- * Split Order
14828
- * @summary Split Order
14829
- * @param {number} id Order ID
14830
- * @param {PostSplitOrderRequest} [postSplitOrderRequest]
14831
- * @param {*} [options] Override http request option.
14832
- * @throws {RequiredError}
14833
- */
14834
- postSplitOrder(id: number, postSplitOrderRequest?: PostSplitOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>>;
14835
- /**
14836
- * Allocate Items To Supplier
14837
- * @summary Allocate Items To Supplier
14838
- * @param {number} id Order ID
14839
- * @param {number} supplierId Supplier ID
14840
- * @param {PutAllocateItemsRequest} [putAllocateItemsRequest]
14841
- * @param {*} [options] Override http request option.
14842
- * @throws {RequiredError}
14843
- */
14844
- putAllocateItems(id: number, supplierId: number, putAllocateItemsRequest?: PutAllocateItemsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
14845
- /**
14846
- * Update Shipment (Admin)
14847
- * @summary Update Shipment (Admin)
14848
- * @param {number} id Order ID
14849
- * @param {number} batchId Batch ID
14850
- * @param {number} shipmentId Shipment ID
14851
- * @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
14852
- * @param {*} [options] Override http request option.
14853
- * @throws {RequiredError}
14854
- */
14855
- putCreateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentModel>>;
14856
13494
  /**
14857
13495
  * Update An Order (Admin)
14858
13496
  * @summary Update An Order (Admin)
@@ -14879,16 +13517,6 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
14879
13517
  * @export
14880
13518
  */
14881
13519
  export declare const OrdersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14882
- /**
14883
- * Delete Shipment (Admin)
14884
- * @summary Delete Shipment (Admin)
14885
- * @param {number} id Order ID
14886
- * @param {number} batchId Batch ID
14887
- * @param {number} shipmentId Shipment ID
14888
- * @param {*} [options] Override http request option.
14889
- * @throws {RequiredError}
14890
- */
14891
- deleteCreateShipment(id: number, batchId: number, shipmentId: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
14892
13520
  /**
14893
13521
  * Delete Orders (Beta)
14894
13522
  * @summary Delete Orders (Beta)
@@ -14905,14 +13533,6 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
14905
13533
  * @throws {RequiredError}
14906
13534
  */
14907
13535
  getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AdminOrderRequestDTO>;
14908
- /**
14909
- * Get Order Details (Admin)
14910
- * @summary Get Order Details (Admin)
14911
- * @param {number} id Order ID
14912
- * @param {*} [options] Override http request option.
14913
- * @throws {RequiredError}
14914
- */
14915
- getGetAdminOrderDetails(id: number, options?: RawAxiosRequestConfig): AxiosPromise<OrderDetailsDTO>;
14916
13536
  /**
14917
13537
  * Get Editable Order (Beta)
14918
13538
  * @summary Get Editable Order (Beta)
@@ -14921,14 +13541,6 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
14921
13541
  * @throws {RequiredError}
14922
13542
  */
14923
13543
  getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<DetailedOrderRequestDTO>;
14924
- /**
14925
- * Download Order PDF
14926
- * @summary Download Order PDF
14927
- * @param {number} id Order ID
14928
- * @param {*} [options] Override http request option.
14929
- * @throws {RequiredError}
14930
- */
14931
- getGetOrderPdf(id: number, options?: RawAxiosRequestConfig): AxiosPromise<File>;
14932
13544
  /**
14933
13545
  * Get Orders (Beta)
14934
13546
  * @summary Get Orders (Beta)
@@ -14943,15 +13555,6 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
14943
13555
  * @throws {RequiredError}
14944
13556
  */
14945
13557
  getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel>;
14946
- /**
14947
- * Add Order Note
14948
- * @summary Add Order Note
14949
- * @param {number} id Order ID
14950
- * @param {PostAddOrderNoteRequest} [postAddOrderNoteRequest]
14951
- * @param {*} [options] Override http request option.
14952
- * @throws {RequiredError}
14953
- */
14954
- postAddOrderNote(id: number, postAddOrderNoteRequest?: PostAddOrderNoteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
14955
13558
  /**
14956
13559
  * Create An Order (Admin)
14957
13560
  * @summary Create An Order (Admin)
@@ -14961,26 +13564,6 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
14961
13564
  * @throws {RequiredError}
14962
13565
  */
14963
13566
  postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>>;
14964
- /**
14965
- * Create Shipping Consignment
14966
- * @summary Create Shipping Consignment
14967
- * @param {number} id Order ID
14968
- * @param {number} shipmentId Shipment ID
14969
- * @param {ShippingRequestDTO} [shippingRequestDTO] Shipping Request
14970
- * @param {*} [options] Override http request option.
14971
- * @throws {RequiredError}
14972
- */
14973
- postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentModel>;
14974
- /**
14975
- * Create Shipment (Admin)
14976
- * @summary Create Shipment (Admin)
14977
- * @param {number} id Order ID
14978
- * @param {number} batchId Batch ID
14979
- * @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
14980
- * @param {*} [options] Override http request option.
14981
- * @throws {RequiredError}
14982
- */
14983
- postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentModel>;
14984
13567
  /**
14985
13568
  * Create An Order (Beta)
14986
13569
  * @summary Create An Order (Beta)
@@ -14990,73 +13573,6 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
14990
13573
  * @throws {RequiredError}
14991
13574
  */
14992
13575
  postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>>;
14993
- /**
14994
- * Issue Credit (Admin)
14995
- * @summary Issue Credit (Admin)
14996
- * @param {number} id Order ID
14997
- * @param {CreditNoteDTO} [creditNoteDTO] Credit Request
14998
- * @param {*} [options] Override http request option.
14999
- * @throws {RequiredError}
15000
- */
15001
- postIssueCredit(id: number, creditNoteDTO?: CreditNoteDTO, options?: RawAxiosRequestConfig): AxiosPromise<CreditNoteModel>;
15002
- /**
15003
- * Print Shipment Label
15004
- * @summary Print Shipment Label
15005
- * @param {number} id Order ID
15006
- * @param {number} shipmentId Shipment ID
15007
- * @param {PostPrintShippingLabelPrinterEnum} printer Printer
15008
- * @param {*} [options] Override http request option.
15009
- * @throws {RequiredError}
15010
- */
15011
- postPrintShippingLabel(id: number, shipmentId: number, printer: PostPrintShippingLabelPrinterEnum, options?: RawAxiosRequestConfig): AxiosPromise<File>;
15012
- /**
15013
- * Send Order Email
15014
- * @summary Send Order Email
15015
- * @param {number} id Order ID
15016
- * @param {string} email Email Address
15017
- * @param {*} [options] Override http request option.
15018
- * @throws {RequiredError}
15019
- */
15020
- postSendOrderEmail(id: number, email: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
15021
- /**
15022
- * Send Supplier Email
15023
- * @summary Send Supplier Email
15024
- * @param {number} id Order ID
15025
- * @param {number} batchId Batch ID
15026
- * @param {*} [options] Override http request option.
15027
- * @throws {RequiredError}
15028
- */
15029
- postSendSupplierEmail(id: number, batchId: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
15030
- /**
15031
- * Split Order
15032
- * @summary Split Order
15033
- * @param {number} id Order ID
15034
- * @param {PostSplitOrderRequest} [postSplitOrderRequest]
15035
- * @param {*} [options] Override http request option.
15036
- * @throws {RequiredError}
15037
- */
15038
- postSplitOrder(id: number, postSplitOrderRequest?: PostSplitOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>>;
15039
- /**
15040
- * Allocate Items To Supplier
15041
- * @summary Allocate Items To Supplier
15042
- * @param {number} id Order ID
15043
- * @param {number} supplierId Supplier ID
15044
- * @param {PutAllocateItemsRequest} [putAllocateItemsRequest]
15045
- * @param {*} [options] Override http request option.
15046
- * @throws {RequiredError}
15047
- */
15048
- putAllocateItems(id: number, supplierId: number, putAllocateItemsRequest?: PutAllocateItemsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
15049
- /**
15050
- * Update Shipment (Admin)
15051
- * @summary Update Shipment (Admin)
15052
- * @param {number} id Order ID
15053
- * @param {number} batchId Batch ID
15054
- * @param {number} shipmentId Shipment ID
15055
- * @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
15056
- * @param {*} [options] Override http request option.
15057
- * @throws {RequiredError}
15058
- */
15059
- putCreateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentModel>;
15060
13576
  /**
15061
13577
  * Update An Order (Admin)
15062
13578
  * @summary Update An Order (Admin)
@@ -15085,17 +13601,6 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
15085
13601
  * @extends {BaseAPI}
15086
13602
  */
15087
13603
  export declare class OrdersApi extends BaseAPI {
15088
- /**
15089
- * Delete Shipment (Admin)
15090
- * @summary Delete Shipment (Admin)
15091
- * @param {number} id Order ID
15092
- * @param {number} batchId Batch ID
15093
- * @param {number} shipmentId Shipment ID
15094
- * @param {*} [options] Override http request option.
15095
- * @throws {RequiredError}
15096
- * @memberof OrdersApi
15097
- */
15098
- deleteCreateShipment(id: number, batchId: number, shipmentId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
15099
13604
  /**
15100
13605
  * Delete Orders (Beta)
15101
13606
  * @summary Delete Orders (Beta)
@@ -15114,15 +13619,6 @@ export declare class OrdersApi extends BaseAPI {
15114
13619
  * @memberof OrdersApi
15115
13620
  */
15116
13621
  getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminOrderRequestDTO, any, {}>>;
15117
- /**
15118
- * Get Order Details (Admin)
15119
- * @summary Get Order Details (Admin)
15120
- * @param {number} id Order ID
15121
- * @param {*} [options] Override http request option.
15122
- * @throws {RequiredError}
15123
- * @memberof OrdersApi
15124
- */
15125
- getGetAdminOrderDetails(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderDetailsDTO, any, {}>>;
15126
13622
  /**
15127
13623
  * Get Editable Order (Beta)
15128
13624
  * @summary Get Editable Order (Beta)
@@ -15132,15 +13628,6 @@ export declare class OrdersApi extends BaseAPI {
15132
13628
  * @memberof OrdersApi
15133
13629
  */
15134
13630
  getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DetailedOrderRequestDTO, any, {}>>;
15135
- /**
15136
- * Download Order PDF
15137
- * @summary Download Order PDF
15138
- * @param {number} id Order ID
15139
- * @param {*} [options] Override http request option.
15140
- * @throws {RequiredError}
15141
- * @memberof OrdersApi
15142
- */
15143
- getGetOrderPdf(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
15144
13631
  /**
15145
13632
  * Get Orders (Beta)
15146
13633
  * @summary Get Orders (Beta)
@@ -15156,16 +13643,6 @@ export declare class OrdersApi extends BaseAPI {
15156
13643
  * @memberof OrdersApi
15157
13644
  */
15158
13645
  getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderSummariesModel, any, {}>>;
15159
- /**
15160
- * Add Order Note
15161
- * @summary Add Order Note
15162
- * @param {number} id Order ID
15163
- * @param {PostAddOrderNoteRequest} [postAddOrderNoteRequest]
15164
- * @param {*} [options] Override http request option.
15165
- * @throws {RequiredError}
15166
- * @memberof OrdersApi
15167
- */
15168
- postAddOrderNote(id: number, postAddOrderNoteRequest?: PostAddOrderNoteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
15169
13646
  /**
15170
13647
  * Create An Order (Admin)
15171
13648
  * @summary Create An Order (Admin)
@@ -15176,28 +13653,6 @@ export declare class OrdersApi extends BaseAPI {
15176
13653
  * @memberof OrdersApi
15177
13654
  */
15178
13655
  postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderSummaryDTO[], any, {}>>;
15179
- /**
15180
- * Create Shipping Consignment
15181
- * @summary Create Shipping Consignment
15182
- * @param {number} id Order ID
15183
- * @param {number} shipmentId Shipment ID
15184
- * @param {ShippingRequestDTO} [shippingRequestDTO] Shipping Request
15185
- * @param {*} [options] Override http request option.
15186
- * @throws {RequiredError}
15187
- * @memberof OrdersApi
15188
- */
15189
- postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShipmentModel, any, {}>>;
15190
- /**
15191
- * Create Shipment (Admin)
15192
- * @summary Create Shipment (Admin)
15193
- * @param {number} id Order ID
15194
- * @param {number} batchId Batch ID
15195
- * @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
15196
- * @param {*} [options] Override http request option.
15197
- * @throws {RequiredError}
15198
- * @memberof OrdersApi
15199
- */
15200
- postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShipmentModel, any, {}>>;
15201
13656
  /**
15202
13657
  * Create An Order (Beta)
15203
13658
  * @summary Create An Order (Beta)
@@ -15208,80 +13663,6 @@ export declare class OrdersApi extends BaseAPI {
15208
13663
  * @memberof OrdersApi
15209
13664
  */
15210
13665
  postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderSummaryDTO[], any, {}>>;
15211
- /**
15212
- * Issue Credit (Admin)
15213
- * @summary Issue Credit (Admin)
15214
- * @param {number} id Order ID
15215
- * @param {CreditNoteDTO} [creditNoteDTO] Credit Request
15216
- * @param {*} [options] Override http request option.
15217
- * @throws {RequiredError}
15218
- * @memberof OrdersApi
15219
- */
15220
- postIssueCredit(id: number, creditNoteDTO?: CreditNoteDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditNoteModel, any, {}>>;
15221
- /**
15222
- * Print Shipment Label
15223
- * @summary Print Shipment Label
15224
- * @param {number} id Order ID
15225
- * @param {number} shipmentId Shipment ID
15226
- * @param {PostPrintShippingLabelPrinterEnum} printer Printer
15227
- * @param {*} [options] Override http request option.
15228
- * @throws {RequiredError}
15229
- * @memberof OrdersApi
15230
- */
15231
- postPrintShippingLabel(id: number, shipmentId: number, printer: PostPrintShippingLabelPrinterEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
15232
- /**
15233
- * Send Order Email
15234
- * @summary Send Order Email
15235
- * @param {number} id Order ID
15236
- * @param {string} email Email Address
15237
- * @param {*} [options] Override http request option.
15238
- * @throws {RequiredError}
15239
- * @memberof OrdersApi
15240
- */
15241
- postSendOrderEmail(id: number, email: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
15242
- /**
15243
- * Send Supplier Email
15244
- * @summary Send Supplier Email
15245
- * @param {number} id Order ID
15246
- * @param {number} batchId Batch ID
15247
- * @param {*} [options] Override http request option.
15248
- * @throws {RequiredError}
15249
- * @memberof OrdersApi
15250
- */
15251
- postSendSupplierEmail(id: number, batchId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
15252
- /**
15253
- * Split Order
15254
- * @summary Split Order
15255
- * @param {number} id Order ID
15256
- * @param {PostSplitOrderRequest} [postSplitOrderRequest]
15257
- * @param {*} [options] Override http request option.
15258
- * @throws {RequiredError}
15259
- * @memberof OrdersApi
15260
- */
15261
- postSplitOrder(id: number, postSplitOrderRequest?: PostSplitOrderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderSummaryDTO[], any, {}>>;
15262
- /**
15263
- * Allocate Items To Supplier
15264
- * @summary Allocate Items To Supplier
15265
- * @param {number} id Order ID
15266
- * @param {number} supplierId Supplier ID
15267
- * @param {PutAllocateItemsRequest} [putAllocateItemsRequest]
15268
- * @param {*} [options] Override http request option.
15269
- * @throws {RequiredError}
15270
- * @memberof OrdersApi
15271
- */
15272
- putAllocateItems(id: number, supplierId: number, putAllocateItemsRequest?: PutAllocateItemsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
15273
- /**
15274
- * Update Shipment (Admin)
15275
- * @summary Update Shipment (Admin)
15276
- * @param {number} id Order ID
15277
- * @param {number} batchId Batch ID
15278
- * @param {number} shipmentId Shipment ID
15279
- * @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
15280
- * @param {*} [options] Override http request option.
15281
- * @throws {RequiredError}
15282
- * @memberof OrdersApi
15283
- */
15284
- putCreateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShipmentModel, any, {}>>;
15285
13666
  /**
15286
13667
  * Update An Order (Admin)
15287
13668
  * @summary Update An Order (Admin)
@@ -15325,15 +13706,6 @@ export declare const GetGetOrdersFilterEnum: {
15325
13706
  readonly BackOrders: "BACK_ORDERS";
15326
13707
  };
15327
13708
  export type GetGetOrdersFilterEnum = typeof GetGetOrdersFilterEnum[keyof typeof GetGetOrdersFilterEnum];
15328
- /**
15329
- * @export
15330
- */
15331
- export declare const PostPrintShippingLabelPrinterEnum: {
15332
- readonly NUMBER_1: 1;
15333
- readonly NUMBER_2: 2;
15334
- readonly NUMBER_3: 3;
15335
- };
15336
- export type PostPrintShippingLabelPrinterEnum = typeof PostPrintShippingLabelPrinterEnum[keyof typeof PostPrintShippingLabelPrinterEnum];
15337
13709
  /**
15338
13710
  * PricingApi - axios parameter creator
15339
13711
  * @export