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

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 (49) hide show
  1. package/.openapi-generator/FILES +229 -249
  2. package/README.md +0 -34
  3. package/api.ts +207 -2373
  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 +105 -1727
  9. package/dist/api.js +84 -1379
  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/OrdersApi.md +12 -788
  19. package/getEnums.php +31 -31
  20. package/index.ts +1 -1
  21. package/package.json +1 -1
  22. package/dist/models/CourierEnum.d.ts +0 -18
  23. package/dist/models/CourierEnum.js +0 -20
  24. package/dist/models/PrinterEnum.d.ts +0 -18
  25. package/dist/models/PrinterEnum.js +0 -20
  26. package/docs/BatchDTO.md +0 -57
  27. package/docs/CreditNoteDTO.md +0 -21
  28. package/docs/CreditNoteEntity.md +0 -29
  29. package/docs/CreditNoteItemDTO.md +0 -25
  30. package/docs/CreditNoteItemEntity.md +0 -29
  31. package/docs/CreditNoteModel.md +0 -29
  32. package/docs/OrderDetailsDTO.md +0 -63
  33. package/docs/OrderItemDTO.md +0 -53
  34. package/docs/OrderedItemModel.md +0 -47
  35. package/docs/PostAddOrderNoteRequest.md +0 -20
  36. package/docs/PostSplitOrderRequest.md +0 -20
  37. package/docs/PrinterEntity.md +0 -29
  38. package/docs/PutAllocateItemsRequest.md +0 -20
  39. package/docs/PutAllocateItemsRequestItemsInner.md +0 -22
  40. package/docs/ShipmentDTO.md +0 -31
  41. package/docs/ShipmentItemDTO.md +0 -23
  42. package/docs/ShipmentItemModel.md +0 -29
  43. package/docs/ShipmentModel.md +0 -43
  44. package/docs/ShipmentRequestDTO.md +0 -31
  45. package/docs/ShippingRequestDTO.md +0 -24
  46. package/docs/SupplierModel.md +0 -37
  47. package/hs_err_pid58424.log +0 -247
  48. package/models/CourierEnum.ts +0 -19
  49. 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: `http://api.yellowgrid.local` 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,146 +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
- *
5231
- * @export
5232
- * @interface PatchSetTcxWizardCnameRequest
5233
- */
5234
- export interface PatchSetTcxWizardCnameRequest {
5235
- /**
5236
- * CNAME
5237
- * @type {string}
5238
- * @memberof PatchSetTcxWizardCnameRequest
5239
- */
5240
- 'cname'?: string;
5241
- }
5242
- /**
5243
- *
5244
- * @export
5245
- * @interface PatchUpdateAccountContactPasswordRequest
5246
- */
5247
- export interface PatchUpdateAccountContactPasswordRequest {
5248
- /**
5249
- * Password
5250
- * @type {string}
5251
- * @memberof PatchUpdateAccountContactPasswordRequest
5252
- */
5253
- 'password'?: string;
5254
- }
5255
- /**
5256
- * Customer Account
5257
- * @export
5258
- * @interface PortalAccountModel
5259
- */
5260
- export interface PortalAccountModel {
5261
- /**
5262
- * ID
5263
- * @type {number}
5264
- * @memberof PortalAccountModel
5265
- */
5266
- 'id'?: number;
5267
- /**
5268
- * Contact Name
5269
- * @type {string}
5270
- * @memberof PortalAccountModel
5271
- */
5272
- 'name'?: string;
5273
- /**
5274
- * Email
5275
- * @type {string}
5276
- * @memberof PortalAccountModel
5277
- */
5278
- 'email'?: string;
4586
+ 'email'?: string;
5279
4587
  /**
5280
4588
  * Phone Number
5281
4589
  * @type {string}
@@ -5452,19 +4760,6 @@ export interface PortalLoginModel {
5452
4760
  */
5453
4761
  'redirect_uri'?: string;
5454
4762
  }
5455
- /**
5456
- *
5457
- * @export
5458
- * @interface PostAddOrderNoteRequest
5459
- */
5460
- export interface PostAddOrderNoteRequest {
5461
- /**
5462
- * Order Note
5463
- * @type {string}
5464
- * @memberof PostAddOrderNoteRequest
5465
- */
5466
- 'note'?: string;
5467
- }
5468
4763
  /**
5469
4764
  *
5470
4765
  * @export
@@ -5547,19 +4842,6 @@ export interface PostGetProductRequest {
5547
4842
  */
5548
4843
  'hosting'?: boolean | null;
5549
4844
  }
5550
- /**
5551
- *
5552
- * @export
5553
- * @interface PostSplitOrderRequest
5554
- */
5555
- export interface PostSplitOrderRequest {
5556
- /**
5557
- * Item Ids
5558
- * @type {Array<number>}
5559
- * @memberof PostSplitOrderRequest
5560
- */
5561
- 'itemIds'?: Array<number>;
5562
- }
5563
4845
  /**
5564
4846
  * Price & Stock List
5565
4847
  * @export
@@ -5597,43 +4879,6 @@ export interface PriceListItemModel {
5597
4879
  */
5598
4880
  'stock'?: number | null;
5599
4881
  }
5600
- /**
5601
- * PrintersEntity
5602
- * @export
5603
- * @interface PrinterEntity
5604
- */
5605
- export interface PrinterEntity {
5606
- /**
5607
- * id
5608
- * @type {number}
5609
- * @memberof PrinterEntity
5610
- */
5611
- 'id'?: number;
5612
- /**
5613
- * brand
5614
- * @type {string}
5615
- * @memberof PrinterEntity
5616
- */
5617
- 'brand'?: string;
5618
- /**
5619
- * model
5620
- * @type {string}
5621
- * @memberof PrinterEntity
5622
- */
5623
- 'model'?: string;
5624
- /**
5625
- * sn
5626
- * @type {string}
5627
- * @memberof PrinterEntity
5628
- */
5629
- 'sn'?: string;
5630
- /**
5631
- * location
5632
- * @type {string}
5633
- * @memberof PrinterEntity
5634
- */
5635
- 'location'?: string;
5636
- }
5637
4882
  /**
5638
4883
  * PrizesEntity
5639
4884
  * @export
@@ -6021,38 +5266,6 @@ export interface ProvisioningRequestEntity {
6021
5266
  */
6022
5267
  'auth'?: string;
6023
5268
  }
