@teemill/pickfaces 0.29.3 → 0.30.0

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
- ## @teemill/pickfaces@0.29.3
1
+ ## @teemill/pickfaces@0.30.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @teemill/pickfaces@0.29.3 --save
39
+ npm install @teemill/pickfaces@0.30.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -66,6 +66,7 @@ Class | Method | HTTP request | Description
66
66
  *PickfacesApi* | [**resolvePickfaceIssue**](docs/PickfacesApi.md#resolvepickfaceissue) | **POST** /v1/pickfaces/{pickfaceId}/issue/resolve | Resolve pickface issue
67
67
  *PickfacesApi* | [**suggestPickfaces**](docs/PickfacesApi.md#suggestpickfaces) | **GET** /v1/pickfaces/suggest | Suggest pickfaces
68
68
  *PickfacesApi* | [**updatePickface**](docs/PickfacesApi.md#updatepickface) | **PATCH** /v1/pickfaces/{pickfaceId} | Update Pickface
69
+ *PickfacesApi* | [**updatePickfaces**](docs/PickfacesApi.md#updatepickfaces) | **PATCH** /v1/pickfaces | Update pickfaces
69
70
 
70
71
 
71
72
  ### Documentation For Models
@@ -93,6 +94,8 @@ Class | Method | HTTP request | Description
93
94
  - [UpdatePickfaceRequestContentsInnerQuantity](docs/UpdatePickfaceRequestContentsInnerQuantity.md)
94
95
  - [UpdatePickfaceRequestContentsInnerQuantityAvailable](docs/UpdatePickfaceRequestContentsInnerQuantityAvailable.md)
95
96
  - [UpdatePickfaceRequestContentsInnerQuantityZWip](docs/UpdatePickfaceRequestContentsInnerQuantityZWip.md)
97
+ - [UpdatePickfacesRequest](docs/UpdatePickfacesRequest.md)
98
+ - [UpdatePickfacesRequestPickfacesInner](docs/UpdatePickfacesRequestPickfacesInner.md)
96
99
  - [VariantAttribute](docs/VariantAttribute.md)
97
100
  - [VariantAttributeThumbnail](docs/VariantAttributeThumbnail.md)
98
101
 
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
6
  *
7
- * The version of the OpenAPI document: 0.29.3
7
+ * The version of the OpenAPI document: 0.30.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -140,6 +140,12 @@ export interface CreatePickfaceRequest {
140
140
  * @memberof CreatePickfaceRequest
141
141
  */
142
142
  'zoneId'?: string;
143
+ /**
144
+ * The distance from the nearest label printer to the pickface in meters. This is used for put away recommendations.
145
+ * @type {number}
146
+ * @memberof CreatePickfaceRequest
147
+ */
148
+ 'distanceFromLabelPrinter'?: number | null;
143
149
  }
144
150
  /**
145
151
  *
@@ -339,6 +345,12 @@ export interface Pickface {
339
345
  * @memberof Pickface
340
346
  */
341
347
  'contents': Array<PickfaceContentsInner>;
348
+ /**
349
+ * The distance from the nearest label printer to the pickface in meters.
350
+ * @type {number}
351
+ * @memberof Pickface
352
+ */
353
+ 'distanceFromLabelPrinter': number | null;
342
354
  }
343
355
  /**
344
356
  *
@@ -581,6 +593,12 @@ export interface UpdatePickfaceRequest {
581
593
  * @memberof UpdatePickfaceRequest
582
594
  */
583
595
  'name'?: string | null;
596
+ /**
597
+ * The distance from the nearest label printer to the pickface in meters. This is used for put away recommendations.
598
+ * @type {number}
599
+ * @memberof UpdatePickfaceRequest
600
+ */
601
+ 'distanceFromLabelPrinter'?: number | null;
584
602
  /**
585
603
  *
586
604
  * @type {Array<UpdatePickfaceRequestContentsInner>}
@@ -688,6 +706,62 @@ export const UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum = {
688
706
 
689
707
  export type UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum = typeof UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum[keyof typeof UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum];
690
708
 
709
+ /**
710
+ *
711
+ * @export
712
+ * @interface UpdatePickfacesRequest
713
+ */
714
+ export interface UpdatePickfacesRequest {
715
+ /**
716
+ *
717
+ * @type {Array<UpdatePickfacesRequestPickfacesInner>}
718
+ * @memberof UpdatePickfacesRequest
719
+ */
720
+ 'pickfaces': Array<UpdatePickfacesRequestPickfacesInner>;
721
+ }
722
+ /**
723
+ *
724
+ * @export
725
+ * @interface UpdatePickfacesRequestPickfacesInner
726
+ */
727
+ export interface UpdatePickfacesRequestPickfacesInner {
728
+ /**
729
+ * Unique object identifier
730
+ * @type {string}
731
+ * @memberof UpdatePickfacesRequestPickfacesInner
732
+ */
733
+ 'id': string;
734
+ /**
735
+ * A user defined name for the pickface, if this is not provided the location will be used as the name.
736
+ * @type {string}
737
+ * @memberof UpdatePickfacesRequestPickfacesInner
738
+ */
739
+ 'name'?: string | null;
740
+ /**
741
+ * Whether the pickface is enabled
742
+ * @type {boolean}
743
+ * @memberof UpdatePickfacesRequestPickfacesInner
744
+ */
745
+ 'enabled'?: boolean;
746
+ /**
747
+ * Whether the pickface can contain mixed contents.
748
+ * @type {boolean}
749
+ * @memberof UpdatePickfacesRequestPickfacesInner
750
+ */
751
+ 'mixedContents'?: boolean;
752
+ /**
753
+ * Whether the pickface is used for bulk storage
754
+ * @type {boolean}
755
+ * @memberof UpdatePickfacesRequestPickfacesInner
756
+ */
757
+ 'bulk'?: boolean;
758
+ /**
759
+ * The distance from the nearest label printer to the pickface in meters. This is used for put away recommendations.
760
+ * @type {number}
761
+ * @memberof UpdatePickfacesRequestPickfacesInner
762
+ */
763
+ 'distanceFromLabelPrinter'?: number | null;
764
+ }
691
765
  /**
692
766
  *
693
767
  * @export
@@ -1571,6 +1645,56 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1571
1645
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1572
1646
  localVarRequestOptions.data = serializeDataIfNeeded(updatePickfaceRequest, localVarRequestOptions, configuration)
1573
1647
 
1648
+ return {
1649
+ url: toPathString(localVarUrlObj),
1650
+ options: localVarRequestOptions,
1651
+ };
1652
+ },
1653
+ /**
1654
+ * Update pickfaces in bulk
1655
+ * @summary Update pickfaces
1656
+ * @param {string} project The project ID
1657
+ * @param {UpdatePickfacesRequest} updatePickfacesRequest Update pickfaces in bulk schema
1658
+ * @param {*} [options] Override http request option.
1659
+ * @throws {RequiredError}
1660
+ */
1661
+ updatePickfaces: async (project: string, updatePickfacesRequest: UpdatePickfacesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1662
+ // verify required parameter 'project' is not null or undefined
1663
+ assertParamExists('updatePickfaces', 'project', project)
1664
+ // verify required parameter 'updatePickfacesRequest' is not null or undefined
1665
+ assertParamExists('updatePickfaces', 'updatePickfacesRequest', updatePickfacesRequest)
1666
+ const localVarPath = `/v1/pickfaces`;
1667
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1668
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1669
+ let baseOptions;
1670
+ if (configuration) {
1671
+ baseOptions = configuration.baseOptions;
1672
+ }
1673
+
1674
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
1675
+ const localVarHeaderParameter = {} as any;
1676
+ const localVarQueryParameter = {} as any;
1677
+
1678
+ // authentication session-oauth required
1679
+ // oauth required
1680
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
1681
+
1682
+ // authentication api-key required
1683
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1684
+
1685
+ if (project !== undefined) {
1686
+ localVarQueryParameter['project'] = project;
1687
+ }
1688
+
1689
+
1690
+
1691
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1692
+
1693
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1694
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1695
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1696
+ localVarRequestOptions.data = serializeDataIfNeeded(updatePickfacesRequest, localVarRequestOptions, configuration)
1697
+
1574
1698
  return {
1575
1699
  url: toPathString(localVarUrlObj),
1576
1700
  options: localVarRequestOptions,
@@ -1813,6 +1937,20 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1813
1937
  const localVarOperationServerBasePath = operationServerMap['PickfacesApi.updatePickface']?.[localVarOperationServerIndex]?.url;
1814
1938
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1815
1939
  },
1940
+ /**
1941
+ * Update pickfaces in bulk
1942
+ * @summary Update pickfaces
1943
+ * @param {string} project The project ID
1944
+ * @param {UpdatePickfacesRequest} updatePickfacesRequest Update pickfaces in bulk schema
1945
+ * @param {*} [options] Override http request option.
1946
+ * @throws {RequiredError}
1947
+ */
1948
+ async updatePickfaces(project: string, updatePickfacesRequest: UpdatePickfacesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>> {
1949
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatePickfaces(project, updatePickfacesRequest, options);
1950
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1951
+ const localVarOperationServerBasePath = operationServerMap['PickfacesApi.updatePickfaces']?.[localVarOperationServerIndex]?.url;
1952
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1953
+ },
1816
1954
  }
1817
1955
  };
1818
1956
 
@@ -1973,6 +2111,16 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
1973
2111
  updatePickface(requestParameters: PickfacesApiUpdatePickfaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface> {
1974
2112
  return localVarFp.updatePickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.updatePickfaceRequest, options).then((request) => request(axios, basePath));
1975
2113
  },
2114
+ /**
2115
+ * Update pickfaces in bulk
2116
+ * @summary Update pickfaces
2117
+ * @param {PickfacesApiUpdatePickfacesRequest} requestParameters Request parameters.
2118
+ * @param {*} [options] Override http request option.
2119
+ * @throws {RequiredError}
2120
+ */
2121
+ updatePickfaces(requestParameters: PickfacesApiUpdatePickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject> {
2122
+ return localVarFp.updatePickfaces(requestParameters.project, requestParameters.updatePickfacesRequest, options).then((request) => request(axios, basePath));
2123
+ },
1976
2124
  };
1977
2125
  };
1978
2126
 
@@ -2410,6 +2558,27 @@ export interface PickfacesApiUpdatePickfaceRequest {
2410
2558
  readonly updatePickfaceRequest: UpdatePickfaceRequest
2411
2559
  }
2412
2560
 
2561
+ /**
2562
+ * Request parameters for updatePickfaces operation in PickfacesApi.
2563
+ * @export
2564
+ * @interface PickfacesApiUpdatePickfacesRequest
2565
+ */
2566
+ export interface PickfacesApiUpdatePickfacesRequest {
2567
+ /**
2568
+ * The project ID
2569
+ * @type {string}
2570
+ * @memberof PickfacesApiUpdatePickfaces
2571
+ */
2572
+ readonly project: string
2573
+
2574
+ /**
2575
+ * Update pickfaces in bulk schema
2576
+ * @type {UpdatePickfacesRequest}
2577
+ * @memberof PickfacesApiUpdatePickfaces
2578
+ */
2579
+ readonly updatePickfacesRequest: UpdatePickfacesRequest
2580
+ }
2581
+
2413
2582
  /**
2414
2583
  * PickfacesApi - object-oriented interface
2415
2584
  * @export
@@ -2596,6 +2765,18 @@ export class PickfacesApi extends BaseAPI {
2596
2765
  public updatePickface(requestParameters: PickfacesApiUpdatePickfaceRequest, options?: RawAxiosRequestConfig) {
2597
2766
  return PickfacesApiFp(this.configuration).updatePickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.updatePickfaceRequest, options).then((request) => request(this.axios, this.basePath));
2598
2767
  }
2768
+
2769
+ /**
2770
+ * Update pickfaces in bulk
2771
+ * @summary Update pickfaces
2772
+ * @param {PickfacesApiUpdatePickfacesRequest} requestParameters Request parameters.
2773
+ * @param {*} [options] Override http request option.
2774
+ * @throws {RequiredError}
2775
+ * @memberof PickfacesApi
2776
+ */
2777
+ public updatePickfaces(requestParameters: PickfacesApiUpdatePickfacesRequest, options?: RawAxiosRequestConfig) {
2778
+ return PickfacesApiFp(this.configuration).updatePickfaces(requestParameters.project, requestParameters.updatePickfacesRequest, options).then((request) => request(this.axios, this.basePath));
2779
+ }
2599
2780
  }
2600
2781
 
2601
2782
  /**
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
6
  *
7
- * The version of the OpenAPI document: 0.29.3
7
+ * The version of the OpenAPI document: 0.30.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
6
  *
7
- * The version of the OpenAPI document: 0.29.3
7
+ * The version of the OpenAPI document: 0.30.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
6
  *
7
- * The version of the OpenAPI document: 0.29.3
7
+ * The version of the OpenAPI document: 0.30.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.29.3
5
+ * The version of the OpenAPI document: 0.30.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -130,6 +130,12 @@ export interface CreatePickfaceRequest {
130
130
  * @memberof CreatePickfaceRequest
131
131
  */
132
132
  'zoneId'?: string;
133
+ /**
134
+ * The distance from the nearest label printer to the pickface in meters. This is used for put away recommendations.
135
+ * @type {number}
136
+ * @memberof CreatePickfaceRequest
137
+ */
138
+ 'distanceFromLabelPrinter'?: number | null;
133
139
  }
