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