6024
- /**
6025
- *
6026
- * @export
6027
- * @interface PutAllocateItemsRequest
6028
- */
6029
- export interface PutAllocateItemsRequest {
6030
- /**
6031
- * Items
6032
- * @type {Array<PutAllocateItemsRequestItemsInner>}
6033
- * @memberof PutAllocateItemsRequest
6034
- */
6035
- 'items'?: Array<PutAllocateItemsRequestItemsInner>;
6036
- }
6037
- /**
6038
- *
6039
- * @export
6040
- * @interface PutAllocateItemsRequestItemsInner
6041
- */
6042
- export interface PutAllocateItemsRequestItemsInner {
6043
- /**
6044
- * Item ID
6045
- * @type {number}
6046
- * @memberof PutAllocateItemsRequestItemsInner
6047
- */
6048
- 'itemId'?: number;
6049
- /**
6050
- * Quantity To Allocate
6051
- * @type {number}
6052
- * @memberof PutAllocateItemsRequestItemsInner
6053
- */
6054
- 'quantity'?: number;
6055
- }
6056
5269
  /**
6057
5270
  * Azure Recordings Backup
6058
5271
  * @export
@@ -6375,55 +5588,6 @@ export interface ShipmentAddressEntity {
6375
5588
  */
6376
5589
  'shipPhoneNumber'?: string;
6377
5590
  }
6378
- /**
6379
- * Shipment
6380
- * @export
6381
- * @interface ShipmentDTO
6382
- */
6383
- export interface ShipmentDTO {
6384
- /**
6385
- * Courier
6386
- * @type {string}
6387
- * @memberof ShipmentDTO
6388
- */
6389
- 'courier'?: ShipmentDTOCourierEnum | null;
6390
- /**
6391
- * Courier Reference
6392
- * @type {string}
6393
- * @memberof ShipmentDTO
6394
- */
6395
- 'reference'?: string | null;
6396
- /**
6397
- * Date Time
6398
- * @type {string}
6399
- * @memberof ShipmentDTO
6400
- */
6401
- 'requestedDate'?: string;
6402
- /**
6403
- * Scanned Items
6404
- * @type {Array<ScannedItemModel>}
6405
- * @memberof ShipmentDTO
6406
- */
6407
- 'scannedItems'?: Array<ScannedItemModel>;
6408
- /**
6409
- * Items
6410
- * @type {Array<ShipmentItemModel>}
6411
- * @memberof ShipmentDTO
6412
- */
6413
- 'items'?: Array<ShipmentItemModel>;
6414
- /**
6415
- *
6416
- * @type {AddressModel}
6417
- * @memberof ShipmentDTO
6418
- */
6419
- 'address'?: AddressModel;
6420
- }
6421
- export declare const ShipmentDTOCourierEnum: {
6422
- readonly Dpd: "DPD";
6423
- readonly ChorltonPallet: "Chorlton Pallet";
6424
- readonly Pops: "POPS";
6425
- };
6426
- export type ShipmentDTOCourierEnum = typeof ShipmentDTOCourierEnum[keyof typeof ShipmentDTOCourierEnum];
6427
5591
  /**
6428
5592
  * ShipmentsEntity
6429
5593
  * @export
@@ -6503,25 +5667,6 @@ export interface ShipmentEntity {
6503
5667
  */
6504
5668
  'provId'?: number;
6505
5669
  }
6506
- /**
6507
- * Shipment Item
6508
- * @export
6509
- * @interface ShipmentItemDTO
6510
- */
6511
- export interface ShipmentItemDTO {
6512
- /**
6513
- * Item ID
6514
- * @type {number}
6515
- * @memberof ShipmentItemDTO
6516
- */
6517
- 'itemId'?: number;
6518
- /**
6519
- * Quantity
6520
- * @type {number}
6521
- * @memberof ShipmentItemDTO
6522
- */
6523
- 'quantity'?: number;
6524
- }
6525
5670
  /**
6526
5671
  * ShipmentItemsEntity
6527
5672
  * @export
@@ -6560,257 +5705,61 @@ export interface ShipmentItemEntity {
6560
5705
  'itemId'?: string;
6561
5706
  }
6562
5707
  /**
6563
- * Shipment Item
5708
+ *
6564
5709
  * @export
6565
- * @interface ShipmentItemModel
5710
+ * @interface ShippingConsignmentModel
6566
5711
  */
