@teemill/pickfaces 0.14.0 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +152 -32
- package/base.ts +2 -2
- package/common.ts +2 -2
- package/configuration.ts +2 -2
- package/dist/api.d.ts +88 -24
- package/dist/api.js +114 -22
- package/dist/base.d.ts +2 -2
- package/dist/base.js +2 -2
- package/dist/common.d.ts +2 -2
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +88 -24
- package/dist/esm/api.js +113 -21
- package/dist/esm/base.d.ts +2 -2
- package/dist/esm/base.js +2 -2
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +2 -2
- package/dist/esm/configuration.d.ts +2 -2
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/index.ts +2 -2
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
*
|
|
6
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.15.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
25
|
+
exports.GetPickfacesSortByEnum = exports.PickfacesApi = exports.PickfacesApiFactory = exports.PickfacesApiFp = exports.PickfacesApiAxiosParamCreator = exports.UpdatePickfaceRequestContentsInnerQuantityOperationEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -233,18 +233,17 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
233
233
|
};
|
|
234
234
|
}),
|
|
235
235
|
/**
|
|
236
|
-
* Lists all pickfaces
|
|
236
|
+
* Lists all available pickfaces paginated into chunks
|
|
237
237
|
* @summary List pickfaces
|
|
238
238
|
* @param {string} project What project it is
|
|
239
239
|
* @param {string} [search] Search term to filter based on pickface code
|
|
240
240
|
* @param {number} [pageToken] Page reference token
|
|
241
241
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
242
|
-
* @param {Array<
|
|
243
|
-
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
242
|
+
* @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
244
243
|
* @param {*} [options] Override http request option.
|
|
245
244
|
* @throws {RequiredError}
|
|
246
245
|
*/
|
|
247
|
-
getPickfaces: (project_1, search_1, pageToken_1, pageSize_1,
|
|
246
|
+
getPickfaces: (project_1, search_1, pageToken_1, pageSize_1, sortBy_1, ...args_1) => __awaiter(this, [project_1, search_1, pageToken_1, pageSize_1, sortBy_1, ...args_1], void 0, function* (project, search, pageToken, pageSize, sortBy, options = {}) {
|
|
248
247
|
// verify required parameter 'project' is not null or undefined
|
|
249
248
|
(0, common_1.assertParamExists)('getPickfaces', 'project', project);
|
|
250
249
|
const localVarPath = `/v1/pickfaces`;
|
|
@@ -274,9 +273,6 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
274
273
|
if (pageSize !== undefined) {
|
|
275
274
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
276
275
|
}
|
|
277
|
-
if (filters) {
|
|
278
|
-
localVarQueryParameter['filters'] = filters;
|
|
279
|
-
}
|
|
280
276
|
if (sortBy) {
|
|
281
277
|
localVarQueryParameter['sortBy'] = sortBy;
|
|
282
278
|
}
|
|
@@ -517,6 +513,54 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
517
513
|
options: localVarRequestOptions,
|
|
518
514
|
};
|
|
519
515
|
}),
|
|
516
|
+
/**
|
|
517
|
+
* Print pickface labels
|
|
518
|
+
* @summary Print pickface Labels
|
|
519
|
+
* @param {string} project What project it is
|
|
520
|
+
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
521
|
+
* @param {Array<string>} ids List of pickface ids
|
|
522
|
+
* @param {*} [options] Override http request option.
|
|
523
|
+
* @throws {RequiredError}
|
|
524
|
+
*/
|
|
525
|
+
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 = {}) {
|
|
526
|
+
// verify required parameter 'project' is not null or undefined
|
|
527
|
+
(0, common_1.assertParamExists)('printPickfaceLabels', 'project', project);
|
|
528
|
+
// verify required parameter 'deviceRef' is not null or undefined
|
|
529
|
+
(0, common_1.assertParamExists)('printPickfaceLabels', 'deviceRef', deviceRef);
|
|
530
|
+
// verify required parameter 'ids' is not null or undefined
|
|
531
|
+
(0, common_1.assertParamExists)('printPickfaceLabels', 'ids', ids);
|
|
532
|
+
const localVarPath = `/v1/pickfaces/print`;
|
|
533
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
534
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
535
|
+
let baseOptions;
|
|
536
|
+
if (configuration) {
|
|
537
|
+
baseOptions = configuration.baseOptions;
|
|
538
|
+
}
|
|
539
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
540
|
+
const localVarHeaderParameter = {};
|
|
541
|
+
const localVarQueryParameter = {};
|
|
542
|
+
// authentication session-oauth required
|
|
543
|
+
// oauth required
|
|
544
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
545
|
+
// authentication api-key required
|
|
546
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
547
|
+
if (project !== undefined) {
|
|
548
|
+
localVarQueryParameter['project'] = project;
|
|
549
|
+
}
|
|
550
|
+
if (deviceRef !== undefined) {
|
|
551
|
+
localVarQueryParameter['deviceRef'] = deviceRef;
|
|
552
|
+
}
|
|
553
|
+
if (ids) {
|
|
554
|
+
localVarQueryParameter['ids'] = ids;
|
|
555
|
+
}
|
|
556
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
557
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
558
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
559
|
+
return {
|
|
560
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
561
|
+
options: localVarRequestOptions,
|
|
562
|
+
};
|
|
563
|
+
}),
|
|
520
564
|
/**
|
|
521
565
|
* Resolves an issue on a pickface
|
|
522
566
|
* @summary Resolve pickface issue
|
|
@@ -752,21 +796,20 @@ const PickfacesApiFp = function (configuration) {
|
|
|
752
796
|
});
|
|
753
797
|
},
|
|
754
798
|
/**
|
|
755
|
-
* Lists all pickfaces
|
|
799
|
+
* Lists all available pickfaces paginated into chunks
|
|
756
800
|
* @summary List pickfaces
|
|
757
801
|
* @param {string} project What project it is
|
|
758
802
|
* @param {string} [search] Search term to filter based on pickface code
|
|
759
803
|
* @param {number} [pageToken] Page reference token
|
|
760
804
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
761
|
-
* @param {Array<
|
|
762
|
-
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
805
|
+
* @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
763
806
|
* @param {*} [options] Override http request option.
|
|
764
807
|
* @throws {RequiredError}
|
|
765
808
|
*/
|
|
766
|
-
getPickfaces(project, search, pageToken, pageSize,
|
|
809
|
+
getPickfaces(project, search, pageToken, pageSize, sortBy, options) {
|
|
767
810
|
return __awaiter(this, void 0, void 0, function* () {
|
|
768
811
|
var _a, _b, _c;
|
|
769
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPickfaces(project, search, pageToken, pageSize,
|
|
812
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPickfaces(project, search, pageToken, pageSize, sortBy, options);
|
|
770
813
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
771
814
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PickfacesApi.getPickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
772
815
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -863,6 +906,24 @@ const PickfacesApiFp = function (configuration) {
|
|
|
863
906
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
864
907
|
});
|
|
865
908
|
},
|
|
909
|
+
/**
|
|
910
|
+
* Print pickface labels
|
|
911
|
+
* @summary Print pickface Labels
|
|
912
|
+
* @param {string} project What project it is
|
|
913
|
+
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
914
|
+
* @param {Array<string>} ids List of pickface ids
|
|
915
|
+
* @param {*} [options] Override http request option.
|
|
916
|
+
* @throws {RequiredError}
|
|
917
|
+
*/
|
|
918
|
+
printPickfaceLabels(project, deviceRef, ids, options) {
|
|
919
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
920
|
+
var _a, _b, _c;
|
|
921
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.printPickfaceLabels(project, deviceRef, ids, options);
|
|
922
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
923
|
+
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;
|
|
924
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
925
|
+
});
|
|
926
|
+
},
|
|
866
927
|
/**
|
|
867
928
|
* Resolves an issue on a pickface
|
|
868
929
|
* @summary Resolve pickface issue
|
|
@@ -979,14 +1040,14 @@ const PickfacesApiFactory = function (configuration, basePath, axios) {
|
|
|
979
1040
|
return localVarFp.getPickfaceContainerModels(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
980
1041
|
},
|
|
981
1042
|
/**
|
|
982
|
-
* Lists all pickfaces
|
|
1043
|
+
* Lists all available pickfaces paginated into chunks
|
|
983
1044
|
* @summary List pickfaces
|
|
984
1045
|
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
985
1046
|
* @param {*} [options] Override http request option.
|
|
986
1047
|
* @throws {RequiredError}
|
|
987
1048
|
*/
|
|
988
1049
|
getPickfaces(requestParameters, options) {
|
|
989
|
-
return localVarFp.getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.
|
|
1050
|
+
return localVarFp.getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(axios, basePath));
|
|
990
1051
|
},
|
|
991
1052
|
/**
|
|
992
1053
|
* Issue an empty pickface
|
|
@@ -1038,6 +1099,16 @@ const PickfacesApiFactory = function (configuration, basePath, axios) {
|
|
|
1038
1099
|
printPickfaceLabel(requestParameters, options) {
|
|
1039
1100
|
return localVarFp.printPickfaceLabel(requestParameters.project, requestParameters.pickfaceId, requestParameters.deviceRef, options).then((request) => request(axios, basePath));
|
|
1040
1101
|
},
|
|
1102
|
+
/**
|
|
1103
|
+
* Print pickface labels
|
|
1104
|
+
* @summary Print pickface Labels
|
|
1105
|
+
* @param {PickfacesApiPrintPickfaceLabelsRequest} requestParameters Request parameters.
|
|
1106
|
+
* @param {*} [options] Override http request option.
|
|
1107
|
+
* @throws {RequiredError}
|
|
1108
|
+
*/
|
|
1109
|
+
printPickfaceLabels(requestParameters, options) {
|
|
1110
|
+
return localVarFp.printPickfaceLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.ids, options).then((request) => request(axios, basePath));
|
|
1111
|
+
},
|
|
1041
1112
|
/**
|
|
1042
1113
|
* Resolves an issue on a pickface
|
|
1043
1114
|
* @summary Resolve pickface issue
|
|
@@ -1134,7 +1205,7 @@ class PickfacesApi extends base_1.BaseAPI {
|
|
|
1134
1205
|
return (0, exports.PickfacesApiFp)(this.configuration).getPickfaceContainerModels(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1135
1206
|
}
|
|
1136
1207
|
/**
|
|
1137
|
-
* Lists all pickfaces
|
|
1208
|
+
* Lists all available pickfaces paginated into chunks
|
|
1138
1209
|
* @summary List pickfaces
|
|
1139
1210
|
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
1140
1211
|
* @param {*} [options] Override http request option.
|
|
@@ -1142,7 +1213,7 @@ class PickfacesApi extends base_1.BaseAPI {
|
|
|
1142
1213
|
* @memberof PickfacesApi
|
|
1143
1214
|
*/
|
|
1144
1215
|
getPickfaces(requestParameters, options) {
|
|
1145
|
-
return (0, exports.PickfacesApiFp)(this.configuration).getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.
|
|
1216
|
+
return (0, exports.PickfacesApiFp)(this.configuration).getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));
|
|
1146
1217
|
}
|
|
1147
1218
|
/**
|
|
1148
1219
|
* Issue an empty pickface
|
|
@@ -1199,6 +1270,17 @@ class PickfacesApi extends base_1.BaseAPI {
|
|
|
1199
1270
|
printPickfaceLabel(requestParameters, options) {
|
|
1200
1271
|
return (0, exports.PickfacesApiFp)(this.configuration).printPickfaceLabel(requestParameters.project, requestParameters.pickfaceId, requestParameters.deviceRef, options).then((request) => request(this.axios, this.basePath));
|
|
1201
1272
|
}
|
|
1273
|
+
/**
|
|
1274
|
+
* Print pickface labels
|
|
1275
|
+
* @summary Print pickface Labels
|
|
1276
|
+
* @param {PickfacesApiPrintPickfaceLabelsRequest} requestParameters Request parameters.
|
|
1277
|
+
* @param {*} [options] Override http request option.
|
|
1278
|
+
* @throws {RequiredError}
|
|
1279
|
+
* @memberof PickfacesApi
|
|
1280
|
+
*/
|
|
1281
|
+
printPickfaceLabels(requestParameters, options) {
|
|
1282
|
+
return (0, exports.PickfacesApiFp)(this.configuration).printPickfaceLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.ids, options).then((request) => request(this.axios, this.basePath));
|
|
1283
|
+
}
|
|
1202
1284
|
/**
|
|
1203
1285
|
* Resolves an issue on a pickface
|
|
1204
1286
|
* @summary Resolve pickface issue
|
|
@@ -1237,7 +1319,17 @@ exports.PickfacesApi = PickfacesApi;
|
|
|
1237
1319
|
/**
|
|
1238
1320
|
* @export
|
|
1239
1321
|
*/
|
|
1240
|
-
exports.
|
|
1241
|
-
|
|
1242
|
-
|
|
1322
|
+
exports.GetPickfacesSortByEnum = {
|
|
1323
|
+
Available: '+available',
|
|
1324
|
+
Available2: '-available',
|
|
1325
|
+
Wip: '+wip',
|
|
1326
|
+
Wip2: '-wip',
|
|
1327
|
+
Total: '+total',
|
|
1328
|
+
Total2: '-total',
|
|
1329
|
+
Fullness: '+fullness',
|
|
1330
|
+
Fullness2: '-fullness',
|
|
1331
|
+
Restocked: '+restocked',
|
|
1332
|
+
Restocked2: '-restocked',
|
|
1333
|
+
Picked: '+picked',
|
|
1334
|
+
Picked2: '-picked'
|
|
1243
1335
|
};
|
package/dist/base.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
*
|
|
3
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.15.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
*
|
|
6
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.15.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
*
|
|
3
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.15.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
*
|
|
6
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.15.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
*
|
|
3
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.15.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
*
|
|
6
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.15.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
*
|
|
3
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.15.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -641,18 +641,17 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
641
641
|
*/
|
|
642
642
|
getPickfaceContainerModels: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
643
643
|
/**
|
|
644
|
-
* Lists all pickfaces
|
|
644
|
+
* Lists all available pickfaces paginated into chunks
|
|
645
645
|
* @summary List pickfaces
|
|
646
646
|
* @param {string} project What project it is
|
|
647
647
|
* @param {string} [search] Search term to filter based on pickface code
|
|
648
648
|
* @param {number} [pageToken] Page reference token
|
|
649
649
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
650
|
-
* @param {Array<
|
|
651
|
-
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
650
|
+
* @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
652
651
|
* @param {*} [options] Override http request option.
|
|
653
652
|
* @throws {RequiredError}
|
|
654
653
|
*/
|
|
655
|
-
getPickfaces: (project: string, search?: string, pageToken?: number, pageSize?: number,
|
|
654
|
+
getPickfaces: (project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<GetPickfacesSortByEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
656
655
|
/**
|
|
657
656
|
* Issue an empty pickface
|
|
658
657
|
* @summary Issue empty pickface
|
|
@@ -704,6 +703,16 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
704
703
|
* @throws {RequiredError}
|
|
705
704
|
*/
|
|
706
705
|
printPickfaceLabel: (project: string, pickfaceId: string, deviceRef: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
706
|
+
/**
|
|
707
|
+
* Print pickface labels
|
|
708
|
+
* @summary Print pickface Labels
|
|
709
|
+
* @param {string} project What project it is
|
|
710
|
+
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
711
|
+
* @param {Array<string>} ids List of pickface ids
|
|
712
|
+
* @param {*} [options] Override http request option.
|
|
713
|
+
* @throws {RequiredError}
|
|
714
|
+
*/
|
|
715
|
+
printPickfaceLabels: (project: string, deviceRef: string, ids: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
707
716
|
/**
|
|
708
717
|
* Resolves an issue on a pickface
|
|
709
718
|
* @summary Resolve pickface issue
|
|
@@ -785,18 +794,17 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
|
|
|
785
794
|
*/
|
|
786
795
|
getPickfaceContainerModels(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerModels>>;
|
|
787
796
|
/**
|
|
788
|
-
* Lists all pickfaces
|
|
797
|
+
* Lists all available pickfaces paginated into chunks
|
|
789
798
|
* @summary List pickfaces
|
|
790
799
|
* @param {string} project What project it is
|
|
791
800
|
* @param {string} [search] Search term to filter based on pickface code
|
|
792
801
|
* @param {number} [pageToken] Page reference token
|
|
793
802
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
794
|
-
* @param {Array<
|
|
795
|
-
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
803
|
+
* @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
796
804
|
* @param {*} [options] Override http request option.
|
|
797
805
|
* @throws {RequiredError}
|
|
798
806
|
*/
|
|
799
|
-
getPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number,
|
|
807
|
+
getPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<GetPickfacesSortByEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPickfaces200Response>>;
|
|
800
808
|
/**
|
|
801
809
|
* Issue an empty pickface
|
|
802
810
|
* @summary Issue empty pickface
|
|
@@ -848,6 +856,16 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
|
|
|
848
856
|
* @throws {RequiredError}
|
|
849
857
|
*/
|
|
850
858
|
printPickfaceLabel(project: string, pickfaceId: string, deviceRef: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
859
|
+
/**
|
|
860
|
+
* Print pickface labels
|
|
861
|
+
* @summary Print pickface Labels
|
|
862
|
+
* @param {string} project What project it is
|
|
863
|
+
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
864
|
+
* @param {Array<string>} ids List of pickface ids
|
|
865
|
+
* @param {*} [options] Override http request option.
|
|
866
|
+
* @throws {RequiredError}
|
|
867
|
+
*/
|
|
868
|
+
printPickfaceLabels(project: string, deviceRef: string, ids: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
851
869
|
/**
|
|
852
870
|
* Resolves an issue on a pickface
|
|
853
871
|
* @summary Resolve pickface issue
|
|
@@ -926,7 +944,7 @@ export declare const PickfacesApiFactory: (configuration?: Configuration, basePa
|
|
|
926
944
|
*/
|
|
927
945
|
getPickfaceContainerModels(requestParameters: PickfacesApiGetPickfaceContainerModelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ContainerModels>;
|
|
928
946
|
/**
|
|
929
|
-
* Lists all pickfaces
|
|
947
|
+
* Lists all available pickfaces paginated into chunks
|
|
930
948
|
* @summary List pickfaces
|
|
931
949
|
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
932
950
|
* @param {*} [options] Override http request option.
|
|
@@ -973,6 +991,14 @@ export declare const PickfacesApiFactory: (configuration?: Configuration, basePa
|
|
|
973
991
|
* @throws {RequiredError}
|
|
974
992
|
*/
|
|
975
993
|
printPickfaceLabel(requestParameters: PickfacesApiPrintPickfaceLabelRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
994
|
+
/**
|
|
995
|
+
* Print pickface labels
|
|
996
|
+
* @summary Print pickface Labels
|
|
997
|
+
* @param {PickfacesApiPrintPickfaceLabelsRequest} requestParameters Request parameters.
|
|
998
|
+
* @param {*} [options] Override http request option.
|
|
999
|
+
* @throws {RequiredError}
|
|
1000
|
+
*/
|
|
1001
|
+
printPickfaceLabels(requestParameters: PickfacesApiPrintPickfaceLabelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
976
1002
|
/**
|
|
977
1003
|
* Resolves an issue on a pickface
|
|
978
1004
|
* @summary Resolve pickface issue
|
|
@@ -1111,18 +1137,12 @@ export interface PickfacesApiGetPickfacesRequest {
|
|
|
1111
1137
|
* @memberof PickfacesApiGetPickfaces
|
|
1112
1138
|
*/
|
|
1113
1139
|
readonly pageSize?: number;
|
|
1114
|
-
/**
|
|
1115
|
-
* Filters to apply to the request
|
|
1116
|
-
* @type {Array<'empty' | 'flagged'>}
|
|
1117
|
-
* @memberof PickfacesApiGetPickfaces
|
|
1118
|
-
*/
|
|
1119
|
-
readonly filters?: Array<GetPickfacesFiltersEnum>;
|
|
1120
1140
|
/**
|
|
1121
1141
|
* An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1122
|
-
* @type {Array<
|
|
1142
|
+
* @type {Array<'+available' | '-available' | '+wip' | '-wip' | '+total' | '-total' | '+fullness' | '-fullness' | '+restocked' | '-restocked' | '+picked' | '-picked'>}
|
|
1123
1143
|
* @memberof PickfacesApiGetPickfaces
|
|
1124
1144
|
*/
|
|
1125
|
-
readonly sortBy?: Array<
|
|
1145
|
+
readonly sortBy?: Array<GetPickfacesSortByEnum>;
|
|
1126
1146
|
}
|
|
1127
1147
|
/**
|
|
1128
1148
|
* Request parameters for issueEmptyPickface operation in PickfacesApi.
|
|
@@ -1255,6 +1275,31 @@ export interface PickfacesApiPrintPickfaceLabelRequest {
|
|
|
1255
1275
|
*/
|
|
1256
1276
|
readonly deviceRef: string;
|
|
1257
1277
|
}
|
|
1278
|
+
/**
|
|
1279
|
+
* Request parameters for printPickfaceLabels operation in PickfacesApi.
|
|
1280
|
+
* @export
|
|
1281
|
+
* @interface PickfacesApiPrintPickfaceLabelsRequest
|
|
1282
|
+
*/
|
|
1283
|
+
export interface PickfacesApiPrintPickfaceLabelsRequest {
|
|
1284
|
+
/**
|
|
1285
|
+
* What project it is
|
|
1286
|
+
* @type {string}
|
|
1287
|
+
* @memberof PickfacesApiPrintPickfaceLabels
|
|
1288
|
+
*/
|
|
1289
|
+
readonly project: string;
|
|
1290
|
+
/**
|
|
1291
|
+
* Unique identifier of a warehouse device
|
|
1292
|
+
* @type {string}
|
|
1293
|
+
* @memberof PickfacesApiPrintPickfaceLabels
|
|
1294
|
+
*/
|
|
1295
|
+
readonly deviceRef: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* List of pickface ids
|
|
1298
|
+
* @type {Array<string>}
|
|
1299
|
+
* @memberof PickfacesApiPrintPickfaceLabels
|
|
1300
|
+
*/
|
|
1301
|
+
readonly ids: Array<string>;
|
|
1302
|
+
}
|
|
1258
1303
|
/**
|
|
1259
1304
|
* Request parameters for resolvePickfaceIssue operation in PickfacesApi.
|
|
1260
1305
|
* @export
|
|
@@ -1389,7 +1434,7 @@ export declare class PickfacesApi extends BaseAPI {
|
|
|
1389
1434
|
*/
|
|
1390
1435
|
getPickfaceContainerModels(requestParameters: PickfacesApiGetPickfaceContainerModelsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerModels, any>>;
|
|
1391
1436
|
/**
|
|
1392
|
-
* Lists all pickfaces
|
|
1437
|
+
* Lists all available pickfaces paginated into chunks
|
|
1393
1438
|
* @summary List pickfaces
|
|
1394
1439
|
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
1395
1440
|
* @param {*} [options] Override http request option.
|
|
@@ -1442,6 +1487,15 @@ export declare class PickfacesApi extends BaseAPI {
|
|
|
1442
1487
|
* @memberof PickfacesApi
|
|
1443
1488
|
*/
|
|
1444
1489
|
printPickfaceLabel(requestParameters: PickfacesApiPrintPickfaceLabelRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1490
|
+
/**
|
|
1491
|
+
* Print pickface labels
|
|
1492
|
+
* @summary Print pickface Labels
|
|
1493
|
+
* @param {PickfacesApiPrintPickfaceLabelsRequest} requestParameters Request parameters.
|
|
1494
|
+
* @param {*} [options] Override http request option.
|
|
1495
|
+
* @throws {RequiredError}
|
|
1496
|
+
* @memberof PickfacesApi
|
|
1497
|
+
*/
|
|
1498
|
+
printPickfaceLabels(requestParameters: PickfacesApiPrintPickfaceLabelsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1445
1499
|
/**
|
|
1446
1500
|
* Resolves an issue on a pickface
|
|
1447
1501
|
* @summary Resolve pickface issue
|
|
@@ -1473,8 +1527,18 @@ export declare class PickfacesApi extends BaseAPI {
|
|
|
1473
1527
|
/**
|
|
1474
1528
|
* @export
|
|
1475
1529
|
*/
|
|
1476
|
-
export declare const
|
|
1477
|
-
readonly
|
|
1478
|
-
readonly
|
|
1530
|
+
export declare const GetPickfacesSortByEnum: {
|
|
1531
|
+
readonly Available: "+available";
|
|
1532
|
+
readonly Available2: "-available";
|
|
1533
|
+
readonly Wip: "+wip";
|
|
1534
|
+
readonly Wip2: "-wip";
|
|
1535
|
+
readonly Total: "+total";
|
|
1536
|
+
readonly Total2: "-total";
|
|
1537
|
+
readonly Fullness: "+fullness";
|
|
1538
|
+
readonly Fullness2: "-fullness";
|
|
1539
|
+
readonly Restocked: "+restocked";
|
|
1540
|
+
readonly Restocked2: "-restocked";
|
|
1541
|
+
readonly Picked: "+picked";
|
|
1542
|
+
readonly Picked2: "-picked";
|
|
1479
1543
|
};
|
|
1480
|
-
export type
|
|
1544
|
+
export type GetPickfacesSortByEnum = typeof GetPickfacesSortByEnum[keyof typeof GetPickfacesSortByEnum];
|