134
140
  /**
135
141
  *
@@ -329,6 +335,12 @@ export interface Pickface {
329
335
  * @memberof Pickface
330
336
  */
331
337
  'contents': Array<PickfaceContentsInner>;
338
+ /**
339
+ * The distance from the nearest label printer to the pickface in meters.
340
+ * @type {number}
341
+ * @memberof Pickface
342
+ */
343
+ 'distanceFromLabelPrinter': number | null;
332
344
  }
333
345
  /**
334
346
  *
@@ -571,6 +583,12 @@ export interface UpdatePickfaceRequest {
571
583
  * @memberof UpdatePickfaceRequest
572
584
  */
573
585
  'name'?: string | null;
586
+ /**
587
+ * The distance from the nearest label printer to the pickface in meters. This is used for put away recommendations.
588
+ * @type {number}
589
+ * @memberof UpdatePickfaceRequest
590
+ */
591
+ 'distanceFromLabelPrinter'?: number | null;
574
592
  /**
575
593
  *
576
594
  * @type {Array<UpdatePickfaceRequestContentsInner>}
@@ -672,6 +690,62 @@ export declare const UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum
672
690
  readonly Set: "set";
673
691
  };
674
692
  export type UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum = typeof UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum[keyof typeof UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum];
693
+ /**
694
+ *
695
+ * @export
696
+ * @interface UpdatePickfacesRequest
697
+ */
698
+ export interface UpdatePickfacesRequest {
699
+ /**
700
+ *
701
+ * @type {Array<UpdatePickfacesRequestPickfacesInner>}
702
+ * @memberof UpdatePickfacesRequest
703
+ */
704
+ 'pickfaces': Array<UpdatePickfacesRequestPickfacesInner>;
705
+ }
706
+ /**
707
+ *
708
+ * @export
709
+ * @interface UpdatePickfacesRequestPickfacesInner
710
+ */
711
+ export interface UpdatePickfacesRequestPickfacesInner {
712
+ /**
713
+ * Unique object identifier
714
+ * @type {string}
715
+ * @memberof UpdatePickfacesRequestPickfacesInner
716
+ */
717
+ 'id': string;
718
+ /**
719
+ * A user defined name for the pickface, if this is not provided the location will be used as the name.
720
+ * @type {string}
721
+ * @memberof UpdatePickfacesRequestPickfacesInner
722
+ */
723
+ 'name'?: string | null;
724
+ /**
725
+ * Whether the pickface is enabled
726
+ * @type {boolean}
727
+ * @memberof UpdatePickfacesRequestPickfacesInner
728
+ */
729
+ 'enabled'?: boolean;
730
+ /**
731
+ * Whether the pickface can contain mixed contents.
732
+ * @type {boolean}
733
+ * @memberof UpdatePickfacesRequestPickfacesInner
734
+ */
735
+ 'mixedContents'?: boolean;
736
+ /**
737
+ * Whether the pickface is used for bulk storage
738
+ * @type {boolean}
739
+ * @memberof UpdatePickfacesRequestPickfacesInner
740
+ */
741
+ 'bulk'?: boolean;
742
+ /**
743
+ * The distance from the nearest label printer to the pickface in meters. This is used for put away recommendations.
744
+ * @type {number}
745
+ * @memberof UpdatePickfacesRequestPickfacesInner
746
+ */
747
+ 'distanceFromLabelPrinter'?: number | null;
748
+ }
675
749
  /**
676
750
  *
677
751
  * @export
@@ -879,6 +953,15 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
879
953
  * @throws {RequiredError}
880
954
  */
