@teemill/pickfaces 0.33.0 → 0.34.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.33.0
1
+ ## @teemill/pickfaces@0.34.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.33.0 --save
39
+ npm install @teemill/pickfaces@0.34.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.33.0
7
+ * The version of the OpenAPI document: 0.34.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -221,6 +221,10 @@ export interface PickfaceContentsInnerMetadata {
221
221
  * The SKU of the product
222
222
  */
223
223
  'sku': string | null;
224
+ /**
225
+ * The SKU of the variant
226
+ */
227
+ 'variantSku'?: string | null;
224
228
  /**
225
229
  * The image of the front of the product
226
230
  */
@@ -1199,10 +1203,11 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1199
1203
  * @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
1200
1204
  * @param {number} [pageToken] Page reference token
1201
1205
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1206
+ * @param {boolean} [bulk] Whether to suggest bulk pickfaces
1202
1207
  * @param {*} [options] Override http request option.
1203
1208
  * @throws {RequiredError}
1204
1209
  */
1205
- suggestPickfaces: async (project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1210
+ suggestPickfaces: async (project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, bulk?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1206
1211
  // verify required parameter 'project' is not null or undefined
1207
1212
  assertParamExists('suggestPickfaces', 'project', project)
1208
1213
  // verify required parameter 'variantRef' is not null or undefined
@@ -1252,6 +1257,10 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1252
1257
  localVarQueryParameter['pageSize'] = pageSize;
1253
1258
  }
1254
1259
 
1260
+ if (bulk !== undefined) {
1261
+ localVarQueryParameter['bulk'] = bulk;
1262
+ }
1263
+
1255
1264
 
1256
1265
 
1257
1266
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1593,11 +1602,12 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1593
1602
  * @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
1594
1603
  * @param {number} [pageToken] Page reference token
1595
1604
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1605
+ * @param {boolean} [bulk] Whether to suggest bulk pickfaces
1596
1606
  * @param {*} [options] Override http request option.
1597
1607
  * @throws {RequiredError}
1598
1608
  */
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);
1609
+ 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>> {
1610
+ const localVarAxiosArgs = await localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, bulk, options);
1601
1611
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1602
1612
  const localVarOperationServerBasePath = operationServerMap['PickfacesApi.suggestPickfaces']?.[localVarOperationServerIndex]?.url;
1603
1613
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1788,7 +1798,7 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
1788
1798
  * @throws {RequiredError}
1789
1799
  */
1790
1800
  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));
1801
+ return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, requestParameters.bulk, options).then((request) => request(axios, basePath));
1792
1802
  },
1793
1803
  /**
1794
1804
  * Update a Pickface
@@ -2116,6 +2126,11 @@ export interface PickfacesApiSuggestPickfacesRequest {
2116
2126
  * Max page size. This is the maximum page size that will be returned, but it might be smaller.
2117
2127
  */
2118
2128
  readonly pageSize?: number
2129
+
2130
+ /**
2131
+ * Whether to suggest bulk pickfaces
2132
+ */
2133
+ readonly bulk?: boolean
2119
2134
  }
2120
2135
 
2121
2136
  /**
@@ -2319,7 +2334,7 @@ export class PickfacesApi extends BaseAPI {
2319
2334
  * @throws {RequiredError}
2320
2335
  */
2321
2336
  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));
2337
+ 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
2338
  }
2324
2339
 
2325
2340
  /**
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.0
7
+ * The version of the OpenAPI document: 0.34.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.33.0
7
+ * The version of the OpenAPI document: 0.34.0
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.0
6
+ * The version of the OpenAPI document: 0.34.0
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.0
5
+ * The version of the OpenAPI document: 0.34.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -211,6 +211,10 @@ export interface PickfaceContentsInnerMetadata {
211
211
  * The SKU of the product
212
212
  */
213
213
  'sku': string | null;
214
+ /**
215
+ * The SKU of the variant
216
+ */
217
+ 'variantSku'?: string | null;
214
218
  /**
215
219
  * The image of the front of the product
216
220
  */
@@ -567,10 +571,11 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
567
571
  * @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
568
572
  * @param {number} [pageToken] Page reference token
569
573
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
574
+ * @param {boolean} [bulk] Whether to suggest bulk pickfaces
570
575
  * @param {*} [options] Override http request option.
571
576
  * @throws {RequiredError}
572
577
  */
