@indigina/dcm-api 0.0.115 → 0.0.117

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 CHANGED
@@ -1,4 +1,4 @@
1
- # @indigina/dcm-api@0.0.115
1
+ # @indigina/dcm-api@0.0.117
2
2
 
3
3
  DCM API Client for Angular applications
4
4
 
@@ -24,7 +24,7 @@ Navigate to the folder of your consuming project and run one of next commands.
24
24
  _published:_
25
25
 
26
26
  ```console
27
- npm install @indigina/dcm-api@0.0.115 --save
27
+ npm install @indigina/dcm-api@0.0.117 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -3287,6 +3287,43 @@ class ShipmentsService extends BaseService {
3287
3287
  reportProgress: reportProgress
3288
3288
  });
3289
3289
  }
3290
+ getShipmentLocations(shipmentId, observe = 'body', reportProgress = false, options) {
3291
+ if (shipmentId === null || shipmentId === undefined) {
3292
+ throw new Error('Required parameter shipmentId was null or undefined when calling getShipmentLocations.');
3293
+ }
3294
+ let localVarHeaders = this.defaultHeaders;
3295
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3296
+ 'application/json'
3297
+ ]);
3298
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3299
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3300
+ }
3301
+ const localVarHttpContext = options?.context ?? new HttpContext();
3302
+ const localVarTransferCache = options?.transferCache ?? true;
3303
+ let responseType_ = 'json';
3304
+ if (localVarHttpHeaderAcceptSelected) {
3305
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3306
+ responseType_ = 'text';
3307
+ }
3308
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3309
+ responseType_ = 'json';
3310
+ }
3311
+ else {
3312
+ responseType_ = 'blob';
3313
+ }
3314
+ }
3315
+ let localVarPath = `/shipments/${this.configuration.encodeParam({ name: "shipmentId", value: shipmentId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/locations`;
3316
+ const { basePath, withCredentials } = this.configuration;
3317
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
3318
+ context: localVarHttpContext,
3319
+ responseType: responseType_,
3320
+ ...(withCredentials ? { withCredentials } : {}),
3321
+ headers: localVarHeaders,
3322
+ observe: observe,
3323
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3324
+ reportProgress: reportProgress
3325
+ });
3326
+ }
3290
3327
  getShipmentProductTotals(shipmentId, containerId, observe = 'body', reportProgress = false, options) {
3291
3328
  if (shipmentId === null || shipmentId === undefined) {
3292
3329
  throw new Error('Required parameter shipmentId was null or undefined when calling getShipmentProductTotals.');
@@ -4613,6 +4650,22 @@ const JourneySegmentType = {
4613
4650
  Feeder: 'Feeder'
4614
4651
  };
4615
4652
 
4653
+ /**
4654
+ * Dcm.API.Client
4655
+ *
4656
+ *
4657
+ *
4658
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4659
+ * https://openapi-generator.tech
4660
+ * Do not edit the class manually.
4661
+ */
4662
+ const LocationType = {
4663
+ OriginPort: 'OriginPort',
4664
+ DestinationPort: 'DestinationPort',
4665
+ TranshipmentPort: 'TranshipmentPort',
4666
+ InlandPort: 'InlandPort'
4667
+ };
4668
+
4616
4669
  /**
4617
4670
  * Dcm.API.Client
4618
4671
  *
@@ -5155,5 +5208,5 @@ function provideApi(configOrBasePath) {
5155
5208
  * Generated bundle index. Do not edit.
5156
5209
  */
5157
5210
 
5158
- export { APIS, AmendConfirmationTypes, ApiModule, ApprovalTypes, AuditLogsService, BASE_PATH, BookingStates, BookingTypes, BookingsService, COLLECTION_FORMATS, CompaniesService, ConfigService, Configuration, ContainerBookedState, ContainerSize, ContainerType, ContainersService, CwStates, DcsService, DeliveryBookingDcsService, DeliveryBookingStates, DeliveryBookingsService, DocumentType, DocumentsService, EntityState, HealthService, JourneySegmentType, NoteCategory, NoteSourceType, NotesService, PendoService, PermissionsService, PoItemState, PoItemsService, PowerBiTenant, PurchaseOrderState, PurchaseOrdersService, RecordTypes, ReportsService, RoutingLegType, SettingsService, ShipmentApprovalType, ShipmentState, ShipmentTerm, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TransportMode, UserCompanyType, UserService, VendorBookingsService, WorkflowArtifacts, provideApi };
5211
+ export { APIS, AmendConfirmationTypes, ApiModule, ApprovalTypes, AuditLogsService, BASE_PATH, BookingStates, BookingTypes, BookingsService, COLLECTION_FORMATS, CompaniesService, ConfigService, Configuration, ContainerBookedState, ContainerSize, ContainerType, ContainersService, CwStates, DcsService, DeliveryBookingDcsService, DeliveryBookingStates, DeliveryBookingsService, DocumentType, DocumentsService, EntityState, HealthService, JourneySegmentType, LocationType, NoteCategory, NoteSourceType, NotesService, PendoService, PermissionsService, PoItemState, PoItemsService, PowerBiTenant, PurchaseOrderState, PurchaseOrdersService, RecordTypes, ReportsService, RoutingLegType, SettingsService, ShipmentApprovalType, ShipmentState, ShipmentTerm, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TransportMode, UserCompanyType, UserService, VendorBookingsService, WorkflowArtifacts, provideApi };
5159
5212
  //# sourceMappingURL=indigina-dcm-api.mjs.map