@teemill/pickfaces 0.32.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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/pickfaces@0.32.0
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.32.0 --save
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.32.0
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.32.0
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.32.0
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
@@ -1,10 +1,9 @@
1
1
  /* tslint:disable */
2
- /* eslint-disable */
3
2
  /**
4
3
  * Pickfaces API
5
4
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
5
  *
7
- * The version of the OpenAPI document: 0.32.0
6
+ * The version of the OpenAPI document: 0.33.1
8
7
  *
9
8
  *
10
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,12 +11,24 @@
12
11
  * Do not edit the class manually.
13
12
  */
14
13
 
14
+ interface AWSv4Configuration {
15
+ options?: {
16
+ region?: string
17
+ service?: string
18
+ }
19
+ credentials?: {
20
+ accessKeyId?: string
21
+ secretAccessKey?: string,
22
+ sessionToken?: string
23
+ }
24
+ }
15
25
 
16
26
  export interface ConfigurationParameters {
17
27
  apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
18
28
  username?: string;
19
29
  password?: string;
20
30
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
31
+ awsv4?: AWSv4Configuration;
21
32
  basePath?: string;
22
33
  serverIndex?: number;
23
34
  baseOptions?: any;
@@ -44,6 +55,17 @@ export class Configuration {
44
55
  * @param scopes oauth2 scope
45
56
  */
46
57
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
58
+ /**
59
+ * parameter for aws4 signature security
60
+ * @param {Object} AWS4Signature - AWS4 Signature security
61
+ * @param {string} options.region - aws region
62
+ * @param {string} options.service - name of the service.
63
+ * @param {string} credentials.accessKeyId - aws access key id
64
+ * @param {string} credentials.secretAccessKey - aws access key
65
+ * @param {string} credentials.sessionToken - aws session token
66
+ * @memberof Configuration
67
+ */
68
+ awsv4?: AWSv4Configuration;
47
69
  /**
48
70
  * override base path
49
71
  */
@@ -70,6 +92,7 @@ export class Configuration {
70
92
  this.username = param.username;
71
93
  this.password = param.password;
72
94
  this.accessToken = param.accessToken;
95
+ this.awsv4 = param.awsv4;
73
96
  this.basePath = param.basePath;
74
97
  this.serverIndex = param.serverIndex;
75
98
  this.baseOptions = {
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.32.0
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.32.0
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.32.0
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.32.0
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.32.0
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.32.0
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).
@@ -2,18 +2,30 @@
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.32.0
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).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ interface AWSv4Configuration {
13
+ options?: {
14
+ region?: string;
15
+ service?: string;
16
+ };
17
+ credentials?: {
18
+ accessKeyId?: string;
19
+ secretAccessKey?: string;
20
+ sessionToken?: string;
21
+ };
22
+ }
12
23
  export interface ConfigurationParameters {
13
24
  apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
14
25
  username?: string;
15
26
  password?: string;
16
27
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
28
+ awsv4?: AWSv4Configuration;
17
29
  basePath?: string;
18
30
  serverIndex?: number;
19
31
  baseOptions?: any;
@@ -39,6 +51,17 @@ export declare class Configuration {
39
51
  * @param scopes oauth2 scope
40
52
  */
41
53
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
54
+ /**
55
+ * parameter for aws4 signature security
56
+ * @param {Object} AWS4Signature - AWS4 Signature security
57
+ * @param {string} options.region - aws region
58
+ * @param {string} options.service - name of the service.
59
+ * @param {string} credentials.accessKeyId - aws access key id
60
+ * @param {string} credentials.secretAccessKey - aws access key
61
+ * @param {string} credentials.sessionToken - aws session token
62
+ * @memberof Configuration
63
+ */
64
+ awsv4?: AWSv4Configuration;
42
65
  /**
43
66
  * override base path
44
67
  */
@@ -72,3 +95,4 @@ export declare class Configuration {
72
95
  */
73
96
  isJsonMime(mime: string): boolean;
74
97
  }
98
+ export {};
@@ -1,11 +1,10 @@
1
1
  "use strict";
2
2
  /* tslint:disable */
3
- /* eslint-disable */
4
3
  /**
5
4
  * Pickfaces API
6
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
7
6
  *
8
- * The version of the OpenAPI document: 0.32.0
7
+ * The version of the OpenAPI document: 0.33.1
9
8
  *
10
9
  *
11
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -21,6 +20,7 @@ class Configuration {
21
20
  this.username = param.username;
22
21
  this.password = param.password;
23
22
  this.accessToken = param.accessToken;
23
+ this.awsv4 = param.awsv4;
24
24
  this.basePath = param.basePath;
25
25
  this.serverIndex = param.serverIndex;
26
26
  this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
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.32.0
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.32.0
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
@@ -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.32.0
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.32.0
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.32.0
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).
@@ -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.32.0
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,18 +2,30 @@
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.32.0
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).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ interface AWSv4Configuration {
13
+ options?: {
14
+ region?: string;
15
+ service?: string;
16
+ };
17
+ credentials?: {
18
+ accessKeyId?: string;
19
+ secretAccessKey?: string;
20
+ sessionToken?: string;
21
+ };
22
+ }
12
23
  export interface ConfigurationParameters {
13
24
  apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
14
25
  username?: string;
15
26
  password?: string;
16
27
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
28
+ awsv4?: AWSv4Configuration;
17
29
  basePath?: string;
18
30
  serverIndex?: number;
19
31
  baseOptions?: any;
@@ -39,6 +51,17 @@ export declare class Configuration {
39
51
  * @param scopes oauth2 scope
40
52
  */
41
53
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
54
+ /**
55
+ * parameter for aws4 signature security
56
+ * @param {Object} AWS4Signature - AWS4 Signature security
57
+ * @param {string} options.region - aws region
58
+ * @param {string} options.service - name of the service.
59
+ * @param {string} credentials.accessKeyId - aws access key id
60
+ * @param {string} credentials.secretAccessKey - aws access key
61
+ * @param {string} credentials.sessionToken - aws session token
62
+ * @memberof Configuration
63
+ */
64
+ awsv4?: AWSv4Configuration;
42
65
  /**
43
66
  * override base path
44
67
  */
@@ -72,3 +95,4 @@ export declare class Configuration {
72
95
  */
73
96
  isJsonMime(mime: string): boolean;
74
97
  }
98
+ export {};
@@ -1,10 +1,9 @@
1
1
  /* tslint:disable */
2
- /* eslint-disable */
3
2
  /**
4
3
  * Pickfaces API
5
4
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
5
  *
7
- * The version of the OpenAPI document: 0.32.0
6
+ * The version of the OpenAPI document: 0.33.1
8
7
  *
9
8
  *
10
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,6 +17,7 @@ export class Configuration {
18
17
  this.username = param.username;
19
18
  this.password = param.password;
20
19
  this.accessToken = param.accessToken;
20
+ this.awsv4 = param.awsv4;
21
21
  this.basePath = param.basePath;
22
22
  this.serverIndex = param.serverIndex;
23
23
  this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
@@ -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.32.0
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.32.0
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.32.0
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.32.0
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).
@@ -256,6 +256,7 @@ const { status, data } = await apiInstance.exportPickfaces(
256
256
  |**401** | Not authorised to access this resource | - |
257
257
  |**403** | Refuse to authorize | - |
258
258
  |**404** | Resource not found | - |
259
+ |**409** | Conflict | - |
259
260
  |**500** | Unknown server error | - |
260
261
 
261
262
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -905,6 +906,7 @@ let quantity: number; //Number of variants (default to undefined)
905
906
  let sellThroughRate: number; //The sell through rate of the variant to use when suggesting pickfaces (optional) (default to undefined)
906
907
  let pageToken: number; //Page reference token (optional) (default to 1)
907
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)
908
910
 
909
911
  const { status, data } = await apiInstance.suggestPickfaces(
910
912
  project,
@@ -912,7 +914,8 @@ const { status, data } = await apiInstance.suggestPickfaces(
912
914
  quantity,
913
915
  sellThroughRate,
914
916
  pageToken,
915
- pageSize
917
+ pageSize,
918
+ bulk
916
919
  );
917
920
  ```
918
921
 
@@ -926,6 +929,7 @@ const { status, data } = await apiInstance.suggestPickfaces(
926
929
  | **sellThroughRate** | [**number**] | The sell through rate of the variant to use when suggesting pickfaces | (optional) defaults to undefined|
927
930
  | **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
928
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|
929
933
 
930
934
 
931
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.32.0
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/pickfaces",
3
- "version": "0.32.0",
3
+ "version": "0.33.1",
4
4
  "description": "OpenAPI client for @teemill/pickfaces",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {