@indigina/dcm-api 0.0.26 → 0.0.28
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/README.md +2 -2
- package/api/shipments.service.d.ts +185 -11
- package/esm2022/api/shipments.service.mjs +398 -1
- package/esm2022/model/auditLog.mjs +2 -0
- package/esm2022/model/auditLogs.mjs +2 -0
- package/esm2022/model/containerType.mjs +16 -0
- package/esm2022/model/document.mjs +2 -0
- package/esm2022/model/documentType.mjs +26 -0
- package/esm2022/model/documents.mjs +2 -0
- package/esm2022/model/entityList.mjs +12 -0
- package/esm2022/model/entityState.mjs +18 -0
- package/esm2022/model/models.mjs +19 -3
- package/esm2022/model/note.mjs +12 -0
- package/esm2022/model/notes.mjs +2 -0
- package/esm2022/model/shipmentContainer.mjs +2 -0
- package/esm2022/model/shipmentContainers.mjs +2 -0
- package/esm2022/model/{shipmentsList.mjs → shipmentItems.mjs} +1 -1
- package/esm2022/model/shipmentProduct.mjs +12 -0
- package/esm2022/model/shipmentProducts.mjs +2 -0
- package/esm2022/model/shipmentRouting.mjs +12 -0
- package/esm2022/model/shipmentTimelineItem.mjs +12 -0
- package/esm2022/model/shipments.mjs +2 -0
- package/fesm2022/indigina-dcm-api.mjs +513 -1
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/model/auditLog.d.ts +25 -0
- package/model/auditLogs.d.ts +15 -0
- package/model/containerType.d.ts +16 -0
- package/model/document.d.ts +21 -0
- package/model/documentType.d.ts +26 -0
- package/model/documents.d.ts +15 -0
- package/model/entityList.d.ts +14 -0
- package/model/entityState.d.ts +18 -0
- package/model/models.d.ts +18 -2
- package/model/note.d.ts +17 -0
- package/model/notes.d.ts +15 -0
- package/model/shipmentContainer.d.ts +29 -0
- package/model/shipmentContainers.d.ts +15 -0
- package/model/{shipmentItemsList.d.ts → shipmentItems.d.ts} +1 -1
- package/model/shipmentProduct.d.ts +34 -0
- package/model/shipmentProducts.d.ts +15 -0
- package/model/shipmentRouting.d.ts +22 -0
- package/model/shipmentTimelineItem.d.ts +15 -0
- package/model/{shipmentsList.d.ts → shipments.d.ts} +1 -1
- package/package.json +1 -1
- package/esm2022/model/shipmentItemsList.mjs +0 -2
|
@@ -1197,6 +1197,181 @@ class ShipmentsService {
|
|
|
1197
1197
|
}
|
|
1198
1198
|
return httpParams;
|
|
1199
1199
|
}
|
|
1200
|
+
getSShipmentRouting(id, observe = 'body', reportProgress = false, options) {
|
|
1201
|
+
if (id === null || id === undefined) {
|
|
1202
|
+
throw new Error('Required parameter id was null or undefined when calling getSShipmentRouting.');
|
|
1203
|
+
}
|
|
1204
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1205
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1206
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1207
|
+
// to determine the Accept header
|
|
1208
|
+
const httpHeaderAccepts = [
|
|
1209
|
+
'application/json'
|
|
1210
|
+
];
|
|
1211
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1212
|
+
}
|
|
1213
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1214
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1215
|
+
}
|
|
1216
|
+
let localVarHttpContext = options && options.context;
|
|
1217
|
+
if (localVarHttpContext === undefined) {
|
|
1218
|
+
localVarHttpContext = new HttpContext();
|
|
1219
|
+
}
|
|
1220
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1221
|
+
if (localVarTransferCache === undefined) {
|
|
1222
|
+
localVarTransferCache = true;
|
|
1223
|
+
}
|
|
1224
|
+
let responseType_ = 'json';
|
|
1225
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1226
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1227
|
+
responseType_ = 'text';
|
|
1228
|
+
}
|
|
1229
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1230
|
+
responseType_ = 'json';
|
|
1231
|
+
}
|
|
1232
|
+
else {
|
|
1233
|
+
responseType_ = 'blob';
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
let localVarPath = `/shipments/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/routing`;
|
|
1237
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1238
|
+
context: localVarHttpContext,
|
|
1239
|
+
responseType: responseType_,
|
|
1240
|
+
withCredentials: this.configuration.withCredentials,
|
|
1241
|
+
headers: localVarHeaders,
|
|
1242
|
+
observe: observe,
|
|
1243
|
+
transferCache: localVarTransferCache,
|
|
1244
|
+
reportProgress: reportProgress
|
|
1245
|
+
});
|
|
1246
|
+
}
|
|
1247
|
+
getShipmentContainers(id, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
1248
|
+
if (id === null || id === undefined) {
|
|
1249
|
+
throw new Error('Required parameter id was null or undefined when calling getShipmentContainers.');
|
|
1250
|
+
}
|
|
1251
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1252
|
+
if ($skip !== undefined && $skip !== null) {
|
|
1253
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
1254
|
+
}
|
|
1255
|
+
if ($top !== undefined && $top !== null) {
|
|
1256
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
1257
|
+
}
|
|
1258
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
1259
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
1260
|
+
}
|
|
1261
|
+
if ($filter !== undefined && $filter !== null) {
|
|
1262
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
1263
|
+
}
|
|
1264
|
+
if ($search !== undefined && $search !== null) {
|
|
1265
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
1266
|
+
}
|
|
1267
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1268
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1269
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1270
|
+
// to determine the Accept header
|
|
1271
|
+
const httpHeaderAccepts = [
|
|
1272
|
+
'application/json'
|
|
1273
|
+
];
|
|
1274
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1275
|
+
}
|
|
1276
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1277
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1278
|
+
}
|
|
1279
|
+
let localVarHttpContext = options && options.context;
|
|
1280
|
+
if (localVarHttpContext === undefined) {
|
|
1281
|
+
localVarHttpContext = new HttpContext();
|
|
1282
|
+
}
|
|
1283
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1284
|
+
if (localVarTransferCache === undefined) {
|
|
1285
|
+
localVarTransferCache = true;
|
|
1286
|
+
}
|
|
1287
|
+
let responseType_ = 'json';
|
|
1288
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1289
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1290
|
+
responseType_ = 'text';
|
|
1291
|
+
}
|
|
1292
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1293
|
+
responseType_ = 'json';
|
|
1294
|
+
}
|
|
1295
|
+
else {
|
|
1296
|
+
responseType_ = 'blob';
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
let localVarPath = `/shipments/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/containers`;
|
|
1300
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1301
|
+
context: localVarHttpContext,
|
|
1302
|
+
params: localVarQueryParameters,
|
|
1303
|
+
responseType: responseType_,
|
|
1304
|
+
withCredentials: this.configuration.withCredentials,
|
|
1305
|
+
headers: localVarHeaders,
|
|
1306
|
+
observe: observe,
|
|
1307
|
+
transferCache: localVarTransferCache,
|
|
1308
|
+
reportProgress: reportProgress
|
|
1309
|
+
});
|
|
1310
|
+
}
|
|
1311
|
+
getShipmentDocuments(id, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
1312
|
+
if (id === null || id === undefined) {
|
|
1313
|
+
throw new Error('Required parameter id was null or undefined when calling getShipmentDocuments.');
|
|
1314
|
+
}
|
|
1315
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1316
|
+
if ($skip !== undefined && $skip !== null) {
|
|
1317
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
1318
|
+
}
|
|
1319
|
+
if ($top !== undefined && $top !== null) {
|
|
1320
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
1321
|
+
}
|
|
1322
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
1323
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
1324
|
+
}
|
|
1325
|
+
if ($filter !== undefined && $filter !== null) {
|
|
1326
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
1327
|
+
}
|
|
1328
|
+
if ($search !== undefined && $search !== null) {
|
|
1329
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
1330
|
+
}
|
|
1331
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1332
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1333
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1334
|
+
// to determine the Accept header
|
|
1335
|
+
const httpHeaderAccepts = [
|
|
1336
|
+
'application/json'
|
|
1337
|
+
];
|
|
1338
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1339
|
+
}
|
|
1340
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1341
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1342
|
+
}
|
|
1343
|
+
let localVarHttpContext = options && options.context;
|
|
1344
|
+
if (localVarHttpContext === undefined) {
|
|
1345
|
+
localVarHttpContext = new HttpContext();
|
|
1346
|
+
}
|
|
1347
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1348
|
+
if (localVarTransferCache === undefined) {
|
|
1349
|
+
localVarTransferCache = true;
|
|
1350
|
+
}
|
|
1351
|
+
let responseType_ = 'json';
|
|
1352
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1353
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1354
|
+
responseType_ = 'text';
|
|
1355
|
+
}
|
|
1356
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1357
|
+
responseType_ = 'json';
|
|
1358
|
+
}
|
|
1359
|
+
else {
|
|
1360
|
+
responseType_ = 'blob';
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
let localVarPath = `/shipments/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/documents`;
|
|
1364
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1365
|
+
context: localVarHttpContext,
|
|
1366
|
+
params: localVarQueryParameters,
|
|
1367
|
+
responseType: responseType_,
|
|
1368
|
+
withCredentials: this.configuration.withCredentials,
|
|
1369
|
+
headers: localVarHeaders,
|
|
1370
|
+
observe: observe,
|
|
1371
|
+
transferCache: localVarTransferCache,
|
|
1372
|
+
reportProgress: reportProgress
|
|
1373
|
+
});
|
|
1374
|
+
}
|
|
1200
1375
|
getShipmentItems(id, observe = 'body', reportProgress = false, options) {
|
|
1201
1376
|
if (id === null || id === undefined) {
|
|
1202
1377
|
throw new Error('Required parameter id was null or undefined when calling getShipmentItems.');
|
|
@@ -1244,6 +1419,181 @@ class ShipmentsService {
|
|
|
1244
1419
|
reportProgress: reportProgress
|
|
1245
1420
|
});
|
|
1246
1421
|
}
|
|
1422
|
+
getShipmentLogs(id, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
1423
|
+
if (id === null || id === undefined) {
|
|
1424
|
+
throw new Error('Required parameter id was null or undefined when calling getShipmentLogs.');
|
|
1425
|
+
}
|
|
1426
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1427
|
+
if ($skip !== undefined && $skip !== null) {
|
|
1428
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
1429
|
+
}
|
|
1430
|
+
if ($top !== undefined && $top !== null) {
|
|
1431
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
1432
|
+
}
|
|
1433
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
1434
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
1435
|
+
}
|
|
1436
|
+
if ($filter !== undefined && $filter !== null) {
|
|
1437
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
1438
|
+
}
|
|
1439
|
+
if ($search !== undefined && $search !== null) {
|
|
1440
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
1441
|
+
}
|
|
1442
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1443
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1444
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1445
|
+
// to determine the Accept header
|
|
1446
|
+
const httpHeaderAccepts = [
|
|
1447
|
+
'application/json'
|
|
1448
|
+
];
|
|
1449
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1450
|
+
}
|
|
1451
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1452
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1453
|
+
}
|
|
1454
|
+
let localVarHttpContext = options && options.context;
|
|
1455
|
+
if (localVarHttpContext === undefined) {
|
|
1456
|
+
localVarHttpContext = new HttpContext();
|
|
1457
|
+
}
|
|
1458
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1459
|
+
if (localVarTransferCache === undefined) {
|
|
1460
|
+
localVarTransferCache = true;
|
|
1461
|
+
}
|
|
1462
|
+
let responseType_ = 'json';
|
|
1463
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1464
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1465
|
+
responseType_ = 'text';
|
|
1466
|
+
}
|
|
1467
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1468
|
+
responseType_ = 'json';
|
|
1469
|
+
}
|
|
1470
|
+
else {
|
|
1471
|
+
responseType_ = 'blob';
|
|
1472
|
+
}
|
|
1473
|
+
}
|
|
1474
|
+
let localVarPath = `/shipments/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/auditLogs`;
|
|
1475
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1476
|
+
context: localVarHttpContext,
|
|
1477
|
+
params: localVarQueryParameters,
|
|
1478
|
+
responseType: responseType_,
|
|
1479
|
+
withCredentials: this.configuration.withCredentials,
|
|
1480
|
+
headers: localVarHeaders,
|
|
1481
|
+
observe: observe,
|
|
1482
|
+
transferCache: localVarTransferCache,
|
|
1483
|
+
reportProgress: reportProgress
|
|
1484
|
+
});
|
|
1485
|
+
}
|
|
1486
|
+
getShipmentNotes(id, observe = 'body', reportProgress = false, options) {
|
|
1487
|
+
if (id === null || id === undefined) {
|
|
1488
|
+
throw new Error('Required parameter id was null or undefined when calling getShipmentNotes.');
|
|
1489
|
+
}
|
|
1490
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1491
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1492
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1493
|
+
// to determine the Accept header
|
|
1494
|
+
const httpHeaderAccepts = [
|
|
1495
|
+
'application/json'
|
|
1496
|
+
];
|
|
1497
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1498
|
+
}
|
|
1499
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1500
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1501
|
+
}
|
|
1502
|
+
let localVarHttpContext = options && options.context;
|
|
1503
|
+
if (localVarHttpContext === undefined) {
|
|
1504
|
+
localVarHttpContext = new HttpContext();
|
|
1505
|
+
}
|
|
1506
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1507
|
+
if (localVarTransferCache === undefined) {
|
|
1508
|
+
localVarTransferCache = true;
|
|
1509
|
+
}
|
|
1510
|
+
let responseType_ = 'json';
|
|
1511
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1512
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1513
|
+
responseType_ = 'text';
|
|
1514
|
+
}
|
|
1515
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1516
|
+
responseType_ = 'json';
|
|
1517
|
+
}
|
|
1518
|
+
else {
|
|
1519
|
+
responseType_ = 'blob';
|
|
1520
|
+
}
|
|
1521
|
+
}
|
|
1522
|
+
let localVarPath = `/shipments/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/notes`;
|
|
1523
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1524
|
+
context: localVarHttpContext,
|
|
1525
|
+
responseType: responseType_,
|
|
1526
|
+
withCredentials: this.configuration.withCredentials,
|
|
1527
|
+
headers: localVarHeaders,
|
|
1528
|
+
observe: observe,
|
|
1529
|
+
transferCache: localVarTransferCache,
|
|
1530
|
+
reportProgress: reportProgress
|
|
1531
|
+
});
|
|
1532
|
+
}
|
|
1533
|
+
getShipmentProducts(id, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
1534
|
+
if (id === null || id === undefined) {
|
|
1535
|
+
throw new Error('Required parameter id was null or undefined when calling getShipmentProducts.');
|
|
1536
|
+
}
|
|
1537
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1538
|
+
if ($skip !== undefined && $skip !== null) {
|
|
1539
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
1540
|
+
}
|
|
1541
|
+
if ($top !== undefined && $top !== null) {
|
|
1542
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
1543
|
+
}
|
|
1544
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
1545
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
1546
|
+
}
|
|
1547
|
+
if ($filter !== undefined && $filter !== null) {
|
|
1548
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
1549
|
+
}
|
|
1550
|
+
if ($search !== undefined && $search !== null) {
|
|
1551
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
1552
|
+
}
|
|
1553
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1554
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1555
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1556
|
+
// to determine the Accept header
|
|
1557
|
+
const httpHeaderAccepts = [
|
|
1558
|
+
'application/json'
|
|
1559
|
+
];
|
|
1560
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1561
|
+
}
|
|
1562
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1563
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1564
|
+
}
|
|
1565
|
+
let localVarHttpContext = options && options.context;
|
|
1566
|
+
if (localVarHttpContext === undefined) {
|
|
1567
|
+
localVarHttpContext = new HttpContext();
|
|
1568
|
+
}
|
|
1569
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1570
|
+
if (localVarTransferCache === undefined) {
|
|
1571
|
+
localVarTransferCache = true;
|
|
1572
|
+
}
|
|
1573
|
+
let responseType_ = 'json';
|
|
1574
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1575
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1576
|
+
responseType_ = 'text';
|
|
1577
|
+
}
|
|
1578
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1579
|
+
responseType_ = 'json';
|
|
1580
|
+
}
|
|
1581
|
+
else {
|
|
1582
|
+
responseType_ = 'blob';
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
let localVarPath = `/shipments/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/products`;
|
|
1586
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1587
|
+
context: localVarHttpContext,
|
|
1588
|
+
params: localVarQueryParameters,
|
|
1589
|
+
responseType: responseType_,
|
|
1590
|
+
withCredentials: this.configuration.withCredentials,
|
|
1591
|
+
headers: localVarHeaders,
|
|
1592
|
+
observe: observe,
|
|
1593
|
+
transferCache: localVarTransferCache,
|
|
1594
|
+
reportProgress: reportProgress
|
|
1595
|
+
});
|
|
1596
|
+
}
|
|
1247
1597
|
getShipmentSummary(id, observe = 'body', reportProgress = false, options) {
|
|
1248
1598
|
if (id === null || id === undefined) {
|
|
1249
1599
|
throw new Error('Required parameter id was null or undefined when calling getShipmentSummary.');
|
|
@@ -1291,6 +1641,53 @@ class ShipmentsService {
|
|
|
1291
1641
|
reportProgress: reportProgress
|
|
1292
1642
|
});
|
|
1293
1643
|
}
|
|
1644
|
+
getShipmentTimeline(id, observe = 'body', reportProgress = false, options) {
|
|
1645
|
+
if (id === null || id === undefined) {
|
|
1646
|
+
throw new Error('Required parameter id was null or undefined when calling getShipmentTimeline.');
|
|
1647
|
+
}
|
|
1648
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1649
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1650
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1651
|
+
// to determine the Accept header
|
|
1652
|
+
const httpHeaderAccepts = [
|
|
1653
|
+
'application/json'
|
|
1654
|
+
];
|
|
1655
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1656
|
+
}
|
|
1657
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1658
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1659
|
+
}
|
|
1660
|
+
let localVarHttpContext = options && options.context;
|
|
1661
|
+
if (localVarHttpContext === undefined) {
|
|
1662
|
+
localVarHttpContext = new HttpContext();
|
|
1663
|
+
}
|
|
1664
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1665
|
+
if (localVarTransferCache === undefined) {
|
|
1666
|
+
localVarTransferCache = true;
|
|
1667
|
+
}
|
|
1668
|
+
let responseType_ = 'json';
|
|
1669
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1670
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1671
|
+
responseType_ = 'text';
|
|
1672
|
+
}
|
|
1673
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1674
|
+
responseType_ = 'json';
|
|
1675
|
+
}
|
|
1676
|
+
else {
|
|
1677
|
+
responseType_ = 'blob';
|
|
1678
|
+
}
|
|
1679
|
+
}
|
|
1680
|
+
let localVarPath = `/shipments/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/timeline`;
|
|
1681
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1682
|
+
context: localVarHttpContext,
|
|
1683
|
+
responseType: responseType_,
|
|
1684
|
+
withCredentials: this.configuration.withCredentials,
|
|
1685
|
+
headers: localVarHeaders,
|
|
1686
|
+
observe: observe,
|
|
1687
|
+
transferCache: localVarTransferCache,
|
|
1688
|
+
reportProgress: reportProgress
|
|
1689
|
+
});
|
|
1690
|
+
}
|
|
1294
1691
|
getShipments($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
1295
1692
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1296
1693
|
if ($skip !== undefined && $skip !== null) {
|
|
@@ -1995,6 +2392,44 @@ const APIS = [BookingsService, ContainersService, HealthService, PermissionsServ
|
|
|
1995
2392
|
* Do not edit the class manually.
|
|
1996
2393
|
*/
|
|
1997
2394
|
|
|
2395
|
+
/**
|
|
2396
|
+
* Dcm.API.Client
|
|
2397
|
+
* DCM API Client for Angular applications
|
|
2398
|
+
*
|
|
2399
|
+
*
|
|
2400
|
+
*
|
|
2401
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2402
|
+
* https://openapi-generator.tech
|
|
2403
|
+
* Do not edit the class manually.
|
|
2404
|
+
*/
|
|
2405
|
+
|
|
2406
|
+
/**
|
|
2407
|
+
* Dcm.API.Client
|
|
2408
|
+
* DCM API Client for Angular applications
|
|
2409
|
+
*
|
|
2410
|
+
*
|
|
2411
|
+
*
|
|
2412
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2413
|
+
* https://openapi-generator.tech
|
|
2414
|
+
* Do not edit the class manually.
|
|
2415
|
+
*/
|
|
2416
|
+
|
|
2417
|
+
/**
|
|
2418
|
+
* Dcm.API.Client
|
|
2419
|
+
* DCM API Client for Angular applications
|
|
2420
|
+
*
|
|
2421
|
+
*
|
|
2422
|
+
*
|
|
2423
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2424
|
+
* https://openapi-generator.tech
|
|
2425
|
+
* Do not edit the class manually.
|
|
2426
|
+
*/
|
|
2427
|
+
const ContainerType = {
|
|
2428
|
+
CfsCfs: 'CFS/CFS',
|
|
2429
|
+
CfsCy: 'CFS/CY',
|
|
2430
|
+
CyCy: 'CY/CY'
|
|
2431
|
+
};
|
|
2432
|
+
|
|
1998
2433
|
/**
|
|
1999
2434
|
* Dcm.API.Client
|
|
2000
2435
|
* DCM API Client for Angular applications
|
|
@@ -2060,6 +2495,21 @@ const APIS = [BookingsService, ContainersService, HealthService, PermissionsServ
|
|
|
2060
2495
|
* https://openapi-generator.tech
|
|
2061
2496
|
* Do not edit the class manually.
|
|
2062
2497
|
*/
|
|
2498
|
+
const DocumentType = {
|
|
2499
|
+
FactoryInvoice: 'FactoryInvoice',
|
|
2500
|
+
FactoryPackingList: 'FactoryPackingList',
|
|
2501
|
+
AirwaybillHawb: 'AirwaybillHawb',
|
|
2502
|
+
HousebillHbl: 'HousebillHBL',
|
|
2503
|
+
CustomClearance: 'CustomClearance',
|
|
2504
|
+
BookingForm: 'BookingForm',
|
|
2505
|
+
Miscellaneous: 'Miscellaneous',
|
|
2506
|
+
CommercialInvoice: 'CommercialInvoice',
|
|
2507
|
+
SparePartCommercialInvoice: 'SparePartCommercialInvoice',
|
|
2508
|
+
SparePartPackingList: 'SparePartPackingList',
|
|
2509
|
+
FumigationCertificate: 'FumigationCertificate',
|
|
2510
|
+
Msds: 'MSDS',
|
|
2511
|
+
ConsolidatedInvoice: 'ConsolidatedInvoice'
|
|
2512
|
+
};
|
|
2063
2513
|
|
|
2064
2514
|
/**
|
|
2065
2515
|
* Dcm.API.Client
|
|
@@ -2072,6 +2522,35 @@ const APIS = [BookingsService, ContainersService, HealthService, PermissionsServ
|
|
|
2072
2522
|
* Do not edit the class manually.
|
|
2073
2523
|
*/
|
|
2074
2524
|
|
|
2525
|
+
/**
|
|
2526
|
+
* Dcm.API.Client
|
|
2527
|
+
* DCM API Client for Angular applications
|
|
2528
|
+
*
|
|
2529
|
+
*
|
|
2530
|
+
*
|
|
2531
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2532
|
+
* https://openapi-generator.tech
|
|
2533
|
+
* Do not edit the class manually.
|
|
2534
|
+
*/
|
|
2535
|
+
|
|
2536
|
+
/**
|
|
2537
|
+
* Dcm.API.Client
|
|
2538
|
+
* DCM API Client for Angular applications
|
|
2539
|
+
*
|
|
2540
|
+
*
|
|
2541
|
+
*
|
|
2542
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2543
|
+
* https://openapi-generator.tech
|
|
2544
|
+
* Do not edit the class manually.
|
|
2545
|
+
*/
|
|
2546
|
+
const EntityState = {
|
|
2547
|
+
Detached: 'Detached',
|
|
2548
|
+
Unchanged: 'Unchanged',
|
|
2549
|
+
Added: 'Added',
|
|
2550
|
+
Deleted: 'Deleted',
|
|
2551
|
+
Modified: 'Modified'
|
|
2552
|
+
};
|
|
2553
|
+
|
|
2075
2554
|
/**
|
|
2076
2555
|
* Dcm.API.Client
|
|
2077
2556
|
* DCM API Client for Angular applications
|
|
@@ -2146,6 +2625,28 @@ const ShipmentApprovalType = {
|
|
|
2146
2625
|
Manual: 'Manual'
|
|
2147
2626
|
};
|
|
2148
2627
|
|
|
2628
|
+
/**
|
|
2629
|
+
* Dcm.API.Client
|
|
2630
|
+
* DCM API Client for Angular applications
|
|
2631
|
+
*
|
|
2632
|
+
*
|
|
2633
|
+
*
|
|
2634
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2635
|
+
* https://openapi-generator.tech
|
|
2636
|
+
* Do not edit the class manually.
|
|
2637
|
+
*/
|
|
2638
|
+
|
|
2639
|
+
/**
|
|
2640
|
+
* Dcm.API.Client
|
|
2641
|
+
* DCM API Client for Angular applications
|
|
2642
|
+
*
|
|
2643
|
+
*
|
|
2644
|
+
*
|
|
2645
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2646
|
+
* https://openapi-generator.tech
|
|
2647
|
+
* Do not edit the class manually.
|
|
2648
|
+
*/
|
|
2649
|
+
|
|
2149
2650
|
/**
|
|
2150
2651
|
* Dcm.API.Client
|
|
2151
2652
|
* DCM API Client for Angular applications
|
|
@@ -2206,6 +2707,17 @@ const ShipmentTerm = {
|
|
|
2206
2707
|
Dap: 'DAP'
|
|
2207
2708
|
};
|
|
2208
2709
|
|
|
2710
|
+
/**
|
|
2711
|
+
* Dcm.API.Client
|
|
2712
|
+
* DCM API Client for Angular applications
|
|
2713
|
+
*
|
|
2714
|
+
*
|
|
2715
|
+
*
|
|
2716
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2717
|
+
* https://openapi-generator.tech
|
|
2718
|
+
* Do not edit the class manually.
|
|
2719
|
+
*/
|
|
2720
|
+
|
|
2209
2721
|
/**
|
|
2210
2722
|
* Dcm.API.Client
|
|
2211
2723
|
* DCM API Client for Angular applications
|
|
@@ -2361,5 +2873,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
2361
2873
|
* Generated bundle index. Do not edit.
|
|
2362
2874
|
*/
|
|
2363
2875
|
|
|
2364
|
-
export { APIS, ApiModule, BASE_PATH, BookingsService, COLLECTION_FORMATS, Configuration, ContainersService, HealthService, PermissionsService, PowerBiTenant, ReportsService, ShipmentApprovalType, ShipmentState, ShipmentTerm, ShipmentType, ShipmentsService, UserService };
|
|
2876
|
+
export { APIS, ApiModule, BASE_PATH, BookingsService, COLLECTION_FORMATS, Configuration, ContainerType, ContainersService, DocumentType, EntityState, HealthService, PermissionsService, PowerBiTenant, ReportsService, ShipmentApprovalType, ShipmentState, ShipmentTerm, ShipmentType, ShipmentsService, UserService };
|
|
2365
2877
|
//# sourceMappingURL=indigina-dcm-api.mjs.map
|