@teemill/pickfaces 0.15.2 → 0.15.3
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 +1473 -78
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +721 -1
- package/dist/api.js +999 -4
- 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 +721 -1
- package/dist/esm/api.js +999 -4
- 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
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. 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.15.
|
|
7
|
+
* The version of the OpenAPI document: 0.15.3
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -77,6 +77,82 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
77
77
|
options: localVarRequestOptions,
|
|
78
78
|
};
|
|
79
79
|
}),
|
|
80
|
+
/**
|
|
81
|
+
* Delete a Pickface
|
|
82
|
+
* @summary Delete Pickface
|
|
83
|
+
* @param {string} project What project it is
|
|
84
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
85
|
+
* @param {*} [options] Override http request option.
|
|
86
|
+
* @throws {RequiredError}
|
|
87
|
+
*/
|
|
88
|
+
deletePickface: (project_1, pickfaceId_1, ...args_1) => __awaiter(this, [project_1, pickfaceId_1, ...args_1], void 0, function* (project, pickfaceId, options = {}) {
|
|
89
|
+
// verify required parameter 'project' is not null or undefined
|
|
90
|
+
assertParamExists('deletePickface', 'project', project);
|
|
91
|
+
// verify required parameter 'pickfaceId' is not null or undefined
|
|
92
|
+
assertParamExists('deletePickface', 'pickfaceId', pickfaceId);
|
|
93
|
+
const localVarPath = `/v1/pickfaces/{pickfaceId}`
|
|
94
|
+
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
95
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
96
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
97
|
+
let baseOptions;
|
|
98
|
+
if (configuration) {
|
|
99
|
+
baseOptions = configuration.baseOptions;
|
|
100
|
+
}
|
|
101
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
102
|
+
const localVarHeaderParameter = {};
|
|
103
|
+
const localVarQueryParameter = {};
|
|
104
|
+
// authentication session-oauth required
|
|
105
|
+
// oauth required
|
|
106
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
107
|
+
// authentication api-key required
|
|
108
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
109
|
+
if (project !== undefined) {
|
|
110
|
+
localVarQueryParameter['project'] = project;
|
|
111
|
+
}
|
|
112
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
113
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
114
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
115
|
+
return {
|
|
116
|
+
url: toPathString(localVarUrlObj),
|
|
117
|
+
options: localVarRequestOptions,
|
|
118
|
+
};
|
|
119
|
+
}),
|
|
120
|
+
/**
|
|
121
|
+
* Export pickfaces as a CSV file
|
|
122
|
+
* @summary Export pickfaces
|
|
123
|
+
* @param {string} project What project it is
|
|
124
|
+
* @param {*} [options] Override http request option.
|
|
125
|
+
* @throws {RequiredError}
|
|
126
|
+
*/
|
|
127
|
+
exportPickfaces: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
128
|
+
// verify required parameter 'project' is not null or undefined
|
|
129
|
+
assertParamExists('exportPickfaces', 'project', project);
|
|
130
|
+
const localVarPath = `/v1/pickfaces/export`;
|
|
131
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
132
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
133
|
+
let baseOptions;
|
|
134
|
+
if (configuration) {
|
|
135
|
+
baseOptions = configuration.baseOptions;
|
|
136
|
+
}
|
|
137
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
138
|
+
const localVarHeaderParameter = {};
|
|
139
|
+
const localVarQueryParameter = {};
|
|
140
|
+
// authentication session-oauth required
|
|
141
|
+
// oauth required
|
|
142
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
143
|
+
// authentication api-key required
|
|
144
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
145
|
+
if (project !== undefined) {
|
|
146
|
+
localVarQueryParameter['project'] = project;
|
|
147
|
+
}
|
|
148
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
149
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
150
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
151
|
+
return {
|
|
152
|
+
url: toPathString(localVarUrlObj),
|
|
153
|
+
options: localVarRequestOptions,
|
|
154
|
+
};
|
|
155
|
+
}),
|
|
80
156
|
/**
|
|
81
157
|
* Get a pickface
|
|
82
158
|
* @summary Get pickface
|
|
@@ -117,6 +193,42 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
117
193
|
options: localVarRequestOptions,
|
|
118
194
|
};
|
|
119
195
|
}),
|
|
196
|
+
/**
|
|
197
|
+
* Lists pickface container models
|
|
198
|
+
* @summary Get pickface container models
|
|
199
|
+
* @param {string} project What project it is
|
|
200
|
+
* @param {*} [options] Override http request option.
|
|
201
|
+
* @throws {RequiredError}
|
|
202
|
+
*/
|
|
203
|
+
getPickfaceContainerModels: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
204
|
+
// verify required parameter 'project' is not null or undefined
|
|
205
|
+
assertParamExists('getPickfaceContainerModels', 'project', project);
|
|
206
|
+
const localVarPath = `/v1/pickfaces/container-models`;
|
|
207
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
208
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
209
|
+
let baseOptions;
|
|
210
|
+
if (configuration) {
|
|
211
|
+
baseOptions = configuration.baseOptions;
|
|
212
|
+
}
|
|
213
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
214
|
+
const localVarHeaderParameter = {};
|
|
215
|
+
const localVarQueryParameter = {};
|
|
216
|
+
// authentication session-oauth required
|
|
217
|
+
// oauth required
|
|
218
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
219
|
+
// authentication api-key required
|
|
220
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
221
|
+
if (project !== undefined) {
|
|
222
|
+
localVarQueryParameter['project'] = project;
|
|
223
|
+
}
|
|
224
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
225
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
226
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
227
|
+
return {
|
|
228
|
+
url: toPathString(localVarUrlObj),
|
|
229
|
+
options: localVarRequestOptions,
|
|
230
|
+
};
|
|
231
|
+
}),
|
|
120
232
|
/**
|
|
121
233
|
* Lists all available pickfaces paginated into chunks
|
|
122
234
|
* @summary List pickfaces
|
|
@@ -169,6 +281,424 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
169
281
|
options: localVarRequestOptions,
|
|
170
282
|
};
|
|
171
283
|
}),
|
|
284
|
+
/**
|
|
285
|
+
* Issue an empty pickface
|
|
286
|
+
* @summary Issue empty pickface
|
|
287
|
+
* @param {string} project What project it is
|
|
288
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
289
|
+
* @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
|
|
290
|
+
* @param {*} [options] Override http request option.
|
|
291
|
+
* @throws {RequiredError}
|
|
292
|
+
*/
|
|
293
|
+
issueEmptyPickface: (project_1, pickfaceId_1, issueEmptyPickfaceRequest_1, ...args_1) => __awaiter(this, [project_1, pickfaceId_1, issueEmptyPickfaceRequest_1, ...args_1], void 0, function* (project, pickfaceId, issueEmptyPickfaceRequest, options = {}) {
|
|
294
|
+
// verify required parameter 'project' is not null or undefined
|
|
295
|
+
assertParamExists('issueEmptyPickface', 'project', project);
|
|
296
|
+
// verify required parameter 'pickfaceId' is not null or undefined
|
|
297
|
+
assertParamExists('issueEmptyPickface', 'pickfaceId', pickfaceId);
|
|
298
|
+
// verify required parameter 'issueEmptyPickfaceRequest' is not null or undefined
|
|
299
|
+
assertParamExists('issueEmptyPickface', 'issueEmptyPickfaceRequest', issueEmptyPickfaceRequest);
|
|
300
|
+
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/empty`
|
|
301
|
+
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
302
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
303
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
304
|
+
let baseOptions;
|
|
305
|
+
if (configuration) {
|
|
306
|
+
baseOptions = configuration.baseOptions;
|
|
307
|
+
}
|
|
308
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
309
|
+
const localVarHeaderParameter = {};
|
|
310
|
+
const localVarQueryParameter = {};
|
|
311
|
+
// authentication session-oauth required
|
|
312
|
+
// oauth required
|
|
313
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
314
|
+
// authentication api-key required
|
|
315
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
316
|
+
if (project !== undefined) {
|
|
317
|
+
localVarQueryParameter['project'] = project;
|
|
318
|
+
}
|
|
319
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
320
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
321
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
322
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
323
|
+
localVarRequestOptions.data = serializeDataIfNeeded(issueEmptyPickfaceRequest, localVarRequestOptions, configuration);
|
|
324
|
+
return {
|
|
325
|
+
url: toPathString(localVarUrlObj),
|
|
326
|
+
options: localVarRequestOptions,
|
|
327
|
+
};
|
|
328
|
+
}),
|
|
329
|
+
/**
|
|
330
|
+
* Issue a pickface with wrong contents
|
|
331
|
+
* @summary Issue wrong contents pickface
|
|
332
|
+
* @param {string} project What project it is
|
|
333
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
334
|
+
* @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
|
|
335
|
+
* @param {*} [options] Override http request option.
|
|
336
|
+
* @throws {RequiredError}
|
|
337
|
+
*/
|
|
338
|
+
issueWrongContentsPickface: (project_1, pickfaceId_1, issueWrongContentsPickfaceRequest_1, ...args_1) => __awaiter(this, [project_1, pickfaceId_1, issueWrongContentsPickfaceRequest_1, ...args_1], void 0, function* (project, pickfaceId, issueWrongContentsPickfaceRequest, options = {}) {
|
|
339
|
+
// verify required parameter 'project' is not null or undefined
|
|
340
|
+
assertParamExists('issueWrongContentsPickface', 'project', project);
|
|
341
|
+
// verify required parameter 'pickfaceId' is not null or undefined
|
|
342
|
+
assertParamExists('issueWrongContentsPickface', 'pickfaceId', pickfaceId);
|
|
343
|
+
// verify required parameter 'issueWrongContentsPickfaceRequest' is not null or undefined
|
|
344
|
+
assertParamExists('issueWrongContentsPickface', 'issueWrongContentsPickfaceRequest', issueWrongContentsPickfaceRequest);
|
|
345
|
+
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/wrong-contents`
|
|
346
|
+
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
347
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
348
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
349
|
+
let baseOptions;
|
|
350
|
+
if (configuration) {
|
|
351
|
+
baseOptions = configuration.baseOptions;
|
|
352
|
+
}
|
|
353
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
354
|
+
const localVarHeaderParameter = {};
|
|
355
|
+
const localVarQueryParameter = {};
|
|
356
|
+
// authentication session-oauth required
|
|
357
|
+
// oauth required
|
|
358
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
359
|
+
// authentication api-key required
|
|
360
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
361
|
+
if (project !== undefined) {
|
|
362
|
+
localVarQueryParameter['project'] = project;
|
|
363
|
+
}
|
|
364
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
365
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
366
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
367
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
368
|
+
localVarRequestOptions.data = serializeDataIfNeeded(issueWrongContentsPickfaceRequest, localVarRequestOptions, configuration);
|
|
369
|
+
return {
|
|
370
|
+
url: toPathString(localVarUrlObj),
|
|
371
|
+
options: localVarRequestOptions,
|
|
372
|
+
};
|
|
373
|
+
}),
|
|
374
|
+
/**
|
|
375
|
+
* Get a list of pickface logs
|
|
376
|
+
* @summary Get pickface logs
|
|
377
|
+
* @param {string} project What project it is
|
|
378
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
379
|
+
* @param {number} [pageToken] Page reference token
|
|
380
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
381
|
+
* @param {*} [options] Override http request option.
|
|
382
|
+
* @throws {RequiredError}
|
|
383
|
+
*/
|
|
384
|
+
listPickfaceLogs: (project_1, pickfaceId_1, pageToken_1, pageSize_1, ...args_1) => __awaiter(this, [project_1, pickfaceId_1, pageToken_1, pageSize_1, ...args_1], void 0, function* (project, pickfaceId, pageToken, pageSize, options = {}) {
|
|
385
|
+
// verify required parameter 'project' is not null or undefined
|
|
386
|
+
assertParamExists('listPickfaceLogs', 'project', project);
|
|
387
|
+
// verify required parameter 'pickfaceId' is not null or undefined
|
|
388
|
+
assertParamExists('listPickfaceLogs', 'pickfaceId', pickfaceId);
|
|
389
|
+
const localVarPath = `/v1/pickfaces/{pickfaceId}/logs`
|
|
390
|
+
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
391
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
392
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
393
|
+
let baseOptions;
|
|
394
|
+
if (configuration) {
|
|
395
|
+
baseOptions = configuration.baseOptions;
|
|
396
|
+
}
|
|
397
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
398
|
+
const localVarHeaderParameter = {};
|
|
399
|
+
const localVarQueryParameter = {};
|
|
400
|
+
// authentication session-oauth required
|
|
401
|
+
// oauth required
|
|
402
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
403
|
+
// authentication api-key required
|
|
404
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
405
|
+
if (project !== undefined) {
|
|
406
|
+
localVarQueryParameter['project'] = project;
|
|
407
|
+
}
|
|
408
|
+
if (pageToken !== undefined) {
|
|
409
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
410
|
+
}
|
|
411
|
+
if (pageSize !== undefined) {
|
|
412
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
413
|
+
}
|
|
414
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
415
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
416
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
417
|
+
return {
|
|
418
|
+
url: toPathString(localVarUrlObj),
|
|
419
|
+
options: localVarRequestOptions,
|
|
420
|
+
};
|
|
421
|
+
}),
|
|
422
|
+
/**
|
|
423
|
+
* Move stock from one pickface to another in a single transaction
|
|
424
|
+
* @summary Move stock
|
|
425
|
+
* @param {string} project What project it is
|
|
426
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
427
|
+
* @param {MoveStockRequest} moveStockRequest Move stock from one pickface to another
|
|
428
|
+
* @param {*} [options] Override http request option.
|
|
429
|
+
* @throws {RequiredError}
|
|
430
|
+
*/
|
|
431
|
+
moveStock: (project_1, pickfaceId_1, moveStockRequest_1, ...args_1) => __awaiter(this, [project_1, pickfaceId_1, moveStockRequest_1, ...args_1], void 0, function* (project, pickfaceId, moveStockRequest, options = {}) {
|
|
432
|
+
// verify required parameter 'project' is not null or undefined
|
|
433
|
+
assertParamExists('moveStock', 'project', project);
|
|
434
|
+
// verify required parameter 'pickfaceId' is not null or undefined
|
|
435
|
+
assertParamExists('moveStock', 'pickfaceId', pickfaceId);
|
|
436
|
+
// verify required parameter 'moveStockRequest' is not null or undefined
|
|
437
|
+
assertParamExists('moveStock', 'moveStockRequest', moveStockRequest);
|
|
438
|
+
const localVarPath = `/v1/pickfaces/{pickfaceId}/stock/move`
|
|
439
|
+
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
440
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
441
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
442
|
+
let baseOptions;
|
|
443
|
+
if (configuration) {
|
|
444
|
+
baseOptions = configuration.baseOptions;
|
|
445
|
+
}
|
|
446
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
447
|
+
const localVarHeaderParameter = {};
|
|
448
|
+
const localVarQueryParameter = {};
|
|
449
|
+
// authentication session-oauth required
|
|
450
|
+
// oauth required
|
|
451
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
452
|
+
// authentication api-key required
|
|
453
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
454
|
+
if (project !== undefined) {
|
|
455
|
+
localVarQueryParameter['project'] = project;
|
|
456
|
+
}
|
|
457
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
458
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
459
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
460
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
461
|
+
localVarRequestOptions.data = serializeDataIfNeeded(moveStockRequest, localVarRequestOptions, configuration);
|
|
462
|
+
return {
|
|
463
|
+
url: toPathString(localVarUrlObj),
|
|
464
|
+
options: localVarRequestOptions,
|
|
465
|
+
};
|
|
466
|
+
}),
|
|
467
|
+
/**
|
|
468
|
+
* Print a pickface label
|
|
469
|
+
* @summary Print pickface label
|
|
470
|
+
* @param {string} project What project it is
|
|
471
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
472
|
+
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
473
|
+
* @param {*} [options] Override http request option.
|
|
474
|
+
* @throws {RequiredError}
|
|
475
|
+
*/
|
|
476
|
+
printPickfaceLabel: (project_1, pickfaceId_1, deviceRef_1, ...args_1) => __awaiter(this, [project_1, pickfaceId_1, deviceRef_1, ...args_1], void 0, function* (project, pickfaceId, deviceRef, options = {}) {
|
|
477
|
+
// verify required parameter 'project' is not null or undefined
|
|
478
|
+
assertParamExists('printPickfaceLabel', 'project', project);
|
|
479
|
+
// verify required parameter 'pickfaceId' is not null or undefined
|
|
480
|
+
assertParamExists('printPickfaceLabel', 'pickfaceId', pickfaceId);
|
|
481
|
+
// verify required parameter 'deviceRef' is not null or undefined
|
|
482
|
+
assertParamExists('printPickfaceLabel', 'deviceRef', deviceRef);
|
|
483
|
+
const localVarPath = `/v1/pickfaces/{pickfaceId}/print`
|
|
484
|
+
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
485
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
486
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
487
|
+
let baseOptions;
|
|
488
|
+
if (configuration) {
|
|
489
|
+
baseOptions = configuration.baseOptions;
|
|
490
|
+
}
|
|
491
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
492
|
+
const localVarHeaderParameter = {};
|
|
493
|
+
const localVarQueryParameter = {};
|
|
494
|
+
// authentication session-oauth required
|
|
495
|
+
// oauth required
|
|
496
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
497
|
+
// authentication api-key required
|
|
498
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
499
|
+
if (project !== undefined) {
|
|
500
|
+
localVarQueryParameter['project'] = project;
|
|
501
|
+
}
|
|
502
|
+
if (deviceRef !== undefined) {
|
|
503
|
+
localVarQueryParameter['deviceRef'] = deviceRef;
|
|
504
|
+
}
|
|
505
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
506
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
507
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
508
|
+
return {
|
|
509
|
+
url: toPathString(localVarUrlObj),
|
|
510
|
+
options: localVarRequestOptions,
|
|
511
|
+
};
|
|
512
|
+
}),
|
|
513
|
+
/**
|
|
514
|
+
* Print pickface labels
|
|
515
|
+
* @summary Print pickface Labels
|
|
516
|
+
* @param {string} project What project it is
|
|
517
|
+
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
518
|
+
* @param {Array<string>} ids List of pickface ids
|
|
519
|
+
* @param {*} [options] Override http request option.
|
|
520
|
+
* @throws {RequiredError}
|
|
521
|
+
*/
|
|
522
|
+
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 = {}) {
|
|
523
|
+
// verify required parameter 'project' is not null or undefined
|
|
524
|
+
assertParamExists('printPickfaceLabels', 'project', project);
|
|
525
|
+
// verify required parameter 'deviceRef' is not null or undefined
|
|
526
|
+
assertParamExists('printPickfaceLabels', 'deviceRef', deviceRef);
|
|
527
|
+
// verify required parameter 'ids' is not null or undefined
|
|
528
|
+
assertParamExists('printPickfaceLabels', 'ids', ids);
|
|
529
|
+
const localVarPath = `/v1/pickfaces/print`;
|
|
530
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
531
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
532
|
+
let baseOptions;
|
|
533
|
+
if (configuration) {
|
|
534
|
+
baseOptions = configuration.baseOptions;
|
|
535
|
+
}
|
|
536
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
537
|
+
const localVarHeaderParameter = {};
|
|
538
|
+
const localVarQueryParameter = {};
|
|
539
|
+
// authentication session-oauth required
|
|
540
|
+
// oauth required
|
|
541
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
542
|
+
// authentication api-key required
|
|
543
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
544
|
+
if (project !== undefined) {
|
|
545
|
+
localVarQueryParameter['project'] = project;
|
|
546
|
+
}
|
|
547
|
+
if (deviceRef !== undefined) {
|
|
548
|
+
localVarQueryParameter['deviceRef'] = deviceRef;
|
|
549
|
+
}
|
|
550
|
+
if (ids) {
|
|
551
|
+
localVarQueryParameter['ids'] = ids;
|
|
552
|
+
}
|
|
553
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
554
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
555
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
556
|
+
return {
|
|
557
|
+
url: toPathString(localVarUrlObj),
|
|
558
|
+
options: localVarRequestOptions,
|
|
559
|
+
};
|
|
560
|
+
}),
|
|
561
|
+
/**
|
|
562
|
+
* Resolves an issue on a pickface
|
|
563
|
+
* @summary Resolve pickface issue
|
|
564
|
+
* @param {string} project What project it is
|
|
565
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
566
|
+
* @param {*} [options] Override http request option.
|
|
567
|
+
* @throws {RequiredError}
|
|
568
|
+
*/
|
|
569
|
+
resolvePickfaceIssue: (project_1, pickfaceId_1, ...args_1) => __awaiter(this, [project_1, pickfaceId_1, ...args_1], void 0, function* (project, pickfaceId, options = {}) {
|
|
570
|
+
// verify required parameter 'project' is not null or undefined
|
|
571
|
+
assertParamExists('resolvePickfaceIssue', 'project', project);
|
|
572
|
+
// verify required parameter 'pickfaceId' is not null or undefined
|
|
573
|
+
assertParamExists('resolvePickfaceIssue', 'pickfaceId', pickfaceId);
|
|
574
|
+
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/resolve`
|
|
575
|
+
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
576
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
577
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
578
|
+
let baseOptions;
|
|
579
|
+
if (configuration) {
|
|
580
|
+
baseOptions = configuration.baseOptions;
|
|
581
|
+
}
|
|
582
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
583
|
+
const localVarHeaderParameter = {};
|
|
584
|
+
const localVarQueryParameter = {};
|
|
585
|
+
// authentication session-oauth required
|
|
586
|
+
// oauth required
|
|
587
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
588
|
+
// authentication api-key required
|
|
589
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
590
|
+
if (project !== undefined) {
|
|
591
|
+
localVarQueryParameter['project'] = project;
|
|
592
|
+
}
|
|
593
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
594
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
595
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
596
|
+
return {
|
|
597
|
+
url: toPathString(localVarUrlObj),
|
|
598
|
+
options: localVarRequestOptions,
|
|
599
|
+
};
|
|
600
|
+
}),
|
|
601
|
+
/**
|
|
602
|
+
* Suggest pickfaces for putting away stock
|
|
603
|
+
* @summary Suggest pickfaces
|
|
604
|
+
* @param {string} project What project it is
|
|
605
|
+
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
606
|
+
* @param {number} quantity Number of variants
|
|
607
|
+
* @param {number} [pageToken] Page reference token
|
|
608
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
609
|
+
* @param {*} [options] Override http request option.
|
|
610
|
+
* @throws {RequiredError}
|
|
611
|
+
*/
|
|
612
|
+
suggestPickfaces: (project_1, variantRef_1, quantity_1, pageToken_1, pageSize_1, ...args_1) => __awaiter(this, [project_1, variantRef_1, quantity_1, pageToken_1, pageSize_1, ...args_1], void 0, function* (project, variantRef, quantity, pageToken, pageSize, options = {}) {
|
|
613
|
+
// verify required parameter 'project' is not null or undefined
|
|
614
|
+
assertParamExists('suggestPickfaces', 'project', project);
|
|
615
|
+
// verify required parameter 'variantRef' is not null or undefined
|
|
616
|
+
assertParamExists('suggestPickfaces', 'variantRef', variantRef);
|
|
617
|
+
// verify required parameter 'quantity' is not null or undefined
|
|
618
|
+
assertParamExists('suggestPickfaces', 'quantity', quantity);
|
|
619
|
+
const localVarPath = `/v1/pickfaces/suggest`;
|
|
620
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
621
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
622
|
+
let baseOptions;
|
|
623
|
+
if (configuration) {
|
|
624
|
+
baseOptions = configuration.baseOptions;
|
|
625
|
+
}
|
|
626
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
627
|
+
const localVarHeaderParameter = {};
|
|
628
|
+
const localVarQueryParameter = {};
|
|
629
|
+
// authentication session-oauth required
|
|
630
|
+
// oauth required
|
|
631
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
632
|
+
// authentication api-key required
|
|
633
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
634
|
+
if (project !== undefined) {
|
|
635
|
+
localVarQueryParameter['project'] = project;
|
|
636
|
+
}
|
|
637
|
+
if (variantRef !== undefined) {
|
|
638
|
+
localVarQueryParameter['variantRef'] = variantRef;
|
|
639
|
+
}
|
|
640
|
+
if (quantity !== undefined) {
|
|
641
|
+
localVarQueryParameter['quantity'] = quantity;
|
|
642
|
+
}
|
|
643
|
+
if (pageToken !== undefined) {
|
|
644
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
645
|
+
}
|
|
646
|
+
if (pageSize !== undefined) {
|
|
647
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
648
|
+
}
|
|
649
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
650
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
651
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
652
|
+
return {
|
|
653
|
+
url: toPathString(localVarUrlObj),
|
|
654
|
+
options: localVarRequestOptions,
|
|
655
|
+
};
|
|
656
|
+
}),
|
|
657
|
+
/**
|
|
658
|
+
* Update a Pickface
|
|
659
|
+
* @summary Update Pickface
|
|
660
|
+
* @param {string} project What project it is
|
|
661
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
662
|
+
* @param {UpdatePickfaceRequest} updatePickfaceRequest Update pickface schema
|
|
663
|
+
* @param {*} [options] Override http request option.
|
|
664
|
+
* @throws {RequiredError}
|
|
665
|
+
*/
|
|
666
|
+
updatePickface: (project_1, pickfaceId_1, updatePickfaceRequest_1, ...args_1) => __awaiter(this, [project_1, pickfaceId_1, updatePickfaceRequest_1, ...args_1], void 0, function* (project, pickfaceId, updatePickfaceRequest, options = {}) {
|
|
667
|
+
// verify required parameter 'project' is not null or undefined
|
|
668
|
+
assertParamExists('updatePickface', 'project', project);
|
|
669
|
+
// verify required parameter 'pickfaceId' is not null or undefined
|
|
670
|
+
assertParamExists('updatePickface', 'pickfaceId', pickfaceId);
|
|
671
|
+
// verify required parameter 'updatePickfaceRequest' is not null or undefined
|
|
672
|
+
assertParamExists('updatePickface', 'updatePickfaceRequest', updatePickfaceRequest);
|
|
673
|
+
const localVarPath = `/v1/pickfaces/{pickfaceId}`
|
|
674
|
+
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
675
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
676
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
677
|
+
let baseOptions;
|
|
678
|
+
if (configuration) {
|
|
679
|
+
baseOptions = configuration.baseOptions;
|
|
680
|
+
}
|
|
681
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
682
|
+
const localVarHeaderParameter = {};
|
|
683
|
+
const localVarQueryParameter = {};
|
|
684
|
+
// authentication session-oauth required
|
|
685
|
+
// oauth required
|
|
686
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
687
|
+
// authentication api-key required
|
|
688
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
689
|
+
if (project !== undefined) {
|
|
690
|
+
localVarQueryParameter['project'] = project;
|
|
691
|
+
}
|
|
692
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
693
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
694
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
695
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
696
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updatePickfaceRequest, localVarRequestOptions, configuration);
|
|
697
|
+
return {
|
|
698
|
+
url: toPathString(localVarUrlObj),
|
|
699
|
+
options: localVarRequestOptions,
|
|
700
|
+
};
|
|
701
|
+
}),
|
|
172
702
|
};
|
|
173
703
|
};
|
|
174
704
|
/**
|
|
@@ -186,12 +716,45 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
186
716
|
* @param {*} [options] Override http request option.
|
|
187
717
|
* @throws {RequiredError}
|
|
188
718
|
*/
|
|
189
|
-
createPickface(project, createPickfaceRequest, options) {
|
|
719
|
+
createPickface(project, createPickfaceRequest, options) {
|
|
720
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
721
|
+
var _a, _b, _c;
|
|
722
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createPickface(project, createPickfaceRequest, options);
|
|
723
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
724
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.createPickface']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
725
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
726
|
+
});
|
|
727
|
+
},
|
|
728
|
+
/**
|
|
729
|
+
* Delete a Pickface
|
|
730
|
+
* @summary Delete Pickface
|
|
731
|
+
* @param {string} project What project it is
|
|
732
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
733
|
+
* @param {*} [options] Override http request option.
|
|
734
|
+
* @throws {RequiredError}
|
|
735
|
+
*/
|
|
736
|
+
deletePickface(project, pickfaceId, options) {
|
|
737
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
738
|
+
var _a, _b, _c;
|
|
739
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deletePickface(project, pickfaceId, options);
|
|
740
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
741
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.deletePickface']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
742
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
743
|
+
});
|
|
744
|
+
},
|
|
745
|
+
/**
|
|
746
|
+
* Export pickfaces as a CSV file
|
|
747
|
+
* @summary Export pickfaces
|
|
748
|
+
* @param {string} project What project it is
|
|
749
|
+
* @param {*} [options] Override http request option.
|
|
750
|
+
* @throws {RequiredError}
|
|
751
|
+
*/
|
|
752
|
+
exportPickfaces(project, options) {
|
|
190
753
|
return __awaiter(this, void 0, void 0, function* () {
|
|
191
754
|
var _a, _b, _c;
|
|
192
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
755
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportPickfaces(project, options);
|
|
193
756
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
194
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.
|
|
757
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.exportPickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
195
758
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
196
759
|
});
|
|
197
760
|
},
|
|
@@ -212,6 +775,22 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
212
775
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
213
776
|
});
|
|
214
777
|
},
|
|
778
|
+
/**
|
|
779
|
+
* Lists pickface container models
|
|
780
|
+
* @summary Get pickface container models
|
|
781
|
+
* @param {string} project What project it is
|
|
782
|
+
* @param {*} [options] Override http request option.
|
|
783
|
+
* @throws {RequiredError}
|
|
784
|
+
*/
|
|
785
|
+
getPickfaceContainerModels(project, options) {
|
|
786
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
787
|
+
var _a, _b, _c;
|
|
788
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPickfaceContainerModels(project, options);
|
|
789
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
790
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.getPickfaceContainerModels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
791
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
792
|
+
});
|
|
793
|
+
},
|
|
215
794
|
/**
|
|
216
795
|
* Lists all available pickfaces paginated into chunks
|
|
217
796
|
* @summary List pickfaces
|
|
@@ -232,6 +811,170 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
232
811
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
233
812
|
});
|
|
234
813
|
},
|
|
814
|
+
/**
|
|
815
|
+
* Issue an empty pickface
|
|
816
|
+
* @summary Issue empty pickface
|
|
817
|
+
* @param {string} project What project it is
|
|
818
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
819
|
+
* @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
|
|
820
|
+
* @param {*} [options] Override http request option.
|
|
821
|
+
* @throws {RequiredError}
|
|
822
|
+
*/
|
|
823
|
+
issueEmptyPickface(project, pickfaceId, issueEmptyPickfaceRequest, options) {
|
|
824
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
825
|
+
var _a, _b, _c;
|
|
826
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.issueEmptyPickface(project, pickfaceId, issueEmptyPickfaceRequest, options);
|
|
827
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
828
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.issueEmptyPickface']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
829
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
830
|
+
});
|
|
831
|
+
},
|
|
832
|
+
/**
|
|
833
|
+
* Issue a pickface with wrong contents
|
|
834
|
+
* @summary Issue wrong contents pickface
|
|
835
|
+
* @param {string} project What project it is
|
|
836
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
837
|
+
* @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
|
|
838
|
+
* @param {*} [options] Override http request option.
|
|
839
|
+
* @throws {RequiredError}
|
|
840
|
+
*/
|
|
841
|
+
issueWrongContentsPickface(project, pickfaceId, issueWrongContentsPickfaceRequest, options) {
|
|
842
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
843
|
+
var _a, _b, _c;
|
|
844
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.issueWrongContentsPickface(project, pickfaceId, issueWrongContentsPickfaceRequest, options);
|
|
845
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
846
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.issueWrongContentsPickface']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
847
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
848
|
+
});
|
|
849
|
+
},
|
|
850
|
+
/**
|
|
851
|
+
* Get a list of pickface logs
|
|
852
|
+
* @summary Get pickface logs
|
|
853
|
+
* @param {string} project What project it is
|
|
854
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
855
|
+
* @param {number} [pageToken] Page reference token
|
|
856
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
857
|
+
* @param {*} [options] Override http request option.
|
|
858
|
+
* @throws {RequiredError}
|
|
859
|
+
*/
|
|
860
|
+
listPickfaceLogs(project, pickfaceId, pageToken, pageSize, options) {
|
|
861
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
862
|
+
var _a, _b, _c;
|
|
863
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPickfaceLogs(project, pickfaceId, pageToken, pageSize, options);
|
|
864
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
865
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.listPickfaceLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
866
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
867
|
+
});
|
|
868
|
+
},
|
|
869
|
+
/**
|
|
870
|
+
* Move stock from one pickface to another in a single transaction
|
|
871
|
+
* @summary Move stock
|
|
872
|
+
* @param {string} project What project it is
|
|
873
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
874
|
+
* @param {MoveStockRequest} moveStockRequest Move stock from one pickface to another
|
|
875
|
+
* @param {*} [options] Override http request option.
|
|
876
|
+
* @throws {RequiredError}
|
|
877
|
+
*/
|
|
878
|
+
moveStock(project, pickfaceId, moveStockRequest, options) {
|
|
879
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
880
|
+
var _a, _b, _c;
|
|
881
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.moveStock(project, pickfaceId, moveStockRequest, options);
|
|
882
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
883
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.moveStock']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
884
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
885
|
+
});
|
|
886
|
+
},
|
|
887
|
+
/**
|
|
888
|
+
* Print a pickface label
|
|
889
|
+
* @summary Print pickface label
|
|
890
|
+
* @param {string} project What project it is
|
|
891
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
892
|
+
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
893
|
+
* @param {*} [options] Override http request option.
|
|
894
|
+
* @throws {RequiredError}
|
|
895
|
+
*/
|
|
896
|
+
printPickfaceLabel(project, pickfaceId, deviceRef, options) {
|
|
897
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
898
|
+
var _a, _b, _c;
|
|
899
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.printPickfaceLabel(project, pickfaceId, deviceRef, options);
|
|
900
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
901
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.printPickfaceLabel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
902
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
903
|
+
});
|
|
904
|
+
},
|
|
905
|
+
/**
|
|
906
|
+
* Print pickface labels
|
|
907
|
+
* @summary Print pickface Labels
|
|
908
|
+
* @param {string} project What project it is
|
|
909
|
+
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
910
|
+
* @param {Array<string>} ids List of pickface ids
|
|
911
|
+
* @param {*} [options] Override http request option.
|
|
912
|
+
* @throws {RequiredError}
|
|
913
|
+
*/
|
|
914
|
+
printPickfaceLabels(project, deviceRef, ids, options) {
|
|
915
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
916
|
+
var _a, _b, _c;
|
|
917
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.printPickfaceLabels(project, deviceRef, ids, options);
|
|
918
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
919
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.printPickfaceLabels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
920
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
921
|
+
});
|
|
922
|
+
},
|
|
923
|
+
/**
|
|
924
|
+
* Resolves an issue on a pickface
|
|
925
|
+
* @summary Resolve pickface issue
|
|
926
|
+
* @param {string} project What project it is
|
|
927
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
928
|
+
* @param {*} [options] Override http request option.
|
|
929
|
+
* @throws {RequiredError}
|
|
930
|
+
*/
|
|
931
|
+
resolvePickfaceIssue(project, pickfaceId, options) {
|
|
932
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
933
|
+
var _a, _b, _c;
|
|
934
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resolvePickfaceIssue(project, pickfaceId, options);
|
|
935
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
936
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.resolvePickfaceIssue']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
937
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
938
|
+
});
|
|
939
|
+
},
|
|
940
|
+
/**
|
|
941
|
+
* Suggest pickfaces for putting away stock
|
|
942
|
+
* @summary Suggest pickfaces
|
|
943
|
+
* @param {string} project What project it is
|
|
944
|
+
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
945
|
+
* @param {number} quantity Number of variants
|
|
946
|
+
* @param {number} [pageToken] Page reference token
|
|
947
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
948
|
+
* @param {*} [options] Override http request option.
|
|
949
|
+
* @throws {RequiredError}
|
|
950
|
+
*/
|
|
951
|
+
suggestPickfaces(project, variantRef, quantity, pageToken, pageSize, options) {
|
|
952
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
953
|
+
var _a, _b, _c;
|
|
954
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, pageToken, pageSize, options);
|
|
955
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
956
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.suggestPickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
957
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
958
|
+
});
|
|
959
|
+
},
|
|
960
|
+
/**
|
|
961
|
+
* Update a Pickface
|
|
962
|
+
* @summary Update Pickface
|
|
963
|
+
* @param {string} project What project it is
|
|
964
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
965
|
+
* @param {UpdatePickfaceRequest} updatePickfaceRequest Update pickface schema
|
|
966
|
+
* @param {*} [options] Override http request option.
|
|
967
|
+
* @throws {RequiredError}
|
|
968
|
+
*/
|
|
969
|
+
updatePickface(project, pickfaceId, updatePickfaceRequest, options) {
|
|
970
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
971
|
+
var _a, _b, _c;
|
|
972
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePickface(project, pickfaceId, updatePickfaceRequest, options);
|
|
973
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
974
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.updatePickface']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
975
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
976
|
+
});
|
|
977
|
+
},
|
|
235
978
|
};
|
|
236
979
|
};
|
|
237
980
|
/**
|
|
@@ -251,6 +994,26 @@ export const PickfacesApiFactory = function (configuration, basePath, axios) {
|
|
|
251
994
|
createPickface(requestParameters, options) {
|
|
252
995
|
return localVarFp.createPickface(requestParameters.project, requestParameters.createPickfaceRequest, options).then((request) => request(axios, basePath));
|
|
253
996
|
},
|
|
997
|
+
/**
|
|
998
|
+
* Delete a Pickface
|
|
999
|
+
* @summary Delete Pickface
|
|
1000
|
+
* @param {PickfacesApiDeletePickfaceRequest} requestParameters Request parameters.
|
|
1001
|
+
* @param {*} [options] Override http request option.
|
|
1002
|
+
* @throws {RequiredError}
|
|
1003
|
+
*/
|
|
1004
|
+
deletePickface(requestParameters, options) {
|
|
1005
|
+
return localVarFp.deletePickface(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(axios, basePath));
|
|
1006
|
+
},
|
|
1007
|
+
/**
|
|
1008
|
+
* Export pickfaces as a CSV file
|
|
1009
|
+
* @summary Export pickfaces
|
|
1010
|
+
* @param {PickfacesApiExportPickfacesRequest} requestParameters Request parameters.
|
|
1011
|
+
* @param {*} [options] Override http request option.
|
|
1012
|
+
* @throws {RequiredError}
|
|
1013
|
+
*/
|
|
1014
|
+
exportPickfaces(requestParameters, options) {
|
|
1015
|
+
return localVarFp.exportPickfaces(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1016
|
+
},
|
|
254
1017
|
/**
|
|
255
1018
|
* Get a pickface
|
|
256
1019
|
* @summary Get pickface
|
|
@@ -261,6 +1024,16 @@ export const PickfacesApiFactory = function (configuration, basePath, axios) {
|
|
|
261
1024
|
getPickface(requestParameters, options) {
|
|
262
1025
|
return localVarFp.getPickface(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(axios, basePath));
|
|
263
1026
|
},
|
|
1027
|
+
/**
|
|
1028
|
+
* Lists pickface container models
|
|
1029
|
+
* @summary Get pickface container models
|
|
1030
|
+
* @param {PickfacesApiGetPickfaceContainerModelsRequest} requestParameters Request parameters.
|
|
1031
|
+
* @param {*} [options] Override http request option.
|
|
1032
|
+
* @throws {RequiredError}
|
|
1033
|
+
*/
|
|
1034
|
+
getPickfaceContainerModels(requestParameters, options) {
|
|
1035
|
+
return localVarFp.getPickfaceContainerModels(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1036
|
+
},
|
|
264
1037
|
/**
|
|
265
1038
|
* Lists all available pickfaces paginated into chunks
|
|
266
1039
|
* @summary List pickfaces
|
|
@@ -271,6 +1044,96 @@ export const PickfacesApiFactory = function (configuration, basePath, axios) {
|
|
|
271
1044
|
getPickfaces(requestParameters, options) {
|
|
272
1045
|
return localVarFp.getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(axios, basePath));
|
|
273
1046
|
},
|
|
1047
|
+
/**
|
|
1048
|
+
* Issue an empty pickface
|
|
1049
|
+
* @summary Issue empty pickface
|
|
1050
|
+
* @param {PickfacesApiIssueEmptyPickfaceRequest} requestParameters Request parameters.
|
|
1051
|
+
* @param {*} [options] Override http request option.
|
|
1052
|
+
* @throws {RequiredError}
|
|
1053
|
+
*/
|
|
1054
|
+
issueEmptyPickface(requestParameters, options) {
|
|
1055
|
+
return localVarFp.issueEmptyPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueEmptyPickfaceRequest, options).then((request) => request(axios, basePath));
|
|
1056
|
+
},
|
|
1057
|
+
/**
|
|
1058
|
+
* Issue a pickface with wrong contents
|
|
1059
|
+
* @summary Issue wrong contents pickface
|
|
1060
|
+
* @param {PickfacesApiIssueWrongContentsPickfaceRequest} requestParameters Request parameters.
|
|
1061
|
+
* @param {*} [options] Override http request option.
|
|
1062
|
+
* @throws {RequiredError}
|
|
1063
|
+
*/
|
|
1064
|
+
issueWrongContentsPickface(requestParameters, options) {
|
|
1065
|
+
return localVarFp.issueWrongContentsPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueWrongContentsPickfaceRequest, options).then((request) => request(axios, basePath));
|
|
1066
|
+
},
|
|
1067
|
+
/**
|
|
1068
|
+
* Get a list of pickface logs
|
|
1069
|
+
* @summary Get pickface logs
|
|
1070
|
+
* @param {PickfacesApiListPickfaceLogsRequest} requestParameters Request parameters.
|
|
1071
|
+
* @param {*} [options] Override http request option.
|
|
1072
|
+
* @throws {RequiredError}
|
|
1073
|
+
*/
|
|
1074
|
+
listPickfaceLogs(requestParameters, options) {
|
|
1075
|
+
return localVarFp.listPickfaceLogs(requestParameters.project, requestParameters.pickfaceId, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1076
|
+
},
|
|
1077
|
+
/**
|
|
1078
|
+
* Move stock from one pickface to another in a single transaction
|
|
1079
|
+
* @summary Move stock
|
|
1080
|
+
* @param {PickfacesApiMoveStockRequest} requestParameters Request parameters.
|
|
1081
|
+
* @param {*} [options] Override http request option.
|
|
1082
|
+
* @throws {RequiredError}
|
|
1083
|
+
*/
|
|
1084
|
+
moveStock(requestParameters, options) {
|
|
1085
|
+
return localVarFp.moveStock(requestParameters.project, requestParameters.pickfaceId, requestParameters.moveStockRequest, options).then((request) => request(axios, basePath));
|
|
1086
|
+
},
|
|
1087
|
+
/**
|
|
1088
|
+
* Print a pickface label
|
|
1089
|
+
* @summary Print pickface label
|
|
1090
|
+
* @param {PickfacesApiPrintPickfaceLabelRequest} requestParameters Request parameters.
|
|
1091
|
+
* @param {*} [options] Override http request option.
|
|
1092
|
+
* @throws {RequiredError}
|
|
1093
|
+
*/
|
|
1094
|
+
printPickfaceLabel(requestParameters, options) {
|
|
1095
|
+
return localVarFp.printPickfaceLabel(requestParameters.project, requestParameters.pickfaceId, requestParameters.deviceRef, options).then((request) => request(axios, basePath));
|
|
1096
|
+
},
|
|
1097
|
+
/**
|
|
1098
|
+
* Print pickface labels
|
|
1099
|
+
* @summary Print pickface Labels
|
|
1100
|
+
* @param {PickfacesApiPrintPickfaceLabelsRequest} requestParameters Request parameters.
|
|
1101
|
+
* @param {*} [options] Override http request option.
|
|
1102
|
+
* @throws {RequiredError}
|
|
1103
|
+
*/
|
|
1104
|
+
printPickfaceLabels(requestParameters, options) {
|
|
1105
|
+
return localVarFp.printPickfaceLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.ids, options).then((request) => request(axios, basePath));
|
|
1106
|
+
},
|
|
1107
|
+
/**
|
|
1108
|
+
* Resolves an issue on a pickface
|
|
1109
|
+
* @summary Resolve pickface issue
|
|
1110
|
+
* @param {PickfacesApiResolvePickfaceIssueRequest} requestParameters Request parameters.
|
|
1111
|
+
* @param {*} [options] Override http request option.
|
|
1112
|
+
* @throws {RequiredError}
|
|
1113
|
+
*/
|
|
1114
|
+
resolvePickfaceIssue(requestParameters, options) {
|
|
1115
|
+
return localVarFp.resolvePickfaceIssue(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(axios, basePath));
|
|
1116
|
+
},
|
|
1117
|
+
/**
|
|
1118
|
+
* Suggest pickfaces for putting away stock
|
|
1119
|
+
* @summary Suggest pickfaces
|
|
1120
|
+
* @param {PickfacesApiSuggestPickfacesRequest} requestParameters Request parameters.
|
|
1121
|
+
* @param {*} [options] Override http request option.
|
|
1122
|
+
* @throws {RequiredError}
|
|
1123
|
+
*/
|
|
1124
|
+
suggestPickfaces(requestParameters, options) {
|
|
1125
|
+
return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1126
|
+
},
|
|
1127
|
+
/**
|
|
1128
|
+
* Update a Pickface
|
|
1129
|
+
* @summary Update Pickface
|
|
1130
|
+
* @param {PickfacesApiUpdatePickfaceRequest} requestParameters Request parameters.
|
|
1131
|
+
* @param {*} [options] Override http request option.
|
|
1132
|
+
* @throws {RequiredError}
|
|
1133
|
+
*/
|
|
1134
|
+
updatePickface(requestParameters, options) {
|
|
1135
|
+
return localVarFp.updatePickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.updatePickfaceRequest, options).then((request) => request(axios, basePath));
|
|
1136
|
+
},
|
|
274
1137
|
};
|
|
275
1138
|
};
|
|
276
1139
|
/**
|
|
@@ -291,6 +1154,28 @@ export class PickfacesApi extends BaseAPI {
|
|
|
291
1154
|
createPickface(requestParameters, options) {
|
|
292
1155
|
return PickfacesApiFp(this.configuration).createPickface(requestParameters.project, requestParameters.createPickfaceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
293
1156
|
}
|
|
1157
|
+
/**
|
|
1158
|
+
* Delete a Pickface
|
|
1159
|
+
* @summary Delete Pickface
|
|
1160
|
+
* @param {PickfacesApiDeletePickfaceRequest} requestParameters Request parameters.
|
|
1161
|
+
* @param {*} [options] Override http request option.
|
|
1162
|
+
* @throws {RequiredError}
|
|
1163
|
+
* @memberof PickfacesApi
|
|
1164
|
+
*/
|
|
1165
|
+
deletePickface(requestParameters, options) {
|
|
1166
|
+
return PickfacesApiFp(this.configuration).deletePickface(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(this.axios, this.basePath));
|
|
1167
|
+
}
|
|
1168
|
+
/**
|
|
1169
|
+
* Export pickfaces as a CSV file
|
|
1170
|
+
* @summary Export pickfaces
|
|
1171
|
+
* @param {PickfacesApiExportPickfacesRequest} requestParameters Request parameters.
|
|
1172
|
+
* @param {*} [options] Override http request option.
|
|
1173
|
+
* @throws {RequiredError}
|
|
1174
|
+
* @memberof PickfacesApi
|
|
1175
|
+
*/
|
|
1176
|
+
exportPickfaces(requestParameters, options) {
|
|
1177
|
+
return PickfacesApiFp(this.configuration).exportPickfaces(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1178
|
+
}
|
|
294
1179
|
/**
|
|
295
1180
|
* Get a pickface
|
|
296
1181
|
* @summary Get pickface
|
|
@@ -302,6 +1187,17 @@ export class PickfacesApi extends BaseAPI {
|
|
|
302
1187
|
getPickface(requestParameters, options) {
|
|
303
1188
|
return PickfacesApiFp(this.configuration).getPickface(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(this.axios, this.basePath));
|
|
304
1189
|
}
|
|
1190
|
+
/**
|
|
1191
|
+
* Lists pickface container models
|
|
1192
|
+
* @summary Get pickface container models
|
|
1193
|
+
* @param {PickfacesApiGetPickfaceContainerModelsRequest} requestParameters Request parameters.
|
|
1194
|
+
* @param {*} [options] Override http request option.
|
|
1195
|
+
* @throws {RequiredError}
|
|
1196
|
+
* @memberof PickfacesApi
|
|
1197
|
+
*/
|
|
1198
|
+
getPickfaceContainerModels(requestParameters, options) {
|
|
1199
|
+
return PickfacesApiFp(this.configuration).getPickfaceContainerModels(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1200
|
+
}
|
|
305
1201
|
/**
|
|
306
1202
|
* Lists all available pickfaces paginated into chunks
|
|
307
1203
|
* @summary List pickfaces
|
|
@@ -313,6 +1209,105 @@ export class PickfacesApi extends BaseAPI {
|
|
|
313
1209
|
getPickfaces(requestParameters, options) {
|
|
314
1210
|
return PickfacesApiFp(this.configuration).getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));
|
|
315
1211
|
}
|
|
1212
|
+
/**
|
|
1213
|
+
* Issue an empty pickface
|
|
1214
|
+
* @summary Issue empty pickface
|
|
1215
|
+
* @param {PickfacesApiIssueEmptyPickfaceRequest} requestParameters Request parameters.
|
|
1216
|
+
* @param {*} [options] Override http request option.
|
|
1217
|
+
* @throws {RequiredError}
|
|
1218
|
+
* @memberof PickfacesApi
|
|
1219
|
+
*/
|
|
1220
|
+
issueEmptyPickface(requestParameters, options) {
|
|
1221
|
+
return PickfacesApiFp(this.configuration).issueEmptyPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueEmptyPickfaceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1222
|
+
}
|
|
1223
|
+
/**
|
|
1224
|
+
* Issue a pickface with wrong contents
|
|
1225
|
+
* @summary Issue wrong contents pickface
|
|
1226
|
+
* @param {PickfacesApiIssueWrongContentsPickfaceRequest} requestParameters Request parameters.
|
|
1227
|
+
* @param {*} [options] Override http request option.
|
|
1228
|
+
* @throws {RequiredError}
|
|
1229
|
+
* @memberof PickfacesApi
|
|
1230
|
+
*/
|
|
1231
|
+
issueWrongContentsPickface(requestParameters, options) {
|
|
1232
|
+
return PickfacesApiFp(this.configuration).issueWrongContentsPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueWrongContentsPickfaceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1233
|
+
}
|
|
1234
|
+
/**
|
|
1235
|
+
* Get a list of pickface logs
|
|
1236
|
+
* @summary Get pickface logs
|
|
1237
|
+
* @param {PickfacesApiListPickfaceLogsRequest} requestParameters Request parameters.
|
|
1238
|
+
* @param {*} [options] Override http request option.
|
|
1239
|
+
* @throws {RequiredError}
|
|
1240
|
+
* @memberof PickfacesApi
|
|
1241
|
+
*/
|
|
1242
|
+
listPickfaceLogs(requestParameters, options) {
|
|
1243
|
+
return PickfacesApiFp(this.configuration).listPickfaceLogs(requestParameters.project, requestParameters.pickfaceId, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
1244
|
+
}
|
|
1245
|
+
/**
|
|
1246
|
+
* Move stock from one pickface to another in a single transaction
|
|
1247
|
+
* @summary Move stock
|
|
1248
|
+
* @param {PickfacesApiMoveStockRequest} requestParameters Request parameters.
|
|
1249
|
+
* @param {*} [options] Override http request option.
|
|
1250
|
+
* @throws {RequiredError}
|
|
1251
|
+
* @memberof PickfacesApi
|
|
1252
|
+
*/
|
|
1253
|
+
moveStock(requestParameters, options) {
|
|
1254
|
+
return PickfacesApiFp(this.configuration).moveStock(requestParameters.project, requestParameters.pickfaceId, requestParameters.moveStockRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1255
|
+
}
|
|
1256
|
+
/**
|
|
1257
|
+
* Print a pickface label
|
|
1258
|
+
* @summary Print pickface label
|
|
1259
|
+
* @param {PickfacesApiPrintPickfaceLabelRequest} requestParameters Request parameters.
|
|
1260
|
+
* @param {*} [options] Override http request option.
|
|
1261
|
+
* @throws {RequiredError}
|
|
1262
|
+
* @memberof PickfacesApi
|
|
1263
|
+
*/
|
|
1264
|
+
printPickfaceLabel(requestParameters, options) {
|
|
1265
|
+
return PickfacesApiFp(this.configuration).printPickfaceLabel(requestParameters.project, requestParameters.pickfaceId, requestParameters.deviceRef, options).then((request) => request(this.axios, this.basePath));
|
|
1266
|
+
}
|
|
1267
|
+
/**
|
|
1268
|
+
* Print pickface labels
|
|
1269
|
+
* @summary Print pickface Labels
|
|
1270
|
+
* @param {PickfacesApiPrintPickfaceLabelsRequest} requestParameters Request parameters.
|
|
1271
|
+
* @param {*} [options] Override http request option.
|
|
1272
|
+
* @throws {RequiredError}
|
|
1273
|
+
* @memberof PickfacesApi
|
|
1274
|
+
*/
|
|
1275
|
+
printPickfaceLabels(requestParameters, options) {
|
|
1276
|
+
return PickfacesApiFp(this.configuration).printPickfaceLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.ids, options).then((request) => request(this.axios, this.basePath));
|
|
1277
|
+
}
|
|
1278
|
+
/**
|
|
1279
|
+
* Resolves an issue on a pickface
|
|
1280
|
+
* @summary Resolve pickface issue
|
|
1281
|
+
* @param {PickfacesApiResolvePickfaceIssueRequest} requestParameters Request parameters.
|
|
1282
|
+
* @param {*} [options] Override http request option.
|
|
1283
|
+
* @throws {RequiredError}
|
|
1284
|
+
* @memberof PickfacesApi
|
|
1285
|
+
*/
|
|
1286
|
+
resolvePickfaceIssue(requestParameters, options) {
|
|
1287
|
+
return PickfacesApiFp(this.configuration).resolvePickfaceIssue(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(this.axios, this.basePath));
|
|
1288
|
+
}
|
|
1289
|
+
/**
|
|
1290
|
+
* Suggest pickfaces for putting away stock
|
|
1291
|
+
* @summary Suggest pickfaces
|
|
1292
|
+
* @param {PickfacesApiSuggestPickfacesRequest} requestParameters Request parameters.
|
|
1293
|
+
* @param {*} [options] Override http request option.
|
|
1294
|
+
* @throws {RequiredError}
|
|
1295
|
+
* @memberof PickfacesApi
|
|
1296
|
+
*/
|
|
1297
|
+
suggestPickfaces(requestParameters, options) {
|
|
1298
|
+
return PickfacesApiFp(this.configuration).suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
1299
|
+
}
|
|
1300
|
+
/**
|
|
1301
|
+
* Update a Pickface
|
|
1302
|
+
* @summary Update Pickface
|
|
1303
|
+
* @param {PickfacesApiUpdatePickfaceRequest} requestParameters Request parameters.
|
|
1304
|
+
* @param {*} [options] Override http request option.
|
|
1305
|
+
* @throws {RequiredError}
|
|
1306
|
+
* @memberof PickfacesApi
|
|
1307
|
+
*/
|
|
1308
|
+
updatePickface(requestParameters, options) {
|
|
1309
|
+
return PickfacesApiFp(this.configuration).updatePickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.updatePickfaceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1310
|
+
}
|
|
316
1311
|
}
|
|
317
1312
|
/**
|
|
318
1313
|
* @export
|