881
955
  updatePickface: (project: string, pickfaceId: string, updatePickfaceRequest: UpdatePickfaceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
956
+ /**
957
+ * Update pickfaces in bulk
958
+ * @summary Update pickfaces
959
+ * @param {string} project The project ID
960
+ * @param {UpdatePickfacesRequest} updatePickfacesRequest Update pickfaces in bulk schema
961
+ * @param {*} [options] Override http request option.
962
+ * @throws {RequiredError}
963
+ */
964
+ updatePickfaces: (project: string, updatePickfacesRequest: UpdatePickfacesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
882
965
  };
883
966
  /**
884
967
  * PickfacesApi - functional programming interface
@@ -1037,6 +1120,15 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
1037
1120
  * @throws {RequiredError}
1038
1121
  */
1039
1122
  updatePickface(project: string, pickfaceId: string, updatePickfaceRequest: UpdatePickfaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>>;
1123
+ /**
1124
+ * Update pickfaces in bulk
1125
+ * @summary Update pickfaces
1126
+ * @param {string} project The project ID
1127
+ * @param {UpdatePickfacesRequest} updatePickfacesRequest Update pickfaces in bulk schema
1128
+ * @param {*} [options] Override http request option.
1129
+ * @throws {RequiredError}
1130
+ */
1131
+ updatePickfaces(project: string, updatePickfacesRequest: UpdatePickfacesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>>;
1040
1132
  };
1041
1133
  /**
1042
1134
  * PickfacesApi - factory interface
@@ -1163,6 +1255,14 @@ export declare const PickfacesApiFactory: (configuration?: Configuration, basePa
1163
1255
  * @throws {RequiredError}
1164
1256
  */
1165
1257
  updatePickface(requestParameters: PickfacesApiUpdatePickfaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface>;
1258
+ /**
1259
+ * Update pickfaces in bulk
1260
+ * @summary Update pickfaces
1261
+ * @param {PickfacesApiUpdatePickfacesRequest} requestParameters Request parameters.
1262
+ * @param {*} [options] Override http request option.
1263
+ * @throws {RequiredError}
1264
+ */
1265
+ updatePickfaces(requestParameters: PickfacesApiUpdatePickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject>;
1166
1266
  };
1167
1267
  /**
1168
1268
  * Request parameters for createPickface operation in PickfacesApi.
@@ -1551,6 +1651,25 @@ export interface PickfacesApiUpdatePickfaceRequest {
1551
1651
  */
1552
1652
  readonly updatePickfaceRequest: UpdatePickfaceRequest;
1553
1653
  }
1654
+ /**
1655
+ * Request parameters for updatePickfaces operation in PickfacesApi.
1656
+ * @export
1657
+ * @interface PickfacesApiUpdatePickfacesRequest
1658
+ */
1659
+ export interface PickfacesApiUpdatePickfacesRequest {
1660
+ /**
1661
+ * The project ID
1662
+ * @type {string}
1663
+ * @memberof PickfacesApiUpdatePickfaces
1664
+ */
1665
+ readonly project: string;
1666
+ /**
1667
+ * Update pickfaces in bulk schema
1668
+ * @type {UpdatePickfacesRequest}
1669
+ * @memberof PickfacesApiUpdatePickfaces
1670
+ */
1671
+ readonly updatePickfacesRequest: UpdatePickfacesRequest;
1672
+ }
1554
1673
  /**
1555
1674
  * PickfacesApi - object-oriented interface
1556
1675
  * @export
@@ -1693,6 +1812,15 @@ export declare class PickfacesApi extends BaseAPI {
1693
1812
  * @memberof PickfacesApi
1694
1813
  */
1695
1814
  updatePickface(requestParameters: PickfacesApiUpdatePickfaceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Pickface, any>>;
1815
+ /**
1816
+ * Update pickfaces in bulk
1817
+ * @summary Update pickfaces
1818
+ * @param {PickfacesApiUpdatePickfacesRequest} requestParameters Request parameters.
1819
+ * @param {*} [options] Override http request option.
1820
+ * @throws {RequiredError}
1821
+ * @memberof PickfacesApi
1822
+ */
1823
+ updatePickfaces(requestParameters: PickfacesApiUpdatePickfacesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject, any>>;
1696
1824
  }
1697
1825
  /**
1698
1826
  * @export
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
6
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
7
7
  *
8
- * The version of the OpenAPI document: 0.29.3
8
+ * The version of the OpenAPI document: 0.30.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -735,6 +735,47 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
735
735
  options: localVarRequestOptions,
736
736
  };
737
737
  }),
738
+ /**
739
+ * Update pickfaces in bulk
740
+ * @summary Update pickfaces
741
+ * @param {string} project The project ID
742
+ * @param {UpdatePickfacesRequest} updatePickfacesRequest Update pickfaces in bulk schema
743
+ * @param {*} [options] Override http request option.
744
+ * @throws {RequiredError}
745
+ */
746
+ updatePickfaces: (project_1, updatePickfacesRequest_1, ...args_1) => __awaiter(this, [project_1, updatePickfacesRequest_1, ...args_1], void 0, function* (project, updatePickfacesRequest, options = {}) {
747
+ // verify required parameter 'project' is not null or undefined
748
+ (0, common_1.assertParamExists)('updatePickfaces', 'project', project);
749
+ // verify required parameter 'updatePickfacesRequest' is not null or undefined
750
+ (0, common_1.assertParamExists)('updatePickfaces', 'updatePickfacesRequest', updatePickfacesRequest);
751
+ const localVarPath = `/v1/pickfaces`;
752
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
753
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
754
+ let baseOptions;
755
+ if (configuration) {
756
+ baseOptions = configuration.baseOptions;
757
+ }
758
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
759
+ const localVarHeaderParameter = {};
760
+ const localVarQueryParameter = {};
761
+ // authentication session-oauth required
762
+ // oauth required
763
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
764
+ // authentication api-key required
765
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
766
+ if (project !== undefined) {
767
+ localVarQueryParameter['project'] = project;
768
+ }
769
+ localVarHeaderParameter['Content-Type'] = 'application/json';
770
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
771
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
772
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
773
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updatePickfacesRequest, localVarRequestOptions, configuration);
774
+ return {
775
+ url: (0, common_1.toPathString)(localVarUrlObj),
776
+ options: localVarRequestOptions,
777
+ };
778
+ }),
738
779
  };
739
780
  };
