@indigina/dcm-api 0.0.26 → 0.0.27
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 +33 -11
- package/esm2022/api/shipments.service.mjs +48 -1
- package/esm2022/model/entityList.mjs +12 -0
- package/esm2022/model/models.mjs +6 -3
- 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/shipments.mjs +2 -0
- package/fesm2022/indigina-dcm-api.mjs +69 -0
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/model/entityList.d.ts +14 -0
- package/model/models.d.ts +5 -2
- 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/{shipmentsList.d.ts → shipments.d.ts} +1 -1
- package/package.json +1 -1
- package/esm2022/model/shipmentItemsList.mjs +0 -2
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hpcG1lbnRQcm9kdWN0cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL21vZGVsL3NoaXBtZW50UHJvZHVjdHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRGNtLkFQSS5DbGllbnRcbiAqIERDTSBBUEkgQ2xpZW50IGZvciBBbmd1bGFyIGFwcGxpY2F0aW9uc1xuICpcbiAqIFxuICpcbiAqIE5PVEU6IFRoaXMgY2xhc3MgaXMgYXV0byBnZW5lcmF0ZWQgYnkgT3BlbkFQSSBHZW5lcmF0b3IgKGh0dHBzOi8vb3BlbmFwaS1nZ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NoaXBtZW50Pjtcbn1cblxuIl19
|
|
@@ -1244,6 +1244,53 @@ class ShipmentsService {
|
|
|
1244
1244
|
reportProgress: reportProgress
|
|
1245
1245
|
});
|
|
1246
1246
|
}
|
|
1247
|
+
getShipmentProducts(id, observe = 'body', reportProgress = false, options) {
|
|
1248
|
+
if (id === null || id === undefined) {
|
|
1249
|
+
throw new Error('Required parameter id was null or undefined when calling getShipmentProducts.');
|
|
1250
|
+
}
|
|
1251
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1252
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1253
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1254
|
+
// to determine the Accept header
|
|
1255
|
+
const httpHeaderAccepts = [
|
|
1256
|
+
'application/json'
|
|
1257
|
+
];
|
|
1258
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1259
|
+
}
|
|
1260
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1261
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1262
|
+
}
|
|
1263
|
+
let localVarHttpContext = options && options.context;
|
|
1264
|
+
if (localVarHttpContext === undefined) {
|
|
1265
|
+
localVarHttpContext = new HttpContext();
|
|
1266
|
+
}
|
|
1267
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1268
|
+
if (localVarTransferCache === undefined) {
|
|
1269
|
+
localVarTransferCache = true;
|
|
1270
|
+
}
|
|
1271
|
+
let responseType_ = 'json';
|
|
1272
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1273
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1274
|
+
responseType_ = 'text';
|
|
1275
|
+
}
|
|
1276
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1277
|
+
responseType_ = 'json';
|
|
1278
|
+
}
|
|
1279
|
+
else {
|
|
1280
|
+
responseType_ = 'blob';
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
let localVarPath = `/shipments/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/products`;
|
|
1284
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1285
|
+
context: localVarHttpContext,
|
|
1286
|
+
responseType: responseType_,
|
|
1287
|
+
withCredentials: this.configuration.withCredentials,
|
|
1288
|
+
headers: localVarHeaders,
|
|
1289
|
+
observe: observe,
|
|
1290
|
+
transferCache: localVarTransferCache,
|
|
1291
|
+
reportProgress: reportProgress
|
|
1292
|
+
});
|
|
1293
|
+
}
|
|
1247
1294
|
getShipmentSummary(id, observe = 'body', reportProgress = false, options) {
|
|
1248
1295
|
if (id === null || id === undefined) {
|
|
1249
1296
|
throw new Error('Required parameter id was null or undefined when calling getShipmentSummary.');
|
|
@@ -2105,6 +2152,17 @@ const APIS = [BookingsService, ContainersService, HealthService, PermissionsServ
|
|
|
2105
2152
|
* Do not edit the class manually.
|
|
2106
2153
|
*/
|
|
2107
2154
|
|
|
2155
|
+
/**
|
|
2156
|
+
* Dcm.API.Client
|
|
2157
|
+
* DCM API Client for Angular applications
|
|
2158
|
+
*
|
|
2159
|
+
*
|
|
2160
|
+
*
|
|
2161
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2162
|
+
* https://openapi-generator.tech
|
|
2163
|
+
* Do not edit the class manually.
|
|
2164
|
+
*/
|
|
2165
|
+
|
|
2108
2166
|
/**
|
|
2109
2167
|
* Dcm.API.Client
|
|
2110
2168
|
* DCM API Client for Angular applications
|
|
@@ -2157,6 +2215,17 @@ const ShipmentApprovalType = {
|
|
|
2157
2215
|
* Do not edit the class manually.
|
|
2158
2216
|
*/
|
|
2159
2217
|
|
|
2218
|
+
/**
|
|
2219
|
+
* Dcm.API.Client
|
|
2220
|
+
* DCM API Client for Angular applications
|
|
2221
|
+
*
|
|
2222
|
+
*
|
|
2223
|
+
*
|
|
2224
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2225
|
+
* https://openapi-generator.tech
|
|
2226
|
+
* Do not edit the class manually.
|
|
2227
|
+
*/
|
|
2228
|
+
|
|
2160
2229
|
/**
|
|
2161
2230
|
* Dcm.API.Client
|
|
2162
2231
|
* DCM API Client for Angular applications
|