@teemill/pickfaces 0.19.0 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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.
7
7
  *
8
- * The version of the OpenAPI document: 0.19.0
8
+ * The version of the OpenAPI document: 0.20.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.GetPickfacesSortByEnum = exports.PickfacesApi = exports.PickfacesApiFactory = exports.PickfacesApiFp = exports.PickfacesApiAxiosParamCreator = exports.UpdatePickfaceRequestContentsInnerQuantityOperationEnum = void 0;
25
+ exports.ListPickfacesSortByEnum = exports.PickfacesApi = exports.PickfacesApiFactory = exports.PickfacesApiFp = exports.PickfacesApiAxiosParamCreator = exports.UpdatePickfaceRequestContentsInnerQuantityOperationEnum = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -42,7 +42,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
42
42
  /**
43
43
  * Create a Pickface
44
44
  * @summary Create Pickface
45
- * @param {string} project What project it is
45
+ * @param {string} project The project ID
46
46
  * @param {CreatePickfaceRequest} createPickfaceRequest Create pickface schema
47
47
  * @param {*} [options] Override http request option.
48
48
  * @throws {RequiredError}
@@ -83,7 +83,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
83
83
  /**
84
84
  * Delete a Pickface
85
85
  * @summary Delete Pickface
86
- * @param {string} project What project it is
86
+ * @param {string} project The project ID
87
87
  * @param {string} pickfaceId Unique identifier of a pickface
88
88
  * @param {*} [options] Override http request option.
89
89
  * @throws {RequiredError}
@@ -123,7 +123,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
123
123
  /**
124
124
  * Export pickfaces as a CSV file
125
125
  * @summary Export pickfaces
126
- * @param {string} project What project it is
126
+ * @param {string} project The project ID
127
127
  * @param {string} [search] Search term to filter based on pickface code
128
128
  * @param {*} [options] Override http request option.
129
129
  * @throws {RequiredError}
@@ -163,7 +163,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
163
163
  /**
164
164
  * Get a specific pickface. Pickfaces contain useful information such as the items they contain and their level of fullness
165
165
  * @summary Get pickface
166
- * @param {string} project What project it is
166
+ * @param {string} project The project ID
167
167
  * @param {string} pickfaceId Unique identifier of a pickface
168
168
  * @param {*} [options] Override http request option.
169
169
  * @throws {RequiredError}
@@ -201,23 +201,30 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
201
201
  };
202
202
  }),
203
203
  /**
204
- * Lists pickface container models
205
- * @summary Get pickface container models
206
- * @param {string} project What project it is
204
+ * Issue an empty pickface
205
+ * @summary Issue empty pickface
206
+ * @param {string} project The project ID
207
+ * @param {string} pickfaceId Unique identifier of a pickface
208
+ * @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
207
209
  * @param {*} [options] Override http request option.
208
210
  * @throws {RequiredError}
209
211
  */