740
781
  exports.PickfacesApiAxiosParamCreator = PickfacesApiAxiosParamCreator;
@@ -1017,6 +1058,23 @@ const PickfacesApiFp = function (configuration) {
1017
1058
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1018
1059
  });
1019
1060
  },
1061
+ /**
1062
+ * Update pickfaces in bulk
1063
+ * @summary Update pickfaces
1064
+ * @param {string} project The project ID
1065
+ * @param {UpdatePickfacesRequest} updatePickfacesRequest Update pickfaces in bulk schema
1066
+ * @param {*} [options] Override http request option.
1067
+ * @throws {RequiredError}
1068
+ */
1069
+ updatePickfaces(project, updatePickfacesRequest, options) {
1070
+ return __awaiter(this, void 0, void 0, function* () {
1071
+ var _a, _b, _c;
1072
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePickfaces(project, updatePickfacesRequest, options);
1073
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1074
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PickfacesApi.updatePickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1075
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1076
+ });
1077
+ },
1020
1078
  };
1021
1079
  };
1022
1080
  exports.PickfacesApiFp = PickfacesApiFp;
@@ -1177,6 +1235,16 @@ const PickfacesApiFactory = function (configuration, basePath, axios) {
1177
1235
  updatePickface(requestParameters, options) {
1178
1236
  return localVarFp.updatePickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.updatePickfaceRequest, options).then((request) => request(axios, basePath));
1179
1237
  },
