@teemill/pickfaces 0.13.0 → 0.15.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/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/api.ts +524 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +298 -1
- package/dist/api.js +334 -1
- 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 +298 -1
- package/dist/esm/api.js +334 -1
- 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/index.ts +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.8.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/pickfaces@0.
|
|
1
|
+
## @teemill/pickfaces@0.15.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.15.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
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.15.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -136,6 +136,38 @@ export interface GetPickfaces200Response {
|
|
|
136
136
|
*/
|
|
137
137
|
'nextPageToken'?: number;
|
|
138
138
|
}
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @export
|
|
142
|
+
* @interface IssueEmptyPickfaceRequest
|
|
143
|
+
*/
|
|
144
|
+
export interface IssueEmptyPickfaceRequest {
|
|
145
|
+
/**
|
|
146
|
+
* A reference to the resource location
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof IssueEmptyPickfaceRequest
|
|
149
|
+
*/
|
|
150
|
+
'issueRef'?: string;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @export
|
|
155
|
+
* @interface IssueWrongContentsPickfaceRequest
|
|
156
|
+
*/
|
|
157
|
+
export interface IssueWrongContentsPickfaceRequest {
|
|
158
|
+
/**
|
|
159
|
+
* A reference to the resource location
|
|
160
|
+
* @type {string}
|
|
161
|
+
* @memberof IssueWrongContentsPickfaceRequest
|
|
162
|
+
*/
|
|
163
|
+
'issueRef'?: string;
|
|
164
|
+
/**
|
|
165
|
+
* A reference to the resource location
|
|
166
|
+
* @type {string}
|
|
167
|
+
* @memberof IssueWrongContentsPickfaceRequest
|
|
168
|
+
*/
|
|
169
|
+
'variantRef'?: string;
|
|
170
|
+
}
|
|
139
171
|
/**
|
|
140
172
|
*
|
|
141
173
|
* @export
|
|
@@ -234,6 +266,12 @@ export interface Pickface {
|
|
|
234
266
|
* @memberof Pickface
|
|
235
267
|
*/
|
|
236
268
|
'lastRestocked'?: PickfaceLastRestocked;
|
|
269
|
+
/**
|
|
270
|
+
*
|
|
271
|
+
* @type {PickfaceIssue}
|
|
272
|
+
* @memberof Pickface
|
|
273
|
+
*/
|
|
274
|
+
'issue'?: PickfaceIssue | null;
|
|
237
275
|
/**
|
|
238
276
|
*
|
|
239
277
|
* @type {Array<PickfaceContentsInner>}
|
|
@@ -366,6 +404,25 @@ export interface PickfaceContentsInnerQuantity {
|
|
|
366
404
|
*/
|
|
367
405
|
'reserved'?: number;
|
|
368
406
|
}
|
|
407
|
+
/**
|
|
408
|
+
* The open issue for the pickface
|
|
409
|
+
* @export
|
|
410
|
+
* @interface PickfaceIssue
|
|
411
|
+
*/
|
|
412
|
+
export interface PickfaceIssue {
|
|
413
|
+
/**
|
|
414
|
+
* Unique object identifier
|
|
415
|
+
* @type {string}
|
|
416
|
+
* @memberof PickfaceIssue
|
|
417
|
+
*/
|
|
418
|
+
'id'?: string;
|
|
419
|
+
/**
|
|
420
|
+
* A reference to the resource location
|
|
421
|
+
* @type {string}
|
|
422
|
+
* @memberof PickfaceIssue
|
|
423
|
+
*/
|
|
424
|
+
'ref'?: string;
|
|
425
|
+
}
|
|
369
426
|
/**
|
|
370
427
|
*
|
|
371
428
|
* @export
|
|
@@ -858,6 +915,114 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
858
915
|
options: localVarRequestOptions,
|
|
859
916
|
};
|
|
860
917
|
},
|
|
918
|
+
/**
|
|
919
|
+
* Issue an empty pickface
|
|
920
|
+
* @summary Issue empty pickface
|
|
921
|
+
* @param {string} project What project it is
|
|
922
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
923
|
+
* @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
|
|
924
|
+
* @param {*} [options] Override http request option.
|
|
925
|
+
* @throws {RequiredError}
|
|
926
|
+
*/
|
|
927
|
+
issueEmptyPickface: async (project: string, pickfaceId: string, issueEmptyPickfaceRequest: IssueEmptyPickfaceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
928
|
+
// verify required parameter 'project' is not null or undefined
|
|
929
|
+
assertParamExists('issueEmptyPickface', 'project', project)
|
|
930
|
+
// verify required parameter 'pickfaceId' is not null or undefined
|
|
931
|
+
assertParamExists('issueEmptyPickface', 'pickfaceId', pickfaceId)
|
|
932
|
+
// verify required parameter 'issueEmptyPickfaceRequest' is not null or undefined
|
|
933
|
+
assertParamExists('issueEmptyPickface', 'issueEmptyPickfaceRequest', issueEmptyPickfaceRequest)
|
|
934
|
+
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/empty`
|
|
935
|
+
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
936
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
937
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
938
|
+
let baseOptions;
|
|
939
|
+
if (configuration) {
|
|
940
|
+
baseOptions = configuration.baseOptions;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
944
|
+
const localVarHeaderParameter = {} as any;
|
|
945
|
+
const localVarQueryParameter = {} as any;
|
|
946
|
+
|
|
947
|
+
// authentication session-oauth required
|
|
948
|
+
// oauth required
|
|
949
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
950
|
+
|
|
951
|
+
// authentication api-key required
|
|
952
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
953
|
+
|
|
954
|
+
if (project !== undefined) {
|
|
955
|
+
localVarQueryParameter['project'] = project;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
961
|
+
|
|
962
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
963
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
964
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
965
|
+
localVarRequestOptions.data = serializeDataIfNeeded(issueEmptyPickfaceRequest, localVarRequestOptions, configuration)
|
|
966
|
+
|
|
967
|
+
return {
|
|
968
|
+
url: toPathString(localVarUrlObj),
|
|
969
|
+
options: localVarRequestOptions,
|
|
970
|
+
};
|
|
971
|
+
},
|
|
972
|
+
/**
|
|
973
|
+
* Issue a pickface with wrong contents
|
|
974
|
+
* @summary Issue wrong contents pickface
|
|
975
|
+
* @param {string} project What project it is
|
|
976
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
977
|
+
* @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
|
|
978
|
+
* @param {*} [options] Override http request option.
|
|
979
|
+
* @throws {RequiredError}
|
|
980
|
+
*/
|
|
981
|
+
issueWrongContentsPickface: async (project: string, pickfaceId: string, issueWrongContentsPickfaceRequest: IssueWrongContentsPickfaceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
982
|
+
// verify required parameter 'project' is not null or undefined
|
|
983
|
+
assertParamExists('issueWrongContentsPickface', 'project', project)
|
|
984
|
+
// verify required parameter 'pickfaceId' is not null or undefined
|
|
985
|
+
assertParamExists('issueWrongContentsPickface', 'pickfaceId', pickfaceId)
|
|
986
|
+
// verify required parameter 'issueWrongContentsPickfaceRequest' is not null or undefined
|
|
987
|
+
assertParamExists('issueWrongContentsPickface', 'issueWrongContentsPickfaceRequest', issueWrongContentsPickfaceRequest)
|
|
988
|
+
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/wrong-contents`
|
|
989
|
+
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
990
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
991
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
992
|
+
let baseOptions;
|
|
993
|
+
if (configuration) {
|
|
994
|
+
baseOptions = configuration.baseOptions;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
998
|
+
const localVarHeaderParameter = {} as any;
|
|
999
|
+
const localVarQueryParameter = {} as any;
|
|
1000
|
+
|
|
1001
|
+
// authentication session-oauth required
|
|
1002
|
+
// oauth required
|
|
1003
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1004
|
+
|
|
1005
|
+
// authentication api-key required
|
|
1006
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1007
|
+
|
|
1008
|
+
if (project !== undefined) {
|
|
1009
|
+
localVarQueryParameter['project'] = project;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1015
|
+
|
|
1016
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1017
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1018
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1019
|
+
localVarRequestOptions.data = serializeDataIfNeeded(issueWrongContentsPickfaceRequest, localVarRequestOptions, configuration)
|
|
1020
|
+
|
|
1021
|
+
return {
|
|
1022
|
+
url: toPathString(localVarUrlObj),
|
|
1023
|
+
options: localVarRequestOptions,
|
|
1024
|
+
};
|
|
1025
|
+
},
|
|
861
1026
|
/**
|
|
862
1027
|
* Get a list of pickface logs
|
|
863
1028
|
* @summary Get pickface logs
|
|
@@ -1016,6 +1181,112 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1016
1181
|
|
|
1017
1182
|
|
|
1018
1183
|
|
|
1184
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1185
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1186
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1187
|
+
|
|
1188
|
+
return {
|
|
1189
|
+
url: toPathString(localVarUrlObj),
|
|
1190
|
+
options: localVarRequestOptions,
|
|
1191
|
+
};
|
|
1192
|
+
},
|
|
1193
|
+
/**
|
|
1194
|
+
* Print pickface labels
|
|
1195
|
+
* @summary Print pickface Labels
|
|
1196
|
+
* @param {string} project What project it is
|
|
1197
|
+
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
1198
|
+
* @param {Array<string>} ids List of pickface ids
|
|
1199
|
+
* @param {*} [options] Override http request option.
|
|
1200
|
+
* @throws {RequiredError}
|
|
1201
|
+
*/
|
|
1202
|
+
printPickfaceLabels: async (project: string, deviceRef: string, ids: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1203
|
+
// verify required parameter 'project' is not null or undefined
|
|
1204
|
+
assertParamExists('printPickfaceLabels', 'project', project)
|
|
1205
|
+
// verify required parameter 'deviceRef' is not null or undefined
|
|
1206
|
+
assertParamExists('printPickfaceLabels', 'deviceRef', deviceRef)
|
|
1207
|
+
// verify required parameter 'ids' is not null or undefined
|
|
1208
|
+
assertParamExists('printPickfaceLabels', 'ids', ids)
|
|
1209
|
+
const localVarPath = `/v1/pickfaces/print`;
|
|
1210
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1211
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1212
|
+
let baseOptions;
|
|
1213
|
+
if (configuration) {
|
|
1214
|
+
baseOptions = configuration.baseOptions;
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1218
|
+
const localVarHeaderParameter = {} as any;
|
|
1219
|
+
const localVarQueryParameter = {} as any;
|
|
1220
|
+
|
|
1221
|
+
// authentication session-oauth required
|
|
1222
|
+
// oauth required
|
|
1223
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1224
|
+
|
|
1225
|
+
// authentication api-key required
|
|
1226
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1227
|
+
|
|
1228
|
+
if (project !== undefined) {
|
|
1229
|
+
localVarQueryParameter['project'] = project;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
if (deviceRef !== undefined) {
|
|
1233
|
+
localVarQueryParameter['deviceRef'] = deviceRef;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
if (ids) {
|
|
1237
|
+
localVarQueryParameter['ids'] = ids;
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1243
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1244
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1245
|
+
|
|
1246
|
+
return {
|
|
1247
|
+
url: toPathString(localVarUrlObj),
|
|
1248
|
+
options: localVarRequestOptions,
|
|
1249
|
+
};
|
|
1250
|
+
},
|
|
1251
|
+
/**
|
|
1252
|
+
* Resolves an issue on a pickface
|
|
1253
|
+
* @summary Resolve pickface issue
|
|
1254
|
+
* @param {string} project What project it is
|
|
1255
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
1256
|
+
* @param {*} [options] Override http request option.
|
|
1257
|
+
* @throws {RequiredError}
|
|
1258
|
+
*/
|
|
1259
|
+
resolvePickfaceIssue: async (project: string, pickfaceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1260
|
+
// verify required parameter 'project' is not null or undefined
|
|
1261
|
+
assertParamExists('resolvePickfaceIssue', 'project', project)
|
|
1262
|
+
// verify required parameter 'pickfaceId' is not null or undefined
|
|
1263
|
+
assertParamExists('resolvePickfaceIssue', 'pickfaceId', pickfaceId)
|
|
1264
|
+
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/resolve`
|
|
1265
|
+
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
1266
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1267
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1268
|
+
let baseOptions;
|
|
1269
|
+
if (configuration) {
|
|
1270
|
+
baseOptions = configuration.baseOptions;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1274
|
+
const localVarHeaderParameter = {} as any;
|
|
1275
|
+
const localVarQueryParameter = {} as any;
|
|
1276
|
+
|
|
1277
|
+
// authentication session-oauth required
|
|
1278
|
+
// oauth required
|
|
1279
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1280
|
+
|
|
1281
|
+
// authentication api-key required
|
|
1282
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1283
|
+
|
|
1284
|
+
if (project !== undefined) {
|
|
1285
|
+
localVarQueryParameter['project'] = project;
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
|
|
1019
1290
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1020
1291
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1021
1292
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1243,6 +1514,36 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
|
|
|
1243
1514
|
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.getPickfaces']?.[localVarOperationServerIndex]?.url;
|
|
1244
1515
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1245
1516
|
},
|
|
1517
|
+
/**
|
|
1518
|
+
* Issue an empty pickface
|
|
1519
|
+
* @summary Issue empty pickface
|
|
1520
|
+
* @param {string} project What project it is
|
|
1521
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
1522
|
+
* @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
|
|
1523
|
+
* @param {*} [options] Override http request option.
|
|
1524
|
+
* @throws {RequiredError}
|
|
1525
|
+
*/
|
|
1526
|
+
async issueEmptyPickface(project: string, pickfaceId: string, issueEmptyPickfaceRequest: IssueEmptyPickfaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>> {
|
|
1527
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.issueEmptyPickface(project, pickfaceId, issueEmptyPickfaceRequest, options);
|
|
1528
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1529
|
+
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.issueEmptyPickface']?.[localVarOperationServerIndex]?.url;
|
|
1530
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1531
|
+
},
|
|
1532
|
+
/**
|
|
1533
|
+
* Issue a pickface with wrong contents
|
|
1534
|
+
* @summary Issue wrong contents pickface
|
|
1535
|
+
* @param {string} project What project it is
|
|
1536
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
1537
|
+
* @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
|
|
1538
|
+
* @param {*} [options] Override http request option.
|
|
1539
|
+
* @throws {RequiredError}
|
|
1540
|
+
*/
|
|
1541
|
+
async issueWrongContentsPickface(project: string, pickfaceId: string, issueWrongContentsPickfaceRequest: IssueWrongContentsPickfaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>> {
|
|
1542
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.issueWrongContentsPickface(project, pickfaceId, issueWrongContentsPickfaceRequest, options);
|
|
1543
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1544
|
+
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.issueWrongContentsPickface']?.[localVarOperationServerIndex]?.url;
|
|
1545
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1546
|
+
},
|
|
1246
1547
|
/**
|
|
1247
1548
|
* Get a list of pickface logs
|
|
1248
1549
|
* @summary Get pickface logs
|
|
@@ -1289,6 +1590,35 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
|
|
|
1289
1590
|
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.printPickfaceLabel']?.[localVarOperationServerIndex]?.url;
|
|
1290
1591
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1291
1592
|
},
|
|
1593
|
+
/**
|
|
1594
|
+
* Print pickface labels
|
|
1595
|
+
* @summary Print pickface Labels
|
|
1596
|
+
* @param {string} project What project it is
|
|
1597
|
+
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
1598
|
+
* @param {Array<string>} ids List of pickface ids
|
|
1599
|
+
* @param {*} [options] Override http request option.
|
|
1600
|
+
* @throws {RequiredError}
|
|
1601
|
+
*/
|
|
1602
|
+
async printPickfaceLabels(project: string, deviceRef: string, ids: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1603
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.printPickfaceLabels(project, deviceRef, ids, options);
|
|
1604
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1605
|
+
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.printPickfaceLabels']?.[localVarOperationServerIndex]?.url;
|
|
1606
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1607
|
+
},
|
|
1608
|
+
/**
|
|
1609
|
+
* Resolves an issue on a pickface
|
|
1610
|
+
* @summary Resolve pickface issue
|
|
1611
|
+
* @param {string} project What project it is
|
|
1612
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
1613
|
+
* @param {*} [options] Override http request option.
|
|
1614
|
+
* @throws {RequiredError}
|
|
1615
|
+
*/
|
|
1616
|
+
async resolvePickfaceIssue(project: string, pickfaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>> {
|
|
1617
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resolvePickfaceIssue(project, pickfaceId, options);
|
|
1618
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1619
|
+
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.resolvePickfaceIssue']?.[localVarOperationServerIndex]?.url;
|
|
1620
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1621
|
+
},
|
|
1292
1622
|
/**
|
|
1293
1623
|
* Suggest pickfaces for putting away stock
|
|
1294
1624
|
* @summary Suggest pickfaces
|
|
@@ -1391,6 +1721,26 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
|
|
|
1391
1721
|
getPickfaces(requestParameters: PickfacesApiGetPickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPickfaces200Response> {
|
|
1392
1722
|
return localVarFp.getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.filters, requestParameters.sortBy, options).then((request) => request(axios, basePath));
|
|
1393
1723
|
},
|
|
1724
|
+
/**
|
|
1725
|
+
* Issue an empty pickface
|
|
1726
|
+
* @summary Issue empty pickface
|
|
1727
|
+
* @param {PickfacesApiIssueEmptyPickfaceRequest} requestParameters Request parameters.
|
|
1728
|
+
* @param {*} [options] Override http request option.
|
|
1729
|
+
* @throws {RequiredError}
|
|
1730
|
+
*/
|
|
1731
|
+
issueEmptyPickface(requestParameters: PickfacesApiIssueEmptyPickfaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface> {
|
|
1732
|
+
return localVarFp.issueEmptyPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueEmptyPickfaceRequest, options).then((request) => request(axios, basePath));
|
|
1733
|
+
},
|
|
1734
|
+
/**
|
|
1735
|
+
* Issue a pickface with wrong contents
|
|
1736
|
+
* @summary Issue wrong contents pickface
|
|
1737
|
+
* @param {PickfacesApiIssueWrongContentsPickfaceRequest} requestParameters Request parameters.
|
|
1738
|
+
* @param {*} [options] Override http request option.
|
|
1739
|
+
* @throws {RequiredError}
|
|
1740
|
+
*/
|
|
1741
|
+
issueWrongContentsPickface(requestParameters: PickfacesApiIssueWrongContentsPickfaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface> {
|
|
1742
|
+
return localVarFp.issueWrongContentsPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueWrongContentsPickfaceRequest, options).then((request) => request(axios, basePath));
|
|
1743
|
+
},
|
|
1394
1744
|
/**
|
|
1395
1745
|
* Get a list of pickface logs
|
|
1396
1746
|
* @summary Get pickface logs
|
|
@@ -1421,6 +1771,26 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
|
|
|
1421
1771
|
printPickfaceLabel(requestParameters: PickfacesApiPrintPickfaceLabelRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1422
1772
|
return localVarFp.printPickfaceLabel(requestParameters.project, requestParameters.pickfaceId, requestParameters.deviceRef, options).then((request) => request(axios, basePath));
|
|
1423
1773
|
},
|
|
1774
|
+
/**
|
|
1775
|
+
* Print pickface labels
|
|
1776
|
+
* @summary Print pickface Labels
|
|
1777
|
+
* @param {PickfacesApiPrintPickfaceLabelsRequest} requestParameters Request parameters.
|
|
1778
|
+
* @param {*} [options] Override http request option.
|
|
1779
|
+
* @throws {RequiredError}
|
|
1780
|
+
*/
|
|
1781
|
+
printPickfaceLabels(requestParameters: PickfacesApiPrintPickfaceLabelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1782
|
+
return localVarFp.printPickfaceLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.ids, options).then((request) => request(axios, basePath));
|
|
1783
|
+
},
|
|
1784
|
+
/**
|
|
1785
|
+
* Resolves an issue on a pickface
|
|
1786
|
+
* @summary Resolve pickface issue
|
|
1787
|
+
* @param {PickfacesApiResolvePickfaceIssueRequest} requestParameters Request parameters.
|
|
1788
|
+
* @param {*} [options] Override http request option.
|
|
1789
|
+
* @throws {RequiredError}
|
|
1790
|
+
*/
|
|
1791
|
+
resolvePickfaceIssue(requestParameters: PickfacesApiResolvePickfaceIssueRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface> {
|
|
1792
|
+
return localVarFp.resolvePickfaceIssue(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(axios, basePath));
|
|
1793
|
+
},
|
|
1424
1794
|
/**
|
|
1425
1795
|
* Suggest pickfaces for putting away stock
|
|
1426
1796
|
* @summary Suggest pickfaces
|
|
@@ -1584,6 +1954,62 @@ export interface PickfacesApiGetPickfacesRequest {
|
|
|
1584
1954
|
readonly sortBy?: Array<string>
|
|
1585
1955
|
}
|
|
1586
1956
|
|
|
1957
|
+
/**
|
|
1958
|
+
* Request parameters for issueEmptyPickface operation in PickfacesApi.
|
|
1959
|
+
* @export
|
|
1960
|
+
* @interface PickfacesApiIssueEmptyPickfaceRequest
|
|
1961
|
+
*/
|
|
1962
|
+
export interface PickfacesApiIssueEmptyPickfaceRequest {
|
|
1963
|
+
/**
|
|
1964
|
+
* What project it is
|
|
1965
|
+
* @type {string}
|
|
1966
|
+
* @memberof PickfacesApiIssueEmptyPickface
|
|
1967
|
+
*/
|
|
1968
|
+
readonly project: string
|
|
1969
|
+
|
|
1970
|
+
/**
|
|
1971
|
+
* Unique identifier of a pickface
|
|
1972
|
+
* @type {string}
|
|
1973
|
+
* @memberof PickfacesApiIssueEmptyPickface
|
|
1974
|
+
*/
|
|
1975
|
+
readonly pickfaceId: string
|
|
1976
|
+
|
|
1977
|
+
/**
|
|
1978
|
+
* pickface issue schema
|
|
1979
|
+
* @type {IssueEmptyPickfaceRequest}
|
|
1980
|
+
* @memberof PickfacesApiIssueEmptyPickface
|
|
1981
|
+
*/
|
|
1982
|
+
readonly issueEmptyPickfaceRequest: IssueEmptyPickfaceRequest
|
|
1983
|
+
}
|
|
1984
|
+
|
|
1985
|
+
/**
|
|
1986
|
+
* Request parameters for issueWrongContentsPickface operation in PickfacesApi.
|
|
1987
|
+
* @export
|
|
1988
|
+
* @interface PickfacesApiIssueWrongContentsPickfaceRequest
|
|
1989
|
+
*/
|
|
1990
|
+
export interface PickfacesApiIssueWrongContentsPickfaceRequest {
|
|
1991
|
+
/**
|
|
1992
|
+
* What project it is
|
|
1993
|
+
* @type {string}
|
|
1994
|
+
* @memberof PickfacesApiIssueWrongContentsPickface
|
|
1995
|
+
*/
|
|
1996
|
+
readonly project: string
|
|
1997
|
+
|
|
1998
|
+
/**
|
|
1999
|
+
* Unique identifier of a pickface
|
|
2000
|
+
* @type {string}
|
|
2001
|
+
* @memberof PickfacesApiIssueWrongContentsPickface
|
|
2002
|
+
*/
|
|
2003
|
+
readonly pickfaceId: string
|
|
2004
|
+
|
|
2005
|
+
/**
|
|
2006
|
+
* pickface issue schema
|
|
2007
|
+
* @type {IssueWrongContentsPickfaceRequest}
|
|
2008
|
+
* @memberof PickfacesApiIssueWrongContentsPickface
|
|
2009
|
+
*/
|
|
2010
|
+
readonly issueWrongContentsPickfaceRequest: IssueWrongContentsPickfaceRequest
|
|
2011
|
+
}
|
|
2012
|
+
|
|
1587
2013
|
/**
|
|
1588
2014
|
* Request parameters for listPickfaceLogs operation in PickfacesApi.
|
|
1589
2015
|
* @export
|
|
@@ -1675,6 +2101,55 @@ export interface PickfacesApiPrintPickfaceLabelRequest {
|
|
|
1675
2101
|
readonly deviceRef: string
|
|
1676
2102
|
}
|
|
1677
2103
|
|
|
2104
|
+
/**
|
|
2105
|
+
* Request parameters for printPickfaceLabels operation in PickfacesApi.
|
|
2106
|
+
* @export
|
|
2107
|
+
* @interface PickfacesApiPrintPickfaceLabelsRequest
|
|
2108
|
+
*/
|
|
2109
|
+
export interface PickfacesApiPrintPickfaceLabelsRequest {
|
|
2110
|
+
/**
|
|
2111
|
+
* What project it is
|
|
2112
|
+
* @type {string}
|
|
2113
|
+
* @memberof PickfacesApiPrintPickfaceLabels
|
|
2114
|
+
*/
|
|
2115
|
+
readonly project: string
|
|
2116
|
+
|
|
2117
|
+
/**
|
|
2118
|
+
* Unique identifier of a warehouse device
|
|
2119
|
+
* @type {string}
|
|
2120
|
+
* @memberof PickfacesApiPrintPickfaceLabels
|
|
2121
|
+
*/
|
|
2122
|
+
readonly deviceRef: string
|
|
2123
|
+
|
|
2124
|
+
/**
|
|
2125
|
+
* List of pickface ids
|
|
2126
|
+
* @type {Array<string>}
|
|
2127
|
+
* @memberof PickfacesApiPrintPickfaceLabels
|
|
2128
|
+
*/
|
|
2129
|
+
readonly ids: Array<string>
|
|
2130
|
+
}
|
|
2131
|
+
|
|
2132
|
+
/**
|
|
2133
|
+
* Request parameters for resolvePickfaceIssue operation in PickfacesApi.
|
|
2134
|
+
* @export
|
|
2135
|
+
* @interface PickfacesApiResolvePickfaceIssueRequest
|
|
2136
|
+
*/
|
|
2137
|
+
export interface PickfacesApiResolvePickfaceIssueRequest {
|
|
2138
|
+
/**
|
|
2139
|
+
* What project it is
|
|
2140
|
+
* @type {string}
|
|
2141
|
+
* @memberof PickfacesApiResolvePickfaceIssue
|
|
2142
|
+
*/
|
|
2143
|
+
readonly project: string
|
|
2144
|
+
|
|
2145
|
+
/**
|
|
2146
|
+
* Unique identifier of a pickface
|
|
2147
|
+
* @type {string}
|
|
2148
|
+
* @memberof PickfacesApiResolvePickfaceIssue
|
|
2149
|
+
*/
|
|
2150
|
+
readonly pickfaceId: string
|
|
2151
|
+
}
|
|
2152
|
+
|
|
1678
2153
|
/**
|
|
1679
2154
|
* Request parameters for suggestPickfaces operation in PickfacesApi.
|
|
1680
2155
|
* @export
|
|
@@ -1824,6 +2299,30 @@ export class PickfacesApi extends BaseAPI {
|
|
|
1824
2299
|
return PickfacesApiFp(this.configuration).getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.filters, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));
|
|
1825
2300
|
}
|
|
1826
2301
|
|
|
2302
|
+
/**
|
|
2303
|
+
* Issue an empty pickface
|
|
2304
|
+
* @summary Issue empty pickface
|
|
2305
|
+
* @param {PickfacesApiIssueEmptyPickfaceRequest} requestParameters Request parameters.
|
|
2306
|
+
* @param {*} [options] Override http request option.
|
|
2307
|
+
* @throws {RequiredError}
|
|
2308
|
+
* @memberof PickfacesApi
|
|
2309
|
+
*/
|
|
2310
|
+
public issueEmptyPickface(requestParameters: PickfacesApiIssueEmptyPickfaceRequest, options?: RawAxiosRequestConfig) {
|
|
2311
|
+
return PickfacesApiFp(this.configuration).issueEmptyPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueEmptyPickfaceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2314
|
+
/**
|
|
2315
|
+
* Issue a pickface with wrong contents
|
|
2316
|
+
* @summary Issue wrong contents pickface
|
|
2317
|
+
* @param {PickfacesApiIssueWrongContentsPickfaceRequest} requestParameters Request parameters.
|
|
2318
|
+
* @param {*} [options] Override http request option.
|
|
2319
|
+
* @throws {RequiredError}
|
|
2320
|
+
* @memberof PickfacesApi
|
|
2321
|
+
*/
|
|
2322
|
+
public issueWrongContentsPickface(requestParameters: PickfacesApiIssueWrongContentsPickfaceRequest, options?: RawAxiosRequestConfig) {
|
|
2323
|
+
return PickfacesApiFp(this.configuration).issueWrongContentsPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueWrongContentsPickfaceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2324
|
+
}
|
|
2325
|
+
|
|
1827
2326
|
/**
|
|
1828
2327
|
* Get a list of pickface logs
|
|
1829
2328
|
* @summary Get pickface logs
|
|
@@ -1860,6 +2359,30 @@ export class PickfacesApi extends BaseAPI {
|
|
|
1860
2359
|
return PickfacesApiFp(this.configuration).printPickfaceLabel(requestParameters.project, requestParameters.pickfaceId, requestParameters.deviceRef, options).then((request) => request(this.axios, this.basePath));
|
|
1861
2360
|
}
|
|
1862
2361
|
|
|
2362
|
+
/**
|
|
2363
|
+
* Print pickface labels
|
|
2364
|
+
* @summary Print pickface Labels
|
|
2365
|
+
* @param {PickfacesApiPrintPickfaceLabelsRequest} requestParameters Request parameters.
|
|
2366
|
+
* @param {*} [options] Override http request option.
|
|
2367
|
+
* @throws {RequiredError}
|
|
2368
|
+
* @memberof PickfacesApi
|
|
2369
|
+
*/
|
|
2370
|
+
public printPickfaceLabels(requestParameters: PickfacesApiPrintPickfaceLabelsRequest, options?: RawAxiosRequestConfig) {
|
|
2371
|
+
return PickfacesApiFp(this.configuration).printPickfaceLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.ids, options).then((request) => request(this.axios, this.basePath));
|
|
2372
|
+
}
|
|
2373
|
+
|
|
2374
|
+
/**
|
|
2375
|
+
* Resolves an issue on a pickface
|
|
2376
|
+
* @summary Resolve pickface issue
|
|
2377
|
+
* @param {PickfacesApiResolvePickfaceIssueRequest} requestParameters Request parameters.
|
|
2378
|
+
* @param {*} [options] Override http request option.
|
|
2379
|
+
* @throws {RequiredError}
|
|
2380
|
+
* @memberof PickfacesApi
|
|
2381
|
+
*/
|
|
2382
|
+
public resolvePickfaceIssue(requestParameters: PickfacesApiResolvePickfaceIssueRequest, options?: RawAxiosRequestConfig) {
|
|
2383
|
+
return PickfacesApiFp(this.configuration).resolvePickfaceIssue(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(this.axios, this.basePath));
|
|
2384
|
+
}
|
|
2385
|
+
|
|
1863
2386
|
/**
|
|
1864
2387
|
* Suggest pickfaces for putting away stock
|
|
1865
2388
|
* @summary Suggest pickfaces
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.15.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
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
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.15.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
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
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.15.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|