yellowgrid-api-ts 3.2.61-dev.0 → 3.2.61
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 +1 -36
- package/api.ts +212 -2463
- package/base.ts +2 -2
- package/common.ts +1 -1
- package/config.json +3 -3
- package/configuration.ts +1 -1
- package/dist/api.d.ts +104 -1769
- package/dist/api.js +94 -1480
- package/dist/base.d.ts +1 -1
- package/dist/base.js +2 -2
- 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/AccountsApi.md +1 -1
- package/docs/CRMApi.md +1 -1
- package/docs/Class3CXApi.md +1 -1
- package/docs/Class3CXInstallationWizardApi.md +1 -1
- package/docs/Class3CXInstallationsApi.md +1 -1
- package/docs/Class3CXIntegrationsApi.md +1 -1
- package/docs/Class3CXMultiTenantApi.md +1 -1
- package/docs/MyPBXToolsApi.md +1 -1
- package/docs/OAuth20Api.md +1 -1
- package/docs/OrdersApi.md +23 -861
- package/docs/PricingApi.md +1 -1
- package/docs/ProductsApi.md +1 -1
- package/docs/ProvisioningApi.md +1 -1
- package/docs/SIPTrunksApi.md +1 -1
- package/docs/SMSApi.md +1 -1
- package/docs/ServicesApi.md +1 -1
- package/docs/ShippingApi.md +1 -1
- package/docs/StockManagementApi.md +1 -1
- package/docs/SystemApi.md +1 -1
- package/docs/TicketsApi.md +1 -1
- package/docs/WebhooksApi.md +1 -1
- 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 -59
- 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 -53
- 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: `https://bitbucket.org` 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,133 +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
|
-
*
|
|
1348
|
-
* @type {SupplierModel}
|
|
1349
|
-
* @memberof BatchDTO
|
|
1350
|
-
*/
|
|
1351
|
-
'supplier'?: SupplierModel;
|
|
1352
|
-
}
|
|
1353
1139
|
/**
|
|
1354
1140
|
* BatchesEntity
|
|
1355
1141
|
* @export
|
|
@@ -1905,155 +1691,6 @@ export interface CreditAccountEntity {
|
|
|
1905
1691
|
*/
|
|
1906
1692
|
'prizePromo'?: boolean;
|
|
1907
1693
|
}
|
|
1908
|
-
/**
|
|
1909
|
-
* Credit Note
|
|
1910
|
-
* @export
|
|
1911
|
-
* @interface CreditNoteDTO
|
|
1912
|
-
*/
|
|
1913
|
-
export interface CreditNoteDTO {
|
|
1914
|
-
/**
|
|
1915
|
-
* Items
|
|
1916
|
-
* @type {Array<CreditNoteItemDTO>}
|
|
1917
|
-
* @memberof CreditNoteDTO
|
|
1918
|
-
*/
|
|
1919
|
-
'items'?: Array<CreditNoteItemDTO>;
|
|
1920
|
-
}
|
|
1921
|
-
/**
|
|
1922
|
-
* CreditNotesEntity
|
|
1923
|
-
* @export
|
|
1924
|
-
* @interface CreditNoteEntity
|
|
1925
|
-
*/
|
|
1926
|
-
export interface CreditNoteEntity {
|
|
1927
|
-
/**
|
|
1928
|
-
* id
|
|
1929
|
-
* @type {number}
|
|
1930
|
-
* @memberof CreditNoteEntity
|
|
1931
|
-
*/
|
|
1932
|
-
'id'?: number;
|
|
1933
|
-
/**
|
|
1934
|
-
* orderId
|
|
1935
|
-
* @type {number}
|
|
1936
|
-
* @memberof CreditNoteEntity
|
|
1937
|
-
*/
|
|
1938
|
-
'orderId'?: number;
|
|
1939
|
-
/**
|
|
1940
|
-
* transactionId
|
|
1941
|
-
* @type {string}
|
|
1942
|
-
* @memberof CreditNoteEntity
|
|
1943
|
-
*/
|
|
1944
|
-
'transactionId'?: string;
|
|
1945
|
-
/**
|
|
1946
|
-
* amount
|
|
1947
|
-
* @type {number}
|
|
1948
|
-
* @memberof CreditNoteEntity
|
|
1949
|
-
*/
|
|
1950
|
-
'amount'?: number;
|
|
1951
|
-
/**
|
|
1952
|
-
* timestamp
|
|
1953
|
-
* @type {string}
|
|
1954
|
-
* @memberof CreditNoteEntity
|
|
1955
|
-
*/
|
|
1956
|
-
'timestamp'?: string;
|
|
1957
|
-
}
|
|
1958
|
-
/**
|
|
1959
|
-
* Credit Note Item
|
|
1960
|
-
* @export
|
|
1961
|
-
* @interface CreditNoteItemDTO
|
|
1962
|
-
*/
|
|
1963
|
-
export interface CreditNoteItemDTO {
|
|
1964
|
-
/**
|
|
1965
|
-
* Item ID
|
|
1966
|
-
* @type {number}
|
|
1967
|
-
* @memberof CreditNoteItemDTO
|
|
1968
|
-
*/
|
|
1969
|
-
'itemId'?: number;
|
|
1970
|
-
/**
|
|
1971
|
-
* Quantity
|
|
1972
|
-
* @type {number}
|
|
1973
|
-
* @memberof CreditNoteItemDTO
|
|
1974
|
-
*/
|
|
1975
|
-
'quantity'?: number | null;
|
|
1976
|
-
/**
|
|
1977
|
-
* Amount
|
|
1978
|
-
* @type {number}
|
|
1979
|
-
* @memberof CreditNoteItemDTO
|
|
1980
|
-
*/
|
|
1981
|
-
'amount'?: number | null;
|
|
1982
|
-
}
|
|
1983
|
-
/**
|
|
1984
|
-
* CreditNotesItemsEntity
|
|
1985
|
-
* @export
|
|
1986
|
-
* @interface CreditNoteItemEntity
|
|
1987
|
-
*/
|
|
1988
|
-
export interface CreditNoteItemEntity {
|
|
1989
|
-
/**
|
|
1990
|
-
* id
|
|
1991
|
-
* @type {number}
|
|
1992
|
-
* @memberof CreditNoteItemEntity
|
|
1993
|
-
*/
|
|
1994
|
-
'id'?: number;
|
|
1995
|
-
/**
|
|
1996
|
-
* creditNoteId
|
|
1997
|
-
* @type {number}
|
|
1998
|
-
* @memberof CreditNoteItemEntity
|
|
1999
|
-
*/
|
|
2000
|
-
'creditNoteId'?: number;
|
|
2001
|
-
/**
|
|
2002
|
-
* orderId
|
|
2003
|
-
* @type {number}
|
|
2004
|
-
* @memberof CreditNoteItemEntity
|
|
2005
|
-
*/
|
|
2006
|
-
'orderId'?: number;
|
|
2007
|
-
/**
|
|
2008
|
-
* itemId
|
|
2009
|
-
* @type {number}
|
|
2010
|
-
* @memberof CreditNoteItemEntity
|
|
2011
|
-
*/
|
|
2012
|
-
'itemId'?: number;
|
|
2013
|
-
/**
|
|
2014
|
-
* amount
|
|
2015
|
-
* @type {number}
|
|
2016
|
-
* @memberof CreditNoteItemEntity
|
|
2017
|
-
*/
|
|
2018
|
-
'amount'?: number;
|
|
2019
|
-
}
|
|
2020
|
-
/**
|
|
2021
|
-
* Credit Note Model
|
|
2022
|
-
* @export
|
|
2023
|
-
* @interface CreditNoteModel
|
|
2024
|
-
*/
|
|
2025
|
-
export interface CreditNoteModel {
|
|
2026
|
-
/**
|
|
2027
|
-
* id
|
|
2028
|
-
* @type {number}
|
|
2029
|
-
* @memberof CreditNoteModel
|
|
2030
|
-
*/
|
|
2031
|
-
'id'?: number;
|
|
2032
|
-
/**
|
|
2033
|
-
* orderId
|
|
2034
|
-
* @type {number}
|
|
2035
|
-
* @memberof CreditNoteModel
|
|
2036
|
-
*/
|
|
2037
|
-
'orderId'?: number;
|
|
2038
|
-
/**
|
|
2039
|
-
* transactionId
|
|
2040
|
-
* @type {string}
|
|
2041
|
-
* @memberof CreditNoteModel
|
|
2042
|
-
*/
|
|
2043
|
-
'transactionId'?: string;
|
|
2044
|
-
/**
|
|
2045
|
-
* amount
|
|
2046
|
-
* @type {number}
|
|
2047
|
-
* @memberof CreditNoteModel
|
|
2048
|
-
*/
|
|
2049
|
-
'amount'?: number;
|
|
2050
|
-
/**
|
|
2051
|
-
* timestamp
|
|
2052
|
-
* @type {string}
|
|
2053
|
-
* @memberof CreditNoteModel
|
|
2054
|
-
*/
|
|
2055
|
-
'timestamp'?: string;
|
|
2056
|
-
}
|
|
2057
1694
|
/**
|
|
2058
1695
|
* CRM Contact
|
|
2059
1696
|
* @export
|
|
@@ -3777,7 +3414,7 @@ export interface ItemDTO {
|
|
|
3777
3414
|
* @type {Array<TcxSbcDTO>}
|
|
3778
3415
|
* @memberof ItemDTO
|
|
3779
3416
|
*/
|
|
3780
|
-
'sbcs'?: Array<TcxSbcDTO
|
|
3417
|
+
'sbcs'?: Array<TcxSbcDTO> | null;
|
|
3781
3418
|
/**
|
|
3782
3419
|
* Readonly
|
|
3783
3420
|
* @type {boolean}
|
|
@@ -4165,198 +3802,59 @@ export interface OfflineInstancesEntity {
|
|
|
4165
3802
|
'alerted'?: number;
|
|
4166
3803
|
}
|
|
4167
3804
|
/**
|
|
4168
|
-
*
|
|
3805
|
+
* OrdersEntity
|
|
4169
3806
|
* @export
|
|
4170
|
-
* @interface
|
|
3807
|
+
* @interface OrderEntity
|
|
4171
3808
|
*/
|
|
4172
|
-
export interface
|
|
3809
|
+
export interface OrderEntity {
|
|
4173
3810
|
/**
|
|
4174
|
-
*
|
|
3811
|
+
* id
|
|
4175
3812
|
* @type {number}
|
|
4176
|
-
* @memberof
|
|
3813
|
+
* @memberof OrderEntity
|
|
4177
3814
|
*/
|
|
4178
3815
|
'id'?: number;
|
|
4179
3816
|
/**
|
|
4180
|
-
*
|
|
3817
|
+
* externalId
|
|
4181
3818
|
* @type {string}
|
|
4182
|
-
* @memberof
|
|
3819
|
+
* @memberof OrderEntity
|
|
4183
3820
|
*/
|
|
4184
|
-
'reference'?: string
|
|
3821
|
+
'reference'?: string;
|
|
4185
3822
|
/**
|
|
4186
|
-
*
|
|
3823
|
+
* sourceId
|
|
3824
|
+
* @type {number}
|
|
3825
|
+
* @memberof OrderEntity
|
|
3826
|
+
*/
|
|
3827
|
+
'sourceId'?: number;
|
|
3828
|
+
/**
|
|
3829
|
+
* sageInv
|
|
4187
3830
|
* @type {string}
|
|
4188
|
-
* @memberof
|
|
3831
|
+
* @memberof OrderEntity
|
|
4189
3832
|
*/
|
|
4190
3833
|
'invoiceNumber'?: string;
|
|
4191
3834
|
/**
|
|
4192
|
-
*
|
|
3835
|
+
* invoiceId
|
|
4193
3836
|
* @type {string}
|
|
4194
|
-
* @memberof
|
|
3837
|
+
* @memberof OrderEntity
|
|
4195
3838
|
*/
|
|
4196
3839
|
'invoiceId'?: string | null;
|
|
4197
3840
|
/**
|
|
4198
|
-
*
|
|
3841
|
+
* creditAccountId
|
|
3842
|
+
* @type {number}
|
|
3843
|
+
* @memberof OrderEntity
|
|
3844
|
+
*/
|
|
3845
|
+
'customerId'?: number;
|
|
3846
|
+
/**
|
|
3847
|
+
* orderDate
|
|
4199
3848
|
* @type {string}
|
|
4200
|
-
* @memberof
|
|
3849
|
+
* @memberof OrderEntity
|
|
4201
3850
|
*/
|
|
4202
3851
|
'orderDate'?: string;
|
|
4203
3852
|
/**
|
|
4204
|
-
*
|
|
4205
|
-
* @type {
|
|
4206
|
-
* @memberof
|
|
3853
|
+
* orderPostedDate
|
|
3854
|
+
* @type {string}
|
|
3855
|
+
* @memberof OrderEntity
|
|
4207
3856
|
*/
|
|
4208
|
-
'
|
|
4209
|
-
/**
|
|
4210
|
-
* Complete
|
|
4211
|
-
* @type {boolean}
|
|
4212
|
-
* @memberof OrderDetailsDTO
|
|
4213
|
-
*/
|
|
4214
|
-
'complete'?: boolean;
|
|
4215
|
-
/**
|
|
4216
|
-
* Quote
|
|
4217
|
-
* @type {boolean}
|
|
4218
|
-
* @memberof OrderDetailsDTO
|
|
4219
|
-
*/
|
|
4220
|
-
'quote'?: boolean;
|
|
4221
|
-
/**
|
|
4222
|
-
*
|
|
4223
|
-
* @type {AccountSummaryDTO}
|
|
4224
|
-
* @memberof OrderDetailsDTO
|
|
4225
|
-
*/
|
|
4226
|
-
'customer'?: AccountSummaryDTO;
|
|
4227
|
-
/**
|
|
4228
|
-
*
|
|
4229
|
-
* @type {AddressModel}
|
|
4230
|
-
* @memberof OrderDetailsDTO
|
|
4231
|
-
*/
|
|
4232
|
-
'shippingAddress'?: AddressModel;
|
|
4233
|
-
/**
|
|
4234
|
-
* Items
|
|
4235
|
-
* @type {Array<ItemDTO>}
|
|
4236
|
-
* @memberof OrderDetailsDTO
|
|
4237
|
-
*/
|
|
4238
|
-
'items'?: Array<ItemDTO>;
|
|
4239
|
-
/**
|
|
4240
|
-
* Carriage Charge
|
|
4241
|
-
* @type {number}
|
|
4242
|
-
* @memberof OrderDetailsDTO
|
|
4243
|
-
*/
|
|
4244
|
-
'carriageCharge'?: number;
|
|
4245
|
-
/**
|
|
4246
|
-
* Fulfillable
|
|
4247
|
-
* @type {boolean}
|
|
4248
|
-
* @memberof OrderDetailsDTO
|
|
4249
|
-
*/
|
|
4250
|
-
'fulfillable'?: boolean | null;
|
|
4251
|
-
/**
|
|
4252
|
-
* Provisioning URL
|
|
4253
|
-
* @type {string}
|
|
4254
|
-
* @memberof OrderDetailsDTO
|
|
4255
|
-
*/
|
|
4256
|
-
'provisioningUrl'?: string | null;
|
|
4257
|
-
/**
|
|
4258
|
-
*
|
|
4259
|
-
* @type {ShippingServiceDTO}
|
|
4260
|
-
* @memberof OrderDetailsDTO
|
|
4261
|
-
*/
|
|
4262
|
-
'shippingService'?: ShippingServiceDTO;
|
|
4263
|
-
/**
|
|
4264
|
-
* Readonly
|
|
4265
|
-
* @type {boolean}
|
|
4266
|
-
* @memberof OrderDetailsDTO
|
|
4267
|
-
*/
|
|
4268
|
-
'readonly'?: boolean;
|
|
4269
|
-
/**
|
|
4270
|
-
* Detailed Items
|
|
4271
|
-
* @type {Array<OrderItemDTO>}
|
|
4272
|
-
* @memberof OrderDetailsDTO
|
|
4273
|
-
*/
|
|
4274
|
-
'detailedItems'?: Array<OrderItemDTO>;
|
|
4275
|
-
/**
|
|
4276
|
-
* Batches
|
|
4277
|
-
* @type {Array<BatchDTO>}
|
|
4278
|
-
* @memberof OrderDetailsDTO
|
|
4279
|
-
*/
|
|
4280
|
-
'batches'?: Array<BatchDTO>;
|
|
4281
|
-
/**
|
|
4282
|
-
* Audit Log
|
|
4283
|
-
* @type {Array<AuditLogEntity>}
|
|
4284
|
-
* @memberof OrderDetailsDTO
|
|
4285
|
-
*/
|
|
4286
|
-
'logEntries'?: Array<AuditLogEntity>;
|
|
4287
|
-
/**
|
|
4288
|
-
* Card Payment Link
|
|
4289
|
-
* @type {string}
|
|
4290
|
-
* @memberof OrderDetailsDTO
|
|
4291
|
-
*/
|
|
4292
|
-
'paymentLink'?: string | null;
|
|
4293
|
-
/**
|
|
4294
|
-
* Credits
|
|
4295
|
-
* @type {Array<CreditNoteModel>}
|
|
4296
|
-
* @memberof OrderDetailsDTO
|
|
4297
|
-
*/
|
|
4298
|
-
'credits'?: Array<CreditNoteModel>;
|
|
4299
|
-
/**
|
|
4300
|
-
* Customer Email
|
|
4301
|
-
* @type {string}
|
|
4302
|
-
* @memberof OrderDetailsDTO
|
|
4303
|
-
*/
|
|
4304
|
-
'customerEmail'?: string;
|
|
4305
|
-
}
|
|
4306
|
-
/**
|
|
4307
|
-
* OrdersEntity
|
|
4308
|
-
* @export
|
|
4309
|
-
* @interface OrderEntity
|
|
4310
|
-
*/
|
|
4311
|
-
export interface OrderEntity {
|
|
4312
|
-
/**
|
|
4313
|
-
* id
|
|
4314
|
-
* @type {number}
|
|
4315
|
-
* @memberof OrderEntity
|
|
4316
|
-
*/
|
|
4317
|
-
'id'?: number;
|
|
4318
|
-
/**
|
|
4319
|
-
* externalId
|
|
4320
|
-
* @type {string}
|
|
4321
|
-
* @memberof OrderEntity
|
|
4322
|
-
*/
|
|
4323
|
-
'reference'?: string;
|
|
4324
|
-
/**
|
|
4325
|
-
* sourceId
|
|
4326
|
-
* @type {number}
|
|
4327
|
-
* @memberof OrderEntity
|
|
4328
|
-
*/
|
|
4329
|
-
'sourceId'?: number;
|
|
4330
|
-
/**
|
|
4331
|
-
* sageInv
|
|
4332
|
-
* @type {string}
|
|
4333
|
-
* @memberof OrderEntity
|
|
4334
|
-
*/
|
|
4335
|
-
'invoiceNumber'?: string;
|
|
4336
|
-
/**
|
|
4337
|
-
* invoiceId
|
|
4338
|
-
* @type {string}
|
|
4339
|
-
* @memberof OrderEntity
|
|
4340
|
-
*/
|
|
4341
|
-
'invoiceId'?: string | null;
|
|
4342
|
-
/**
|
|
4343
|
-
* creditAccountId
|
|
4344
|
-
* @type {number}
|
|
4345
|
-
* @memberof OrderEntity
|
|
4346
|
-
*/
|
|
4347
|
-
'customerId'?: number;
|
|
4348
|
-
/**
|
|
4349
|
-
* orderDate
|
|
4350
|
-
* @type {string}
|
|
4351
|
-
* @memberof OrderEntity
|
|
4352
|
-
*/
|
|
4353
|
-
'orderDate'?: string;
|
|
4354
|
-
/**
|
|
4355
|
-
* orderPostedDate
|
|
4356
|
-
* @type {string}
|
|
4357
|
-
* @memberof OrderEntity
|
|
4358
|
-
*/
|
|
4359
|
-
'orderPostedDate'?: string;
|
|
3857
|
+
'orderPostedDate'?: string;
|
|
4360
3858
|
/**
|
|
4361
3859
|
* buyerEmail
|
|
4362
3860
|
* @type {string}
|
|
@@ -4658,115 +4156,6 @@ export interface OrderEntity {
|
|
|
4658
4156
|
*/
|
|
4659
4157
|
'fulfillable'?: boolean | null;
|
|
4660
4158
|
}
|
|
4661
|
-
/**
|
|
4662
|
-
* Order Item Details
|
|
4663
|
-
* @export
|
|
4664
|
-
* @interface OrderItemDTO
|
|
4665
|
-
*/
|
|
4666
|
-
export interface OrderItemDTO {
|
|
4667
|
-
/**
|
|
4668
|
-
* SKU
|
|
4669
|
-
* @type {string}
|
|
4670
|
-
* @memberof OrderItemDTO
|
|
4671
|
-
*/
|
|
4672
|
-
'sku'?: string;
|
|
4673
|
-
/**
|
|
4674
|
-
* Quantity
|
|
4675
|
-
* @type {number}
|
|
4676
|
-
* @memberof OrderItemDTO
|
|
4677
|
-
*/
|
|
4678
|
-
'quantity'?: number;
|
|
4679
|
-
/**
|
|
4680
|
-
* ID
|
|
4681
|
-
* @type {number}
|
|
4682
|
-
* @memberof OrderItemDTO
|
|
4683
|
-
*/
|
|
4684
|
-
'id'?: number | null;
|
|
4685
|
-
/**
|
|
4686
|
-
* Order ID
|
|
4687
|
-
* @type {number}
|
|
4688
|
-
* @memberof OrderItemDTO
|
|
4689
|
-
*/
|
|
4690
|
-
'orderId'?: number | null;
|
|
4691
|
-
/**
|
|
4692
|
-
* Title
|
|
4693
|
-
* @type {string}
|
|
4694
|
-
* @memberof OrderItemDTO
|
|
4695
|
-
*/
|
|
4696
|
-
'title'?: string;
|
|
4697
|
-
/**
|
|
4698
|
-
* Price
|
|
4699
|
-
* @type {number}
|
|
4700
|
-
* @memberof OrderItemDTO
|
|
4701
|
-
*/
|
|
4702
|
-
'price'?: number;
|
|
4703
|
-
/**
|
|
4704
|
-
* 3CX Licence Key
|
|
4705
|
-
* @type {string}
|
|
4706
|
-
* @memberof OrderItemDTO
|
|
4707
|
-
*/
|
|
4708
|
-
'licenceKey'?: string | null;
|
|
4709
|
-
/**
|
|
4710
|
-
* Date Time
|
|
4711
|
-
* @type {string}
|
|
4712
|
-
* @memberof OrderItemDTO
|
|
4713
|
-
*/
|
|
4714
|
-
'licenceExpiry'?: string;
|
|
4715
|
-
/**
|
|
4716
|
-
* Date Time
|
|
4717
|
-
* @type {string}
|
|
4718
|
-
* @memberof OrderItemDTO
|
|
4719
|
-
*/
|
|
4720
|
-
'processDate'?: string;
|
|
4721
|
-
/**
|
|
4722
|
-
* 3CX Hosting
|
|
4723
|
-
* @type {boolean}
|
|
4724
|
-
* @memberof OrderItemDTO
|
|
4725
|
-
*/
|
|
4726
|
-
'hosting'?: boolean | null;
|
|
4727
|
-
/**
|
|
4728
|
-
* Promo Item
|
|
4729
|
-
* @type {boolean}
|
|
4730
|
-
* @memberof OrderItemDTO
|
|
4731
|
-
*/
|
|
4732
|
-
'promoItem'?: boolean;
|
|
4733
|
-
/**
|
|
4734
|
-
* Refunded
|
|
4735
|
-
* @type {number}
|
|
4736
|
-
* @memberof OrderItemDTO
|
|
4737
|
-
*/
|
|
4738
|
-
'refunded'?: number | null;
|
|
4739
|
-
/**
|
|
4740
|
-
* SBCs
|
|
4741
|
-
* @type {Array<TcxSbcDTO>}
|
|
4742
|
-
* @memberof OrderItemDTO
|
|
4743
|
-
*/
|
|
4744
|
-
'sbcs'?: Array<TcxSbcDTO>;
|
|
4745
|
-
/**
|
|
4746
|
-
* Readonly
|
|
4747
|
-
* @type {boolean}
|
|
4748
|
-
* @memberof OrderItemDTO
|
|
4749
|
-
*/
|
|
4750
|
-
'readonly'?: boolean;
|
|
4751
|
-
/**
|
|
4752
|
-
* 3CX Sales Code
|
|
4753
|
-
* @type {string}
|
|
4754
|
-
* @memberof OrderItemDTO
|
|
4755
|
-
*/
|
|
4756
|
-
'tcxSalesCode'?: string | null;
|
|
4757
|
-
/**
|
|
4758
|
-
* Suppliers
|
|
4759
|
-
* @type {Array<SupplierModel>}
|
|
4760
|
-
* @memberof OrderItemDTO
|
|
4761
|
-
*/
|
|
4762
|
-
'suppliers'?: Array<SupplierModel>;
|
|
4763
|
-
/**
|
|
4764
|
-
* Allocated
|
|
4765
|
-
* @type {number}
|
|
4766
|
-
* @memberof OrderItemDTO
|
|
4767
|
-
*/
|
|
4768
|
-
'allocated'?: number | null;
|
|
4769
|
-
}
|
|
4770
4159
|
/**
|
|
4771
4160
|
* EdTechPro Order Request
|
|
4772
4161
|
* @export
|
|
@@ -5184,150 +4573,59 @@ export interface OrderedItemEntity {
|
|
|
5184
4573
|
'returnedStock'?: number;
|
|
5185
4574
|
}
|
|
5186
4575
|
/**
|
|
5187
|
-
*
|
|
4576
|
+
*
|
|
5188
4577
|
* @export
|
|
5189
|
-
* @interface
|
|
4578
|
+
* @interface PatchSetTcxWizardCnameRequest
|
|
5190
4579
|
*/
|
|
5191
|
-
export interface
|
|
4580
|
+
export interface PatchSetTcxWizardCnameRequest {
|
|
5192
4581
|
/**
|
|
5193
|
-
*
|
|
5194
|
-
* @type {
|
|
5195
|
-
* @memberof
|
|
4582
|
+
* CNAME
|
|
4583
|
+
* @type {string}
|
|
4584
|
+
* @memberof PatchSetTcxWizardCnameRequest
|
|
5196
4585
|
*/
|
|
5197
|
-
'
|
|
4586
|
+
'cname'?: string;
|
|
4587
|
+
}
|
|
4588
|
+
/**
|
|
4589
|
+
*
|
|
4590
|
+
* @export
|
|
4591
|
+
* @interface PatchUpdateAccountContactPasswordRequest
|
|
4592
|
+
*/
|
|
4593
|
+
export interface PatchUpdateAccountContactPasswordRequest {
|
|
5198
4594
|
/**
|
|
5199
|
-
*
|
|
5200
|
-
* @type {
|
|
5201
|
-
* @memberof
|
|
4595
|
+
* Password
|
|
4596
|
+
* @type {string}
|
|
4597
|
+
* @memberof PatchUpdateAccountContactPasswordRequest
|
|
5202
4598
|
*/
|
|
5203
|
-
'
|
|
4599
|
+
'password'?: string;
|
|
4600
|
+
}
|
|
4601
|
+
/**
|
|
4602
|
+
* Customer Account
|
|
4603
|
+
* @export
|
|
4604
|
+
* @interface PortalAccountModel
|
|
4605
|
+
*/
|
|
4606
|
+
export interface PortalAccountModel {
|
|
5204
4607
|
/**
|
|
5205
|
-
*
|
|
4608
|
+
* ID
|
|
5206
4609
|
* @type {number}
|
|
5207
|
-
* @memberof
|
|
4610
|
+
* @memberof PortalAccountModel
|
|
5208
4611
|
*/
|
|
5209
|
-
'
|
|
4612
|
+
'id'?: number;
|
|
5210
4613
|
/**
|
|
5211
|
-
*
|
|
5212
|
-
* @type {
|
|
5213
|
-
* @memberof
|
|
4614
|
+
* Contact Name
|
|
4615
|
+
* @type {string}
|
|
4616
|
+
* @memberof PortalAccountModel
|
|
5214
4617
|
*/
|
|
5215
|
-
'
|
|
4618
|
+
'name'?: string;
|
|
5216
4619
|
/**
|
|
5217
|
-
*
|
|
5218
|
-
* @type {
|
|
5219
|
-
* @memberof
|
|
4620
|
+
* Email
|
|
4621
|
+
* @type {string}
|
|
4622
|
+
* @memberof PortalAccountModel
|
|
5220
4623
|
*/
|
|
5221
|
-
'
|
|
4624
|
+
'email'?: string;
|
|
5222
4625
|
/**
|
|
5223
|
-
*
|
|
5224
|
-
* @type {
|
|
5225
|
-
* @memberof
|
|
5226
|
-
*/
|
|
5227
|
-
'supplierItemId'?: number;
|
|
5228
|
-
/**
|
|
5229
|
-
* supplierPrice
|
|
5230
|
-
* @type {number}
|
|
5231
|
-
* @memberof OrderedItemModel
|
|
5232
|
-
*/
|
|
5233
|
-
'supplierPrice'?: number;
|
|
5234
|
-
/**
|
|
5235
|
-
* statusDate
|
|
5236
|
-
* @type {string}
|
|
5237
|
-
* @memberof OrderedItemModel
|
|
5238
|
-
*/
|
|
5239
|
-
'statusDate'?: string;
|
|
5240
|
-
/**
|
|
5241
|
-
* statusAuthor
|
|
5242
|
-
* @type {number}
|
|
5243
|
-
* @memberof OrderedItemModel
|
|
5244
|
-
*/
|
|
5245
|
-
'statusAuthor'?: number;
|
|
5246
|
-
/**
|
|
5247
|
-
* supplierPaid
|
|
5248
|
-
* @type {number}
|
|
5249
|
-
* @memberof OrderedItemModel
|
|
5250
|
-
*/
|
|
5251
|
-
'supplierPaid'?: number;
|
|
5252
|
-
/**
|
|
5253
|
-
* supplierCreditDue
|
|
5254
|
-
* @type {number}
|
|
5255
|
-
* @memberof OrderedItemModel
|
|
5256
|
-
*/
|
|
5257
|
-
'supplierCreditDue'?: number;
|
|
5258
|
-
/**
|
|
5259
|
-
* supplierCreditReceived
|
|
5260
|
-
* @type {number}
|
|
5261
|
-
* @memberof OrderedItemModel
|
|
5262
|
-
*/
|
|
5263
|
-
'supplierCreditReceived'?: number;
|
|
5264
|
-
/**
|
|
5265
|
-
* supplierSku
|
|
5266
|
-
* @type {string}
|
|
5267
|
-
* @memberof OrderedItemModel
|
|
5268
|
-
*/
|
|
5269
|
-
'supplierSku'?: string;
|
|
5270
|
-
/**
|
|
5271
|
-
* returnedStock
|
|
5272
|
-
* @type {number}
|
|
5273
|
-
* @memberof OrderedItemModel
|
|
5274
|
-
*/
|
|
5275
|
-
'returnedStock'?: number;
|
|
5276
|
-
}
|
|
5277
|
-
/**
|
|
5278
|
-
*
|
|
5279
|
-
* @export
|
|
5280
|
-
* @interface PatchSetTcxWizardCnameRequest
|
|
5281
|
-
*/
|
|
5282
|
-
export interface PatchSetTcxWizardCnameRequest {
|
|
5283
|
-
/**
|
|
5284
|
-
* CNAME
|
|
5285
|
-
* @type {string}
|
|
5286
|
-
* @memberof PatchSetTcxWizardCnameRequest
|
|
5287
|
-
*/
|
|
5288
|
-
'cname'?: string;
|
|
5289
|
-
}
|
|
5290
|
-
/**
|
|
5291
|
-
*
|
|
5292
|
-
* @export
|
|
5293
|
-
* @interface PatchUpdateAccountContactPasswordRequest
|
|
5294
|
-
*/
|
|
5295
|
-
export interface PatchUpdateAccountContactPasswordRequest {
|
|
5296
|
-
/**
|
|
5297
|
-
* Password
|
|
5298
|
-
* @type {string}
|
|
5299
|
-
* @memberof PatchUpdateAccountContactPasswordRequest
|
|
5300
|
-
*/
|
|
5301
|
-
'password'?: string;
|
|
5302
|
-
}
|
|
5303
|
-
/**
|
|
5304
|
-
* Customer Account
|
|
5305
|
-
* @export
|
|
5306
|
-
* @interface PortalAccountModel
|
|
5307
|
-
*/
|
|
5308
|
-
export interface PortalAccountModel {
|
|
5309
|
-
/**
|
|
5310
|
-
* ID
|
|
5311
|
-
* @type {number}
|
|
5312
|
-
* @memberof PortalAccountModel
|
|
5313
|
-
*/
|
|
5314
|
-
'id'?: number;
|
|
5315
|
-
/**
|
|
5316
|
-
* Contact Name
|
|
5317
|
-
* @type {string}
|
|
5318
|
-
* @memberof PortalAccountModel
|
|
5319
|
-
*/
|
|
5320
|
-
'name'?: string;
|
|
5321
|
-
/**
|
|
5322
|
-
* Email
|
|
5323
|
-
* @type {string}
|
|
5324
|
-
* @memberof PortalAccountModel
|
|
5325
|
-
*/
|
|
5326
|
-
'email'?: string;
|
|
5327
|
-
/**
|
|
5328
|
-
* Phone Number
|
|
5329
|
-
* @type {string}
|
|
5330
|
-
* @memberof PortalAccountModel
|
|
4626
|
+
* Phone Number
|
|
4627
|
+
* @type {string}
|
|
4628
|
+
* @memberof PortalAccountModel
|
|
5331
4629
|
*/
|
|
5332
4630
|
'phone'?: string;
|
|
5333
4631
|
/**
|
|
@@ -5500,19 +4798,6 @@ export interface PortalLoginModel {
|
|
|
5500
4798
|
*/
|
|
5501
4799
|
'redirect_uri'?: string;
|
|
5502
4800
|
}
|
|
5503
|
-
/**
|
|
5504
|
-
*
|
|
5505
|
-
* @export
|
|
5506
|
-
* @interface PostAddOrderNoteRequest
|
|
5507
|
-
*/
|
|
5508
|
-
export interface PostAddOrderNoteRequest {
|
|
5509
|
-
/**
|
|
5510
|
-
* Order Note
|
|
5511
|
-
* @type {string}
|
|
5512
|
-
* @memberof PostAddOrderNoteRequest
|
|
5513
|
-
*/
|
|
5514
|
-
'note'?: string;
|
|
5515
|
-
}
|
|
5516
4801
|
/**
|
|
5517
4802
|
*
|
|
5518
4803
|
* @export
|
|
@@ -5595,19 +4880,6 @@ export interface PostGetProductRequest {
|
|
|
5595
4880
|
*/
|
|
5596
4881
|
'hosting'?: boolean | null;
|
|
5597
4882
|
}
|
|
5598
|
-
/**
|
|
5599
|
-
*
|
|
5600
|
-
* @export
|
|
5601
|
-
* @interface PostSplitOrderRequest
|
|
5602
|
-
*/
|
|
5603
|
-
export interface PostSplitOrderRequest {
|
|
5604
|
-
/**
|
|
5605
|
-
* Item Ids
|
|
5606
|
-
* @type {Array<number>}
|
|
5607
|
-
* @memberof PostSplitOrderRequest
|
|
5608
|
-
*/
|
|
5609
|
-
'itemIds'?: Array<number>;
|
|
5610
|
-
}
|
|
5611
4883
|
/**
|
|
5612
4884
|
* Price & Stock List
|
|
5613
4885
|
* @export
|
|
@@ -5645,43 +4917,6 @@ export interface PriceListItemModel {
|
|
|
5645
4917
|
*/
|
|
5646
4918
|
'stock'?: number | null;
|
|
5647
4919
|
}
|
|
5648
|
-
/**
|
|
5649
|
-
* PrintersEntity
|
|
5650
|
-
* @export
|
|
5651
|
-
* @interface PrinterEntity
|
|
5652
|
-
*/
|
|
5653
|
-
export interface PrinterEntity {
|
|
5654
|
-
/**
|
|
5655
|
-
* id
|
|
5656
|
-
* @type {number}
|
|
5657
|
-
* @memberof PrinterEntity
|
|
5658
|
-
*/
|
|
5659
|
-
'id'?: number;
|
|
5660
|
-
/**
|
|
5661
|
-
* brand
|
|
5662
|
-
* @type {string}
|
|
5663
|
-
* @memberof PrinterEntity
|
|
5664
|
-
*/
|
|
5665
|
-
'brand'?: string;
|
|
5666
|
-
/**
|
|
5667
|
-
* model
|
|
5668
|
-
* @type {string}
|
|
5669
|
-
* @memberof PrinterEntity
|
|
5670
|
-
*/
|
|
5671
|
-
'model'?: string;
|
|
5672
|
-
/**
|
|
5673
|
-
* sn
|
|
5674
|
-
* @type {string}
|
|
5675
|
-
* @memberof PrinterEntity
|
|
5676
|
-
*/
|
|
5677
|
-
'sn'?: string;
|
|
5678
|
-
/**
|
|
5679
|
-
* location
|
|
5680
|
-
* @type {string}
|
|
5681
|
-
* @memberof PrinterEntity
|
|
5682
|
-
*/
|
|
5683
|
-
'location'?: string;
|
|
5684
|
-
}
|
|
5685
4920
|
/**
|
|
5686
4921
|
* PrizesEntity
|
|
5687
4922
|
* @export
|
|
@@ -6069,38 +5304,6 @@ export interface ProvisioningRequestEntity {
|
|
|
6069
5304
|
*/
|
|
6070
5305
|
'auth'?: string;
|
|
6071
5306
|
}
|
|
6072
|
-
/**
|
|
6073
|
-
*
|
|
6074
|
-
* @export
|
|
6075
|
-
* @interface PutAllocateItemsRequest
|
|
6076
|
-
*/
|
|
6077
|
-
export interface PutAllocateItemsRequest {
|
|
6078
|
-
/**
|
|
6079
|
-
* Items
|
|
6080
|
-
* @type {Array<PutAllocateItemsRequestItemsInner>}
|
|
6081
|
-
* @memberof PutAllocateItemsRequest
|
|
6082
|
-
*/
|
|
6083
|
-
'items'?: Array<PutAllocateItemsRequestItemsInner>;
|
|
6084
|
-
}
|
|
6085
|
-
/**
|
|
6086
|
-
*
|
|
6087
|
-
* @export
|
|
6088
|
-
* @interface PutAllocateItemsRequestItemsInner
|
|
6089
|
-
*/
|
|
6090
|
-
export interface PutAllocateItemsRequestItemsInner {
|
|
6091
|
-
/**
|
|
6092
|
-
* Item ID
|
|
6093
|
-
* @type {number}
|
|
6094
|
-
* @memberof PutAllocateItemsRequestItemsInner
|
|
6095
|
-
*/
|
|
6096
|
-
'itemId'?: number;
|
|
6097
|
-
/**
|
|
6098
|
-
* Quantity To Allocate
|
|
6099
|
-
* @type {number}
|
|
6100
|
-
* @memberof PutAllocateItemsRequestItemsInner
|
|
6101
|
-
*/
|
|
6102
|
-
'quantity'?: number;
|
|
6103
|
-
}
|
|
6104
5307
|
/**
|
|
6105
5308
|
* Azure Recordings Backup
|
|
6106
5309
|
* @export
|
|
@@ -6429,58 +5632,6 @@ export interface ShipmentAddressEntity {
|
|
|
6429
5632
|
*/
|
|
6430
5633
|
'shipPhoneNumber'?: string;
|
|
6431
5634
|
}
|
|
6432
|
-
/**
|
|
6433
|
-
* Shipment
|
|
6434
|
-
* @export
|
|
6435
|
-
* @interface ShipmentDTO
|
|
6436
|
-
*/
|
|
6437
|
-
export interface ShipmentDTO {
|
|
6438
|
-
/**
|
|
6439
|
-
* Courier
|
|
6440
|
-
* @type {string}
|
|
6441
|
-
* @memberof ShipmentDTO
|
|
6442
|
-
*/
|
|
6443
|
-
'courier'?: ShipmentDTOCourierEnum | null;
|
|
6444
|
-
/**
|
|
6445
|
-
* Courier Reference
|
|
6446
|
-
* @type {string}
|
|
6447
|
-
* @memberof ShipmentDTO
|
|
6448
|
-
*/
|
|
6449
|
-
'reference'?: string | null;
|
|
6450
|
-
/**
|
|
6451
|
-
* Date Time
|
|
6452
|
-
* @type {string}
|
|
6453
|
-
* @memberof ShipmentDTO
|
|
6454
|
-
*/
|
|
6455
|
-
'requestedDate'?: string;
|
|
6456
|
-
/**
|
|
6457
|
-
* Scanned Items
|
|
6458
|
-
* @type {Array<ScannedItemModel>}
|
|
6459
|
-
* @memberof ShipmentDTO
|
|
6460
|
-
*/
|
|
6461
|
-
'scannedItems'?: Array<ScannedItemModel>;
|
|
6462
|
-
/**
|
|
6463
|
-
* Items
|
|
6464
|
-
* @type {Array<ShipmentItemModel>}
|
|
6465
|
-
* @memberof ShipmentDTO
|
|
6466
|
-
*/
|
|
6467
|
-
'items'?: Array<ShipmentItemModel>;
|
|
6468
|
-
/**
|
|
6469
|
-
*
|
|
6470
|
-
* @type {AddressModel}
|
|
6471
|
-
* @memberof ShipmentDTO
|
|
6472
|
-
*/
|
|
6473
|
-
'address'?: AddressModel;
|
|
6474
|
-
}
|
|
6475
|
-
|
|
6476
|
-
export const ShipmentDTOCourierEnum = {
|
|
6477
|
-
Dpd: 'DPD',
|
|
6478
|
-
ChorltonPallet: 'Chorlton Pallet',
|
|
6479
|
-
Pops: 'POPS'
|
|
6480
|
-
} as const;
|
|
6481
|
-
|
|
6482
|
-
export type ShipmentDTOCourierEnum = typeof ShipmentDTOCourierEnum[keyof typeof ShipmentDTOCourierEnum];
|
|
6483
|
-
|
|
6484
5635
|
/**
|
|
6485
5636
|
* ShipmentsEntity
|
|
6486
5637
|
* @export
|
|
@@ -6560,25 +5711,6 @@ export interface ShipmentEntity {
|
|
|
6560
5711
|
*/
|
|
6561
5712
|
'provId'?: number;
|
|
6562
5713
|
}
|
|
6563
|
-
/**
|
|
6564
|
-
* Shipment Item
|
|
6565
|
-
* @export
|
|
6566
|
-
* @interface ShipmentItemDTO
|
|
6567
|
-
*/
|
|
6568
|
-
export interface ShipmentItemDTO {
|
|
6569
|
-
/**
|
|
6570
|
-
* Item ID
|
|
6571
|
-
* @type {number}
|
|
6572
|
-
* @memberof ShipmentItemDTO
|
|
6573
|
-
*/
|
|
6574
|
-
'itemId'?: number;
|
|
6575
|
-
/**
|
|
6576
|
-
* Quantity
|
|
6577
|
-
* @type {number}
|
|
6578
|
-
* @memberof ShipmentItemDTO
|
|
6579
|
-
*/
|
|
6580
|
-
'quantity'?: number;
|
|
6581
|
-
}
|
|
6582
5714
|
/**
|
|
6583
5715
|
* ShipmentItemsEntity
|
|
6584
5716
|
* @export
|
|
@@ -6617,263 +5749,61 @@ export interface ShipmentItemEntity {
|
|
|
6617
5749
|
'itemId'?: string;
|
|
6618
5750
|
}
|
|
6619
5751
|
/**
|
|
6620
|
-
*
|
|
5752
|
+
*
|
|
6621
5753
|
* @export
|
|
6622
|
-
* @interface
|
|
5754
|
+
* @interface ShippingConsignmentModel
|
|
6623
5755
|
*/
|
|
6624
|
-
export interface
|
|
6625
|
-
/**
|
|
6626
|
-
* id
|
|
6627
|
-
* @type {number}
|
|
6628
|
-
* @memberof ShipmentItemModel
|
|
6629
|
-
*/
|
|
6630
|
-
'id'?: number;
|
|
5756
|
+
export interface ShippingConsignmentModel {
|
|
6631
5757
|
/**
|
|
6632
|
-
*
|
|
6633
|
-
* @type {
|
|
6634
|
-
* @memberof
|
|
5758
|
+
*
|
|
5759
|
+
* @type {ShippingServiceModel}
|
|
5760
|
+
* @memberof ShippingConsignmentModel
|
|
6635
5761
|
*/
|
|
6636
|
-
'
|
|
5762
|
+
'service'?: ShippingServiceModel;
|
|
6637
5763
|
/**
|
|
6638
|
-
*
|
|
6639
|
-
* @type {
|
|
6640
|
-
* @memberof
|
|
5764
|
+
* ID/Number
|
|
5765
|
+
* @type {string}
|
|
5766
|
+
* @memberof ShippingConsignmentModel
|
|
6641
5767
|
*/
|
|
6642
|
-
'
|
|
5768
|
+
'id'?: string;
|
|
6643
5769
|
/**
|
|
6644
|
-
*
|
|
6645
|
-
* @type {
|
|
6646
|
-
* @memberof
|
|
5770
|
+
* Tracking Number
|
|
5771
|
+
* @type {string}
|
|
5772
|
+
* @memberof ShippingConsignmentModel
|
|
6647
5773
|
*/
|
|
6648
|
-
'
|
|
5774
|
+
'trackingNumber'?: string;
|
|
6649
5775
|
/**
|
|
6650
|
-
*
|
|
6651
|
-
* @type {string}
|
|
6652
|
-
* @memberof
|
|
5776
|
+
* Parcels
|
|
5777
|
+
* @type {Array<string>}
|
|
5778
|
+
* @memberof ShippingConsignmentModel
|
|
6653
5779
|
*/
|
|
6654
|
-
'
|
|
5780
|
+
'parcelIds'?: Array<string>;
|
|
6655
5781
|
}
|
|
6656
5782
|
/**
|
|
6657
|
-
*
|
|
5783
|
+
* Shipping Information
|
|
6658
5784
|
* @export
|
|
6659
|
-
* @interface
|
|
5785
|
+
* @interface ShippingInformationDTO
|
|
6660
5786
|
*/
|
|
6661
|
-
export interface
|
|
5787
|
+
export interface ShippingInformationDTO {
|
|
6662
5788
|
/**
|
|
6663
|
-
*
|
|
6664
|
-
* @type {
|
|
6665
|
-
* @memberof
|
|
5789
|
+
* Items
|
|
5790
|
+
* @type {Array<BasicItemDTO>}
|
|
5791
|
+
* @memberof ShippingInformationDTO
|
|
6666
5792
|
*/
|
|
6667
|
-
'
|
|
5793
|
+
'items'?: Array<BasicItemDTO>;
|
|
6668
5794
|
/**
|
|
6669
|
-
*
|
|
6670
|
-
* @type {
|
|
6671
|
-
* @memberof
|
|
5795
|
+
* Destination Post Code
|
|
5796
|
+
* @type {string}
|
|
5797
|
+
* @memberof ShippingInformationDTO
|
|
6672
5798
|
*/
|
|
6673
|
-
'
|
|
5799
|
+
'postalCode'?: string;
|
|
6674
5800
|
/**
|
|
6675
|
-
*
|
|
5801
|
+
* Destination ISO
|
|
6676
5802
|
* @type {string}
|
|
6677
|
-
* @memberof
|
|
6678
|
-
*/
|
|
6679
|
-
'courier'?: string;
|
|
6680
|
-
/**
|
|
6681
|
-
* courierService
|
|
6682
|
-
* @type {string}
|
|
6683
|
-
* @memberof ShipmentModel
|
|
6684
|
-
*/
|
|
6685
|
-
'courierService'?: string;
|
|
6686
|
-
/**
|
|
6687
|
-
* courierServiceDesc
|
|
6688
|
-
* @type {string}
|
|
6689
|
-
* @memberof ShipmentModel
|
|
6690
|
-
*/
|
|
6691
|
-
'courierServiceDesc'?: string;
|
|
6692
|
-
/**
|
|
6693
|
-
* courierReference
|
|
6694
|
-
* @type {string}
|
|
6695
|
-
* @memberof ShipmentModel
|
|
6696
|
-
*/
|
|
6697
|
-
'courierReference'?: string;
|
|
6698
|
-
/**
|
|
6699
|
-
* courierTracking
|
|
6700
|
-
* @type {string}
|
|
6701
|
-
* @memberof ShipmentModel
|
|
6702
|
-
*/
|
|
6703
|
-
'courierTracking'?: string;
|
|
6704
|
-
/**
|
|
6705
|
-
* courierBoxes
|
|
6706
|
-
* @type {number}
|
|
6707
|
-
* @memberof ShipmentModel
|
|
6708
|
-
*/
|
|
6709
|
-
'courierBoxes'?: number;
|
|
6710
|
-
/**
|
|
6711
|
-
* mac
|
|
6712
|
-
* @type {string}
|
|
6713
|
-
* @memberof ShipmentModel
|
|
6714
|
-
*/
|
|
6715
|
-
'scannedData'?: string;
|
|
6716
|
-
/**
|
|
6717
|
-
* date
|
|
6718
|
-
* @type {string}
|
|
6719
|
-
* @memberof ShipmentModel
|
|
6720
|
-
*/
|
|
6721
|
-
'dateShipped'?: string;
|
|
6722
|
-
/**
|
|
6723
|
-
* requestDate
|
|
6724
|
-
* @type {string}
|
|
6725
|
-
* @memberof ShipmentModel
|
|
6726
|
-
*/
|
|
6727
|
-
'requestDate'?: string;
|
|
6728
|
-
/**
|
|
6729
|
-
* provId
|
|
6730
|
-
* @type {number}
|
|
6731
|
-
* @memberof ShipmentModel
|
|
6732
|
-
*/
|
|
6733
|
-
'provId'?: number;
|
|
6734
|
-
}
|
|
6735
|
-
/**
|
|
6736
|
-
* Shipment Request
|
|
6737
|
-
* @export
|
|
6738
|
-
* @interface ShipmentRequestDTO
|
|
6739
|
-
*/
|
|
6740
|
-
export interface ShipmentRequestDTO {
|
|
6741
|
-
/**
|
|
6742
|
-
* Courier
|
|
6743
|
-
* @type {string}
|
|
6744
|
-
* @memberof ShipmentRequestDTO
|
|
6745
|
-
*/
|
|
6746
|
-
'courier'?: ShipmentRequestDTOCourierEnum;
|
|
6747
|
-
/**
|
|
6748
|
-
*
|
|
6749
|
-
* @type {AddressModel}
|
|
6750
|
-
* @memberof ShipmentRequestDTO
|
|
6751
|
-
*/
|
|
6752
|
-
'address'?: AddressModel | null;
|
|
6753
|
-
/**
|
|
6754
|
-
* Scanned Lines
|
|
6755
|
-
* @type {Array<string>}
|
|
6756
|
-
* @memberof ShipmentRequestDTO
|
|
6757
|
-
*/
|
|
6758
|
-
'scannedLines'?: Array<string>;
|
|
6759
|
-
/**
|
|
6760
|
-
* Service
|
|
6761
|
-
* @type {string}
|
|
6762
|
-
* @memberof ShipmentRequestDTO
|
|
6763
|
-
*/
|
|
6764
|
-
'service'?: string;
|
|
6765
|
-
/**
|
|
6766
|
-
* Date Time
|
|
6767
|
-
* @type {string}
|
|
6768
|
-
* @memberof ShipmentRequestDTO
|
|
6769
|
-
*/
|
|
6770
|
-
'shipDate'?: string;
|
|
6771
|
-
/**
|
|
6772
|
-
* Items
|
|
6773
|
-
* @type {Array<ShipmentItemDTO>}
|
|
6774
|
-
* @memberof ShipmentRequestDTO
|
|
6775
|
-
*/
|
|
6776
|
-
'items'?: Array<ShipmentItemDTO>;
|
|
6777
|
-
}
|
|
6778
|
-
|
|
6779
|
-
export const ShipmentRequestDTOCourierEnum = {
|
|
6780
|
-
Dpd: 'DPD',
|
|
6781
|
-
ChorltonPallet: 'Chorlton Pallet',
|
|
6782
|
-
Pops: 'POPS'
|
|
6783
|
-
} as const;
|
|
6784
|
-
|
|
6785
|
-
export type ShipmentRequestDTOCourierEnum = typeof ShipmentRequestDTOCourierEnum[keyof typeof ShipmentRequestDTOCourierEnum];
|
|
6786
|
-
|
|
6787
|
-
/**
|
|
6788
|
-
*
|
|
6789
|
-
* @export
|
|
6790
|
-
* @interface ShippingConsignmentModel
|
|
6791
|
-
*/
|
|
6792
|
-
export interface ShippingConsignmentModel {
|
|
6793
|
-
/**
|
|
6794
|
-
*
|
|
6795
|
-
* @type {ShippingServiceModel}
|
|
6796
|
-
* @memberof ShippingConsignmentModel
|
|
6797
|
-
*/
|
|
6798
|
-
'service'?: ShippingServiceModel;
|
|
6799
|
-
/**
|
|
6800
|
-
* ID/Number
|
|
6801
|
-
* @type {string}
|
|
6802
|
-
* @memberof ShippingConsignmentModel
|
|
6803
|
-
*/
|
|
6804
|
-
'id'?: string;
|
|
6805
|
-
/**
|
|
6806
|
-
* Tracking Number
|
|
6807
|
-
* @type {string}
|
|
6808
|
-
* @memberof ShippingConsignmentModel
|
|
6809
|
-
*/
|
|
6810
|
-
'trackingNumber'?: string;
|
|
6811
|
-
/**
|
|
6812
|
-
* Parcels
|
|
6813
|
-
* @type {Array<string>}
|
|
6814
|
-
* @memberof ShippingConsignmentModel
|
|
6815
|
-
*/
|
|
6816
|
-
'parcelIds'?: Array<string>;
|
|
6817
|
-
}
|
|
6818
|
-
/**
|
|
6819
|
-
* Shipping Information
|
|
6820
|
-
* @export
|
|
6821
|
-
* @interface ShippingInformationDTO
|
|
6822
|
-
*/
|
|
6823
|
-
export interface ShippingInformationDTO {
|
|
6824
|
-
/**
|
|
6825
|
-
* Items
|
|
6826
|
-
* @type {Array<BasicItemDTO>}
|
|
6827
|
-
* @memberof ShippingInformationDTO
|
|
6828
|
-
*/
|
|
6829
|
-
'items'?: Array<BasicItemDTO>;
|
|
6830
|
-
/**
|
|
6831
|
-
* Destination Post Code
|
|
6832
|
-
* @type {string}
|
|
6833
|
-
* @memberof ShippingInformationDTO
|
|
6834
|
-
*/
|
|
6835
|
-
'postalCode'?: string;
|
|
6836
|
-
/**
|
|
6837
|
-
* Destination ISO
|
|
6838
|
-
* @type {string}
|
|
6839
|
-
* @memberof ShippingInformationDTO
|
|
5803
|
+
* @memberof ShippingInformationDTO
|
|
6840
5804
|
*/
|
|
6841
5805
|
'iso'?: string;
|
|
6842
5806
|
}
|
|
6843
|
-
/**
|
|
6844
|
-
*
|
|
6845
|
-
* @export
|
|
6846
|
-
* @interface ShippingRequestDTO
|
|
6847
|
-
*/
|
|
6848
|
-
export interface ShippingRequestDTO {
|
|
6849
|
-
/**
|
|
6850
|
-
* Courier
|
|
6851
|
-
* @type {string}
|
|
6852
|
-
* @memberof ShippingRequestDTO
|
|
6853
|
-
*/
|
|
6854
|
-
'courier'?: ShippingRequestDTOCourierEnum;
|
|
6855
|
-
/**
|
|
6856
|
-
* Courier Service
|
|
6857
|
-
* @type {string}
|
|
6858
|
-
* @memberof ShippingRequestDTO
|
|
6859
|
-
*/
|
|
6860
|
-
'service'?: string;
|
|
6861
|
-
/**
|
|
6862
|
-
* Boxes
|
|
6863
|
-
* @type {number}
|
|
6864
|
-
* @memberof ShippingRequestDTO
|
|
6865
|
-
*/
|
|
6866
|
-
'boxes'?: number;
|
|
6867
|
-
}
|
|
6868
|
-
|
|
6869
|
-
export const ShippingRequestDTOCourierEnum = {
|
|
6870
|
-
Dpd: 'DPD',
|
|
6871
|
-
ChorltonPallet: 'Chorlton Pallet',
|
|
6872
|
-
Pops: 'POPS'
|
|
6873
|
-
} as const;
|
|
6874
|
-
|
|
6875
|
-
export type ShippingRequestDTOCourierEnum = typeof ShippingRequestDTOCourierEnum[keyof typeof ShippingRequestDTOCourierEnum];
|
|
6876
|
-
|
|
6877
5807
|
/**
|
|
6878
5808
|
* Shipping Service
|
|
6879
5809
|
* @export
|
|
@@ -8504,67 +7434,6 @@ export interface SupplierItemEntity {
|
|
|
8504
7434
|
*/
|
|
8505
7435
|
'supplierSku'?: string;
|
|
8506
7436
|
}
|
|
8507
|
-
/**
|
|
8508
|
-
* Supplier
|
|
8509
|
-
* @export
|
|
8510
|
-
* @interface SupplierModel
|
|
8511
|
-
*/
|
|
8512
|
-
export interface SupplierModel {
|
|
8513
|
-
/**
|
|
8514
|
-
* id
|
|
8515
|
-
* @type {number}
|
|
8516
|
-
* @memberof SupplierModel
|
|
8517
|
-
*/
|
|
8518
|
-
'id'?: number;
|
|
8519
|
-
/**
|
|
8520
|
-
* name
|
|
8521
|
-
* @type {string}
|
|
8522
|
-
* @memberof SupplierModel
|
|
8523
|
-
*/
|
|
8524
|
-
'name'?: string;
|
|
8525
|
-
/**
|
|
8526
|
-
* nameShort
|
|
8527
|
-
* @type {string}
|
|
8528
|
-
* @memberof SupplierModel
|
|
8529
|
-
*/
|
|
8530
|
-
'shortName'?: string;
|
|
8531
|
-
/**
|
|
8532
|
-
* email
|
|
8533
|
-
* @type {string}
|
|
8534
|
-
* @memberof SupplierModel
|
|
8535
|
-
*/
|
|
8536
|
-
'email'?: string;
|
|
8537
|
-
/**
|
|
8538
|
-
* phone
|
|
8539
|
-
* @type {string}
|
|
8540
|
-
* @memberof SupplierModel
|
|
8541
|
-
*/
|
|
8542
|
-
'phone'?: string;
|
|
8543
|
-
/**
|
|
8544
|
-
* defaultCourier
|
|
8545
|
-
* @type {string}
|
|
8546
|
-
* @memberof SupplierModel
|
|
8547
|
-
*/
|
|
8548
|
-
'defaultCourier'?: string;
|
|
8549
|
-
/**
|
|
8550
|
-
* defaultCarriage
|
|
8551
|
-
* @type {number}
|
|
8552
|
-
* @memberof SupplierModel
|
|
8553
|
-
*/
|
|
8554
|
-
'defaultCarriage'?: number;
|
|
8555
|
-
/**
|
|
8556
|
-
* account
|
|
8557
|
-
* @type {string}
|
|
8558
|
-
* @memberof SupplierModel
|
|
8559
|
-
*/
|
|
8560
|
-
'accountNumber'?: string;
|
|
8561
|
-
/**
|
|
8562
|
-
* internalAccount
|
|
8563
|
-
* @type {string}
|
|
8564
|
-
* @memberof SupplierModel
|
|
8565
|
-
*/
|
|
8566
|
-
'xeroAccountNumber'?: string;
|
|
8567
|
-
}
|
|
8568
7437
|
/**
|
|
8569
7438
|
* 3CX Wizard Restore From Backup
|
|
8570
7439
|
* @export
|
|
@@ -18171,25 +17040,17 @@ export type PostAuthoriseScopeEnum = typeof PostAuthoriseScopeEnum[keyof typeof
|
|
|
18171
17040
|
export const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
18172
17041
|
return {
|
|
18173
17042
|
/**
|
|
18174
|
-
* Delete
|
|
18175
|
-
* @summary Delete
|
|
17043
|
+
* Delete Orders (Beta)
|
|
17044
|
+
* @summary Delete Orders (Beta)
|
|
18176
17045
|
* @param {number} id Order ID
|
|
18177
|
-
* @param {number} batchId Batch ID
|
|
18178
|
-
* @param {number} shipmentId Shipment ID
|
|
18179
17046
|
* @param {*} [options] Override http request option.
|
|
18180
17047
|
* @throws {RequiredError}
|
|
18181
17048
|
*/
|
|
18182
|
-
|
|
17049
|
+
deleteUpdateOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18183
17050
|
// verify required parameter 'id' is not null or undefined
|
|
18184
|
-
assertParamExists('
|
|
18185
|
-
|
|
18186
|
-
|
|
18187
|
-
// verify required parameter 'shipmentId' is not null or undefined
|
|
18188
|
-
assertParamExists('deleteCreateShipment', 'shipmentId', shipmentId)
|
|
18189
|
-
const localVarPath = `/admin/orders/{id}/batches/{batch_id}/shipments`
|
|
18190
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
18191
|
-
.replace(`{${"batch_id"}}`, encodeURIComponent(String(batchId)))
|
|
18192
|
-
.replace(`{${"shipment_id"}}`, encodeURIComponent(String(shipmentId)));
|
|
17051
|
+
assertParamExists('deleteUpdateOrder', 'id', id)
|
|
17052
|
+
const localVarPath = `/orders/{id}`
|
|
17053
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18193
17054
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18194
17055
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18195
17056
|
let baseOptions;
|
|
@@ -18213,21 +17074,17 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18213
17074
|
};
|
|
18214
17075
|
},
|
|
18215
17076
|
/**
|
|
18216
|
-
*
|
|
17077
|
+
* Get Editable Order (Admin)
|
|
17078
|
+
* @summary Get Editable Order (Admin)
|
|
18217
17079
|
* @param {number} id Order ID
|
|
18218
|
-
* @param {number} batchId Batch ID
|
|
18219
|
-
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
18220
17080
|
* @param {*} [options] Override http request option.
|
|
18221
17081
|
* @throws {RequiredError}
|
|
18222
17082
|
*/
|
|
18223
|
-
|
|
17083
|
+
getGetAdminEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18224
17084
|
// verify required parameter 'id' is not null or undefined
|
|
18225
|
-
assertParamExists('
|
|
18226
|
-
|
|
18227
|
-
|
|
18228
|
-
const localVarPath = `/admin/orders/{id}/batches/{batch_id}`
|
|
18229
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
18230
|
-
.replace(`{${"batch_id"}}`, encodeURIComponent(String(batchId)));
|
|
17085
|
+
assertParamExists('getGetAdminEditableOrder', 'id', id)
|
|
17086
|
+
const localVarPath = `/admin/orders/{id}/views/editable`
|
|
17087
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18231
17088
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18232
17089
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18233
17090
|
let baseOptions;
|
|
@@ -18235,18 +17092,15 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18235
17092
|
baseOptions = configuration.baseOptions;
|
|
18236
17093
|
}
|
|
18237
17094
|
|
|
18238
|
-
const localVarRequestOptions = { method: '
|
|
17095
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
18239
17096
|
const localVarHeaderParameter = {} as any;
|
|
18240
17097
|
const localVarQueryParameter = {} as any;
|
|
18241
17098
|
|
|
18242
17099
|
|
|
18243
17100
|
|
|
18244
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18245
|
-
|
|
18246
17101
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18247
17102
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18248
17103
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18249
|
-
localVarRequestOptions.data = serializeDataIfNeeded(shipmentRequestDTO, localVarRequestOptions, configuration)
|
|
18250
17104
|
|
|
18251
17105
|
return {
|
|
18252
17106
|
url: toPathString(localVarUrlObj),
|
|
@@ -18254,16 +17108,16 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18254
17108
|
};
|
|
18255
17109
|
},
|
|
18256
17110
|
/**
|
|
18257
|
-
*
|
|
18258
|
-
* @summary
|
|
17111
|
+
* Get Editable Order (Beta)
|
|
17112
|
+
* @summary Get Editable Order (Beta)
|
|
18259
17113
|
* @param {number} id Order ID
|
|
18260
17114
|
* @param {*} [options] Override http request option.
|
|
18261
17115
|
* @throws {RequiredError}
|
|
18262
17116
|
*/
|
|
18263
|
-
|
|
17117
|
+
getGetEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18264
17118
|
// verify required parameter 'id' is not null or undefined
|
|
18265
|
-
assertParamExists('
|
|
18266
|
-
const localVarPath = `/orders/{id}`
|
|
17119
|
+
assertParamExists('getGetEditableOrder', 'id', id)
|
|
17120
|
+
const localVarPath = `/orders/{id}/views/editable`
|
|
18267
17121
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18268
17122
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18269
17123
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -18272,7 +17126,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18272
17126
|
baseOptions = configuration.baseOptions;
|
|
18273
17127
|
}
|
|
18274
17128
|
|
|
18275
|
-
const localVarRequestOptions = { method: '
|
|
17129
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
18276
17130
|
const localVarHeaderParameter = {} as any;
|
|
18277
17131
|
const localVarQueryParameter = {} as any;
|
|
18278
17132
|
|
|
@@ -18288,17 +17142,20 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18288
17142
|
};
|
|
18289
17143
|
},
|
|
18290
17144
|
/**
|
|
18291
|
-
* Get
|
|
18292
|
-
* @summary Get
|
|
18293
|
-
* @param {number}
|
|
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
|
|
18294
17154
|
* @param {*} [options] Override http request option.
|
|
18295
17155
|
* @throws {RequiredError}
|
|
18296
17156
|
*/
|
|
18297
|
-
|
|
18298
|
-
|
|
18299
|
-
assertParamExists('getGetAdminEditableOrder', 'id', id)
|
|
18300
|
-
const localVarPath = `/admin/orders/{id}/views/editable`
|
|
18301
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17157
|
+
getGetOrders: async (pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17158
|
+
const localVarPath = `/orders`;
|
|
18302
17159
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18303
17160
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18304
17161
|
let baseOptions;
|
|
@@ -18310,148 +17167,9 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18310
17167
|
const localVarHeaderParameter = {} as any;
|
|
18311
17168
|
const localVarQueryParameter = {} as any;
|
|
18312
17169
|
|
|
18313
|
-
|
|
18314
|
-
|
|
18315
|
-
|
|
18316
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18317
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18318
|
-
|
|
18319
|
-
return {
|
|
18320
|
-
url: toPathString(localVarUrlObj),
|
|
18321
|
-
options: localVarRequestOptions,
|
|
18322
|
-
};
|
|
18323
|
-
},
|
|
18324
|
-
/**
|
|
18325
|
-
* Get Order Details (Admin)
|
|
18326
|
-
* @summary Get Order Details (Admin)
|
|
18327
|
-
* @param {number} id Order ID
|
|
18328
|
-
* @param {*} [options] Override http request option.
|
|
18329
|
-
* @throws {RequiredError}
|
|
18330
|
-
*/
|
|
18331
|
-
getGetAdminOrderDetails: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18332
|
-
// verify required parameter 'id' is not null or undefined
|
|
18333
|
-
assertParamExists('getGetAdminOrderDetails', 'id', id)
|
|
18334
|
-
const localVarPath = `/admin/orders/{id}/details`
|
|
18335
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18336
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18337
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18338
|
-
let baseOptions;
|
|
18339
|
-
if (configuration) {
|
|
18340
|
-
baseOptions = configuration.baseOptions;
|
|
18341
|
-
}
|
|
18342
|
-
|
|
18343
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
18344
|
-
const localVarHeaderParameter = {} as any;
|
|
18345
|
-
const localVarQueryParameter = {} as any;
|
|
18346
|
-
|
|
18347
|
-
|
|
18348
|
-
|
|
18349
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18350
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18351
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18352
|
-
|
|
18353
|
-
return {
|
|
18354
|
-
url: toPathString(localVarUrlObj),
|
|
18355
|
-
options: localVarRequestOptions,
|
|
18356
|
-
};
|
|
18357
|
-
},
|
|
18358
|
-
/**
|
|
18359
|
-
* Get Editable Order (Beta)
|
|
18360
|
-
* @summary Get Editable Order (Beta)
|
|
18361
|
-
* @param {number} id Order ID
|
|
18362
|
-
* @param {*} [options] Override http request option.
|
|
18363
|
-
* @throws {RequiredError}
|
|
18364
|
-
*/
|
|
18365
|
-
getGetEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18366
|
-
// verify required parameter 'id' is not null or undefined
|
|
18367
|
-
assertParamExists('getGetEditableOrder', 'id', id)
|
|
18368
|
-
const localVarPath = `/orders/{id}/views/editable`
|
|
18369
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18370
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18371
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18372
|
-
let baseOptions;
|
|
18373
|
-
if (configuration) {
|
|
18374
|
-
baseOptions = configuration.baseOptions;
|
|
18375
|
-
}
|
|
18376
|
-
|
|
18377
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
18378
|
-
const localVarHeaderParameter = {} as any;
|
|
18379
|
-
const localVarQueryParameter = {} as any;
|
|
18380
|
-
|
|
18381
|
-
|
|
18382
|
-
|
|
18383
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18384
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18385
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18386
|
-
|
|
18387
|
-
return {
|
|
18388
|
-
url: toPathString(localVarUrlObj),
|
|
18389
|
-
options: localVarRequestOptions,
|
|
18390
|
-
};
|
|
18391
|
-
},
|
|
18392
|
-
/**
|
|
18393
|
-
* Download Order PDF
|
|
18394
|
-
* @summary Download Order PDF
|
|
18395
|
-
* @param {number} id Order ID
|
|
18396
|
-
* @param {*} [options] Override http request option.
|
|
18397
|
-
* @throws {RequiredError}
|
|
18398
|
-
*/
|
|
18399
|
-
getGetOrderPdf: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18400
|
-
// verify required parameter 'id' is not null or undefined
|
|
18401
|
-
assertParamExists('getGetOrderPdf', 'id', id)
|
|
18402
|
-
const localVarPath = `/orders/{id}/pdf`
|
|
18403
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18404
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18405
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18406
|
-
let baseOptions;
|
|
18407
|
-
if (configuration) {
|
|
18408
|
-
baseOptions = configuration.baseOptions;
|
|
18409
|
-
}
|
|
18410
|
-
|
|
18411
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
18412
|
-
const localVarHeaderParameter = {} as any;
|
|
18413
|
-
const localVarQueryParameter = {} as any;
|
|
18414
|
-
|
|
18415
|
-
|
|
18416
|
-
|
|
18417
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18418
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18419
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18420
|
-
|
|
18421
|
-
return {
|
|
18422
|
-
url: toPathString(localVarUrlObj),
|
|
18423
|
-
options: localVarRequestOptions,
|
|
18424
|
-
};
|
|
18425
|
-
},
|
|
18426
|
-
/**
|
|
18427
|
-
* Get Orders (Beta)
|
|
18428
|
-
* @summary Get Orders (Beta)
|
|
18429
|
-
* @param {number} [pageSize] Number Of Results
|
|
18430
|
-
* @param {number} [page] Page Number
|
|
18431
|
-
* @param {string} [search] Search
|
|
18432
|
-
* @param {boolean | null} [fulfillable] Fulfillable
|
|
18433
|
-
* @param {GetGetOrdersStatusEnum} [status] Status
|
|
18434
|
-
* @param {GetGetOrdersFilterEnum} [filter] Filter
|
|
18435
|
-
* @param {number | null} [customerId] Customer ID
|
|
18436
|
-
* @param {*} [options] Override http request option.
|
|
18437
|
-
* @throws {RequiredError}
|
|
18438
|
-
*/
|
|
18439
|
-
getGetOrders: async (pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18440
|
-
const localVarPath = `/orders`;
|
|
18441
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18442
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18443
|
-
let baseOptions;
|
|
18444
|
-
if (configuration) {
|
|
18445
|
-
baseOptions = configuration.baseOptions;
|
|
18446
|
-
}
|
|
18447
|
-
|
|
18448
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
18449
|
-
const localVarHeaderParameter = {} as any;
|
|
18450
|
-
const localVarQueryParameter = {} as any;
|
|
18451
|
-
|
|
18452
|
-
if (pageSize !== undefined) {
|
|
18453
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
18454
|
-
}
|
|
17170
|
+
if (pageSize !== undefined) {
|
|
17171
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
17172
|
+
}
|
|
18455
17173
|
|
|
18456
17174
|
if (page !== undefined) {
|
|
18457
17175
|
localVarQueryParameter['page'] = page;
|
|
@@ -18488,44 +17206,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18488
17206
|
options: localVarRequestOptions,
|
|
18489
17207
|
};
|
|
18490
17208
|
},
|
|
18491
|
-
/**
|
|
18492
|
-
* Add Order Note
|
|
18493
|
-
* @summary Add Order Note
|
|
18494
|
-
* @param {number} id Order ID
|
|
18495
|
-
* @param {PostAddOrderNoteRequest} [postAddOrderNoteRequest]
|
|
18496
|
-
* @param {*} [options] Override http request option.
|
|
18497
|
-
* @throws {RequiredError}
|
|
18498
|
-
*/
|
|
18499
|
-
postAddOrderNote: async (id: number, postAddOrderNoteRequest?: PostAddOrderNoteRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18500
|
-
// verify required parameter 'id' is not null or undefined
|
|
18501
|
-
assertParamExists('postAddOrderNote', 'id', id)
|
|
18502
|
-
const localVarPath = `/admin/orders/{id}/notes`
|
|
18503
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18504
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18505
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18506
|
-
let baseOptions;
|
|
18507
|
-
if (configuration) {
|
|
18508
|
-
baseOptions = configuration.baseOptions;
|
|
18509
|
-
}
|
|
18510
|
-
|
|
18511
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18512
|
-
const localVarHeaderParameter = {} as any;
|
|
18513
|
-
const localVarQueryParameter = {} as any;
|
|
18514
|
-
|
|
18515
|
-
|
|
18516
|
-
|
|
18517
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18518
|
-
|
|
18519
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18520
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18521
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18522
|
-
localVarRequestOptions.data = serializeDataIfNeeded(postAddOrderNoteRequest, localVarRequestOptions, configuration)
|
|
18523
|
-
|
|
18524
|
-
return {
|
|
18525
|
-
url: toPathString(localVarUrlObj),
|
|
18526
|
-
options: localVarRequestOptions,
|
|
18527
|
-
};
|
|
18528
|
-
},
|
|
18529
17209
|
/**
|
|
18530
17210
|
* Create An Order (Admin)
|
|
18531
17211
|
* @summary Create An Order (Admin)
|
|
@@ -18565,90 +17245,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18565
17245
|
options: localVarRequestOptions,
|
|
18566
17246
|
};
|
|
18567
17247
|
},
|
|
18568
|
-
/**
|
|
18569
|
-
* Create Shipping Consignment
|
|
18570
|
-
* @summary Create Shipping Consignment
|
|
18571
|
-
* @param {number} id Order ID
|
|
18572
|
-
* @param {number} shipmentId Shipment ID
|
|
18573
|
-
* @param {ShippingRequestDTO} [shippingRequestDTO] Shipping Request
|
|
18574
|
-
* @param {*} [options] Override http request option.
|
|
18575
|
-
* @throws {RequiredError}
|
|
18576
|
-
*/
|
|
18577
|
-
postCreateConsignment: async (id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18578
|
-
// verify required parameter 'id' is not null or undefined
|
|
18579
|
-
assertParamExists('postCreateConsignment', 'id', id)
|
|
18580
|
-
// verify required parameter 'shipmentId' is not null or undefined
|
|
18581
|
-
assertParamExists('postCreateConsignment', 'shipmentId', shipmentId)
|
|
18582
|
-
const localVarPath = `/admin/orders/{id}/shipments/{shipment_id}/consignment`
|
|
18583
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
18584
|
-
.replace(`{${"shipment_id"}}`, encodeURIComponent(String(shipmentId)));
|
|
18585
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18586
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18587
|
-
let baseOptions;
|
|
18588
|
-
if (configuration) {
|
|
18589
|
-
baseOptions = configuration.baseOptions;
|
|
18590
|
-
}
|
|
18591
|
-
|
|
18592
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18593
|
-
const localVarHeaderParameter = {} as any;
|
|
18594
|
-
const localVarQueryParameter = {} as any;
|
|
18595
|
-
|
|
18596
|
-
|
|
18597
|
-
|
|
18598
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18599
|
-
|
|
18600
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18601
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18602
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18603
|
-
localVarRequestOptions.data = serializeDataIfNeeded(shippingRequestDTO, localVarRequestOptions, configuration)
|
|
18604
|
-
|
|
18605
|
-
return {
|
|
18606
|
-
url: toPathString(localVarUrlObj),
|
|
18607
|
-
options: localVarRequestOptions,
|
|
18608
|
-
};
|
|
18609
|
-
},
|
|
18610
|
-
/**
|
|
18611
|
-
* Create Shipment (Admin)
|
|
18612
|
-
* @summary Create Shipment (Admin)
|
|
18613
|
-
* @param {number} id Order ID
|
|
18614
|
-
* @param {number} batchId Batch ID
|
|
18615
|
-
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
18616
|
-
* @param {*} [options] Override http request option.
|
|
18617
|
-
* @throws {RequiredError}
|
|
18618
|
-
*/
|
|
18619
|
-
postCreateShipment: async (id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18620
|
-
// verify required parameter 'id' is not null or undefined
|
|
18621
|
-
assertParamExists('postCreateShipment', 'id', id)
|
|
18622
|
-
// verify required parameter 'batchId' is not null or undefined
|
|
18623
|
-
assertParamExists('postCreateShipment', 'batchId', batchId)
|
|
18624
|
-
const localVarPath = `/admin/orders/{id}/batches/{batch_id}/shipments`
|
|
18625
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
18626
|
-
.replace(`{${"batch_id"}}`, encodeURIComponent(String(batchId)));
|
|
18627
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18628
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18629
|
-
let baseOptions;
|
|
18630
|
-
if (configuration) {
|
|
18631
|
-
baseOptions = configuration.baseOptions;
|
|
18632
|
-
}
|
|
18633
|
-
|
|
18634
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18635
|
-
const localVarHeaderParameter = {} as any;
|
|
18636
|
-
const localVarQueryParameter = {} as any;
|
|
18637
|
-
|
|
18638
|
-
|
|
18639
|
-
|
|
18640
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18641
|
-
|
|
18642
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18643
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18644
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18645
|
-
localVarRequestOptions.data = serializeDataIfNeeded(shipmentRequestDTO, localVarRequestOptions, configuration)
|
|
18646
|
-
|
|
18647
|
-
return {
|
|
18648
|
-
url: toPathString(localVarUrlObj),
|
|
18649
|
-
options: localVarRequestOptions,
|
|
18650
|
-
};
|
|
18651
|
-
},
|
|
18652
17248
|
/**
|
|
18653
17249
|
* Create An Order (Beta)
|
|
18654
17250
|
* @summary Create An Order (Beta)
|
|
@@ -18689,17 +17285,18 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18689
17285
|
};
|
|
18690
17286
|
},
|
|
18691
17287
|
/**
|
|
18692
|
-
*
|
|
18693
|
-
* @summary
|
|
17288
|
+
* Update An Order (Admin)
|
|
17289
|
+
* @summary Update An Order (Admin)
|
|
18694
17290
|
* @param {number} id Order ID
|
|
18695
|
-
* @param {
|
|
17291
|
+
* @param {boolean} [readonly] Readonly Order
|
|
17292
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
18696
17293
|
* @param {*} [options] Override http request option.
|
|
18697
17294
|
* @throws {RequiredError}
|
|
18698
17295
|
*/
|
|
18699
|
-
|
|
17296
|
+
putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18700
17297
|
// verify required parameter 'id' is not null or undefined
|
|
18701
|
-
assertParamExists('
|
|
18702
|
-
const localVarPath = `/admin/orders/{id}
|
|
17298
|
+
assertParamExists('putUpdateAdminOrder', 'id', id)
|
|
17299
|
+
const localVarPath = `/admin/orders/{id}`
|
|
18703
17300
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18704
17301
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18705
17302
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -18708,10 +17305,14 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18708
17305
|
baseOptions = configuration.baseOptions;
|
|
18709
17306
|
}
|
|
18710
17307
|
|
|
18711
|
-
const localVarRequestOptions = { method: '
|
|
17308
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
18712
17309
|
const localVarHeaderParameter = {} as any;
|
|
18713
17310
|
const localVarQueryParameter = {} as any;
|
|
18714
17311
|
|
|
17312
|
+
if (readonly !== undefined) {
|
|
17313
|
+
localVarQueryParameter['readonly'] = readonly;
|
|
17314
|
+
}
|
|
17315
|
+
|
|
18715
17316
|
|
|
18716
17317
|
|
|
18717
17318
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -18719,7 +17320,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18719
17320
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18720
17321
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18721
17322
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18722
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
17323
|
+
localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
|
|
18723
17324
|
|
|
18724
17325
|
return {
|
|
18725
17326
|
url: toPathString(localVarUrlObj),
|
|
@@ -18727,24 +17328,19 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18727
17328
|
};
|
|
18728
17329
|
},
|
|
18729
17330
|
/**
|
|
18730
|
-
*
|
|
18731
|
-
* @summary
|
|
17331
|
+
* Update An Order (Beta)
|
|
17332
|
+
* @summary Update An Order (Beta)
|
|
18732
17333
|
* @param {number} id Order ID
|
|
18733
|
-
* @param {
|
|
18734
|
-
* @param {
|
|
17334
|
+
* @param {boolean} [readonly] Readonly Order
|
|
17335
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
18735
17336
|
* @param {*} [options] Override http request option.
|
|
18736
17337
|
* @throws {RequiredError}
|
|
18737
17338
|
*/
|
|
18738
|
-
|
|
17339
|
+
putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18739
17340
|
// verify required parameter 'id' is not null or undefined
|
|
18740
|
-
assertParamExists('
|
|
18741
|
-
|
|
18742
|
-
|
|
18743
|
-
// verify required parameter 'printer' is not null or undefined
|
|
18744
|
-
assertParamExists('postPrintShippingLabel', 'printer', printer)
|
|
18745
|
-
const localVarPath = `/admin/orders/{id}/shipments/{shipment_id}/label/print`
|
|
18746
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
18747
|
-
.replace(`{${"shipment_id"}}`, encodeURIComponent(String(shipmentId)));
|
|
17341
|
+
assertParamExists('putUpdateOrder', 'id', id)
|
|
17342
|
+
const localVarPath = `/orders/{id}`
|
|
17343
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18748
17344
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18749
17345
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18750
17346
|
let baseOptions;
|
|
@@ -18752,313 +17348,22 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
18752
17348
|
baseOptions = configuration.baseOptions;
|
|
18753
17349
|
}
|
|
18754
17350
|
|
|
18755
|
-
const localVarRequestOptions = { method: '
|
|
17351
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
18756
17352
|
const localVarHeaderParameter = {} as any;
|
|
18757
17353
|
const localVarQueryParameter = {} as any;
|
|
18758
17354
|
|
|
18759
|
-
if (
|
|
18760
|
-
localVarQueryParameter['
|
|
17355
|
+
if (readonly !== undefined) {
|
|
17356
|
+
localVarQueryParameter['readonly'] = readonly;
|
|
18761
17357
|
}
|
|
18762
17358
|
|
|
18763
17359
|
|
|
18764
17360
|
|
|
17361
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17362
|
+
|
|
18765
17363
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18766
17364
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18767
17365
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18768
|
-
|
|
18769
|
-
return {
|
|
18770
|
-
url: toPathString(localVarUrlObj),
|
|
18771
|
-
options: localVarRequestOptions,
|
|
18772
|
-
};
|
|
18773
|
-
},
|
|
18774
|
-
/**
|
|
18775
|
-
* Send Order Email
|
|
18776
|
-
* @summary Send Order Email
|
|
18777
|
-
* @param {number} id Order ID
|
|
18778
|
-
* @param {string} email Email Address
|
|
18779
|
-
* @param {*} [options] Override http request option.
|
|
18780
|
-
* @throws {RequiredError}
|
|
18781
|
-
*/
|
|
18782
|
-
postSendOrderEmail: async (id: number, email: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18783
|
-
// verify required parameter 'id' is not null or undefined
|
|
18784
|
-
assertParamExists('postSendOrderEmail', 'id', id)
|
|
18785
|
-
// verify required parameter 'email' is not null or undefined
|
|
18786
|
-
assertParamExists('postSendOrderEmail', 'email', email)
|
|
18787
|
-
const localVarPath = `/admin/orders/{id}/email/send`
|
|
18788
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18789
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18790
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18791
|
-
let baseOptions;
|
|
18792
|
-
if (configuration) {
|
|
18793
|
-
baseOptions = configuration.baseOptions;
|
|
18794
|
-
}
|
|
18795
|
-
|
|
18796
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18797
|
-
const localVarHeaderParameter = {} as any;
|
|
18798
|
-
const localVarQueryParameter = {} as any;
|
|
18799
|
-
|
|
18800
|
-
if (email !== undefined) {
|
|
18801
|
-
localVarQueryParameter['email'] = email;
|
|
18802
|
-
}
|
|
18803
|
-
|
|
18804
|
-
|
|
18805
|
-
|
|
18806
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18807
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18808
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18809
|
-
|
|
18810
|
-
return {
|
|
18811
|
-
url: toPathString(localVarUrlObj),
|
|
18812
|
-
options: localVarRequestOptions,
|
|
18813
|
-
};
|
|
18814
|
-
},
|
|
18815
|
-
/**
|
|
18816
|
-
* Send Supplier Email
|
|
18817
|
-
* @summary Send Supplier Email
|
|
18818
|
-
* @param {number} id Order ID
|
|
18819
|
-
* @param {number} batchId Batch ID
|
|
18820
|
-
* @param {*} [options] Override http request option.
|
|
18821
|
-
* @throws {RequiredError}
|
|
18822
|
-
*/
|
|
18823
|
-
postSendSupplierEmail: async (id: number, batchId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18824
|
-
// verify required parameter 'id' is not null or undefined
|
|
18825
|
-
assertParamExists('postSendSupplierEmail', 'id', id)
|
|
18826
|
-
// verify required parameter 'batchId' is not null or undefined
|
|
18827
|
-
assertParamExists('postSendSupplierEmail', 'batchId', batchId)
|
|
18828
|
-
const localVarPath = `/admin/orders/{id}/batches/{batch_id}/email/send`
|
|
18829
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
18830
|
-
.replace(`{${"batch_id"}}`, encodeURIComponent(String(batchId)));
|
|
18831
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18832
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18833
|
-
let baseOptions;
|
|
18834
|
-
if (configuration) {
|
|
18835
|
-
baseOptions = configuration.baseOptions;
|
|
18836
|
-
}
|
|
18837
|
-
|
|
18838
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18839
|
-
const localVarHeaderParameter = {} as any;
|
|
18840
|
-
const localVarQueryParameter = {} as any;
|
|
18841
|
-
|
|
18842
|
-
|
|
18843
|
-
|
|
18844
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18845
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18846
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18847
|
-
|
|
18848
|
-
return {
|
|
18849
|
-
url: toPathString(localVarUrlObj),
|
|
18850
|
-
options: localVarRequestOptions,
|
|
18851
|
-
};
|
|
18852
|
-
},
|
|
18853
|
-
/**
|
|
18854
|
-
* Split Order
|
|
18855
|
-
* @summary Split Order
|
|
18856
|
-
* @param {number} id Order ID
|
|
18857
|
-
* @param {PostSplitOrderRequest} [postSplitOrderRequest]
|
|
18858
|
-
* @param {*} [options] Override http request option.
|
|
18859
|
-
* @throws {RequiredError}
|
|
18860
|
-
*/
|
|
18861
|
-
postSplitOrder: async (id: number, postSplitOrderRequest?: PostSplitOrderRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18862
|
-
// verify required parameter 'id' is not null or undefined
|
|
18863
|
-
assertParamExists('postSplitOrder', 'id', id)
|
|
18864
|
-
const localVarPath = `/admin/orders/{id}/split`
|
|
18865
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18866
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18867
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18868
|
-
let baseOptions;
|
|
18869
|
-
if (configuration) {
|
|
18870
|
-
baseOptions = configuration.baseOptions;
|
|
18871
|
-
}
|
|
18872
|
-
|
|
18873
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18874
|
-
const localVarHeaderParameter = {} as any;
|
|
18875
|
-
const localVarQueryParameter = {} as any;
|
|
18876
|
-
|
|
18877
|
-
|
|
18878
|
-
|
|
18879
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18880
|
-
|
|
18881
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18882
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18883
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18884
|
-
localVarRequestOptions.data = serializeDataIfNeeded(postSplitOrderRequest, localVarRequestOptions, configuration)
|
|
18885
|
-
|
|
18886
|
-
return {
|
|
18887
|
-
url: toPathString(localVarUrlObj),
|
|
18888
|
-
options: localVarRequestOptions,
|
|
18889
|
-
};
|
|
18890
|
-
},
|
|
18891
|
-
/**
|
|
18892
|
-
* Allocate Items To Supplier
|
|
18893
|
-
* @summary Allocate Items To Supplier
|
|
18894
|
-
* @param {number} id Order ID
|
|
18895
|
-
* @param {number} supplierId Supplier ID
|
|
18896
|
-
* @param {PutAllocateItemsRequest} [putAllocateItemsRequest]
|
|
18897
|
-
* @param {*} [options] Override http request option.
|
|
18898
|
-
* @throws {RequiredError}
|
|
18899
|
-
*/
|
|
18900
|
-
putAllocateItems: async (id: number, supplierId: number, putAllocateItemsRequest?: PutAllocateItemsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18901
|
-
// verify required parameter 'id' is not null or undefined
|
|
18902
|
-
assertParamExists('putAllocateItems', 'id', id)
|
|
18903
|
-
// verify required parameter 'supplierId' is not null or undefined
|
|
18904
|
-
assertParamExists('putAllocateItems', 'supplierId', supplierId)
|
|
18905
|
-
const localVarPath = `/admin/orders/{id}/items/allocate`
|
|
18906
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18907
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18908
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18909
|
-
let baseOptions;
|
|
18910
|
-
if (configuration) {
|
|
18911
|
-
baseOptions = configuration.baseOptions;
|
|
18912
|
-
}
|
|
18913
|
-
|
|
18914
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
18915
|
-
const localVarHeaderParameter = {} as any;
|
|
18916
|
-
const localVarQueryParameter = {} as any;
|
|
18917
|
-
|
|
18918
|
-
if (supplierId !== undefined) {
|
|
18919
|
-
localVarQueryParameter['supplierId'] = supplierId;
|
|
18920
|
-
}
|
|
18921
|
-
|
|
18922
|
-
|
|
18923
|
-
|
|
18924
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18925
|
-
|
|
18926
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18927
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18928
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18929
|
-
localVarRequestOptions.data = serializeDataIfNeeded(putAllocateItemsRequest, localVarRequestOptions, configuration)
|
|
18930
|
-
|
|
18931
|
-
return {
|
|
18932
|
-
url: toPathString(localVarUrlObj),
|
|
18933
|
-
options: localVarRequestOptions,
|
|
18934
|
-
};
|
|
18935
|
-
},
|
|
18936
|
-
/**
|
|
18937
|
-
* Update Shipment (Admin)
|
|
18938
|
-
* @summary Update Shipment (Admin)
|
|
18939
|
-
* @param {number} id Order ID
|
|
18940
|
-
* @param {number} batchId Batch ID
|
|
18941
|
-
* @param {number} shipmentId Shipment ID
|
|
18942
|
-
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
18943
|
-
* @param {*} [options] Override http request option.
|
|
18944
|
-
* @throws {RequiredError}
|
|
18945
|
-
*/
|
|
18946
|
-
putCreateShipment: async (id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18947
|
-
// verify required parameter 'id' is not null or undefined
|
|
18948
|
-
assertParamExists('putCreateShipment', 'id', id)
|
|
18949
|
-
// verify required parameter 'batchId' is not null or undefined
|
|
18950
|
-
assertParamExists('putCreateShipment', 'batchId', batchId)
|
|
18951
|
-
// verify required parameter 'shipmentId' is not null or undefined
|
|
18952
|
-
assertParamExists('putCreateShipment', 'shipmentId', shipmentId)
|
|
18953
|
-
const localVarPath = `/admin/orders/{id}/batches/{batch_id}/shipments`
|
|
18954
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
18955
|
-
.replace(`{${"batch_id"}}`, encodeURIComponent(String(batchId)))
|
|
18956
|
-
.replace(`{${"shipment_id"}}`, encodeURIComponent(String(shipmentId)));
|
|
18957
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18958
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18959
|
-
let baseOptions;
|
|
18960
|
-
if (configuration) {
|
|
18961
|
-
baseOptions = configuration.baseOptions;
|
|
18962
|
-
}
|
|
18963
|
-
|
|
18964
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
18965
|
-
const localVarHeaderParameter = {} as any;
|
|
18966
|
-
const localVarQueryParameter = {} as any;
|
|
18967
|
-
|
|
18968
|
-
|
|
18969
|
-
|
|
18970
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18971
|
-
|
|
18972
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18973
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18974
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18975
|
-
localVarRequestOptions.data = serializeDataIfNeeded(shipmentRequestDTO, localVarRequestOptions, configuration)
|
|
18976
|
-
|
|
18977
|
-
return {
|
|
18978
|
-
url: toPathString(localVarUrlObj),
|
|
18979
|
-
options: localVarRequestOptions,
|
|
18980
|
-
};
|
|
18981
|
-
},
|
|
18982
|
-
/**
|
|
18983
|
-
* Update An Order (Admin)
|
|
18984
|
-
* @summary Update An Order (Admin)
|
|
18985
|
-
* @param {number} id Order ID
|
|
18986
|
-
* @param {boolean} [readonly] Readonly Order
|
|
18987
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
18988
|
-
* @param {*} [options] Override http request option.
|
|
18989
|
-
* @throws {RequiredError}
|
|
18990
|
-
*/
|
|
18991
|
-
putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18992
|
-
// verify required parameter 'id' is not null or undefined
|
|
18993
|
-
assertParamExists('putUpdateAdminOrder', 'id', id)
|
|
18994
|
-
const localVarPath = `/admin/orders/{id}`
|
|
18995
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18996
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18997
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18998
|
-
let baseOptions;
|
|
18999
|
-
if (configuration) {
|
|
19000
|
-
baseOptions = configuration.baseOptions;
|
|
19001
|
-
}
|
|
19002
|
-
|
|
19003
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
19004
|
-
const localVarHeaderParameter = {} as any;
|
|
19005
|
-
const localVarQueryParameter = {} as any;
|
|
19006
|
-
|
|
19007
|
-
if (readonly !== undefined) {
|
|
19008
|
-
localVarQueryParameter['readonly'] = readonly;
|
|
19009
|
-
}
|
|
19010
|
-
|
|
19011
|
-
|
|
19012
|
-
|
|
19013
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19014
|
-
|
|
19015
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19016
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19017
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19018
|
-
localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
|
|
19019
|
-
|
|
19020
|
-
return {
|
|
19021
|
-
url: toPathString(localVarUrlObj),
|
|
19022
|
-
options: localVarRequestOptions,
|
|
19023
|
-
};
|
|
19024
|
-
},
|
|
19025
|
-
/**
|
|
19026
|
-
* Update An Order (Beta)
|
|
19027
|
-
* @summary Update An Order (Beta)
|
|
19028
|
-
* @param {number} id Order ID
|
|
19029
|
-
* @param {boolean} [readonly] Readonly Order
|
|
19030
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
19031
|
-
* @param {*} [options] Override http request option.
|
|
19032
|
-
* @throws {RequiredError}
|
|
19033
|
-
*/
|
|
19034
|
-
putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19035
|
-
// verify required parameter 'id' is not null or undefined
|
|
19036
|
-
assertParamExists('putUpdateOrder', 'id', id)
|
|
19037
|
-
const localVarPath = `/orders/{id}`
|
|
19038
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
19039
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19040
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19041
|
-
let baseOptions;
|
|
19042
|
-
if (configuration) {
|
|
19043
|
-
baseOptions = configuration.baseOptions;
|
|
19044
|
-
}
|
|
19045
|
-
|
|
19046
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
19047
|
-
const localVarHeaderParameter = {} as any;
|
|
19048
|
-
const localVarQueryParameter = {} as any;
|
|
19049
|
-
|
|
19050
|
-
if (readonly !== undefined) {
|
|
19051
|
-
localVarQueryParameter['readonly'] = readonly;
|
|
19052
|
-
}
|
|
19053
|
-
|
|
19054
|
-
|
|
19055
|
-
|
|
19056
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19057
|
-
|
|
19058
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19059
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19060
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19061
|
-
localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
|
|
17366
|
+
localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
|
|
19062
17367
|
|
|
19063
17368
|
return {
|
|
19064
17369
|
url: toPathString(localVarUrlObj),
|
|
@@ -19069,297 +17374,96 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
19069
17374
|
};
|
|
19070
17375
|
|
|
19071
17376
|
/**
|
|
19072
|
-
* OrdersApi - functional programming interface
|
|
19073
|
-
* @export
|
|
19074
|
-
*/
|
|
19075
|
-
export const OrdersApiFp = function(configuration?: Configuration) {
|
|
19076
|
-
const localVarAxiosParamCreator = OrdersApiAxiosParamCreator(configuration)
|
|
19077
|
-
return {
|
|
19078
|
-
/**
|
|
19079
|
-
* Delete Shipment (Admin)
|
|
19080
|
-
* @summary Delete Shipment (Admin)
|
|
19081
|
-
* @param {number} id Order ID
|
|
19082
|
-
* @param {number} batchId Batch ID
|
|
19083
|
-
* @param {number} shipmentId Shipment ID
|
|
19084
|
-
* @param {*} [options] Override http request option.
|
|
19085
|
-
* @throws {RequiredError}
|
|
19086
|
-
*/
|
|
19087
|
-
async deleteCreateShipment(id: number, batchId: number, shipmentId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
19088
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCreateShipment(id, batchId, shipmentId, options);
|
|
19089
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19090
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteCreateShipment']?.[localVarOperationServerIndex]?.url;
|
|
19091
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19092
|
-
},
|
|
19093
|
-
/**
|
|
19094
|
-
* Delete Batch (Admin)
|
|
19095
|
-
* @param {number} id Order ID
|
|
19096
|
-
* @param {number} batchId Batch ID
|
|
19097
|
-
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
19098
|
-
* @param {*} [options] Override http request option.
|
|
19099
|
-
* @throws {RequiredError}
|
|
19100
|
-
*/
|
|
19101
|
-
async deleteDeleteBatch(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
19102
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeleteBatch(id, batchId, shipmentRequestDTO, options);
|
|
19103
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19104
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteDeleteBatch']?.[localVarOperationServerIndex]?.url;
|
|
19105
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19106
|
-
},
|
|
19107
|
-
/**
|
|
19108
|
-
* Delete Orders (Beta)
|
|
19109
|
-
* @summary Delete Orders (Beta)
|
|
19110
|
-
* @param {number} id Order ID
|
|
19111
|
-
* @param {*} [options] Override http request option.
|
|
19112
|
-
* @throws {RequiredError}
|
|
19113
|
-
*/
|
|
19114
|
-
async deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
19115
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUpdateOrder(id, options);
|
|
19116
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19117
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteUpdateOrder']?.[localVarOperationServerIndex]?.url;
|
|
19118
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19119
|
-
},
|
|
19120
|
-
/**
|
|
19121
|
-
* Get Editable Order (Admin)
|
|
19122
|
-
* @summary Get Editable Order (Admin)
|
|
19123
|
-
* @param {number} id Order ID
|
|
19124
|
-
* @param {*} [options] Override http request option.
|
|
19125
|
-
* @throws {RequiredError}
|
|
19126
|
-
*/
|
|
19127
|
-
async getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminOrderRequestDTO>> {
|
|
19128
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAdminEditableOrder(id, options);
|
|
19129
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19130
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetAdminEditableOrder']?.[localVarOperationServerIndex]?.url;
|
|
19131
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19132
|
-
},
|
|
19133
|
-
/**
|
|
19134
|
-
* Get Order Details (Admin)
|
|
19135
|
-
* @summary Get Order Details (Admin)
|
|
19136
|
-
* @param {number} id Order ID
|
|
19137
|
-
* @param {*} [options] Override http request option.
|
|
19138
|
-
* @throws {RequiredError}
|
|
19139
|
-
*/
|
|
19140
|
-
async getGetAdminOrderDetails(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderDetailsDTO>> {
|
|
19141
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAdminOrderDetails(id, options);
|
|
19142
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19143
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetAdminOrderDetails']?.[localVarOperationServerIndex]?.url;
|
|
19144
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19145
|
-
},
|
|
19146
|
-
/**
|
|
19147
|
-
* Get Editable Order (Beta)
|
|
19148
|
-
* @summary Get Editable Order (Beta)
|
|
19149
|
-
* @param {number} id Order ID
|
|
19150
|
-
* @param {*} [options] Override http request option.
|
|
19151
|
-
* @throws {RequiredError}
|
|
19152
|
-
*/
|
|
19153
|
-
async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DetailedOrderRequestDTO>> {
|
|
19154
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
|
|
19155
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19156
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
|
|
19157
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19158
|
-
},
|
|
19159
|
-
/**
|
|
19160
|
-
* Download Order PDF
|
|
19161
|
-
* @summary Download Order PDF
|
|
19162
|
-
* @param {number} id Order ID
|
|
19163
|
-
* @param {*} [options] Override http request option.
|
|
19164
|
-
* @throws {RequiredError}
|
|
19165
|
-
*/
|
|
19166
|
-
async getGetOrderPdf(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
19167
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetOrderPdf(id, options);
|
|
19168
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19169
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrderPdf']?.[localVarOperationServerIndex]?.url;
|
|
19170
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19171
|
-
},
|
|
19172
|
-
/**
|
|
19173
|
-
* Get Orders (Beta)
|
|
19174
|
-
* @summary Get Orders (Beta)
|
|
19175
|
-
* @param {number} [pageSize] Number Of Results
|
|
19176
|
-
* @param {number} [page] Page Number
|
|
19177
|
-
* @param {string} [search] Search
|
|
19178
|
-
* @param {boolean | null} [fulfillable] Fulfillable
|
|
19179
|
-
* @param {GetGetOrdersStatusEnum} [status] Status
|
|
19180
|
-
* @param {GetGetOrdersFilterEnum} [filter] Filter
|
|
19181
|
-
* @param {number | null} [customerId] Customer ID
|
|
19182
|
-
* @param {*} [options] Override http request option.
|
|
19183
|
-
* @throws {RequiredError}
|
|
19184
|
-
*/
|
|
19185
|
-
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>> {
|
|
19186
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options);
|
|
19187
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19188
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
19189
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19190
|
-
},
|
|
19191
|
-
/**
|
|
19192
|
-
* Add Order Note
|
|
19193
|
-
* @summary Add Order Note
|
|
19194
|
-
* @param {number} id Order ID
|
|
19195
|
-
* @param {PostAddOrderNoteRequest} [postAddOrderNoteRequest]
|
|
19196
|
-
* @param {*} [options] Override http request option.
|
|
19197
|
-
* @throws {RequiredError}
|
|
19198
|
-
*/
|
|
19199
|
-
async postAddOrderNote(id: number, postAddOrderNoteRequest?: PostAddOrderNoteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
19200
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postAddOrderNote(id, postAddOrderNoteRequest, options);
|
|
19201
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19202
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postAddOrderNote']?.[localVarOperationServerIndex]?.url;
|
|
19203
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19204
|
-
},
|
|
19205
|
-
/**
|
|
19206
|
-
* Create An Order (Admin)
|
|
19207
|
-
* @summary Create An Order (Admin)
|
|
19208
|
-
* @param {boolean} [readonly] Readonly Order
|
|
19209
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
19210
|
-
* @param {*} [options] Override http request option.
|
|
19211
|
-
* @throws {RequiredError}
|
|
19212
|
-
*/
|
|
19213
|
-
async postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
19214
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options);
|
|
19215
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19216
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
|
|
19217
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19218
|
-
},
|
|
19219
|
-
/**
|
|
19220
|
-
* Create Shipping Consignment
|
|
19221
|
-
* @summary Create Shipping Consignment
|
|
19222
|
-
* @param {number} id Order ID
|
|
19223
|
-
* @param {number} shipmentId Shipment ID
|
|
19224
|
-
* @param {ShippingRequestDTO} [shippingRequestDTO] Shipping Request
|
|
19225
|
-
* @param {*} [options] Override http request option.
|
|
19226
|
-
* @throws {RequiredError}
|
|
19227
|
-
*/
|
|
19228
|
-
async postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentModel>> {
|
|
19229
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateConsignment(id, shipmentId, shippingRequestDTO, options);
|
|
19230
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19231
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateConsignment']?.[localVarOperationServerIndex]?.url;
|
|
19232
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19233
|
-
},
|
|
19234
|
-
/**
|
|
19235
|
-
* Create Shipment (Admin)
|
|
19236
|
-
* @summary Create Shipment (Admin)
|
|
19237
|
-
* @param {number} id Order ID
|
|
19238
|
-
* @param {number} batchId Batch ID
|
|
19239
|
-
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
19240
|
-
* @param {*} [options] Override http request option.
|
|
19241
|
-
* @throws {RequiredError}
|
|
19242
|
-
*/
|
|
19243
|
-
async postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentModel>> {
|
|
19244
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateShipment(id, batchId, shipmentRequestDTO, options);
|
|
19245
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19246
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateShipment']?.[localVarOperationServerIndex]?.url;
|
|
19247
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19248
|
-
},
|
|
19249
|
-
/**
|
|
19250
|
-
* Create An Order (Beta)
|
|
19251
|
-
* @summary Create An Order (Beta)
|
|
19252
|
-
* @param {boolean} [readonly] Readonly Order
|
|
19253
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
19254
|
-
* @param {*} [options] Override http request option.
|
|
19255
|
-
* @throws {RequiredError}
|
|
19256
|
-
*/
|
|
19257
|
-
async postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
19258
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options);
|
|
19259
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19260
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
19261
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19262
|
-
},
|
|
19263
|
-
/**
|
|
19264
|
-
* Issue Credit (Admin)
|
|
19265
|
-
* @summary Issue Credit (Admin)
|
|
19266
|
-
* @param {number} id Order ID
|
|
19267
|
-
* @param {CreditNoteDTO} [creditNoteDTO] Credit Request
|
|
19268
|
-
* @param {*} [options] Override http request option.
|
|
19269
|
-
* @throws {RequiredError}
|
|
19270
|
-
*/
|
|
19271
|
-
async postIssueCredit(id: number, creditNoteDTO?: CreditNoteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreditNoteModel>> {
|
|
19272
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postIssueCredit(id, creditNoteDTO, options);
|
|
19273
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19274
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postIssueCredit']?.[localVarOperationServerIndex]?.url;
|
|
19275
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19276
|
-
},
|
|
17377
|
+
* OrdersApi - functional programming interface
|
|
17378
|
+
* @export
|
|
17379
|
+
*/
|
|
17380
|
+
export const OrdersApiFp = function(configuration?: Configuration) {
|
|
17381
|
+
const localVarAxiosParamCreator = OrdersApiAxiosParamCreator(configuration)
|
|
17382
|
+
return {
|
|
19277
17383
|
/**
|
|
19278
|
-
*
|
|
19279
|
-
* @summary
|
|
17384
|
+
* Delete Orders (Beta)
|
|
17385
|
+
* @summary Delete Orders (Beta)
|
|
19280
17386
|
* @param {number} id Order ID
|
|
19281
|
-
* @param {number} shipmentId Shipment ID
|
|
19282
|
-
* @param {PostPrintShippingLabelPrinterEnum} printer Printer
|
|
19283
17387
|
* @param {*} [options] Override http request option.
|
|
19284
17388
|
* @throws {RequiredError}
|
|
19285
17389
|
*/
|
|
19286
|
-
async
|
|
19287
|
-
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);
|
|
19288
17392
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19289
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
17393
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteUpdateOrder']?.[localVarOperationServerIndex]?.url;
|
|
19290
17394
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19291
17395
|
},
|
|
19292
17396
|
/**
|
|
19293
|
-
*
|
|
19294
|
-
* @summary
|
|
17397
|
+
* Get Editable Order (Admin)
|
|
17398
|
+
* @summary Get Editable Order (Admin)
|
|
19295
17399
|
* @param {number} id Order ID
|
|
19296
|
-
* @param {string} email Email Address
|
|
19297
17400
|
* @param {*} [options] Override http request option.
|
|
19298
17401
|
* @throws {RequiredError}
|
|
19299
17402
|
*/
|
|
19300
|
-
async
|
|
19301
|
-
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);
|
|
19302
17405
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19303
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
17406
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetAdminEditableOrder']?.[localVarOperationServerIndex]?.url;
|
|
19304
17407
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19305
17408
|
},
|
|
19306
17409
|
/**
|
|
19307
|
-
*
|
|
19308
|
-
* @summary
|
|
17410
|
+
* Get Editable Order (Beta)
|
|
17411
|
+
* @summary Get Editable Order (Beta)
|
|
19309
17412
|
* @param {number} id Order ID
|
|
19310
|
-
* @param {number} batchId Batch ID
|
|
19311
17413
|
* @param {*} [options] Override http request option.
|
|
19312
17414
|
* @throws {RequiredError}
|
|
19313
17415
|
*/
|
|
19314
|
-
async
|
|
19315
|
-
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);
|
|
19316
17418
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19317
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
17419
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
|
|
19318
17420
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19319
17421
|
},
|
|
19320
17422
|
/**
|
|
19321
|
-
*
|
|
19322
|
-
* @summary
|
|
19323
|
-
* @param {number}
|
|
19324
|
-
* @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
|
|
19325
17432
|
* @param {*} [options] Override http request option.
|
|
19326
17433
|
* @throws {RequiredError}
|
|
19327
17434
|
*/
|
|
19328
|
-
async
|
|
19329
|
-
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);
|
|
19330
17437
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19331
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
17438
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
19332
17439
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19333
17440
|
},
|
|
19334
17441
|
/**
|
|
19335
|
-
*
|
|
19336
|
-
* @summary
|
|
19337
|
-
* @param {
|
|
19338
|
-
* @param {
|
|
19339
|
-
* @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
|
|
19340
17446
|
* @param {*} [options] Override http request option.
|
|
19341
17447
|
* @throws {RequiredError}
|
|
19342
17448
|
*/
|
|
19343
|
-
async
|
|
19344
|
-
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);
|
|
19345
17451
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19346
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
17452
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
|
|
19347
17453
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19348
17454
|
},
|
|
19349
17455
|
/**
|
|
19350
|
-
*
|
|
19351
|
-
* @summary
|
|
19352
|
-
* @param {
|
|
19353
|
-
* @param {
|
|
19354
|
-
* @param {number} shipmentId Shipment ID
|
|
19355
|
-
* @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
|
|
19356
17460
|
* @param {*} [options] Override http request option.
|
|
19357
17461
|
* @throws {RequiredError}
|
|
19358
17462
|
*/
|
|
19359
|
-
async
|
|
19360
|
-
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);
|
|
19361
17465
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19362
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
17466
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
19363
17467
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19364
17468
|
},
|
|
19365
17469
|
/**
|
|
@@ -19402,29 +17506,6 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
19402
17506
|
export const OrdersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
19403
17507
|
const localVarFp = OrdersApiFp(configuration)
|
|
19404
17508
|
return {
|
|
19405
|
-
/**
|
|
19406
|
-
* Delete Shipment (Admin)
|
|
19407
|
-
* @summary Delete Shipment (Admin)
|
|
19408
|
-
* @param {number} id Order ID
|
|
19409
|
-
* @param {number} batchId Batch ID
|
|
19410
|
-
* @param {number} shipmentId Shipment ID
|
|
19411
|
-
* @param {*} [options] Override http request option.
|
|
19412
|
-
* @throws {RequiredError}
|
|
19413
|
-
*/
|
|
19414
|
-
deleteCreateShipment(id: number, batchId: number, shipmentId: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19415
|
-
return localVarFp.deleteCreateShipment(id, batchId, shipmentId, options).then((request) => request(axios, basePath));
|
|
19416
|
-
},
|
|
19417
|
-
/**
|
|
19418
|
-
* Delete Batch (Admin)
|
|
19419
|
-
* @param {number} id Order ID
|
|
19420
|
-
* @param {number} batchId Batch ID
|
|
19421
|
-
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
19422
|
-
* @param {*} [options] Override http request option.
|
|
19423
|
-
* @throws {RequiredError}
|
|
19424
|
-
*/
|
|
19425
|
-
deleteDeleteBatch(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19426
|
-
return localVarFp.deleteDeleteBatch(id, batchId, shipmentRequestDTO, options).then((request) => request(axios, basePath));
|
|
19427
|
-
},
|
|
19428
17509
|
/**
|
|
19429
17510
|
* Delete Orders (Beta)
|
|
19430
17511
|
* @summary Delete Orders (Beta)
|
|
@@ -19445,16 +17526,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
19445
17526
|
getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AdminOrderRequestDTO> {
|
|
19446
17527
|
return localVarFp.getGetAdminEditableOrder(id, options).then((request) => request(axios, basePath));
|
|
19447
17528
|
},
|
|
19448
|
-
/**
|
|
19449
|
-
* Get Order Details (Admin)
|
|
19450
|
-
* @summary Get Order Details (Admin)
|
|
19451
|
-
* @param {number} id Order ID
|
|
19452
|
-
* @param {*} [options] Override http request option.
|
|
19453
|
-
* @throws {RequiredError}
|
|
19454
|
-
*/
|
|
19455
|
-
getGetAdminOrderDetails(id: number, options?: RawAxiosRequestConfig): AxiosPromise<OrderDetailsDTO> {
|
|
19456
|
-
return localVarFp.getGetAdminOrderDetails(id, options).then((request) => request(axios, basePath));
|
|
19457
|
-
},
|
|
19458
17529
|
/**
|
|
19459
17530
|
* Get Editable Order (Beta)
|
|
19460
17531
|
* @summary Get Editable Order (Beta)
|
|
@@ -19465,16 +17536,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
19465
17536
|
getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<DetailedOrderRequestDTO> {
|
|
19466
17537
|
return localVarFp.getGetEditableOrder(id, options).then((request) => request(axios, basePath));
|
|
19467
17538
|
},
|
|
19468
|
-
/**
|
|
19469
|
-
* Download Order PDF
|
|
19470
|
-
* @summary Download Order PDF
|
|
19471
|
-
* @param {number} id Order ID
|
|
19472
|
-
* @param {*} [options] Override http request option.
|
|
19473
|
-
* @throws {RequiredError}
|
|
19474
|
-
*/
|
|
19475
|
-
getGetOrderPdf(id: number, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
19476
|
-
return localVarFp.getGetOrderPdf(id, options).then((request) => request(axios, basePath));
|
|
19477
|
-
},
|
|
19478
17539
|
/**
|
|
19479
17540
|
* Get Orders (Beta)
|
|
19480
17541
|
* @summary Get Orders (Beta)
|
|
@@ -19491,17 +17552,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
19491
17552
|
getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel> {
|
|
19492
17553
|
return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(axios, basePath));
|
|
19493
17554
|
},
|
|
19494
|
-
/**
|
|
19495
|
-
* Add Order Note
|
|
19496
|
-
* @summary Add Order Note
|
|
19497
|
-
* @param {number} id Order ID
|
|
19498
|
-
* @param {PostAddOrderNoteRequest} [postAddOrderNoteRequest]
|
|
19499
|
-
* @param {*} [options] Override http request option.
|
|
19500
|
-
* @throws {RequiredError}
|
|
19501
|
-
*/
|
|
19502
|
-
postAddOrderNote(id: number, postAddOrderNoteRequest?: PostAddOrderNoteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19503
|
-
return localVarFp.postAddOrderNote(id, postAddOrderNoteRequest, options).then((request) => request(axios, basePath));
|
|
19504
|
-
},
|
|
19505
17555
|
/**
|
|
19506
17556
|
* Create An Order (Admin)
|
|
19507
17557
|
* @summary Create An Order (Admin)
|
|
@@ -19513,30 +17563,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
19513
17563
|
postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
19514
17564
|
return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
19515
17565
|
},
|
|
19516
|
-
/**
|
|
19517
|
-
* Create Shipping Consignment
|
|
19518
|
-
* @summary Create Shipping Consignment
|
|
19519
|
-
* @param {number} id Order ID
|
|
19520
|
-
* @param {number} shipmentId Shipment ID
|
|
19521
|
-
* @param {ShippingRequestDTO} [shippingRequestDTO] Shipping Request
|
|
19522
|
-
* @param {*} [options] Override http request option.
|
|
19523
|
-
* @throws {RequiredError}
|
|
19524
|
-
*/
|
|
19525
|
-
postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentModel> {
|
|
19526
|
-
return localVarFp.postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then((request) => request(axios, basePath));
|
|
19527
|
-
},
|
|
19528
|
-
/**
|
|
19529
|
-
* Create Shipment (Admin)
|
|
19530
|
-
* @summary Create Shipment (Admin)
|
|
19531
|
-
* @param {number} id Order ID
|
|
19532
|
-
* @param {number} batchId Batch ID
|
|
19533
|
-
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
19534
|
-
* @param {*} [options] Override http request option.
|
|
19535
|
-
* @throws {RequiredError}
|
|
19536
|
-
*/
|
|
19537
|
-
postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentModel> {
|
|
19538
|
-
return localVarFp.postCreateShipment(id, batchId, shipmentRequestDTO, options).then((request) => request(axios, basePath));
|
|
19539
|
-
},
|
|
19540
17566
|
/**
|
|
19541
17567
|
* Create An Order (Beta)
|
|
19542
17568
|
* @summary Create An Order (Beta)
|
|
@@ -19548,87 +17574,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
19548
17574
|
postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
19549
17575
|
return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
19550
17576
|
},
|
|
19551
|
-
/**
|
|
19552
|
-
* Issue Credit (Admin)
|
|
19553
|
-
* @summary Issue Credit (Admin)
|
|
19554
|
-
* @param {number} id Order ID
|
|
19555
|
-
* @param {CreditNoteDTO} [creditNoteDTO] Credit Request
|
|
19556
|
-
* @param {*} [options] Override http request option.
|
|
19557
|
-
* @throws {RequiredError}
|
|
19558
|
-
*/
|
|
19559
|
-
postIssueCredit(id: number, creditNoteDTO?: CreditNoteDTO, options?: RawAxiosRequestConfig): AxiosPromise<CreditNoteModel> {
|
|
19560
|
-
return localVarFp.postIssueCredit(id, creditNoteDTO, options).then((request) => request(axios, basePath));
|
|
19561
|
-
},
|
|
19562
|
-
/**
|
|
19563
|
-
* Print Shipment Label
|
|
19564
|
-
* @summary Print Shipment Label
|
|
19565
|
-
* @param {number} id Order ID
|
|
19566
|
-
* @param {number} shipmentId Shipment ID
|
|
19567
|
-
* @param {PostPrintShippingLabelPrinterEnum} printer Printer
|
|
19568
|
-
* @param {*} [options] Override http request option.
|
|
19569
|
-
* @throws {RequiredError}
|
|
19570
|
-
*/
|
|
19571
|
-
postPrintShippingLabel(id: number, shipmentId: number, printer: PostPrintShippingLabelPrinterEnum, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
19572
|
-
return localVarFp.postPrintShippingLabel(id, shipmentId, printer, options).then((request) => request(axios, basePath));
|
|
19573
|
-
},
|
|
19574
|
-
/**
|
|
19575
|
-
* Send Order Email
|
|
19576
|
-
* @summary Send Order Email
|
|
19577
|
-
* @param {number} id Order ID
|
|
19578
|
-
* @param {string} email Email Address
|
|
19579
|
-
* @param {*} [options] Override http request option.
|
|
19580
|
-
* @throws {RequiredError}
|
|
19581
|
-
*/
|
|
19582
|
-
postSendOrderEmail(id: number, email: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19583
|
-
return localVarFp.postSendOrderEmail(id, email, options).then((request) => request(axios, basePath));
|
|
19584
|
-
},
|
|
19585
|
-
/**
|
|
19586
|
-
* Send Supplier Email
|
|
19587
|
-
* @summary Send Supplier Email
|
|
19588
|
-
* @param {number} id Order ID
|
|
19589
|
-
* @param {number} batchId Batch ID
|
|
19590
|
-
* @param {*} [options] Override http request option.
|
|
19591
|
-
* @throws {RequiredError}
|
|
19592
|
-
*/
|
|
19593
|
-
postSendSupplierEmail(id: number, batchId: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19594
|
-
return localVarFp.postSendSupplierEmail(id, batchId, options).then((request) => request(axios, basePath));
|
|
19595
|
-
},
|
|
19596
|
-
/**
|
|
19597
|
-
* Split Order
|
|
19598
|
-
* @summary Split Order
|
|
19599
|
-
* @param {number} id Order ID
|
|
19600
|
-
* @param {PostSplitOrderRequest} [postSplitOrderRequest]
|
|
19601
|
-
* @param {*} [options] Override http request option.
|
|
19602
|
-
* @throws {RequiredError}
|
|
19603
|
-
*/
|
|
19604
|
-
postSplitOrder(id: number, postSplitOrderRequest?: PostSplitOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
19605
|
-
return localVarFp.postSplitOrder(id, postSplitOrderRequest, options).then((request) => request(axios, basePath));
|
|
19606
|
-
},
|
|
19607
|
-
/**
|
|
19608
|
-
* Allocate Items To Supplier
|
|
19609
|
-
* @summary Allocate Items To Supplier
|
|
19610
|
-
* @param {number} id Order ID
|
|
19611
|
-
* @param {number} supplierId Supplier ID
|
|
19612
|
-
* @param {PutAllocateItemsRequest} [putAllocateItemsRequest]
|
|
19613
|
-
* @param {*} [options] Override http request option.
|
|
19614
|
-
* @throws {RequiredError}
|
|
19615
|
-
*/
|
|
19616
|
-
putAllocateItems(id: number, supplierId: number, putAllocateItemsRequest?: PutAllocateItemsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19617
|
-
return localVarFp.putAllocateItems(id, supplierId, putAllocateItemsRequest, options).then((request) => request(axios, basePath));
|
|
19618
|
-
},
|
|
19619
|
-
/**
|
|
19620
|
-
* Update Shipment (Admin)
|
|
19621
|
-
* @summary Update Shipment (Admin)
|
|
19622
|
-
* @param {number} id Order ID
|
|
19623
|
-
* @param {number} batchId Batch ID
|
|
19624
|
-
* @param {number} shipmentId Shipment ID
|
|
19625
|
-
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
19626
|
-
* @param {*} [options] Override http request option.
|
|
19627
|
-
* @throws {RequiredError}
|
|
19628
|
-
*/
|
|
19629
|
-
putCreateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentModel> {
|
|
19630
|
-
return localVarFp.putCreateShipment(id, batchId, shipmentId, shipmentRequestDTO, options).then((request) => request(axios, basePath));
|
|
19631
|
-
},
|
|
19632
17577
|
/**
|
|
19633
17578
|
* Update An Order (Admin)
|
|
19634
17579
|
* @summary Update An Order (Admin)
|
|
@@ -19663,33 +17608,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
19663
17608
|
* @extends {BaseAPI}
|
|
19664
17609
|
*/
|
|
19665
17610
|
export class OrdersApi extends BaseAPI {
|
|
19666
|
-
/**
|
|
19667
|
-
* Delete Shipment (Admin)
|
|
19668
|
-
* @summary Delete Shipment (Admin)
|
|
19669
|
-
* @param {number} id Order ID
|
|
19670
|
-
* @param {number} batchId Batch ID
|
|
19671
|
-
* @param {number} shipmentId Shipment ID
|
|
19672
|
-
* @param {*} [options] Override http request option.
|
|
19673
|
-
* @throws {RequiredError}
|
|
19674
|
-
* @memberof OrdersApi
|
|
19675
|
-
*/
|
|
19676
|
-
public deleteCreateShipment(id: number, batchId: number, shipmentId: number, options?: RawAxiosRequestConfig) {
|
|
19677
|
-
return OrdersApiFp(this.configuration).deleteCreateShipment(id, batchId, shipmentId, options).then((request) => request(this.axios, this.basePath));
|
|
19678
|
-
}
|
|
19679
|
-
|
|
19680
|
-
/**
|
|
19681
|
-
* Delete Batch (Admin)
|
|
19682
|
-
* @param {number} id Order ID
|
|
19683
|
-
* @param {number} batchId Batch ID
|
|
19684
|
-
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
19685
|
-
* @param {*} [options] Override http request option.
|
|
19686
|
-
* @throws {RequiredError}
|
|
19687
|
-
* @memberof OrdersApi
|
|
19688
|
-
*/
|
|
19689
|
-
public deleteDeleteBatch(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig) {
|
|
19690
|
-
return OrdersApiFp(this.configuration).deleteDeleteBatch(id, batchId, shipmentRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19691
|
-
}
|
|
19692
|
-
|
|
19693
17611
|
/**
|
|
19694
17612
|
* Delete Orders (Beta)
|
|
19695
17613
|
* @summary Delete Orders (Beta)
|
|
@@ -19714,18 +17632,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
19714
17632
|
return OrdersApiFp(this.configuration).getGetAdminEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
19715
17633
|
}
|
|
19716
17634
|
|
|
19717
|
-
/**
|
|
19718
|
-
* Get Order Details (Admin)
|
|
19719
|
-
* @summary Get Order Details (Admin)
|
|
19720
|
-
* @param {number} id Order ID
|
|
19721
|
-
* @param {*} [options] Override http request option.
|
|
19722
|
-
* @throws {RequiredError}
|
|
19723
|
-
* @memberof OrdersApi
|
|
19724
|
-
*/
|
|
19725
|
-
public getGetAdminOrderDetails(id: number, options?: RawAxiosRequestConfig) {
|
|
19726
|
-
return OrdersApiFp(this.configuration).getGetAdminOrderDetails(id, options).then((request) => request(this.axios, this.basePath));
|
|
19727
|
-
}
|
|
19728
|
-
|
|
19729
17635
|
/**
|
|
19730
17636
|
* Get Editable Order (Beta)
|
|
19731
17637
|
* @summary Get Editable Order (Beta)
|
|
@@ -19738,18 +17644,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
19738
17644
|
return OrdersApiFp(this.configuration).getGetEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
19739
17645
|
}
|
|
19740
17646
|
|
|
19741
|
-
/**
|
|
19742
|
-
* Download Order PDF
|
|
19743
|
-
* @summary Download Order PDF
|
|
19744
|
-
* @param {number} id Order ID
|
|
19745
|
-
* @param {*} [options] Override http request option.
|
|
19746
|
-
* @throws {RequiredError}
|
|
19747
|
-
* @memberof OrdersApi
|
|
19748
|
-
*/
|
|
19749
|
-
public getGetOrderPdf(id: number, options?: RawAxiosRequestConfig) {
|
|
19750
|
-
return OrdersApiFp(this.configuration).getGetOrderPdf(id, options).then((request) => request(this.axios, this.basePath));
|
|
19751
|
-
}
|
|
19752
|
-
|
|
19753
17647
|
/**
|
|
19754
17648
|
* Get Orders (Beta)
|
|
19755
17649
|
* @summary Get Orders (Beta)
|
|
@@ -19768,19 +17662,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
19768
17662
|
return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
|
|
19769
17663
|
}
|
|
19770
17664
|
|
|
19771
|
-
/**
|
|
19772
|
-
* Add Order Note
|
|
19773
|
-
* @summary Add Order Note
|
|
19774
|
-
* @param {number} id Order ID
|
|
19775
|
-
* @param {PostAddOrderNoteRequest} [postAddOrderNoteRequest]
|
|
19776
|
-
* @param {*} [options] Override http request option.
|
|
19777
|
-
* @throws {RequiredError}
|
|
19778
|
-
* @memberof OrdersApi
|
|
19779
|
-
*/
|
|
19780
|
-
public postAddOrderNote(id: number, postAddOrderNoteRequest?: PostAddOrderNoteRequest, options?: RawAxiosRequestConfig) {
|
|
19781
|
-
return OrdersApiFp(this.configuration).postAddOrderNote(id, postAddOrderNoteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19782
|
-
}
|
|
19783
|
-
|
|
19784
17665
|
/**
|
|
19785
17666
|
* Create An Order (Admin)
|
|
19786
17667
|
* @summary Create An Order (Admin)
|
|
@@ -19794,34 +17675,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
19794
17675
|
return OrdersApiFp(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19795
17676
|
}
|
|
19796
17677
|
|
|
19797
|
-
/**
|
|
19798
|
-
* Create Shipping Consignment
|
|
19799
|
-
* @summary Create Shipping Consignment
|
|
19800
|
-
* @param {number} id Order ID
|
|
19801
|
-
* @param {number} shipmentId Shipment ID
|
|
19802
|
-
* @param {ShippingRequestDTO} [shippingRequestDTO] Shipping Request
|
|
19803
|
-
* @param {*} [options] Override http request option.
|
|
19804
|
-
* @throws {RequiredError}
|
|
19805
|
-
* @memberof OrdersApi
|
|
19806
|
-
*/
|
|
19807
|
-
public postCreateConsignment(id: number, shipmentId: number, shippingRequestDTO?: ShippingRequestDTO, options?: RawAxiosRequestConfig) {
|
|
19808
|
-
return OrdersApiFp(this.configuration).postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19809
|
-
}
|
|
19810
|
-
|
|
19811
|
-
/**
|
|
19812
|
-
* Create Shipment (Admin)
|
|
19813
|
-
* @summary Create Shipment (Admin)
|
|
19814
|
-
* @param {number} id Order ID
|
|
19815
|
-
* @param {number} batchId Batch ID
|
|
19816
|
-
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
19817
|
-
* @param {*} [options] Override http request option.
|
|
19818
|
-
* @throws {RequiredError}
|
|
19819
|
-
* @memberof OrdersApi
|
|
19820
|
-
*/
|
|
19821
|
-
public postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig) {
|
|
19822
|
-
return OrdersApiFp(this.configuration).postCreateShipment(id, batchId, shipmentRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19823
|
-
}
|
|
19824
|
-
|
|
19825
17678
|
/**
|
|
19826
17679
|
* Create An Order (Beta)
|
|
19827
17680
|
* @summary Create An Order (Beta)
|
|
@@ -19835,101 +17688,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
19835
17688
|
return OrdersApiFp(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19836
17689
|
}
|
|
19837
17690
|
|
|
19838
|
-
/**
|
|
19839
|
-
* Issue Credit (Admin)
|
|
19840
|
-
* @summary Issue Credit (Admin)
|
|
19841
|
-
* @param {number} id Order ID
|
|
19842
|
-
* @param {CreditNoteDTO} [creditNoteDTO] Credit Request
|
|
19843
|
-
* @param {*} [options] Override http request option.
|
|
19844
|
-
* @throws {RequiredError}
|
|
19845
|
-
* @memberof OrdersApi
|
|
19846
|
-
*/
|
|
19847
|
-
public postIssueCredit(id: number, creditNoteDTO?: CreditNoteDTO, options?: RawAxiosRequestConfig) {
|
|
19848
|
-
return OrdersApiFp(this.configuration).postIssueCredit(id, creditNoteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19849
|
-
}
|
|
19850
|
-
|
|
19851
|
-
/**
|
|
19852
|
-
* Print Shipment Label
|
|
19853
|
-
* @summary Print Shipment Label
|
|
19854
|
-
* @param {number} id Order ID
|
|
19855
|
-
* @param {number} shipmentId Shipment ID
|
|
19856
|
-
* @param {PostPrintShippingLabelPrinterEnum} printer Printer
|
|
19857
|
-
* @param {*} [options] Override http request option.
|
|
19858
|
-
* @throws {RequiredError}
|
|
19859
|
-
* @memberof OrdersApi
|
|
19860
|
-
*/
|
|
19861
|
-
public postPrintShippingLabel(id: number, shipmentId: number, printer: PostPrintShippingLabelPrinterEnum, options?: RawAxiosRequestConfig) {
|
|
19862
|
-
return OrdersApiFp(this.configuration).postPrintShippingLabel(id, shipmentId, printer, options).then((request) => request(this.axios, this.basePath));
|
|
19863
|
-
}
|
|
19864
|
-
|
|
19865
|
-
/**
|
|
19866
|
-
* Send Order Email
|
|
19867
|
-
* @summary Send Order Email
|
|
19868
|
-
* @param {number} id Order ID
|
|
19869
|
-
* @param {string} email Email Address
|
|
19870
|
-
* @param {*} [options] Override http request option.
|
|
19871
|
-
* @throws {RequiredError}
|
|
19872
|
-
* @memberof OrdersApi
|
|
19873
|
-
*/
|
|
19874
|
-
public postSendOrderEmail(id: number, email: string, options?: RawAxiosRequestConfig) {
|
|
19875
|
-
return OrdersApiFp(this.configuration).postSendOrderEmail(id, email, options).then((request) => request(this.axios, this.basePath));
|
|
19876
|
-
}
|
|
19877
|
-
|
|
19878
|
-
/**
|
|
19879
|
-
* Send Supplier Email
|
|
19880
|
-
* @summary Send Supplier Email
|
|
19881
|
-
* @param {number} id Order ID
|
|
19882
|
-
* @param {number} batchId Batch ID
|
|
19883
|
-
* @param {*} [options] Override http request option.
|
|
19884
|
-
* @throws {RequiredError}
|
|
19885
|
-
* @memberof OrdersApi
|
|
19886
|
-
*/
|
|
19887
|
-
public postSendSupplierEmail(id: number, batchId: number, options?: RawAxiosRequestConfig) {
|
|
19888
|
-
return OrdersApiFp(this.configuration).postSendSupplierEmail(id, batchId, options).then((request) => request(this.axios, this.basePath));
|
|
19889
|
-
}
|
|
19890
|
-
|
|
19891
|
-
/**
|
|
19892
|
-
* Split Order
|
|
19893
|
-
* @summary Split Order
|
|
19894
|
-
* @param {number} id Order ID
|
|
19895
|
-
* @param {PostSplitOrderRequest} [postSplitOrderRequest]
|
|
19896
|
-
* @param {*} [options] Override http request option.
|
|
19897
|
-
* @throws {RequiredError}
|
|
19898
|
-
* @memberof OrdersApi
|
|
19899
|
-
*/
|
|
19900
|
-
public postSplitOrder(id: number, postSplitOrderRequest?: PostSplitOrderRequest, options?: RawAxiosRequestConfig) {
|
|
19901
|
-
return OrdersApiFp(this.configuration).postSplitOrder(id, postSplitOrderRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19902
|
-
}
|
|
19903
|
-
|
|
19904
|
-
/**
|
|
19905
|
-
* Allocate Items To Supplier
|
|
19906
|
-
* @summary Allocate Items To Supplier
|
|
19907
|
-
* @param {number} id Order ID
|
|
19908
|
-
* @param {number} supplierId Supplier ID
|
|
19909
|
-
* @param {PutAllocateItemsRequest} [putAllocateItemsRequest]
|
|
19910
|
-
* @param {*} [options] Override http request option.
|
|
19911
|
-
* @throws {RequiredError}
|
|
19912
|
-
* @memberof OrdersApi
|
|
19913
|
-
*/
|
|
19914
|
-
public putAllocateItems(id: number, supplierId: number, putAllocateItemsRequest?: PutAllocateItemsRequest, options?: RawAxiosRequestConfig) {
|
|
19915
|
-
return OrdersApiFp(this.configuration).putAllocateItems(id, supplierId, putAllocateItemsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19916
|
-
}
|
|
19917
|
-
|
|
19918
|
-
/**
|
|
19919
|
-
* Update Shipment (Admin)
|
|
19920
|
-
* @summary Update Shipment (Admin)
|
|
19921
|
-
* @param {number} id Order ID
|
|
19922
|
-
* @param {number} batchId Batch ID
|
|
19923
|
-
* @param {number} shipmentId Shipment ID
|
|
19924
|
-
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
19925
|
-
* @param {*} [options] Override http request option.
|
|
19926
|
-
* @throws {RequiredError}
|
|
19927
|
-
* @memberof OrdersApi
|
|
19928
|
-
*/
|
|
19929
|
-
public putCreateShipment(id: number, batchId: number, shipmentId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig) {
|
|
19930
|
-
return OrdersApiFp(this.configuration).putCreateShipment(id, batchId, shipmentId, shipmentRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19931
|
-
}
|
|
19932
|
-
|
|
19933
17691
|
/**
|
|
19934
17692
|
* Update An Order (Admin)
|
|
19935
17693
|
* @summary Update An Order (Admin)
|
|
@@ -19979,15 +17737,6 @@ export const GetGetOrdersFilterEnum = {
|
|
|
19979
17737
|
BackOrders: 'BACK_ORDERS'
|
|
19980
17738
|
} as const;
|
|
19981
17739
|
export type GetGetOrdersFilterEnum = typeof GetGetOrdersFilterEnum[keyof typeof GetGetOrdersFilterEnum];
|
|
19982
|
-
/**
|
|
19983
|
-
* @export
|
|
19984
|
-
*/
|
|
19985
|
-
export const PostPrintShippingLabelPrinterEnum = {
|
|
19986
|
-
NUMBER_1: 1,
|
|
19987
|
-
NUMBER_2: 2,
|
|
19988
|
-
NUMBER_3: 3
|
|
19989
|
-
} as const;
|
|
19990
|
-
export type PostPrintShippingLabelPrinterEnum = typeof PostPrintShippingLabelPrinterEnum[keyof typeof PostPrintShippingLabelPrinterEnum];
|
|
19991
17740
|
|
|
19992
17741
|
|
|
19993
17742
|
/**
|