@indigina/wms-api 0.0.152 → 0.0.154

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.152
1
+ # @indigina/wms-api@0.0.154
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.152 --save
27
+ npm install @indigina/wms-api@0.0.154 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -7474,6 +7474,120 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
7474
7474
  type: Optional
7475
7475
  }] }] });
7476
7476
 
7477
+ /**
7478
+ * Wms.API.Client
7479
+ *
7480
+ *
7481
+ *
7482
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7483
+ * https://openapi-generator.tech
7484
+ * Do not edit the class manually.
7485
+ */
7486
+ /* tslint:disable:no-unused-variable member-ordering */
7487
+ class WaveHistoryService extends BaseService {
7488
+ httpClient;
7489
+ constructor(httpClient, basePath, configuration) {
7490
+ super(basePath, configuration);
7491
+ this.httpClient = httpClient;
7492
+ }
7493
+ getWavesByHistoryType(waveHistoryType, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
7494
+ if (waveHistoryType === null || waveHistoryType === undefined) {
7495
+ throw new Error('Required parameter waveHistoryType was null or undefined when calling getWavesByHistoryType.');
7496
+ }
7497
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
7498
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
7499
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
7500
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
7501
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
7502
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
7503
+ let localVarHeaders = this.defaultHeaders;
7504
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
7505
+ 'application/json'
7506
+ ]);
7507
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
7508
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
7509
+ }
7510
+ const localVarHttpContext = options?.context ?? new HttpContext();
7511
+ const localVarTransferCache = options?.transferCache ?? true;
7512
+ let responseType_ = 'json';
7513
+ if (localVarHttpHeaderAcceptSelected) {
7514
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
7515
+ responseType_ = 'text';
7516
+ }
7517
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
7518
+ responseType_ = 'json';
7519
+ }
7520
+ else {
7521
+ responseType_ = 'blob';
7522
+ }
7523
+ }
7524
+ let localVarPath = `/waveHistories/${this.configuration.encodeParam({ name: "waveHistoryType", value: waveHistoryType, in: "path", style: "simple", explode: false, dataType: "WaveHistoryTypes", dataFormat: undefined })}`;
7525
+ const { basePath, withCredentials } = this.configuration;
7526
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
7527
+ context: localVarHttpContext,
7528
+ params: localVarQueryParameters.toHttpParams(),
7529
+ responseType: responseType_,
7530
+ ...(withCredentials ? { withCredentials } : {}),
7531
+ headers: localVarHeaders,
7532
+ observe: observe,
7533
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
7534
+ reportProgress: reportProgress
7535
+ });
7536
+ }
7537
+ unlockWave(waveId, observe = 'body', reportProgress = false, options) {
7538
+ if (waveId === null || waveId === undefined) {
7539
+ throw new Error('Required parameter waveId was null or undefined when calling unlockWave.');
7540
+ }
7541
+ let localVarHeaders = this.defaultHeaders;
7542
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
7543
+ 'application/json'
7544
+ ]);
7545
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
7546
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
7547
+ }
7548
+ const localVarHttpContext = options?.context ?? new HttpContext();
7549
+ const localVarTransferCache = options?.transferCache ?? true;
7550
+ let responseType_ = 'json';
7551
+ if (localVarHttpHeaderAcceptSelected) {
7552
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
7553
+ responseType_ = 'text';
7554
+ }
7555
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
7556
+ responseType_ = 'json';
7557
+ }
7558
+ else {
7559
+ responseType_ = 'blob';
7560
+ }
7561
+ }
7562
+ let localVarPath = `/waveHistories/unlock/${this.configuration.encodeParam({ name: "waveId", value: waveId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
7563
+ const { basePath, withCredentials } = this.configuration;
7564
+ return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
7565
+ context: localVarHttpContext,
7566
+ responseType: responseType_,
7567
+ ...(withCredentials ? { withCredentials } : {}),
7568
+ headers: localVarHeaders,
7569
+ observe: observe,
7570
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
7571
+ reportProgress: reportProgress
7572
+ });
7573
+ }
7574
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: WaveHistoryService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
7575
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: WaveHistoryService, providedIn: 'root' });
7576
+ }
7577
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: WaveHistoryService, decorators: [{
7578
+ type: Injectable,
7579
+ args: [{
7580
+ providedIn: 'root'
7581
+ }]
7582
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
7583
+ type: Optional
7584
+ }, {
7585
+ type: Inject,
7586
+ args: [BASE_PATH]
7587
+ }] }, { type: Configuration, decorators: [{
7588
+ type: Optional
7589
+ }] }] });
7590
+
7477
7591
  /**
7478
7592
  * Wms.API.Client
7479
7593
  *
@@ -7956,7 +8070,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
7956
8070
  type: Optional
7957
8071
  }] }] });
7958
8072
 
7959
- const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, LicencePlateSerialsService, NotesService, PendoService, PermissionsService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessService, ReplenishmentRecordsService, ReturnedItemsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserCompaniesService, UserPrintersService, UsersInternalService, WaveConfigGroupsService, WavePickReleasesService, WavePickingAccessService, WavesByPickReleaseIdService];
8073
+ const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, LicencePlateSerialsService, NotesService, PendoService, PermissionsService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessService, ReplenishmentRecordsService, ReturnedItemsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserCompaniesService, UserPrintersService, UsersInternalService, WaveConfigGroupsService, WaveHistoryService, WavePickReleasesService, WavePickingAccessService, WavesByPickReleaseIdService];
7960
8074
 
7961
8075
  /**
7962
8076
  * Wms.API.Client
@@ -8038,6 +8152,23 @@ const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDelive
8038
8152
  * Do not edit the class manually.
8039
8153
  */
8040
8154
 
8155
+ /**
8156
+ * Wms.API.Client
8157
+ *
8158
+ *
8159
+ *
8160
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8161
+ * https://openapi-generator.tech
8162
+ * Do not edit the class manually.
8163
+ */
8164
+ const ClusterPackStatuses = {
8165
+ ToBeProcessed: 'ToBeProcessed',
8166
+ PartiallySuccessful: 'PartiallySuccessful',
8167
+ AllSuccessful: 'AllSuccessful',
8168
+ AllFailed: 'AllFailed',
8169
+ NoLongerRequired: 'NoLongerRequired'
8170
+ };
8171
+
8041
8172
  /**
8042
8173
  * Wms.API.Client
8043
8174
  *
@@ -8748,6 +8879,16 @@ const UnitOfMeasurementTypes = {
8748
8879
  * Do not edit the class manually.
8749
8880
  */
8750
8881
 
8882
+ /**
8883
+ * Wms.API.Client
8884
+ *
8885
+ *
8886
+ *
8887
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8888
+ * https://openapi-generator.tech
8889
+ * Do not edit the class manually.
8890
+ */
8891
+
8751
8892
  /**
8752
8893
  * Wms.API.Client
8753
8894
  *
@@ -8779,18 +8920,6 @@ const UserCompanyType = {
8779
8920
  * https://openapi-generator.tech
8780
8921
  * Do not edit the class manually.
8781
8922
  */
8782
- const UserCompanyTypes = {
8783
- Dc: 'DC',
8784
- Client: 'Client',
8785
- OriginAgent: 'OriginAgent',
8786
- DestinationAgent: 'DestinationAgent',
8787
- Vendor: 'Vendor',
8788
- Integration: 'Integration',
8789
- SystemAdmin: 'SystemAdmin',
8790
- ReportAdmin: 'ReportAdmin',
8791
- SsSysAdmin: 'SS_SysAdmin',
8792
- SsReportAdmin: 'SS_ReportAdmin'
8793
- };
8794
8923
 
8795
8924
  /**
8796
8925
  * Wms.API.Client
@@ -8841,6 +8970,13 @@ const UserCompanyTypes = {
8841
8970
  * https://openapi-generator.tech
8842
8971
  * Do not edit the class manually.
8843
8972
  */
8973
+ const WaveHistoryTypes = {
8974
+ All: 'All',
8975
+ ToBePrinted: 'ToBePrinted',
8976
+ Active: 'Active',
8977
+ Complete: 'Complete',
8978
+ Closed: 'Closed'
8979
+ };
8844
8980
 
8845
8981
  /**
8846
8982
  * Wms.API.Client
@@ -8968,5 +9104,5 @@ function provideApi(configOrBasePath) {
8968
9104
  * Generated bundle index. Do not edit.
8969
9105
  */
8970
9106
 
8971
- export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, 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, 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, UserCompanyTypes, UserPrintersService, UserService, UsersInternalService, WaveConfigGroupsService, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WavesByPickReleaseIdService, provideApi };
9107
+ export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, 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, 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, WaveHistoryService, WaveHistoryTypes, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WavesByPickReleaseIdService, provideApi };
8972
9108
  //# sourceMappingURL=indigina-wms-api.mjs.map