@teemill/pickfaces 0.21.0 → 0.22.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.21.0
1
+ ## @teemill/pickfaces@0.22.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.21.0 --save
39
+ npm install @teemill/pickfaces@0.22.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
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.21.0
7
+ * The version of the OpenAPI document: 0.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1366,12 +1366,13 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1366
1366
  * @param {string} project The project ID
1367
1367
  * @param {string} variantRef Unique identifier of a warehouse variant
1368
1368
  * @param {number} quantity Number of variants
1369
+ * @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
1369
1370
  * @param {number} [pageToken] Page reference token
1370
1371
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1371
1372
  * @param {*} [options] Override http request option.
1372
1373
  * @throws {RequiredError}
1373
1374
  */
1374
- suggestPickfaces: async (project: string, variantRef: string, quantity: number, pageToken?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1375
+ suggestPickfaces: async (project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1375
1376
  // verify required parameter 'project' is not null or undefined
1376
1377
  assertParamExists('suggestPickfaces', 'project', project)
1377
1378
  // verify required parameter 'variantRef' is not null or undefined
@@ -1409,6 +1410,10 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1409
1410
  localVarQueryParameter['quantity'] = quantity;
1410
1411
  }
1411
1412
 
1413
+ if (sellThroughRate !== undefined) {
1414
+ localVarQueryParameter['sellThroughRate'] = sellThroughRate;
1415
+ }
1416
+
1412
1417
  if (pageToken !== undefined) {
1413
1418
  localVarQueryParameter['pageToken'] = pageToken;
1414
1419
  }
@@ -1690,13 +1695,14 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1690
1695
  * @param {string} project The project ID
1691
1696
  * @param {string} variantRef Unique identifier of a warehouse variant
1692
1697
  * @param {number} quantity Number of variants
1698
+ * @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
1693
1699
  * @param {number} [pageToken] Page reference token
1694
1700
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1695
1701
  * @param {*} [options] Override http request option.
1696
1702
  * @throws {RequiredError}
1697
1703
  */
1698
- async suggestPickfaces(project: string, variantRef: string, quantity: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>> {
1699
- const localVarAxiosArgs = await localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, pageToken, pageSize, options);
1704
+ async suggestPickfaces(project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>> {
1705
+ const localVarAxiosArgs = await localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, options);
1700
1706
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1701
1707
  const localVarOperationServerBasePath = operationServerMap['PickfacesApi.suggestPickfaces']?.[localVarOperationServerIndex]?.url;
1702
1708
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1864,7 +1870,7 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
1864
1870
  * @throws {RequiredError}
1865
1871
  */
1866
1872
  suggestPickfaces(requestParameters: PickfacesApiSuggestPickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListPickfaces200Response> {
1867
- return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1873
+ return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1868
1874
  },
1869
1875
  /**
1870
1876
  * Update a Pickface
@@ -2249,6 +2255,13 @@ export interface PickfacesApiSuggestPickfacesRequest {
2249
2255
  */
2250
2256
  readonly quantity: number
2251
2257
 
2258
+ /**
2259
+ * The sell through rate of the variant to use when suggesting pickfaces
2260
+ * @type {number}
2261
+ * @memberof PickfacesApiSuggestPickfaces
2262
+ */
2263
+ readonly sellThroughRate?: number
2264
+
2252
2265
  /**
2253
2266
  * Page reference token
2254
2267
  * @type {number}
@@ -2464,7 +2477,7 @@ export class PickfacesApi extends BaseAPI {
2464
2477
  * @memberof PickfacesApi
2465
2478
  */
2466
2479
  public suggestPickfaces(requestParameters: PickfacesApiSuggestPickfacesRequest, options?: RawAxiosRequestConfig) {
2467
- return PickfacesApiFp(this.configuration).suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
2480
+ return PickfacesApiFp(this.configuration).suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
2468
2481
  }
2469
2482
 
2470
2483
  /**
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.21.0
7
+ * The version of the OpenAPI document: 0.22.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.21.0
7
+ * The version of the OpenAPI document: 0.22.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.21.0
7
+ * The version of the OpenAPI document: 0.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -90,11 +90,10 @@ export class Configuration {
90
90
  this.basePath = param.basePath;
91
91
  this.serverIndex = param.serverIndex;
92
92
  this.baseOptions = {
93
+ ...param.baseOptions,
93
94
  headers: {
94
95
  ...param.baseOptions?.headers,
95
- 'User-Agent': "OpenAPI-Generator/0.21.0/typescript-axios"
96
96
  },
97
- ...param.baseOptions
98
97
  };
99
98
  this.formDataCtor = param.formDataCtor;
100
99
  }
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.21.0
5
+ * The version of the OpenAPI document: 0.22.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -791,12 +791,13 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
791
791
  * @param {string} project The project ID
792
792
  * @param {string} variantRef Unique identifier of a warehouse variant
793
793
  * @param {number} quantity Number of variants
794
+ * @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
794
795
  * @param {number} [pageToken] Page reference token
795
796
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
796
797
  * @param {*} [options] Override http request option.
797
798
  * @throws {RequiredError}
798
799
  */
799
- suggestPickfaces: (project: string, variantRef: string, quantity: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
800
+ suggestPickfaces: (project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
800
801
  /**
801
802
  * Update a Pickface
802
803
  * @summary Update Pickface
@@ -946,12 +947,13 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
946
947
  * @param {string} project The project ID
947
948
  * @param {string} variantRef Unique identifier of a warehouse variant
948
949
  * @param {number} quantity Number of variants
950
+ * @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
949
951
  * @param {number} [pageToken] Page reference token
950
952
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
951
953
  * @param {*} [options] Override http request option.
952
954
  * @throws {RequiredError}
953
955
  */
954
- suggestPickfaces(project: string, variantRef: string, quantity: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
956
+ suggestPickfaces(project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
955
957
  /**
956
958
  * Update a Pickface
957
959
  * @summary Update Pickface
@@ -1420,6 +1422,12 @@ export interface PickfacesApiSuggestPickfacesRequest {
1420
1422
  * @memberof PickfacesApiSuggestPickfaces
1421
1423
  */
1422
1424
  readonly quantity: number;
1425
+ /**
1426
+ * The sell through rate of the variant to use when suggesting pickfaces
1427
+ * @type {number}
1428
+ * @memberof PickfacesApiSuggestPickfaces
1429
+ */
1430
+ readonly sellThroughRate?: number;
1423
1431
  /**
1424
1432
  * Page reference token
1425
1433
  * @type {number}
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.21.0
8
+ * The version of the OpenAPI document: 0.22.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -613,12 +613,13 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
613
613
  * @param {string} project The project ID
614
614
  * @param {string} variantRef Unique identifier of a warehouse variant
615
615
  * @param {number} quantity Number of variants
616
+ * @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
616
617
  * @param {number} [pageToken] Page reference token
617
618
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
618
619
  * @param {*} [options] Override http request option.
619
620
  * @throws {RequiredError}
620
621
  */
621
- suggestPickfaces: (project_1, variantRef_1, quantity_1, pageToken_1, pageSize_1, ...args_1) => __awaiter(this, [project_1, variantRef_1, quantity_1, pageToken_1, pageSize_1, ...args_1], void 0, function* (project, variantRef, quantity, pageToken, pageSize, options = {}) {
622
+ suggestPickfaces: (project_1, variantRef_1, quantity_1, sellThroughRate_1, pageToken_1, pageSize_1, ...args_1) => __awaiter(this, [project_1, variantRef_1, quantity_1, sellThroughRate_1, pageToken_1, pageSize_1, ...args_1], void 0, function* (project, variantRef, quantity, sellThroughRate, pageToken, pageSize, options = {}) {
622
623
  // verify required parameter 'project' is not null or undefined
623
624
  (0, common_1.assertParamExists)('suggestPickfaces', 'project', project);
624
625
  // verify required parameter 'variantRef' is not null or undefined
@@ -649,6 +650,9 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
649
650
  if (quantity !== undefined) {
650
651
  localVarQueryParameter['quantity'] = quantity;
651
652
  }
653
+ if (sellThroughRate !== undefined) {
654
+ localVarQueryParameter['sellThroughRate'] = sellThroughRate;
655
+ }
652
656
  if (pageToken !== undefined) {
653
657
  localVarQueryParameter['pageToken'] = pageToken;
654
658
  }
@@ -955,15 +959,16 @@ const PickfacesApiFp = function (configuration) {
955
959
  * @param {string} project The project ID
956
960
  * @param {string} variantRef Unique identifier of a warehouse variant
957
961
  * @param {number} quantity Number of variants
962
+ * @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
958
963
  * @param {number} [pageToken] Page reference token
959
964
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
960
965
  * @param {*} [options] Override http request option.
961
966
  * @throws {RequiredError}
962
967
  */
963
- suggestPickfaces(project, variantRef, quantity, pageToken, pageSize, options) {
968
+ suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, options) {
964
969
  return __awaiter(this, void 0, void 0, function* () {
965
970
  var _a, _b, _c;
966
- const localVarAxiosArgs = yield localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, pageToken, pageSize, options);
971
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, options);
967
972
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
968
973
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PickfacesApi.suggestPickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
969
974
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1135,7 +1140,7 @@ const PickfacesApiFactory = function (configuration, basePath, axios) {
1135
1140
  * @throws {RequiredError}
1136
1141
  */
1137
1142
  suggestPickfaces(requestParameters, options) {
1138
- return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1143
+ return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1139
1144
  },
1140
1145
  /**
1141
1146
  * Update a Pickface
@@ -1309,7 +1314,7 @@ class PickfacesApi extends base_1.BaseAPI {
1309
1314
  * @memberof PickfacesApi
1310
1315
  */
1311
1316
  suggestPickfaces(requestParameters, options) {
1312
- return (0, exports.PickfacesApiFp)(this.configuration).suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
1317
+ return (0, exports.PickfacesApiFp)(this.configuration).suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
1313
1318
  }
1314
1319
  /**
1315
1320
  * Update a Pickface
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.21.0
5
+ * The version of the OpenAPI document: 0.22.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.21.0
8
+ * The version of the OpenAPI document: 0.22.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.21.0
5
+ * The version of the OpenAPI document: 0.22.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
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.21.0
8
+ * The version of the OpenAPI document: 0.22.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.21.0
5
+ * The version of the OpenAPI document: 0.22.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.21.0
8
+ * The version of the OpenAPI document: 0.22.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -23,7 +23,7 @@ class Configuration {
23
23
  this.accessToken = param.accessToken;
24
24
  this.basePath = param.basePath;
25
25
  this.serverIndex = param.serverIndex;
26
- this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/0.21.0/typescript-axios" }) }, param.baseOptions);
26
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
27
27
  this.formDataCtor = param.formDataCtor;
28
28
  }
29
29
  /**
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.21.0
5
+ * The version of the OpenAPI document: 0.22.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -791,12 +791,13 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
791
791
  * @param {string} project The project ID
792
792
  * @param {string} variantRef Unique identifier of a warehouse variant
793
793
  * @param {number} quantity Number of variants
794
+ * @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
794
795
  * @param {number} [pageToken] Page reference token
795
796
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
796
797
  * @param {*} [options] Override http request option.
797
798
  * @throws {RequiredError}
798
799
  */
799
- suggestPickfaces: (project: string, variantRef: string, quantity: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
800
+ suggestPickfaces: (project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
800
801
  /**
801
802
  * Update a Pickface
802
803
  * @summary Update Pickface
@@ -946,12 +947,13 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
946
947
  * @param {string} project The project ID
947
948
  * @param {string} variantRef Unique identifier of a warehouse variant
948
949
  * @param {number} quantity Number of variants
950
+ * @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
949
951
  * @param {number} [pageToken] Page reference token
950
952
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
951
953
  * @param {*} [options] Override http request option.
952
954
  * @throws {RequiredError}
953
955
  */
954
- suggestPickfaces(project: string, variantRef: string, quantity: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
956
+ suggestPickfaces(project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
955
957
  /**
956
958
  * Update a Pickface
957
959
  * @summary Update Pickface
@@ -1420,6 +1422,12 @@ export interface PickfacesApiSuggestPickfacesRequest {
1420
1422
  * @memberof PickfacesApiSuggestPickfaces
1421
1423
  */
1422
1424
  readonly quantity: number;
1425
+ /**
1426
+ * The sell through rate of the variant to use when suggesting pickfaces
1427
+ * @type {number}
1428
+ * @memberof PickfacesApiSuggestPickfaces
1429
+ */
1430
+ readonly sellThroughRate?: number;
1423
1431
  /**
1424
1432
  * Page reference token
1425
1433
  * @type {number}
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.21.0
7
+ * The version of the OpenAPI document: 0.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -610,12 +610,13 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
610
610
  * @param {string} project The project ID
611
611
  * @param {string} variantRef Unique identifier of a warehouse variant
612
612
  * @param {number} quantity Number of variants
613
+ * @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
613
614
  * @param {number} [pageToken] Page reference token
614
615
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
615
616
  * @param {*} [options] Override http request option.
616
617
  * @throws {RequiredError}
617
618
  */
618
- suggestPickfaces: (project_1, variantRef_1, quantity_1, pageToken_1, pageSize_1, ...args_1) => __awaiter(this, [project_1, variantRef_1, quantity_1, pageToken_1, pageSize_1, ...args_1], void 0, function* (project, variantRef, quantity, pageToken, pageSize, options = {}) {
619
+ suggestPickfaces: (project_1, variantRef_1, quantity_1, sellThroughRate_1, pageToken_1, pageSize_1, ...args_1) => __awaiter(this, [project_1, variantRef_1, quantity_1, sellThroughRate_1, pageToken_1, pageSize_1, ...args_1], void 0, function* (project, variantRef, quantity, sellThroughRate, pageToken, pageSize, options = {}) {
619
620
  // verify required parameter 'project' is not null or undefined
620
621
  assertParamExists('suggestPickfaces', 'project', project);
621
622
  // verify required parameter 'variantRef' is not null or undefined
@@ -646,6 +647,9 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
646
647
  if (quantity !== undefined) {
647
648
  localVarQueryParameter['quantity'] = quantity;
648
649
  }
650
+ if (sellThroughRate !== undefined) {
651
+ localVarQueryParameter['sellThroughRate'] = sellThroughRate;
652
+ }
649
653
  if (pageToken !== undefined) {
650
654
  localVarQueryParameter['pageToken'] = pageToken;
651
655
  }
@@ -951,15 +955,16 @@ export const PickfacesApiFp = function (configuration) {
951
955
  * @param {string} project The project ID
952
956
  * @param {string} variantRef Unique identifier of a warehouse variant
953
957
  * @param {number} quantity Number of variants
958
+ * @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
954
959
  * @param {number} [pageToken] Page reference token
955
960
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
956
961
  * @param {*} [options] Override http request option.
957
962
  * @throws {RequiredError}
958
963
  */
959
- suggestPickfaces(project, variantRef, quantity, pageToken, pageSize, options) {
964
+ suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, options) {
960
965
  return __awaiter(this, void 0, void 0, function* () {
961
966
  var _a, _b, _c;
962
- const localVarAxiosArgs = yield localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, pageToken, pageSize, options);
967
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, options);
963
968
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
964
969
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.suggestPickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
965
970
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1130,7 +1135,7 @@ export const PickfacesApiFactory = function (configuration, basePath, axios) {
1130
1135
  * @throws {RequiredError}
1131
1136
  */
1132
1137
  suggestPickfaces(requestParameters, options) {
1133
- return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1138
+ return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1134
1139
  },
1135
1140
  /**
1136
1141
  * Update a Pickface
@@ -1303,7 +1308,7 @@ export class PickfacesApi extends BaseAPI {
1303
1308
  * @memberof PickfacesApi
1304
1309
  */
1305
1310
  suggestPickfaces(requestParameters, options) {
1306
- return PickfacesApiFp(this.configuration).suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
1311
+ return PickfacesApiFp(this.configuration).suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
1307
1312
  }
1308
1313
  /**
1309
1314
  * Update a Pickface
@@ -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.21.0
5
+ * The version of the OpenAPI document: 0.22.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.21.0
7
+ * The version of the OpenAPI document: 0.22.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.21.0
5
+ * The version of the OpenAPI document: 0.22.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -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.21.0
7
+ * The version of the OpenAPI document: 0.22.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.21.0
5
+ * The version of the OpenAPI document: 0.22.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.21.0
7
+ * The version of the OpenAPI document: 0.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -20,7 +20,7 @@ export class Configuration {
20
20
  this.accessToken = param.accessToken;
21
21
  this.basePath = param.basePath;
22
22
  this.serverIndex = param.serverIndex;
23
- this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/0.21.0/typescript-axios" }) }, param.baseOptions);
23
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
24
24
  this.formDataCtor = param.formDataCtor;
25
25
  }
26
26
  /**
@@ -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.21.0
5
+ * The version of the OpenAPI document: 0.22.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.21.0
7
+ * The version of the OpenAPI document: 0.22.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.21.0
5
+ * The version of the OpenAPI document: 0.22.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.21.0
8
+ * The version of the OpenAPI document: 0.22.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.21.0
7
+ * The version of the OpenAPI document: 0.22.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.21.0",
3
+ "version": "0.22.0",
4
4
  "description": "OpenAPI client for @teemill/pickfaces",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {