@indigina/wms-api 0.0.170 → 0.0.172

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/wms-api@0.0.170
1
+ # @indigina/wms-api@0.0.172
2
2
 
3
3
  WMS 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/wms-api@0.0.170 --save
27
+ npm install @indigina/wms-api@0.0.172 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -876,6 +876,76 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
876
876
  type: Optional
877
877
  }] }] });
878
878
 
879
+ /**
880
+ * Wms.API.Client
881
+ *
882
+ *
883
+ *
884
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
885
+ * https://openapi-generator.tech
886
+ * Do not edit the class manually.
887
+ */
888
+ /* tslint:disable:no-unused-variable member-ordering */
889
+ class CarriersService extends BaseService {
890
+ httpClient;
891
+ constructor(httpClient, basePath, configuration) {
892
+ super(basePath, configuration);
893
+ this.httpClient = httpClient;
894
+ }
895
+ getCarrierServices(carrierId, observe = 'body', reportProgress = false, options) {
896
+ if (carrierId === null || carrierId === undefined) {
897
+ throw new Error('Required parameter carrierId was null or undefined when calling getCarrierServices.');
898
+ }
899
+ let localVarHeaders = this.defaultHeaders;
900
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
901
+ 'application/json'
902
+ ]);
903
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
904
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
905
+ }
906
+ const localVarHttpContext = options?.context ?? new HttpContext();
907
+ const localVarTransferCache = options?.transferCache ?? true;
908
+ let responseType_ = 'json';
909
+ if (localVarHttpHeaderAcceptSelected) {
910
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
911
+ responseType_ = 'text';
912
+ }
913
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
914
+ responseType_ = 'json';
915
+ }
916
+ else {
917
+ responseType_ = 'blob';
918
+ }
919
+ }
920
+ let localVarPath = `/carriers/${this.configuration.encodeParam({ name: "carrierId", value: carrierId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/services`;
921
+ const { basePath, withCredentials } = this.configuration;
922
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
923
+ context: localVarHttpContext,
924
+ responseType: responseType_,
925
+ ...(withCredentials ? { withCredentials } : {}),
926
+ headers: localVarHeaders,
927
+ observe: observe,
928
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
929
+ reportProgress: reportProgress
930
+ });
931
+ }
932
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: CarriersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
933
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: CarriersService, providedIn: 'root' });
934
+ }
935
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: CarriersService, decorators: [{
936
+ type: Injectable,
937
+ args: [{
938
+ providedIn: 'root'
939
+ }]
940
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
941
+ type: Optional
942
+ }, {
943
+ type: Inject,
944
+ args: [BASE_PATH]
945
+ }] }, { type: Configuration, decorators: [{
946
+ type: Optional
947
+ }] }] });
948
+
879
949
  /**
880
950
  * Wms.API.Client
881
951
  *
@@ -3560,6 +3630,45 @@ class DispatchesService extends BaseService {
3560
3630
  reportProgress: reportProgress
3561
3631
  });
3562
3632
  }
3633
+ setDispatchCarrierReference(id, courierReference, carrierServiceName, observe = 'body', reportProgress = false, options) {
3634
+ if (id === null || id === undefined) {
3635
+ throw new Error('Required parameter id was null or undefined when calling setDispatchCarrierReference.');
3636
+ }
3637
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
3638
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'courierReference', courierReference, QueryParamStyle.Form, true);
3639
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'carrierServiceName', carrierServiceName, QueryParamStyle.Form, true);
3640
+ let localVarHeaders = this.defaultHeaders;
3641
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
3642
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3643
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3644
+ }
3645
+ const localVarHttpContext = options?.context ?? new HttpContext();
3646
+ const localVarTransferCache = options?.transferCache ?? true;
3647
+ let responseType_ = 'json';
3648
+ if (localVarHttpHeaderAcceptSelected) {
3649
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3650
+ responseType_ = 'text';
3651
+ }
3652
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3653
+ responseType_ = 'json';
3654
+ }
3655
+ else {
3656
+ responseType_ = 'blob';
3657
+ }
3658
+ }
3659
+ let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/carrier-reference`;
3660
+ const { basePath, withCredentials } = this.configuration;
3661
+ return this.httpClient.request('put', `${basePath}${localVarPath}`, {
3662
+ context: localVarHttpContext,
3663
+ params: localVarQueryParameters.toHttpParams(),
3664
+ responseType: responseType_,
3665
+ ...(withCredentials ? { withCredentials } : {}),
3666
+ headers: localVarHeaders,
3667
+ observe: observe,
3668
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3669
+ reportProgress: reportProgress
3670
+ });
3671
+ }
3563
3672
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3564
3673
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchesService, providedIn: 'root' });
3565
3674
  }
@@ -8743,7 +8852,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
8743
8852
  type: Optional
8744
8853
  }] }] });
8745
8854
 
8746
- const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, LicencePlateSerialsService, NotesService, PendoService, PermissionsService, PickSummariesService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessService, ReplenishmentRecordsService, ReturnedItemsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserCompaniesService, UserPrintersService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WavePickReleasesService, WavePickingAccessService, WaveSummariesService, WavesByPickReleaseIdService];
8855
+ const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, LicencePlateSerialsService, NotesService, PendoService, PermissionsService, PickSummariesService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessService, ReplenishmentRecordsService, ReturnedItemsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserCompaniesService, UserPrintersService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WavePickReleasesService, WavePickingAccessService, WaveSummariesService, WavesByPickReleaseIdService];
8856
+
8857
+ /**
8858
+ * Wms.API.Client
8859
+ *
8860
+ *
8861
+ *
8862
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8863
+ * https://openapi-generator.tech
8864
+ * Do not edit the class manually.
8865
+ */
8747
8866
 
8748
8867
  /**
8749
8868
  * Wms.API.Client
@@ -9817,5 +9936,5 @@ function provideApi(configOrBasePath) {
9817
9936
  * Generated bundle index. Do not edit.
9818
9937
  */
9819
9938
 
9820
- export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackStatuses, CompaniesService, Configuration, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, DocumentTypes, HealthService, LicencePlateSerialsService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickReleaseHistoryTypes, PickSummariesService, PickingProcesses, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReturnedItemsService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompaniesService, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WaveHistoryTypes, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WaveSummariesService, WavesByPickReleaseIdService, provideApi };
9939
+ export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackStatuses, CompaniesService, Configuration, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, DocumentTypes, HealthService, LicencePlateSerialsService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickReleaseHistoryTypes, PickSummariesService, PickingProcesses, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReturnedItemsService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompaniesService, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WaveHistoryTypes, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WaveSummariesService, WavesByPickReleaseIdService, provideApi };
9821
9940
  //# sourceMappingURL=indigina-wms-api.mjs.map