1238
+ /**
1239
+ * Update pickfaces in bulk
1240
+ * @summary Update pickfaces
1241
+ * @param {PickfacesApiUpdatePickfacesRequest} requestParameters Request parameters.
1242
+ * @param {*} [options] Override http request option.
1243
+ * @throws {RequiredError}
1244
+ */
1245
+ updatePickfaces(requestParameters, options) {
1246
+ return localVarFp.updatePickfaces(requestParameters.project, requestParameters.updatePickfacesRequest, options).then((request) => request(axios, basePath));
1247
+ },
1180
1248
  };
1181
1249
  };
1182
1250
  exports.PickfacesApiFactory = PickfacesApiFactory;
@@ -1352,6 +1420,17 @@ class PickfacesApi extends base_1.BaseAPI {
1352
1420
  updatePickface(requestParameters, options) {
1353
1421
  return (0, exports.PickfacesApiFp)(this.configuration).updatePickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.updatePickfaceRequest, options).then((request) => request(this.axios, this.basePath));
1354
1422
  }
1423
+ /**
1424
+ * Update pickfaces in bulk
1425
+ * @summary Update pickfaces
1426
+ * @param {PickfacesApiUpdatePickfacesRequest} requestParameters Request parameters.
1427
+ * @param {*} [options] Override http request option.
1428
+ * @throws {RequiredError}
1429
+ * @memberof PickfacesApi
1430
+ */
1431
+ updatePickfaces(requestParameters, options) {
1432
+ return (0, exports.PickfacesApiFp)(this.configuration).updatePickfaces(requestParameters.project, requestParameters.updatePickfacesRequest, options).then((request) => request(this.axios, this.basePath));
1433
+ }
1355
1434
  }
1356
1435
  exports.PickfacesApi = PickfacesApi;
1357
1436
  /**
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.29.3
5
+ * The version of the OpenAPI document: 0.30.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
6
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
7
7
  *
8
- * The version of the OpenAPI document: 0.29.3
8
+ * The version of the OpenAPI document: 0.30.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.29.3
5
+ * The version of the OpenAPI document: 0.30.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
6
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
7
7
  *
8
- * The version of the OpenAPI document: 0.29.3
8
+ * The version of the OpenAPI document: 0.30.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.29.3
5
+ * The version of the OpenAPI document: 0.30.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
6
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
7
7
  *
8
- * The version of the OpenAPI document: 0.29.3
8
+ * The version of the OpenAPI document: 0.30.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.29.3
5
+ * The version of the OpenAPI document: 0.30.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -130,6 +130,12 @@ export interface CreatePickfaceRequest {
130
130
  * @memberof CreatePickfaceRequest
131
131
  */
132
132
  'zoneId'?: string;
133
+ /**
134
+ * The distance from the nearest label printer to the pickface in meters. This is used for put away recommendations.
135
+ * @type {number}
136
+ * @memberof CreatePickfaceRequest
137
+ */
138
+ 'distanceFromLabelPrinter'?: number | null;
133
139
  }
134
140
  /**
135
141
  *
@@ -329,6 +335,12 @@ export interface Pickface {
329
335
  * @memberof Pickface
330
336
  */
331
337
  'contents': Array<PickfaceContentsInner>;
338
+ /**
339
+ * The distance from the nearest label printer to the pickface in meters.
340
+ * @type {number}
341
+ * @memberof Pickface
342
+ */
343
+ 'distanceFromLabelPrinter': number | null;
332
344
  }
333
345
  /**
334
346
  *
@@ -571,6 +583,12 @@ export interface UpdatePickfaceRequest {
571
583
  * @memberof UpdatePickfaceRequest
572
584
  */
573
585
  'name'?: string | null;
586
+ /**
587
+ * The distance from the nearest label printer to the pickface in meters. This is used for put away recommendations.
588
+ * @type {number}
589
+ * @memberof UpdatePickfaceRequest
590
+ */
591
+ 'distanceFromLabelPrinter'?: number | null;
574
592
  /**
575
593
  *
576
594
  * @type {Array<UpdatePickfaceRequestContentsInner>}
@@ -672,6 +690,62 @@ export declare const UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum
672
690
  readonly Set: "set";
673
691
  };
674
692
  export type UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum = typeof UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum[keyof typeof UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum];
693
+ /**
694
+ *
695
+ * @export
696
+ * @interface UpdatePickfacesRequest
697
+ */
698
+ export interface UpdatePickfacesRequest {
699
+ /**
700
+ *
701
+ * @type {Array<UpdatePickfacesRequestPickfacesInner>}
702
+ * @memberof UpdatePickfacesRequest
703
+ */
704
+ 'pickfaces': Array<UpdatePickfacesRequestPickfacesInner>;
705
+ }
706
+ /**
707
+ *
708
+ * @export
709
+ * @interface UpdatePickfacesRequestPickfacesInner
710
+ */
711
+ export interface UpdatePickfacesRequestPickfacesInner {
712
+ /**
713
+ * Unique object identifier
714
+ * @type {string}
715
+ * @memberof UpdatePickfacesRequestPickfacesInner
716
+ */
717
+ 'id': string;
718
+ /**
719
+ * A user defined name for the pickface, if this is not provided the location will be used as the name.
720
+ * @type {string}
721
+ * @memberof UpdatePickfacesRequestPickfacesInner
722
+ */
723
+ 'name'?: string | null;
724
+ /**
725
+ * Whether the pickface is enabled
726
+ * @type {boolean}
727
+ * @memberof UpdatePickfacesRequestPickfacesInner
728
+ */
729
+ 'enabled'?: boolean;
730
+ /**
731
+ * Whether the pickface can contain mixed contents.
732
+ * @type {boolean}
733
+ * @memberof UpdatePickfacesRequestPickfacesInner
734
+ */
735
+ 'mixedContents'?: boolean;
736
+ /**
737
+ * Whether the pickface is used for bulk storage
738
+ * @type {boolean}
739
+ * @memberof UpdatePickfacesRequestPickfacesInner
740
+ */
741
+ 'bulk'?: boolean;
742
+ /**
743
+ * The distance from the nearest label printer to the pickface in meters. This is used for put away recommendations.
744
+ * @type {number}
745
+ * @memberof UpdatePickfacesRequestPickfacesInner
746
+ */
747
+ 'distanceFromLabelPrinter'?: number | null;
748
+ }
675
749
  /**
676
750
  *
677
751
  * @export
@@ -879,6 +953,15 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
879
953
  * @throws {RequiredError}
880
954
  */
