yellowgrid-api-ts 3.2.54-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.
- package/.openapi-generator/FILES +229 -249
- package/README.md +0 -34
- package/api.ts +206 -2366
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/config.json +3 -3
- package/configuration.ts +1 -1
- package/dist/api.d.ts +109 -1725
- package/dist/api.js +84 -1379
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/OrdersApi.md +12 -788
- package/getEnums.php +31 -31
- package/index.ts +1 -1
- package/package.json +1 -1
- package/dist/models/CourierEnum.d.ts +0 -18
- package/dist/models/CourierEnum.js +0 -20
- package/dist/models/PrinterEnum.d.ts +0 -18
- package/dist/models/PrinterEnum.js +0 -20
- package/docs/BatchDTO.md +0 -57
- package/docs/CreditNoteDTO.md +0 -21
- package/docs/CreditNoteEntity.md +0 -29
- package/docs/CreditNoteItemDTO.md +0 -25
- package/docs/CreditNoteItemEntity.md +0 -29
- package/docs/CreditNoteModel.md +0 -29
- package/docs/OrderDetailsDTO.md +0 -63
- package/docs/OrderItemDTO.md +0 -51
- package/docs/OrderedItemModel.md +0 -47
- package/docs/PostAddOrderNoteRequest.md +0 -20
- package/docs/PostSplitOrderRequest.md +0 -20
- package/docs/PrinterEntity.md +0 -29
- package/docs/PutAllocateItemsRequest.md +0 -20
- package/docs/PutAllocateItemsRequestItemsInner.md +0 -22
- package/docs/ShipmentDTO.md +0 -31
- package/docs/ShipmentItemDTO.md +0 -23
- package/docs/ShipmentItemModel.md +0 -29
- package/docs/ShipmentModel.md +0 -43
- package/docs/ShipmentRequestDTO.md +0 -31
- package/docs/ShippingRequestDTO.md +0 -24
- package/docs/SupplierModel.md +0 -37
- package/hs_err_pid58424.log +0 -247
- package/models/CourierEnum.ts +0 -19
- package/models/PrinterEnum.ts +0 -19
package/api.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Yellowgrid
|
|
5
|
-
* Welcome to the Yellowgrid API documentation.
|
|
5
|
+
* Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `http://api.yellowgrid.local` For questions or technical support, please contact support@yellowgrid.co.uk.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0
|
|
8
8
|
*
|
|
@@ -1029,13 +1029,13 @@ export interface AuditLogEntity {
|
|
|
1029
1029
|
* @type {string}
|
|
1030
1030
|
* @memberof AuditLogEntity
|
|
1031
1031
|
*/
|
|
1032
|
-
'action'?:
|
|
1032
|
+
'action'?: string;
|
|
1033
1033
|
/**
|
|
1034
1034
|
* type
|
|
1035
1035
|
* @type {string}
|
|
1036
1036
|
* @memberof AuditLogEntity
|
|
1037
1037
|
*/
|
|
1038
|
-
'type'?:
|
|
1038
|
+
'type'?: string;
|
|
1039
1039
|
/**
|
|
1040
1040
|
* identifier
|
|
1041
1041
|
* @type {string}
|
|
@@ -1073,93 +1073,6 @@ export interface AuditLogEntity {
|
|
|
1073
1073
|
*/
|
|
1074
1074
|
'description'?: string;
|
|
1075
1075
|
}
|
|
1076
|
-
|
|
1077
|
-
export const AuditLogEntityActionEnum = {
|
|
1078
|
-
Create: 'CREATE',
|
|
1079
|
-
Read: 'READ',
|
|
1080
|
-
Update: 'UPDATE',
|
|
1081
|
-
Delete: 'DELETE'
|
|
1082
|
-
} as const;
|
|
1083
|
-
|
|
1084
|
-
export type AuditLogEntityActionEnum = typeof AuditLogEntityActionEnum[keyof typeof AuditLogEntityActionEnum];
|
|
1085
|
-
export const AuditLogEntityTypeEnum = {
|
|
1086
|
-
AuditLog: 'audit_log',
|
|
1087
|
-
PopsOrders: 'pops_orders',
|
|
1088
|
-
PopsAccountContacts: 'pops_account_contacts',
|
|
1089
|
-
ApiLog: 'api_log',
|
|
1090
|
-
PopsBatches: 'pops_batches',
|
|
1091
|
-
PopsCourierPrices: 'pops_courier_prices',
|
|
1092
|
-
PopsCreditAccounts: 'pops_credit_accounts',
|
|
1093
|
-
PopsCreditNotes: 'pops_credit_notes',
|
|
1094
|
-
PopsCreditNotesItems: 'pops_credit_notes_items',
|
|
1095
|
-
EdtechproClients: 'edtechpro_clients',
|
|
1096
|
-
EdtechproSchools: 'edtechpro_schools',
|
|
1097
|
-
FreshdeskTickets: 'freshdesk_tickets',
|
|
1098
|
-
PopsFtpAccounts: 'pops_ftp_accounts',
|
|
1099
|
-
ServiceEvents: 'service_events',
|
|
1100
|
-
ServiceEventUpdates: 'service_event_updates',
|
|
1101
|
-
ServiceEventSubscriptions: 'service_event_subscriptions',
|
|
1102
|
-
PopsInstanceFailoverIps: 'pops_instance_failover_ips',
|
|
1103
|
-
PopsOvhDeleteSchedule: 'pops_ovh_delete_schedule',
|
|
1104
|
-
PopsOvhInstances: 'pops_ovh_instances',
|
|
1105
|
-
PopsInstanceFailover: 'pops_instance_failover',
|
|
1106
|
-
PopsInstanceMonitoring: 'pops_instance_monitoring',
|
|
1107
|
-
PopsInstanceMonitoringLog: 'pops_instance_monitoring_log',
|
|
1108
|
-
PopsInstanceScheduledTasks: 'pops_instance_scheduled_tasks',
|
|
1109
|
-
PopsInstance3cxDetails: 'pops_instance_3cx_details',
|
|
1110
|
-
PopsInstanceUserCredentials: 'pops_instance_user_credentials',
|
|
1111
|
-
IpBlacklist: 'ip_blacklist',
|
|
1112
|
-
PopsItemDiscounts: 'pops_item_discounts',
|
|
1113
|
-
PopsItems: 'pops_items',
|
|
1114
|
-
PopsLinkedOrders: 'pops_linked_orders',
|
|
1115
|
-
PopsOfflineInstances: 'pops_offline_instances',
|
|
1116
|
-
PopsOrderedItems: 'pops_ordered_items',
|
|
1117
|
-
PopsPrizes: 'pops_prizes',
|
|
1118
|
-
PopsPrinters: 'pops_printers',
|
|
1119
|
-
PopsPromoCodes: 'pops_promo_codes',
|
|
1120
|
-
PopsPromoItems: 'pops_promo_items',
|
|
1121
|
-
PopsProvisioning: 'pops_provisioning',
|
|
1122
|
-
S3Buckets: 's3_buckets',
|
|
1123
|
-
PopsShipmentAddress: 'pops_shipment_address',
|
|
1124
|
-
PopsShipments: 'pops_shipments',
|
|
1125
|
-
PopsShipmentItems: 'pops_shipment_items',
|
|
1126
|
-
PopsSipTrunkChangeQueue: 'pops_sip_trunk_change_queue',
|
|
1127
|
-
PopsSipTrunks: 'pops_sip_trunks',
|
|
1128
|
-
PopsSms: 'pops_sms',
|
|
1129
|
-
PopsSmsNumbers: 'pops_sms_numbers',
|
|
1130
|
-
PopsSmsWhitelist: 'pops_sms_whitelist',
|
|
1131
|
-
PopsDistCourier: 'pops_dist_courier',
|
|
1132
|
-
PopsDistDeductions: 'pops_dist_deductions',
|
|
1133
|
-
PopsDistOrder: 'pops_dist_order',
|
|
1134
|
-
PopsDistItems: 'pops_dist_items',
|
|
1135
|
-
PopsDistPrices: 'pops_dist_prices',
|
|
1136
|
-
PopsDistManufacturer: 'pops_dist_manufacturer',
|
|
1137
|
-
PopsStockTransactions: 'pops_stock_transactions',
|
|
1138
|
-
PopsSuppliers: 'pops_suppliers',
|
|
1139
|
-
PopsSupplierItems: 'pops_supplier_items',
|
|
1140
|
-
Pops3cxBackup: 'pops_3cx_backup',
|
|
1141
|
-
Pops3cxBilling: 'pops_3cx_billing',
|
|
1142
|
-
PopsDeadLicences: 'pops_dead_licences',
|
|
1143
|
-
Pops3cxExts: 'pops_3cx_exts',
|
|
1144
|
-
PopsHostingPricing: 'pops_hosting_pricing',
|
|
1145
|
-
Pops3cxKeys: 'pops_3cx_keys',
|
|
1146
|
-
Pops3cxMacs: 'pops_3cx_macs',
|
|
1147
|
-
Pops3cxNumbers: 'pops_3cx_numbers',
|
|
1148
|
-
Pops3cxOfficeHours: 'pops_3cx_office_hours',
|
|
1149
|
-
Pops3cxPhones: 'pops_3cx_phones',
|
|
1150
|
-
Pops3cxSbc: 'pops_3cx_sbc',
|
|
1151
|
-
Pops3cxSetup: 'pops_3cx_setup',
|
|
1152
|
-
Pops3cxSipTrunks: 'pops_3cx_sip_trunks',
|
|
1153
|
-
Pops3cxUsers: 'pops_3cx_users',
|
|
1154
|
-
PopsUsers: 'pops_users',
|
|
1155
|
-
Webhook: 'webhook',
|
|
1156
|
-
PopsXeroLog: 'pops_xero_log',
|
|
1157
|
-
Oauth2Clients: 'oauth2_clients',
|
|
1158
|
-
Oauth2Tokens: 'oauth2_tokens'
|
|
1159
|
-
} as const;
|
|
1160
|
-
|
|
1161
|
-
export type AuditLogEntityTypeEnum = typeof AuditLogEntityTypeEnum[keyof typeof AuditLogEntityTypeEnum];
|
|
1162
|
-
|
|
1163
1076
|
/**
|
|
1164
1077
|
* OAuth Auth Code Response
|
|
1165
1078
|
* @export
|
|
@@ -1223,127 +1136,6 @@ export interface BasicProductDTO {
|
|
|
1223
1136
|
*/
|
|
1224
1137
|
'title'?: string;
|
|
1225
1138
|
}
|
|
1226
|
-
/**
|
|
1227
|
-
* Batch DTO
|
|
1228
|
-
* @export
|
|
1229
|
-
* @interface BatchDTO
|
|
1230
|
-
*/
|
|
1231
|
-
export interface BatchDTO {
|
|
1232
|
-
/**
|
|
1233
|
-
* id
|
|
1234
|
-
* @type {number}
|
|
1235
|
-
* @memberof BatchDTO
|
|
1236
|
-
*/
|
|
1237
|
-
'id'?: number;
|
|
1238
|
-
/**
|
|
1239
|
-
* orderId
|
|
1240
|
-
* @type {number}
|
|
1241
|
-
* @memberof BatchDTO
|
|
1242
|
-
*/
|
|
1243
|
-
'orderId'?: number;
|
|
1244
|
-
/**
|
|
1245
|
-
* supplierId
|
|
1246
|
-
* @type {number}
|
|
1247
|
-
* @memberof BatchDTO
|
|
1248
|
-
*/
|
|
1249
|
-
'supplierId'?: number;
|
|
1250
|
-
/**
|
|
1251
|
-
* poNumber
|
|
1252
|
-
* @type {string}
|
|
1253
|
-
* @memberof BatchDTO
|
|
1254
|
-
*/
|
|
1255
|
-
'poNumber'?: string;
|
|
1256
|
-
/**
|
|
1257
|
-
* carriage
|
|
1258
|
-
* @type {number}
|
|
1259
|
-
* @memberof BatchDTO
|
|
1260
|
-
*/
|
|
1261
|
-
'carriage'?: number;
|
|
1262
|
-
/**
|
|
1263
|
-
* courier
|
|
1264
|
-
* @type {string}
|
|
1265
|
-
* @memberof BatchDTO
|
|
1266
|
-
*/
|
|
1267
|
-
'courier'?: string;
|
|
1268
|
-
/**
|
|
1269
|
-
* courierService
|
|
1270
|
-
* @type {string}
|
|
1271
|
-
* @memberof BatchDTO
|
|
1272
|
-
*/
|
|
1273
|
-
'courierService'?: string;
|
|
1274
|
-
/**
|
|
1275
|
-
* courierReference
|
|
1276
|
-
* @type {string}
|
|
1277
|
-
* @memberof BatchDTO
|
|
1278
|
-
*/
|
|
1279
|
-
'courierReference'?: string;
|
|
1280
|
-
/**
|
|
1281
|
-
* courierUnique
|
|
1282
|
-
* @type {string}
|
|
1283
|
-
* @memberof BatchDTO
|
|
1284
|
-
*/
|
|
1285
|
-
'courierUnique'?: string;
|
|
1286
|
-
/**
|
|
1287
|
-
* notes
|
|
1288
|
-
* @type {string}
|
|
1289
|
-
* @memberof BatchDTO
|
|
1290
|
-
*/
|
|
1291
|
-
'notes'?: string;
|
|
1292
|
-
/**
|
|
1293
|
-
* ordered
|
|
1294
|
-
* @type {number}
|
|
1295
|
-
* @memberof BatchDTO
|
|
1296
|
-
*/
|
|
1297
|
-
'ordered'?: number;
|
|
1298
|
-
/**
|
|
1299
|
-
* carriagePaid
|
|
1300
|
-
* @type {number}
|
|
1301
|
-
* @memberof BatchDTO
|
|
1302
|
-
*/
|
|
1303
|
-
'carriagePaid'?: number;
|
|
1304
|
-
/**
|
|
1305
|
-
* carriageRefunded
|
|
1306
|
-
* @type {number}
|
|
1307
|
-
* @memberof BatchDTO
|
|
1308
|
-
*/
|
|
1309
|
-
'carriageRefunded'?: number;
|
|
1310
|
-
/**
|
|
1311
|
-
* carriageRefundedDue
|
|
1312
|
-
* @type {number}
|
|
1313
|
-
* @memberof BatchDTO
|
|
1314
|
-
*/
|
|
1315
|
-
'carriageRefundedDue'?: number;
|
|
1316
|
-
/**
|
|
1317
|
-
* netdespatchLabel
|
|
1318
|
-
* @type {string}
|
|
1319
|
-
* @memberof BatchDTO
|
|
1320
|
-
*/
|
|
1321
|
-
'netdespatchLabel'?: string;
|
|
1322
|
-
/**
|
|
1323
|
-
* courierBoxes
|
|
1324
|
-
* @type {number}
|
|
1325
|
-
* @memberof BatchDTO
|
|
1326
|
-
*/
|
|
1327
|
-
'courierBoxes'?: number;
|
|
1328
|
-
/**
|
|
1329
|
-
* mac
|
|
1330
|
-
* @type {string}
|
|
1331
|
-
* @memberof BatchDTO
|
|
1332
|
-
*/
|
|
1333
|
-
'mac'?: string;
|
|
1334
|
-
/**
|
|
1335
|
-
* Shipments
|
|
1336
|
-
* @type {Array<ShipmentDTO>}
|
|
1337
|
-
* @memberof BatchDTO
|
|
1338
|
-
*/
|
|
1339
|
-
'shipments'?: Array<ShipmentDTO>;
|
|
1340
|
-
/**
|
|
1341
|
-
* Items
|
|
1342
|
-
* @type {Array<OrderedItemModel>}
|
|
1343
|
-
* @memberof BatchDTO
|
|
1344
|
-
*/
|
|
1345
|
-
'items'?: Array<OrderedItemModel>;
|
|
1346
|
-
}
|
|
1347
1139
|
/**
|
|
1348
1140
|
* BatchesEntity
|
|
1349
1141
|
* @export
|
|
@@ -1899,155 +1691,6 @@ export interface CreditAccountEntity {
|
|
|
1899
1691
|
*/
|
|
1900
1692
|
'prizePromo'?: boolean;
|
|
1901
1693
|
}
|
|
1902
|
-
/**
|
|
1903
|
-
* Credit Note
|
|
1904
|
-
* @export
|
|
1905
|
-
* @interface CreditNoteDTO
|
|
1906
|
-
*/
|
|
1907
|
-
export interface CreditNoteDTO {
|
|
1908
|
-
/**
|
|
1909
|
-
* Items
|
|
1910
|
-
* @type {Array<CreditNoteItemDTO>}
|
|
1911
|
-
* @memberof CreditNoteDTO
|
|
1912
|
-
*/
|
|
1913
|
-
'items'?: Array<CreditNoteItemDTO>;
|
|
1914
|
-
}
|
|
1915
|
-
/**
|
|
1916
|
-
* CreditNotesEntity
|
|
1917
|
-
* @export
|
|
1918
|
-
* @interface CreditNoteEntity
|
|
1919
|
-
*/
|
|
1920
|
-
export interface CreditNoteEntity {
|
|
1921
|
-
/**
|
|
1922
|
-
* id
|
|
1923
|
-
* @type {number}
|
|
1924
|
-
* @memberof CreditNoteEntity
|
|
1925
|
-
*/
|
|
1926
|
-
'id'?: number;
|
|
1927
|
-
/**
|
|
1928
|
-
* orderId
|
|
1929
|
-
* @type {number}
|
|
1930
|
-
* @memberof CreditNoteEntity
|
|
1931
|
-
*/
|
|
1932
|
-
'orderId'?: number;
|
|
1933
|
-
/**
|
|
1934
|
-
* transactionId
|
|
1935
|
-
* @type {string}
|
|
1936
|
-
* @memberof CreditNoteEntity
|
|
1937
|
-
*/
|
|
1938
|
-
'transactionId'?: string;
|
|
1939
|
-
/**
|
|
1940
|
-
* amount
|
|
1941
|
-
* @type {number}
|
|
1942
|
-
* @memberof CreditNoteEntity
|
|
1943
|
-
*/
|
|
1944
|
-
'amount'?: number;
|
|
1945
|
-
/**
|
|
1946
|
-
* timestamp
|
|
1947
|
-
* @type {string}
|
|
1948
|
-
* @memberof CreditNoteEntity
|
|
1949
|
-
*/
|
|
1950
|
-
'timestamp'?: string;
|
|
1951
|
-
}
|
|
1952
|
-
/**
|
|
1953
|
-
* Credit Note Item
|
|
1954
|
-
* @export
|
|
1955
|
-
* @interface CreditNoteItemDTO
|
|
1956
|
-
*/
|
|
1957
|
-
export interface CreditNoteItemDTO {
|
|
1958
|
-
/**
|
|
1959
|
-
* Item ID
|
|
1960
|
-
* @type {number}
|
|
1961
|
-
* @memberof CreditNoteItemDTO
|
|
1962
|
-
*/
|
|
1963
|
-
'itemId'?: number;
|
|
1964
|
-
/**
|
|
1965
|
-
* Quantity
|
|
1966
|
-
* @type {number}
|
|
1967
|
-
* @memberof CreditNoteItemDTO
|
|
1968
|
-
*/
|
|
1969
|
-
'quantity'?: number | null;
|
|
1970
|
-
/**
|
|
1971
|
-
* Amount
|
|
1972
|
-
* @type {number}
|
|
1973
|
-
* @memberof CreditNoteItemDTO
|
|
1974
|
-
*/
|
|
1975
|
-
'amount'?: number | null;
|
|
1976
|
-
}
|
|
1977
|
-
/**
|
|
1978
|
-
* CreditNotesItemsEntity
|
|
1979
|
-
* @export
|
|
1980
|
-
* @interface CreditNoteItemEntity
|
|
1981
|
-
*/
|
|
1982
|
-
export interface CreditNoteItemEntity {
|
|
1983
|
-
/**
|
|
1984
|
-
* id
|
|
1985
|
-
* @type {number}
|
|
1986
|
-
* @memberof CreditNoteItemEntity
|
|
1987
|
-
*/
|
|
1988
|
-
'id'?: number;
|
|
1989
|
-
/**
|
|
1990
|
-
* creditNoteId
|
|
1991
|
-
* @type {number}
|
|
1992
|
-
* @memberof CreditNoteItemEntity
|
|
1993
|
-
*/
|
|
1994
|
-
'creditNoteId'?: number;
|
|
1995
|
-
/**
|
|
1996
|
-
* orderId
|
|
1997
|
-
* @type {number}
|
|
1998
|
-
* @memberof CreditNoteItemEntity
|
|
1999
|
-
*/
|
|
2000
|
-
'orderId'?: number;
|
|
2001
|
-
/**
|
|
2002
|
-
* itemId
|
|
2003
|
-
* @type {number}
|
|
2004
|
-
* @memberof CreditNoteItemEntity
|
|
2005
|
-
*/
|
|
2006
|
-
'itemId'?: number;
|
|
2007
|
-
/**
|
|
2008
|
-
* amount
|
|
2009
|
-
* @type {number}
|
|
2010
|
-
* @memberof CreditNoteItemEntity
|
|
2011
|
-
*/
|
|
2012
|
-
'amount'?: number;
|
|
2013
|
-
}
|
|
2014
|
-
/**
|
|
2015
|
-
* Credit Note Model
|
|
2016
|
-
* @export
|
|
2017
|
-
* @interface CreditNoteModel
|
|
2018
|
-
*/
|
|
2019
|
-
export interface CreditNoteModel {
|
|
2020
|
-
/**
|
|
2021
|
-
* id
|
|
2022
|
-
* @type {number}
|
|
2023
|
-
* @memberof CreditNoteModel
|
|
2024
|
-
*/
|
|
2025
|
-
'id'?: number;
|
|
2026
|
-
/**
|
|
2027
|
-
* orderId
|
|
2028
|
-
* @type {number}
|
|
2029
|
-
* @memberof CreditNoteModel
|
|
2030
|
-
*/
|
|
2031
|
-
'orderId'?: number;
|
|
2032
|
-
/**
|
|
2033
|
-
* transactionId
|
|
2034
|
-
* @type {string}
|
|
2035
|
-
* @memberof CreditNoteModel
|
|
2036
|
-
*/
|
|
2037
|
-
'transactionId'?: string;
|
|
2038
|
-
/**
|
|
2039
|
-
* amount
|
|
2040
|
-
* @type {number}
|
|
2041
|
-
* @memberof CreditNoteModel
|
|
2042
|
-
*/
|
|
2043
|
-
'amount'?: number;
|
|
2044
|
-
/**
|
|
2045
|
-
* timestamp
|
|
2046
|
-
* @type {string}
|
|
2047
|
-
* @memberof CreditNoteModel
|
|
2048
|
-
*/
|
|
2049
|
-
'timestamp'?: string;
|
|
2050
|
-
}
|
|
2051
1694
|
/**
|
|
2052
1695
|
* CRM Contact
|
|
2053
1696
|
* @export
|
|
@@ -3771,7 +3414,7 @@ export interface ItemDTO {
|
|
|
3771
3414
|
* @type {Array<TcxSbcDTO>}
|
|
3772
3415
|
* @memberof ItemDTO
|
|
3773
3416
|
*/
|
|
3774
|
-
'sbcs'?: Array<TcxSbcDTO
|
|
3417
|
+
'sbcs'?: Array<TcxSbcDTO> | null;
|
|
3775
3418
|
/**
|
|
3776
3419
|
* Readonly
|
|
3777
3420
|
* @type {boolean}
|
|
@@ -4159,202 +3802,63 @@ export interface OfflineInstancesEntity {
|
|
|
4159
3802
|
'alerted'?: number;
|
|
4160
3803
|
}
|
|
4161
3804
|
/**
|
|
4162
|
-
*
|
|
3805
|
+
* OrdersEntity
|
|
4163
3806
|
* @export
|
|
4164
|
-
* @interface
|
|
3807
|
+
* @interface OrderEntity
|
|
4165
3808
|
*/
|
|
4166
|
-
export interface
|
|
3809
|
+
export interface OrderEntity {
|
|
4167
3810
|
/**
|
|
4168
|
-
*
|
|
3811
|
+
* id
|
|
4169
3812
|
* @type {number}
|
|
4170
|
-
* @memberof
|
|
3813
|
+
* @memberof OrderEntity
|
|
4171
3814
|
*/
|
|
4172
3815
|
'id'?: number;
|
|
4173
3816
|
/**
|
|
4174
|
-
*
|
|
3817
|
+
* externalId
|
|
4175
3818
|
* @type {string}
|
|
4176
|
-
* @memberof
|
|
3819
|
+
* @memberof OrderEntity
|
|
4177
3820
|
*/
|
|
4178
|
-
'reference'?: string
|
|
3821
|
+
'reference'?: string;
|
|
4179
3822
|
/**
|
|
4180
|
-
*
|
|
3823
|
+
* sourceId
|
|
3824
|
+
* @type {number}
|
|
3825
|
+
* @memberof OrderEntity
|
|
3826
|
+
*/
|
|
3827
|
+
'sourceId'?: number;
|
|
3828
|
+
/**
|
|
3829
|
+
* sageInv
|
|
4181
3830
|
* @type {string}
|
|
4182
|
-
* @memberof
|
|
3831
|
+
* @memberof OrderEntity
|
|
4183
3832
|
*/
|
|
4184
3833
|
'invoiceNumber'?: string;
|
|
4185
3834
|
/**
|
|
4186
|
-
*
|
|
3835
|
+
* invoiceId
|
|
4187
3836
|
* @type {string}
|
|
4188
|
-
* @memberof
|
|
3837
|
+
* @memberof OrderEntity
|
|
4189
3838
|
*/
|
|
4190
3839
|
'invoiceId'?: string | null;
|
|
4191
3840
|
/**
|
|
4192
|
-
*
|
|
3841
|
+
* creditAccountId
|
|
3842
|
+
* @type {number}
|
|
3843
|
+
* @memberof OrderEntity
|
|
3844
|
+
*/
|
|
3845
|
+
'customerId'?: number;
|
|
3846
|
+
/**
|
|
3847
|
+
* orderDate
|
|
4193
3848
|
* @type {string}
|
|
4194
|
-
* @memberof
|
|
3849
|
+
* @memberof OrderEntity
|
|
4195
3850
|
*/
|
|
4196
3851
|
'orderDate'?: string;
|
|
4197
3852
|
/**
|
|
4198
|
-
*
|
|
4199
|
-
* @type {
|
|
4200
|
-
* @memberof
|
|
3853
|
+
* orderPostedDate
|
|
3854
|
+
* @type {string}
|
|
3855
|
+
* @memberof OrderEntity
|
|
4201
3856
|
*/
|
|
4202
|
-
'
|
|
3857
|
+
'orderPostedDate'?: string;
|
|
4203
3858
|
/**
|
|
4204
|
-
*
|
|
4205
|
-
* @type {
|
|
4206
|
-
* @memberof
|
|
4207
|
-
*/
|
|
4208
|
-
'complete'?: boolean;
|
|
4209
|
-
/**
|
|
4210
|
-
* Quote
|
|
4211
|
-
* @type {boolean}
|
|
4212
|
-
* @memberof OrderDetailsDTO
|
|
4213
|
-
*/
|
|
4214
|
-
'quote'?: boolean;
|
|
4215
|
-
/**
|
|
4216
|
-
*
|
|
4217
|
-
* @type {AccountSummaryDTO}
|
|
4218
|
-
* @memberof OrderDetailsDTO
|
|
4219
|
-
*/
|
|
4220
|
-
'customer'?: AccountSummaryDTO;
|
|
4221
|
-
/**
|
|
4222
|
-
*
|
|
4223
|
-
* @type {AddressModel}
|
|
4224
|
-
* @memberof OrderDetailsDTO
|
|
4225
|
-
*/
|
|
4226
|
-
'shippingAddress'?: AddressModel;
|
|
4227
|
-
/**
|
|
4228
|
-
* Items
|
|
4229
|
-
* @type {Array<ItemDTO>}
|
|
4230
|
-
* @memberof OrderDetailsDTO
|
|
4231
|
-
*/
|
|
4232
|
-
'items'?: Array<ItemDTO>;
|
|
4233
|
-
/**
|
|
4234
|
-
* Carriage Charge
|
|
4235
|
-
* @type {number}
|
|
4236
|
-
* @memberof OrderDetailsDTO
|
|
4237
|
-
*/
|
|
4238
|
-
'carriageCharge'?: number;
|
|
4239
|
-
/**
|
|
4240
|
-
* Fulfillable
|
|
4241
|
-
* @type {boolean}
|
|
4242
|
-
* @memberof OrderDetailsDTO
|
|
4243
|
-
*/
|
|
4244
|
-
'fulfillable'?: boolean | null;
|
|
4245
|
-
/**
|
|
4246
|
-
* Provisioning URL
|
|
4247
|
-
* @type {string}
|
|
4248
|
-
* @memberof OrderDetailsDTO
|
|
4249
|
-
*/
|
|
4250
|
-
'provisioningUrl'?: string | null;
|
|
4251
|
-
/**
|
|
4252
|
-
*
|
|
4253
|
-
* @type {ShippingServiceDTO}
|
|
4254
|
-
* @memberof OrderDetailsDTO
|
|
4255
|
-
*/
|
|
4256
|
-
'shippingService'?: ShippingServiceDTO;
|
|
4257
|
-
/**
|
|
4258
|
-
* Readonly
|
|
4259
|
-
* @type {boolean}
|
|
4260
|
-
* @memberof OrderDetailsDTO
|
|
4261
|
-
*/
|
|
4262
|
-
'readonly'?: boolean;
|
|
4263
|
-
/**
|
|
4264
|
-
* Detailed Items
|
|
4265
|
-
* @type {Array<OrderItemDTO>}
|
|
4266
|
-
* @memberof OrderDetailsDTO
|
|
4267
|
-
*/
|
|
4268
|
-
'detailedItems'?: Array<OrderItemDTO>;
|
|
4269
|
-
/**
|
|
4270
|
-
* Batches
|
|
4271
|
-
* @type {Array<BatchDTO>}
|
|
4272
|
-
* @memberof OrderDetailsDTO
|
|
4273
|
-
*/
|
|
4274
|
-
'batches'?: Array<BatchDTO>;
|
|
4275
|
-
/**
|
|
4276
|
-
* Audit Log
|
|
4277
|
-
* @type {Array<AuditLogEntity>}
|
|
4278
|
-
* @memberof OrderDetailsDTO
|
|
4279
|
-
*/
|
|
4280
|
-
'logEntries'?: Array<AuditLogEntity>;
|
|
4281
|
-
/**
|
|
4282
|
-
* Card Payment Link
|
|
4283
|
-
* @type {string}
|
|
4284
|
-
* @memberof OrderDetailsDTO
|
|
4285
|
-
*/
|
|
4286
|
-
'paymentLink'?: string | null;
|
|
4287
|
-
/**
|
|
4288
|
-
* Credits
|
|
4289
|
-
* @type {Array<CreditNoteModel>}
|
|
4290
|
-
* @memberof OrderDetailsDTO
|
|
4291
|
-
*/
|
|
4292
|
-
'credits'?: Array<CreditNoteModel>;
|
|
4293
|
-
/**
|
|
4294
|
-
* Customer Email
|
|
4295
|
-
* @type {string}
|
|
4296
|
-
* @memberof OrderDetailsDTO
|
|
4297
|
-
*/
|
|
4298
|
-
'customerEmail'?: string;
|
|
4299
|
-
}
|
|
4300
|
-
/**
|
|
4301
|
-
* OrdersEntity
|
|
4302
|
-
* @export
|
|
4303
|
-
* @interface OrderEntity
|
|
4304
|
-
*/
|
|
4305
|
-
export interface OrderEntity {
|
|
4306
|
-
/**
|
|
4307
|
-
* id
|
|
4308
|
-
* @type {number}
|
|
4309
|
-
* @memberof OrderEntity
|
|
4310
|
-
*/
|
|
4311
|
-
'id'?: number;
|
|
4312
|
-
/**
|
|
4313
|
-
* externalId
|
|
4314
|
-
* @type {string}
|
|
4315
|
-
* @memberof OrderEntity
|
|
4316
|
-
*/
|
|
4317
|
-
'reference'?: string;
|
|
4318
|
-
/**
|
|
4319
|
-
* sourceId
|
|
4320
|
-
* @type {number}
|
|
4321
|
-
* @memberof OrderEntity
|
|
4322
|
-
*/
|
|
4323
|
-
'sourceId'?: number;
|
|
4324
|
-
/**
|
|
4325
|
-
* sageInv
|
|
4326
|
-
* @type {string}
|
|
4327
|
-
* @memberof OrderEntity
|
|
4328
|
-
*/
|
|
4329
|
-
'invoiceNumber'?: string;
|
|
4330
|
-
/**
|
|
4331
|
-
* invoiceId
|
|
4332
|
-
* @type {string}
|
|
4333
|
-
* @memberof OrderEntity
|
|
4334
|
-
*/
|
|
4335
|
-
'invoiceId'?: string | null;
|
|
4336
|
-
/**
|
|
4337
|
-
* creditAccountId
|
|
4338
|
-
* @type {number}
|
|
4339
|
-
* @memberof OrderEntity
|
|
4340
|
-
*/
|
|
4341
|
-
'customerId'?: number;
|
|
4342
|
-
/**
|
|
4343
|
-
* orderDate
|
|
4344
|
-
* @type {string}
|
|
4345
|
-
* @memberof OrderEntity
|
|
4346
|
-
*/
|
|
4347
|
-
'orderDate'?: string;
|
|
4348
|
-
/**
|
|
4349
|
-
* orderPostedDate
|
|
4350
|
-
* @type {string}
|
|
4351
|
-
* @memberof OrderEntity
|
|
4352
|
-
*/
|
|
4353
|
-
'orderPostedDate'?: string;
|
|
4354
|
-
/**
|
|
4355
|
-
* buyerEmail
|
|
4356
|
-
* @type {string}
|
|
4357
|
-
* @memberof OrderEntity
|
|
3859
|
+
* buyerEmail
|
|
3860
|
+
* @type {string}
|
|
3861
|
+
* @memberof OrderEntity
|
|
4358
3862
|
*/
|
|
4359
3863
|
'buyerEmail'?: string;
|
|
4360
3864
|
/**
|
|
@@ -4652,109 +4156,6 @@ export interface OrderEntity {
|
|
|
4652
4156
|
*/
|
|
4653
4157
|
'fulfillable'?: boolean | null;
|
|
4654
4158
|
}
|
|
4655
|
-
/**
|
|
4656
|
-
* Order Item Details
|
|
4657
|
-
* @export
|
|
4658
|
-
* @interface OrderItemDTO
|
|
4659
|
-
*/
|
|
4660
|
-
export interface OrderItemDTO {
|
|
4661
|
-
/**
|
|
4662
|
-
* SKU
|
|
4663
|
-
* @type {string}
|
|
4664
|
-
* @memberof OrderItemDTO
|
|
4665
|
-
*/
|
|
4666
|
-
'sku'?: string;
|
|
4667
|
-
/**
|
|
4668
|
-
* Quantity
|
|
4669
|
-
* @type {number}
|
|
4670
|
-
* @memberof OrderItemDTO
|
|
4671
|
-
*/
|
|
4672
|
-
'quantity'?: number;
|
|
4673
|
-
/**
|
|
4674
|
-
* ID
|
|
4675
|
-
* @type {number}
|
|
4676
|
-
* @memberof OrderItemDTO
|
|
4677
|
-
*/
|
|
4678
|
-
'id'?: number | null;
|
|
4679
|
-
/**
|
|
4680
|
-
* Order ID
|
|
4681
|
-
* @type {number}
|
|
4682
|
-
* @memberof OrderItemDTO
|
|
4683
|
-
*/
|
|
4684
|
-
'orderId'?: number | null;
|
|
4685
|
-
/**
|
|
4686
|
-
* Title
|
|
4687
|
-
* @type {string}
|
|
4688
|
-
* @memberof OrderItemDTO
|
|
4689
|
-
*/
|
|
4690
|
-
'title'?: string;
|
|
4691
|
-
/**
|
|
4692
|
-
* Price
|
|
4693
|
-
* @type {number}
|
|
4694
|
-
* @memberof OrderItemDTO
|
|
4695
|
-
*/
|
|
4696
|
-
'price'?: number;
|
|
4697
|
-
/**
|
|
4698
|
-
* 3CX Licence Key
|
|
4699
|
-
* @type {string}
|
|
4700
|
-
* @memberof OrderItemDTO
|
|
4701
|
-
*/
|
|
4702
|
-
'licenceKey'?: string | null;
|
|
4703
|
-
/**
|
|
4704
|
-
* Date Time
|
|
4705
|
-
* @type {string}
|
|
4706
|
-
* @memberof OrderItemDTO
|
|
4707
|
-
*/
|
|
4708
|
-
'licenceExpiry'?: string;
|
|
4709
|
-
/**
|
|
4710
|
-
* Date Time
|
|
4711
|
-
* @type {string}
|
|
4712
|
-
* @memberof OrderItemDTO
|
|
4713
|
-
*/
|
|
4714
|
-
'processDate'?: string;
|
|
4715
|
-
/**
|
|
4716
|
-
* 3CX Hosting
|
|
4717
|
-
* @type {boolean}
|
|
4718
|
-
* @memberof OrderItemDTO
|
|
4719
|
-
*/
|
|
4720
|
-
'hosting'?: boolean | null;
|
|
4721
|
-
/**
|
|
4722
|
-
* Promo Item
|
|
4723
|
-
* @type {boolean}
|
|
4724
|
-
* @memberof OrderItemDTO
|
|
4725
|
-
*/
|
|
4726
|
-
'promoItem'?: boolean;
|
|
4727
|
-
/**
|
|
4728
|
-
* Refunded
|
|
4729
|
-
* @type {number}
|
|
4730
|
-
* @memberof OrderItemDTO
|
|
4731
|
-
*/
|
|
4732
|
-
'refunded'?: number | null;
|
|
4733
|
-
/**
|
|
4734
|
-
* SBCs
|
|
4735
|
-
* @type {Array<TcxSbcDTO>}
|
|
4736
|
-
* @memberof OrderItemDTO
|
|
4737
|
-
*/
|
|
4738
|
-
'sbcs'?: Array<TcxSbcDTO>;
|
|
4739
|
-
/**
|
|
4740
|
-
* Readonly
|
|
4741
|
-
* @type {boolean}
|
|
4742
|
-
* @memberof OrderItemDTO
|
|
4743
|
-
*/
|
|
4744
|
-
'readonly'?: boolean;
|
|
4745
|
-
/**
|
|
4746
|
-
* 3CX Sales Code
|
|
4747
|
-
* @type {string}
|
|
4748
|
-
* @memberof OrderItemDTO
|
|
4749
|
-
*/
|
|
4750
|
-
'tcxSalesCode'?: string | null;
|
|
4751
|
-
/**
|
|
4752
|
-
* Suppliers
|
|
4753
|
-
* @type {Array<SupplierModel>}
|
|
4754
|
-
* @memberof OrderItemDTO
|
|
4755
|
-
*/
|
|
4756
|
-
'suppliers'?: Array<SupplierModel>;
|
|
4757
|
-
}
|
|
4758
4159
|
/**
|
|
4759
4160
|
* EdTechPro Order Request
|
|
4760
4161
|
* @export
|
|
@@ -5172,150 +4573,59 @@ export interface OrderedItemEntity {
|
|
|
5172
4573
|
'returnedStock'?: number;
|
|
5173
4574
|
}
|
|
5174
4575
|
/**
|
|
5175
|
-
*
|
|
4576
|
+
*
|
|
5176
4577
|
* @export
|
|
5177
|
-
* @interface
|
|
4578
|
+
* @interface PatchSetTcxWizardCnameRequest
|
|
5178
4579
|
*/
|
|
5179
|
-
export interface
|
|
4580
|
+
export interface PatchSetTcxWizardCnameRequest {
|
|
5180
4581
|
/**
|
|
5181
|
-
*
|
|
5182
|
-
* @type {
|
|
5183
|
-
* @memberof
|
|
4582
|
+
* CNAME
|
|
4583
|
+
* @type {string}
|
|
4584
|
+
* @memberof PatchSetTcxWizardCnameRequest
|
|
5184
4585
|
*/
|
|
5185
|
-
'
|
|
4586
|
+
'cname'?: string;
|
|
4587
|
+
}
|
|
4588
|
+
/**
|
|
4589
|
+
*
|
|
4590
|
+
* @export
|
|
4591
|
+
* @interface PatchUpdateAccountContactPasswordRequest
|
|
4592
|
+
*/
|
|
4593
|
+
export interface PatchUpdateAccountContactPasswordRequest {
|
|
5186
4594
|
/**
|
|
5187
|
-
*
|
|
5188
|
-
* @type {
|
|
5189
|
-
* @memberof
|
|
4595
|
+
* Password
|
|
4596
|
+
* @type {string}
|
|
4597
|
+
* @memberof PatchUpdateAccountContactPasswordRequest
|
|
5190
4598
|
*/
|
|
5191
|
-
'
|
|
4599
|
+
'password'?: string;
|
|
4600
|
+
}
|
|
4601
|
+
/**
|
|
4602
|
+
* Customer Account
|
|
4603
|
+
* @export
|
|
4604
|
+
* @interface PortalAccountModel
|
|
4605
|
+
*/
|
|
4606
|
+
export interface PortalAccountModel {
|
|
5192
4607
|
/**
|
|
5193
|
-
*
|
|
4608
|
+
* ID
|
|
5194
4609
|
* @type {number}
|
|
5195
|
-
* @memberof
|
|
4610
|
+
* @memberof PortalAccountModel
|
|
5196
4611
|
*/
|
|
5197
|
-
'
|
|
4612
|
+
'id'?: number;
|
|
5198
4613
|
/**
|
|
5199
|
-
*
|
|
5200
|
-
* @type {
|
|
5201
|
-
* @memberof
|
|
4614
|
+
* Contact Name
|
|
4615
|
+
* @type {string}
|
|
4616
|
+
* @memberof PortalAccountModel
|
|
5202
4617
|
*/
|
|
5203
|
-
'
|
|
4618
|
+
'name'?: string;
|
|
5204
4619
|
/**
|
|
5205
|
-
*
|
|
5206
|
-
* @type {
|
|
5207
|
-
* @memberof
|
|
4620
|
+
* Email
|
|
4621
|
+
* @type {string}
|
|
4622
|
+
* @memberof PortalAccountModel
|
|
5208
4623
|
*/
|
|
5209
|
-
'
|
|
4624
|
+
'email'?: string;
|
|
5210
4625
|
/**
|
|
5211
|
-
*
|
|
5212
|
-
* @type {
|
|
5213
|
-
* @memberof
|
|
5214
|
-
*/
|
|
5215
|
-
'supplierItemId'?: number;
|
|
5216
|
-
/**
|
|
5217
|
-
* supplierPrice
|
|
5218
|
-
* @type {number}
|
|
5219
|
-
* @memberof OrderedItemModel
|
|
5220
|
-
*/
|
|
5221
|
-
'supplierPrice'?: number;
|
|
5222
|
-
/**
|
|
5223
|
-
* statusDate
|
|
5224
|
-
* @type {string}
|
|
5225
|
-
* @memberof OrderedItemModel
|
|
5226
|
-
*/
|
|
5227
|
-
'statusDate'?: string;
|
|
5228
|
-
/**
|
|
5229
|
-
* statusAuthor
|
|
5230
|
-
* @type {number}
|
|
5231
|
-
* @memberof OrderedItemModel
|
|
5232
|
-
*/
|
|
5233
|
-
'statusAuthor'?: number;
|
|
5234
|
-
/**
|
|
5235
|
-
* supplierPaid
|
|
5236
|
-
* @type {number}
|
|
5237
|
-
* @memberof OrderedItemModel
|
|
5238
|
-
*/
|
|
5239
|
-
'supplierPaid'?: number;
|
|
5240
|
-
/**
|
|
5241
|
-
* supplierCreditDue
|
|
5242
|
-
* @type {number}
|
|
5243
|
-
* @memberof OrderedItemModel
|
|
5244
|
-
*/
|
|
5245
|
-
'supplierCreditDue'?: number;
|
|
5246
|
-
/**
|
|
5247
|
-
* supplierCreditReceived
|
|
5248
|
-
* @type {number}
|
|
5249
|
-
* @memberof OrderedItemModel
|
|
5250
|
-
*/
|
|
5251
|
-
'supplierCreditReceived'?: number;
|
|
5252
|
-
/**
|
|
5253
|
-
* supplierSku
|
|
5254
|
-
* @type {string}
|
|
5255
|
-
* @memberof OrderedItemModel
|
|
5256
|
-
*/
|
|
5257
|
-
'supplierSku'?: string;
|
|
5258
|
-
/**
|
|
5259
|
-
* returnedStock
|
|
5260
|
-
* @type {number}
|
|
5261
|
-
* @memberof OrderedItemModel
|
|
5262
|
-
*/
|
|
5263
|
-
'returnedStock'?: number;
|
|
5264
|
-
}
|
|
5265
|
-
/**
|
|
5266
|
-
*
|
|
5267
|
-
* @export
|
|
5268
|
-
* @interface PatchSetTcxWizardCnameRequest
|
|
5269
|
-
*/
|
|
5270
|
-
export interface PatchSetTcxWizardCnameRequest {
|
|
5271
|
-
/**
|
|
5272
|
-
* CNAME
|
|
5273
|
-
* @type {string}
|
|
5274
|
-
* @memberof PatchSetTcxWizardCnameRequest
|
|
5275
|
-
*/
|
|
5276
|
-
'cname'?: string;
|
|
5277
|
-
}
|
|
5278
|
-
/**
|
|
5279
|
-
*
|
|
5280
|
-
* @export
|
|
5281
|
-
* @interface PatchUpdateAccountContactPasswordRequest
|
|
5282
|
-
*/
|
|
5283
|
-
export interface PatchUpdateAccountContactPasswordRequest {
|
|
5284
|
-
/**
|
|
5285
|
-
* Password
|
|
5286
|
-
* @type {string}
|
|
5287
|
-
* @memberof PatchUpdateAccountContactPasswordRequest
|
|
5288
|
-
*/
|
|
5289
|
-
'password'?: string;
|
|
5290
|
-
}
|
|
5291
|
-
/**
|
|
5292
|
-
* Customer Account
|
|
5293
|
-
* @export
|
|
5294
|
-
* @interface PortalAccountModel
|
|
5295
|
-
*/
|
|
5296
|
-
export interface PortalAccountModel {
|
|
5297
|
-
/**
|
|
5298
|
-
* ID
|
|
5299
|
-
* @type {number}
|
|
5300
|
-
* @memberof PortalAccountModel
|
|
5301
|
-
*/
|
|
5302
|
-
'id'?: number;
|
|
5303
|
-
/**
|
|
5304
|
-
* Contact Name
|
|
5305
|
-
* @type {string}
|
|
5306
|
-
* @memberof PortalAccountModel
|
|
5307
|
-
*/
|
|
5308
|
-
'name'?: string;
|
|
5309
|
-
/**
|
|
5310
|
-
* Email
|
|
5311
|
-
* @type {string}
|
|
5312
|
-
* @memberof PortalAccountModel
|
|
5313
|
-
*/
|
|
5314
|
-
'email'?: string;
|
|
5315
|
-
/**
|
|
5316
|
-
* Phone Number
|
|
5317
|
-
* @type {string}
|
|
5318
|
-
* @memberof PortalAccountModel
|
|
4626
|
+
* Phone Number
|
|
4627
|
+
* @type {string}
|
|
4628
|
+
* @memberof PortalAccountModel
|
|
5319
4629
|
*/
|
|
5320
4630
|
'phone'?: string;
|
|
5321
4631
|
/**
|
|
@@ -5488,19 +4798,6 @@ export interface PortalLoginModel {
|
|
|
5488
4798
|
*/
|
|
5489
4799
|
'redirect_uri'?: string;
|
|
5490
4800
|
}
|
|
5491
|
-
/**
|
|
5492
|
-
*
|
|
5493
|
-
* @export
|
|
5494
|
-
* @interface PostAddOrderNoteRequest
|
|
5495
|
-
*/
|
|
5496
|
-
export interface PostAddOrderNoteRequest {
|
|
5497
|
-
/**
|
|
5498
|
-
* Order Note
|
|
5499
|
-
* @type {string}
|
|
5500
|
-
* @memberof PostAddOrderNoteRequest
|
|
5501
|
-
*/
|
|
5502
|
-
'note'?: string;
|
|
5503
|
-
}
|
|
5504
4801
|
/**
|
|
5505
4802
|
*
|
|
5506
4803
|
* @export
|
|
@@ -5583,19 +4880,6 @@ export interface PostGetProductRequest {
|
|
|
5583
4880
|
*/
|
|
5584
4881
|
'hosting'?: boolean | null;
|
|
5585
4882
|
}
|
|
5586
|
-
/**
|
|
5587
|
-
*
|
|
5588
|
-
* @export
|
|
5589
|
-
* @interface PostSplitOrderRequest
|
|
5590
|
-
*/
|
|
5591
|
-
export interface PostSplitOrderRequest {
|
|
5592
|
-
/**
|
|
5593
|
-
* Item Ids
|
|
5594
|
-
* @type {Array<number>}
|
|
5595
|
-
* @memberof PostSplitOrderRequest
|
|
5596
|
-
*/
|
|
5597
|
-
'itemIds'?: Array<number>;
|
|
5598
|
-
}
|
|
5599
4883
|
/**
|
|
5600
4884
|
* Price & Stock List
|
|
5601
4885
|
* @export
|
|
@@ -5633,43 +4917,6 @@ export interface PriceListItemModel {
|
|
|
5633
4917
|
*/
|
|
5634
4918
|
'stock'?: number | null;
|
|
5635
4919
|
}
|
|
5636
|
-
/**
|
|
5637
|
-
* PrintersEntity
|
|
5638
|
-
* @export
|
|
5639
|
-
* @interface PrinterEntity
|
|
5640
|
-
*/
|
|
5641
|
-
export interface PrinterEntity {
|
|
5642
|
-
/**
|
|
5643
|
-
* id
|
|
5644
|
-
* @type {number}
|
|
5645
|
-
* @memberof PrinterEntity
|
|
5646
|
-
*/
|
|
5647
|
-
'id'?: number;
|
|
5648
|
-
/**
|
|
5649
|
-
* brand
|
|
5650
|
-
* @type {string}
|
|
5651
|
-
* @memberof PrinterEntity
|
|
5652
|
-
*/
|
|
5653
|
-
'brand'?: string;
|
|
5654
|
-
/**
|
|
5655
|
-
* model
|
|
5656
|
-
* @type {string}
|
|
5657
|
-
* @memberof PrinterEntity
|
|
5658
|
-
*/
|
|
5659
|
-
'model'?: string;
|
|
5660
|
-
/**
|
|
5661
|
-
* sn
|
|
5662
|
-
* @type {string}
|
|
5663
|
-
* @memberof PrinterEntity
|
|
5664
|
-
*/
|
|
5665
|
-
'sn'?: string;
|
|
5666
|
-
/**
|
|
5667
|
-
* location
|
|
5668
|
-
* @type {string}
|
|
5669
|
-
* @memberof PrinterEntity
|
|
5670
|
-
*/
|
|
5671
|
-
'location'?: string;
|
|
5672
|
-
}
|
|
5673
4920
|
/**
|
|
5674
4921
|
* PrizesEntity
|
|
5675
4922
|
* @export
|
|
@@ -6057,38 +5304,6 @@ export interface ProvisioningRequestEntity {
|
|
|
6057
5304
|
*/
|
|
6058
5305
|
'auth'?: string;
|
|
6059
5306
|
}
|
|
6060
|
-
/**
|
|
6061
|
-
*
|
|
6062
|
-
* @export
|
|
6063
|
-
* @interface PutAllocateItemsRequest
|
|
6064
|
-
*/
|
|
6065
|
-
export interface PutAllocateItemsRequest {
|
|
6066
|
-
/**
|
|
6067
|
-
* Items
|
|
6068
|
-
* @type {Array<PutAllocateItemsRequestItemsInner>}
|
|
6069
|
-
* @memberof PutAllocateItemsRequest
|
|
6070
|
-
*/
|
|
6071
|
-
'items'?: Array<PutAllocateItemsRequestItemsInner>;
|
|
6072
|
-
}
|
|
6073
|
-
/**
|
|
6074
|
-
*
|
|
6075
|
-
* @export
|
|
6076
|
-
* @interface PutAllocateItemsRequestItemsInner
|
|
6077
|
-
*/
|
|
6078
|
-
export interface PutAllocateItemsRequestItemsInner {
|
|
6079
|
-
/**
|
|
6080
|
-
* Item ID
|
|
6081
|
-
* @type {number}
|
|
6082
|
-
* @memberof PutAllocateItemsRequestItemsInner
|
|
6083
|
-
*/
|
|
6084
|
-
'itemId'?: number;
|
|
6085
|
-
/**
|
|
6086
|
-
* Quantity To Allocate
|
|
6087
|
-
* @type {number}
|
|
6088
|
-
* @memberof PutAllocateItemsRequestItemsInner
|
|
6089
|
-
*/
|
|
6090
|
-
'quantity'?: number;
|
|
6091
|
-
}
|
|
6092
5307
|
/**
|
|
6093
5308
|
* Azure Recordings Backup
|
|
6094
5309
|
* @export
|
|
@@ -6417,58 +5632,6 @@ export interface ShipmentAddressEntity {
|
|
|
6417
5632
|
*/
|
|
6418
5633
|
'shipPhoneNumber'?: string;
|
|
6419
5634
|
}
|
|
6420
|
-
/**
|
|
6421
|
-
* Shipment
|
|
6422
|
-
* @export
|
|
6423
|
-
* @interface ShipmentDTO
|
|
6424
|
-
*/
|
|
6425
|
-
export interface ShipmentDTO {
|
|
6426
|
-
/**
|
|
6427
|
-
* Courier
|
|
6428
|
-
* @type {string}
|
|
6429
|
-
* @memberof ShipmentDTO
|
|
6430
|
-
*/
|
|
6431
|
-
'courier'?: ShipmentDTOCourierEnum | null;
|
|
6432
|
-
/**
|
|
6433
|
-
* Courier Reference
|
|
6434
|
-
* @type {string}
|
|
6435
|
-
* @memberof ShipmentDTO
|
|
6436
|
-
*/
|
|
6437
|
-
'reference'?: string | null;
|
|
6438
|
-
/**
|
|
6439
|
-
* Date Time
|
|
6440
|
-
* @type {string}
|
|
6441
|
-
* @memberof ShipmentDTO
|
|
6442
|
-
*/
|
|
6443
|
-
'requestedDate'?: string;
|
|
6444
|
-
/**
|
|
6445
|
-
* Scanned Items
|
|
6446
|
-
* @type {Array<ScannedItemModel>}
|
|
6447
|
-
* @memberof ShipmentDTO
|
|
6448
|
-
*/
|
|
6449
|
-
'scannedItems'?: Array<ScannedItemModel>;
|
|
6450
|
-
/**
|
|
6451
|
-
* Items
|
|
6452
|
-
* @type {Array<ShipmentItemModel>}
|
|
6453
|
-
* @memberof ShipmentDTO
|
|
6454
|
-
*/
|
|
6455
|
-
'items'?: Array<ShipmentItemModel>;
|
|
6456
|
-
/**
|
|
6457
|
-
*
|
|
6458
|
-
* @type {AddressModel}
|
|
6459
|
-
* @memberof ShipmentDTO
|
|
6460
|
-
*/
|
|
6461
|
-
'address'?: AddressModel;
|
|
6462
|
-
}
|
|
6463
|
-
|
|
6464
|
-
export const ShipmentDTOCourierEnum = {
|
|
6465
|
-
Dpd: 'DPD',
|
|
6466
|
-
ChorltonPallet: 'Chorlton Pallet',
|
|
6467
|
-
Pops: 'POPS'
|
|
6468
|
-
} as const;
|
|
6469
|
-
|
|
6470
|
-
export type ShipmentDTOCourierEnum = typeof ShipmentDTOCourierEnum[keyof typeof ShipmentDTOCourierEnum];
|
|
6471
|
-
|
|
6472
5635
|
/**
|
|
6473
5636
|
* ShipmentsEntity
|
|
6474
5637
|
* @export
|
|
@@ -6548,25 +5711,6 @@ export interface ShipmentEntity {
|
|
|
6548
5711
|
*/
|
|
6549
5712
|
'provId'?: number;
|
|
6550
5713
|
}
|
|
6551
|
-
/**
|
|
6552
|
-
* Shipment Item
|
|
6553
|
-
* @export
|
|
6554
|
-
* @interface ShipmentItemDTO
|
|
6555
|
-
*/
|
|
6556
|
-
export interface ShipmentItemDTO {
|
|
6557
|
-
/**
|
|
6558
|
-
* Item ID
|
|
6559
|
-
* @type {number}
|
|
6560
|
-
* @memberof ShipmentItemDTO
|
|
6561
|
-
*/
|
|
6562
|
-
'itemId'?: number;
|
|
6563
|
-
/**
|
|
6564
|
-
* Quantity
|
|
6565
|
-
* @type {number}
|
|
6566
|
-
* @memberof ShipmentItemDTO
|
|
6567
|
-
*/
|
|
6568
|
-
'quantity'?: number;
|
|
6569
|
-
}
|
|
6570
5714
|
/**
|
|
6571
5715
|
* ShipmentItemsEntity
|
|
6572
5716
|
* @export
|
|
@@ -6605,263 +5749,61 @@ export interface ShipmentItemEntity {
|
|
|
6605
5749
|
'itemId'?: string;
|
|
6606
5750
|
}
|
|
6607
5751
|
/**
|
|
6608
|
-
*
|
|
5752
|
+
*
|
|
6609
5753
|
* @export
|
|
6610
|
-
* @interface
|
|
5754
|
+
* @interface ShippingConsignmentModel
|
|
6611
5755
|
*/
|
|
6612
|
-
export interface
|
|
6613
|
-
/**
|
|
6614
|
-
* id
|
|
6615
|
-
* @type {number}
|
|
6616
|
-
* @memberof ShipmentItemModel
|
|
6617
|
-
*/
|
|
6618
|
-
'id'?: number;
|
|
5756
|
+
export interface ShippingConsignmentModel {
|
|
6619
5757
|
/**
|
|
6620
|
-
*
|
|
6621
|
-
* @type {
|
|
6622
|
-
* @memberof
|
|
5758
|
+
*
|
|
5759
|
+
* @type {ShippingServiceModel}
|
|
5760
|
+
* @memberof ShippingConsignmentModel
|
|
6623
5761
|
*/
|
|
6624
|
-
'
|
|
5762
|
+
'service'?: ShippingServiceModel;
|
|
6625
5763
|
/**
|
|
6626
|
-
*
|
|
6627
|
-
* @type {
|
|
6628
|
-
* @memberof
|
|
5764
|
+
* ID/Number
|
|
5765
|
+
* @type {string}
|
|
5766
|
+
* @memberof ShippingConsignmentModel
|
|
6629
5767
|
*/
|
|
6630
|
-
'
|
|
5768
|
+
'id'?: string;
|
|
6631
5769
|
/**
|
|
6632
|
-
*
|
|
6633
|
-
* @type {
|
|
6634
|
-
* @memberof
|
|
5770
|
+
* Tracking Number
|
|
5771
|
+
* @type {string}
|
|
5772
|
+
* @memberof ShippingConsignmentModel
|
|
6635
5773
|
*/
|
|
6636
|
-
'
|
|
5774
|
+
'trackingNumber'?: string;
|
|
6637
5775
|
/**
|
|
6638
|
-
*
|
|
6639
|
-
* @type {string}
|
|
6640
|
-
* @memberof
|
|
5776
|
+
* Parcels
|
|
5777
|
+
* @type {Array<string>}
|
|
5778
|
+
* @memberof ShippingConsignmentModel
|
|
6641
5779
|
*/
|
|
6642
|
-
'
|
|
5780
|
+
'parcelIds'?: Array<string>;
|
|
6643
5781
|
}
|
|
6644
5782
|
/**
|
|
6645
|
-
*
|
|
5783
|
+
* Shipping Information
|
|
6646
5784
|
* @export
|
|
6647
|
-
* @interface
|
|
5785
|
+
* @interface ShippingInformationDTO
|
|
6648
5786
|
*/
|
|
6649
|
-
export interface
|
|
5787
|
+
export interface ShippingInformationDTO {
|
|
6650
5788
|
/**
|
|
6651
|
-
*
|
|
6652
|
-
* @type {
|
|
6653
|
-
* @memberof
|
|
5789
|
+
* Items
|
|
5790
|
+
* @type {Array<BasicItemDTO>}
|
|
5791
|
+
* @memberof ShippingInformationDTO
|
|
6654
5792
|
*/
|
|
6655
|
-
'
|
|
5793
|
+
'items'?: Array<BasicItemDTO>;
|
|
6656
5794
|
/**
|
|
6657
|
-
*
|
|
6658
|
-
* @type {
|
|
6659
|
-
* @memberof
|
|
5795
|
+
* Destination Post Code
|
|
5796
|
+
* @type {string}
|
|
5797
|
+
* @memberof ShippingInformationDTO
|
|
6660
5798
|
*/
|
|
6661
|
-
'
|
|
5799
|
+
'postalCode'?: string;
|
|
6662
5800
|
/**
|
|
6663
|
-
*
|
|
5801
|
+
* Destination ISO
|
|
6664
5802
|
* @type {string}
|
|
6665
|
-
* @memberof
|
|
6666
|
-
*/
|
|
6667
|
-
'courier'?: string;
|
|
6668
|
-
/**
|
|
6669
|
-
* courierService
|
|
6670
|
-
* @type {string}
|
|
6671
|
-
* @memberof ShipmentModel
|
|
6672
|
-
*/
|
|
6673
|
-
'courierService'?: string;
|
|
6674
|
-
/**
|
|
6675
|
-
* courierServiceDesc
|
|
6676
|
-
* @type {string}
|
|
6677
|
-
* @memberof ShipmentModel
|
|
6678
|
-
*/
|
|
6679
|
-
'courierServiceDesc'?: string;
|
|
6680
|
-
/**
|
|
6681
|
-
* courierReference
|
|
6682
|
-
* @type {string}
|
|
6683
|
-
* @memberof ShipmentModel
|
|
6684
|
-
*/
|
|
6685
|
-
'courierReference'?: string;
|
|
6686
|
-
/**
|
|
6687
|
-
* courierTracking
|
|
6688
|
-
* @type {string}
|
|
6689
|
-
* @memberof ShipmentModel
|
|
6690
|
-
*/
|
|
6691
|
-
'courierTracking'?: string;
|
|
6692
|
-
/**
|
|
6693
|
-
* courierBoxes
|
|
6694
|
-
* @type {number}
|
|
6695
|
-
* @memberof ShipmentModel
|
|
6696
|
-
*/
|
|
6697
|
-
'courierBoxes'?: number;
|
|
6698
|
-
/**
|
|
6699
|
-
* mac
|
|
6700
|
-
* @type {string}
|
|
6701
|
-
* @memberof ShipmentModel
|
|
6702
|
-
*/
|
|
6703
|
-
'scannedData'?: string;
|
|
6704
|
-
/**
|
|
6705
|
-
* date
|
|
6706
|
-
* @type {string}
|
|
6707
|
-
* @memberof ShipmentModel
|
|
6708
|
-
*/
|
|
6709
|
-
'dateShipped'?: string;
|
|
6710
|
-
/**
|
|
6711
|
-
* requestDate
|
|
6712
|
-
* @type {string}
|
|
6713
|
-
* @memberof ShipmentModel
|
|
6714
|
-
*/
|
|
6715
|
-
'requestDate'?: string;
|
|
6716
|
-
/**
|
|
6717
|
-
* provId
|
|
6718
|
-
* @type {number}
|
|
6719
|
-
* @memberof ShipmentModel
|
|
6720
|
-
*/
|
|
6721
|
-
'provId'?: number;
|
|
6722
|
-
}
|
|
6723
|
-
/**
|
|
6724
|
-
* Shipment Request
|
|
6725
|
-
* @export
|
|
6726
|
-
* @interface ShipmentRequestDTO
|
|
6727
|
-
*/
|
|
6728
|
-
export interface ShipmentRequestDTO {
|
|
6729
|
-
/**
|
|
6730
|
-
* Courier
|
|
6731
|
-
* @type {string}
|
|
6732
|
-
* @memberof ShipmentRequestDTO
|
|
6733
|
-
*/
|
|
6734
|
-
'courier'?: ShipmentRequestDTOCourierEnum;
|
|
6735
|
-
/**
|
|
6736
|
-
*
|
|
6737
|
-
* @type {AddressModel}
|
|
6738
|
-
* @memberof ShipmentRequestDTO
|
|
6739
|
-
*/
|
|
6740
|
-
'address'?: AddressModel | null;
|
|
6741
|
-
/**
|
|
6742
|
-
* Scanned Lines
|
|
6743
|
-
* @type {Array<string>}
|
|
6744
|
-
* @memberof ShipmentRequestDTO
|
|
6745
|
-
*/
|
|
6746
|
-
'scannedLines'?: Array<string>;
|
|
6747
|
-
/**
|
|
6748
|
-
* Service
|
|
6749
|
-
* @type {string}
|
|
6750
|
-
* @memberof ShipmentRequestDTO
|
|
6751
|
-
*/
|
|
6752
|
-
'service'?: string;
|
|
6753
|
-
/**
|
|
6754
|
-
* Date Time
|
|
6755
|
-
* @type {string}
|
|
6756
|
-
* @memberof ShipmentRequestDTO
|
|
6757
|
-
*/
|
|
6758
|
-
'shipDate'?: string;
|
|
6759
|
-
/**
|
|
6760
|
-
* Items
|
|
6761
|
-
* @type {Array<ShipmentItemDTO>}
|
|
6762
|
-
* @memberof ShipmentRequestDTO
|
|
6763
|
-
*/
|
|
6764
|
-
'items'?: Array<ShipmentItemDTO>;
|
|
6765
|
-
}
|
|
6766
|
-
|
|
6767
|
-
export const ShipmentRequestDTOCourierEnum = {
|
|
6768
|
-
Dpd: 'DPD',
|
|
6769
|
-
ChorltonPallet: 'Chorlton Pallet',
|
|
6770
|
-
Pops: 'POPS'
|
|
6771
|
-
} as const;
|
|
6772
|
-
|
|
6773
|
-
export type ShipmentRequestDTOCourierEnum = typeof ShipmentRequestDTOCourierEnum[keyof typeof ShipmentRequestDTOCourierEnum];
|
|
6774
|
-
|
|
6775
|
-
/**
|
|
6776
|
-
*
|
|
6777
|
-
* @export
|
|
6778
|
-
* @interface ShippingConsignmentModel
|
|
6779
|
-
*/
|
|
6780
|
-
export interface ShippingConsignmentModel {
|
|
6781
|
-
/**
|
|
6782
|
-
*
|
|
6783
|
-
* @type {ShippingServiceModel}
|
|
6784
|
-
* @memberof ShippingConsignmentModel
|
|
6785
|
-
*/
|
|
6786
|
-
'service'?: ShippingServiceModel;
|
|
6787
|
-
/**
|
|
6788
|
-
* ID/Number
|
|
6789
|
-
* @type {string}
|
|
6790
|
-
* @memberof ShippingConsignmentModel
|
|
6791
|
-
*/
|
|
6792
|
-
'id'?: string;
|
|
6793
|
-
/**
|
|
6794
|
-
* Tracking Number
|
|
6795
|
-
* @type {string}
|
|
6796
|
-
* @memberof ShippingConsignmentModel
|
|
6797
|
-
*/
|
|
6798
|
-
'trackingNumber'?: string;
|
|
6799
|
-
/**
|
|
6800
|
-
* Parcels
|
|
6801
|
-
* @type {Array<string>}
|
|
6802
|
-
* @memberof ShippingConsignmentModel
|
|
6803
|
-
*/
|
|
6804
|
-
'parcelIds'?: Array<string>;
|
|
6805
|
-
}
|
|
6806
|
-
/**
|
|
6807
|
-
* Shipping Information
|
|
6808
|
-
* @export
|
|
6809
|
-
* @interface ShippingInformationDTO
|
|
6810
|
-
*/
|
|
6811
|
-
export interface ShippingInformationDTO {
|
|
6812
|
-
/**
|
|
6813
|
-
* Items
|
|
6814
|
-
* @type {Array<BasicItemDTO>}
|
|
6815
|
-
* @memberof ShippingInformationDTO
|
|
6816
|
-
*/
|
|
6817
|
-
'items'?: Array<BasicItemDTO>;
|
|
6818
|
-
/**
|
|
6819
|
-
* Destination Post Code
|
|
6820
|
-
* @type {string}
|
|
6821
|
-
* @memberof ShippingInformationDTO
|
|
6822
|
-
*/
|
|
6823
|
-
'postalCode'?: string;
|
|
6824
|
-
/**
|
|
6825
|
-
* Destination ISO
|
|
6826
|
-
* @type {string}
|
|
6827
|
-
* @memberof ShippingInformationDTO
|
|
5803
|
+
* @memberof ShippingInformationDTO
|
|
6828
5804
|
*/
|
|
6829
5805
|
'iso'?: string;
|
|
6830
5806
|
}
|
|
6831
|
-
/**
|
|
6832
|
-
*
|
|
6833
|
-
* @export
|
|
6834
|
-
* @interface ShippingRequestDTO
|
|
6835
|
-
*/
|
|
6836
|
-
export interface ShippingRequestDTO {
|
|
6837
|
-
/**
|
|
6838
|
-
* Courier
|
|
6839
|
-
* @type {string}
|
|
6840
|
-
* @memberof ShippingRequestDTO
|
|
6841
|
-
*/
|
|
6842
|
-
'courier'?: ShippingRequestDTOCourierEnum;
|
|
6843
|
-
/**
|
|
6844
|
-
* Courier Service
|
|
6845
|
-
* @type {string}
|
|
6846
|
-
* @memberof ShippingRequestDTO
|
|
6847
|
-
*/
|
|
6848
|
-
'service'?: string;
|
|
6849
|
-
/**
|
|
6850
|
-
* Boxes
|
|
6851
|
-
* @type {number}
|
|
6852
|
-
* @memberof ShippingRequestDTO
|
|
6853
|
-
*/
|
|
6854
|
-
'boxes'?: number;
|
|
6855
|
-
}
|
|
6856
|
-
|
|
6857
|
-
export const ShippingRequestDTOCourierEnum = {
|
|
6858
|
-
Dpd: 'DPD',
|
|
6859
|
-
ChorltonPallet: 'Chorlton Pallet',
|
|
6860
|
-
Pops: 'POPS'
|
|
6861
|
-
} as const;
|
|
6862
|
-
|
|
6863
|
-
export type ShippingRequestDTOCourierEnum = typeof ShippingRequestDTOCourierEnum[keyof typeof ShippingRequestDTOCourierEnum];
|
|
6864
|
-
|
|
6865
5807
|
/**
|
|
6866
5808
|
* Shipping Service
|
|
6867
5809
|
* @export
|
|
@@ -8492,67 +7434,6 @@ export interface SupplierItemEntity {
|
|
|
8492
7434
|
*/
|
|
8493
7435
|
'supplierSku'?: string;
|
|
8494
7436
|
}
|
|
8495
|
-
/**
|
|
8496
|
-
* Supplier
|
|
8497
|
-
* @export
|
|
8498
|
-
* @interface SupplierModel
|
|
8499
|
-
*/
|
|
8500
|
-
export interface SupplierModel {
|
|
8501
|
-
/**
|
|
8502
|
-
* id
|
|
8503
|
-
* @type {number}
|
|
8504
|
-
* @memberof SupplierModel
|
|
8505
|
-
*/
|
|
8506
|
-
'id'?: number;
|
|
8507
|
-
/**
|
|
8508
|
-
* name
|
|
8509
|
-
* @type {string}
|
|
8510
|
-
* @memberof SupplierModel
|
|
8511
|
-
*/
|
|
8512
|
-
'name'?: string;
|
|
8513
|
-
/**
|
|
8514
|
-
* nameShort
|
|
8515
|
-
* @type {string}
|
|
8516
|
-
* @memberof SupplierModel
|
|
8517
|
-
*/
|
|
8518
|
-
'shortName'?: string;
|
|
8519
|
-
/**
|
|
8520
|
-
* email
|
|
8521
|
-
* @type {string}
|
|
8522
|
-
* @memberof SupplierModel
|
|
8523
|
-
*/
|
|
8524
|
-
'email'?: string;
|
|
8525
|
-
/**
|
|
8526
|
-
* phone
|
|
8527
|
-
* @type {string}
|
|
8528
|
-
* @memberof SupplierModel
|
|
8529
|
-
*/
|
|
8530
|
-
'phone'?: string;
|
|
8531
|
-
/**
|
|
8532
|
-
* defaultCourier
|
|
8533
|
-
* @type {string}
|
|
8534
|
-
* @memberof SupplierModel
|
|
8535
|
-
*/
|
|
8536
|
-
'defaultCourier'?: string;
|
|
8537
|
-
/**
|
|
8538
|
-
* defaultCarriage
|
|
8539
|
-
* @type {number}
|
|
8540
|
-
* @memberof SupplierModel
|
|
8541
|
-
*/
|
|
8542
|
-
'defaultCarriage'?: number;
|
|
8543
|
-
/**
|
|
8544
|
-
* account
|
|
8545
|
-
* @type {string}
|
|
8546
|
-
* @memberof SupplierModel
|
|
8547
|
-
*/
|
|
8548
|
-
'accountNumber'?: string;
|
|
8549
|
-
/**
|
|
8550
|
-
* internalAccount
|
|
8551
|
-
* @type {string}
|
|
8552
|
-
* @memberof SupplierModel
|
|
8553
|
-
*/
|
|
8554
|
-
'xeroAccountNumber'?: string;
|
|
8555
|
-
}
|
|
8556
7437
|
/**
|
|
8557
7438
|
* 3CX Wizard Restore From Backup
|
|
8558
7439
|
* @export
|
|
@@ -18158,48 +17039,6 @@ export type PostAuthoriseScopeEnum = typeof PostAuthoriseScopeEnum[keyof typeof
|
|
|
18158
17039
|
*/
|
|
18159
17040
|
export const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
18160
17041
|
return {
|
|
18161
|
-
/**
|
|
18162
|
-
* Delete Shipment (Admin)
|
|
18163
|
-
* @summary Delete Shipment (Admin)
|
|
18164
|
-
* @param {number} id Order ID
|
|
18165
|
-
* @param {number} batchId Batch ID
|
|
18166
|
-
* @param {number} shipmentId Shipment ID
|
|
18167
|
-
* @param {*} [options] Override http request option.
|
|
18168
|
-
* @throws {RequiredError}
|
|
18169
|
-
*/
|
|
18170
|
-
deleteCreateShipment: async (id: number, batchId: number, shipmentId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18171
|
-
// verify required parameter 'id' is not null or undefined
|
|
18172
|
-
assertParamExists('deleteCreateShipment', 'id', id)
|
|
18173
|
-
// verify required parameter 'batchId' is not null or undefined
|
|
18174
|
-
assertParamExists('deleteCreateShipment', 'batchId', batchId)
|
|
18175
|
-
// verify required parameter 'shipmentId' is not null or undefined
|
|
18176
|
-
assertParamExists('deleteCreateShipment', 'shipmentId', shipmentId)
|
|
18177
|
-
const localVarPath = `/admin/orders/{id}/batches/{batch_id}/shipments`
|
|
18178
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
18179
|
-
.replace(`{${"batch_id"}}`, encodeURIComponent(String(batchId)))
|
|
18180
|
-
.replace(`{${"shipment_id"}}`, encodeURIComponent(String(shipmentId)));
|
|
18181
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18182
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18183
|
-
let baseOptions;
|
|
18184
|
-
if (configuration) {
|
|
18185
|
-
baseOptions = configuration.baseOptions;
|
|
18186
|
-
}
|
|
18187
|
-
|
|
18188
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
18189
|
-
const localVarHeaderParameter = {} as any;
|
|
18190
|
-
const localVarQueryParameter = {} as any;
|
|
18191
|
-
|
|
18192
|
-
|
|
18193
|
-
|
|
18194
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18195
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18196
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18197
|
-
|
|
18198
|
-
return {
|
|
18199
|
-
url: toPathString(localVarUrlObj),
|
|
18200
|
-
options: localVarRequestOptions,
|
|
18201
|
-
};
|
|
18202
|
-
},
|
|
18203
17042
|
/**
|
|
18204
17043
|
* Delete Orders (Beta)
|
|
18205
17044
|
* @summary Delete Orders (Beta)
|
|
@@ -18269,16 +17108,16 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18269
17108
|
};
|
|
18270
17109
|
},
|
|
18271
17110
|
/**
|
|
18272
|
-
* Get Order
|
|
18273
|
-
* @summary Get Order
|
|
17111
|
+
* Get Editable Order (Beta)
|
|
17112
|
+
* @summary Get Editable Order (Beta)
|
|
18274
17113
|
* @param {number} id Order ID
|
|
18275
17114
|
* @param {*} [options] Override http request option.
|
|
18276
17115
|
* @throws {RequiredError}
|
|
18277
17116
|
*/
|
|
18278
|
-
|
|
17117
|
+
getGetEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18279
17118
|
// verify required parameter 'id' is not null or undefined
|
|
18280
|
-
assertParamExists('
|
|
18281
|
-
const localVarPath = `/
|
|
17119
|
+
assertParamExists('getGetEditableOrder', 'id', id)
|
|
17120
|
+
const localVarPath = `/orders/{id}/views/editable`
|
|
18282
17121
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18283
17122
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18284
17123
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -18303,83 +17142,15 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18303
17142
|
};
|
|
18304
17143
|
},
|
|
18305
17144
|
/**
|
|
18306
|
-
* Get
|
|
18307
|
-
* @summary Get
|
|
18308
|
-
* @param {number}
|
|
18309
|
-
* @param {
|
|
18310
|
-
* @
|
|
18311
|
-
|
|
18312
|
-
|
|
18313
|
-
|
|
18314
|
-
|
|
18315
|
-
const localVarPath = `/orders/{id}/views/editable`
|
|
18316
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18317
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18318
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18319
|
-
let baseOptions;
|
|
18320
|
-
if (configuration) {
|
|
18321
|
-
baseOptions = configuration.baseOptions;
|
|
18322
|
-
}
|
|
18323
|
-
|
|
18324
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
18325
|
-
const localVarHeaderParameter = {} as any;
|
|
18326
|
-
const localVarQueryParameter = {} as any;
|
|
18327
|
-
|
|
18328
|
-
|
|
18329
|
-
|
|
18330
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18331
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18332
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18333
|
-
|
|
18334
|
-
return {
|
|
18335
|
-
url: toPathString(localVarUrlObj),
|
|
18336
|
-
options: localVarRequestOptions,
|
|
18337
|
-
};
|
|
18338
|
-
},
|
|
18339
|
-
/**
|
|
18340
|
-
* Download Order PDF
|
|
18341
|
-
* @summary Download Order PDF
|
|
18342
|
-
* @param {number} id Order ID
|
|
18343
|
-
* @param {*} [options] Override http request option.
|
|
18344
|
-
* @throws {RequiredError}
|
|
18345
|
-
*/
|
|
18346
|
-
getGetOrderPdf: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18347
|
-
// verify required parameter 'id' is not null or undefined
|
|
18348
|
-
assertParamExists('getGetOrderPdf', 'id', id)
|
|
18349
|
-
const localVarPath = `/orders/{id}/pdf`
|
|
18350
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18351
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18352
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18353
|
-
let baseOptions;
|
|
18354
|
-
if (configuration) {
|
|
18355
|
-
baseOptions = configuration.baseOptions;
|
|
18356
|
-
}
|
|
18357
|
-
|
|
18358
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
18359
|
-
const localVarHeaderParameter = {} as any;
|
|
18360
|
-
const localVarQueryParameter = {} as any;
|
|
18361
|
-
|
|
18362
|
-
|
|
18363
|
-
|
|
18364
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18365
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18366
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18367
|
-
|
|
18368
|
-
return {
|
|
18369
|
-
url: toPathString(localVarUrlObj),
|
|
18370
|
-
options: localVarRequestOptions,
|
|
18371
|
-
};
|
|
18372
|
-
},
|
|
18373
|
-
/**
|
|
18374
|
-
* Get Orders (Beta)
|
|
18375
|
-
* @summary Get Orders (Beta)
|
|
18376
|
-
* @param {number} [pageSize] Number Of Results
|
|
18377
|
-
* @param {number} [page] Page Number
|
|
18378
|
-
* @param {string} [search] Search
|
|
18379
|
-
* @param {boolean | null} [fulfillable] Fulfillable
|
|
18380
|
-
* @param {GetGetOrdersStatusEnum} [status] Status
|
|
18381
|
-
* @param {GetGetOrdersFilterEnum} [filter] Filter
|
|
18382
|
-
* @param {number | null} [customerId] Customer ID
|
|
17145
|
+
* Get Orders (Beta)
|
|
17146
|
+
* @summary Get Orders (Beta)
|
|
17147
|
+
* @param {number} [pageSize] Number Of Results
|
|
17148
|
+
* @param {number} [page] Page Number
|
|
17149
|
+
* @param {string} [search] Search
|
|
17150
|
+
* @param {boolean | null} [fulfillable] Fulfillable
|
|
17151
|
+
* @param {GetGetOrdersStatusEnum} [status] Status
|
|
17152
|
+
* @param {GetGetOrdersFilterEnum} [filter] Filter
|
|
17153
|
+
* @param {number | null} [customerId] Customer ID
|
|
18383
17154
|
* @param {*} [options] Override http request option.
|
|
18384
17155
|
* @throws {RequiredError}
|
|
18385
17156
|
*/
|
|
@@ -18435,44 +17206,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18435
17206
|
options: localVarRequestOptions,
|
|
18436
17207
|
};
|
|
18437
17208
|
},
|
|
18438
|
-
/**
|
|
18439
|
-
* Add Order Note
|
|
18440
|
-
* @summary Add Order Note
|
|
18441
|
-
* @param {number} id Order ID
|
|
18442
|
-
* @param {PostAddOrderNoteRequest} [postAddOrderNoteRequest]
|
|
18443
|
-
* @param {*} [options] Override http request option.
|
|
18444
|
-
* @throws {RequiredError}
|
|
18445
|
-
*/
|
|
18446
|
-
postAddOrderNote: async (id: number, postAddOrderNoteRequest?: PostAddOrderNoteRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18447
|
-
// verify required parameter 'id' is not null or undefined
|
|
18448
|
-
assertParamExists('postAddOrderNote', 'id', id)
|
|
18449
|
-
const localVarPath = `/admin/orders/{id}/notes`
|
|
18450
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18451
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18452
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18453
|
-
let baseOptions;
|
|
18454
|
-
if (configuration) {
|
|
18455
|
-
baseOptions = configuration.baseOptions;
|
|
18456
|
-
}
|
|
18457
|
-
|
|
18458
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18459
|
-
const localVarHeaderParameter = {} as any;
|
|
18460
|
-
const localVarQueryParameter = {} as any;
|
|
18461
|
-
|
|
18462
|
-
|
|
18463
|
-
|
|
18464
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18465
|
-
|
|
18466
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18467
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18468
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18469
|
-
localVarRequestOptions.data = serializeDataIfNeeded(postAddOrderNoteRequest, localVarRequestOptions, configuration)
|
|
18470
|
-
|
|
18471
|
-
return {
|
|
18472
|
-
url: toPathString(localVarUrlObj),
|
|
18473
|
-
options: localVarRequestOptions,
|
|
18474
|
-
};
|
|
18475
|
-
},
|
|
18476
17209
|
/**
|
|
18477
17210
|
* Create An Order (Admin)
|
|
18478
17211
|
* @summary Create An Order (Admin)
|
|
@@ -18512,90 +17245,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18512
17245
|
options: localVarRequestOptions,
|
|
18513
17246
|
};
|
|
18514
17247
|
},
|
|
18515
|
-
/**
|
|
18516
|
-
* Create Shipping Consignment
|
|
18517
|
-
* @summary Create Shipping Consignment
|
|
18518
|
-
* @param {number} id Order ID
|
|
18519
|
-
* @param {number} shipmentId Shipment ID
|
|
18520
|
-
* @param {ShippingRequestDTO} [shippingRequestDTO] Shipping Request
|
|
18521
|
-
* @param {*} [options] Override http request option.
|
|
18522
|
-
* @throws {RequiredError}
|
|
18523
|
-
*/
|
|
18524
|
-
postCreateConsignment: async (id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18525
|
-
// verify required parameter 'id' is not null or undefined
|
|
18526
|
-
assertParamExists('postCreateConsignment', 'id', id)
|
|
18527
|
-
// verify required parameter 'shipmentId' is not null or undefined
|
|
18528
|
-
assertParamExists('postCreateConsignment', 'shipmentId', shipmentId)
|
|
18529
|
-
const localVarPath = `/admin/orders/{id}/shipments/{shipment_id}/consignment`
|
|
18530
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
18531
|
-
.replace(`{${"shipment_id"}}`, encodeURIComponent(String(shipmentId)));
|
|
18532
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18533
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18534
|
-
let baseOptions;
|
|
18535
|
-
if (configuration) {
|
|
18536
|
-
baseOptions = configuration.baseOptions;
|
|
18537
|
-
}
|
|
18538
|
-
|
|
18539
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18540
|
-
const localVarHeaderParameter = {} as any;
|
|
18541
|
-
const localVarQueryParameter = {} as any;
|
|
18542
|
-
|
|
18543
|
-
|
|
18544
|
-
|
|
18545
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18546
|
-
|
|
18547
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18548
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18549
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18550
|
-
localVarRequestOptions.data = serializeDataIfNeeded(shippingRequestDTO, localVarRequestOptions, configuration)
|
|
18551
|
-
|
|
18552
|
-
return {
|
|
18553
|
-
url: toPathString(localVarUrlObj),
|
|
18554
|
-
options: localVarRequestOptions,
|
|
18555
|
-
};
|
|
18556
|
-
},
|
|
18557
|
-
/**
|
|
18558
|
-
* Create Shipment (Admin)
|
|
18559
|
-
* @summary Create Shipment (Admin)
|
|
18560
|
-
* @param {number} id Order ID
|
|
18561
|
-
* @param {number} batchId Batch ID
|
|
18562
|
-
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
18563
|
-
* @param {*} [options] Override http request option.
|
|
18564
|
-
* @throws {RequiredError}
|
|
18565
|
-
*/
|
|
18566
|
-
postCreateShipment: async (id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18567
|
-
// verify required parameter 'id' is not null or undefined
|
|
18568
|
-
assertParamExists('postCreateShipment', 'id', id)
|
|
18569
|
-
// verify required parameter 'batchId' is not null or undefined
|
|
18570
|
-
assertParamExists('postCreateShipment', 'batchId', batchId)
|
|
18571
|
-
const localVarPath = `/admin/orders/{id}/batches/{batch_id}/shipments`
|
|
18572
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
18573
|
-
.replace(`{${"batch_id"}}`, encodeURIComponent(String(batchId)));
|
|
18574
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18575
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18576
|
-
let baseOptions;
|
|
18577
|
-
if (configuration) {
|
|
18578
|
-
baseOptions = configuration.baseOptions;
|
|
18579
|
-
}
|
|
18580
|
-
|
|
18581
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18582
|
-
const localVarHeaderParameter = {} as any;
|
|
18583
|
-
const localVarQueryParameter = {} as any;
|
|
18584
|
-
|
|
18585
|
-
|
|
18586
|
-
|
|
18587
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18588
|
-
|
|
18589
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18590
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18591
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18592
|
-
localVarRequestOptions.data = serializeDataIfNeeded(shipmentRequestDTO, localVarRequestOptions, configuration)
|
|
18593
|
-
|
|
18594
|
-
return {
|
|
18595
|
-
url: toPathString(localVarUrlObj),
|
|
18596
|
-
options: localVarRequestOptions,
|
|
18597
|
-
};
|
|
18598
|
-
},
|
|
18599
17248
|
/**
|
|
18600
17249
|
* Create An Order (Beta)
|
|
18601
17250
|
* @summary Create An Order (Beta)
|
|
@@ -18636,17 +17285,18 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18636
17285
|
};
|
|
18637
17286
|
},
|
|
18638
17287
|
/**
|
|
18639
|
-
*
|
|
18640
|
-
* @summary
|
|
17288
|
+
* Update An Order (Admin)
|
|
17289
|
+
* @summary Update An Order (Admin)
|
|
18641
17290
|
* @param {number} id Order ID
|
|
18642
|
-
* @param {
|
|
17291
|
+
* @param {boolean} [readonly] Readonly Order
|
|
17292
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
18643
17293
|
* @param {*} [options] Override http request option.
|
|
18644
17294
|
* @throws {RequiredError}
|
|
18645
17295
|
*/
|
|
18646
|
-
|
|
17296
|
+
putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18647
17297
|
// verify required parameter 'id' is not null or undefined
|
|
18648
|
-
assertParamExists('
|
|
18649
|
-
const localVarPath = `/admin/orders/{id}
|
|
17298
|
+
assertParamExists('putUpdateAdminOrder', 'id', id)
|
|
17299
|
+
const localVarPath = `/admin/orders/{id}`
|
|
18650
17300
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18651
17301
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18652
17302
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -18655,63 +17305,22 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18655
17305
|
baseOptions = configuration.baseOptions;
|
|
18656
17306
|
}
|
|
18657
17307
|
|
|
18658
|
-
const localVarRequestOptions = { method: '
|
|
18659
|
-
const localVarHeaderParameter = {} as any;
|
|
18660
|
-
const localVarQueryParameter = {} as any;
|
|
18661
|
-
|
|
18662
|
-
|
|
18663
|
-
|
|
18664
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18665
|
-
|
|
18666
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18667
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18668
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18669
|
-
localVarRequestOptions.data = serializeDataIfNeeded(creditNoteDTO, localVarRequestOptions, configuration)
|
|
18670
|
-
|
|
18671
|
-
return {
|
|
18672
|
-
url: toPathString(localVarUrlObj),
|
|
18673
|
-
options: localVarRequestOptions,
|
|
18674
|
-
};
|
|
18675
|
-
},
|
|
18676
|
-
/**
|
|
18677
|
-
* Print Shipment Label
|
|
18678
|
-
* @summary Print Shipment Label
|
|
18679
|
-
* @param {number} id Order ID
|
|
18680
|
-
* @param {number} shipmentId Shipment ID
|
|
18681
|
-
* @param {PostPrintShippingLabelPrinterEnum} printer Printer
|
|
18682
|
-
* @param {*} [options] Override http request option.
|
|
18683
|
-
* @throws {RequiredError}
|
|
18684
|
-
*/
|
|
18685
|
-
postPrintShippingLabel: async (id: number, shipmentId: number, printer: PostPrintShippingLabelPrinterEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18686
|
-
// verify required parameter 'id' is not null or undefined
|
|
18687
|
-
assertParamExists('postPrintShippingLabel', 'id', id)
|
|
18688
|
-
// verify required parameter 'shipmentId' is not null or undefined
|
|
18689
|
-
assertParamExists('postPrintShippingLabel', 'shipmentId', shipmentId)
|
|
18690
|
-
// verify required parameter 'printer' is not null or undefined
|
|
18691
|
-
assertParamExists('postPrintShippingLabel', 'printer', printer)
|
|
18692
|
-
const localVarPath = `/admin/orders/{id}/shipments/{shipment_id}/label/print`
|
|
18693
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
18694
|
-
.replace(`{${"shipment_id"}}`, encodeURIComponent(String(shipmentId)));
|
|
18695
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18696
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18697
|
-
let baseOptions;
|
|
18698
|
-
if (configuration) {
|
|
18699
|
-
baseOptions = configuration.baseOptions;
|
|
18700
|
-
}
|
|
18701
|
-
|
|
18702
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
17308
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
18703
17309
|
const localVarHeaderParameter = {} as any;
|
|
18704
17310
|
const localVarQueryParameter = {} as any;
|
|
18705
17311
|
|
|
18706
|
-
if (
|
|
18707
|
-
localVarQueryParameter['
|
|
17312
|
+
if (readonly !== undefined) {
|
|
17313
|
+
localVarQueryParameter['readonly'] = readonly;
|
|
18708
17314
|
}
|
|
18709
17315
|
|
|
18710
17316
|
|
|
18711
17317
|
|
|
17318
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17319
|
+
|
|
18712
17320
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18713
17321
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18714
17322
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17323
|
+
localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
|
|
18715
17324
|
|
|
18716
17325
|
return {
|
|
18717
17326
|
url: toPathString(localVarUrlObj),
|
|
@@ -18719,19 +17328,18 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18719
17328
|
};
|
|
18720
17329
|
},
|
|
18721
17330
|
/**
|
|
18722
|
-
*
|
|
18723
|
-
* @summary
|
|
17331
|
+
* Update An Order (Beta)
|
|
17332
|
+
* @summary Update An Order (Beta)
|
|
18724
17333
|
* @param {number} id Order ID
|
|
18725
|
-
* @param {
|
|
17334
|
+
* @param {boolean} [readonly] Readonly Order
|
|
17335
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
18726
17336
|
* @param {*} [options] Override http request option.
|
|
18727
17337
|
* @throws {RequiredError}
|
|
18728
17338
|
*/
|
|
18729
|
-
|
|
17339
|
+
putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18730
17340
|
// verify required parameter 'id' is not null or undefined
|
|
18731
|
-
assertParamExists('
|
|
18732
|
-
|
|
18733
|
-
assertParamExists('postSendOrderEmail', 'email', email)
|
|
18734
|
-
const localVarPath = `/admin/orders/{id}/email/send`
|
|
17341
|
+
assertParamExists('putUpdateOrder', 'id', id)
|
|
17342
|
+
const localVarPath = `/orders/{id}`
|
|
18735
17343
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18736
17344
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18737
17345
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -18740,559 +17348,122 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18740
17348
|
baseOptions = configuration.baseOptions;
|
|
18741
17349
|
}
|
|
18742
17350
|
|
|
18743
|
-
const localVarRequestOptions = { method: '
|
|
17351
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
18744
17352
|
const localVarHeaderParameter = {} as any;
|
|
18745
17353
|
const localVarQueryParameter = {} as any;
|
|
18746
17354
|
|
|
18747
|
-
if (
|
|
18748
|
-
localVarQueryParameter['
|
|
18749
|
-
}
|
|
18750
|
-
|
|
18751
|
-
|
|
18752
|
-
|
|
18753
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18754
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18755
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18756
|
-
|
|
18757
|
-
return {
|
|
18758
|
-
url: toPathString(localVarUrlObj),
|
|
18759
|
-
options: localVarRequestOptions,
|
|
18760
|
-
};
|
|
18761
|
-
},
|
|
18762
|
-
/**
|
|
18763
|
-
* Send Supplier Email
|
|
18764
|
-
* @summary Send Supplier Email
|
|
18765
|
-
* @param {number} id Order ID
|
|
18766
|
-
* @param {number} batchId Batch ID
|
|
18767
|
-
* @param {*} [options] Override http request option.
|
|
18768
|
-
* @throws {RequiredError}
|
|
18769
|
-
*/
|
|
18770
|
-
postSendSupplierEmail: async (id: number, batchId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18771
|
-
// verify required parameter 'id' is not null or undefined
|
|
18772
|
-
assertParamExists('postSendSupplierEmail', 'id', id)
|
|
18773
|
-
// verify required parameter 'batchId' is not null or undefined
|
|
18774
|
-
assertParamExists('postSendSupplierEmail', 'batchId', batchId)
|
|
18775
|
-
const localVarPath = `/admin/orders/{id}/batches/{batch_id}/email/send`
|
|
18776
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
18777
|
-
.replace(`{${"batch_id"}}`, encodeURIComponent(String(batchId)));
|
|
18778
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18779
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18780
|
-
let baseOptions;
|
|
18781
|
-
if (configuration) {
|
|
18782
|
-
baseOptions = configuration.baseOptions;
|
|
17355
|
+
if (readonly !== undefined) {
|
|
17356
|
+
localVarQueryParameter['readonly'] = readonly;
|
|
18783
17357
|
}
|
|
18784
17358
|
|
|
18785
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18786
|
-
const localVarHeaderParameter = {} as any;
|
|
18787
|
-
const localVarQueryParameter = {} as any;
|
|
18788
|
-
|
|
18789
|
-
|
|
18790
|
-
|
|
18791
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18792
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18793
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18794
|
-
|
|
18795
|
-
return {
|
|
18796
|
-
url: toPathString(localVarUrlObj),
|
|
18797
|
-
options: localVarRequestOptions,
|
|
18798
|
-
};
|
|
18799
|
-
},
|
|
18800
|
-
/**
|
|
18801
|
-
* Split Order
|
|
18802
|
-
* @summary Split Order
|
|
18803
|
-
* @param {number} id Order ID
|
|
18804
|
-
* @param {PostSplitOrderRequest} [postSplitOrderRequest]
|
|
18805
|
-
* @param {*} [options] Override http request option.
|
|
18806
|
-
* @throws {RequiredError}
|
|
18807
|
-
*/
|
|
18808
|
-
postSplitOrder: async (id: number, postSplitOrderRequest?: PostSplitOrderRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18809
|
-
// verify required parameter 'id' is not null or undefined
|
|
18810
|
-
assertParamExists('postSplitOrder', 'id', id)
|
|
18811
|
-
const localVarPath = `/admin/orders/{id}/split`
|
|
18812
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18813
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18814
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18815
|
-
let baseOptions;
|
|
18816
|
-
if (configuration) {
|
|
18817
|
-
baseOptions = configuration.baseOptions;
|
|
18818
|
-
}
|
|
18819
|
-
|
|
18820
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18821
|
-
const localVarHeaderParameter = {} as any;
|
|
18822
|
-
const localVarQueryParameter = {} as any;
|
|
18823
|
-
|
|
18824
17359
|
|
|
18825
17360
|
|
|
18826
17361
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18827
|
-
|
|
18828
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18829
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18830
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18831
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
18832
|
-
|
|
18833
|
-
return {
|
|
18834
|
-
url: toPathString(localVarUrlObj),
|
|
18835
|
-
options: localVarRequestOptions,
|
|
18836
|
-
};
|
|
18837
|
-
},
|
|
18838
|
-
/**
|
|
18839
|
-
* Allocate Items To Supplier
|
|
18840
|
-
* @summary Allocate Items To Supplier
|
|
18841
|
-
* @param {number} id Order ID
|
|
18842
|
-
* @param {number} supplierId Supplier ID
|
|
18843
|
-
* @param {PutAllocateItemsRequest} [putAllocateItemsRequest]
|
|
18844
|
-
* @param {*} [options] Override http request option.
|
|
18845
|
-
* @throws {RequiredError}
|
|
18846
|
-
*/
|
|
18847
|
-
putAllocateItems: async (id: number, supplierId: number, putAllocateItemsRequest?: PutAllocateItemsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18848
|
-
// verify required parameter 'id' is not null or undefined
|
|
18849
|
-
assertParamExists('putAllocateItems', 'id', id)
|
|
18850
|
-
// verify required parameter 'supplierId' is not null or undefined
|
|
18851
|
-
assertParamExists('putAllocateItems', 'supplierId', supplierId)
|
|
18852
|
-
const localVarPath = `/admin/orders/{id}/items/allocate`
|
|
18853
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18854
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18855
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18856
|
-
let baseOptions;
|
|
18857
|
-
if (configuration) {
|
|
18858
|
-
baseOptions = configuration.baseOptions;
|
|
18859
|
-
}
|
|
18860
|
-
|
|
18861
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
18862
|
-
const localVarHeaderParameter = {} as any;
|
|
18863
|
-
const localVarQueryParameter = {} as any;
|
|
18864
|
-
|
|
18865
|
-
if (supplierId !== undefined) {
|
|
18866
|
-
localVarQueryParameter['supplierId'] = supplierId;
|
|
18867
|
-
}
|
|
18868
|
-
|
|
18869
|
-
|
|
18870
|
-
|
|
18871
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18872
|
-
|
|
18873
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18874
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18875
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18876
|
-
localVarRequestOptions.data = serializeDataIfNeeded(putAllocateItemsRequest, localVarRequestOptions, configuration)
|
|
18877
|
-
|
|
18878
|
-
return {
|
|
18879
|
-
url: toPathString(localVarUrlObj),
|
|
18880
|
-
options: localVarRequestOptions,
|
|
18881
|
-
};
|
|
18882
|
-
},
|
|
18883
|
-
/**
|
|
18884
|
-
* Update Shipment (Admin)
|
|
18885
|
-
* @summary Update Shipment (Admin)
|
|
18886
|
-
* @param {number} id Order ID
|
|
18887
|
-
* @param {number} batchId Batch ID
|
|
18888
|
-
* @param {number} shipmentId Shipment ID
|
|
18889
|
-
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
18890
|
-
* @param {*} [options] Override http request option.
|
|
18891
|
-
* @throws {RequiredError}
|
|
18892
|
-
*/
|
|
18893
|
-
putCreateShipment: async (id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18894
|
-
// verify required parameter 'id' is not null or undefined
|
|
18895
|
-
assertParamExists('putCreateShipment', 'id', id)
|
|
18896
|
-
// verify required parameter 'batchId' is not null or undefined
|
|
18897
|
-
assertParamExists('putCreateShipment', 'batchId', batchId)
|
|
18898
|
-
// verify required parameter 'shipmentId' is not null or undefined
|
|
18899
|
-
assertParamExists('putCreateShipment', 'shipmentId', shipmentId)
|
|
18900
|
-
const localVarPath = `/admin/orders/{id}/batches/{batch_id}/shipments`
|
|
18901
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
18902
|
-
.replace(`{${"batch_id"}}`, encodeURIComponent(String(batchId)))
|
|
18903
|
-
.replace(`{${"shipment_id"}}`, encodeURIComponent(String(shipmentId)));
|
|
18904
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18905
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18906
|
-
let baseOptions;
|
|
18907
|
-
if (configuration) {
|
|
18908
|
-
baseOptions = configuration.baseOptions;
|
|
18909
|
-
}
|
|
18910
|
-
|
|
18911
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
18912
|
-
const localVarHeaderParameter = {} as any;
|
|
18913
|
-
const localVarQueryParameter = {} as any;
|
|
18914
|
-
|
|
18915
|
-
|
|
18916
|
-
|
|
18917
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18918
|
-
|
|
18919
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18920
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18921
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18922
|
-
localVarRequestOptions.data = serializeDataIfNeeded(shipmentRequestDTO, localVarRequestOptions, configuration)
|
|
18923
|
-
|
|
18924
|
-
return {
|
|
18925
|
-
url: toPathString(localVarUrlObj),
|
|
18926
|
-
options: localVarRequestOptions,
|
|
18927
|
-
};
|
|
18928
|
-
},
|
|
18929
|
-
/**
|
|
18930
|
-
* Update An Order (Admin)
|
|
18931
|
-
* @summary Update An Order (Admin)
|
|
18932
|
-
* @param {number} id Order ID
|
|
18933
|
-
* @param {boolean} [readonly] Readonly Order
|
|
18934
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
18935
|
-
* @param {*} [options] Override http request option.
|
|
18936
|
-
* @throws {RequiredError}
|
|
18937
|
-
*/
|
|
18938
|
-
putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18939
|
-
// verify required parameter 'id' is not null or undefined
|
|
18940
|
-
assertParamExists('putUpdateAdminOrder', 'id', id)
|
|
18941
|
-
const localVarPath = `/admin/orders/{id}`
|
|
18942
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18943
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18944
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18945
|
-
let baseOptions;
|
|
18946
|
-
if (configuration) {
|
|
18947
|
-
baseOptions = configuration.baseOptions;
|
|
18948
|
-
}
|
|
18949
|
-
|
|
18950
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
18951
|
-
const localVarHeaderParameter = {} as any;
|
|
18952
|
-
const localVarQueryParameter = {} as any;
|
|
18953
|
-
|
|
18954
|
-
if (readonly !== undefined) {
|
|
18955
|
-
localVarQueryParameter['readonly'] = readonly;
|
|
18956
|
-
}
|
|
18957
|
-
|
|
18958
|
-
|
|
18959
|
-
|
|
18960
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18961
|
-
|
|
18962
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18963
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18964
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18965
|
-
localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
|
|
18966
|
-
|
|
18967
|
-
return {
|
|
18968
|
-
url: toPathString(localVarUrlObj),
|
|
18969
|
-
options: localVarRequestOptions,
|
|
18970
|
-
};
|
|
18971
|
-
},
|
|
18972
|
-
/**
|
|
18973
|
-
* Update An Order (Beta)
|
|
18974
|
-
* @summary Update An Order (Beta)
|
|
18975
|
-
* @param {number} id Order ID
|
|
18976
|
-
* @param {boolean} [readonly] Readonly Order
|
|
18977
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
18978
|
-
* @param {*} [options] Override http request option.
|
|
18979
|
-
* @throws {RequiredError}
|
|
18980
|
-
*/
|
|
18981
|
-
putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18982
|
-
// verify required parameter 'id' is not null or undefined
|
|
18983
|
-
assertParamExists('putUpdateOrder', 'id', id)
|
|
18984
|
-
const localVarPath = `/orders/{id}`
|
|
18985
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18986
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18987
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18988
|
-
let baseOptions;
|
|
18989
|
-
if (configuration) {
|
|
18990
|
-
baseOptions = configuration.baseOptions;
|
|
18991
|
-
}
|
|
18992
|
-
|
|
18993
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
18994
|
-
const localVarHeaderParameter = {} as any;
|
|
18995
|
-
const localVarQueryParameter = {} as any;
|
|
18996
|
-
|
|
18997
|
-
if (readonly !== undefined) {
|
|
18998
|
-
localVarQueryParameter['readonly'] = readonly;
|
|
18999
|
-
}
|
|
19000
|
-
|
|
19001
|
-
|
|
19002
|
-
|
|
19003
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19004
|
-
|
|
19005
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19006
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19007
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19008
|
-
localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
|
|
19009
|
-
|
|
19010
|
-
return {
|
|
19011
|
-
url: toPathString(localVarUrlObj),
|
|
19012
|
-
options: localVarRequestOptions,
|
|
19013
|
-
};
|
|
19014
|
-
},
|
|
19015
|
-
}
|
|
19016
|
-
};
|
|
19017
|
-
|
|
19018
|
-
/**
|
|
19019
|
-
* OrdersApi - functional programming interface
|
|
19020
|
-
* @export
|
|
19021
|
-
*/
|
|
19022
|
-
export const OrdersApiFp = function(configuration?: Configuration) {
|
|
19023
|
-
const localVarAxiosParamCreator = OrdersApiAxiosParamCreator(configuration)
|
|
19024
|
-
return {
|
|
19025
|
-
/**
|
|
19026
|
-
* Delete Shipment (Admin)
|
|
19027
|
-
* @summary Delete Shipment (Admin)
|
|
19028
|
-
* @param {number} id Order ID
|
|
19029
|
-
* @param {number} batchId Batch ID
|
|
19030
|
-
* @param {number} shipmentId Shipment ID
|
|
19031
|
-
* @param {*} [options] Override http request option.
|
|
19032
|
-
* @throws {RequiredError}
|
|
19033
|
-
*/
|
|
19034
|
-
async deleteCreateShipment(id: number, batchId: number, shipmentId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
19035
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCreateShipment(id, batchId, shipmentId, options);
|
|
19036
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19037
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteCreateShipment']?.[localVarOperationServerIndex]?.url;
|
|
19038
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19039
|
-
},
|
|
19040
|
-
/**
|
|
19041
|
-
* Delete Orders (Beta)
|
|
19042
|
-
* @summary Delete Orders (Beta)
|
|
19043
|
-
* @param {number} id Order ID
|
|
19044
|
-
* @param {*} [options] Override http request option.
|
|
19045
|
-
* @throws {RequiredError}
|
|
19046
|
-
*/
|
|
19047
|
-
async deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
19048
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUpdateOrder(id, options);
|
|
19049
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19050
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteUpdateOrder']?.[localVarOperationServerIndex]?.url;
|
|
19051
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19052
|
-
},
|
|
19053
|
-
/**
|
|
19054
|
-
* Get Editable Order (Admin)
|
|
19055
|
-
* @summary Get Editable Order (Admin)
|
|
19056
|
-
* @param {number} id Order ID
|
|
19057
|
-
* @param {*} [options] Override http request option.
|
|
19058
|
-
* @throws {RequiredError}
|
|
19059
|
-
*/
|
|
19060
|
-
async getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminOrderRequestDTO>> {
|
|
19061
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAdminEditableOrder(id, options);
|
|
19062
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19063
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetAdminEditableOrder']?.[localVarOperationServerIndex]?.url;
|
|
19064
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19065
|
-
},
|
|
19066
|
-
/**
|
|
19067
|
-
* Get Order Details (Admin)
|
|
19068
|
-
* @summary Get Order Details (Admin)
|
|
19069
|
-
* @param {number} id Order ID
|
|
19070
|
-
* @param {*} [options] Override http request option.
|
|
19071
|
-
* @throws {RequiredError}
|
|
19072
|
-
*/
|
|
19073
|
-
async getGetAdminOrderDetails(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderDetailsDTO>> {
|
|
19074
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAdminOrderDetails(id, options);
|
|
19075
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19076
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetAdminOrderDetails']?.[localVarOperationServerIndex]?.url;
|
|
19077
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19078
|
-
},
|
|
19079
|
-
/**
|
|
19080
|
-
* Get Editable Order (Beta)
|
|
19081
|
-
* @summary Get Editable Order (Beta)
|
|
19082
|
-
* @param {number} id Order ID
|
|
19083
|
-
* @param {*} [options] Override http request option.
|
|
19084
|
-
* @throws {RequiredError}
|
|
19085
|
-
*/
|
|
19086
|
-
async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DetailedOrderRequestDTO>> {
|
|
19087
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
|
|
19088
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19089
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
|
|
19090
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19091
|
-
},
|
|
19092
|
-
/**
|
|
19093
|
-
* Download Order PDF
|
|
19094
|
-
* @summary Download Order PDF
|
|
19095
|
-
* @param {number} id Order ID
|
|
19096
|
-
* @param {*} [options] Override http request option.
|
|
19097
|
-
* @throws {RequiredError}
|
|
19098
|
-
*/
|
|
19099
|
-
async getGetOrderPdf(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
19100
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetOrderPdf(id, options);
|
|
19101
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19102
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrderPdf']?.[localVarOperationServerIndex]?.url;
|
|
19103
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19104
|
-
},
|
|
19105
|
-
/**
|
|
19106
|
-
* Get Orders (Beta)
|
|
19107
|
-
* @summary Get Orders (Beta)
|
|
19108
|
-
* @param {number} [pageSize] Number Of Results
|
|
19109
|
-
* @param {number} [page] Page Number
|
|
19110
|
-
* @param {string} [search] Search
|
|
19111
|
-
* @param {boolean | null} [fulfillable] Fulfillable
|
|
19112
|
-
* @param {GetGetOrdersStatusEnum} [status] Status
|
|
19113
|
-
* @param {GetGetOrdersFilterEnum} [filter] Filter
|
|
19114
|
-
* @param {number | null} [customerId] Customer ID
|
|
19115
|
-
* @param {*} [options] Override http request option.
|
|
19116
|
-
* @throws {RequiredError}
|
|
19117
|
-
*/
|
|
19118
|
-
async 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>> {
|
|
19119
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options);
|
|
19120
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19121
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
19122
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19123
|
-
},
|
|
19124
|
-
/**
|
|
19125
|
-
* Add Order Note
|
|
19126
|
-
* @summary Add Order Note
|
|
19127
|
-
* @param {number} id Order ID
|
|
19128
|
-
* @param {PostAddOrderNoteRequest} [postAddOrderNoteRequest]
|
|
19129
|
-
* @param {*} [options] Override http request option.
|
|
19130
|
-
* @throws {RequiredError}
|
|
19131
|
-
*/
|
|
19132
|
-
async postAddOrderNote(id: number, postAddOrderNoteRequest?: PostAddOrderNoteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
19133
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postAddOrderNote(id, postAddOrderNoteRequest, options);
|
|
19134
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19135
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postAddOrderNote']?.[localVarOperationServerIndex]?.url;
|
|
19136
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19137
|
-
},
|
|
19138
|
-
/**
|
|
19139
|
-
* Create An Order (Admin)
|
|
19140
|
-
* @summary Create An Order (Admin)
|
|
19141
|
-
* @param {boolean} [readonly] Readonly Order
|
|
19142
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
19143
|
-
* @param {*} [options] Override http request option.
|
|
19144
|
-
* @throws {RequiredError}
|
|
19145
|
-
*/
|
|
19146
|
-
async postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
19147
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options);
|
|
19148
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19149
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
|
|
19150
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19151
|
-
},
|
|
19152
|
-
/**
|
|
19153
|
-
* Create Shipping Consignment
|
|
19154
|
-
* @summary Create Shipping Consignment
|
|
19155
|
-
* @param {number} id Order ID
|
|
19156
|
-
* @param {number} shipmentId Shipment ID
|
|
19157
|
-
* @param {ShippingRequestDTO} [shippingRequestDTO] Shipping Request
|
|
19158
|
-
* @param {*} [options] Override http request option.
|
|
19159
|
-
* @throws {RequiredError}
|
|
19160
|
-
*/
|
|
19161
|
-
async postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentModel>> {
|
|
19162
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateConsignment(id, shipmentId, shippingRequestDTO, options);
|
|
19163
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19164
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateConsignment']?.[localVarOperationServerIndex]?.url;
|
|
19165
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19166
|
-
},
|
|
19167
|
-
/**
|
|
19168
|
-
* Create Shipment (Admin)
|
|
19169
|
-
* @summary Create Shipment (Admin)
|
|
19170
|
-
* @param {number} id Order ID
|
|
19171
|
-
* @param {number} batchId Batch ID
|
|
19172
|
-
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
19173
|
-
* @param {*} [options] Override http request option.
|
|
19174
|
-
* @throws {RequiredError}
|
|
19175
|
-
*/
|
|
19176
|
-
async postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentModel>> {
|
|
19177
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateShipment(id, batchId, shipmentRequestDTO, options);
|
|
19178
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19179
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateShipment']?.[localVarOperationServerIndex]?.url;
|
|
19180
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19181
|
-
},
|
|
19182
|
-
/**
|
|
19183
|
-
* Create An Order (Beta)
|
|
19184
|
-
* @summary Create An Order (Beta)
|
|
19185
|
-
* @param {boolean} [readonly] Readonly Order
|
|
19186
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
19187
|
-
* @param {*} [options] Override http request option.
|
|
19188
|
-
* @throws {RequiredError}
|
|
19189
|
-
*/
|
|
19190
|
-
async postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
19191
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options);
|
|
19192
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19193
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
19194
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19195
|
-
},
|
|
19196
|
-
/**
|
|
19197
|
-
* Issue Credit (Admin)
|
|
19198
|
-
* @summary Issue Credit (Admin)
|
|
19199
|
-
* @param {number} id Order ID
|
|
19200
|
-
* @param {CreditNoteDTO} [creditNoteDTO] Credit Request
|
|
19201
|
-
* @param {*} [options] Override http request option.
|
|
19202
|
-
* @throws {RequiredError}
|
|
19203
|
-
*/
|
|
19204
|
-
async postIssueCredit(id: number, creditNoteDTO?: CreditNoteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreditNoteModel>> {
|
|
19205
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postIssueCredit(id, creditNoteDTO, options);
|
|
19206
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19207
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postIssueCredit']?.[localVarOperationServerIndex]?.url;
|
|
19208
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17362
|
+
|
|
17363
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17364
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17365
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17366
|
+
localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
|
|
17367
|
+
|
|
17368
|
+
return {
|
|
17369
|
+
url: toPathString(localVarUrlObj),
|
|
17370
|
+
options: localVarRequestOptions,
|
|
17371
|
+
};
|
|
19209
17372
|
},
|
|
17373
|
+
}
|
|
17374
|
+
};
|
|
17375
|
+
|
|
17376
|
+
/**
|
|
17377
|
+
* OrdersApi - functional programming interface
|
|
17378
|
+
* @export
|
|
17379
|
+
*/
|
|
17380
|
+
export const OrdersApiFp = function(configuration?: Configuration) {
|
|
17381
|
+
const localVarAxiosParamCreator = OrdersApiAxiosParamCreator(configuration)
|
|
17382
|
+
return {
|
|
19210
17383
|
/**
|
|
19211
|
-
*
|
|
19212
|
-
* @summary
|
|
17384
|
+
* Delete Orders (Beta)
|
|
17385
|
+
* @summary Delete Orders (Beta)
|
|
19213
17386
|
* @param {number} id Order ID
|
|
19214
|
-
* @param {number} shipmentId Shipment ID
|
|
19215
|
-
* @param {PostPrintShippingLabelPrinterEnum} printer Printer
|
|
19216
17387
|
* @param {*} [options] Override http request option.
|
|
19217
17388
|
* @throws {RequiredError}
|
|
19218
17389
|
*/
|
|
19219
|
-
async
|
|
19220
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
17390
|
+
async deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17391
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUpdateOrder(id, options);
|
|
19221
17392
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19222
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
17393
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteUpdateOrder']?.[localVarOperationServerIndex]?.url;
|
|
19223
17394
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19224
17395
|
},
|
|
19225
17396
|
/**
|
|
19226
|
-
*
|
|
19227
|
-
* @summary
|
|
17397
|
+
* Get Editable Order (Admin)
|
|
17398
|
+
* @summary Get Editable Order (Admin)
|
|
19228
17399
|
* @param {number} id Order ID
|
|
19229
|
-
* @param {string} email Email Address
|
|
19230
17400
|
* @param {*} [options] Override http request option.
|
|
19231
17401
|
* @throws {RequiredError}
|
|
19232
17402
|
*/
|
|
19233
|
-
async
|
|
19234
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
17403
|
+
async getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminOrderRequestDTO>> {
|
|
17404
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAdminEditableOrder(id, options);
|
|
19235
17405
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19236
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
17406
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetAdminEditableOrder']?.[localVarOperationServerIndex]?.url;
|
|
19237
17407
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19238
17408
|
},
|
|
19239
17409
|
/**
|
|
19240
|
-
*
|
|
19241
|
-
* @summary
|
|
17410
|
+
* Get Editable Order (Beta)
|
|
17411
|
+
* @summary Get Editable Order (Beta)
|
|
19242
17412
|
* @param {number} id Order ID
|
|
19243
|
-
* @param {number} batchId Batch ID
|
|
19244
17413
|
* @param {*} [options] Override http request option.
|
|
19245
17414
|
* @throws {RequiredError}
|
|
19246
17415
|
*/
|
|
19247
|
-
async
|
|
19248
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
17416
|
+
async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DetailedOrderRequestDTO>> {
|
|
17417
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
|
|
19249
17418
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19250
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
17419
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
|
|
19251
17420
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19252
17421
|
},
|
|
19253
17422
|
/**
|
|
19254
|
-
*
|
|
19255
|
-
* @summary
|
|
19256
|
-
* @param {number}
|
|
19257
|
-
* @param {
|
|
17423
|
+
* Get Orders (Beta)
|
|
17424
|
+
* @summary Get Orders (Beta)
|
|
17425
|
+
* @param {number} [pageSize] Number Of Results
|
|
17426
|
+
* @param {number} [page] Page Number
|
|
17427
|
+
* @param {string} [search] Search
|
|
17428
|
+
* @param {boolean | null} [fulfillable] Fulfillable
|
|
17429
|
+
* @param {GetGetOrdersStatusEnum} [status] Status
|
|
17430
|
+
* @param {GetGetOrdersFilterEnum} [filter] Filter
|
|
17431
|
+
* @param {number | null} [customerId] Customer ID
|
|
19258
17432
|
* @param {*} [options] Override http request option.
|
|
19259
17433
|
* @throws {RequiredError}
|
|
19260
17434
|
*/
|
|
19261
|
-
async
|
|
19262
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
17435
|
+
async 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>> {
|
|
17436
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options);
|
|
19263
17437
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19264
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
17438
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
19265
17439
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19266
17440
|
},
|
|
19267
17441
|
/**
|
|
19268
|
-
*
|
|
19269
|
-
* @summary
|
|
19270
|
-
* @param {
|
|
19271
|
-
* @param {
|
|
19272
|
-
* @param {PutAllocateItemsRequest} [putAllocateItemsRequest]
|
|
17442
|
+
* Create An Order (Admin)
|
|
17443
|
+
* @summary Create An Order (Admin)
|
|
17444
|
+
* @param {boolean} [readonly] Readonly Order
|
|
17445
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
19273
17446
|
* @param {*} [options] Override http request option.
|
|
19274
17447
|
* @throws {RequiredError}
|
|
19275
17448
|
*/
|
|
19276
|
-
async
|
|
19277
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
17449
|
+
async postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
17450
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options);
|
|
19278
17451
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19279
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
17452
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
|
|
19280
17453
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19281
17454
|
},
|
|
19282
17455
|
/**
|
|
19283
|
-
*
|
|
19284
|
-
* @summary
|
|
19285
|
-
* @param {
|
|
19286
|
-
* @param {
|
|
19287
|
-
* @param {number} shipmentId Shipment ID
|
|
19288
|
-
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
17456
|
+
* Create An Order (Beta)
|
|
17457
|
+
* @summary Create An Order (Beta)
|
|
17458
|
+
* @param {boolean} [readonly] Readonly Order
|
|
17459
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
19289
17460
|
* @param {*} [options] Override http request option.
|
|
19290
17461
|
* @throws {RequiredError}
|
|
19291
17462
|
*/
|
|
19292
|
-
async
|
|
19293
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
17463
|
+
async postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
17464
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options);
|
|
19294
17465
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19295
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
17466
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
19296
17467
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19297
17468
|
},
|
|
19298
17469
|
/**
|
|
@@ -19335,18 +17506,6 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
19335
17506
|
export const OrdersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
19336
17507
|
const localVarFp = OrdersApiFp(configuration)
|
|
19337
17508
|
return {
|
|
19338
|
-
/**
|
|
19339
|
-
* Delete Shipment (Admin)
|
|
19340
|
-
* @summary Delete Shipment (Admin)
|
|
19341
|
-
* @param {number} id Order ID
|
|
19342
|
-
* @param {number} batchId Batch ID
|
|
19343
|
-
* @param {number} shipmentId Shipment ID
|
|
19344
|
-
* @param {*} [options] Override http request option.
|
|
19345
|
-
* @throws {RequiredError}
|
|
19346
|
-
*/
|
|
19347
|
-
deleteCreateShipment(id: number, batchId: number, shipmentId: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19348
|
-
return localVarFp.deleteCreateShipment(id, batchId, shipmentId, options).then((request) => request(axios, basePath));
|
|
19349
|
-
},
|
|
19350
17509
|
/**
|
|
19351
17510
|
* Delete Orders (Beta)
|
|
19352
17511
|
* @summary Delete Orders (Beta)
|
|
@@ -19367,16 +17526,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
19367
17526
|
getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AdminOrderRequestDTO> {
|
|
19368
17527
|
return localVarFp.getGetAdminEditableOrder(id, options).then((request) => request(axios, basePath));
|
|
19369
17528
|
},
|
|
19370
|
-
/**
|
|
19371
|
-
* Get Order Details (Admin)
|
|
19372
|
-
* @summary Get Order Details (Admin)
|
|
19373
|
-
* @param {number} id Order ID
|
|
19374
|
-
* @param {*} [options] Override http request option.
|
|
19375
|
-
* @throws {RequiredError}
|
|
19376
|
-
*/
|
|
19377
|
-
getGetAdminOrderDetails(id: number, options?: RawAxiosRequestConfig): AxiosPromise<OrderDetailsDTO> {
|
|
19378
|
-
return localVarFp.getGetAdminOrderDetails(id, options).then((request) => request(axios, basePath));
|
|
19379
|
-
},
|
|
19380
17529
|
/**
|
|
19381
17530
|
* Get Editable Order (Beta)
|
|
19382
17531
|
* @summary Get Editable Order (Beta)
|
|
@@ -19387,16 +17536,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
19387
17536
|
getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<DetailedOrderRequestDTO> {
|
|
19388
17537
|
return localVarFp.getGetEditableOrder(id, options).then((request) => request(axios, basePath));
|
|
19389
17538
|
},
|
|
19390
|
-
/**
|
|
19391
|
-
* Download Order PDF
|
|
19392
|
-
* @summary Download Order PDF
|
|
19393
|
-
* @param {number} id Order ID
|
|
19394
|
-
* @param {*} [options] Override http request option.
|
|
19395
|
-
* @throws {RequiredError}
|
|
19396
|
-
*/
|
|
19397
|
-
getGetOrderPdf(id: number, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
19398
|
-
return localVarFp.getGetOrderPdf(id, options).then((request) => request(axios, basePath));
|
|
19399
|
-
},
|
|
19400
17539
|
/**
|
|
19401
17540
|
* Get Orders (Beta)
|
|
19402
17541
|
* @summary Get Orders (Beta)
|
|
@@ -19413,17 +17552,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
19413
17552
|
getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel> {
|
|
19414
17553
|
return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(axios, basePath));
|
|
19415
17554
|
},
|
|
19416
|
-
/**
|
|
19417
|
-
* Add Order Note
|
|
19418
|
-
* @summary Add Order Note
|
|
19419
|
-
* @param {number} id Order ID
|
|
19420
|
-
* @param {PostAddOrderNoteRequest} [postAddOrderNoteRequest]
|
|
19421
|
-
* @param {*} [options] Override http request option.
|
|
19422
|
-
* @throws {RequiredError}
|
|
19423
|
-
*/
|
|
19424
|
-
postAddOrderNote(id: number, postAddOrderNoteRequest?: PostAddOrderNoteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19425
|
-
return localVarFp.postAddOrderNote(id, postAddOrderNoteRequest, options).then((request) => request(axios, basePath));
|
|
19426
|
-
},
|
|
19427
17555
|
/**
|
|
19428
17556
|
* Create An Order (Admin)
|
|
19429
17557
|
* @summary Create An Order (Admin)
|
|
@@ -19435,30 +17563,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
19435
17563
|
postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
19436
17564
|
return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
19437
17565
|
},
|
|
19438
|
-
/**
|
|
19439
|
-
* Create Shipping Consignment
|
|
19440
|
-
* @summary Create Shipping Consignment
|
|
19441
|
-
* @param {number} id Order ID
|
|
19442
|
-
* @param {number} shipmentId Shipment ID
|
|
19443
|
-
* @param {ShippingRequestDTO} [shippingRequestDTO] Shipping Request
|
|
19444
|
-
* @param {*} [options] Override http request option.
|
|
19445
|
-
* @throws {RequiredError}
|
|
19446
|
-
*/
|
|
19447
|
-
postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentModel> {
|
|
19448
|
-
return localVarFp.postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then((request) => request(axios, basePath));
|
|
19449
|
-
},
|
|
19450
|
-
/**
|
|
19451
|
-
* Create Shipment (Admin)
|
|
19452
|
-
* @summary Create Shipment (Admin)
|
|
19453
|
-
* @param {number} id Order ID
|
|
19454
|
-
* @param {number} batchId Batch ID
|
|
19455
|
-
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
19456
|
-
* @param {*} [options] Override http request option.
|
|
19457
|
-
* @throws {RequiredError}
|
|
19458
|
-
*/
|
|
19459
|
-
postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentModel> {
|
|
19460
|
-
return localVarFp.postCreateShipment(id, batchId, shipmentRequestDTO, options).then((request) => request(axios, basePath));
|
|
19461
|
-
},
|
|
19462
17566
|
/**
|
|
19463
17567
|
* Create An Order (Beta)
|
|
19464
17568
|
* @summary Create An Order (Beta)
|
|
@@ -19470,87 +17574,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
19470
17574
|
postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
19471
17575
|
return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
19472
17576
|
},
|
|
19473
|
-
/**
|
|
19474
|
-
* Issue Credit (Admin)
|
|
19475
|
-
* @summary Issue Credit (Admin)
|
|
19476
|
-
* @param {number} id Order ID
|
|
19477
|
-
* @param {CreditNoteDTO} [creditNoteDTO] Credit Request
|
|
19478
|
-
* @param {*} [options] Override http request option.
|
|
19479
|
-
* @throws {RequiredError}
|
|
19480
|
-
*/
|
|
19481
|
-
postIssueCredit(id: number, creditNoteDTO?: CreditNoteDTO, options?: RawAxiosRequestConfig): AxiosPromise<CreditNoteModel> {
|
|
19482
|
-
return localVarFp.postIssueCredit(id, creditNoteDTO, options).then((request) => request(axios, basePath));
|
|
19483
|
-
},
|
|
19484
|
-
/**
|
|
19485
|
-
* Print Shipment Label
|
|
19486
|
-
* @summary Print Shipment Label
|
|
19487
|
-
* @param {number} id Order ID
|
|
19488
|
-
* @param {number} shipmentId Shipment ID
|
|
19489
|
-
* @param {PostPrintShippingLabelPrinterEnum} printer Printer
|
|
19490
|
-
* @param {*} [options] Override http request option.
|
|
19491
|
-
* @throws {RequiredError}
|
|
19492
|
-
*/
|
|
19493
|
-
postPrintShippingLabel(id: number, shipmentId: number, printer: PostPrintShippingLabelPrinterEnum, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
19494
|
-
return localVarFp.postPrintShippingLabel(id, shipmentId, printer, options).then((request) => request(axios, basePath));
|
|
19495
|
-
},
|
|
19496
|
-
/**
|
|
19497
|
-
* Send Order Email
|
|
19498
|
-
* @summary Send Order Email
|
|
19499
|
-
* @param {number} id Order ID
|
|
19500
|
-
* @param {string} email Email Address
|
|
19501
|
-
* @param {*} [options] Override http request option.
|
|
19502
|
-
* @throws {RequiredError}
|
|
19503
|
-
*/
|
|
19504
|
-
postSendOrderEmail(id: number, email: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19505
|
-
return localVarFp.postSendOrderEmail(id, email, options).then((request) => request(axios, basePath));
|
|
19506
|
-
},
|
|
19507
|
-
/**
|
|
19508
|
-
* Send Supplier Email
|
|
19509
|
-
* @summary Send Supplier Email
|
|
19510
|
-
* @param {number} id Order ID
|
|
19511
|
-
* @param {number} batchId Batch ID
|
|
19512
|
-
* @param {*} [options] Override http request option.
|
|
19513
|
-
* @throws {RequiredError}
|
|
19514
|
-
*/
|
|
19515
|
-
postSendSupplierEmail(id: number, batchId: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19516
|
-
return localVarFp.postSendSupplierEmail(id, batchId, options).then((request) => request(axios, basePath));
|
|
19517
|
-
},
|
|
19518
|
-
/**
|
|
19519
|
-
* Split Order
|
|
19520
|
-
* @summary Split Order
|
|
19521
|
-
* @param {number} id Order ID
|
|
19522
|
-
* @param {PostSplitOrderRequest} [postSplitOrderRequest]
|
|
19523
|
-
* @param {*} [options] Override http request option.
|
|
19524
|
-
* @throws {RequiredError}
|
|
19525
|
-
*/
|
|
19526
|
-
postSplitOrder(id: number, postSplitOrderRequest?: PostSplitOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
19527
|
-
return localVarFp.postSplitOrder(id, postSplitOrderRequest, options).then((request) => request(axios, basePath));
|
|
19528
|
-
},
|
|
19529
|
-
/**
|
|
19530
|
-
* Allocate Items To Supplier
|
|
19531
|
-
* @summary Allocate Items To Supplier
|
|
19532
|
-
* @param {number} id Order ID
|
|
19533
|
-
* @param {number} supplierId Supplier ID
|
|
19534
|
-
* @param {PutAllocateItemsRequest} [putAllocateItemsRequest]
|
|
19535
|
-
* @param {*} [options] Override http request option.
|
|
19536
|
-
* @throws {RequiredError}
|
|
19537
|
-
*/
|
|
19538
|
-
putAllocateItems(id: number, supplierId: number, putAllocateItemsRequest?: PutAllocateItemsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19539
|
-
return localVarFp.putAllocateItems(id, supplierId, putAllocateItemsRequest, options).then((request) => request(axios, basePath));
|
|
19540
|
-
},
|
|
19541
|
-
/**
|
|
19542
|
-
* Update Shipment (Admin)
|
|
19543
|
-
* @summary Update Shipment (Admin)
|
|
19544
|
-
* @param {number} id Order ID
|
|
19545
|
-
* @param {number} batchId Batch ID
|
|
19546
|
-
* @param {number} shipmentId Shipment ID
|
|
19547
|
-
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
19548
|
-
* @param {*} [options] Override http request option.
|
|
19549
|
-
* @throws {RequiredError}
|
|
19550
|
-
*/
|
|
19551
|
-
putCreateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentModel> {
|
|
19552
|
-
return localVarFp.putCreateShipment(id, batchId, shipmentId, shipmentRequestDTO, options).then((request) => request(axios, basePath));
|
|
19553
|
-
},
|
|
19554
17577
|
/**
|
|
19555
17578
|
* Update An Order (Admin)
|
|
19556
17579
|
* @summary Update An Order (Admin)
|
|
@@ -19585,20 +17608,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
19585
17608
|
* @extends {BaseAPI}
|
|
19586
17609
|
*/
|
|
19587
17610
|
export class OrdersApi extends BaseAPI {
|
|
19588
|
-
/**
|
|
19589
|
-
* Delete Shipment (Admin)
|
|
19590
|
-
* @summary Delete Shipment (Admin)
|
|
19591
|
-
* @param {number} id Order ID
|
|
19592
|
-
* @param {number} batchId Batch ID
|
|
19593
|
-
* @param {number} shipmentId Shipment ID
|
|
19594
|
-
* @param {*} [options] Override http request option.
|
|
19595
|
-
* @throws {RequiredError}
|
|
19596
|
-
* @memberof OrdersApi
|
|
19597
|
-
*/
|
|
19598
|
-
public deleteCreateShipment(id: number, batchId: number, shipmentId: number, options?: RawAxiosRequestConfig) {
|
|
19599
|
-
return OrdersApiFp(this.configuration).deleteCreateShipment(id, batchId, shipmentId, options).then((request) => request(this.axios, this.basePath));
|
|
19600
|
-
}
|
|
19601
|
-
|
|
19602
17611
|
/**
|
|
19603
17612
|
* Delete Orders (Beta)
|
|
19604
17613
|
* @summary Delete Orders (Beta)
|
|
@@ -19623,18 +17632,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
19623
17632
|
return OrdersApiFp(this.configuration).getGetAdminEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
19624
17633
|
}
|
|
19625
17634
|
|
|
19626
|
-
/**
|
|
19627
|
-
* Get Order Details (Admin)
|
|
19628
|
-
* @summary Get Order Details (Admin)
|
|
19629
|
-
* @param {number} id Order ID
|
|
19630
|
-
* @param {*} [options] Override http request option.
|
|
19631
|
-
* @throws {RequiredError}
|
|
19632
|
-
* @memberof OrdersApi
|
|
19633
|
-
*/
|
|
19634
|
-
public getGetAdminOrderDetails(id: number, options?: RawAxiosRequestConfig) {
|
|
19635
|
-
return OrdersApiFp(this.configuration).getGetAdminOrderDetails(id, options).then((request) => request(this.axios, this.basePath));
|
|
19636
|
-
}
|
|
19637
|
-
|
|
19638
17635
|
/**
|
|
19639
17636
|
* Get Editable Order (Beta)
|
|
19640
17637
|
* @summary Get Editable Order (Beta)
|
|
@@ -19647,18 +17644,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
19647
17644
|
return OrdersApiFp(this.configuration).getGetEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
19648
17645
|
}
|
|
19649
17646
|
|
|
19650
|
-
/**
|
|
19651
|
-
* Download Order PDF
|
|
19652
|
-
* @summary Download Order PDF
|
|
19653
|
-
* @param {number} id Order ID
|
|
19654
|
-
* @param {*} [options] Override http request option.
|
|
19655
|
-
* @throws {RequiredError}
|
|
19656
|
-
* @memberof OrdersApi
|
|
19657
|
-
*/
|
|
19658
|
-
public getGetOrderPdf(id: number, options?: RawAxiosRequestConfig) {
|
|
19659
|
-
return OrdersApiFp(this.configuration).getGetOrderPdf(id, options).then((request) => request(this.axios, this.basePath));
|
|
19660
|
-
}
|
|
19661
|
-
|
|
19662
17647
|
/**
|
|
19663
17648
|
* Get Orders (Beta)
|
|
19664
17649
|
* @summary Get Orders (Beta)
|
|
@@ -19677,19 +17662,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
19677
17662
|
return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
|
|
19678
17663
|
}
|
|
19679
17664
|
|
|
19680
|
-
/**
|
|
19681
|
-
* Add Order Note
|
|
19682
|
-
* @summary Add Order Note
|
|
19683
|
-
* @param {number} id Order ID
|
|
19684
|
-
* @param {PostAddOrderNoteRequest} [postAddOrderNoteRequest]
|
|
19685
|
-
* @param {*} [options] Override http request option.
|
|
19686
|
-
* @throws {RequiredError}
|
|
19687
|
-
* @memberof OrdersApi
|
|
19688
|
-
*/
|
|
19689
|
-
public postAddOrderNote(id: number, postAddOrderNoteRequest?: PostAddOrderNoteRequest, options?: RawAxiosRequestConfig) {
|
|
19690
|
-
return OrdersApiFp(this.configuration).postAddOrderNote(id, postAddOrderNoteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19691
|
-
}
|
|
19692
|
-
|
|
19693
17665
|
/**
|
|
19694
17666
|
* Create An Order (Admin)
|
|
19695
17667
|
* @summary Create An Order (Admin)
|
|
@@ -19703,34 +17675,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
19703
17675
|
return OrdersApiFp(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19704
17676
|
}
|
|
19705
17677
|
|
|
19706
|
-
/**
|
|
19707
|
-
* Create Shipping Consignment
|
|
19708
|
-
* @summary Create Shipping Consignment
|
|
19709
|
-
* @param {number} id Order ID
|
|
19710
|
-
* @param {number} shipmentId Shipment ID
|
|
19711
|
-
* @param {ShippingRequestDTO} [shippingRequestDTO] Shipping Request
|
|
19712
|
-
* @param {*} [options] Override http request option.
|
|
19713
|
-
* @throws {RequiredError}
|
|
19714
|
-
* @memberof OrdersApi
|
|
19715
|
-
*/
|
|
19716
|
-
public postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig) {
|
|
19717
|
-
return OrdersApiFp(this.configuration).postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19718
|
-
}
|
|
19719
|
-
|
|
19720
|
-
/**
|
|
19721
|
-
* Create Shipment (Admin)
|
|
19722
|
-
* @summary Create Shipment (Admin)
|
|
19723
|
-
* @param {number} id Order ID
|
|
19724
|
-
* @param {number} batchId Batch ID
|
|
19725
|
-
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
19726
|
-
* @param {*} [options] Override http request option.
|
|
19727
|
-
* @throws {RequiredError}
|
|
19728
|
-
* @memberof OrdersApi
|
|
19729
|
-
*/
|
|
19730
|
-
public postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig) {
|
|
19731
|
-
return OrdersApiFp(this.configuration).postCreateShipment(id, batchId, shipmentRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19732
|
-
}
|
|
19733
|
-
|
|
19734
17678
|
/**
|
|
19735
17679
|
* Create An Order (Beta)
|
|
19736
17680
|
* @summary Create An Order (Beta)
|
|
@@ -19744,101 +17688,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
19744
17688
|
return OrdersApiFp(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19745
17689
|
}
|
|
19746
17690
|
|
|
19747
|
-
/**
|
|
19748
|
-
* Issue Credit (Admin)
|
|
19749
|
-
* @summary Issue Credit (Admin)
|
|
19750
|
-
* @param {number} id Order ID
|
|
19751
|
-
* @param {CreditNoteDTO} [creditNoteDTO] Credit Request
|
|
19752
|
-
* @param {*} [options] Override http request option.
|
|
19753
|
-
* @throws {RequiredError}
|
|
19754
|
-
* @memberof OrdersApi
|
|
19755
|
-
*/
|
|
19756
|
-
public postIssueCredit(id: number, creditNoteDTO?: CreditNoteDTO, options?: RawAxiosRequestConfig) {
|
|
19757
|
-
return OrdersApiFp(this.configuration).postIssueCredit(id, creditNoteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19758
|
-
}
|
|
19759
|
-
|
|
19760
|
-
/**
|
|
19761
|
-
* Print Shipment Label
|
|
19762
|
-
* @summary Print Shipment Label
|
|
19763
|
-
* @param {number} id Order ID
|
|
19764
|
-
* @param {number} shipmentId Shipment ID
|
|
19765
|
-
* @param {PostPrintShippingLabelPrinterEnum} printer Printer
|
|
19766
|
-
* @param {*} [options] Override http request option.
|
|
19767
|
-
* @throws {RequiredError}
|
|
19768
|
-
* @memberof OrdersApi
|
|
19769
|
-
*/
|
|
19770
|
-
public postPrintShippingLabel(id: number, shipmentId: number, printer: PostPrintShippingLabelPrinterEnum, options?: RawAxiosRequestConfig) {
|
|
19771
|
-
return OrdersApiFp(this.configuration).postPrintShippingLabel(id, shipmentId, printer, options).then((request) => request(this.axios, this.basePath));
|
|
19772
|
-
}
|
|
19773
|
-
|
|
19774
|
-
/**
|
|
19775
|
-
* Send Order Email
|
|
19776
|
-
* @summary Send Order Email
|
|
19777
|
-
* @param {number} id Order ID
|
|
19778
|
-
* @param {string} email Email Address
|
|
19779
|
-
* @param {*} [options] Override http request option.
|
|
19780
|
-
* @throws {RequiredError}
|
|
19781
|
-
* @memberof OrdersApi
|
|
19782
|
-
*/
|
|
19783
|
-
public postSendOrderEmail(id: number, email: string, options?: RawAxiosRequestConfig) {
|
|
19784
|
-
return OrdersApiFp(this.configuration).postSendOrderEmail(id, email, options).then((request) => request(this.axios, this.basePath));
|
|
19785
|
-
}
|
|
19786
|
-
|
|
19787
|
-
/**
|
|
19788
|
-
* Send Supplier Email
|
|
19789
|
-
* @summary Send Supplier Email
|
|
19790
|
-
* @param {number} id Order ID
|
|
19791
|
-
* @param {number} batchId Batch ID
|
|
19792
|
-
* @param {*} [options] Override http request option.
|
|
19793
|
-
* @throws {RequiredError}
|
|
19794
|
-
* @memberof OrdersApi
|
|
19795
|
-
*/
|
|
19796
|
-
public postSendSupplierEmail(id: number, batchId: number, options?: RawAxiosRequestConfig) {
|
|
19797
|
-
return OrdersApiFp(this.configuration).postSendSupplierEmail(id, batchId, options).then((request) => request(this.axios, this.basePath));
|
|
19798
|
-
}
|
|
19799
|
-
|
|
19800
|
-
/**
|
|
19801
|
-
* Split Order
|
|
19802
|
-
* @summary Split Order
|
|
19803
|
-
* @param {number} id Order ID
|
|
19804
|
-
* @param {PostSplitOrderRequest} [postSplitOrderRequest]
|
|
19805
|
-
* @param {*} [options] Override http request option.
|
|
19806
|
-
* @throws {RequiredError}
|
|
19807
|
-
* @memberof OrdersApi
|
|
19808
|
-
*/
|
|
19809
|
-
public postSplitOrder(id: number, postSplitOrderRequest?: PostSplitOrderRequest, options?: RawAxiosRequestConfig) {
|
|
19810
|
-
return OrdersApiFp(this.configuration).postSplitOrder(id, postSplitOrderRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19811
|
-
}
|
|
19812
|
-
|
|
19813
|
-
/**
|
|
19814
|
-
* Allocate Items To Supplier
|
|
19815
|
-
* @summary Allocate Items To Supplier
|
|
19816
|
-
* @param {number} id Order ID
|
|
19817
|
-
* @param {number} supplierId Supplier ID
|
|
19818
|
-
* @param {PutAllocateItemsRequest} [putAllocateItemsRequest]
|
|
19819
|
-
* @param {*} [options] Override http request option.
|
|
19820
|
-
* @throws {RequiredError}
|
|
19821
|
-
* @memberof OrdersApi
|
|
19822
|
-
*/
|
|
19823
|
-
public putAllocateItems(id: number, supplierId: number, putAllocateItemsRequest?: PutAllocateItemsRequest, options?: RawAxiosRequestConfig) {
|
|
19824
|
-
return OrdersApiFp(this.configuration).putAllocateItems(id, supplierId, putAllocateItemsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19825
|
-
}
|
|
19826
|
-
|
|
19827
|
-
/**
|
|
19828
|
-
* Update Shipment (Admin)
|
|
19829
|
-
* @summary Update Shipment (Admin)
|
|
19830
|
-
* @param {number} id Order ID
|
|
19831
|
-
* @param {number} batchId Batch ID
|
|
19832
|
-
* @param {number} shipmentId Shipment ID
|
|
19833
|
-
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
19834
|
-
* @param {*} [options] Override http request option.
|
|
19835
|
-
* @throws {RequiredError}
|
|
19836
|
-
* @memberof OrdersApi
|
|
19837
|
-
*/
|
|
19838
|
-
public putCreateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig) {
|
|
19839
|
-
return OrdersApiFp(this.configuration).putCreateShipment(id, batchId, shipmentId, shipmentRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19840
|
-
}
|
|
19841
|
-
|
|
19842
17691
|
/**
|
|
19843
17692
|
* Update An Order (Admin)
|
|
19844
17693
|
* @summary Update An Order (Admin)
|
|
@@ -19888,15 +17737,6 @@ export const GetGetOrdersFilterEnum = {
|
|
|
19888
17737
|
BackOrders: 'BACK_ORDERS'
|
|
19889
17738
|
} as const;
|
|
19890
17739
|
export type GetGetOrdersFilterEnum = typeof GetGetOrdersFilterEnum[keyof typeof GetGetOrdersFilterEnum];
|
|
19891
|
-
/**
|
|
19892
|
-
* @export
|
|
19893
|
-
*/
|
|
19894
|
-
export const PostPrintShippingLabelPrinterEnum = {
|
|
19895
|
-
NUMBER_1: 1,
|
|
19896
|
-
NUMBER_2: 2,
|
|
19897
|
-
NUMBER_3: 3
|
|
19898
|
-
} as const;
|
|
19899
|
-
export type PostPrintShippingLabelPrinterEnum = typeof PostPrintShippingLabelPrinterEnum[keyof typeof PostPrintShippingLabelPrinterEnum];
|
|
19900
17740
|
|
|
19901
17741
|
|
|
19902
17742
|
/**
|