@indigina/wms-api 0.0.121 → 0.0.122

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.121
1
+ # @indigina/wms-api@0.0.122
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.121 --save
27
+ npm install @indigina/wms-api@0.0.122 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -3639,6 +3639,80 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
3639
3639
  type: Optional
3640
3640
  }] }] });
3641
3641
 
3642
+ /**
3643
+ * Wms.API.Client
3644
+ *
3645
+ *
3646
+ *
3647
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3648
+ * https://openapi-generator.tech
3649
+ * Do not edit the class manually.
3650
+ */
3651
+ /* tslint:disable:no-unused-variable member-ordering */
3652
+ class PrintersService extends BaseService {
3653
+ httpClient;
3654
+ constructor(httpClient, basePath, configuration) {
3655
+ super(basePath, configuration);
3656
+ this.httpClient = httpClient;
3657
+ }
3658
+ getPrinters($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
3659
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
3660
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
3661
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
3662
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
3663
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
3664
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
3665
+ let localVarHeaders = this.defaultHeaders;
3666
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3667
+ 'application/json'
3668
+ ]);
3669
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3670
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3671
+ }
3672
+ const localVarHttpContext = options?.context ?? new HttpContext();
3673
+ const localVarTransferCache = options?.transferCache ?? true;
3674
+ let responseType_ = 'json';
3675
+ if (localVarHttpHeaderAcceptSelected) {
3676
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3677
+ responseType_ = 'text';
3678
+ }
3679
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3680
+ responseType_ = 'json';
3681
+ }
3682
+ else {
3683
+ responseType_ = 'blob';
3684
+ }
3685
+ }
3686
+ let localVarPath = `/printers`;
3687
+ const { basePath, withCredentials } = this.configuration;
3688
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
3689
+ context: localVarHttpContext,
3690
+ params: localVarQueryParameters.toHttpParams(),
3691
+ responseType: responseType_,
3692
+ ...(withCredentials ? { withCredentials } : {}),
3693
+ headers: localVarHeaders,
3694
+ observe: observe,
3695
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3696
+ reportProgress: reportProgress
3697
+ });
3698
+ }
3699
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PrintersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3700
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PrintersService, providedIn: 'root' });
3701
+ }
3702
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PrintersService, decorators: [{
3703
+ type: Injectable,
3704
+ args: [{
3705
+ providedIn: 'root'
3706
+ }]
3707
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
3708
+ type: Optional
3709
+ }, {
3710
+ type: Inject,
3711
+ args: [BASE_PATH]
3712
+ }] }, { type: Configuration, decorators: [{
3713
+ type: Optional
3714
+ }] }] });
3715
+
3642
3716
  /**
3643
3717
  * Wms.API.Client
3644
3718
  *
@@ -5933,6 +6007,121 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
5933
6007
  type: Optional
5934
6008
  }] }] });
5935
6009
 
6010
+ /**
6011
+ * Wms.API.Client
6012
+ *
6013
+ *
6014
+ *
6015
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6016
+ * https://openapi-generator.tech
6017
+ * Do not edit the class manually.
6018
+ */
6019
+ /* tslint:disable:no-unused-variable member-ordering */
6020
+ class UserPrintersService extends BaseService {
6021
+ httpClient;
6022
+ constructor(httpClient, basePath, configuration) {
6023
+ super(basePath, configuration);
6024
+ this.httpClient = httpClient;
6025
+ }
6026
+ getUserPrinters($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
6027
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
6028
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
6029
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
6030
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
6031
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
6032
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
6033
+ let localVarHeaders = this.defaultHeaders;
6034
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
6035
+ 'application/json'
6036
+ ]);
6037
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
6038
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
6039
+ }
6040
+ const localVarHttpContext = options?.context ?? new HttpContext();
6041
+ const localVarTransferCache = options?.transferCache ?? true;
6042
+ let responseType_ = 'json';
6043
+ if (localVarHttpHeaderAcceptSelected) {
6044
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
6045
+ responseType_ = 'text';
6046
+ }
6047
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
6048
+ responseType_ = 'json';
6049
+ }
6050
+ else {
6051
+ responseType_ = 'blob';
6052
+ }
6053
+ }
6054
+ let localVarPath = `/userPrinters`;
6055
+ const { basePath, withCredentials } = this.configuration;
6056
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
6057
+ context: localVarHttpContext,
6058
+ params: localVarQueryParameters.toHttpParams(),
6059
+ responseType: responseType_,
6060
+ ...(withCredentials ? { withCredentials } : {}),
6061
+ headers: localVarHeaders,
6062
+ observe: observe,
6063
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
6064
+ reportProgress: reportProgress
6065
+ });
6066
+ }
6067
+ updateUserPrinters(userPrinter, observe = 'body', reportProgress = false, options) {
6068
+ let localVarHeaders = this.defaultHeaders;
6069
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
6070
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
6071
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
6072
+ }
6073
+ const localVarHttpContext = options?.context ?? new HttpContext();
6074
+ const localVarTransferCache = options?.transferCache ?? true;
6075
+ // to determine the Content-Type header
6076
+ const consumes = [
6077
+ 'application/json'
6078
+ ];
6079
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
6080
+ if (httpContentTypeSelected !== undefined) {
6081
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
6082
+ }
6083
+ let responseType_ = 'json';
6084
+ if (localVarHttpHeaderAcceptSelected) {
6085
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
6086
+ responseType_ = 'text';
6087
+ }
6088
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
6089
+ responseType_ = 'json';
6090
+ }
6091
+ else {
6092
+ responseType_ = 'blob';
6093
+ }
6094
+ }
6095
+ let localVarPath = `/userPrinters`;
6096
+ const { basePath, withCredentials } = this.configuration;
6097
+ return this.httpClient.request('put', `${basePath}${localVarPath}`, {
6098
+ context: localVarHttpContext,
6099
+ body: userPrinter,
6100
+ responseType: responseType_,
6101
+ ...(withCredentials ? { withCredentials } : {}),
6102
+ headers: localVarHeaders,
6103
+ observe: observe,
6104
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
6105
+ reportProgress: reportProgress
6106
+ });
6107
+ }
6108
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: UserPrintersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
6109
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: UserPrintersService, providedIn: 'root' });
6110
+ }
6111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: UserPrintersService, decorators: [{
6112
+ type: Injectable,
6113
+ args: [{
6114
+ providedIn: 'root'
6115
+ }]
6116
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
6117
+ type: Optional
6118
+ }, {
6119
+ type: Inject,
6120
+ args: [BASE_PATH]
6121
+ }] }, { type: Configuration, decorators: [{
6122
+ type: Optional
6123
+ }] }] });
6124
+
5936
6125
  /**
5937
6126
  * Wms.API.Client
5938
6127
  *
@@ -6202,7 +6391,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
6202
6391
  type: Optional
6203
6392
  }] }] });
6204
6393
 
6205
- const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, NotesService, PendoService, PermissionsService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessesService, ReplenishmentRecordsService, ReturnedItemsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService, WavePickReleasesService, WavesByPickReleaseIdService];
6394
+ const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, NotesService, PendoService, PermissionsService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessesService, ReplenishmentRecordsService, ReturnedItemsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserPrintersService, UsersInternalService, WavePickReleasesService, WavesByPickReleaseIdService];
6206
6395
 
6207
6396
  /**
6208
6397
  * Wms.API.Client
@@ -6636,6 +6825,22 @@ const PickingProcesses = {
6636
6825
  BatchPicking: 'BatchPicking'
6637
6826
  };
6638
6827
 
6828
+ /**
6829
+ * Wms.API.Client
6830
+ *
6831
+ *
6832
+ *
6833
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6834
+ * https://openapi-generator.tech
6835
+ * Do not edit the class manually.
6836
+ */
6837
+ const PrintTypes = {
6838
+ Label: 'Label',
6839
+ Document: 'Document',
6840
+ GiftMessageCard: 'GiftMessageCard',
6841
+ MultiTray: 'MultiTray'
6842
+ };
6843
+
6639
6844
  /**
6640
6845
  * Wms.API.Client
6641
6846
  *
@@ -7063,5 +7268,5 @@ function provideApi(configOrBasePath) {
7063
7268
  * Generated bundle index. Do not edit.
7064
7269
  */
7065
7270
 
7066
- 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, HealthService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickReleaseHistoryTypes, PickingProcesses, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessesService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReturnedItemsService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompanyType, UserService, UsersInternalService, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WaveStatuses, WavesByPickReleaseIdService, provideApi };
7271
+ 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, HealthService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickReleaseHistoryTypes, PickingProcesses, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessesService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReturnedItemsService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WaveStatuses, WavesByPickReleaseIdService, provideApi };
7067
7272
  //# sourceMappingURL=indigina-wms-api.mjs.map