@indigina/wms-api 0.0.121 → 0.0.123

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.123
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.123 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -3356,6 +3356,41 @@ class NotesService extends BaseService {
3356
3356
  reportProgress: reportProgress
3357
3357
  });
3358
3358
  }
3359
+ deleteNote(id, observe = 'body', reportProgress = false, options) {
3360
+ if (id === null || id === undefined) {
3361
+ throw new Error('Required parameter id was null or undefined when calling deleteNote.');
3362
+ }
3363
+ let localVarHeaders = this.defaultHeaders;
3364
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
3365
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3366
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3367
+ }
3368
+ const localVarHttpContext = options?.context ?? new HttpContext();
3369
+ const localVarTransferCache = options?.transferCache ?? true;
3370
+ let responseType_ = 'json';
3371
+ if (localVarHttpHeaderAcceptSelected) {
3372
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3373
+ responseType_ = 'text';
3374
+ }
3375
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3376
+ responseType_ = 'json';
3377
+ }
3378
+ else {
3379
+ responseType_ = 'blob';
3380
+ }
3381
+ }
3382
+ let localVarPath = `/notes/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
3383
+ const { basePath, withCredentials } = this.configuration;
3384
+ return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
3385
+ context: localVarHttpContext,
3386
+ responseType: responseType_,
3387
+ ...(withCredentials ? { withCredentials } : {}),
3388
+ headers: localVarHeaders,
3389
+ observe: observe,
3390
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3391
+ reportProgress: reportProgress
3392
+ });
3393
+ }
3359
3394
  getNoteByCategory(sourceId, type, category, observe = 'body', reportProgress = false, options) {
3360
3395
  if (sourceId === null || sourceId === undefined) {
3361
3396
  throw new Error('Required parameter sourceId was null or undefined when calling getNoteByCategory.');
@@ -3639,6 +3674,80 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
3639
3674
  type: Optional
3640
3675
  }] }] });
3641
3676
 
3677
+ /**
3678
+ * Wms.API.Client
3679
+ *
3680
+ *
3681
+ *
3682
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3683
+ * https://openapi-generator.tech
3684
+ * Do not edit the class manually.
3685
+ */
3686
+ /* tslint:disable:no-unused-variable member-ordering */
3687
+ class PrintersService extends BaseService {
3688
+ httpClient;
3689
+ constructor(httpClient, basePath, configuration) {
3690
+ super(basePath, configuration);
3691
+ this.httpClient = httpClient;
3692
+ }
3693
+ getPrinters($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
3694
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
3695
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
3696
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
3697
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
3698
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
3699
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
3700
+ let localVarHeaders = this.defaultHeaders;
3701
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3702
+ 'application/json'
3703
+ ]);
3704
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3705
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3706
+ }
3707
+ const localVarHttpContext = options?.context ?? new HttpContext();
3708
+ const localVarTransferCache = options?.transferCache ?? true;
3709
+ let responseType_ = 'json';
3710
+ if (localVarHttpHeaderAcceptSelected) {
3711
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3712
+ responseType_ = 'text';
3713
+ }
3714
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3715
+ responseType_ = 'json';
3716
+ }
3717
+ else {
3718
+ responseType_ = 'blob';
3719
+ }
3720
+ }
3721
+ let localVarPath = `/printers`;
3722
+ const { basePath, withCredentials } = this.configuration;
3723
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
3724
+ context: localVarHttpContext,
3725
+ params: localVarQueryParameters.toHttpParams(),
3726
+ responseType: responseType_,
3727
+ ...(withCredentials ? { withCredentials } : {}),
3728
+ headers: localVarHeaders,
3729
+ observe: observe,
3730
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3731
+ reportProgress: reportProgress
3732
+ });
3733
+ }
3734
+ 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 });
3735
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PrintersService, providedIn: 'root' });
3736
+ }
3737
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PrintersService, decorators: [{
3738
+ type: Injectable,
3739
+ args: [{
3740
+ providedIn: 'root'
3741
+ }]
3742
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
3743
+ type: Optional
3744
+ }, {
3745
+ type: Inject,
3746
+ args: [BASE_PATH]
3747
+ }] }, { type: Configuration, decorators: [{
3748
+ type: Optional
3749
+ }] }] });
3750
+
3642
3751
  /**
3643
3752
  * Wms.API.Client
3644
3753
  *
@@ -5933,6 +6042,121 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
5933
6042
  type: Optional
5934
6043
  }] }] });
5935
6044
 
6045
+ /**
6046
+ * Wms.API.Client
6047
+ *
6048
+ *
6049
+ *
6050
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6051
+ * https://openapi-generator.tech
6052
+ * Do not edit the class manually.
6053
+ */
6054
+ /* tslint:disable:no-unused-variable member-ordering */
6055
+ class UserPrintersService extends BaseService {
6056
+ httpClient;
6057
+ constructor(httpClient, basePath, configuration) {
6058
+ super(basePath, configuration);
6059
+ this.httpClient = httpClient;
6060
+ }
6061
+ getUserPrinters($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
6062
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
6063
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
6064
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
6065
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
6066
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
6067
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
6068
+ let localVarHeaders = this.defaultHeaders;
6069
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
6070
+ 'application/json'
6071
+ ]);
6072
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
6073
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
6074
+ }
6075
+ const localVarHttpContext = options?.context ?? new HttpContext();
6076
+ const localVarTransferCache = options?.transferCache ?? true;
6077
+ let responseType_ = 'json';
6078
+ if (localVarHttpHeaderAcceptSelected) {
6079
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
6080
+ responseType_ = 'text';
6081
+ }
6082
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
6083
+ responseType_ = 'json';
6084
+ }
6085
+ else {
6086
+ responseType_ = 'blob';
6087
+ }
6088
+ }
6089
+ let localVarPath = `/userPrinters`;
6090
+ const { basePath, withCredentials } = this.configuration;
6091
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
6092
+ context: localVarHttpContext,
6093
+ params: localVarQueryParameters.toHttpParams(),
6094
+ responseType: responseType_,
6095
+ ...(withCredentials ? { withCredentials } : {}),
6096
+ headers: localVarHeaders,
6097
+ observe: observe,
6098
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
6099
+ reportProgress: reportProgress
6100
+ });
6101
+ }
6102
+ updateUserPrinters(userPrinter, observe = 'body', reportProgress = false, options) {
6103
+ let localVarHeaders = this.defaultHeaders;
6104
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
6105
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
6106
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
6107
+ }
6108
+ const localVarHttpContext = options?.context ?? new HttpContext();
6109
+ const localVarTransferCache = options?.transferCache ?? true;
6110
+ // to determine the Content-Type header
6111
+ const consumes = [
6112
+ 'application/json'
6113
+ ];
6114
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
6115
+ if (httpContentTypeSelected !== undefined) {
6116
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
6117
+ }
6118
+ let responseType_ = 'json';
6119
+ if (localVarHttpHeaderAcceptSelected) {
6120
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
6121
+ responseType_ = 'text';
6122
+ }
6123
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
6124
+ responseType_ = 'json';
6125
+ }
6126
+ else {
6127
+ responseType_ = 'blob';
6128
+ }
6129
+ }
6130
+ let localVarPath = `/userPrinters`;
6131
+ const { basePath, withCredentials } = this.configuration;
6132
+ return this.httpClient.request('put', `${basePath}${localVarPath}`, {
6133
+ context: localVarHttpContext,
6134
+ body: userPrinter,
6135
+ responseType: responseType_,
6136
+ ...(withCredentials ? { withCredentials } : {}),
6137
+ headers: localVarHeaders,
6138
+ observe: observe,
6139
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
6140
+ reportProgress: reportProgress
6141
+ });
6142
+ }
6143
+ 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 });
6144
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: UserPrintersService, providedIn: 'root' });
6145
+ }
6146
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: UserPrintersService, decorators: [{
6147
+ type: Injectable,
6148
+ args: [{
6149
+ providedIn: 'root'
6150
+ }]
6151
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
6152
+ type: Optional
6153
+ }, {
6154
+ type: Inject,
6155
+ args: [BASE_PATH]
6156
+ }] }, { type: Configuration, decorators: [{
6157
+ type: Optional
6158
+ }] }] });
6159
+
5936
6160
  /**
5937
6161
  * Wms.API.Client
5938
6162
  *
@@ -6202,7 +6426,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
6202
6426
  type: Optional
6203
6427
  }] }] });
6204
6428
 
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];
6429
+ 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
6430
 
6207
6431
  /**
6208
6432
  * Wms.API.Client
@@ -6636,6 +6860,22 @@ const PickingProcesses = {
6636
6860
  BatchPicking: 'BatchPicking'
6637
6861
  };
6638
6862
 
6863
+ /**
6864
+ * Wms.API.Client
6865
+ *
6866
+ *
6867
+ *
6868
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6869
+ * https://openapi-generator.tech
6870
+ * Do not edit the class manually.
6871
+ */
6872
+ const PrintTypes = {
6873
+ Label: 'Label',
6874
+ Document: 'Document',
6875
+ GiftMessageCard: 'GiftMessageCard',
6876
+ MultiTray: 'MultiTray'
6877
+ };
6878
+
6639
6879
  /**
6640
6880
  * Wms.API.Client
6641
6881
  *
@@ -7063,5 +7303,5 @@ function provideApi(configOrBasePath) {
7063
7303
  * Generated bundle index. Do not edit.
7064
7304
  */
7065
7305
 
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 };
7306
+ 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
7307
  //# sourceMappingURL=indigina-wms-api.mjs.map