@indigina/dcm-api 0.0.27 → 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 +155 -3
- package/esm2022/api/shipments.service.mjs +352 -2
- 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/entityState.mjs +18 -0
- package/esm2022/model/models.mjs +14 -1
- 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/shipmentProduct.mjs +1 -1
- package/esm2022/model/shipmentRouting.mjs +12 -0
- package/esm2022/model/shipmentTimelineItem.mjs +12 -0
- package/fesm2022/indigina-dcm-api.mjs +445 -2
- 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/entityState.d.ts +18 -0
- package/model/models.d.ts +13 -0
- 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/shipmentProduct.d.ts +4 -4
- package/model/shipmentRouting.d.ts +22 -0
- package/model/shipmentTimelineItem.d.ts +15 -0
- package/package.json +1 -1
|
@@ -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,10 +1419,137 @@ class ShipmentsService {
|
|
|
1244
1419
|
reportProgress: reportProgress
|
|
1245
1420
|
});
|
|
1246
1421
|
}
|
|
1247
|
-
|
|
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) {
|
|
1248
1534
|
if (id === null || id === undefined) {
|
|
1249
1535
|
throw new Error('Required parameter id was null or undefined when calling getShipmentProducts.');
|
|
1250
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
|
+
}
|
|
1251
1553
|
let localVarHeaders = this.defaultHeaders;
|
|
1252
1554
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1253
1555
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
@@ -1283,6 +1585,7 @@ class ShipmentsService {
|
|
|
1283
1585
|
let localVarPath = `/shipments/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/products`;
|
|
1284
1586
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1285
1587
|
context: localVarHttpContext,
|
|
1588
|
+
params: localVarQueryParameters,
|
|
1286
1589
|
responseType: responseType_,
|
|
1287
1590
|
withCredentials: this.configuration.withCredentials,
|
|
1288
1591
|
headers: localVarHeaders,
|
|
@@ -1338,6 +1641,53 @@ class ShipmentsService {
|
|
|
1338
1641
|
reportProgress: reportProgress
|
|
1339
1642
|
});
|
|
1340
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
|
+
}
|
|
1341
1691
|
getShipments($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
1342
1692
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1343
1693
|
if ($skip !== undefined && $skip !== null) {
|
|
@@ -2031,6 +2381,55 @@ const APIS = [BookingsService, ContainersService, HealthService, PermissionsServ
|
|
|
2031
2381
|
* Do not edit the class manually.
|
|
2032
2382
|
*/
|
|
2033
2383
|
|
|
2384
|
+
/**
|
|
2385
|
+
* Dcm.API.Client
|
|
2386
|
+
* DCM API Client for Angular applications
|
|
2387
|
+
*
|
|
2388
|
+
*
|
|
2389
|
+
*
|
|
2390
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2391
|
+
* https://openapi-generator.tech
|
|
2392
|
+
* Do not edit the class manually.
|
|
2393
|
+
*/
|
|
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
|
+
|
|
2034
2433
|
/**
|
|
2035
2434
|
* Dcm.API.Client
|
|
2036
2435
|
* DCM API Client for Angular applications
|
|
@@ -2096,6 +2495,21 @@ const APIS = [BookingsService, ContainersService, HealthService, PermissionsServ
|
|
|
2096
2495
|
* https://openapi-generator.tech
|
|
2097
2496
|
* Do not edit the class manually.
|
|
2098
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
|
+
};
|
|
2099
2513
|
|
|
2100
2514
|
/**
|
|
2101
2515
|
* Dcm.API.Client
|
|
@@ -2129,6 +2543,13 @@ const APIS = [BookingsService, ContainersService, HealthService, PermissionsServ
|
|
|
2129
2543
|
* https://openapi-generator.tech
|
|
2130
2544
|
* Do not edit the class manually.
|
|
2131
2545
|
*/
|
|
2546
|
+
const EntityState = {
|
|
2547
|
+
Detached: 'Detached',
|
|
2548
|
+
Unchanged: 'Unchanged',
|
|
2549
|
+
Added: 'Added',
|
|
2550
|
+
Deleted: 'Deleted',
|
|
2551
|
+
Modified: 'Modified'
|
|
2552
|
+
};
|
|
2132
2553
|
|
|
2133
2554
|
/**
|
|
2134
2555
|
* Dcm.API.Client
|
|
@@ -2226,6 +2647,17 @@ const ShipmentApprovalType = {
|
|
|
2226
2647
|
* Do not edit the class manually.
|
|
2227
2648
|
*/
|
|
2228
2649
|
|
|
2650
|
+
/**
|
|
2651
|
+
* Dcm.API.Client
|
|
2652
|
+
* DCM API Client for Angular applications
|
|
2653
|
+
*
|
|
2654
|
+
*
|
|
2655
|
+
*
|
|
2656
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2657
|
+
* https://openapi-generator.tech
|
|
2658
|
+
* Do not edit the class manually.
|
|
2659
|
+
*/
|
|
2660
|
+
|
|
2229
2661
|
/**
|
|
2230
2662
|
* Dcm.API.Client
|
|
2231
2663
|
* DCM API Client for Angular applications
|
|
@@ -2275,6 +2707,17 @@ const ShipmentTerm = {
|
|
|
2275
2707
|
Dap: 'DAP'
|
|
2276
2708
|
};
|
|
2277
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
|
+
|
|
2278
2721
|
/**
|
|
2279
2722
|
* Dcm.API.Client
|
|
2280
2723
|
* DCM API Client for Angular applications
|
|
@@ -2430,5 +2873,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
2430
2873
|
* Generated bundle index. Do not edit.
|
|
2431
2874
|
*/
|
|
2432
2875
|
|
|
2433
|
-
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 };
|
|
2434
2877
|
//# sourceMappingURL=indigina-dcm-api.mjs.map
|