573
- suggestPickfaces: (project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
578
+ suggestPickfaces: (project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, bulk?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
574
579
  /**
575
580
  * Update a Pickface
576
581
  * @summary Update Pickface
@@ -742,10 +747,11 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
742
747
  * @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
743
748
  * @param {number} [pageToken] Page reference token
744
749
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
750
+ * @param {boolean} [bulk] Whether to suggest bulk pickfaces
745
751
  * @param {*} [options] Override http request option.
746
752
  * @throws {RequiredError}
747
753
  */
748
- suggestPickfaces(project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
754
+ 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
755
  /**
750
756
  * Update a Pickface
751
757
  * @summary Update Pickface
@@ -1165,6 +1171,10 @@ export interface PickfacesApiSuggestPickfacesRequest {
1165
1171
  * Max page size. This is the maximum page size that will be returned, but it might be smaller.
1166
1172
  */
1167
1173
  readonly pageSize?: number;
1174
+ /**
1175
+ * Whether to suggest bulk pickfaces
1176
+ */
1177
+ readonly bulk?: boolean;
1168
1178
  }
1169
1179
  /**
1170
1180
  * 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.0
8
+ * The version of the OpenAPI document: 0.34.0
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.0
5
+ * The version of the OpenAPI document: 0.34.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.33.0
8
+ * The version of the OpenAPI document: 0.34.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.33.0
5
+ * The version of the OpenAPI document: 0.34.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.33.0
8
+ * The version of the OpenAPI document: 0.34.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.33.0
5
+ * The version of the OpenAPI document: 0.34.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.33.0
7
+ * The version of the OpenAPI document: 0.34.0
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.0
5
+ * The version of the OpenAPI document: 0.34.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -211,6 +211,10 @@ export interface PickfaceContentsInnerMetadata {
211
211
  * The SKU of the product
212
212
  */
213
213
  'sku': string | null;
214
+ /**
215
+ * The SKU of the variant
216
+ */
217
+ 'variantSku'?: string | null;
214
218
  /**
215
219
  * The image of the front of the product
216
220
  */
@@ -567,10 +571,11 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
567
571
  * @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
568
572
  * @param {number} [pageToken] Page reference token
569
573
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
574
+ * @param {boolean} [bulk] Whether to suggest bulk pickfaces
570
575
  * @param {*} [options] Override http request option.
571
576
  * @throws {RequiredError}
572
577
  */
573
- suggestPickfaces: (project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
578
+ suggestPickfaces: (project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, bulk?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
574
579
  /**
575
580
  * Update a Pickface
576
581
  * @summary Update Pickface
@@ -742,10 +747,11 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
742
747
  * @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
743
748
  * @param {number} [pageToken] Page reference token
744
749
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
750
+ * @param {boolean} [bulk] Whether to suggest bulk pickfaces
745
751
  * @param {*} [options] Override http request option.
746
752
  * @throws {RequiredError}
747
753
  */
748
- suggestPickfaces(project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
754
+ 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
755
  /**
750
756
  * Update a Pickface
751
757
  * @summary Update Pickface
@@ -1165,6 +1171,10 @@ export interface PickfacesApiSuggestPickfacesRequest {
1165
1171
  * Max page size. This is the maximum page size that will be returned, but it might be smaller.
1166
1172
  */
1167
1173
  readonly pageSize?: number;
1174
+ /**
1175
+ * Whether to suggest bulk pickfaces
1176
+ */
1177
+ readonly bulk?: boolean;
1168
1178
  }
1169
1179
  /**
1170
1180
  * 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.0
7
+ * The version of the OpenAPI document: 0.34.0
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
@@ -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.0
5
+ * The version of the OpenAPI document: 0.34.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.33.0
7
+ * The version of the OpenAPI document: 0.34.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.33.0
5
+ * The version of the OpenAPI document: 0.34.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.33.0
7
+ * The version of the OpenAPI document: 0.34.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.33.0
5
+ * The version of the OpenAPI document: 0.34.0
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.0
6
+ * The version of the OpenAPI document: 0.34.0
7
7
  *
8
8
  *
9
9
  * 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.0
5
+ * The version of the OpenAPI document: 0.34.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.33.0
7
+ * The version of the OpenAPI document: 0.34.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.33.0
5
+ * The version of the OpenAPI document: 0.34.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.33.0
8
+ * The version of the OpenAPI document: 0.34.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **title** | **string** | The title of the product | [default to undefined]
10
10
  **sku** | **string** | The SKU of the product | [default to undefined]
11
+ **variantSku** | **string** | The SKU of the variant | [optional] [default to undefined]
11
12
  **frontImage** | **string** | The image of the front of the product | [optional] [default to undefined]
12
13
  **backImage** | **string** | The image of the back of the product | [optional] [default to undefined]
13
14
  **attributes** | [**Array&lt;VariantAttribute&gt;**](VariantAttribute.md) | Attributes associated to a variant such as Colour and Size. An attribute can have thumbnail type of &#x60;text&#x60;, &#x60;color&#x60;, or &#x60;image&#x60;. | [optional] [default to undefined]
@@ -20,6 +21,7 @@ import { PickfaceContentsInnerMetadata } from '@teemill/pickfaces';
20
21
  const instance: PickfaceContentsInnerMetadata = {
21
22
  title,
22
23
  sku,
24
+ variantSku,
23
25
  frontImage,
24
26
  backImage,
25
27
  attributes,
@@ -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.0
7
+ * The version of the OpenAPI document: 0.34.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.33.0",
3
+ "version": "0.34.0",
4
4
  "description": "OpenAPI client for @teemill/pickfaces",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {