@indigina/dcm-api 0.0.24 → 0.0.26

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.
@@ -1244,6 +1244,53 @@ class ShipmentsService {
1244
1244
  reportProgress: reportProgress
1245
1245
  });
1246
1246
  }
1247
+ getShipmentSummary(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 getShipmentSummary.');
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 })}/summary`;
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
  getShipments($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
1248
1295
  let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1249
1296
  if ($skip !== undefined && $skip !== null) {
@@ -2047,6 +2094,17 @@ const APIS = [BookingsService, ContainersService, HealthService, PermissionsServ
2047
2094
  * Do not edit the class manually.
2048
2095
  */
2049
2096
 
2097
+ /**
2098
+ * Dcm.API.Client
2099
+ * DCM API Client for Angular applications
2100
+ *
2101
+ *
2102
+ *
2103
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2104
+ * https://openapi-generator.tech
2105
+ * Do not edit the class manually.
2106
+ */
2107
+
2050
2108
  /**
2051
2109
  * Dcm.API.Client
2052
2110
  * DCM API Client for Angular applications
@@ -2121,6 +2179,33 @@ const ShipmentState = {
2121
2179
  Cancelled: 'Cancelled'
2122
2180
  };
2123
2181
 
2182
+ /**
2183
+ * Dcm.API.Client
2184
+ * DCM API Client for Angular applications
2185
+ *
2186
+ *
2187
+ *
2188
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2189
+ * https://openapi-generator.tech
2190
+ * Do not edit the class manually.
2191
+ */
2192
+ const ShipmentTerm = {
2193
+ Cfr: 'CFR',
2194
+ Cif: 'CIF',
2195
+ Cip: 'CIP',
2196
+ Cpt: 'CPT',
2197
+ Daf: 'DAF',
2198
+ Ddp: 'DDP',
2199
+ Ddu: 'DDU',
2200
+ Des: 'DES',
2201
+ Deq: 'DEQ',
2202
+ Exw: 'EXW',
2203
+ Fas: 'FAS',
2204
+ Fca: 'FCA',
2205
+ Fob: 'FOB',
2206
+ Dap: 'DAP'
2207
+ };
2208
+
2124
2209
  /**
2125
2210
  * Dcm.API.Client
2126
2211
  * DCM API Client for Angular applications
@@ -2225,6 +2310,17 @@ const ShipmentType = {
2225
2310
  * Do not edit the class manually.
2226
2311
  */
2227
2312
 
2313
+ /**
2314
+ * Dcm.API.Client
2315
+ * DCM API Client for Angular applications
2316
+ *
2317
+ *
2318
+ *
2319
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2320
+ * https://openapi-generator.tech
2321
+ * Do not edit the class manually.
2322
+ */
2323
+
2228
2324
  class ApiModule {
2229
2325
  static forRoot(configurationFactory) {
2230
2326
  return {
@@ -2265,5 +2361,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
2265
2361
  * Generated bundle index. Do not edit.
2266
2362
  */
2267
2363
 
2268
- export { APIS, ApiModule, BASE_PATH, BookingsService, COLLECTION_FORMATS, Configuration, ContainersService, HealthService, PermissionsService, PowerBiTenant, ReportsService, ShipmentApprovalType, ShipmentState, ShipmentType, ShipmentsService, UserService };
2364
+ export { APIS, ApiModule, BASE_PATH, BookingsService, COLLECTION_FORMATS, Configuration, ContainersService, HealthService, PermissionsService, PowerBiTenant, ReportsService, ShipmentApprovalType, ShipmentState, ShipmentTerm, ShipmentType, ShipmentsService, UserService };
2269
2365
  //# sourceMappingURL=indigina-dcm-api.mjs.map