210
- getPickfaceContainerModels: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
212
+ 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 = {}) {
211
213
  // verify required parameter 'project' is not null or undefined
212
- (0, common_1.assertParamExists)('getPickfaceContainerModels', 'project', project);
213
- const localVarPath = `/v1/pickfaces/container-models`;
214
+ (0, common_1.assertParamExists)('issueEmptyPickface', 'project', project);
215
+ // verify required parameter 'pickfaceId' is not null or undefined
216
+ (0, common_1.assertParamExists)('issueEmptyPickface', 'pickfaceId', pickfaceId);
217
+ // verify required parameter 'issueEmptyPickfaceRequest' is not null or undefined
218
+ (0, common_1.assertParamExists)('issueEmptyPickface', 'issueEmptyPickfaceRequest', issueEmptyPickfaceRequest);
219
+ const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/empty`
220
+ .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
214
221
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
215
222
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
216
223
  let baseOptions;
217
224
  if (configuration) {
218
225
  baseOptions = configuration.baseOptions;
219
226
  }
220
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
227
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
221
228
  const localVarHeaderParameter = {};
222
229
  const localVarQueryParameter = {};
223
230
  // authentication session-oauth required
@@ -228,36 +235,41 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
228
235
  if (project !== undefined) {
229
236
  localVarQueryParameter['project'] = project;
230
237
  }
238
+ localVarHeaderParameter['Content-Type'] = 'application/json';
231
239
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
232
240
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
233
241
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
242
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(issueEmptyPickfaceRequest, localVarRequestOptions, configuration);
234
243
  return {
235
244
  url: (0, common_1.toPathString)(localVarUrlObj),
236
245
  options: localVarRequestOptions,
237
246
  };
238
247
  }),
239
248
  /**
240
- * Lists all available pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
241
- * @summary List pickfaces
242
- * @param {string} project What project it is
243
- * @param {string} [search] Search term to filter based on pickface code
244
- * @param {number} [pageToken] Page reference token
245
- * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
246
- * @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
249
+ * Issue a pickface with wrong contents
250
+ * @summary Issue wrong contents pickface
251
+ * @param {string} project The project ID
252
+ * @param {string} pickfaceId Unique identifier of a pickface
253
+ * @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
247
254
  * @param {*} [options] Override http request option.
248
255
  * @throws {RequiredError}
249
256
  */
250
- getPickfaces: (project_1, search_1, pageToken_1, pageSize_1, sortBy_1, ...args_1) => __awaiter(this, [project_1, search_1, pageToken_1, pageSize_1, sortBy_1, ...args_1], void 0, function* (project, search, pageToken, pageSize, sortBy, options = {}) {
257
+ 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 = {}) {
251
258
  // verify required parameter 'project' is not null or undefined
252
- (0, common_1.assertParamExists)('getPickfaces', 'project', project);
253
- const localVarPath = `/v1/pickfaces`;
259
+ (0, common_1.assertParamExists)('issueWrongContentsPickface', 'project', project);
260
+ // verify required parameter 'pickfaceId' is not null or undefined
261
+ (0, common_1.assertParamExists)('issueWrongContentsPickface', 'pickfaceId', pickfaceId);
262
+ // verify required parameter 'issueWrongContentsPickfaceRequest' is not null or undefined
263
+ (0, common_1.assertParamExists)('issueWrongContentsPickface', 'issueWrongContentsPickfaceRequest', issueWrongContentsPickfaceRequest);
264
+ const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/wrong-contents`
265
+ .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
254
266
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
255
267
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
256
268
  let baseOptions;
257
269
  if (configuration) {
258
270
  baseOptions = configuration.baseOptions;
259
271
  }
260
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
272
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
261
273
  const localVarHeaderParameter = {};
262
274
  const localVarQueryParameter = {};
263
275
  // authentication session-oauth required
@@ -268,51 +280,34 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
268
280
  if (project !== undefined) {
269
281
  localVarQueryParameter['project'] = project;
270
282
  }
271
- if (search !== undefined) {
272
- localVarQueryParameter['search'] = search;
273
- }
274
- if (pageToken !== undefined) {
275
- localVarQueryParameter['pageToken'] = pageToken;
276
- }
277
- if (pageSize !== undefined) {
278
- localVarQueryParameter['pageSize'] = pageSize;
279
- }
280
- if (sortBy) {
281
- localVarQueryParameter['sortBy'] = sortBy;
282
- }
283
+ localVarHeaderParameter['Content-Type'] = 'application/json';
283
284
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
284
285
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
285
286
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
287
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(issueWrongContentsPickfaceRequest, localVarRequestOptions, configuration);
286
288
  return {
287
289
  url: (0, common_1.toPathString)(localVarUrlObj),
288
290
  options: localVarRequestOptions,
289
291
  };
290
292
  }),
291
293
  /**
292
- * Issue an empty pickface
293
- * @summary Issue empty pickface
294
- * @param {string} project What project it is
295
- * @param {string} pickfaceId Unique identifier of a pickface
296
- * @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
294
+ * Lists pickface container types
295
+ * @summary List pickface container types
296
+ * @param {string} project The project ID
297
297
  * @param {*} [options] Override http request option.
298
298
  * @throws {RequiredError}
299
299
  */
