@indigina/wms-api 0.0.186 → 0.0.188

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.186
1
+ # @indigina/wms-api@0.0.188
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.186 --save
27
+ npm install @indigina/wms-api@0.0.188 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -5359,6 +5359,47 @@ class DispatchesService extends BaseService {
5359
5359
  reportProgress: reportProgress
5360
5360
  });
5361
5361
  }
5362
+ getStarDispatches($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
5363
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
5364
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
5365
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
5366
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
5367
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
5368
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
5369
+ let localVarHeaders = this.defaultHeaders;
5370
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
5371
+ 'application/json'
5372
+ ]);
5373
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
5374
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
5375
+ }
5376
+ const localVarHttpContext = options?.context ?? new HttpContext();
5377
+ const localVarTransferCache = options?.transferCache ?? true;
5378
+ let responseType_ = 'json';
5379
+ if (localVarHttpHeaderAcceptSelected) {
5380
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
5381
+ responseType_ = 'text';
5382
+ }
5383
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
5384
+ responseType_ = 'json';
5385
+ }
5386
+ else {
5387
+ responseType_ = 'blob';
5388
+ }
5389
+ }
5390
+ let localVarPath = `/dispatches/star-dispatches`;
5391
+ const { basePath, withCredentials } = this.configuration;
5392
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
5393
+ context: localVarHttpContext,
5394
+ params: localVarQueryParameters.toHttpParams(),
5395
+ responseType: responseType_,
5396
+ ...(withCredentials ? { withCredentials } : {}),
5397
+ headers: localVarHeaders,
5398
+ observe: observe,
5399
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
5400
+ reportProgress: reportProgress
5401
+ });
5402
+ }
5362
5403
  releaseOnHoldDispatches(ids, observe = 'body', reportProgress = false, options) {
5363
5404
  if (ids === null || ids === undefined) {
5364
5405
  throw new Error('Required parameter ids was null or undefined when calling releaseOnHoldDispatches.');
@@ -5436,6 +5477,47 @@ class DispatchesService extends BaseService {
5436
5477
  reportProgress: reportProgress
5437
5478
  });
5438
5479
  }
