@indigina/dcm-api 0.0.82 → 0.0.84

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.82
1
+ # @indigina/dcm-api@0.0.84
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.82 --save
27
+ npm install @indigina/dcm-api@0.0.84 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -562,6 +562,46 @@ class ContainersService extends BaseService {
562
562
  reportProgress: reportProgress
563
563
  });
564
564
  }
565
+ getContainerDeliveryBookingItems(dcClientDeliveryBookingId, observe = 'body', reportProgress = false, options) {
566
+ if (dcClientDeliveryBookingId === null || dcClientDeliveryBookingId === undefined) {
567
+ throw new Error('Required parameter dcClientDeliveryBookingId was null or undefined when calling getContainerDeliveryBookingItems.');
568
+ }
569
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
570
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, dcClientDeliveryBookingId, 'dcClientDeliveryBookingId');
571
+ let localVarHeaders = this.defaultHeaders;
572
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
573
+ 'application/json'
574
+ ]);
575
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
576
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
577
+ }
578
+ const localVarHttpContext = options?.context ?? new HttpContext();
579
+ const localVarTransferCache = options?.transferCache ?? true;
580
+ let responseType_ = 'json';
581
+ if (localVarHttpHeaderAcceptSelected) {
582
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
583
+ responseType_ = 'text';
584
+ }
585
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
586
+ responseType_ = 'json';
587
+ }
588
+ else {
589
+ responseType_ = 'blob';
590
+ }
591
+ }
592
+ let localVarPath = `/containers/delivery-booking-items`;
593
+ const { basePath, withCredentials } = this.configuration;
594
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
595
+ context: localVarHttpContext,
596
+ params: localVarQueryParameters,
597
+ responseType: responseType_,
598
+ ...(withCredentials ? { withCredentials } : {}),
599
+ headers: localVarHeaders,
600
+ observe: observe,
601
+ transferCache: localVarTransferCache,
602
+ reportProgress: reportProgress
603
+ });
604
+ }
565
605
  getContainerDeliveryItems(containerIds, observe = 'body', reportProgress = false, options) {
566
606
  if (containerIds === null || containerIds === undefined) {
567
607
  throw new Error('Required parameter containerIds was null or undefined when calling getContainerDeliveryItems.');
@@ -3705,6 +3745,24 @@ const ApprovalTypes = {
3705
3745
  Rejected: 'Rejected'
3706
3746
  };
3707
3747
 
3748
+ /**
3749
+ * Dcm.API.Client
3750
+ *
3751
+ *
3752
+ *
3753
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3754
+ * https://openapi-generator.tech
3755
+ * Do not edit the class manually.
3756
+ */
3757
+ const BookingStates = {
3758
+ Draft: 'Draft',
3759
+ Confirmed: 'Confirmed',
3760
+ CancellationRequested: 'CancellationRequested',
3761
+ Cancelled: 'Cancelled',
3762
+ DraftSi: 'DraftSI',
3763
+ ConfirmedSi: 'ConfirmedSI'
3764
+ };
3765
+
3708
3766
  /**
3709
3767
  * Dcm.API.Client
3710
3768
  *
@@ -4528,5 +4586,5 @@ function provideApi(configOrBasePath) {
4528
4586
  * Generated bundle index. Do not edit.
4529
4587
  */
4530
4588
 
4531
- export { APIS, AmendConfirmationTypes, ApiModule, ApprovalTypes, AuditLogsService, BASE_PATH, BookingsService, COLLECTION_FORMATS, CompaniesService, 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, WorkflowArtifacts, provideApi };
4589
+ export { APIS, AmendConfirmationTypes, ApiModule, ApprovalTypes, AuditLogsService, BASE_PATH, BookingStates, BookingsService, COLLECTION_FORMATS, CompaniesService, 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, WorkflowArtifacts, provideApi };
4532
4590
  //# sourceMappingURL=indigina-dcm-api.mjs.map