881
955
  updatePickface: (project: string, pickfaceId: string, updatePickfaceRequest: UpdatePickfaceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
956
+ /**
957
+ * Update pickfaces in bulk
958
+ * @summary Update pickfaces
959
+ * @param {string} project The project ID
960
+ * @param {UpdatePickfacesRequest} updatePickfacesRequest Update pickfaces in bulk schema
961
+ * @param {*} [options] Override http request option.
962
+ * @throws {RequiredError}
963
+ */
964
+ updatePickfaces: (project: string, updatePickfacesRequest: UpdatePickfacesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
882
965
  };
883
966
  /**
884
967
  * PickfacesApi - functional programming interface
@@ -1037,6 +1120,15 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
1037
1120
  * @throws {RequiredError}
1038
1121
  */
1039
1122
  updatePickface(project: string, pickfaceId: string, updatePickfaceRequest: UpdatePickfaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>>;
1123
+ /**
1124
+ * Update pickfaces in bulk
1125
+ * @summary Update pickfaces
1126
+ * @param {string} project The project ID
1127
+ * @param {UpdatePickfacesRequest} updatePickfacesRequest Update pickfaces in bulk schema
1128
+ * @param {*} [options] Override http request option.
1129
+ * @throws {RequiredError}
1130
+ */
1131
+ updatePickfaces(project: string, updatePickfacesRequest: UpdatePickfacesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>>;
1040
1132
  };
1041
1133
  /**
1042
1134
  * PickfacesApi - factory interface
@@ -1163,6 +1255,14 @@ export declare const PickfacesApiFactory: (configuration?: Configuration, basePa
1163
1255
  * @throws {RequiredError}
1164
1256
  */
1165
1257
  updatePickface(requestParameters: PickfacesApiUpdatePickfaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface>;
1258
+ /**
1259
+ * Update pickfaces in bulk
1260
+ * @summary Update pickfaces
1261
+ * @param {PickfacesApiUpdatePickfacesRequest} requestParameters Request parameters.
1262
+ * @param {*} [options] Override http request option.
1263
+ * @throws {RequiredError}
1264
+ */
1265
+ updatePickfaces(requestParameters: PickfacesApiUpdatePickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject>;
1166
1266
  };
1167
1267
  /**
1168
1268
  * Request parameters for createPickface operation in PickfacesApi.
@@ -1551,6 +1651,25 @@ export interface PickfacesApiUpdatePickfaceRequest {
1551
1651
  */
1552
1652
  readonly updatePickfaceRequest: UpdatePickfaceRequest;
1553
1653
  }
1654
+ /**
1655
+ * Request parameters for updatePickfaces operation in PickfacesApi.
1656
+ * @export
1657
+ * @interface PickfacesApiUpdatePickfacesRequest
1658
+ */
1659
+ export interface PickfacesApiUpdatePickfacesRequest {
1660
+ /**
1661
+ * The project ID
1662
+ * @type {string}
1663
+ * @memberof PickfacesApiUpdatePickfaces
1664
+ */
1665
+ readonly project: string;
1666
+ /**
1667
+ * Update pickfaces in bulk schema
1668
+ * @type {UpdatePickfacesRequest}
1669
+ * @memberof PickfacesApiUpdatePickfaces
1670
+ */
1671
+ readonly updatePickfacesRequest: UpdatePickfacesRequest;
1672
+ }
1554
1673
  /**
1555
1674
  * PickfacesApi - object-oriented interface
1556
1675
  * @export
@@ -1693,6 +1812,15 @@ export declare class PickfacesApi extends BaseAPI {
1693
1812
  * @memberof PickfacesApi
1694
1813
  */
1695
1814
  updatePickface(requestParameters: PickfacesApiUpdatePickfaceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Pickface, any>>;
1815
+ /**
1816
+ * Update pickfaces in bulk
1817
+ * @summary Update pickfaces
1818
+ * @param {PickfacesApiUpdatePickfacesRequest} requestParameters Request parameters.
1819
+ * @param {*} [options] Override http request option.
1820
+ * @throws {RequiredError}
1821
+ * @memberof PickfacesApi
1822
+ */
1823
+ updatePickfaces(requestParameters: PickfacesApiUpdatePickfacesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject, any>>;
1696
1824
  }
1697
1825
  /**
1698
1826
  * @export
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
6
  *
7
- * The version of the OpenAPI document: 0.29.3
7
+ * The version of the OpenAPI document: 0.30.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -732,6 +732,47 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
732
732
  options: localVarRequestOptions,
733
733
  };
734
734
  }),
735
+ /**
736
+ * Update pickfaces in bulk
737
+ * @summary Update pickfaces
738
+ * @param {string} project The project ID
739
+ * @param {UpdatePickfacesRequest} updatePickfacesRequest Update pickfaces in bulk schema
740
+ * @param {*} [options] Override http request option.
741
+ * @throws {RequiredError}
742
+ */
743
+ updatePickfaces: (project_1, updatePickfacesRequest_1, ...args_1) => __awaiter(this, [project_1, updatePickfacesRequest_1, ...args_1], void 0, function* (project, updatePickfacesRequest, options = {}) {
744
+ // verify required parameter 'project' is not null or undefined
745
+ assertParamExists('updatePickfaces', 'project', project);
746
+ // verify required parameter 'updatePickfacesRequest' is not null or undefined
747
+ assertParamExists('updatePickfaces', 'updatePickfacesRequest', updatePickfacesRequest);
748
+ const localVarPath = `/v1/pickfaces`;
749
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
750
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
751
+ let baseOptions;
752
+ if (configuration) {
753
+ baseOptions = configuration.baseOptions;
754
+ }
755
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
756
+ const localVarHeaderParameter = {};
757
+ const localVarQueryParameter = {};
758
+ // authentication session-oauth required
759
+ // oauth required
760
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
761
+ // authentication api-key required
762
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
763
+ if (project !== undefined) {
764
+ localVarQueryParameter['project'] = project;
765
+ }
766
+ localVarHeaderParameter['Content-Type'] = 'application/json';
767
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
768
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
769
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
770
+ localVarRequestOptions.data = serializeDataIfNeeded(updatePickfacesRequest, localVarRequestOptions, configuration);
771
+ return {
772
+ url: toPathString(localVarUrlObj),
773
+ options: localVarRequestOptions,
774
+ };
775
+ }),
735
776
  };
736
777
  };
737
778
  /**
@@ -1013,6 +1054,23 @@ export const PickfacesApiFp = function (configuration) {
1013
1054
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1014
1055
  });
1015
1056
  },
1057
+ /**
1058
+ * Update pickfaces in bulk
1059
+ * @summary Update pickfaces
1060
+ * @param {string} project The project ID
1061
+ * @param {UpdatePickfacesRequest} updatePickfacesRequest Update pickfaces in bulk schema
1062
+ * @param {*} [options] Override http request option.
1063
+ * @throws {RequiredError}
1064
+ */
1065
+ updatePickfaces(project, updatePickfacesRequest, options) {
1066
+ return __awaiter(this, void 0, void 0, function* () {
1067
+ var _a, _b, _c;
1068
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePickfaces(project, updatePickfacesRequest, options);
1069
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1070
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.updatePickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1071
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1072
+ });
1073
+ },
1016
1074
  };
