@indigina/wms-api 0.0.104 → 0.0.106

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.104
1
+ # @indigina/wms-api@0.0.106
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.104 --save
27
+ npm install @indigina/wms-api@0.0.106 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -2817,6 +2817,43 @@ class DispatchesService extends BaseService {
2817
2817
  reportProgress: reportProgress
2818
2818
  });
2819
2819
  }
2820
+ getPrintDetails(id, observe = 'body', reportProgress = false, options) {
2821
+ if (id === null || id === undefined) {
2822
+ throw new Error('Required parameter id was null or undefined when calling getPrintDetails.');
2823
+ }
2824
+ let localVarHeaders = this.defaultHeaders;
2825
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2826
+ 'application/json'
2827
+ ]);
2828
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2829
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2830
+ }
2831
+ const localVarHttpContext = options?.context ?? new HttpContext();
2832
+ const localVarTransferCache = options?.transferCache ?? true;
2833
+ let responseType_ = 'json';
2834
+ if (localVarHttpHeaderAcceptSelected) {
2835
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2836
+ responseType_ = 'text';
2837
+ }
2838
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2839
+ responseType_ = 'json';
2840
+ }
2841
+ else {
2842
+ responseType_ = 'blob';
2843
+ }
2844
+ }
2845
+ let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/print-details`;
2846
+ const { basePath, withCredentials } = this.configuration;
2847
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2848
+ context: localVarHttpContext,
2849
+ responseType: responseType_,
2850
+ ...(withCredentials ? { withCredentials } : {}),
2851
+ headers: localVarHeaders,
2852
+ observe: observe,
2853
+ transferCache: localVarTransferCache,
2854
+ reportProgress: reportProgress
2855
+ });
2856
+ }
2820
2857
  releaseOnHoldDispatches(ids, observe = 'body', reportProgress = false, options) {
2821
2858
  if (ids === null || ids === undefined) {
2822
2859
  throw new Error('Required parameter ids was null or undefined when calling releaseOnHoldDispatches.');
@@ -3727,6 +3764,86 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
3727
3764
  type: Optional
3728
3765
  }] }] });
3729
3766
 
3767
+ /**
3768
+ * Wms.API.Client
3769
+ *
3770
+ *
3771
+ *
3772
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3773
+ * https://openapi-generator.tech
3774
+ * Do not edit the class manually.
3775
+ */
3776
+ /* tslint:disable:no-unused-variable member-ordering */
3777
+ class ReplenishmentRecordsService extends BaseService {
3778
+ httpClient;
3779
+ constructor(httpClient, basePath, configuration) {
3780
+ super(basePath, configuration);
3781
+ this.httpClient = httpClient;
3782
+ }
3783
+ getReplenishmentRecords($skip, $top, $orderby, $filter, $search, replenishmentStatuses, hasAllocatedUsers, observe = 'body', reportProgress = false, options) {
3784
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
3785
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
3786
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
3787
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
3788
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
3789
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
3790
+ if (replenishmentStatuses) {
3791
+ replenishmentStatuses.forEach((element) => {
3792
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'replenishmentStatuses');
3793
+ });
3794
+ }
3795
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, hasAllocatedUsers, 'hasAllocatedUsers');
3796
+ let localVarHeaders = this.defaultHeaders;
3797
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3798
+ 'application/json'
3799
+ ]);
3800
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3801
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3802
+ }
3803
+ const localVarHttpContext = options?.context ?? new HttpContext();
3804
+ const localVarTransferCache = options?.transferCache ?? true;
3805
+ let responseType_ = 'json';
3806
+ if (localVarHttpHeaderAcceptSelected) {
3807
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3808
+ responseType_ = 'text';
3809
+ }
3810
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3811
+ responseType_ = 'json';
3812
+ }
3813
+ else {
3814
+ responseType_ = 'blob';
3815
+ }
3816
+ }
3817
+ let localVarPath = `/replenishmentRecords`;
3818
+ const { basePath, withCredentials } = this.configuration;
3819
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
3820
+ context: localVarHttpContext,
3821
+ params: localVarQueryParameters,
3822
+ responseType: responseType_,
3823
+ ...(withCredentials ? { withCredentials } : {}),
3824
+ headers: localVarHeaders,
3825
+ observe: observe,
3826
+ transferCache: localVarTransferCache,
3827
+ reportProgress: reportProgress
3828
+ });
3829
+ }
3830
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ReplenishmentRecordsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3831
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ReplenishmentRecordsService, providedIn: 'root' });
3832
+ }
3833
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ReplenishmentRecordsService, decorators: [{
3834
+ type: Injectable,
3835
+ args: [{
3836
+ providedIn: 'root'
3837
+ }]
3838
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
3839
+ type: Optional
3840
+ }, {
3841
+ type: Inject,
3842
+ args: [BASE_PATH]
3843
+ }] }, { type: Configuration, decorators: [{
3844
+ type: Optional
3845
+ }] }] });
3846
+
3730
3847
  /**
3731
3848
  * Wms.API.Client
3732
3849
  *
@@ -5525,7 +5642,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
5525
5642
  type: Optional
5526
5643
  }] }] });
5527
5644
 
5528
- const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, NotesService, PendoService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentService, ReturnedItemsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService, WavePickReleasesService, WavesByPickReleaseIdService];
5645
+ const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, NotesService, PendoService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentService, ReplenishmentRecordsService, ReturnedItemsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService, WavePickReleasesService, WavesByPickReleaseIdService];
5529
5646
 
5530
5647
  /**
5531
5648
  * Wms.API.Client
@@ -6049,6 +6166,57 @@ const RecordType = {
6049
6166
  * https://openapi-generator.tech
6050
6167
  * Do not edit the class manually.
6051
6168
  */
6169
+ const ReplenishmentStages = {
6170
+ Unallocated: 'Unallocated',
6171
+ ForcedBulkScan: 'ForcedBulkScan',
6172
+ ForcedPickFaceScan: 'ForcedPickFaceScan',
6173
+ SystemBulkScan: 'SystemBulkScan',
6174
+ SystemPickFaceScan: 'SystemPickFaceScan',
6175
+ SystemFloorSpotScan: 'SystemFloorSpotScan',
6176
+ SystemFloorSpotComplete: 'SystemFloorSpotComplete',
6177
+ FloorSpotQtyToPick: 'FloorSpotQtyToPick',
6178
+ FloorSpotPickFaceScan: 'FloorSpotPickFaceScan',
6179
+ Complete: 'Complete'
6180
+ };
6181
+
6182
+ /**
6183
+ * Wms.API.Client
6184
+ *
6185
+ *
6186
+ *
6187
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6188
+ * https://openapi-generator.tech
6189
+ * Do not edit the class manually.
6190
+ */
6191
+ const ReplenishmentStatuses = {
6192
+ Active: 'Active',
6193
+ Complete: 'Complete',
6194
+ Cancel: 'Cancel'
6195
+ };
6196
+
6197
+ /**
6198
+ * Wms.API.Client
6199
+ *
6200
+ *
6201
+ *
6202
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6203
+ * https://openapi-generator.tech
6204
+ * Do not edit the class manually.
6205
+ */
6206
+
6207
+ /**
6208
+ * Wms.API.Client
6209
+ *
6210
+ *
6211
+ *
6212
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6213
+ * https://openapi-generator.tech
6214
+ * Do not edit the class manually.
6215
+ */
6216
+ const ReplenishmentTypes = {
6217
+ Forced: 'Forced',
6218
+ System: 'System'
6219
+ };
6052
6220
 
6053
6221
  /**
6054
6222
  * Wms.API.Client
@@ -6291,5 +6459,5 @@ function provideApi(configOrBasePath) {
6291
6459
  * Generated bundle index. Do not edit.
6292
6460
  */
6293
6461
 
6294
- export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonsService, CompaniesService, Configuration, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, HealthService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickReleaseHistoryTypes, PickingProcesses, ProductMastersService, ProductQuantitiesService, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentService, ReturnedItemsService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompanyType, UserService, UsersInternalService, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WaveStatuses, WavesByPickReleaseIdService, provideApi };
6462
+ export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonsService, CompaniesService, Configuration, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, HealthService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickReleaseHistoryTypes, PickingProcesses, ProductMastersService, ProductQuantitiesService, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentRecordsService, ReplenishmentService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReturnedItemsService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompanyType, UserService, UsersInternalService, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WaveStatuses, WavesByPickReleaseIdService, provideApi };
6295
6463
  //# sourceMappingURL=indigina-wms-api.mjs.map