@teemill/pickfaces 0.20.1 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +81 -7
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -3
- package/dist/api.d.ts +73 -4
- package/dist/api.js +11 -6
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +73 -4
- 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 +2 -2
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- 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/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/pickfaces@0.
|
|
1
|
+
## @teemill/pickfaces@0.22.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/pickfaces@0.
|
|
39
|
+
npm install @teemill/pickfaces@0.22.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.22.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -110,12 +110,24 @@ export interface CreatePickfaceRequest {
|
|
|
110
110
|
* @memberof CreatePickfaceRequest
|
|
111
111
|
*/
|
|
112
112
|
'location': string;
|
|
113
|
+
/**
|
|
114
|
+
* A user defined name for the pickface, if this is not provided the location will be used as the name.
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof CreatePickfaceRequest
|
|
117
|
+
*/
|
|
118
|
+
'name'?: string | null;
|
|
113
119
|
/**
|
|
114
120
|
* Use \'Pickfaces API\' > \'List pickface container types\' to get a list of available options.
|
|
115
121
|
* @type {string}
|
|
116
122
|
* @memberof CreatePickfaceRequest
|
|
117
123
|
*/
|
|
118
124
|
'containerTypeId': string;
|
|
125
|
+
/**
|
|
126
|
+
* Whether the pickface can contain mixed contents.
|
|
127
|
+
* @type {boolean}
|
|
128
|
+
* @memberof CreatePickfaceRequest
|
|
129
|
+
*/
|
|
130
|
+
'mixedContents'?: boolean;
|
|
119
131
|
/**
|
|
120
132
|
* Typically this field is left empty. Use \'Zones API\' > \'List warehouse zones\' to get a list of available options.
|
|
121
133
|
* @type {string}
|
|
@@ -250,7 +262,13 @@ export interface Pickface {
|
|
|
250
262
|
*/
|
|
251
263
|
'ref'?: string;
|
|
252
264
|
/**
|
|
253
|
-
*
|
|
265
|
+
*
|
|
266
|
+
* @type {PickfaceZone}
|
|
267
|
+
* @memberof Pickface
|
|
268
|
+
*/
|
|
269
|
+
'zone'?: PickfaceZone | null;
|
|
270
|
+
/**
|
|
271
|
+
* The human readable location of the pickface, if a name is provided this will be the name.
|
|
254
272
|
* @type {string}
|
|
255
273
|
* @memberof Pickface
|
|
256
274
|
*/
|
|
@@ -261,6 +279,12 @@ export interface Pickface {
|
|
|
261
279
|
* @memberof Pickface
|
|
262
280
|
*/
|
|
263
281
|
'enabled'?: boolean;
|
|
282
|
+
/**
|
|
283
|
+
* Whether the pickface can contain mixed contents.
|
|
284
|
+
* @type {boolean}
|
|
285
|
+
* @memberof Pickface
|
|
286
|
+
*/
|
|
287
|
+
'mixedContents'?: boolean;
|
|
264
288
|
/**
|
|
265
289
|
*
|
|
266
290
|
* @type {PickfaceContainerType}
|
|
@@ -528,6 +552,31 @@ export interface PickfaceLog {
|
|
|
528
552
|
*/
|
|
529
553
|
'createdAt'?: string;
|
|
530
554
|
}
|
|
555
|
+
/**
|
|
556
|
+
*
|
|
557
|
+
* @export
|
|
558
|
+
* @interface PickfaceZone
|
|
559
|
+
*/
|
|
560
|
+
export interface PickfaceZone {
|
|
561
|
+
/**
|
|
562
|
+
* Unique object identifier
|
|
563
|
+
* @type {string}
|
|
564
|
+
* @memberof PickfaceZone
|
|
565
|
+
*/
|
|
566
|
+
'id'?: string;
|
|
567
|
+
/**
|
|
568
|
+
* A reference to the resource location
|
|
569
|
+
* @type {string}
|
|
570
|
+
* @memberof PickfaceZone
|
|
571
|
+
*/
|
|
572
|
+
'ref'?: string;
|
|
573
|
+
/**
|
|
574
|
+
* The name of the zone the pickface is in
|
|
575
|
+
* @type {string}
|
|
576
|
+
* @memberof PickfaceZone
|
|
577
|
+
*/
|
|
578
|
+
'name'?: string;
|
|
579
|
+
}
|
|
531
580
|
/**
|
|
532
581
|
* A list of updates to apply to the pickface.
|
|
533
582
|
* @export
|
|
@@ -552,6 +601,18 @@ export interface UpdatePickfaceRequest {
|
|
|
552
601
|
* @memberof UpdatePickfaceRequest
|
|
553
602
|
*/
|
|
554
603
|
'zoneId'?: string;
|
|
604
|
+
/**
|
|
605
|
+
* Whether the pickface can contain mixed contents.
|
|
606
|
+
* @type {boolean}
|
|
607
|
+
* @memberof UpdatePickfaceRequest
|
|
608
|
+
*/
|
|
609
|
+
'mixedContents'?: boolean;
|
|
610
|
+
/**
|
|
611
|
+
* A user defined name for the pickface, if this is not provided the location will be used as the name.
|
|
612
|
+
* @type {string}
|
|
613
|
+
* @memberof UpdatePickfaceRequest
|
|
614
|
+
*/
|
|
615
|
+
'name'?: string | null;
|
|
555
616
|
/**
|
|
556
617
|
*
|
|
557
618
|
* @type {Array<UpdatePickfaceRequestContentsInner>}
|
|
@@ -1305,12 +1366,13 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1305
1366
|
* @param {string} project The project ID
|
|
1306
1367
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
1307
1368
|
* @param {number} quantity Number of variants
|
|
1369
|
+
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
1308
1370
|
* @param {number} [pageToken] Page reference token
|
|
1309
1371
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1310
1372
|
* @param {*} [options] Override http request option.
|
|
1311
1373
|
* @throws {RequiredError}
|
|
1312
1374
|
*/
|
|
1313
|
-
suggestPickfaces: async (project: string, variantRef: string, quantity: number, pageToken?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1375
|
+
suggestPickfaces: async (project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1314
1376
|
// verify required parameter 'project' is not null or undefined
|
|
1315
1377
|
assertParamExists('suggestPickfaces', 'project', project)
|
|
1316
1378
|
// verify required parameter 'variantRef' is not null or undefined
|
|
@@ -1348,6 +1410,10 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1348
1410
|
localVarQueryParameter['quantity'] = quantity;
|
|
1349
1411
|
}
|
|
1350
1412
|
|
|
1413
|
+
if (sellThroughRate !== undefined) {
|
|
1414
|
+
localVarQueryParameter['sellThroughRate'] = sellThroughRate;
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1351
1417
|
if (pageToken !== undefined) {
|
|
1352
1418
|
localVarQueryParameter['pageToken'] = pageToken;
|
|
1353
1419
|
}
|
|
@@ -1629,13 +1695,14 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
|
|
|
1629
1695
|
* @param {string} project The project ID
|
|
1630
1696
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
1631
1697
|
* @param {number} quantity Number of variants
|
|
1698
|
+
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
1632
1699
|
* @param {number} [pageToken] Page reference token
|
|
1633
1700
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1634
1701
|
* @param {*} [options] Override http request option.
|
|
1635
1702
|
* @throws {RequiredError}
|
|
1636
1703
|
*/
|
|
1637
|
-
async suggestPickfaces(project: string, variantRef: string, quantity: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>> {
|
|
1638
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, pageToken, pageSize, options);
|
|
1704
|
+
async suggestPickfaces(project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>> {
|
|
1705
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, options);
|
|
1639
1706
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1640
1707
|
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.suggestPickfaces']?.[localVarOperationServerIndex]?.url;
|
|
1641
1708
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1803,7 +1870,7 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
|
|
|
1803
1870
|
* @throws {RequiredError}
|
|
1804
1871
|
*/
|
|
1805
1872
|
suggestPickfaces(requestParameters: PickfacesApiSuggestPickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListPickfaces200Response> {
|
|
1806
|
-
return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1873
|
+
return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1807
1874
|
},
|
|
1808
1875
|
/**
|
|
1809
1876
|
* Update a Pickface
|
|
@@ -2188,6 +2255,13 @@ export interface PickfacesApiSuggestPickfacesRequest {
|
|
|
2188
2255
|
*/
|
|
2189
2256
|
readonly quantity: number
|
|
2190
2257
|
|
|
2258
|
+
/**
|
|
2259
|
+
* The sell through rate of the variant to use when suggesting pickfaces
|
|
2260
|
+
* @type {number}
|
|
2261
|
+
* @memberof PickfacesApiSuggestPickfaces
|
|
2262
|
+
*/
|
|
2263
|
+
readonly sellThroughRate?: number
|
|
2264
|
+
|
|
2191
2265
|
/**
|
|
2192
2266
|
* Page reference token
|
|
2193
2267
|
* @type {number}
|
|
@@ -2403,7 +2477,7 @@ export class PickfacesApi extends BaseAPI {
|
|
|
2403
2477
|
* @memberof PickfacesApi
|
|
2404
2478
|
*/
|
|
2405
2479
|
public suggestPickfaces(requestParameters: PickfacesApiSuggestPickfacesRequest, options?: RawAxiosRequestConfig) {
|
|
2406
|
-
return PickfacesApiFp(this.configuration).suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
2480
|
+
return PickfacesApiFp(this.configuration).suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
2407
2481
|
}
|
|
2408
2482
|
|
|
2409
2483
|
/**
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.22.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.22.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.22.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -90,11 +90,10 @@ export class Configuration {
|
|
|
90
90
|
this.basePath = param.basePath;
|
|
91
91
|
this.serverIndex = param.serverIndex;
|
|
92
92
|
this.baseOptions = {
|
|
93
|
+
...param.baseOptions,
|
|
93
94
|
headers: {
|
|
94
95
|
...param.baseOptions?.headers,
|
|
95
|
-
'User-Agent': "OpenAPI-Generator/0.20.1/typescript-axios"
|
|
96
96
|
},
|
|
97
|
-
...param.baseOptions
|
|
98
97
|
};
|
|
99
98
|
this.formDataCtor = param.formDataCtor;
|
|
100
99
|
}
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.22.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -100,12 +100,24 @@ export interface CreatePickfaceRequest {
|
|
|
100
100
|
* @memberof CreatePickfaceRequest
|
|
101
101
|
*/
|
|
102
102
|
'location': string;
|
|
103
|
+
/**
|
|
104
|
+
* A user defined name for the pickface, if this is not provided the location will be used as the name.
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof CreatePickfaceRequest
|
|
107
|
+
*/
|
|
108
|
+
'name'?: string | null;
|
|
103
109
|
/**
|
|
104
110
|
* Use \'Pickfaces API\' > \'List pickface container types\' to get a list of available options.
|
|
105
111
|
* @type {string}
|
|
106
112
|
* @memberof CreatePickfaceRequest
|
|
107
113
|
*/
|
|
108
114
|
'containerTypeId': string;
|
|
115
|
+
/**
|
|
116
|
+
* Whether the pickface can contain mixed contents.
|
|
117
|
+
* @type {boolean}
|
|
118
|
+
* @memberof CreatePickfaceRequest
|
|
119
|
+
*/
|
|
120
|
+
'mixedContents'?: boolean;
|
|
109
121
|
/**
|
|
110
122
|
* Typically this field is left empty. Use \'Zones API\' > \'List warehouse zones\' to get a list of available options.
|
|
111
123
|
* @type {string}
|
|
@@ -240,7 +252,13 @@ export interface Pickface {
|
|
|
240
252
|
*/
|
|
241
253
|
'ref'?: string;
|
|
242
254
|
/**
|
|
243
|
-
*
|
|
255
|
+
*
|
|
256
|
+
* @type {PickfaceZone}
|
|
257
|
+
* @memberof Pickface
|
|
258
|
+
*/
|
|
259
|
+
'zone'?: PickfaceZone | null;
|
|
260
|
+
/**
|
|
261
|
+
* The human readable location of the pickface, if a name is provided this will be the name.
|
|
244
262
|
* @type {string}
|
|
245
263
|
* @memberof Pickface
|
|
246
264
|
*/
|
|
@@ -251,6 +269,12 @@ export interface Pickface {
|
|
|
251
269
|
* @memberof Pickface
|
|
252
270
|
*/
|
|
253
271
|
'enabled'?: boolean;
|
|
272
|
+
/**
|
|
273
|
+
* Whether the pickface can contain mixed contents.
|
|
274
|
+
* @type {boolean}
|
|
275
|
+
* @memberof Pickface
|
|
276
|
+
*/
|
|
277
|
+
'mixedContents'?: boolean;
|
|
254
278
|
/**
|
|
255
279
|
*
|
|
256
280
|
* @type {PickfaceContainerType}
|
|
@@ -518,6 +542,31 @@ export interface PickfaceLog {
|
|
|
518
542
|
*/
|
|
519
543
|
'createdAt'?: string;
|
|
520
544
|
}
|
|
545
|
+
/**
|
|
546
|
+
*
|
|
547
|
+
* @export
|
|
548
|
+
* @interface PickfaceZone
|
|
549
|
+
*/
|
|
550
|
+
export interface PickfaceZone {
|
|
551
|
+
/**
|
|
552
|
+
* Unique object identifier
|
|
553
|
+
* @type {string}
|
|
554
|
+
* @memberof PickfaceZone
|
|
555
|
+
*/
|
|
556
|
+
'id'?: string;
|
|
557
|
+
/**
|
|
558
|
+
* A reference to the resource location
|
|
559
|
+
* @type {string}
|
|
560
|
+
* @memberof PickfaceZone
|
|
561
|
+
*/
|
|
562
|
+
'ref'?: string;
|
|
563
|
+
/**
|
|
564
|
+
* The name of the zone the pickface is in
|
|
565
|
+
* @type {string}
|
|
566
|
+
* @memberof PickfaceZone
|
|
567
|
+
*/
|
|
568
|
+
'name'?: string;
|
|
569
|
+
}
|
|
521
570
|
/**
|
|
522
571
|
* A list of updates to apply to the pickface.
|
|
523
572
|
* @export
|
|
@@ -542,6 +591,18 @@ export interface UpdatePickfaceRequest {
|
|
|
542
591
|
* @memberof UpdatePickfaceRequest
|
|
543
592
|
*/
|
|
544
593
|
'zoneId'?: string;
|
|
594
|
+
/**
|
|
595
|
+
* Whether the pickface can contain mixed contents.
|
|
596
|
+
* @type {boolean}
|
|
597
|
+
* @memberof UpdatePickfaceRequest
|
|
598
|
+
*/
|
|
599
|
+
'mixedContents'?: boolean;
|
|
600
|
+
/**
|
|
601
|
+
* A user defined name for the pickface, if this is not provided the location will be used as the name.
|
|
602
|
+
* @type {string}
|
|
603
|
+
* @memberof UpdatePickfaceRequest
|
|
604
|
+
*/
|
|
605
|
+
'name'?: string | null;
|
|
545
606
|
/**
|
|
546
607
|
*
|
|
547
608
|
* @type {Array<UpdatePickfaceRequestContentsInner>}
|
|
@@ -730,12 +791,13 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
730
791
|
* @param {string} project The project ID
|
|
731
792
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
732
793
|
* @param {number} quantity Number of variants
|
|
794
|
+
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
733
795
|
* @param {number} [pageToken] Page reference token
|
|
734
796
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
735
797
|
* @param {*} [options] Override http request option.
|
|
736
798
|
* @throws {RequiredError}
|
|
737
799
|
*/
|
|
738
|
-
suggestPickfaces: (project: string, variantRef: string, quantity: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
800
|
+
suggestPickfaces: (project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
739
801
|
/**
|
|
740
802
|
* Update a Pickface
|
|
741
803
|
* @summary Update Pickface
|
|
@@ -885,12 +947,13 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
|
|
|
885
947
|
* @param {string} project The project ID
|
|
886
948
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
887
949
|
* @param {number} quantity Number of variants
|
|
950
|
+
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
888
951
|
* @param {number} [pageToken] Page reference token
|
|
889
952
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
890
953
|
* @param {*} [options] Override http request option.
|
|
891
954
|
* @throws {RequiredError}
|
|
892
955
|
*/
|
|
893
|
-
suggestPickfaces(project: string, variantRef: string, quantity: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
|
|
956
|
+
suggestPickfaces(project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
|
|
894
957
|
/**
|
|
895
958
|
* Update a Pickface
|
|
896
959
|
* @summary Update Pickface
|
|
@@ -1359,6 +1422,12 @@ export interface PickfacesApiSuggestPickfacesRequest {
|
|
|
1359
1422
|
* @memberof PickfacesApiSuggestPickfaces
|
|
1360
1423
|
*/
|
|
1361
1424
|
readonly quantity: number;
|
|
1425
|
+
/**
|
|
1426
|
+
* The sell through rate of the variant to use when suggesting pickfaces
|
|
1427
|
+
* @type {number}
|
|
1428
|
+
* @memberof PickfacesApiSuggestPickfaces
|
|
1429
|
+
*/
|
|
1430
|
+
readonly sellThroughRate?: number;
|
|
1362
1431
|
/**
|
|
1363
1432
|
* Page reference token
|
|
1364
1433
|
* @type {number}
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces API
|
|
6
6
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.22.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -613,12 +613,13 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
613
613
|
* @param {string} project The project ID
|
|
614
614
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
615
615
|
* @param {number} quantity Number of variants
|
|
616
|
+
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
616
617
|
* @param {number} [pageToken] Page reference token
|
|
617
618
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
618
619
|
* @param {*} [options] Override http request option.
|
|
619
620
|
* @throws {RequiredError}
|
|
620
621
|
*/
|
|
621
|
-
suggestPickfaces: (project_1, variantRef_1, quantity_1, pageToken_1, pageSize_1, ...args_1) => __awaiter(this, [project_1, variantRef_1, quantity_1, pageToken_1, pageSize_1, ...args_1], void 0, function* (project, variantRef, quantity, pageToken, pageSize, options = {}) {
|
|
622
|
+
suggestPickfaces: (project_1, variantRef_1, quantity_1, sellThroughRate_1, pageToken_1, pageSize_1, ...args_1) => __awaiter(this, [project_1, variantRef_1, quantity_1, sellThroughRate_1, pageToken_1, pageSize_1, ...args_1], void 0, function* (project, variantRef, quantity, sellThroughRate, pageToken, pageSize, options = {}) {
|
|
622
623
|
// verify required parameter 'project' is not null or undefined
|
|
623
624
|
(0, common_1.assertParamExists)('suggestPickfaces', 'project', project);
|
|
624
625
|
// verify required parameter 'variantRef' is not null or undefined
|
|
@@ -649,6 +650,9 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
649
650
|
if (quantity !== undefined) {
|
|
650
651
|
localVarQueryParameter['quantity'] = quantity;
|
|
651
652
|
}
|
|
653
|
+
if (sellThroughRate !== undefined) {
|
|
654
|
+
localVarQueryParameter['sellThroughRate'] = sellThroughRate;
|
|
655
|
+
}
|
|
652
656
|
if (pageToken !== undefined) {
|
|
653
657
|
localVarQueryParameter['pageToken'] = pageToken;
|
|
654
658
|
}
|
|
@@ -955,15 +959,16 @@ const PickfacesApiFp = function (configuration) {
|
|
|
955
959
|
* @param {string} project The project ID
|
|
956
960
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
957
961
|
* @param {number} quantity Number of variants
|
|
962
|
+
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
958
963
|
* @param {number} [pageToken] Page reference token
|
|
959
964
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
960
965
|
* @param {*} [options] Override http request option.
|
|
961
966
|
* @throws {RequiredError}
|
|
962
967
|
*/
|
|
963
|
-
suggestPickfaces(project, variantRef, quantity, pageToken, pageSize, options) {
|
|
968
|
+
suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, options) {
|
|
964
969
|
return __awaiter(this, void 0, void 0, function* () {
|
|
965
970
|
var _a, _b, _c;
|
|
966
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, pageToken, pageSize, options);
|
|
971
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, options);
|
|
967
972
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
968
973
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PickfacesApi.suggestPickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
969
974
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1135,7 +1140,7 @@ const PickfacesApiFactory = function (configuration, basePath, axios) {
|
|
|
1135
1140
|
* @throws {RequiredError}
|
|
1136
1141
|
*/
|
|
1137
1142
|
suggestPickfaces(requestParameters, options) {
|
|
1138
|
-
return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1143
|
+
return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1139
1144
|
},
|
|
1140
1145
|
/**
|
|
1141
1146
|
* Update a Pickface
|
|
@@ -1309,7 +1314,7 @@ class PickfacesApi extends base_1.BaseAPI {
|
|
|
1309
1314
|
* @memberof PickfacesApi
|
|
1310
1315
|
*/
|
|
1311
1316
|
suggestPickfaces(requestParameters, options) {
|
|
1312
|
-
return (0, exports.PickfacesApiFp)(this.configuration).suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
1317
|
+
return (0, exports.PickfacesApiFp)(this.configuration).suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
1313
1318
|
}
|
|
1314
1319
|
/**
|
|
1315
1320
|
* Update a Pickface
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.22.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces API
|
|
6
6
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.22.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.22.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces API
|
|
6
6
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.22.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/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.
|
|
5
|
+
* The version of the OpenAPI document: 0.22.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.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.
|
|
8
|
+
* The version of the OpenAPI document: 0.22.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,7 +23,7 @@ class Configuration {
|
|
|
23
23
|
this.accessToken = param.accessToken;
|
|
24
24
|
this.basePath = param.basePath;
|
|
25
25
|
this.serverIndex = param.serverIndex;
|
|
26
|
-
this.baseOptions = Object.assign({ headers: Object.assign(
|
|
26
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
27
27
|
this.formDataCtor = param.formDataCtor;
|
|
28
28
|
}
|
|
29
29
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.22.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -100,12 +100,24 @@ export interface CreatePickfaceRequest {
|
|
|
100
100
|
* @memberof CreatePickfaceRequest
|
|
101
101
|
*/
|
|
102
102
|
'location': string;
|
|
103
|
+
/**
|
|
104
|
+
* A user defined name for the pickface, if this is not provided the location will be used as the name.
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof CreatePickfaceRequest
|
|
107
|
+
*/
|
|
108
|
+
'name'?: string | null;
|
|
103
109
|
/**
|
|
104
110
|
* Use \'Pickfaces API\' > \'List pickface container types\' to get a list of available options.
|
|
105
111
|
* @type {string}
|
|
106
112
|
* @memberof CreatePickfaceRequest
|
|
107
113
|
*/
|
|
108
114
|
'containerTypeId': string;
|
|
115
|
+
/**
|
|
116
|
+
* Whether the pickface can contain mixed contents.
|
|
117
|
+
* @type {boolean}
|
|
118
|
+
* @memberof CreatePickfaceRequest
|
|
119
|
+
*/
|
|
120
|
+
'mixedContents'?: boolean;
|
|
109
121
|
/**
|
|
110
122
|
* Typically this field is left empty. Use \'Zones API\' > \'List warehouse zones\' to get a list of available options.
|
|
111
123
|
* @type {string}
|
|
@@ -240,7 +252,13 @@ export interface Pickface {
|
|
|
240
252
|
*/
|
|
241
253
|
'ref'?: string;
|
|
242
254
|
/**
|
|
243
|
-
*
|
|
255
|
+
*
|
|
256
|
+
* @type {PickfaceZone}
|
|
257
|
+
* @memberof Pickface
|
|
258
|
+
*/
|
|
259
|
+
'zone'?: PickfaceZone | null;
|
|
260
|
+
/**
|
|
261
|
+
* The human readable location of the pickface, if a name is provided this will be the name.
|
|
244
262
|
* @type {string}
|
|
245
263
|
* @memberof Pickface
|
|
246
264
|
*/
|
|
@@ -251,6 +269,12 @@ export interface Pickface {
|
|
|
251
269
|
* @memberof Pickface
|
|
252
270
|
*/
|
|
253
271
|
'enabled'?: boolean;
|
|
272
|
+
/**
|
|
273
|
+
* Whether the pickface can contain mixed contents.
|
|
274
|
+
* @type {boolean}
|
|
275
|
+
* @memberof Pickface
|
|
276
|
+
*/
|
|
277
|
+
'mixedContents'?: boolean;
|
|
254
278
|
/**
|
|
255
279
|
*
|
|
256
280
|
* @type {PickfaceContainerType}
|
|
@@ -518,6 +542,31 @@ export interface PickfaceLog {
|
|
|
518
542
|
*/
|
|
519
543
|
'createdAt'?: string;
|
|
520
544
|
}
|
|
545
|
+
/**
|
|
546
|
+
*
|
|
547
|
+
* @export
|
|
548
|
+
* @interface PickfaceZone
|
|
549
|
+
*/
|
|
550
|
+
export interface PickfaceZone {
|
|
551
|
+
/**
|
|
552
|
+
* Unique object identifier
|
|
553
|
+
* @type {string}
|
|
554
|
+
* @memberof PickfaceZone
|
|
555
|
+
*/
|
|
556
|
+
'id'?: string;
|
|
557
|
+
/**
|
|
558
|
+
* A reference to the resource location
|
|
559
|
+
* @type {string}
|
|
560
|
+
* @memberof PickfaceZone
|
|
561
|
+
*/
|
|
562
|
+
'ref'?: string;
|
|
563
|
+
/**
|
|
564
|
+
* The name of the zone the pickface is in
|
|
565
|
+
* @type {string}
|
|
566
|
+
* @memberof PickfaceZone
|
|
567
|
+
*/
|
|
568
|
+
'name'?: string;
|
|
569
|
+
}
|
|
521
570
|
/**
|
|
522
571
|
* A list of updates to apply to the pickface.
|
|
523
572
|
* @export
|
|
@@ -542,6 +591,18 @@ export interface UpdatePickfaceRequest {
|
|
|
542
591
|
* @memberof UpdatePickfaceRequest
|
|
543
592
|
*/
|
|
544
593
|
'zoneId'?: string;
|
|
594
|
+
/**
|
|
595
|
+
* Whether the pickface can contain mixed contents.
|
|
596
|
+
* @type {boolean}
|
|
597
|
+
* @memberof UpdatePickfaceRequest
|
|
598
|
+
*/
|
|
599
|
+
'mixedContents'?: boolean;
|
|
600
|
+
/**
|
|
601
|
+
* A user defined name for the pickface, if this is not provided the location will be used as the name.
|
|
602
|
+
* @type {string}
|
|
603
|
+
* @memberof UpdatePickfaceRequest
|
|
604
|
+
*/
|
|
605
|
+
'name'?: string | null;
|
|
545
606
|
/**
|
|
546
607
|
*
|
|
547
608
|
* @type {Array<UpdatePickfaceRequestContentsInner>}
|
|
@@ -730,12 +791,13 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
730
791
|
* @param {string} project The project ID
|
|
731
792
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
732
793
|
* @param {number} quantity Number of variants
|
|
794
|
+
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
733
795
|
* @param {number} [pageToken] Page reference token
|
|
734
796
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
735
797
|
* @param {*} [options] Override http request option.
|
|
736
798
|
* @throws {RequiredError}
|
|
737
799
|
*/
|
|
738
|
-
suggestPickfaces: (project: string, variantRef: string, quantity: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
800
|
+
suggestPickfaces: (project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
739
801
|
/**
|
|
740
802
|
* Update a Pickface
|
|
741
803
|
* @summary Update Pickface
|
|
@@ -885,12 +947,13 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
|
|
|
885
947
|
* @param {string} project The project ID
|
|
886
948
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
887
949
|
* @param {number} quantity Number of variants
|
|
950
|
+
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
888
951
|
* @param {number} [pageToken] Page reference token
|
|
889
952
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
890
953
|
* @param {*} [options] Override http request option.
|
|
891
954
|
* @throws {RequiredError}
|
|
892
955
|
*/
|
|
893
|
-
suggestPickfaces(project: string, variantRef: string, quantity: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
|
|
956
|
+
suggestPickfaces(project: string, variantRef: string, quantity: number, sellThroughRate?: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
|
|
894
957
|
/**
|
|
895
958
|
* Update a Pickface
|
|
896
959
|
* @summary Update Pickface
|
|
@@ -1359,6 +1422,12 @@ export interface PickfacesApiSuggestPickfacesRequest {
|
|
|
1359
1422
|
* @memberof PickfacesApiSuggestPickfaces
|
|
1360
1423
|
*/
|
|
1361
1424
|
readonly quantity: number;
|
|
1425
|
+
/**
|
|
1426
|
+
* The sell through rate of the variant to use when suggesting pickfaces
|
|
1427
|
+
* @type {number}
|
|
1428
|
+
* @memberof PickfacesApiSuggestPickfaces
|
|
1429
|
+
*/
|
|
1430
|
+
readonly sellThroughRate?: number;
|
|
1362
1431
|
/**
|
|
1363
1432
|
* Page reference token
|
|
1364
1433
|
* @type {number}
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.22.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -610,12 +610,13 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
610
610
|
* @param {string} project The project ID
|
|
611
611
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
612
612
|
* @param {number} quantity Number of variants
|
|
613
|
+
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
613
614
|
* @param {number} [pageToken] Page reference token
|
|
614
615
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
615
616
|
* @param {*} [options] Override http request option.
|
|
616
617
|
* @throws {RequiredError}
|
|
617
618
|
*/
|
|
618
|
-
suggestPickfaces: (project_1, variantRef_1, quantity_1, pageToken_1, pageSize_1, ...args_1) => __awaiter(this, [project_1, variantRef_1, quantity_1, pageToken_1, pageSize_1, ...args_1], void 0, function* (project, variantRef, quantity, pageToken, pageSize, options = {}) {
|
|
619
|
+
suggestPickfaces: (project_1, variantRef_1, quantity_1, sellThroughRate_1, pageToken_1, pageSize_1, ...args_1) => __awaiter(this, [project_1, variantRef_1, quantity_1, sellThroughRate_1, pageToken_1, pageSize_1, ...args_1], void 0, function* (project, variantRef, quantity, sellThroughRate, pageToken, pageSize, options = {}) {
|
|
619
620
|
// verify required parameter 'project' is not null or undefined
|
|
620
621
|
assertParamExists('suggestPickfaces', 'project', project);
|
|
621
622
|
// verify required parameter 'variantRef' is not null or undefined
|
|
@@ -646,6 +647,9 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
646
647
|
if (quantity !== undefined) {
|
|
647
648
|
localVarQueryParameter['quantity'] = quantity;
|
|
648
649
|
}
|
|
650
|
+
if (sellThroughRate !== undefined) {
|
|
651
|
+
localVarQueryParameter['sellThroughRate'] = sellThroughRate;
|
|
652
|
+
}
|
|
649
653
|
if (pageToken !== undefined) {
|
|
650
654
|
localVarQueryParameter['pageToken'] = pageToken;
|
|
651
655
|
}
|
|
@@ -951,15 +955,16 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
951
955
|
* @param {string} project The project ID
|
|
952
956
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
953
957
|
* @param {number} quantity Number of variants
|
|
958
|
+
* @param {number} [sellThroughRate] The sell through rate of the variant to use when suggesting pickfaces
|
|
954
959
|
* @param {number} [pageToken] Page reference token
|
|
955
960
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
956
961
|
* @param {*} [options] Override http request option.
|
|
957
962
|
* @throws {RequiredError}
|
|
958
963
|
*/
|
|
959
|
-
suggestPickfaces(project, variantRef, quantity, pageToken, pageSize, options) {
|
|
964
|
+
suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, options) {
|
|
960
965
|
return __awaiter(this, void 0, void 0, function* () {
|
|
961
966
|
var _a, _b, _c;
|
|
962
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, pageToken, pageSize, options);
|
|
967
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, sellThroughRate, pageToken, pageSize, options);
|
|
963
968
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
964
969
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.suggestPickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
965
970
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1130,7 +1135,7 @@ export const PickfacesApiFactory = function (configuration, basePath, axios) {
|
|
|
1130
1135
|
* @throws {RequiredError}
|
|
1131
1136
|
*/
|
|
1132
1137
|
suggestPickfaces(requestParameters, options) {
|
|
1133
|
-
return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1138
|
+
return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1134
1139
|
},
|
|
1135
1140
|
/**
|
|
1136
1141
|
* Update a Pickface
|
|
@@ -1303,7 +1308,7 @@ export class PickfacesApi extends BaseAPI {
|
|
|
1303
1308
|
* @memberof PickfacesApi
|
|
1304
1309
|
*/
|
|
1305
1310
|
suggestPickfaces(requestParameters, options) {
|
|
1306
|
-
return PickfacesApiFp(this.configuration).suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
1311
|
+
return PickfacesApiFp(this.configuration).suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.sellThroughRate, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
1307
1312
|
}
|
|
1308
1313
|
/**
|
|
1309
1314
|
* Update a Pickface
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.22.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.22.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/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.
|
|
5
|
+
* The version of the OpenAPI document: 0.22.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
package/dist/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.
|
|
7
|
+
* The version of the OpenAPI document: 0.22.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.22.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.22.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,7 +20,7 @@ export class Configuration {
|
|
|
20
20
|
this.accessToken = param.accessToken;
|
|
21
21
|
this.basePath = param.basePath;
|
|
22
22
|
this.serverIndex = param.serverIndex;
|
|
23
|
-
this.baseOptions = Object.assign({ headers: Object.assign(
|
|
23
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
24
24
|
this.formDataCtor = param.formDataCtor;
|
|
25
25
|
}
|
|
26
26
|
/**
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.22.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.22.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.22.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces API
|
|
6
6
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.22.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.22.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|