1017
1075
  };
1018
1076
  /**
@@ -1172,6 +1230,16 @@ export const PickfacesApiFactory = function (configuration, basePath, axios) {
1172
1230
  updatePickface(requestParameters, options) {
1173
1231
  return localVarFp.updatePickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.updatePickfaceRequest, options).then((request) => request(axios, basePath));
1174
1232
  },
1233
+ /**
1234
+ * Update pickfaces in bulk
1235
+ * @summary Update pickfaces
1236
+ * @param {PickfacesApiUpdatePickfacesRequest} requestParameters Request parameters.
1237
+ * @param {*} [options] Override http request option.
1238
+ * @throws {RequiredError}
1239
+ */
1240
+ updatePickfaces(requestParameters, options) {
1241
+ return localVarFp.updatePickfaces(requestParameters.project, requestParameters.updatePickfacesRequest, options).then((request) => request(axios, basePath));
1242
+ },
1175
1243
  };
1176
1244
  };
1177
1245
  /**
@@ -1346,6 +1414,17 @@ export class PickfacesApi extends BaseAPI {
1346
1414
  updatePickface(requestParameters, options) {
1347
1415
  return PickfacesApiFp(this.configuration).updatePickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.updatePickfaceRequest, options).then((request) => request(this.axios, this.basePath));
1348
1416
  }
1417
+ /**
1418
+ * Update pickfaces in bulk
1419
+ * @summary Update pickfaces
1420
+ * @param {PickfacesApiUpdatePickfacesRequest} requestParameters Request parameters.
1421
+ * @param {*} [options] Override http request option.
1422
+ * @throws {RequiredError}
1423
+ * @memberof PickfacesApi
1424
+ */
1425
+ updatePickfaces(requestParameters, options) {
1426
+ return PickfacesApiFp(this.configuration).updatePickfaces(requestParameters.project, requestParameters.updatePickfacesRequest, options).then((request) => request(this.axios, this.basePath));
1427
+ }
1349
1428
  }
