@indigina/wms-api 0.0.146 → 0.0.148

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.146
1
+ # @indigina/wms-api@0.0.148
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.146 --save
27
+ npm install @indigina/wms-api@0.0.148 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -3050,6 +3050,43 @@ class DispatchesService extends BaseService {
3050
3050
  reportProgress: reportProgress
3051
3051
  });
3052
3052
  }
3053
+ getDispatchCarriers(id, observe = 'body', reportProgress = false, options) {
3054
+ if (id === null || id === undefined) {
3055
+ throw new Error('Required parameter id was null or undefined when calling getDispatchCarriers.');
3056
+ }
3057
+ let localVarHeaders = this.defaultHeaders;
3058
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3059
+ 'application/json'
3060
+ ]);
3061
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3062
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3063
+ }
3064
+ const localVarHttpContext = options?.context ?? new HttpContext();
3065
+ const localVarTransferCache = options?.transferCache ?? true;
3066
+ let responseType_ = 'json';
3067
+ if (localVarHttpHeaderAcceptSelected) {
3068
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3069
+ responseType_ = 'text';
3070
+ }
3071
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3072
+ responseType_ = 'json';
3073
+ }
3074
+ else {
3075
+ responseType_ = 'blob';
3076
+ }
3077
+ }
3078
+ let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/carriers`;
3079
+ const { basePath, withCredentials } = this.configuration;
3080
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
3081
+ context: localVarHttpContext,
3082
+ responseType: responseType_,
3083
+ ...(withCredentials ? { withCredentials } : {}),
3084
+ headers: localVarHeaders,
3085
+ observe: observe,
3086
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3087
+ reportProgress: reportProgress
3088
+ });
3089
+ }
3053
3090
  getDispatchSummaryView(id, observe = 'body', reportProgress = false, options) {
3054
3091
  if (id === null || id === undefined) {
3055
3092
  throw new Error('Required parameter id was null or undefined when calling getDispatchSummaryView.');
@@ -3246,6 +3283,47 @@ class DispatchesService extends BaseService {
3246
3283
  reportProgress: reportProgress
3247
3284
  });
3248
3285
  }
3286
+ setDispatchCarrier(id, carrierId, observe = 'body', reportProgress = false, options) {
3287
+ if (id === null || id === undefined) {
3288
+ throw new Error('Required parameter id was null or undefined when calling setDispatchCarrier.');
3289
+ }
3290
+ if (carrierId === null || carrierId === undefined) {
3291
+ throw new Error('Required parameter carrierId was null or undefined when calling setDispatchCarrier.');
3292
+ }
3293
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
3294
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'carrierId', carrierId, QueryParamStyle.Form, true);
3295
+ let localVarHeaders = this.defaultHeaders;
3296
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
3297
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3298
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3299
+ }
3300
+ const localVarHttpContext = options?.context ?? new HttpContext();
3301
+ const localVarTransferCache = options?.transferCache ?? true;
3302
+ let responseType_ = 'json';
3303
+ if (localVarHttpHeaderAcceptSelected) {
3304
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3305
+ responseType_ = 'text';
3306
+ }
3307
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3308
+ responseType_ = 'json';
3309
+ }
3310
+ else {
3311
+ responseType_ = 'blob';
3312
+ }
3313
+ }
3314
+ let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/carrier`;
3315
+ const { basePath, withCredentials } = this.configuration;
3316
+ return this.httpClient.request('put', `${basePath}${localVarPath}`, {
3317
+ context: localVarHttpContext,
3318
+ params: localVarQueryParameters.toHttpParams(),
3319
+ responseType: responseType_,
3320
+ ...(withCredentials ? { withCredentials } : {}),
3321
+ headers: localVarHeaders,
3322
+ observe: observe,
3323
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3324
+ reportProgress: reportProgress
3325
+ });
3326
+ }
3249
3327
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3250
3328
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchesService, providedIn: 'root' });
3251
3329
  }
@@ -7593,6 +7671,16 @@ const DeviceType = {
7593
7671
  * Do not edit the class manually.
7594
7672
  */
7595
7673
 
7674
+ /**
7675
+ * Wms.API.Client
7676
+ *
7677
+ *
7678
+ *
7679
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7680
+ * https://openapi-generator.tech
7681
+ * Do not edit the class manually.
7682
+ */
7683
+
7596
7684
  /**
7597
7685
  * Wms.API.Client
7598
7686
  *
@@ -7799,7 +7887,9 @@ const PackingProcesses = {
7799
7887
  SkuPacking: 'SkuPacking',
7800
7888
  PickPack: 'PickPack',
7801
7889
  PickPackBySku: 'PickPackBySku',
7802
- BatchPacking: 'BatchPacking'
7890
+ BatchPacking: 'BatchPacking',
7891
+ DispatchPackingWeb: 'DispatchPackingWeb',
7892
+ SkuPackingWeb: 'SkuPackingWeb'
7803
7893
  };
7804
7894
 
7805
7895
  /**