@teemill/pickfaces 0.34.0 → 0.35.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 +3 -2
- package/api.ts +42 -61
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +20 -27
- package/dist/api.js +27 -17
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +20 -27
- package/dist/esm/api.js +26 -16
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/PickfacesApi.md +3 -6
- package/docs/UpdatePickfaceRequestContentsInner.md +1 -1
- package/docs/UpdatePickfaceRequestContentsInnerQuantityAvailable.md +2 -2
- package/docs/UpdatePickfaceRequestContentsInnerQuantityAvailableOneOf.md +22 -0
- package/docs/UpdatePickfaceRequestContentsInnerQuantityZWip.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
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.35.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,14 +22,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.ListPickfacesSortByEnum = exports.PickfacesApi = exports.PickfacesApiFactory = exports.PickfacesApiFp = exports.PickfacesApiAxiosParamCreator = exports.VariantAttributeThumbnailTypeEnum = exports.UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum = exports.
|
|
25
|
+
exports.ListPickfacesSortByEnum = exports.PickfacesApi = exports.PickfacesApiFactory = exports.PickfacesApiFp = exports.PickfacesApiAxiosParamCreator = exports.VariantAttributeThumbnailTypeEnum = exports.UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum = exports.UpdatePickfaceRequestContentsInnerQuantityAvailableOneOfOperationEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
const common_1 = require("./common");
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
const base_1 = require("./base");
|
|
32
|
-
exports.
|
|
32
|
+
exports.UpdatePickfaceRequestContentsInnerQuantityAvailableOneOfOperationEnum = {
|
|
33
33
|
Add: 'add',
|
|
34
34
|
Subtract: 'subtract',
|
|
35
35
|
Set: 'set'
|
|
@@ -81,6 +81,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
81
81
|
if (project !== undefined) {
|
|
82
82
|
localVarQueryParameter['project'] = project;
|
|
83
83
|
}
|
|
84
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
84
85
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
85
86
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
86
87
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -121,6 +122,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
121
122
|
localVarQueryParameter['project'] = project;
|
|
122
123
|
}
|
|
123
124
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
125
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
124
126
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
125
127
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
126
128
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -162,6 +164,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
162
164
|
if (project !== undefined) {
|
|
163
165
|
localVarQueryParameter['project'] = project;
|
|
164
166
|
}
|
|
167
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
165
168
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
166
169
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
167
170
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -202,6 +205,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
202
205
|
if (search !== undefined) {
|
|
203
206
|
localVarQueryParameter['search'] = search;
|
|
204
207
|
}
|
|
208
|
+
localVarHeaderParameter['Accept'] = 'text/csv,application/json';
|
|
205
209
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
206
210
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
207
211
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -242,6 +246,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
242
246
|
if (project !== undefined) {
|
|
243
247
|
localVarQueryParameter['project'] = project;
|
|
244
248
|
}
|
|
249
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
245
250
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
246
251
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
247
252
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -286,6 +291,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
286
291
|
localVarQueryParameter['project'] = project;
|
|
287
292
|
}
|
|
288
293
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
294
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
289
295
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
290
296
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
291
297
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -331,6 +337,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
331
337
|
localVarQueryParameter['project'] = project;
|
|
332
338
|
}
|
|
333
339
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
340
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
334
341
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
335
342
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
336
343
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -368,6 +375,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
368
375
|
if (project !== undefined) {
|
|
369
376
|
localVarQueryParameter['project'] = project;
|
|
370
377
|
}
|
|
378
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
371
379
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
372
380
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
373
381
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -416,6 +424,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
416
424
|
if (pageSize !== undefined) {
|
|
417
425
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
418
426
|
}
|
|
427
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
419
428
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
420
429
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
421
430
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -480,6 +489,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
480
489
|
updatedEnd.toISOString() :
|
|
481
490
|
updatedEnd;
|
|
482
491
|
}
|
|
492
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
483
493
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
484
494
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
485
495
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -524,6 +534,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
524
534
|
localVarQueryParameter['project'] = project;
|
|
525
535
|
}
|
|
526
536
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
537
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
527
538
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
528
539
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
529
540
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -571,6 +582,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
571
582
|
if (deviceRef !== undefined) {
|
|
572
583
|
localVarQueryParameter['deviceRef'] = deviceRef;
|
|
573
584
|
}
|
|
585
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
574
586
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
575
587
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
576
588
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -584,12 +596,11 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
584
596
|
* @summary Print pickface Labels
|
|
585
597
|
* @param {string} project The project ID
|
|
586
598
|
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
587
|
-
* @param {string} [search] Search term to filter based on pickface code
|
|
588
599
|
* @param {Array<string> | null} [ids] List of pickface ids
|
|
589
600
|
* @param {*} [options] Override http request option.
|
|
590
601
|
* @throws {RequiredError}
|
|
591
602
|
*/
|
|
592
|
-
printPickfaceLabels: (project_1, deviceRef_1,
|
|
603
|
+
printPickfaceLabels: (project_1, deviceRef_1, ids_1, ...args_1) => __awaiter(this, [project_1, deviceRef_1, ids_1, ...args_1], void 0, function* (project, deviceRef, ids, options = {}) {
|
|
593
604
|
// verify required parameter 'project' is not null or undefined
|
|
594
605
|
(0, common_1.assertParamExists)('printPickfaceLabels', 'project', project);
|
|
595
606
|
// verify required parameter 'deviceRef' is not null or undefined
|
|
@@ -612,15 +623,13 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
612
623
|
if (project !== undefined) {
|
|
613
624
|
localVarQueryParameter['project'] = project;
|
|
614
625
|
}
|
|
615
|
-
if (search !== undefined) {
|
|
616
|
-
localVarQueryParameter['search'] = search;
|
|
617
|
-
}
|
|
618
626
|
if (deviceRef !== undefined) {
|
|
619
627
|
localVarQueryParameter['deviceRef'] = deviceRef;
|
|
620
628
|
}
|
|
621
629
|
if (ids) {
|
|
622
630
|
localVarQueryParameter['ids'] = ids;
|
|
623
631
|
}
|
|
632
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
624
633
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
625
634
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
626
635
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -661,6 +670,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
661
670
|
if (project !== undefined) {
|
|
662
671
|
localVarQueryParameter['project'] = project;
|
|
663
672
|
}
|
|
673
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
664
674
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
665
675
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
666
676
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -725,6 +735,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
725
735
|
if (bulk !== undefined) {
|
|
726
736
|
localVarQueryParameter['bulk'] = bulk;
|
|
727
737
|
}
|
|
738
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
728
739
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
729
740
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
730
741
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -738,7 +749,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
738
749
|
* @summary Update Pickface
|
|
739
750
|
* @param {string} project The project ID
|
|
740
751
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
741
|
-
* @param {UpdatePickfaceRequest} updatePickfaceRequest
|
|
752
|
+
* @param {UpdatePickfaceRequest} [updatePickfaceRequest]
|
|
742
753
|
* @param {*} [options] Override http request option.
|
|
743
754
|
* @throws {RequiredError}
|
|
744
755
|
*/
|
|
@@ -747,8 +758,6 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
747
758
|
(0, common_1.assertParamExists)('updatePickface', 'project', project);
|
|
748
759
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
749
760
|
(0, common_1.assertParamExists)('updatePickface', 'pickfaceId', pickfaceId);
|
|
750
|
-
// verify required parameter 'updatePickfaceRequest' is not null or undefined
|
|
751
|
-
(0, common_1.assertParamExists)('updatePickface', 'updatePickfaceRequest', updatePickfaceRequest);
|
|
752
761
|
const localVarPath = `/v1/pickfaces/{pickfaceId}`
|
|
753
762
|
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
754
763
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -769,6 +778,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
769
778
|
localVarQueryParameter['project'] = project;
|
|
770
779
|
}
|
|
771
780
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
781
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
772
782
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
773
783
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
774
784
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -810,6 +820,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
810
820
|
localVarQueryParameter['project'] = project;
|
|
811
821
|
}
|
|
812
822
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
823
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
813
824
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
814
825
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
815
826
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1047,15 +1058,14 @@ const PickfacesApiFp = function (configuration) {
|
|
|
1047
1058
|
* @summary Print pickface Labels
|
|
1048
1059
|
* @param {string} project The project ID
|
|
1049
1060
|
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
1050
|
-
* @param {string} [search] Search term to filter based on pickface code
|
|
1051
1061
|
* @param {Array<string> | null} [ids] List of pickface ids
|
|
1052
1062
|
* @param {*} [options] Override http request option.
|
|
1053
1063
|
* @throws {RequiredError}
|
|
1054
1064
|
*/
|
|
1055
|
-
printPickfaceLabels(project, deviceRef,
|
|
1065
|
+
printPickfaceLabels(project, deviceRef, ids, options) {
|
|
1056
1066
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1057
1067
|
var _a, _b, _c;
|
|
1058
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.printPickfaceLabels(project, deviceRef,
|
|
1068
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.printPickfaceLabels(project, deviceRef, ids, options);
|
|
1059
1069
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1060
1070
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PickfacesApi.printPickfaceLabels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1061
1071
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1105,7 +1115,7 @@ const PickfacesApiFp = function (configuration) {
|
|
|
1105
1115
|
* @summary Update Pickface
|
|
1106
1116
|
* @param {string} project The project ID
|
|
1107
1117
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
1108
|
-
* @param {UpdatePickfaceRequest} updatePickfaceRequest
|
|
1118
|
+
* @param {UpdatePickfaceRequest} [updatePickfaceRequest]
|
|
1109
1119
|
* @param {*} [options] Override http request option.
|
|
1110
1120
|
* @throws {RequiredError}
|
|
1111
1121
|
*/
|
|
@@ -1272,7 +1282,7 @@ const PickfacesApiFactory = function (configuration, basePath, axios) {
|
|
|
1272
1282
|
* @throws {RequiredError}
|
|
1273
1283
|
*/
|
|
1274
1284
|
printPickfaceLabels(requestParameters, options) {
|
|
1275
|
-
return localVarFp.printPickfaceLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.
|
|
1285
|
+
return localVarFp.printPickfaceLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.ids, options).then((request) => request(axios, basePath));
|
|
1276
1286
|
},
|
|
1277
1287
|
/**
|
|
1278
1288
|
* Resolves an issue on a pickface
|
|
@@ -1449,7 +1459,7 @@ class PickfacesApi extends base_1.BaseAPI {
|
|
|
1449
1459
|
* @throws {RequiredError}
|
|
1450
1460
|
*/
|
|
1451
1461
|
printPickfaceLabels(requestParameters, options) {
|
|
1452
|
-
return (0, exports.PickfacesApiFp)(this.configuration).printPickfaceLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.
|
|
1462
|
+
return (0, exports.PickfacesApiFp)(this.configuration).printPickfaceLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.ids, options).then((request) => request(this.axios, this.basePath));
|
|
1453
1463
|
}
|
|
1454
1464
|
/**
|
|
1455
1465
|
* Resolves an issue on 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.35.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.
|
|
8
|
+
* The version of the OpenAPI document: 0.35.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.
|
|
5
|
+
* The version of the OpenAPI document: 0.35.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.
|
|
8
|
+
* The version of the OpenAPI document: 0.35.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.35.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.35.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.35.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -332,33 +332,35 @@ export interface UpdatePickfaceRequest {
|
|
|
332
332
|
}
|
|
333
333
|
export interface UpdatePickfaceRequestContentsInner {
|
|
334
334
|
/**
|
|
335
|
-
* The variant to
|
|
335
|
+
* The variant to update on the pickface
|
|
336
336
|
*/
|
|
337
337
|
'variantRef': string;
|
|
338
338
|
'quantity': UpdatePickfaceRequestContentsInnerQuantity;
|
|
339
339
|
}
|
|
340
340
|
export interface UpdatePickfaceRequestContentsInnerQuantity {
|
|
341
|
-
'available'?: UpdatePickfaceRequestContentsInnerQuantityAvailable
|
|
342
|
-
'ZWip'?: UpdatePickfaceRequestContentsInnerQuantityZWip
|
|
341
|
+
'available'?: UpdatePickfaceRequestContentsInnerQuantityAvailable;
|
|
342
|
+
'ZWip'?: UpdatePickfaceRequestContentsInnerQuantityZWip;
|
|
343
343
|
}
|
|
344
344
|
/**
|
|
345
|
-
*
|
|
345
|
+
* @type UpdatePickfaceRequestContentsInnerQuantityAvailable
|
|
346
|
+
* The available stock quantity. Can be an integer to set absolute value, or an object with operation (add/subtract/set) and value. Use the integer value if you want to set the value of multiple variants at once.
|
|
346
347
|
*/
|
|
347
|
-
export
|
|
348
|
-
|
|
348
|
+
export type UpdatePickfaceRequestContentsInnerQuantityAvailable = UpdatePickfaceRequestContentsInnerQuantityAvailableOneOf | number;
|
|
349
|
+
export interface UpdatePickfaceRequestContentsInnerQuantityAvailableOneOf {
|
|
350
|
+
'operation': UpdatePickfaceRequestContentsInnerQuantityAvailableOneOfOperationEnum;
|
|
349
351
|
'value': number;
|
|
350
352
|
}
|
|
351
|
-
export declare const
|
|
353
|
+
export declare const UpdatePickfaceRequestContentsInnerQuantityAvailableOneOfOperationEnum: {
|
|
352
354
|
readonly Add: "add";
|
|
353
355
|
readonly Subtract: "subtract";
|
|
354
356
|
readonly Set: "set";
|
|
355
357
|
};
|
|
356
|
-
export type
|
|
358
|
+
export type UpdatePickfaceRequestContentsInnerQuantityAvailableOneOfOperationEnum = typeof UpdatePickfaceRequestContentsInnerQuantityAvailableOneOfOperationEnum[keyof typeof UpdatePickfaceRequestContentsInnerQuantityAvailableOneOfOperationEnum];
|
|
357
359
|
/**
|
|
358
|
-
* The
|
|
360
|
+
* The Z WIP stock quantity.
|
|
359
361
|
*/
|
|
360
362
|
export interface UpdatePickfaceRequestContentsInnerQuantityZWip {
|
|
361
|
-
'operation'
|
|
363
|
+
'operation': UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum;
|
|
362
364
|
'value': number;
|
|
363
365
|
}
|
|
364
366
|
export declare const UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum: {
|
|
@@ -547,12 +549,11 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
547
549
|
* @summary Print pickface Labels
|
|
548
550
|
* @param {string} project The project ID
|
|
549
551
|
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
550
|
-
* @param {string} [search] Search term to filter based on pickface code
|
|
551
552
|
* @param {Array<string> | null} [ids] List of pickface ids
|
|
552
553
|
* @param {*} [options] Override http request option.
|
|
553
554
|
* @throws {RequiredError}
|
|
554
555
|
*/
|
|
555
|
-
printPickfaceLabels: (project: string, deviceRef: string,
|
|
556
|
+
printPickfaceLabels: (project: string, deviceRef: string, ids?: Array<string> | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
556
557
|
/**
|
|
557
558
|
* Resolves an issue on a pickface
|
|
558
559
|
* @summary Resolve pickface issue
|
|
@@ -581,11 +582,11 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
581
582
|
* @summary Update Pickface
|
|
582
583
|
* @param {string} project The project ID
|
|
583
584
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
584
|
-
* @param {UpdatePickfaceRequest} updatePickfaceRequest
|
|
585
|
+
* @param {UpdatePickfaceRequest} [updatePickfaceRequest]
|
|
585
586
|
* @param {*} [options] Override http request option.
|
|
586
587
|
* @throws {RequiredError}
|
|
587
588
|
*/
|
|
588
|
-
updatePickface: (project: string, pickfaceId: string, updatePickfaceRequest
|
|
589
|
+
updatePickface: (project: string, pickfaceId: string, updatePickfaceRequest?: UpdatePickfaceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
589
590
|
/**
|
|
590
591
|
* Update pickfaces in bulk
|
|
591
592
|
* @summary Update pickfaces
|
|
@@ -723,12 +724,11 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
|
|
|
723
724
|
* @summary Print pickface Labels
|
|
724
725
|
* @param {string} project The project ID
|
|
725
726
|
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
726
|
-
* @param {string} [search] Search term to filter based on pickface code
|
|
727
727
|
* @param {Array<string> | null} [ids] List of pickface ids
|
|
728
728
|
* @param {*} [options] Override http request option.
|
|
729
729
|
* @throws {RequiredError}
|
|
730
730
|
*/
|
|
731
|
-
printPickfaceLabels(project: string, deviceRef: string,
|
|
731
|
+
printPickfaceLabels(project: string, deviceRef: string, ids?: Array<string> | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
732
732
|
/**
|
|
733
733
|
* Resolves an issue on a pickface
|
|
734
734
|
* @summary Resolve pickface issue
|
|
@@ -757,11 +757,11 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
|
|
|
757
757
|
* @summary Update Pickface
|
|
758
758
|
* @param {string} project The project ID
|
|
759
759
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
760
|
-
* @param {UpdatePickfaceRequest} updatePickfaceRequest
|
|
760
|
+
* @param {UpdatePickfaceRequest} [updatePickfaceRequest]
|
|
761
761
|
* @param {*} [options] Override http request option.
|
|
762
762
|
* @throws {RequiredError}
|
|
763
763
|
*/
|
|
764
|
-
updatePickface(project: string, pickfaceId: string, updatePickfaceRequest
|
|
764
|
+
updatePickface(project: string, pickfaceId: string, updatePickfaceRequest?: UpdatePickfaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>>;
|
|
765
765
|
/**
|
|
766
766
|
* Update pickfaces in bulk
|
|
767
767
|
* @summary Update pickfaces
|
|
@@ -1121,10 +1121,6 @@ export interface PickfacesApiPrintPickfaceLabelsRequest {
|
|
|
1121
1121
|
* Unique identifier of a warehouse device
|
|
1122
1122
|
*/
|
|
1123
1123
|
readonly deviceRef: string;
|
|
1124
|
-
/**
|
|
1125
|
-
* Search term to filter based on pickface code
|
|
1126
|
-
*/
|
|
1127
|
-
readonly search?: string;
|
|
1128
1124
|
/**
|
|
1129
1125
|
* List of pickface ids
|
|
1130
1126
|
*/
|
|
@@ -1188,10 +1184,7 @@ export interface PickfacesApiUpdatePickfaceRequest {
|
|
|
1188
1184
|
* Unique identifier of a pickface
|
|
1189
1185
|
*/
|
|
1190
1186
|
readonly pickfaceId: string;
|
|
1191
|
-
|
|
1192
|
-
* Update pickface schema
|
|
1193
|
-
*/
|
|
1194
|
-
readonly updatePickfaceRequest: UpdatePickfaceRequest;
|
|
1187
|
+
readonly updatePickfaceRequest?: UpdatePickfaceRequest;
|
|
1195
1188
|
}
|
|
1196
1189
|
/**
|
|
1197
1190
|
* Request parameters for updatePickfaces operation in PickfacesApi.
|