1350
1429
  /**
1351
1430
  * @export
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.29.3
5
+ * The version of the OpenAPI document: 0.30.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
6
  *
7
- * The version of the OpenAPI document: 0.29.3
7
+ * The version of the OpenAPI document: 0.30.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.29.3
5
+ * The version of the OpenAPI document: 0.30.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
6
  *
7
- * The version of the OpenAPI document: 0.29.3
7
+ * The version of the OpenAPI document: 0.30.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.29.3
5
+ * The version of the OpenAPI document: 0.30.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
6
  *
7
- * The version of the OpenAPI document: 0.29.3
7
+ * The version of the OpenAPI document: 0.30.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.29.3
5
+ * The version of the OpenAPI document: 0.30.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
6
  *
7
- * The version of the OpenAPI document: 0.29.3
7
+ * The version of the OpenAPI document: 0.30.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.29.3
5
+ * The version of the OpenAPI document: 0.30.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
6
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
7
7
  *
8
- * The version of the OpenAPI document: 0.29.3
8
+ * The version of the OpenAPI document: 0.30.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **bulk** | **boolean** | Whether the pickface is used for bulk storage | [optional] [default to false]
12
12
  **mixedContents** | **boolean** | Whether the pickface can contain mixed contents. | [optional] [default to false]
13
13
  **zoneId** | **string** | Typically this field is left empty. Use \&#39;Zones API\&#39; &gt; \&#39;List warehouse zones\&#39; to get a list of available options. | [optional] [default to undefined]
14
+ **distanceFromLabelPrinter** | **number** | The distance from the nearest label printer to the pickface in meters. This is used for put away recommendations. | [optional] [default to undefined]
14
15
 
15
16
  ## Example
16
17
 
@@ -24,6 +25,7 @@ const instance: CreatePickfaceRequest = {
24
25
  bulk,
25
26
  mixedContents,
26
27
  zoneId,
28
+ distanceFromLabelPrinter,
27
29
  };
28
30
  ```
29
31
 
package/docs/Pickface.md CHANGED
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
19
19
  **lastRestocked** | [**PickfaceLog**](PickfaceLog.md) | The last time the pickface was restocked | [default to undefined]
20
20
  **issue** | [**PickfaceIssue**](PickfaceIssue.md) | | [default to undefined]
21
21
  **contents** | [**Array&lt;PickfaceContentsInner&gt;**](PickfaceContentsInner.md) | | [default to undefined]
22
+ **distanceFromLabelPrinter** | **number** | The distance from the nearest label printer to the pickface in meters. | [default to undefined]
22
23
 
23
24
  ## Example
24
25
 
@@ -40,6 +41,7 @@ const instance: Pickface = {
40
41
  lastRestocked,
41
42
  issue,
42
43
  contents,
44
+ distanceFromLabelPrinter,
43
45
  };
44
46
  ```
45
47
 
@@ -19,6 +19,7 @@ All URIs are relative to *https://api.localhost:8080*
19
19
  |[**resolvePickfaceIssue**](#resolvepickfaceissue) | **POST** /v1/pickfaces/{pickfaceId}/issue/resolve | Resolve pickface issue|
20
20
  |[**suggestPickfaces**](#suggestpickfaces) | **GET** /v1/pickfaces/suggest | Suggest pickfaces|
21
21
  |[**updatePickface**](#updatepickface) | **PATCH** /v1/pickfaces/{pickfaceId} | Update Pickface|
22
+ |[**updatePickfaces**](#updatepickfaces) | **PATCH** /v1/pickfaces | Update pickfaces|
22
23
 
23
24
  # **createPickface**
24
25
  > Pickface createPickface(createPickfaceRequest)
@@ -955,3 +956,62 @@ const { status, data } = await apiInstance.updatePickface(
955
956
 
956
957
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
957
958
 
959
+ # **updatePickfaces**
960
+ > InlineObject updatePickfaces(updatePickfacesRequest)
961
+
962
+ Update pickfaces in bulk
963
+
964
+ ### Example
965
+
966
+ ```typescript
967
+ import {
968
+ PickfacesApi,
969
+ Configuration,
970
+ UpdatePickfacesRequest
971
+ } from '@teemill/pickfaces';
972
+
973
+ const configuration = new Configuration();
974
+ const apiInstance = new PickfacesApi(configuration);
975
+
976
+ let project: string; //The project ID (default to undefined)
977
+ let updatePickfacesRequest: UpdatePickfacesRequest; //Update pickfaces in bulk schema
978
+
979
+ const { status, data } = await apiInstance.updatePickfaces(
980
+ project,
981
+ updatePickfacesRequest
982
+ );
983
+ ```
984
+
985
+ ### Parameters
986
+
987
+ |Name | Type | Description | Notes|
988
+ |------------- | ------------- | ------------- | -------------|
989
+ | **updatePickfacesRequest** | **UpdatePickfacesRequest**| Update pickfaces in bulk schema | |
990
+ | **project** | [**string**] | The project ID | defaults to undefined|
991
+
992
+
993
+ ### Return type
994
+
995
+ **InlineObject**
996
+
997
+ ### Authorization
998
+
999
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
1000
+
1001
+ ### HTTP request headers
1002
+
1003
+ - **Content-Type**: application/json
1004
+ - **Accept**: application/json
1005
+
1006
+
1007
+ ### HTTP response details
1008
+ | Status code | Description | Response headers |
1009
+ |-------------|-------------|------------------|
1010
+ |**200** | Array of Pickface schemas | - |
1011
+ |**400** | Failed validation | - |
1012
+ |**401** | Not authorised to access this resource | - |
1013
+ |**403** | Refuse to authorize | - |
1014
+ |**500** | Unknown server error | - |
1015
+
1016
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
1017
+
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
12
12
  **mixedContents** | **boolean** | Whether the pickface can contain mixed contents. | [optional] [default to undefined]
13
13
  **bulk** | **boolean** | Whether the pickface is used for bulk storage | [optional] [default to undefined]
14
14
  **name** | **string** | A user defined name for the pickface, if this is not provided the location will be used as the name. | [optional] [default to undefined]
15
+ **distanceFromLabelPrinter** | **number** | The distance from the nearest label printer to the pickface in meters. This is used for put away recommendations. | [optional] [default to undefined]
15
16
  **contents** | [**Array&lt;UpdatePickfaceRequestContentsInner&gt;**](UpdatePickfaceRequestContentsInner.md) | | [optional] [default to undefined]
16
17
  **purchaseOrderId** | **string** | Unique object identifier | [optional] [default to undefined]
17
18
 
@@ -27,6 +28,7 @@ const instance: UpdatePickfaceRequest = {
27
28
  mixedContents,
28
29
  bulk,
29
30
  name,
31
+ distanceFromLabelPrinter,
30
32
  contents,
31
33
  purchaseOrderId,
32
34
  };
@@ -0,0 +1,20 @@
1
+ # UpdatePickfacesRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **pickfaces** | [**Array&lt;UpdatePickfacesRequestPickfacesInner&gt;**](UpdatePickfacesRequestPickfacesInner.md) | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { UpdatePickfacesRequest } from '@teemill/pickfaces';
14
+
15
+ const instance: UpdatePickfacesRequest = {
16
+ pickfaces,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,30 @@
1
+ # UpdatePickfacesRequestPickfacesInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | Unique object identifier | [default to undefined]
9
+ **name** | **string** | A user defined name for the pickface, if this is not provided the location will be used as the name. | [optional] [default to undefined]
10
+ **enabled** | **boolean** | Whether the pickface is enabled | [optional] [default to undefined]
11
+ **mixedContents** | **boolean** | Whether the pickface can contain mixed contents. | [optional] [default to undefined]
12
+ **bulk** | **boolean** | Whether the pickface is used for bulk storage | [optional] [default to undefined]
13
+ **distanceFromLabelPrinter** | **number** | The distance from the nearest label printer to the pickface in meters. This is used for put away recommendations. | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { UpdatePickfacesRequestPickfacesInner } from '@teemill/pickfaces';
19
+
20
+ const instance: UpdatePickfacesRequestPickfacesInner = {
21
+ id,
22
+ name,
23
+ enabled,
24
+ mixedContents,
25
+ bulk,
26
+ distanceFromLabelPrinter,
27
+ };
28
+ ```
29
+
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
6
  *
7
- * The version of the OpenAPI document: 0.29.3
7
+ * The version of the OpenAPI document: 0.30.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/pickfaces",
3
- "version": "0.29.3",
3
+ "version": "0.30.0",
4
4
  "description": "OpenAPI client for @teemill/pickfaces",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {