@teemill/pickfaces 0.33.0 → 0.33.1
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 +2 -2
- package/api.ts +17 -6
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +9 -3
- package/dist/api.js +11 -6
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +9 -3
- package/dist/esm/api.js +11 -6
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/PickfacesApi.md +4 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/pickfaces@0.33.
|
|
1
|
+
## @teemill/pickfaces@0.33.1
|
|
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.33.
|
|
39
|
+
npm install @teemill/pickfaces@0.33.1 --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.33.
|
|
7
|
+
* The version of the OpenAPI document: 0.33.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1199,10 +1199,11 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1199
1199
|
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
1200
1200
|
* @param {number} [pageToken] Page reference token
|
|
1201
1201
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1202
|
+
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
|
1202
1203
|
* @param {*} [options] Override http request option.
|
|
1203
1204
|
* @throws {RequiredError}
|
|
1204
1205
|
*/
|
|
1205
|
-
suggestPickfaces: async (project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1206
|
+
suggestPickfaces: async (project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, bulk?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1206
1207
|
// verify required parameter 'project' is not null or undefined
|
|
1207
1208
|
assertParamExists('suggestPickfaces', 'project', project)
|
|
1208
1209
|
// verify required parameter 'variantRef' is not null or undefined
|
|
@@ -1252,6 +1253,10 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1252
1253
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
1253
1254
|
}
|
|
1254
1255
|
|
|
1256
|
+
if (bulk !== undefined) {
|
|
1257
|
+
localVarQueryParameter['bulk'] = bulk;
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1255
1260
|
|
|
1256
1261
|
|
|
1257
1262
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1593,11 +1598,12 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
|
|
|
1593
1598
|
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
1594
1599
|
* @param {number} [pageToken] Page reference token
|
|
1595
1600
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1601
|
+
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
|
1596
1602
|
* @param {*} [options] Override http request option.
|
|
1597
1603
|
* @throws {RequiredError}
|
|
1598
1604
|
*/
|
|
1599
|
-
async suggestPickfaces(project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>> {
|
|
1600
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, options);
|
|
1605
|
+
async suggestPickfaces(project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, bulk?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>> {
|
|
1606
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, bulk, options);
|
|
1601
1607
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1602
1608
|
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.suggestPickfaces']?.[localVarOperationServerIndex]?.url;
|
|
1603
1609
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1788,7 +1794,7 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
|
|
|
1788
1794
|
* @throws {RequiredError}
|
|
1789
1795
|
*/
|
|
1790
1796
|
suggestPickfaces(requestParameters: PickfacesApiSuggestPickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListPickfaces200Response> {
|
|
1791
|
-
return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1797
|
+
return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, requestParameters.bulk, options).then((request) => request(axios, basePath));
|
|
1792
1798
|
},
|
|
1793
1799
|
/**
|
|
1794
1800
|
* Update a Pickface
|
|
@@ -2116,6 +2122,11 @@ export interface PickfacesApiSuggestPickfacesRequest {
|
|
|
2116
2122
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2117
2123
|
*/
|
|
2118
2124
|
readonly pageSize?: number
|
|
2125
|
+
|
|
2126
|
+
/**
|
|
2127
|
+
* Whether to suggest bulk pickfaces
|
|
2128
|
+
*/
|
|
2129
|
+
readonly bulk?: boolean
|
|
2119
2130
|
}
|
|
2120
2131
|
|
|
2121
2132
|
/**
|
|
@@ -2319,7 +2330,7 @@ export class PickfacesApi extends BaseAPI {
|
|
|
2319
2330
|
* @throws {RequiredError}
|
|
2320
2331
|
*/
|
|
2321
2332
|
public suggestPickfaces(requestParameters: PickfacesApiSuggestPickfacesRequest, options?: RawAxiosRequestConfig) {
|
|
2322
|
-
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));
|
|
2333
|
+
return PickfacesApiFp(this.configuration).suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, requestParameters.bulk, options).then((request) => request(this.axios, this.basePath));
|
|
2323
2334
|
}
|
|
2324
2335
|
|
|
2325
2336
|
/**
|
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.33.
|
|
7
|
+
* The version of the OpenAPI document: 0.33.1
|
|
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.33.
|
|
7
|
+
* The version of the OpenAPI document: 0.33.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Pickfaces API
|
|
4
4
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 0.33.
|
|
6
|
+
* The version of the OpenAPI document: 0.33.1
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* 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.33.
|
|
5
|
+
* The version of the OpenAPI document: 0.33.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -567,10 +567,11 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
567
567
|
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
568
568
|
* @param {number} [pageToken] Page reference token
|
|
569
569
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
570
|
+
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
|
570
571
|
* @param {*} [options] Override http request option.
|
|
571
572
|
* @throws {RequiredError}
|
|
572
573
|
*/
|
|
573
|
-
suggestPickfaces: (project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
574
|
+
suggestPickfaces: (project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, bulk?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
574
575
|
/**
|
|
575
576
|
* Update a Pickface
|
|
576
577
|
* @summary Update Pickface
|
|
@@ -742,10 +743,11 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
|
|
|
742
743
|
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
743
744
|
* @param {number} [pageToken] Page reference token
|
|
744
745
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
746
|
+
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
|
745
747
|
* @param {*} [options] Override http request option.
|
|
746
748
|
* @throws {RequiredError}
|
|
747
749
|
*/
|
|
748
|
-
suggestPickfaces(project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
|
|
750
|
+
suggestPickfaces(project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, bulk?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
|
|
749
751
|
/**
|
|
750
752
|
* Update a Pickface
|
|
751
753
|
* @summary Update Pickface
|
|
@@ -1165,6 +1167,10 @@ export interface PickfacesApiSuggestPickfacesRequest {
|
|
|
1165
1167
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1166
1168
|
*/
|
|
1167
1169
|
readonly pageSize?: number;
|
|
1170
|
+
/**
|
|
1171
|
+
* Whether to suggest bulk pickfaces
|
|
1172
|
+
*/
|
|
1173
|
+
readonly bulk?: boolean;
|
|
1168
1174
|
}
|
|
1169
1175
|
/**
|
|
1170
1176
|
* Request parameters for updatePickface operation in PickfacesApi.
|
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.33.
|
|
8
|
+
* The version of the OpenAPI document: 0.33.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -678,10 +678,11 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
678
678
|
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
679
679
|
* @param {number} [pageToken] Page reference token
|
|
680
680
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
681
|
+
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
|
681
682
|
* @param {*} [options] Override http request option.
|
|
682
683
|
* @throws {RequiredError}
|
|
683
684
|
*/
|
|
684
|
-
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 = {}) {
|
|
685
|
+
suggestPickfaces: (project_1, variantRef_1, quantity_1, sellThroughRate_1, pageToken_1, pageSize_1, bulk_1, ...args_1) => __awaiter(this, [project_1, variantRef_1, quantity_1, sellThroughRate_1, pageToken_1, pageSize_1, bulk_1, ...args_1], void 0, function* (project, variantRef, quantity, sellThroughRate, pageToken, pageSize, bulk, options = {}) {
|
|
685
686
|
// verify required parameter 'project' is not null or undefined
|
|
686
687
|
(0, common_1.assertParamExists)('suggestPickfaces', 'project', project);
|
|
687
688
|
// verify required parameter 'variantRef' is not null or undefined
|
|
@@ -721,6 +722,9 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
721
722
|
if (pageSize !== undefined) {
|
|
722
723
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
723
724
|
}
|
|
725
|
+
if (bulk !== undefined) {
|
|
726
|
+
localVarQueryParameter['bulk'] = bulk;
|
|
727
|
+
}
|
|
724
728
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
725
729
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
726
730
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1083,13 +1087,14 @@ const PickfacesApiFp = function (configuration) {
|
|
|
1083
1087
|
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
1084
1088
|
* @param {number} [pageToken] Page reference token
|
|
1085
1089
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1090
|
+
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
|
1086
1091
|
* @param {*} [options] Override http request option.
|
|
1087
1092
|
* @throws {RequiredError}
|
|
1088
1093
|
*/
|
|
1089
|
-
suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, options) {
|
|
1094
|
+
suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, bulk, options) {
|
|
1090
1095
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1091
1096
|
var _a, _b, _c;
|
|
1092
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, options);
|
|
1097
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, bulk, options);
|
|
1093
1098
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1094
1099
|
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;
|
|
1095
1100
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1287,7 +1292,7 @@ const PickfacesApiFactory = function (configuration, basePath, axios) {
|
|
|
1287
1292
|
* @throws {RequiredError}
|
|
1288
1293
|
*/
|
|
1289
1294
|
suggestPickfaces(requestParameters, options) {
|
|
1290
|
-
return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1295
|
+
return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, requestParameters.bulk, options).then((request) => request(axios, basePath));
|
|
1291
1296
|
},
|
|
1292
1297
|
/**
|
|
1293
1298
|
* Update a Pickface
|
|
@@ -1464,7 +1469,7 @@ class PickfacesApi extends base_1.BaseAPI {
|
|
|
1464
1469
|
* @throws {RequiredError}
|
|
1465
1470
|
*/
|
|
1466
1471
|
suggestPickfaces(requestParameters, options) {
|
|
1467
|
-
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));
|
|
1472
|
+
return (0, exports.PickfacesApiFp)(this.configuration).suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, requestParameters.bulk, options).then((request) => request(this.axios, this.basePath));
|
|
1468
1473
|
}
|
|
1469
1474
|
/**
|
|
1470
1475
|
* 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.33.
|
|
5
|
+
* The version of the OpenAPI document: 0.33.1
|
|
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.33.
|
|
8
|
+
* The version of the OpenAPI document: 0.33.1
|
|
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.33.
|
|
5
|
+
* The version of the OpenAPI document: 0.33.1
|
|
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.33.
|
|
8
|
+
* The version of the OpenAPI document: 0.33.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.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.33.
|
|
5
|
+
* The version of the OpenAPI document: 0.33.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.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.33.
|
|
7
|
+
* The version of the OpenAPI document: 0.33.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* 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.33.
|
|
5
|
+
* The version of the OpenAPI document: 0.33.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -567,10 +567,11 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
567
567
|
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
568
568
|
* @param {number} [pageToken] Page reference token
|
|
569
569
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
570
|
+
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
|
570
571
|
* @param {*} [options] Override http request option.
|
|
571
572
|
* @throws {RequiredError}
|
|
572
573
|
*/
|
|
573
|
-
suggestPickfaces: (project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
574
|
+
suggestPickfaces: (project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, bulk?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
574
575
|
/**
|
|
575
576
|
* Update a Pickface
|
|
576
577
|
* @summary Update Pickface
|
|
@@ -742,10 +743,11 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
|
|
|
742
743
|
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
743
744
|
* @param {number} [pageToken] Page reference token
|
|
744
745
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
746
|
+
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
|
745
747
|
* @param {*} [options] Override http request option.
|
|
746
748
|
* @throws {RequiredError}
|
|
747
749
|
*/
|
|
748
|
-
suggestPickfaces(project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
|
|
750
|
+
suggestPickfaces(project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, bulk?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
|
|
749
751
|
/**
|
|
750
752
|
* Update a Pickface
|
|
751
753
|
* @summary Update Pickface
|
|
@@ -1165,6 +1167,10 @@ export interface PickfacesApiSuggestPickfacesRequest {
|
|
|
1165
1167
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1166
1168
|
*/
|
|
1167
1169
|
readonly pageSize?: number;
|
|
1170
|
+
/**
|
|
1171
|
+
* Whether to suggest bulk pickfaces
|
|
1172
|
+
*/
|
|
1173
|
+
readonly bulk?: boolean;
|
|
1168
1174
|
}
|
|
1169
1175
|
/**
|
|
1170
1176
|
* Request parameters for updatePickface operation in PickfacesApi.
|
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.33.
|
|
7
|
+
* The version of the OpenAPI document: 0.33.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -675,10 +675,11 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
675
675
|
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
676
676
|
* @param {number} [pageToken] Page reference token
|
|
677
677
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
678
|
+
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
|
678
679
|
* @param {*} [options] Override http request option.
|
|
679
680
|
* @throws {RequiredError}
|
|
680
681
|
*/
|
|
681
|
-
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 = {}) {
|
|
682
|
+
suggestPickfaces: (project_1, variantRef_1, quantity_1, sellThroughRate_1, pageToken_1, pageSize_1, bulk_1, ...args_1) => __awaiter(this, [project_1, variantRef_1, quantity_1, sellThroughRate_1, pageToken_1, pageSize_1, bulk_1, ...args_1], void 0, function* (project, variantRef, quantity, sellThroughRate, pageToken, pageSize, bulk, options = {}) {
|
|
682
683
|
// verify required parameter 'project' is not null or undefined
|
|
683
684
|
assertParamExists('suggestPickfaces', 'project', project);
|
|
684
685
|
// verify required parameter 'variantRef' is not null or undefined
|
|
@@ -718,6 +719,9 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
718
719
|
if (pageSize !== undefined) {
|
|
719
720
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
720
721
|
}
|
|
722
|
+
if (bulk !== undefined) {
|
|
723
|
+
localVarQueryParameter['bulk'] = bulk;
|
|
724
|
+
}
|
|
721
725
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
722
726
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
723
727
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1079,13 +1083,14 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
1079
1083
|
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
1080
1084
|
* @param {number} [pageToken] Page reference token
|
|
1081
1085
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1086
|
+
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
|
1082
1087
|
* @param {*} [options] Override http request option.
|
|
1083
1088
|
* @throws {RequiredError}
|
|
1084
1089
|
*/
|
|
1085
|
-
suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, options) {
|
|
1090
|
+
suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, bulk, options) {
|
|
1086
1091
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1087
1092
|
var _a, _b, _c;
|
|
1088
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, options);
|
|
1093
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, bulk, options);
|
|
1089
1094
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1090
1095
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.suggestPickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1091
1096
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1282,7 +1287,7 @@ export const PickfacesApiFactory = function (configuration, basePath, axios) {
|
|
|
1282
1287
|
* @throws {RequiredError}
|
|
1283
1288
|
*/
|
|
1284
1289
|
suggestPickfaces(requestParameters, options) {
|
|
1285
|
-
return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1290
|
+
return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, requestParameters.bulk, options).then((request) => request(axios, basePath));
|
|
1286
1291
|
},
|
|
1287
1292
|
/**
|
|
1288
1293
|
* Update a Pickface
|
|
@@ -1458,7 +1463,7 @@ export class PickfacesApi extends BaseAPI {
|
|
|
1458
1463
|
* @throws {RequiredError}
|
|
1459
1464
|
*/
|
|
1460
1465
|
suggestPickfaces(requestParameters, options) {
|
|
1461
|
-
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));
|
|
1466
|
+
return PickfacesApiFp(this.configuration).suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, requestParameters.bulk, options).then((request) => request(this.axios, this.basePath));
|
|
1462
1467
|
}
|
|
1463
1468
|
/**
|
|
1464
1469
|
* Update a Pickface
|
package/dist/esm/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.33.
|
|
5
|
+
* The version of the OpenAPI document: 0.33.1
|
|
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.33.
|
|
7
|
+
* The version of the OpenAPI document: 0.33.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/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.33.
|
|
5
|
+
* The version of the OpenAPI document: 0.33.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.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.33.
|
|
7
|
+
* The version of the OpenAPI document: 0.33.1
|
|
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.33.
|
|
5
|
+
* The version of the OpenAPI document: 0.33.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Pickfaces API
|
|
4
4
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 0.33.
|
|
6
|
+
* The version of the OpenAPI document: 0.33.1
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/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.33.
|
|
5
|
+
* The version of the OpenAPI document: 0.33.1
|
|
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.33.
|
|
7
|
+
* The version of the OpenAPI document: 0.33.1
|
|
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.33.
|
|
5
|
+
* The version of the OpenAPI document: 0.33.1
|
|
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.33.
|
|
8
|
+
* The version of the OpenAPI document: 0.33.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/PickfacesApi.md
CHANGED
|
@@ -906,6 +906,7 @@ let quantity: number; //Number of variants (default to undefined)
|
|
|
906
906
|
let sellThroughRate: number; //The sell through rate of the variant to use when suggesting pickfaces (optional) (default to undefined)
|
|
907
907
|
let pageToken: number; //Page reference token (optional) (default to 1)
|
|
908
908
|
let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 100)
|
|
909
|
+
let bulk: boolean; //Whether to suggest bulk pickfaces (optional) (default to false)
|
|
909
910
|
|
|
910
911
|
const { status, data } = await apiInstance.suggestPickfaces(
|
|
911
912
|
project,
|
|
@@ -913,7 +914,8 @@ const { status, data } = await apiInstance.suggestPickfaces(
|
|
|
913
914
|
quantity,
|
|
914
915
|
sellThroughRate,
|
|
915
916
|
pageToken,
|
|
916
|
-
pageSize
|
|
917
|
+
pageSize,
|
|
918
|
+
bulk
|
|
917
919
|
);
|
|
918
920
|
```
|
|
919
921
|
|
|
@@ -927,6 +929,7 @@ const { status, data } = await apiInstance.suggestPickfaces(
|
|
|
927
929
|
| **sellThroughRate** | [**number**] | The sell through rate of the variant to use when suggesting pickfaces | (optional) defaults to undefined|
|
|
928
930
|
| **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
|
|
929
931
|
| **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
|
|
932
|
+
| **bulk** | [**boolean**] | Whether to suggest bulk pickfaces | (optional) defaults to false|
|
|
930
933
|
|
|
931
934
|
|
|
932
935
|
### Return type
|
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.33.
|
|
7
|
+
* The version of the OpenAPI document: 0.33.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|