300
- 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 = {}) {
300
+ listPickfaceContainerTypes: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
301
301
  // verify required parameter 'project' is not null or undefined
302
- (0, common_1.assertParamExists)('issueEmptyPickface', 'project', project);
303
- // verify required parameter 'pickfaceId' is not null or undefined
304
- (0, common_1.assertParamExists)('issueEmptyPickface', 'pickfaceId', pickfaceId);
305
- // verify required parameter 'issueEmptyPickfaceRequest' is not null or undefined
306
- (0, common_1.assertParamExists)('issueEmptyPickface', 'issueEmptyPickfaceRequest', issueEmptyPickfaceRequest);
307
- const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/empty`
308
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
302
+ (0, common_1.assertParamExists)('listPickfaceContainerTypes', 'project', project);
303
+ const localVarPath = `/v1/pickfaces/container-types`;
309
304
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
310
305
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
311
306
  let baseOptions;
312
307
  if (configuration) {
313
308
  baseOptions = configuration.baseOptions;
314
309
  }
315
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
310
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
316
311
  const localVarHeaderParameter = {};
317
312
  const localVarQueryParameter = {};
318
313
  // authentication session-oauth required
@@ -323,33 +318,30 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
323
318
  if (project !== undefined) {
324
319
  localVarQueryParameter['project'] = project;
325
320
  }
326
- localVarHeaderParameter['Content-Type'] = 'application/json';
327
321
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
328
322
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
329
323
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
330
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(issueEmptyPickfaceRequest, localVarRequestOptions, configuration);
331
324
  return {
332
325
  url: (0, common_1.toPathString)(localVarUrlObj),
333
326
  options: localVarRequestOptions,
334
327
  };
335
328
  }),
336
329
  /**
337
- * Issue a pickface with wrong contents
338
- * @summary Issue wrong contents pickface
339
- * @param {string} project What project it is
330
+ * Get a list of pickface logs
331
+ * @summary Get pickface logs
332
+ * @param {string} project The project ID
340
333
  * @param {string} pickfaceId Unique identifier of a pickface
341
- * @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
334
+ * @param {number} [pageToken] Page reference token
335
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
342
336
  * @param {*} [options] Override http request option.
343
337
  * @throws {RequiredError}
344
338
  */
345
- issueWrongContentsPickface: (project_1, pickfaceId_1, issueWrongContentsPickfaceRequest_1, ...args_1) => __awaiter(this, [project_1, pickfaceId_1, issueWrongContentsPickfaceRequest_1, ...args_1], void 0, function* (project, pickfaceId, issueWrongContentsPickfaceRequest, options = {}) {
339
+ 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 = {}) {
346
340
  // verify required parameter 'project' is not null or undefined
347
- (0, common_1.assertParamExists)('issueWrongContentsPickface', 'project', project);
341
+ (0, common_1.assertParamExists)('listPickfaceLogs', 'project', project);
348
342
  // verify required parameter 'pickfaceId' is not null or undefined
349
- (0, common_1.assertParamExists)('issueWrongContentsPickface', 'pickfaceId', pickfaceId);
350
- // verify required parameter 'issueWrongContentsPickfaceRequest' is not null or undefined
351
- (0, common_1.assertParamExists)('issueWrongContentsPickface', 'issueWrongContentsPickfaceRequest', issueWrongContentsPickfaceRequest);
352
- const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/wrong-contents`
343
+ (0, common_1.assertParamExists)('listPickfaceLogs', 'pickfaceId', pickfaceId);
344
+ const localVarPath = `/v1/pickfaces/{pickfaceId}/logs`
353
345
  .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
354
346
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
355
347
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -357,7 +349,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
357
349
  if (configuration) {
358
350
  baseOptions = configuration.baseOptions;
359
351
  }
360
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
352
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
361
353
  const localVarHeaderParameter = {};
362
354
  const localVarQueryParameter = {};
363
355
  // authentication session-oauth required
@@ -368,33 +360,35 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
368
360
  if (project !== undefined) {
369
361
  localVarQueryParameter['project'] = project;
370
362
  }
371
- localVarHeaderParameter['Content-Type'] = 'application/json';
363
+ if (pageToken !== undefined) {
364
+ localVarQueryParameter['pageToken'] = pageToken;
365
+ }
366
+ if (pageSize !== undefined) {
367
+ localVarQueryParameter['pageSize'] = pageSize;
368
+ }
372
369
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
373
370
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
374
371
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
375
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(issueWrongContentsPickfaceRequest, localVarRequestOptions, configuration);
376
372
  return {
377
373
  url: (0, common_1.toPathString)(localVarUrlObj),
378
374
  options: localVarRequestOptions,
379
375
  };
380
376
  }),
