@teemill/pickfaces 0.19.1 → 0.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +159 -184
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +123 -148
- package/dist/api.js +102 -102
- 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 +2 -2
- package/dist/esm/api.d.ts +123 -148
- package/dist/esm/api.js +102 -102
- 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 +2 -2
- 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.20.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -39,7 +39,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
39
39
|
/**
|
|
40
40
|
* Create a Pickface
|
|
41
41
|
* @summary Create Pickface
|
|
42
|
-
* @param {string} project
|
|
42
|
+
* @param {string} project The project ID
|
|
43
43
|
* @param {CreatePickfaceRequest} createPickfaceRequest Create pickface schema
|
|
44
44
|
* @param {*} [options] Override http request option.
|
|
45
45
|
* @throws {RequiredError}
|
|
@@ -80,7 +80,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
80
80
|
/**
|
|
81
81
|
* Delete a Pickface
|
|
82
82
|
* @summary Delete Pickface
|
|
83
|
-
* @param {string} project
|
|
83
|
+
* @param {string} project The project ID
|
|
84
84
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
85
85
|
* @param {*} [options] Override http request option.
|
|
86
86
|
* @throws {RequiredError}
|
|
@@ -120,7 +120,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
120
120
|
/**
|
|
121
121
|
* Export pickfaces as a CSV file
|
|
122
122
|
* @summary Export pickfaces
|
|
123
|
-
* @param {string} project
|
|
123
|
+
* @param {string} project The project ID
|
|
124
124
|
* @param {string} [search] Search term to filter based on pickface code
|
|
125
125
|
* @param {*} [options] Override http request option.
|
|
126
126
|
* @throws {RequiredError}
|
|
@@ -160,7 +160,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
160
160
|
/**
|
|
161
161
|
* Get a specific pickface. Pickfaces contain useful information such as the items they contain and their level of fullness
|
|
162
162
|
* @summary Get pickface
|
|
163
|
-
* @param {string} project
|
|
163
|
+
* @param {string} project The project ID
|
|
164
164
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
165
165
|
* @param {*} [options] Override http request option.
|
|
166
166
|
* @throws {RequiredError}
|
|
@@ -198,23 +198,30 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
198
198
|
};
|
|
199
199
|
}),
|
|
200
200
|
/**
|
|
201
|
-
*
|
|
202
|
-
* @summary
|
|
203
|
-
* @param {string} project
|
|
201
|
+
* Issue an empty pickface
|
|
202
|
+
* @summary Issue empty pickface
|
|
203
|
+
* @param {string} project The project ID
|
|
204
|
+
* @param {string} pickfaceId Unique identifier of a pickface
|
|
205
|
+
* @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
|
|
204
206
|
* @param {*} [options] Override http request option.
|
|
205
207
|
* @throws {RequiredError}
|
|
206
208
|
*/
|
|
207
|
-
|
|
209
|
+
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 = {}) {
|
|
208
210
|
// verify required parameter 'project' is not null or undefined
|
|
209
|
-
assertParamExists('
|
|
210
|
-
|
|
211
|
+
assertParamExists('issueEmptyPickface', 'project', project);
|
|
212
|
+
// verify required parameter 'pickfaceId' is not null or undefined
|
|
213
|
+
assertParamExists('issueEmptyPickface', 'pickfaceId', pickfaceId);
|
|
214
|
+
// verify required parameter 'issueEmptyPickfaceRequest' is not null or undefined
|
|
215
|
+
assertParamExists('issueEmptyPickface', 'issueEmptyPickfaceRequest', issueEmptyPickfaceRequest);
|
|
216
|
+
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/empty`
|
|
217
|
+
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
211
218
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
212
219
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
213
220
|
let baseOptions;
|
|
214
221
|
if (configuration) {
|
|
215
222
|
baseOptions = configuration.baseOptions;
|
|
216
223
|
}
|
|
217
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
224
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
218
225
|
const localVarHeaderParameter = {};
|
|
219
226
|
const localVarQueryParameter = {};
|
|
220
227
|
// authentication session-oauth required
|
|
@@ -225,31 +232,33 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
225
232
|
if (project !== undefined) {
|
|
226
233
|
localVarQueryParameter['project'] = project;
|
|
227
234
|
}
|
|
235
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
228
236
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
229
237
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
230
238
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
239
|
+
localVarRequestOptions.data = serializeDataIfNeeded(issueEmptyPickfaceRequest, localVarRequestOptions, configuration);
|
|
231
240
|
return {
|
|
232
241
|
url: toPathString(localVarUrlObj),
|
|
233
242
|
options: localVarRequestOptions,
|
|
234
243
|
};
|
|
235
244
|
}),
|
|
236
245
|
/**
|
|
237
|
-
* Issue
|
|
238
|
-
* @summary Issue
|
|
239
|
-
* @param {string} project
|
|
246
|
+
* Issue a pickface with wrong contents
|
|
247
|
+
* @summary Issue wrong contents pickface
|
|
248
|
+
* @param {string} project The project ID
|
|
240
249
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
241
|
-
* @param {
|
|
250
|
+
* @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
|
|
242
251
|
* @param {*} [options] Override http request option.
|
|
243
252
|
* @throws {RequiredError}
|
|
244
253
|
*/
|
|
245
|
-
|
|
254
|
+
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 = {}) {
|
|
246
255
|
// verify required parameter 'project' is not null or undefined
|
|
247
|
-
assertParamExists('
|
|
256
|
+
assertParamExists('issueWrongContentsPickface', 'project', project);
|
|
248
257
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
249
|
-
assertParamExists('
|
|
250
|
-
// verify required parameter '
|
|
251
|
-
assertParamExists('
|
|
252
|
-
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/
|
|
258
|
+
assertParamExists('issueWrongContentsPickface', 'pickfaceId', pickfaceId);
|
|
259
|
+
// verify required parameter 'issueWrongContentsPickfaceRequest' is not null or undefined
|
|
260
|
+
assertParamExists('issueWrongContentsPickface', 'issueWrongContentsPickfaceRequest', issueWrongContentsPickfaceRequest);
|
|
261
|
+
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/wrong-contents`
|
|
253
262
|
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
254
263
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
255
264
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -272,37 +281,30 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
272
281
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
273
282
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
274
283
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
275
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
284
|
+
localVarRequestOptions.data = serializeDataIfNeeded(issueWrongContentsPickfaceRequest, localVarRequestOptions, configuration);
|
|
276
285
|
return {
|
|
277
286
|
url: toPathString(localVarUrlObj),
|
|
278
287
|
options: localVarRequestOptions,
|
|
279
288
|
};
|
|
280
289
|
}),
|
|
281
290
|
/**
|
|
282
|
-
*
|
|
283
|
-
* @summary
|
|
284
|
-
* @param {string} project
|
|
285
|
-
* @param {string} pickfaceId Unique identifier of a pickface
|
|
286
|
-
* @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
|
|
291
|
+
* Lists pickface container types
|
|
292
|
+
* @summary List pickface container types
|
|
293
|
+
* @param {string} project The project ID
|
|
287
294
|
* @param {*} [options] Override http request option.
|
|
288
295
|
* @throws {RequiredError}
|
|
289
296
|
*/
|
|
290
|
-
|
|
297
|
+
listPickfaceContainerTypes: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
291
298
|
// verify required parameter 'project' is not null or undefined
|
|
292
|
-
assertParamExists('
|
|
293
|
-
|
|
294
|
-
assertParamExists('issueWrongContentsPickface', 'pickfaceId', pickfaceId);
|
|
295
|
-
// verify required parameter 'issueWrongContentsPickfaceRequest' is not null or undefined
|
|
296
|
-
assertParamExists('issueWrongContentsPickface', 'issueWrongContentsPickfaceRequest', issueWrongContentsPickfaceRequest);
|
|
297
|
-
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/wrong-contents`
|
|
298
|
-
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
299
|
+
assertParamExists('listPickfaceContainerTypes', 'project', project);
|
|
300
|
+
const localVarPath = `/v1/pickfaces/container-types`;
|
|
299
301
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
300
302
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
301
303
|
let baseOptions;
|
|
302
304
|
if (configuration) {
|
|
303
305
|
baseOptions = configuration.baseOptions;
|
|
304
306
|
}
|
|
305
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
307
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
306
308
|
const localVarHeaderParameter = {};
|
|
307
309
|
const localVarQueryParameter = {};
|
|
308
310
|
// authentication session-oauth required
|
|
@@ -313,11 +315,9 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
313
315
|
if (project !== undefined) {
|
|
314
316
|
localVarQueryParameter['project'] = project;
|
|
315
317
|
}
|
|
316
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
317
318
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
318
319
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
319
320
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
320
|
-
localVarRequestOptions.data = serializeDataIfNeeded(issueWrongContentsPickfaceRequest, localVarRequestOptions, configuration);
|
|
321
321
|
return {
|
|
322
322
|
url: toPathString(localVarUrlObj),
|
|
323
323
|
options: localVarRequestOptions,
|
|
@@ -326,7 +326,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
326
326
|
/**
|
|
327
327
|
* Get a list of pickface logs
|
|
328
328
|
* @summary Get pickface logs
|
|
329
|
-
* @param {string} project
|
|
329
|
+
* @param {string} project The project ID
|
|
330
330
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
331
331
|
* @param {number} [pageToken] Page reference token
|
|
332
332
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
@@ -372,9 +372,9 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
372
372
|
};
|
|
373
373
|
}),
|
|
374
374
|
/**
|
|
375
|
-
* Lists
|
|
375
|
+
* Lists pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
|
|
376
376
|
* @summary List pickfaces
|
|
377
|
-
* @param {string} project
|
|
377
|
+
* @param {string} project The project ID
|
|
378
378
|
* @param {string} [search] Search term to filter based on pickface code
|
|
379
379
|
* @param {number} [pageToken] Page reference token
|
|
380
380
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
@@ -426,7 +426,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
426
426
|
/**
|
|
427
427
|
* Move stock from one pickface to another in a single transaction
|
|
428
428
|
* @summary Move stock
|
|
429
|
-
* @param {string} project
|
|
429
|
+
* @param {string} project The project ID
|
|
430
430
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
431
431
|
* @param {MoveStockRequest} moveStockRequest Move stock from one pickface to another
|
|
432
432
|
* @param {*} [options] Override http request option.
|
|
@@ -471,7 +471,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
471
471
|
/**
|
|
472
472
|
* Print a pickface label
|
|
473
473
|
* @summary Print pickface label
|
|
474
|
-
* @param {string} project
|
|
474
|
+
* @param {string} project The project ID
|
|
475
475
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
476
476
|
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
477
477
|
* @param {*} [options] Override http request option.
|
|
@@ -517,7 +517,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
517
517
|
/**
|
|
518
518
|
* Print pickface labels
|
|
519
519
|
* @summary Print pickface Labels
|
|
520
|
-
* @param {string} project
|
|
520
|
+
* @param {string} project The project ID
|
|
521
521
|
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
522
522
|
* @param {string} [search] Search term to filter based on pickface code
|
|
523
523
|
* @param {Array<string> | null} [ids] List of pickface ids
|
|
@@ -567,7 +567,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
567
567
|
/**
|
|
568
568
|
* Resolves an issue on a pickface
|
|
569
569
|
* @summary Resolve pickface issue
|
|
570
|
-
* @param {string} project
|
|
570
|
+
* @param {string} project The project ID
|
|
571
571
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
572
572
|
* @param {*} [options] Override http request option.
|
|
573
573
|
* @throws {RequiredError}
|
|
@@ -607,7 +607,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
607
607
|
/**
|
|
608
608
|
* Suggest pickfaces for putting away stock
|
|
609
609
|
* @summary Suggest pickfaces
|
|
610
|
-
* @param {string} project
|
|
610
|
+
* @param {string} project The project ID
|
|
611
611
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
612
612
|
* @param {number} quantity Number of variants
|
|
613
613
|
* @param {number} [pageToken] Page reference token
|
|
@@ -663,7 +663,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
663
663
|
/**
|
|
664
664
|
* Update a Pickface
|
|
665
665
|
* @summary Update Pickface
|
|
666
|
-
* @param {string} project
|
|
666
|
+
* @param {string} project The project ID
|
|
667
667
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
668
668
|
* @param {UpdatePickfaceRequest} updatePickfaceRequest Update pickface schema
|
|
669
669
|
* @param {*} [options] Override http request option.
|
|
@@ -717,7 +717,7 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
717
717
|
/**
|
|
718
718
|
* Create a Pickface
|
|
719
719
|
* @summary Create Pickface
|
|
720
|
-
* @param {string} project
|
|
720
|
+
* @param {string} project The project ID
|
|
721
721
|
* @param {CreatePickfaceRequest} createPickfaceRequest Create pickface schema
|
|
722
722
|
* @param {*} [options] Override http request option.
|
|
723
723
|
* @throws {RequiredError}
|
|
@@ -734,7 +734,7 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
734
734
|
/**
|
|
735
735
|
* Delete a Pickface
|
|
736
736
|
* @summary Delete Pickface
|
|
737
|
-
* @param {string} project
|
|
737
|
+
* @param {string} project The project ID
|
|
738
738
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
739
739
|
* @param {*} [options] Override http request option.
|
|
740
740
|
* @throws {RequiredError}
|
|
@@ -751,7 +751,7 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
751
751
|
/**
|
|
752
752
|
* Export pickfaces as a CSV file
|
|
753
753
|
* @summary Export pickfaces
|
|
754
|
-
* @param {string} project
|
|
754
|
+
* @param {string} project The project ID
|
|
755
755
|
* @param {string} [search] Search term to filter based on pickface code
|
|
756
756
|
* @param {*} [options] Override http request option.
|
|
757
757
|
* @throws {RequiredError}
|
|
@@ -768,7 +768,7 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
768
768
|
/**
|
|
769
769
|
* Get a specific pickface. Pickfaces contain useful information such as the items they contain and their level of fullness
|
|
770
770
|
* @summary Get pickface
|
|
771
|
-
* @param {string} project
|
|
771
|
+
* @param {string} project The project ID
|
|
772
772
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
773
773
|
* @param {*} [options] Override http request option.
|
|
774
774
|
* @throws {RequiredError}
|
|
@@ -782,26 +782,10 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
782
782
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
783
783
|
});
|
|
784
784
|
},
|
|
785
|
-
/**
|
|
786
|
-
* Lists pickface container models
|
|
787
|
-
* @summary Get pickface container models
|
|
788
|
-
* @param {string} project What project it is
|
|
789
|
-
* @param {*} [options] Override http request option.
|
|
790
|
-
* @throws {RequiredError}
|
|
791
|
-
*/
|
|
792
|
-
getPickfaceContainerModels(project, options) {
|
|
793
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
794
|
-
var _a, _b, _c;
|
|
795
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPickfaceContainerModels(project, options);
|
|
796
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
797
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.getPickfaceContainerModels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
798
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
799
|
-
});
|
|
800
|
-
},
|
|
801
785
|
/**
|
|
802
786
|
* Issue an empty pickface
|
|
803
787
|
* @summary Issue empty pickface
|
|
804
|
-
* @param {string} project
|
|
788
|
+
* @param {string} project The project ID
|
|
805
789
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
806
790
|
* @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
|
|
807
791
|
* @param {*} [options] Override http request option.
|
|
@@ -819,7 +803,7 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
819
803
|
/**
|
|
820
804
|
* Issue a pickface with wrong contents
|
|
821
805
|
* @summary Issue wrong contents pickface
|
|
822
|
-
* @param {string} project
|
|
806
|
+
* @param {string} project The project ID
|
|
823
807
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
824
808
|
* @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
|
|
825
809
|
* @param {*} [options] Override http request option.
|
|
@@ -834,10 +818,26 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
834
818
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
835
819
|
});
|
|
836
820
|
},
|
|
821
|
+
/**
|
|
822
|
+
* Lists pickface container types
|
|
823
|
+
* @summary List pickface container types
|
|
824
|
+
* @param {string} project The project ID
|
|
825
|
+
* @param {*} [options] Override http request option.
|
|
826
|
+
* @throws {RequiredError}
|
|
827
|
+
*/
|
|
828
|
+
listPickfaceContainerTypes(project, options) {
|
|
829
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
830
|
+
var _a, _b, _c;
|
|
831
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPickfaceContainerTypes(project, options);
|
|
832
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
833
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.listPickfaceContainerTypes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
834
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
835
|
+
});
|
|
836
|
+
},
|
|
837
837
|
/**
|
|
838
838
|
* Get a list of pickface logs
|
|
839
839
|
* @summary Get pickface logs
|
|
840
|
-
* @param {string} project
|
|
840
|
+
* @param {string} project The project ID
|
|
841
841
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
842
842
|
* @param {number} [pageToken] Page reference token
|
|
843
843
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
@@ -854,9 +854,9 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
854
854
|
});
|
|
855
855
|
},
|
|
856
856
|
/**
|
|
857
|
-
* Lists
|
|
857
|
+
* Lists pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
|
|
858
858
|
* @summary List pickfaces
|
|
859
|
-
* @param {string} project
|
|
859
|
+
* @param {string} project The project ID
|
|
860
860
|
* @param {string} [search] Search term to filter based on pickface code
|
|
861
861
|
* @param {number} [pageToken] Page reference token
|
|
862
862
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
@@ -876,7 +876,7 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
876
876
|
/**
|
|
877
877
|
* Move stock from one pickface to another in a single transaction
|
|
878
878
|
* @summary Move stock
|
|
879
|
-
* @param {string} project
|
|
879
|
+
* @param {string} project The project ID
|
|
880
880
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
881
881
|
* @param {MoveStockRequest} moveStockRequest Move stock from one pickface to another
|
|
882
882
|
* @param {*} [options] Override http request option.
|
|
@@ -894,7 +894,7 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
894
894
|
/**
|
|
895
895
|
* Print a pickface label
|
|
896
896
|
* @summary Print pickface label
|
|
897
|
-
* @param {string} project
|
|
897
|
+
* @param {string} project The project ID
|
|
898
898
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
899
899
|
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
900
900
|
* @param {*} [options] Override http request option.
|
|
@@ -912,7 +912,7 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
912
912
|
/**
|
|
913
913
|
* Print pickface labels
|
|
914
914
|
* @summary Print pickface Labels
|
|
915
|
-
* @param {string} project
|
|
915
|
+
* @param {string} project The project ID
|
|
916
916
|
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
917
917
|
* @param {string} [search] Search term to filter based on pickface code
|
|
918
918
|
* @param {Array<string> | null} [ids] List of pickface ids
|
|
@@ -931,7 +931,7 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
931
931
|
/**
|
|
932
932
|
* Resolves an issue on a pickface
|
|
933
933
|
* @summary Resolve pickface issue
|
|
934
|
-
* @param {string} project
|
|
934
|
+
* @param {string} project The project ID
|
|
935
935
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
936
936
|
* @param {*} [options] Override http request option.
|
|
937
937
|
* @throws {RequiredError}
|
|
@@ -948,7 +948,7 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
948
948
|
/**
|
|
949
949
|
* Suggest pickfaces for putting away stock
|
|
950
950
|
* @summary Suggest pickfaces
|
|
951
|
-
* @param {string} project
|
|
951
|
+
* @param {string} project The project ID
|
|
952
952
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
953
953
|
* @param {number} quantity Number of variants
|
|
954
954
|
* @param {number} [pageToken] Page reference token
|
|
@@ -968,7 +968,7 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
968
968
|
/**
|
|
969
969
|
* Update a Pickface
|
|
970
970
|
* @summary Update Pickface
|
|
971
|
-
* @param {string} project
|
|
971
|
+
* @param {string} project The project ID
|
|
972
972
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
973
973
|
* @param {UpdatePickfaceRequest} updatePickfaceRequest Update pickface schema
|
|
974
974
|
* @param {*} [options] Override http request option.
|
|
@@ -1032,16 +1032,6 @@ export const PickfacesApiFactory = function (configuration, basePath, axios) {
|
|
|
1032
1032
|
getPickface(requestParameters, options) {
|
|
1033
1033
|
return localVarFp.getPickface(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(axios, basePath));
|
|
1034
1034
|
},
|
|
1035
|
-
/**
|
|
1036
|
-
* Lists pickface container models
|
|
1037
|
-
* @summary Get pickface container models
|
|
1038
|
-
* @param {PickfacesApiGetPickfaceContainerModelsRequest} requestParameters Request parameters.
|
|
1039
|
-
* @param {*} [options] Override http request option.
|
|
1040
|
-
* @throws {RequiredError}
|
|
1041
|
-
*/
|
|
1042
|
-
getPickfaceContainerModels(requestParameters, options) {
|
|
1043
|
-
return localVarFp.getPickfaceContainerModels(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1044
|
-
},
|
|
1045
1035
|
/**
|
|
1046
1036
|
* Issue an empty pickface
|
|
1047
1037
|
* @summary Issue empty pickface
|
|
@@ -1062,6 +1052,16 @@ export const PickfacesApiFactory = function (configuration, basePath, axios) {
|
|
|
1062
1052
|
issueWrongContentsPickface(requestParameters, options) {
|
|
1063
1053
|
return localVarFp.issueWrongContentsPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueWrongContentsPickfaceRequest, options).then((request) => request(axios, basePath));
|
|
1064
1054
|
},
|
|
1055
|
+
/**
|
|
1056
|
+
* Lists pickface container types
|
|
1057
|
+
* @summary List pickface container types
|
|
1058
|
+
* @param {PickfacesApiListPickfaceContainerTypesRequest} requestParameters Request parameters.
|
|
1059
|
+
* @param {*} [options] Override http request option.
|
|
1060
|
+
* @throws {RequiredError}
|
|
1061
|
+
*/
|
|
1062
|
+
listPickfaceContainerTypes(requestParameters, options) {
|
|
1063
|
+
return localVarFp.listPickfaceContainerTypes(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1064
|
+
},
|
|
1065
1065
|
/**
|
|
1066
1066
|
* Get a list of pickface logs
|
|
1067
1067
|
* @summary Get pickface logs
|
|
@@ -1073,7 +1073,7 @@ export const PickfacesApiFactory = function (configuration, basePath, axios) {
|
|
|
1073
1073
|
return localVarFp.listPickfaceLogs(requestParameters.project, requestParameters.pickfaceId, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1074
1074
|
},
|
|
1075
1075
|
/**
|
|
1076
|
-
* Lists
|
|
1076
|
+
* Lists pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
|
|
1077
1077
|
* @summary List pickfaces
|
|
1078
1078
|
* @param {PickfacesApiListPickfacesRequest} requestParameters Request parameters.
|
|
1079
1079
|
* @param {*} [options] Override http request option.
|
|
@@ -1195,17 +1195,6 @@ export class PickfacesApi extends BaseAPI {
|
|
|
1195
1195
|
getPickface(requestParameters, options) {
|
|
1196
1196
|
return PickfacesApiFp(this.configuration).getPickface(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(this.axios, this.basePath));
|
|
1197
1197
|
}
|
|
1198
|
-
/**
|
|
1199
|
-
* Lists pickface container models
|
|
1200
|
-
* @summary Get pickface container models
|
|
1201
|
-
* @param {PickfacesApiGetPickfaceContainerModelsRequest} requestParameters Request parameters.
|
|
1202
|
-
* @param {*} [options] Override http request option.
|
|
1203
|
-
* @throws {RequiredError}
|
|
1204
|
-
* @memberof PickfacesApi
|
|
1205
|
-
*/
|
|
1206
|
-
getPickfaceContainerModels(requestParameters, options) {
|
|
1207
|
-
return PickfacesApiFp(this.configuration).getPickfaceContainerModels(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1208
|
-
}
|
|
1209
1198
|
/**
|
|
1210
1199
|
* Issue an empty pickface
|
|
1211
1200
|
* @summary Issue empty pickface
|
|
@@ -1228,6 +1217,17 @@ export class PickfacesApi extends BaseAPI {
|
|
|
1228
1217
|
issueWrongContentsPickface(requestParameters, options) {
|
|
1229
1218
|
return PickfacesApiFp(this.configuration).issueWrongContentsPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueWrongContentsPickfaceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1230
1219
|
}
|
|
1220
|
+
/**
|
|
1221
|
+
* Lists pickface container types
|
|
1222
|
+
* @summary List pickface container types
|
|
1223
|
+
* @param {PickfacesApiListPickfaceContainerTypesRequest} requestParameters Request parameters.
|
|
1224
|
+
* @param {*} [options] Override http request option.
|
|
1225
|
+
* @throws {RequiredError}
|
|
1226
|
+
* @memberof PickfacesApi
|
|
1227
|
+
*/
|
|
1228
|
+
listPickfaceContainerTypes(requestParameters, options) {
|
|
1229
|
+
return PickfacesApiFp(this.configuration).listPickfaceContainerTypes(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1230
|
+
}
|
|
1231
1231
|
/**
|
|
1232
1232
|
* Get a list of pickface logs
|
|
1233
1233
|
* @summary Get pickface logs
|
|
@@ -1240,7 +1240,7 @@ export class PickfacesApi extends BaseAPI {
|
|
|
1240
1240
|
return PickfacesApiFp(this.configuration).listPickfaceLogs(requestParameters.project, requestParameters.pickfaceId, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
1241
1241
|
}
|
|
1242
1242
|
/**
|
|
1243
|
-
* Lists
|
|
1243
|
+
* Lists pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
|
|
1244
1244
|
* @summary List pickfaces
|
|
1245
1245
|
* @param {PickfacesApiListPickfacesRequest} requestParameters Request parameters.
|
|
1246
1246
|
* @param {*} [options] Override http request option.
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.20.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.20.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.20.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.20.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.20.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.20.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,7 +20,7 @@ export class Configuration {
|
|
|
20
20
|
this.accessToken = param.accessToken;
|
|
21
21
|
this.basePath = param.basePath;
|
|
22
22
|
this.serverIndex = param.serverIndex;
|
|
23
|
-
this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/0.
|
|
23
|
+
this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/0.20.1/typescript-axios" }) }, param.baseOptions);
|
|
24
24
|
this.formDataCtor = param.formDataCtor;
|
|
25
25
|
}
|
|
26
26
|
/**
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.20.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.20.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.20.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces API
|
|
6
6
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.20.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.20.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|