6567
- export interface ShipmentItemModel {
6568
- /**
6569
- * id
6570
- * @type {number}
6571
- * @memberof ShipmentItemModel
6572
- */
6573
- 'id'?: number;
5712
+ export interface ShippingConsignmentModel {
6574
5713
  /**
6575
- * shipmentId
6576
- * @type {number}
6577
- * @memberof ShipmentItemModel
5714
+ *
5715
+ * @type {ShippingServiceModel}
5716
+ * @memberof ShippingConsignmentModel
6578
5717
  */
6579
- 'shipmentId'?: number;
5718
+ 'service'?: ShippingServiceModel;
6580
5719
  /**
6581
- * batchId
6582
- * @type {number}
6583
- * @memberof ShipmentItemModel
5720
+ * ID/Number
5721
+ * @type {string}
5722
+ * @memberof ShippingConsignmentModel
6584
5723
  */
6585
- 'batchId'?: number;
5724
+ 'id'?: string;
6586
5725
  /**
6587
- * quantity
6588
- * @type {number}
6589
- * @memberof ShipmentItemModel
5726
+ * Tracking Number
5727
+ * @type {string}
5728
+ * @memberof ShippingConsignmentModel
6590
5729
  */
6591
- 'quantity'?: number;
5730
+ 'trackingNumber'?: string;
6592
5731
  /**
6593
- * item
6594
- * @type {string}
6595
- * @memberof ShipmentItemModel
5732
+ * Parcels
5733
+ * @type {Array<string>}
5734
+ * @memberof ShippingConsignmentModel
6596
5735
  */
6597
- 'itemId'?: string;
5736
+ 'parcelIds'?: Array<string>;
6598
5737
  }
6599
5738
  /**
6600
- * Shipment
5739
+ * Shipping Information
6601
5740
  * @export
6602
- * @interface ShipmentModel
5741
+ * @interface ShippingInformationDTO
6603
5742
  */
6604
- export interface ShipmentModel {
6605
- /**
6606
- * id
6607
- * @type {number}
6608
- * @memberof ShipmentModel
6609
- */
6610
- 'id'?: number;
6611
- /**
6612
- * batchId
6613
- * @type {number}
6614
- * @memberof ShipmentModel
6615
- */
6616
- 'batchId'?: number;
5743
+ export interface ShippingInformationDTO {
6617
5744
  /**
6618
- * courier
6619
- * @type {string}
6620
- * @memberof ShipmentModel
5745
+ * Items
5746
+ * @type {Array<BasicItemDTO>}
5747
+ * @memberof ShippingInformationDTO
6621
5748
  */
6622
- 'courier'?: string;
5749
+ 'items'?: Array<BasicItemDTO>;
6623
5750
  /**
6624
- * courierService
5751
+ * Destination Post Code
6625
5752
  * @type {string}
6626
- * @memberof ShipmentModel
5753
+ * @memberof ShippingInformationDTO
6627
5754
  */
6628
- 'courierService'?: string;
5755
+ 'postalCode'?: string;
6629
5756
  /**
6630
- * courierServiceDesc
5757
+ * Destination ISO
6631
5758
  * @type {string}
6632
- * @memberof ShipmentModel
6633
- */
6634
- 'courierServiceDesc'?: string;
6635
- /**
6636
- * courierReference
6637
- * @type {string}
6638
- * @memberof ShipmentModel
6639
- */
6640
- 'courierReference'?: string;
6641
- /**
6642
- * courierTracking
6643
- * @type {string}
6644
- * @memberof ShipmentModel
6645
- */
6646
- 'courierTracking'?: string;
6647
- /**
6648
- * courierBoxes
6649
- * @type {number}
6650
- * @memberof ShipmentModel
6651
- */
6652
- 'courierBoxes'?: number;
6653
- /**
6654
- * mac
6655
- * @type {string}
6656
- * @memberof ShipmentModel
6657
- */
6658
- 'scannedData'?: string;
6659
- /**
6660
- * date
6661
- * @type {string}
6662
- * @memberof ShipmentModel
6663
- */
6664
- 'dateShipped'?: string;
6665
- /**
6666
- * requestDate
6667
- * @type {string}
6668
- * @memberof ShipmentModel
6669
- */
6670
- 'requestDate'?: string;
6671
- /**
6672
- * provId
6673
- * @type {number}
6674
- * @memberof ShipmentModel
6675
- */
6676
- 'provId'?: number;
6677
- }
6678
- /**
6679
- * Shipment Request
6680
- * @export
6681
- * @interface ShipmentRequestDTO
6682
- */
6683
- export interface ShipmentRequestDTO {
6684
- /**
6685
- * Courier
6686
- * @type {string}
6687
- * @memberof ShipmentRequestDTO
6688
- */
6689
- 'courier'?: ShipmentRequestDTOCourierEnum;
6690
- /**
6691
- *
6692
- * @type {AddressModel}
6693
- * @memberof ShipmentRequestDTO
6694
- */
6695
- 'address'?: AddressModel | null;
6696
- /**
6697
- * Scanned Lines
6698
- * @type {Array<string>}
6699
- * @memberof ShipmentRequestDTO
6700
- */
6701
- 'scannedLines'?: Array<string>;
6702
- /**
6703
- * Service
6704
- * @type {string}
6705
- * @memberof ShipmentRequestDTO
6706
- */
6707
- 'service'?: string;
6708
- /**
6709
- * Date Time
6710
- * @type {string}
6711
- * @memberof ShipmentRequestDTO
6712
- */
6713
- 'shipDate'?: string;
6714
- /**
6715
- * Items
6716
- * @type {Array<ShipmentItemDTO>}
6717
- * @memberof ShipmentRequestDTO
6718
- */
6719
- 'items'?: Array<ShipmentItemDTO>;
6720
- }
6721
- export declare const ShipmentRequestDTOCourierEnum: {
6722
- readonly Dpd: "DPD";
6723
- readonly ChorltonPallet: "Chorlton Pallet";
6724
- readonly Pops: "POPS";
6725
- };
6726
- export type ShipmentRequestDTOCourierEnum = typeof ShipmentRequestDTOCourierEnum[keyof typeof ShipmentRequestDTOCourierEnum];
6727
- /**
6728
- *
6729
- * @export
6730
- * @interface ShippingConsignmentModel
6731
- */
6732
- export interface ShippingConsignmentModel {
6733
- /**
6734
- *
6735
- * @type {ShippingServiceModel}
6736
- * @memberof ShippingConsignmentModel
6737
- */
6738
- 'service'?: ShippingServiceModel;
6739
- /**
6740
- * ID/Number
6741
- * @type {string}
6742
- * @memberof ShippingConsignmentModel
6743
- */
6744
- 'id'?: string;
6745
- /**
6746
- * Tracking Number
6747
- * @type {string}
6748
- * @memberof ShippingConsignmentModel
6749
- */
6750
- 'trackingNumber'?: string;
6751
- /**
6752
- * Parcels
6753
- * @type {Array<string>}
6754
- * @memberof ShippingConsignmentModel
6755
- */
6756
- 'parcelIds'?: Array<string>;
6757
- }
6758
- /**
6759
- * Shipping Information
6760
- * @export
6761
- * @interface ShippingInformationDTO
6762
- */
6763
- export interface ShippingInformationDTO {
6764
- /**
6765
- * Items
6766
- * @type {Array<BasicItemDTO>}
6767
- * @memberof ShippingInformationDTO
6768
- */
6769
- 'items'?: Array<BasicItemDTO>;
6770
- /**
6771
- * Destination Post Code
6772
- * @type {string}
6773
- * @memberof ShippingInformationDTO
6774
- */
6775
- 'postalCode'?: string;
6776
- /**
6777
- * Destination ISO
6778
- * @type {string}
6779
- * @memberof ShippingInformationDTO
5759
+ * @memberof ShippingInformationDTO
6780
5760
  */
6781
5761
  'iso'?: string;
6782
5762
  }
6783
- /**
6784
- *
6785
- * @export
6786
- * @interface ShippingRequestDTO
6787
- */
6788
- export interface ShippingRequestDTO {
6789
- /**
6790
- * Courier
6791
- * @type {string}
6792
- * @memberof ShippingRequestDTO
6793
- */
6794
- 'courier'?: ShippingRequestDTOCourierEnum;
6795
- /**
6796
- * Courier Service
6797
- * @type {string}
6798
- * @memberof ShippingRequestDTO
6799
- */
6800
- 'service'?: string;
6801
- /**
6802
- * Boxes
6803
- * @type {number}
6804
- * @memberof ShippingRequestDTO
6805
- */
6806
- 'boxes'?: number;
6807
- }
6808
- export declare const ShippingRequestDTOCourierEnum: {
6809
- readonly Dpd: "DPD";
6810
- readonly ChorltonPallet: "Chorlton Pallet";
6811
- readonly Pops: "POPS";
6812
- };
6813
- export type ShippingRequestDTOCourierEnum = typeof ShippingRequestDTOCourierEnum[keyof typeof ShippingRequestDTOCourierEnum];
6814
5763
  /**
6815
5764
  * Shipping Service
6816
5765
  * @export
@@ -8418,67 +7367,6 @@ export interface SupplierItemEntity {
8418
7367
  */
8419
7368
  'supplierSku'?: string;
8420
7369
  }
8421
- /**
8422
- * Supplier
8423
- * @export
8424
- * @interface SupplierModel
8425
- */
8426
- export interface SupplierModel {
8427
- /**
8428
- * id
8429
- * @type {number}
8430
- * @memberof SupplierModel
8431
- */
8432
- 'id'?: number;
8433
- /**
8434
- * name
8435
- * @type {string}
8436
- * @memberof SupplierModel
8437
- */
8438
- 'name'?: string;
8439
- /**
8440
- * nameShort
8441
- * @type {string}
8442
- * @memberof SupplierModel
8443
- */
8444
- 'shortName'?: string;
8445
- /**
8446
- * email
8447
- * @type {string}
8448
- * @memberof SupplierModel
8449
- */
8450
- 'email'?: string;
8451
- /**
8452
- * phone
8453
- * @type {string}
8454
- * @memberof SupplierModel
8455
- */
8456
- 'phone'?: string;
8457
- /**
8458
- * defaultCourier
8459
- * @type {string}
8460
- * @memberof SupplierModel
8461
- */
8462
- 'defaultCourier'?: string;
8463
- /**
8464
- * defaultCarriage
8465
- * @type {number}
8466
- * @memberof SupplierModel
8467
- */
8468
- 'defaultCarriage'?: number;
8469
- /**
8470
- * account
8471
- * @type {string}
8472
- * @memberof SupplierModel
8473
- */
8474
- 'accountNumber'?: string;
8475
- /**
8476
- * internalAccount
8477
- * @type {string}
8478
- * @memberof SupplierModel
8479
- */
8480
- 'xeroAccountNumber'?: string;
8481
- }
8482
7370
  /**
8483
7371
  * 3CX Wizard Restore From Backup
8484
7372
  * @export
@@ -14465,16 +13353,6 @@ export type PostAuthoriseScopeEnum = typeof PostAuthoriseScopeEnum[keyof typeof
14465
13353
  * @export
14466
13354
  */
14467
13355
  export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration) => {
14468
- /**
14469
- * Delete Shipment (Admin)
14470
- * @summary Delete Shipment (Admin)
14471
- * @param {number} id Order ID
14472
- * @param {number} batchId Batch ID
14473
- * @param {number} shipmentId Shipment ID
14474
- * @param {*} [options] Override http request option.
14475
- * @throws {RequiredError}
14476
- */
14477
- deleteCreateShipment: (id: number, batchId: number, shipmentId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14478
13356
  /**
14479
13357
  * Delete Orders (Beta)
14480
13358
  * @summary Delete Orders (Beta)
@@ -14491,14 +13369,6 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
14491
13369
  * @throws {RequiredError}
14492
13370
  */
14493
13371
  getGetAdminEditableOrder: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14494
- /**
14495
- * Get Order Details (Admin)
14496
- * @summary Get Order Details (Admin)
14497
- * @param {number} id Order ID
14498
- * @param {*} [options] Override http request option.
14499
- * @throws {RequiredError}
14500
- */
14501
- getGetAdminOrderDetails: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14502
13372
  /**
14503
13373
  * Get Editable Order (Beta)
14504
13374
  * @summary Get Editable Order (Beta)
@@ -14507,14 +13377,6 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
14507
13377
  * @throws {RequiredError}
14508
13378
  */
14509
13379
  getGetEditableOrder: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14510
- /**
14511
- * Download Order PDF
14512
- * @summary Download Order PDF
14513
- * @param {number} id Order ID
14514
- * @param {*} [options] Override http request option.
14515
- * @throws {RequiredError}
14516
- */
14517
- getGetOrderPdf: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14518
13380
  /**
14519
13381
  * Get Orders (Beta)
14520
13382
  * @summary Get Orders (Beta)
@@ -14529,15 +13391,6 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
14529
13391
  * @throws {RequiredError}
14530
13392
  */
14531
13393
  getGetOrders: (pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14532
- /**
14533
- * Add Order Note
14534
- * @summary Add Order Note
14535
- * @param {number} id Order ID
14536
- * @param {PostAddOrderNoteRequest} [postAddOrderNoteRequest]
14537
- * @param {*} [options] Override http request option.
14538
- * @throws {RequiredError}
14539
- */
14540
- postAddOrderNote: (id: number, postAddOrderNoteRequest?: PostAddOrderNoteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14541
13394
  /**
14542
13395
  * Create An Order (Admin)
14543
13396
  * @summary Create An Order (Admin)
@@ -14547,26 +13400,6 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
14547
13400
  * @throws {RequiredError}
14548
13401
  */
14549
13402
  postCreateAdminOrder: (readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14550
- /**
14551
- * Create Shipping Consignment
14552
- * @summary Create Shipping Consignment
14553
- * @param {number} id Order ID
14554
- * @param {number} shipmentId Shipment ID
14555
- * @param {ShippingRequestDTO} [shippingRequestDTO] Shipping Request
14556
- * @param {*} [options] Override http request option.
14557
- * @throws {RequiredError}
14558
- */
14559
- postCreateConsignment: (id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14560
- /**
14561
- * Create Shipment (Admin)
14562
- * @summary Create Shipment (Admin)
14563
- * @param {number} id Order ID
14564
- * @param {number} batchId Batch ID
14565
- * @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
14566
- * @param {*} [options] Override http request option.
14567
- * @throws {RequiredError}
14568
- */
14569
- postCreateShipment: (id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14570
13403
  /**
14571
13404
  * Create An Order (Beta)
14572
13405
  * @summary Create An Order (Beta)
@@ -14576,73 +13409,6 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
14576
13409
  * @throws {RequiredError}
14577
13410
  */
14578
13411
  postGetOrders: (readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14579
- /**
14580
- * Issue Credit (Admin)
14581
- * @summary Issue Credit (Admin)
14582
- * @param {number} id Order ID
14583
- * @param {CreditNoteDTO} [creditNoteDTO] Credit Request
14584
- * @param {*} [options] Override http request option.
14585
- * @throws {RequiredError}
14586
- */
14587
- postIssueCredit: (id: number, creditNoteDTO?: CreditNoteDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14588
- /**
14589
- * Print Shipment Label
14590
- * @summary Print Shipment Label
14591
- * @param {number} id Order ID
14592
- * @param {number} shipmentId Shipment ID
14593
- * @param {PostPrintShippingLabelPrinterEnum} printer Printer
14594
- * @param {*} [options] Override http request option.
14595
- * @throws {RequiredError}
14596
- */
14597
- postPrintShippingLabel: (id: number, shipmentId: number, printer: PostPrintShippingLabelPrinterEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14598
- /**
14599
- * Send Order Email
14600
- * @summary Send Order Email
14601
- * @param {number} id Order ID
14602
- * @param {string} email Email Address
14603
- * @param {*} [options] Override http request option.
14604
- * @throws {RequiredError}
14605
- */
14606
- postSendOrderEmail: (id: number, email: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14607
- /**
14608
- * Send Supplier Email
14609
- * @summary Send Supplier Email
14610
- * @param {number} id Order ID
14611
- * @param {number} batchId Batch ID
14612
- * @param {*} [options] Override http request option.
14613
- * @throws {RequiredError}
14614
- */
14615
- postSendSupplierEmail: (id: number, batchId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14616
- /**
14617
- * Split Order
14618
- * @summary Split Order
14619
- * @param {number} id Order ID
14620
- * @param {PostSplitOrderRequest} [postSplitOrderRequest]
14621
- * @param {*} [options] Override http request option.
14622
- * @throws {RequiredError}
14623
- */
14624
- postSplitOrder: (id: number, postSplitOrderRequest?: PostSplitOrderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14625
- /**
14626
- * Allocate Items To Supplier
14627
- * @summary Allocate Items To Supplier
14628
- * @param {number} id Order ID
14629
- * @param {number} supplierId Supplier ID
14630
- * @param {PutAllocateItemsRequest} [putAllocateItemsRequest]
14631
- * @param {*} [options] Override http request option.
14632
- * @throws {RequiredError}
14633
- */
14634
- putAllocateItems: (id: number, supplierId: number, putAllocateItemsRequest?: PutAllocateItemsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14635
- /**
14636
- * Update Shipment (Admin)
14637
- * @summary Update Shipment (Admin)
14638
- * @param {number} id Order ID
14639
- * @param {number} batchId Batch ID
14640
- * @param {number} shipmentId Shipment ID
14641
- * @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
14642
- * @param {*} [options] Override http request option.
14643
- * @throws {RequiredError}
14644
- */
14645
- putCreateShipment: (id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14646
13412
  /**
14647
13413
  * Update An Order (Admin)
14648
13414
  * @summary Update An Order (Admin)
@@ -14669,16 +13435,6 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
14669
13435
  * @export
14670
13436
  */
14671
13437
  export declare const OrdersApiFp: (configuration?: Configuration) => {
14672
- /**
14673
- * Delete Shipment (Admin)
14674
- * @summary Delete Shipment (Admin)
14675
- * @param {number} id Order ID
14676
- * @param {number} batchId Batch ID
14677
- * @param {number} shipmentId Shipment ID
14678
- * @param {*} [options] Override http request option.
14679
- * @throws {RequiredError}
14680
- */
14681
- deleteCreateShipment(id: number, batchId: number, shipmentId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
14682
13438
  /**
14683
13439
  * Delete Orders (Beta)
14684
13440
  * @summary Delete Orders (Beta)
@@ -14695,14 +13451,6 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
14695
13451
  * @throws {RequiredError}
14696
13452
  */
14697
13453
  getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminOrderRequestDTO>>;
14698
- /**
14699
- * Get Order Details (Admin)
14700
- * @summary Get Order Details (Admin)
14701
- * @param {number} id Order ID
14702
- * @param {*} [options] Override http request option.
14703
- * @throws {RequiredError}
14704
- */
14705
- getGetAdminOrderDetails(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderDetailsDTO>>;
14706
13454
  /**
14707
13455
  * Get Editable Order (Beta)
14708
13456
  * @summary Get Editable Order (Beta)
@@ -14711,14 +13459,6 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
14711
13459
  * @throws {RequiredError}
14712
13460
  */
14713
13461
  getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DetailedOrderRequestDTO>>;
14714
- /**
14715
- * Download Order PDF
14716
- * @summary Download Order PDF
14717
- * @param {number} id Order ID
14718
- * @param {*} [options] Override http request option.
14719
- * @throws {RequiredError}
14720
- */
14721
- getGetOrderPdf(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
14722
13462
  /**
14723
13463
  * Get Orders (Beta)
14724
13464
  * @summary Get Orders (Beta)
@@ -14733,15 +13473,6 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
14733
13473
  * @throws {RequiredError}
14734
13474
  */
14735
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>>;
14736
- /**
14737
- * Add Order Note
14738
- * @summary Add Order Note
14739
- * @param {number} id Order ID
14740
- * @param {PostAddOrderNoteRequest} [postAddOrderNoteRequest]
14741
- * @param {*} [options] Override http request option.
14742
- * @throws {RequiredError}
14743
- */
14744
- postAddOrderNote(id: number, postAddOrderNoteRequest?: PostAddOrderNoteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
14745
13476
  /**
14746
13477
  * Create An Order (Admin)
14747
13478
  * @summary Create An Order (Admin)
@@ -14751,26 +13482,6 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
14751
13482
  * @throws {RequiredError}
14752
13483
  */
14753
13484
  postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>>;
14754
- /**
14755
- * Create Shipping Consignment
14756
- * @summary Create Shipping Consignment
14757
- * @param {number} id Order ID
14758
- * @param {number} shipmentId Shipment ID
14759
- * @param {ShippingRequestDTO} [shippingRequestDTO] Shipping Request
14760
- * @param {*} [options] Override http request option.
14761
- * @throws {RequiredError}
14762
- */
14763
- postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentModel>>;
14764
- /**
14765
- * Create Shipment (Admin)
14766
- * @summary Create Shipment (Admin)
14767
- * @param {number} id Order ID
14768
- * @param {number} batchId Batch ID
14769
- * @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
14770
- * @param {*} [options] Override http request option.
14771
- * @throws {RequiredError}
14772
- */
14773
- postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentModel>>;
14774
13485
  /**
14775
13486
  * Create An Order (Beta)
14776
13487
  * @summary Create An Order (Beta)
@@ -14780,73 +13491,6 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
14780
13491
  * @throws {RequiredError}
14781
13492
  */
14782
13493
  postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>>;
14783
- /**
14784
- * Issue Credit (Admin)
14785
- * @summary Issue Credit (Admin)
14786
- * @param {number} id Order ID
14787
- * @param {CreditNoteDTO} [creditNoteDTO] Credit Request
14788
- * @param {*} [options] Override http request option.
14789
- * @throws {RequiredError}
14790
- */
14791
- postIssueCredit(id: number, creditNoteDTO?: CreditNoteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreditNoteModel>>;
14792
- /**
14793
- * Print Shipment Label
14794
- * @summary Print Shipment Label
14795
- * @param {number} id Order ID
14796
- * @param {number} shipmentId Shipment ID
14797
- * @param {PostPrintShippingLabelPrinterEnum} printer Printer
14798
- * @param {*} [options] Override http request option.
14799
- * @throws {RequiredError}
14800
- */
14801
- postPrintShippingLabel(id: number, shipmentId: number, printer: PostPrintShippingLabelPrinterEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
14802
- /**
14803
- * Send Order Email
14804
- * @summary Send Order Email
14805
- * @param {number} id Order ID
14806
- * @param {string} email Email Address
14807
- * @param {*} [options] Override http request option.
14808
- * @throws {RequiredError}
14809
- */
14810
- postSendOrderEmail(id: number, email: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
14811
- /**
14812
- * Send Supplier Email
14813
- * @summary Send Supplier Email
14814
- * @param {number} id Order ID
14815
- * @param {number} batchId Batch ID
14816
- * @param {*} [options] Override http request option.
14817
- * @throws {RequiredError}
14818
- */
14819
- postSendSupplierEmail(id: number, batchId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
14820
- /**
14821
- * Split Order
14822
- * @summary Split Order
14823
- * @param {number} id Order ID
14824
- * @param {PostSplitOrderRequest} [postSplitOrderRequest]
14825
- * @param {*} [options] Override http request option.
14826
- * @throws {RequiredError}
14827
- */
14828
- postSplitOrder(id: number, postSplitOrderRequest?: PostSplitOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>>;
14829
- /**
14830
- * Allocate Items To Supplier
14831
- * @summary Allocate Items To Supplier
14832
- * @param {number} id Order ID
14833
- * @param {number} supplierId Supplier ID
14834
- * @param {PutAllocateItemsRequest} [putAllocateItemsRequest]
14835
- * @param {*} [options] Override http request option.
14836
- * @throws {RequiredError}
14837
- */
14838
- putAllocateItems(id: number, supplierId: number, putAllocateItemsRequest?: PutAllocateItemsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
14839
- /**
14840
- * Update Shipment (Admin)
14841
- * @summary Update Shipment (Admin)
14842
- * @param {number} id Order ID
14843
- * @param {number} batchId Batch ID
14844
- * @param {number} shipmentId Shipment ID
14845
- * @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
14846
- * @param {*} [options] Override http request option.
14847
- * @throws {RequiredError}
14848
- */
14849
- putCreateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentModel>>;
14850
13494
  /**
14851
13495
  * Update An Order (Admin)
14852
13496
  * @summary Update An Order (Admin)
@@ -14873,16 +13517,6 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
14873
13517
  * @export
14874
13518
  */
14875
13519
  export declare const OrdersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14876
- /**
14877
- * Delete Shipment (Admin)
14878
- * @summary Delete Shipment (Admin)
14879
- * @param {number} id Order ID
14880
- * @param {number} batchId Batch ID
14881
- * @param {number} shipmentId Shipment ID
14882
- * @param {*} [options] Override http request option.
14883
- * @throws {RequiredError}
14884
- */
14885
- deleteCreateShipment(id: number, batchId: number, shipmentId: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
14886
13520
  /**
14887
13521
  * Delete Orders (Beta)
14888
13522
  * @summary Delete Orders (Beta)
@@ -14899,14 +13533,6 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
14899
13533
  * @throws {RequiredError}
14900
13534
  */
14901
13535
  getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AdminOrderRequestDTO>;
14902
- /**
14903
- * Get Order Details (Admin)
14904
- * @summary Get Order Details (Admin)
14905
- * @param {number} id Order ID
14906
- * @param {*} [options] Override http request option.
14907
- * @throws {RequiredError}
14908
- */
14909
- getGetAdminOrderDetails(id: number, options?: RawAxiosRequestConfig): AxiosPromise<OrderDetailsDTO>;
14910
13536
  /**
14911
13537
  * Get Editable Order (Beta)
14912
13538
  * @summary Get Editable Order (Beta)
@@ -14915,14 +13541,6 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
14915
13541
  * @throws {RequiredError}
14916
13542
  */
14917
13543
  getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<DetailedOrderRequestDTO>;
14918
- /**
14919
- * Download Order PDF
14920
- * @summary Download Order PDF
14921
- * @param {number} id Order ID
14922
- * @param {*} [options] Override http request option.
14923
- * @throws {RequiredError}
14924
- */
14925
- getGetOrderPdf(id: number, options?: RawAxiosRequestConfig): AxiosPromise<File>;
14926
13544
  /**
14927
13545
  * Get Orders (Beta)
14928
13546
  * @summary Get Orders (Beta)
@@ -14937,15 +13555,6 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
14937
13555
  * @throws {RequiredError}
14938
13556
  */
14939
13557
  getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel>;
14940
- /**
14941
- * Add Order Note
14942
- * @summary Add Order Note
14943
- * @param {number} id Order ID
14944
- * @param {PostAddOrderNoteRequest} [postAddOrderNoteRequest]
14945
- * @param {*} [options] Override http request option.
14946
- * @throws {RequiredError}
14947
- */
14948
- postAddOrderNote(id: number, postAddOrderNoteRequest?: PostAddOrderNoteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
14949
13558
  /**
14950
13559
  * Create An Order (Admin)
14951
13560
  * @summary Create An Order (Admin)
@@ -14955,26 +13564,6 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
14955
13564
  * @throws {RequiredError}
14956
13565
  */
14957
13566
  postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>>;
14958
- /**
14959
- * Create Shipping Consignment
14960
- * @summary Create Shipping Consignment
14961
- * @param {number} id Order ID
14962
- * @param {number} shipmentId Shipment ID
14963
- * @param {ShippingRequestDTO} [shippingRequestDTO] Shipping Request
14964
- * @param {*} [options] Override http request option.
14965
- * @throws {RequiredError}
14966
- */
14967
- postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentModel>;
14968
- /**
14969
- * Create Shipment (Admin)
14970
- * @summary Create Shipment (Admin)
14971
- * @param {number} id Order ID
14972
- * @param {number} batchId Batch ID
14973
- * @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
14974
- * @param {*} [options] Override http request option.
14975
- * @throws {RequiredError}
14976
- */
14977
- postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentModel>;
14978
13567
  /**
14979
13568
  * Create An Order (Beta)
14980
13569
  * @summary Create An Order (Beta)
@@ -14984,73 +13573,6 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
14984
13573
  * @throws {RequiredError}
14985
13574
  */
14986
13575
  postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>>;
14987
- /**
14988
- * Issue Credit (Admin)
14989
- * @summary Issue Credit (Admin)
14990
- * @param {number} id Order ID
14991
- * @param {CreditNoteDTO} [creditNoteDTO] Credit Request
14992
- * @param {*} [options] Override http request option.
14993
- * @throws {RequiredError}
14994
- */
14995
- postIssueCredit(id: number, creditNoteDTO?: CreditNoteDTO, options?: RawAxiosRequestConfig): AxiosPromise<CreditNoteModel>;
14996
- /**
14997
- * Print Shipment Label
14998
- * @summary Print Shipment Label
14999
- * @param {number} id Order ID
15000
- * @param {number} shipmentId Shipment ID
15001
- * @param {PostPrintShippingLabelPrinterEnum} printer Printer
15002
- * @param {*} [options] Override http request option.
15003
- * @throws {RequiredError}
15004
- */
15005
- postPrintShippingLabel(id: number, shipmentId: number, printer: PostPrintShippingLabelPrinterEnum, options?: RawAxiosRequestConfig): AxiosPromise<File>;
15006
- /**
15007
- * Send Order Email
15008
- * @summary Send Order Email
15009
- * @param {number} id Order ID
15010
- * @param {string} email Email Address
15011
- * @param {*} [options] Override http request option.
15012
- * @throws {RequiredError}
15013
- */
15014
- postSendOrderEmail(id: number, email: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
15015
- /**
15016
- * Send Supplier Email
15017
- * @summary Send Supplier Email
15018
- * @param {number} id Order ID
15019
- * @param {number} batchId Batch ID
15020
- * @param {*} [options] Override http request option.
15021
- * @throws {RequiredError}
15022
- */
15023
- postSendSupplierEmail(id: number, batchId: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
15024
- /**
15025
- * Split Order
15026
- * @summary Split Order
15027
- * @param {number} id Order ID
15028
- * @param {PostSplitOrderRequest} [postSplitOrderRequest]
15029
- * @param {*} [options] Override http request option.
15030
- * @throws {RequiredError}
15031
- */
15032
- postSplitOrder(id: number, postSplitOrderRequest?: PostSplitOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>>;
15033
- /**
15034
- * Allocate Items To Supplier
15035
- * @summary Allocate Items To Supplier
15036
- * @param {number} id Order ID
15037
- * @param {number} supplierId Supplier ID
15038
- * @param {PutAllocateItemsRequest} [putAllocateItemsRequest]
15039
- * @param {*} [options] Override http request option.
15040
- * @throws {RequiredError}
15041
- */
15042
- putAllocateItems(id: number, supplierId: number, putAllocateItemsRequest?: PutAllocateItemsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
15043
- /**
15044
- * Update Shipment (Admin)
15045
- * @summary Update Shipment (Admin)
15046
- * @param {number} id Order ID
15047
- * @param {number} batchId Batch ID
15048
- * @param {number} shipmentId Shipment ID
15049
- * @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
15050
- * @param {*} [options] Override http request option.
15051
- * @throws {RequiredError}
15052
- */
15053
- putCreateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentModel>;
15054
13576
  /**
15055
13577
  * Update An Order (Admin)
15056
13578
  * @summary Update An Order (Admin)
@@ -15079,17 +13601,6 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
15079
13601
  * @extends {BaseAPI}
15080
13602
  */
15081
13603
  export declare class OrdersApi extends BaseAPI {
15082
- /**
15083
- * Delete Shipment (Admin)
15084
- * @summary Delete Shipment (Admin)
15085
- * @param {number} id Order ID
15086
- * @param {number} batchId Batch ID
15087
- * @param {number} shipmentId Shipment ID
15088
- * @param {*} [options] Override http request option.
15089
- * @throws {RequiredError}
15090
- * @memberof OrdersApi
15091
- */
15092
- deleteCreateShipment(id: number, batchId: number, shipmentId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
15093
13604
  /**
15094
13605
  * Delete Orders (Beta)
15095
13606
  * @summary Delete Orders (Beta)
@@ -15108,15 +13619,6 @@ export declare class OrdersApi extends BaseAPI {
15108
13619
  * @memberof OrdersApi
15109
13620
  */
15110
13621
  getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminOrderRequestDTO, any, {}>>;
15111
- /**
15112
- * Get Order Details (Admin)
15113
- * @summary Get Order Details (Admin)
15114
- * @param {number} id Order ID
15115
- * @param {*} [options] Override http request option.
15116
- * @throws {RequiredError}
15117
- * @memberof OrdersApi
15118
- */
15119
- getGetAdminOrderDetails(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderDetailsDTO, any, {}>>;
15120
13622
  /**
15121
13623
  * Get Editable Order (Beta)
15122
13624
  * @summary Get Editable Order (Beta)
@@ -15126,15 +13628,6 @@ export declare class OrdersApi extends BaseAPI {
15126
13628
  * @memberof OrdersApi
15127
13629
  */
15128
13630
  getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DetailedOrderRequestDTO, any, {}>>;
15129
- /**
15130
- * Download Order PDF
15131
- * @summary Download Order PDF
15132
- * @param {number} id Order ID
15133
- * @param {*} [options] Override http request option.
15134
- * @throws {RequiredError}
15135
- * @memberof OrdersApi
15136
- */
15137
- getGetOrderPdf(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
15138
13631
  /**
15139
13632
  * Get Orders (Beta)
15140
13633
  * @summary Get Orders (Beta)
@@ -15150,16 +13643,6 @@ export declare class OrdersApi extends BaseAPI {
15150
13643
  * @memberof OrdersApi
15151
13644
  */
15152
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, {}>>;
15153
- /**
15154
- * Add Order Note
15155
- * @summary Add Order Note
15156
- * @param {number} id Order ID
15157
- * @param {PostAddOrderNoteRequest} [postAddOrderNoteRequest]
15158
- * @param {*} [options] Override http request option.
15159
- * @throws {RequiredError}
15160
- * @memberof OrdersApi
15161
- */
15162
- postAddOrderNote(id: number, postAddOrderNoteRequest?: PostAddOrderNoteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
15163
13646
  /**
15164
13647
  * Create An Order (Admin)
15165
13648
  * @summary Create An Order (Admin)
@@ -15170,28 +13653,6 @@ export declare class OrdersApi extends BaseAPI {
15170
13653
  * @memberof OrdersApi
15171
13654
  */
15172
13655
  postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderSummaryDTO[], any, {}>>;
15173
- /**
15174
- * Create Shipping Consignment
15175
- * @summary Create Shipping Consignment
15176
- * @param {number} id Order ID
15177
- * @param {number} shipmentId Shipment ID
15178
- * @param {ShippingRequestDTO} [shippingRequestDTO] Shipping Request
15179
- * @param {*} [options] Override http request option.
15180
- * @throws {RequiredError}
15181
- * @memberof OrdersApi
15182
- */
15183
- postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShipmentModel, any, {}>>;
15184
- /**
15185
- * Create Shipment (Admin)
15186
- * @summary Create Shipment (Admin)
15187
- * @param {number} id Order ID
15188
- * @param {number} batchId Batch ID
15189
- * @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
15190
- * @param {*} [options] Override http request option.
15191
- * @throws {RequiredError}
15192
- * @memberof OrdersApi
15193
- */
15194
- postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShipmentModel, any, {}>>;
15195
13656
  /**
15196
13657
  * Create An Order (Beta)
15197
13658
  * @summary Create An Order (Beta)
@@ -15202,80 +13663,6 @@ export declare class OrdersApi extends BaseAPI {
15202
13663
  * @memberof OrdersApi
15203
13664
  */
15204
13665
  postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderSummaryDTO[], any, {}>>;
15205
- /**
15206
- * Issue Credit (Admin)
15207
- * @summary Issue Credit (Admin)
15208
- * @param {number} id Order ID
15209
- * @param {CreditNoteDTO} [creditNoteDTO] Credit Request
15210
- * @param {*} [options] Override http request option.
15211
- * @throws {RequiredError}
15212
- * @memberof OrdersApi
15213
- */
15214
- postIssueCredit(id: number, creditNoteDTO?: CreditNoteDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditNoteModel, any, {}>>;
15215
- /**
15216
- * Print Shipment Label
15217
- * @summary Print Shipment Label
15218
- * @param {number} id Order ID
15219
- * @param {number} shipmentId Shipment ID
15220
- * @param {PostPrintShippingLabelPrinterEnum} printer Printer
15221
- * @param {*} [options] Override http request option.
15222
- * @throws {RequiredError}
15223
- * @memberof OrdersApi
15224
- */
15225
- postPrintShippingLabel(id: number, shipmentId: number, printer: PostPrintShippingLabelPrinterEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
15226
- /**
15227
- * Send Order Email
15228
- * @summary Send Order Email
15229
- * @param {number} id Order ID
15230
- * @param {string} email Email Address
15231
- * @param {*} [options] Override http request option.
15232
- * @throws {RequiredError}
15233
- * @memberof OrdersApi
15234
- */
15235
- postSendOrderEmail(id: number, email: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
15236
- /**
15237
- * Send Supplier Email
15238
- * @summary Send Supplier Email
15239
- * @param {number} id Order ID
15240
- * @param {number} batchId Batch ID
15241
- * @param {*} [options] Override http request option.
15242
- * @throws {RequiredError}
15243
- * @memberof OrdersApi
15244
- */
15245
- postSendSupplierEmail(id: number, batchId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
15246
- /**
15247
- * Split Order
15248
- * @summary Split Order
15249
- * @param {number} id Order ID
15250
- * @param {PostSplitOrderRequest} [postSplitOrderRequest]
15251
- * @param {*} [options] Override http request option.
15252
- * @throws {RequiredError}
15253
- * @memberof OrdersApi
15254
- */
15255
- postSplitOrder(id: number, postSplitOrderRequest?: PostSplitOrderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderSummaryDTO[], any, {}>>;
15256
- /**
15257
- * Allocate Items To Supplier
15258
- * @summary Allocate Items To Supplier
15259
- * @param {number} id Order ID
15260
- * @param {number} supplierId Supplier ID
15261
- * @param {PutAllocateItemsRequest} [putAllocateItemsRequest]
15262
- * @param {*} [options] Override http request option.
15263
- * @throws {RequiredError}
15264
- * @memberof OrdersApi
15265
- */
15266
- putAllocateItems(id: number, supplierId: number, putAllocateItemsRequest?: PutAllocateItemsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
15267
- /**
15268
- * Update Shipment (Admin)
15269
- * @summary Update Shipment (Admin)
15270
- * @param {number} id Order ID
15271
- * @param {number} batchId Batch ID
15272
- * @param {number} shipmentId Shipment ID
15273
- * @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
15274
- * @param {*} [options] Override http request option.
15275
- * @throws {RequiredError}
15276
- * @memberof OrdersApi
15277
- */
15278
- putCreateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShipmentModel, any, {}>>;
15279
13666
  /**
15280
13667
  * Update An Order (Admin)
15281
13668
  * @summary Update An Order (Admin)
@@ -15319,15 +13706,6 @@ export declare const GetGetOrdersFilterEnum: {
15319
13706
  readonly BackOrders: "BACK_ORDERS";
15320
13707
  };
15321
13708
  export type GetGetOrdersFilterEnum = typeof GetGetOrdersFilterEnum[keyof typeof GetGetOrdersFilterEnum];
15322
- /**
15323
- * @export
15324
- */
15325
- export declare const PostPrintShippingLabelPrinterEnum: {
15326
- readonly NUMBER_1: 1;
15327
- readonly NUMBER_2: 2;
15328
- readonly NUMBER_3: 3;
15329
- };
15330
- export type PostPrintShippingLabelPrinterEnum = typeof PostPrintShippingLabelPrinterEnum[keyof typeof PostPrintShippingLabelPrinterEnum];
15331
13709
  /**
15332
13710
  * PricingApi - axios parameter creator
15333
13711
  * @export