381
377
  /**
382
- * Get a list of pickface logs
383
- * @summary Get pickface logs
384
- * @param {string} project What project it is
385
- * @param {string} pickfaceId Unique identifier of a pickface
378
+ * Lists pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
379
+ * @summary List pickfaces
380
+ * @param {string} project The project ID
381
+ * @param {string} [search] Search term to filter based on pickface code
386
382
  * @param {number} [pageToken] Page reference token
387
383
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
384
+ * @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
388
385
  * @param {*} [options] Override http request option.
389
386
  * @throws {RequiredError}
390
387
  */
391
- 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
+ listPickfaces: (project_1, search_1, pageToken_1, pageSize_1, sortBy_1, ...args_1) => __awaiter(this, [project_1, search_1, pageToken_1, pageSize_1, sortBy_1, ...args_1], void 0, function* (project, search, pageToken, pageSize, sortBy, options = {}) {
392
389
  // verify required parameter 'project' is not null or undefined
393
- (0, common_1.assertParamExists)('listPickfaceLogs', 'project', project);
394
- // verify required parameter 'pickfaceId' is not null or undefined
395
- (0, common_1.assertParamExists)('listPickfaceLogs', 'pickfaceId', pickfaceId);
396
- const localVarPath = `/v1/pickfaces/{pickfaceId}/logs`
397
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
390
+ (0, common_1.assertParamExists)('listPickfaces', 'project', project);
391
+ const localVarPath = `/v1/pickfaces`;
398
392
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
399
393
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
400
394
  let baseOptions;
@@ -412,12 +406,18 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
412
406
  if (project !== undefined) {
413
407
  localVarQueryParameter['project'] = project;
414
408
  }
409
+ if (search !== undefined) {
410
+ localVarQueryParameter['search'] = search;
411
+ }
415
412
  if (pageToken !== undefined) {
416
413
  localVarQueryParameter['pageToken'] = pageToken;
417
414
  }
418
415
  if (pageSize !== undefined) {
419
416
  localVarQueryParameter['pageSize'] = pageSize;
420
417
  }
418
+ if (sortBy) {
419
+ localVarQueryParameter['sortBy'] = sortBy;
420
+ }
421
421
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
422
422
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
423
423
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -429,7 +429,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
429
429
  /**
430
430
  * Move stock from one pickface to another in a single transaction
431
431
  * @summary Move stock
432
- * @param {string} project What project it is
432
+ * @param {string} project The project ID
433
433
  * @param {string} pickfaceId Unique identifier of a pickface
434
434
  * @param {MoveStockRequest} moveStockRequest Move stock from one pickface to another
435
435
  * @param {*} [options] Override http request option.
@@ -474,7 +474,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
474
474
  /**
475
475
  * Print a pickface label
476
476
  * @summary Print pickface label
477
- * @param {string} project What project it is
477
+ * @param {string} project The project ID
478
478
  * @param {string} pickfaceId Unique identifier of a pickface
479
479
  * @param {string} deviceRef Unique identifier of a warehouse device
480
480
  * @param {*} [options] Override http request option.
@@ -520,7 +520,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
520
520
  /**
521
521
  * Print pickface labels
522
522
  * @summary Print pickface Labels
523
- * @param {string} project What project it is
523
+ * @param {string} project The project ID
524
524
  * @param {string} deviceRef Unique identifier of a warehouse device
525
525
  * @param {string} [search] Search term to filter based on pickface code
526
526
  * @param {Array<string> | null} [ids] List of pickface ids
@@ -570,7 +570,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
570
570
  /**
571
571
  * Resolves an issue on a pickface
572
572
  * @summary Resolve pickface issue
573
- * @param {string} project What project it is
573
+ * @param {string} project The project ID
574
574
  * @param {string} pickfaceId Unique identifier of a pickface
575
575
  * @param {*} [options] Override http request option.
576
576
  * @throws {RequiredError}
@@ -610,7 +610,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
610
610
  /**
611
611
  * Suggest pickfaces for putting away stock
612
612
  * @summary Suggest pickfaces
613
- * @param {string} project What project it is
613
+ * @param {string} project The project ID
614
614
  * @param {string} variantRef Unique identifier of a warehouse variant
615
615
  * @param {number} quantity Number of variants
616
616
  * @param {number} [pageToken] Page reference token
@@ -666,7 +666,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
666
666
  /**
667
667
  * Update a Pickface
668
668
  * @summary Update Pickface
669
- * @param {string} project What project it is
669
+ * @param {string} project The project ID
670
670
  * @param {string} pickfaceId Unique identifier of a pickface
671
671
  * @param {UpdatePickfaceRequest} updatePickfaceRequest Update pickface schema
672
672
  * @param {*} [options] Override http request option.
@@ -721,7 +721,7 @@ const PickfacesApiFp = function (configuration) {
721
721
  /**
722
722
  * Create a Pickface
723
723
  * @summary Create Pickface
724
- * @param {string} project What project it is
724
+ * @param {string} project The project ID
725
725
  * @param {CreatePickfaceRequest} createPickfaceRequest Create pickface schema
726
726
  * @param {*} [options] Override http request option.
727
727
  * @throws {RequiredError}
@@ -738,7 +738,7 @@ const PickfacesApiFp = function (configuration) {
738
738
  /**
739
739
  * Delete a Pickface
740
740
  * @summary Delete Pickface
741
- * @param {string} project What project it is
741
+ * @param {string} project The project ID
742
742
  * @param {string} pickfaceId Unique identifier of a pickface
743
743
  * @param {*} [options] Override http request option.
744
744
  * @throws {RequiredError}
@@ -755,7 +755,7 @@ const PickfacesApiFp = function (configuration) {
755
755
  /**
756
756
  * Export pickfaces as a CSV file
757
757
  * @summary Export pickfaces
758
- * @param {string} project What project it is
758
+ * @param {string} project The project ID
759
759
  * @param {string} [search] Search term to filter based on pickface code
760
760
  * @param {*} [options] Override http request option.
761
761
  * @throws {RequiredError}
@@ -772,7 +772,7 @@ const PickfacesApiFp = function (configuration) {
772
772
  /**
773
773
  * Get a specific pickface. Pickfaces contain useful information such as the items they contain and their level of fullness
774
774
  * @summary Get pickface
775
- * @param {string} project What project it is
775
+ * @param {string} project The project ID
776
776
  * @param {string} pickfaceId Unique identifier of a pickface
777
777
  * @param {*} [options] Override http request option.
778
778
  * @throws {RequiredError}
@@ -787,100 +787,100 @@ const PickfacesApiFp = function (configuration) {
787
787
  });
788
788
  },
789
789
  /**
790
- * Lists pickface container models
791
- * @summary Get pickface container models
792
- * @param {string} project What project it is
790
+ * Issue an empty pickface
791
+ * @summary Issue empty pickface
792
+ * @param {string} project The project ID
793
+ * @param {string} pickfaceId Unique identifier of a pickface
794
+ * @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
793
795
  * @param {*} [options] Override http request option.
794
796
  * @throws {RequiredError}
795
797
  */
796
- getPickfaceContainerModels(project, options) {
798
+ issueEmptyPickface(project, pickfaceId, issueEmptyPickfaceRequest, options) {
797
799
  return __awaiter(this, void 0, void 0, function* () {
798
800
  var _a, _b, _c;
799
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPickfaceContainerModels(project, options);
801
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.issueEmptyPickface(project, pickfaceId, issueEmptyPickfaceRequest, options);
800
802
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
801
- 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;
803
+ 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;
802
804
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
803
805
  });
804
806
  },
805
807
  /**
806
- * Lists all available pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
807
- * @summary List pickfaces
808
- * @param {string} project What project it is
809
- * @param {string} [search] Search term to filter based on pickface code
810
- * @param {number} [pageToken] Page reference token
811
- * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
812
- * @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
808
+ * Issue a pickface with wrong contents
809
+ * @summary Issue wrong contents pickface
810
+ * @param {string} project The project ID
811
+ * @param {string} pickfaceId Unique identifier of a pickface
812
+ * @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
813
813
  * @param {*} [options] Override http request option.
814
814
  * @throws {RequiredError}
815
815
  */
816
- getPickfaces(project, search, pageToken, pageSize, sortBy, options) {
816
+ issueWrongContentsPickface(project, pickfaceId, issueWrongContentsPickfaceRequest, options) {
817
817
  return __awaiter(this, void 0, void 0, function* () {
818
818
  var _a, _b, _c;
819
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPickfaces(project, search, pageToken, pageSize, sortBy, options);
819
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.issueWrongContentsPickface(project, pickfaceId, issueWrongContentsPickfaceRequest, options);
820
820
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
821
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PickfacesApi.getPickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
821
+ 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;
822
822
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
823
823
  });
824
824
  },
825
825
  /**
826
- * Issue an empty pickface
827
- * @summary Issue empty pickface
828
- * @param {string} project What project it is
829
- * @param {string} pickfaceId Unique identifier of a pickface
830
- * @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
826
+ * Lists pickface container types
827
+ * @summary List pickface container types
828
+ * @param {string} project The project ID
831
829
  * @param {*} [options] Override http request option.
832
830
  * @throws {RequiredError}
833
831
  */
834
- issueEmptyPickface(project, pickfaceId, issueEmptyPickfaceRequest, options) {
832
+ listPickfaceContainerTypes(project, options) {
835
833
  return __awaiter(this, void 0, void 0, function* () {
836
834
  var _a, _b, _c;
837
- const localVarAxiosArgs = yield localVarAxiosParamCreator.issueEmptyPickface(project, pickfaceId, issueEmptyPickfaceRequest, options);
835
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPickfaceContainerTypes(project, options);
838
836
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
839
- 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;
837
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PickfacesApi.listPickfaceContainerTypes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
840
838
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
841
839
  });
842
840
  },
843
841
  /**
844
- * Issue a pickface with wrong contents
845
- * @summary Issue wrong contents pickface
846
- * @param {string} project What project it is
842
+ * Get a list of pickface logs
843
+ * @summary Get pickface logs
844
+ * @param {string} project The project ID
847
845
  * @param {string} pickfaceId Unique identifier of a pickface
848
- * @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
846
+ * @param {number} [pageToken] Page reference token
847
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
849
848
  * @param {*} [options] Override http request option.
850
849
  * @throws {RequiredError}
851
850
  */
852
- issueWrongContentsPickface(project, pickfaceId, issueWrongContentsPickfaceRequest, options) {
851
+ listPickfaceLogs(project, pickfaceId, pageToken, pageSize, options) {
853
852
  return __awaiter(this, void 0, void 0, function* () {
854
853
  var _a, _b, _c;
855
- const localVarAxiosArgs = yield localVarAxiosParamCreator.issueWrongContentsPickface(project, pickfaceId, issueWrongContentsPickfaceRequest, options);
854
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPickfaceLogs(project, pickfaceId, pageToken, pageSize, options);
856
855
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
857
- 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;
856
+ 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;
858
857
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
859
858
  });
860
859
  },
861
860
  /**
862
- * Get a list of pickface logs
863
- * @summary Get pickface logs
864
- * @param {string} project What project it is
865
- * @param {string} pickfaceId Unique identifier of a pickface
861
+ * Lists pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
862
+ * @summary List pickfaces
863
+ * @param {string} project The project ID
864
+ * @param {string} [search] Search term to filter based on pickface code
866
865
  * @param {number} [pageToken] Page reference token
867
866
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
867
+ * @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
868
868
  * @param {*} [options] Override http request option.
869
869
  * @throws {RequiredError}
870
870
  */
871
- listPickfaceLogs(project, pickfaceId, pageToken, pageSize, options) {
871
+ listPickfaces(project, search, pageToken, pageSize, sortBy, options) {
872
872
  return __awaiter(this, void 0, void 0, function* () {
873
873
  var _a, _b, _c;
874
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listPickfaceLogs(project, pickfaceId, pageToken, pageSize, options);
874
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPickfaces(project, search, pageToken, pageSize, sortBy, options);
875
875
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
876
- 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;
876
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PickfacesApi.listPickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
877
877
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
878
878
  });
879
879
  },
880
880
  /**
881
881
  * Move stock from one pickface to another in a single transaction
882
882
  * @summary Move stock
883
- * @param {string} project What project it is
883
+ * @param {string} project The project ID
884
884
  * @param {string} pickfaceId Unique identifier of a pickface
885
885
  * @param {MoveStockRequest} moveStockRequest Move stock from one pickface to another
886
886
  * @param {*} [options] Override http request option.
@@ -898,7 +898,7 @@ const PickfacesApiFp = function (configuration) {
898
898
  /**
899
899
  * Print a pickface label
900
900
  * @summary Print pickface label
901
- * @param {string} project What project it is
901
+ * @param {string} project The project ID
902
902
  * @param {string} pickfaceId Unique identifier of a pickface
903
903
  * @param {string} deviceRef Unique identifier of a warehouse device
904
904
  * @param {*} [options] Override http request option.
@@ -916,7 +916,7 @@ const PickfacesApiFp = function (configuration) {
916
916
  /**
917
917
  * Print pickface labels
918
918
  * @summary Print pickface Labels
919
- * @param {string} project What project it is
919
+ * @param {string} project The project ID
920
920
  * @param {string} deviceRef Unique identifier of a warehouse device
921
921
  * @param {string} [search] Search term to filter based on pickface code
922
922
  * @param {Array<string> | null} [ids] List of pickface ids
@@ -935,7 +935,7 @@ const PickfacesApiFp = function (configuration) {
935
935
  /**
936
936
  * Resolves an issue on a pickface
937
937
  * @summary Resolve pickface issue
938
- * @param {string} project What project it is
938
+ * @param {string} project The project ID
939
939
  * @param {string} pickfaceId Unique identifier of a pickface
940
940
  * @param {*} [options] Override http request option.
941
941
  * @throws {RequiredError}
@@ -952,7 +952,7 @@ const PickfacesApiFp = function (configuration) {
952
952
  /**
953
953
  * Suggest pickfaces for putting away stock
954
954
  * @summary Suggest pickfaces
955
- * @param {string} project What project it is
955
+ * @param {string} project The project ID
956
956
  * @param {string} variantRef Unique identifier of a warehouse variant
957
957
  * @param {number} quantity Number of variants
958
958
  * @param {number} [pageToken] Page reference token
@@ -972,7 +972,7 @@ const PickfacesApiFp = function (configuration) {
972
972
  /**
973
973
  * Update a Pickface
974
974
  * @summary Update Pickface
975
- * @param {string} project What project it is
975
+ * @param {string} project The project ID
976
976
  * @param {string} pickfaceId Unique identifier of a pickface
977
977
  * @param {UpdatePickfaceRequest} updatePickfaceRequest Update pickface schema
978
978
  * @param {*} [options] Override http request option.
@@ -1037,26 +1037,6 @@ const PickfacesApiFactory = function (configuration, basePath, axios) {
1037
1037
  getPickface(requestParameters, options) {
1038
1038
  return localVarFp.getPickface(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(axios, basePath));
1039
1039
  },
1040
- /**
1041
- * Lists pickface container models
1042
- * @summary Get pickface container models
1043
- * @param {PickfacesApiGetPickfaceContainerModelsRequest} requestParameters Request parameters.
1044
- * @param {*} [options] Override http request option.
1045
- * @throws {RequiredError}
1046
- */
1047
- getPickfaceContainerModels(requestParameters, options) {
1048
- return localVarFp.getPickfaceContainerModels(requestParameters.project, options).then((request) => request(axios, basePath));
1049
- },
1050
- /**
1051
- * Lists all available pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
1052
- * @summary List pickfaces
1053
- * @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
1054
- * @param {*} [options] Override http request option.
1055
- * @throws {RequiredError}
1056
- */
1057
- getPickfaces(requestParameters, options) {
1058
- return localVarFp.getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(axios, basePath));
1059
- },
1060
1040
  /**
1061
1041
  * Issue an empty pickface
1062
1042
  * @summary Issue empty pickface
@@ -1077,6 +1057,16 @@ const PickfacesApiFactory = function (configuration, basePath, axios) {
1077
1057
  issueWrongContentsPickface(requestParameters, options) {
1078
1058
  return localVarFp.issueWrongContentsPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueWrongContentsPickfaceRequest, options).then((request) => request(axios, basePath));
1079
1059
  },
1060
+ /**
1061
+ * Lists pickface container types
1062
+ * @summary List pickface container types
1063
+ * @param {PickfacesApiListPickfaceContainerTypesRequest} requestParameters Request parameters.
1064
+ * @param {*} [options] Override http request option.
1065
+ * @throws {RequiredError}
1066
+ */
1067
+ listPickfaceContainerTypes(requestParameters, options) {
1068
+ return localVarFp.listPickfaceContainerTypes(requestParameters.project, options).then((request) => request(axios, basePath));
1069
+ },
1080
1070
  /**
1081
1071
  * Get a list of pickface logs
1082
1072
  * @summary Get pickface logs
@@ -1087,6 +1077,16 @@ const PickfacesApiFactory = function (configuration, basePath, axios) {
1087
1077
  listPickfaceLogs(requestParameters, options) {
1088
1078
  return localVarFp.listPickfaceLogs(requestParameters.project, requestParameters.pickfaceId, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1089
1079
  },
1080
+ /**
1081
+ * Lists pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
1082
+ * @summary List pickfaces
1083
+ * @param {PickfacesApiListPickfacesRequest} requestParameters Request parameters.
1084
+ * @param {*} [options] Override http request option.
1085
+ * @throws {RequiredError}
1086
+ */
1087
+ listPickfaces(requestParameters, options) {
1088
+ return localVarFp.listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(axios, basePath));
1089
+ },
1090
1090
  /**
1091
1091
  * Move stock from one pickface to another in a single transaction
1092
1092
  * @summary Move stock
@@ -1201,28 +1201,6 @@ class PickfacesApi extends base_1.BaseAPI {
1201
1201
  getPickface(requestParameters, options) {
1202
1202
  return (0, exports.PickfacesApiFp)(this.configuration).getPickface(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(this.axios, this.basePath));
1203
1203
  }
1204
- /**
1205
- * Lists pickface container models
1206
- * @summary Get pickface container models
1207
- * @param {PickfacesApiGetPickfaceContainerModelsRequest} requestParameters Request parameters.
1208
- * @param {*} [options] Override http request option.
1209
- * @throws {RequiredError}
1210
- * @memberof PickfacesApi
1211
- */
1212
- getPickfaceContainerModels(requestParameters, options) {
1213
- return (0, exports.PickfacesApiFp)(this.configuration).getPickfaceContainerModels(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
1214
- }
1215
- /**
1216
- * Lists all available pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
1217
- * @summary List pickfaces
1218
- * @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
1219
- * @param {*} [options] Override http request option.
1220
- * @throws {RequiredError}
1221
- * @memberof PickfacesApi
1222
- */
1223
- getPickfaces(requestParameters, options) {
1224
- 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));
1225
- }
1226
1204
  /**
1227
1205
  * Issue an empty pickface
1228
1206
  * @summary Issue empty pickface
@@ -1245,6 +1223,17 @@ class PickfacesApi extends base_1.BaseAPI {
1245
1223
  issueWrongContentsPickface(requestParameters, options) {
1246
1224
  return (0, exports.PickfacesApiFp)(this.configuration).issueWrongContentsPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueWrongContentsPickfaceRequest, options).then((request) => request(this.axios, this.basePath));
1247
1225
  }
1226
+ /**
1227
+ * Lists pickface container types
1228
+ * @summary List pickface container types
1229
+ * @param {PickfacesApiListPickfaceContainerTypesRequest} requestParameters Request parameters.
1230
+ * @param {*} [options] Override http request option.
1231
+ * @throws {RequiredError}
1232
+ * @memberof PickfacesApi
1233
+ */
1234
+ listPickfaceContainerTypes(requestParameters, options) {
1235
+ return (0, exports.PickfacesApiFp)(this.configuration).listPickfaceContainerTypes(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
1236
+ }
1248
1237
  /**
1249
1238
  * Get a list of pickface logs
1250
1239
  * @summary Get pickface logs
@@ -1256,6 +1245,17 @@ class PickfacesApi extends base_1.BaseAPI {
1256
1245
  listPickfaceLogs(requestParameters, options) {
1257
1246
  return (0, exports.PickfacesApiFp)(this.configuration).listPickfaceLogs(requestParameters.project, requestParameters.pickfaceId, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
1258
1247
  }
1248
+ /**
1249
+ * Lists pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
1250
+ * @summary List pickfaces
1251
+ * @param {PickfacesApiListPickfacesRequest} requestParameters Request parameters.
1252
+ * @param {*} [options] Override http request option.
1253
+ * @throws {RequiredError}
1254
+ * @memberof PickfacesApi
1255
+ */
1256
+ listPickfaces(requestParameters, options) {
1257
+ return (0, exports.PickfacesApiFp)(this.configuration).listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));
1258
+ }
1259
1259
  /**
1260
1260
  * Move stock from one pickface to another in a single transaction
1261
1261
  * @summary Move stock
@@ -1327,7 +1327,7 @@ exports.PickfacesApi = PickfacesApi;
1327
1327
  /**
1328
1328
  * @export
1329
1329
  */
1330
- exports.GetPickfacesSortByEnum = {
1330
+ exports.ListPickfacesSortByEnum = {
1331
1331
  Available: '+available',
1332
1332
  Available2: '-available',
1333
1333
  Wip: '+wip',