5480
+ setDispatchStar(id, starred, observe = 'body', reportProgress = false, options) {
5481
+ if (id === null || id === undefined) {
5482
+ throw new Error('Required parameter id was null or undefined when calling setDispatchStar.');
5483
+ }
5484
+ if (starred === null || starred === undefined) {
5485
+ throw new Error('Required parameter starred was null or undefined when calling setDispatchStar.');
5486
+ }
5487
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
5488
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'starred', starred, QueryParamStyle.Form, true);
5489
+ let localVarHeaders = this.defaultHeaders;
5490
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
5491
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
5492
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
5493
+ }
5494
+ const localVarHttpContext = options?.context ?? new HttpContext();
5495
+ const localVarTransferCache = options?.transferCache ?? true;
5496
+ let responseType_ = 'json';
5497
+ if (localVarHttpHeaderAcceptSelected) {
5498
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
5499
+ responseType_ = 'text';
5500
+ }
5501
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
5502
+ responseType_ = 'json';
5503
+ }
5504
+ else {
5505
+ responseType_ = 'blob';
5506
+ }
5507
+ }
5508
+ let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/star`;
5509
+ const { basePath, withCredentials } = this.configuration;
5510
+ return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
5511
+ context: localVarHttpContext,
5512
+ params: localVarQueryParameters.toHttpParams(),
5513
+ responseType: responseType_,
5514
+ ...(withCredentials ? { withCredentials } : {}),
5515
+ headers: localVarHeaders,
5516
+ observe: observe,
5517
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
5518
+ reportProgress: reportProgress
5519
+ });
5520
+ }
5439
5521
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: DispatchesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
5440
5522
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: DispatchesService, providedIn: 'root' });
5441
5523
  }
@@ -5521,6 +5603,73 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
5521
5603
  type: Optional
5522
5604
  }] }] });
5523
5605
 
5606
+ /**
5607
+ * Wms.API.Client
5608
+ *
5609
+ *
5610
+ *
5611
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5612
+ * https://openapi-generator.tech
5613
+ * Do not edit the class manually.
5614
+ */
5615
+ /* tslint:disable:no-unused-variable member-ordering */
5616
+ class LicencePlateLabelsService extends BaseService {
5617
+ httpClient;
5618
+ constructor(httpClient, basePath, configuration) {
5619
+ super(basePath, configuration);
5620
+ this.httpClient = httpClient;
5621
+ }
5622
+ printLicencePlateLabels(licencePlateLabelsGenerateModel, observe = 'body', reportProgress = false, options) {
5623
+ if (licencePlateLabelsGenerateModel === null || licencePlateLabelsGenerateModel === undefined) {
5624
+ throw new Error('Required parameter licencePlateLabelsGenerateModel was null or undefined when calling printLicencePlateLabels.');
5625
+ }
5626
+ let localVarHeaders = this.defaultHeaders;
5627
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
5628
+ 'application/pdf'
5629
+ ]);
5630
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
5631
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
5632
+ }
5633
+ const localVarHttpContext = options?.context ?? new HttpContext();
5634
+ const localVarTransferCache = options?.transferCache ?? true;
5635
+ // to determine the Content-Type header
5636
+ const consumes = [
5637
+ 'application/json'
5638
+ ];
5639
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
5640
+ if (httpContentTypeSelected !== undefined) {
5641
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
5642
+ }
5643
+ let localVarPath = `/licencePlateLabels/print`;
5644
+ const { basePath, withCredentials } = this.configuration;
5645
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
5646
+ context: localVarHttpContext,
5647
+ body: licencePlateLabelsGenerateModel,
5648
+ responseType: "blob",
5649
+ ...(withCredentials ? { withCredentials } : {}),
5650
+ headers: localVarHeaders,
5651
+ observe: observe,
5652
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
5653
+ reportProgress: reportProgress
5654
+ });
5655
+ }
5656
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: LicencePlateLabelsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
5657
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: LicencePlateLabelsService, providedIn: 'root' });
5658
+ }
5659
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: LicencePlateLabelsService, decorators: [{
5660
+ type: Injectable,
5661
+ args: [{
5662
+ providedIn: 'root'
5663
+ }]
5664
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
5665
+ type: Optional
5666
+ }, {
5667
+ type: Inject,
5668
+ args: [BASE_PATH]
5669
+ }] }, { type: Configuration, decorators: [{
5670
+ type: Optional
5671
+ }] }] });
5672
+
5524
5673
  /**
5525
5674
  * Wms.API.Client
5526
5675
  *
@@ -11345,7 +11494,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
11345
11494
  type: Optional
11346
11495
  }] }] });
11347
11496
 
11348
- const APIS = [AddressesService, AnalyticsService, CarrierProviderIntegrationsService, CarrierServiceTypesService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackingService, CompaniesService, ContactsService, CountContinuousInventoryService, CountRecordsService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxTypesService, DispatchBoxesService, DispatchCarriersService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, LicencePlateSerialsService, NotesService, PackageTypesService, PendoService, PermissionsService, PickSummariesService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessService, ReplenishmentRecordsService, ReturnedItemsService, SalesOrderItemsService, SalesOrdersService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserCompaniesService, UserPrintersService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WavePickReleasesService, WavePickingAccessService, WaveSummariesService, WavesByPickReleaseIdService];
11497
+ const APIS = [AddressesService, AnalyticsService, CarrierProviderIntegrationsService, CarrierServiceTypesService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackingService, CompaniesService, ContactsService, CountContinuousInventoryService, CountRecordsService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxTypesService, DispatchBoxesService, DispatchCarriersService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, LicencePlateLabelsService, LicencePlateSerialsService, NotesService, PackageTypesService, PendoService, PermissionsService, PickSummariesService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessService, ReplenishmentRecordsService, ReturnedItemsService, SalesOrderItemsService, SalesOrdersService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserCompaniesService, UserPrintersService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WavePickReleasesService, WavePickingAccessService, WaveSummariesService, WavesByPickReleaseIdService];
11349
11498
 
11350
11499
  /**
11351
11500
  * Wms.API.Client
@@ -11759,6 +11908,16 @@ const CountType = {
11759
11908
  * Do not edit the class manually.
11760
11909
  */
11761
11910
 
11911
+ /**
11912
+ * Wms.API.Client
11913
+ *
11914
+ *
11915
+ *
11916
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11917
+ * https://openapi-generator.tech
11918
+ * Do not edit the class manually.
11919
+ */
11920
+
11762
11921
  /**
11763
11922
  * Wms.API.Client
11764
11923
  *
@@ -12181,6 +12340,22 @@ const PickingProcesses = {
12181
12340
  BatchPicking: 'BatchPicking'
12182
12341
  };
12183
12342
 
12343
+ /**
12344
+ * Wms.API.Client
12345
+ *
12346
+ *
12347
+ *
12348
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12349
+ * https://openapi-generator.tech
12350
+ * Do not edit the class manually.
12351
+ */
12352
+ const PrintLabelTemplates = {
12353
+ BoxTemplate: 'BoxTemplate',
12354
+ BoxTemplateAbsolute: 'BoxTemplateAbsolute',
12355
+ Bpt: 'Bpt',
12356
+ ReturnLabel: 'ReturnLabel'
12357
+ };
12358
+
12184
12359
  /**
12185
12360
  * Wms.API.Client
12186
12361
  *
@@ -12839,5 +13014,5 @@ function provideApi(configOrBasePath) {
12839
13014
  * Generated bundle index. Do not edit.
12840
13015
  */
12841
13016
 
12842
- export { APIS, AddressSource, AddressType, AddressesService, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CarrierServiceTypesService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackStatuses, ClusterPackWaveGridTypes, ClusterPackingService, CompaniesService, CompanyType, Configuration, ContactsService, CountContinuousInventoryService, CountRecordsService, CountStatusGroup, CountStatuses, CountType, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxTypesService, DispatchBoxesService, DispatchCarriersService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, DocumentTypes, HealthService, LicencePlateSerialsService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackageTypesService, PackingProcesses, PendoService, PeopleGroup, PermissionsService, PickReleaseHistoryTypes, PickSummariesService, PickingProcesses, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReprintStatuses, ReturnedItemsService, SalesOrderCompletionIssue, SalesOrderItemsService, SalesOrderTab, SalesOrdersService, SettingsService, ShipToSubtype, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompaniesService, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WaveHistoryTypes, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WaveSummariesService, WavesByPickReleaseIdService, provideApi };
13017
+ export { APIS, AddressSource, AddressType, AddressesService, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CarrierServiceTypesService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackStatuses, ClusterPackWaveGridTypes, ClusterPackingService, CompaniesService, CompanyType, Configuration, ContactsService, CountContinuousInventoryService, CountRecordsService, CountStatusGroup, CountStatuses, CountType, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxTypesService, DispatchBoxesService, DispatchCarriersService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, DocumentTypes, HealthService, LicencePlateLabelsService, LicencePlateSerialsService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackageTypesService, PackingProcesses, PendoService, PeopleGroup, PermissionsService, PickReleaseHistoryTypes, PickSummariesService, PickingProcesses, PrintLabelTemplates, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReprintStatuses, ReturnedItemsService, SalesOrderCompletionIssue, SalesOrderItemsService, SalesOrderTab, SalesOrdersService, SettingsService, ShipToSubtype, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompaniesService, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WaveHistoryTypes, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WaveSummariesService, WavesByPickReleaseIdService, provideApi };
12843
13018
  //# sourceMappingURL=indigina-wms-api.mjs.map