@teemill/pickfaces 0.19.1 → 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.1
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).
@@ -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,31 +235,33 @@ 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
- * Issue an empty pickface
241
- * @summary Issue empty pickface
242
- * @param {string} project What project it is
249
+ * Issue a pickface with wrong contents
250
+ * @summary Issue wrong contents pickface
251
+ * @param {string} project The project ID
243
252
  * @param {string} pickfaceId Unique identifier of a pickface
244
- * @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
253
+ * @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
245
254
  * @param {*} [options] Override http request option.
246
255
  * @throws {RequiredError}
247
256
  */
248
- 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 = {}) {
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 = {}) {
249
258
  // verify required parameter 'project' is not null or undefined
250
- (0, common_1.assertParamExists)('issueEmptyPickface', 'project', project);
259
+ (0, common_1.assertParamExists)('issueWrongContentsPickface', 'project', project);
251
260
  // verify required parameter 'pickfaceId' is not null or undefined
252
- (0, common_1.assertParamExists)('issueEmptyPickface', 'pickfaceId', pickfaceId);
253
- // verify required parameter 'issueEmptyPickfaceRequest' is not null or undefined
254
- (0, common_1.assertParamExists)('issueEmptyPickface', 'issueEmptyPickfaceRequest', issueEmptyPickfaceRequest);
255
- const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/empty`
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`
256
265
  .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
257
266
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
258
267
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -275,37 +284,30 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
275
284
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
276
285
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
277
286
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
278
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(issueEmptyPickfaceRequest, localVarRequestOptions, configuration);
287
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(issueWrongContentsPickfaceRequest, localVarRequestOptions, configuration);
279
288
  return {
280
289
  url: (0, common_1.toPathString)(localVarUrlObj),
281
290
  options: localVarRequestOptions,
282
291
  };
283
292
  }),
284
293
  /**
285
- * Issue a pickface with wrong contents
286
- * @summary Issue wrong contents pickface
287
- * @param {string} project What project it is
288
- * @param {string} pickfaceId Unique identifier of a pickface
289
- * @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
294
+ * Lists pickface container types
295
+ * @summary List pickface container types
296
+ * @param {string} project The project ID
290
297
  * @param {*} [options] Override http request option.
291
298
  * @throws {RequiredError}
292
299
  */
293
- 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 = {}) {
300
+ listPickfaceContainerTypes: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
294
301
  // verify required parameter 'project' is not null or undefined
295
- (0, common_1.assertParamExists)('issueWrongContentsPickface', 'project', project);
296
- // verify required parameter 'pickfaceId' is not null or undefined
297
- (0, common_1.assertParamExists)('issueWrongContentsPickface', 'pickfaceId', pickfaceId);
298
- // verify required parameter 'issueWrongContentsPickfaceRequest' is not null or undefined
299
- (0, common_1.assertParamExists)('issueWrongContentsPickface', 'issueWrongContentsPickfaceRequest', issueWrongContentsPickfaceRequest);
300
- const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/wrong-contents`
301
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
302
+ (0, common_1.assertParamExists)('listPickfaceContainerTypes', 'project', project);
303
+ const localVarPath = `/v1/pickfaces/container-types`;
302
304
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
303
305
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
304
306
  let baseOptions;
305
307
  if (configuration) {
306
308
  baseOptions = configuration.baseOptions;
307
309
  }
308
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
310
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
309
311
  const localVarHeaderParameter = {};
310
312
  const localVarQueryParameter = {};
311
313
  // authentication session-oauth required
@@ -316,11 +318,9 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
316
318
  if (project !== undefined) {
317
319
  localVarQueryParameter['project'] = project;
318
320
  }
319
- localVarHeaderParameter['Content-Type'] = 'application/json';
320
321
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
321
322
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
322
323
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
323
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(issueWrongContentsPickfaceRequest, localVarRequestOptions, configuration);
324
324
  return {
325
325
  url: (0, common_1.toPathString)(localVarUrlObj),
326
326
  options: localVarRequestOptions,
@@ -329,7 +329,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
329
329
  /**
330
330
  * Get a list of pickface logs
331
331
  * @summary Get pickface logs
332
- * @param {string} project What project it is
332
+ * @param {string} project The project ID
333
333
  * @param {string} pickfaceId Unique identifier of a pickface
334
334
  * @param {number} [pageToken] Page reference token
335
335
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
@@ -375,9 +375,9 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
375
375
  };
376
376
  }),
377
377
  /**
378
- * Lists all available pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
378
+ * Lists pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
379
379
  * @summary List pickfaces
380
- * @param {string} project What project it is
380
+ * @param {string} project The project ID
381
381
  * @param {string} [search] Search term to filter based on pickface code
382
382
  * @param {number} [pageToken] Page reference token
383
383
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
@@ -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}
@@ -786,26 +786,10 @@ const PickfacesApiFp = function (configuration) {
786
786
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
787
787
  });
788
788
  },
789
- /**
790
- * Lists pickface container models
791
- * @summary Get pickface container models
792
- * @param {string} project What project it is
793
- * @param {*} [options] Override http request option.
794
- * @throws {RequiredError}
795
- */
796
- getPickfaceContainerModels(project, options) {
797
- return __awaiter(this, void 0, void 0, function* () {
798
- var _a, _b, _c;
799
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPickfaceContainerModels(project, options);
800
- 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;
802
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
803
- });
804
- },
805
789
  /**
806
790
  * Issue an empty pickface
807
791
  * @summary Issue empty pickface
808
- * @param {string} project What project it is
792
+ * @param {string} project The project ID
809
793
  * @param {string} pickfaceId Unique identifier of a pickface
810
794
  * @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
811
795
  * @param {*} [options] Override http request option.
@@ -823,7 +807,7 @@ const PickfacesApiFp = function (configuration) {
823
807
  /**
824
808
  * Issue a pickface with wrong contents
825
809
  * @summary Issue wrong contents pickface
826
- * @param {string} project What project it is
810
+ * @param {string} project The project ID
827
811
  * @param {string} pickfaceId Unique identifier of a pickface
828
812
  * @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
829
813
  * @param {*} [options] Override http request option.
@@ -838,10 +822,26 @@ const PickfacesApiFp = function (configuration) {
838
822
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
839
823
  });
840
824
  },
825
+ /**
826
+ * Lists pickface container types
827
+ * @summary List pickface container types
828
+ * @param {string} project The project ID
829
+ * @param {*} [options] Override http request option.
830
+ * @throws {RequiredError}
831
+ */
832
+ listPickfaceContainerTypes(project, options) {
833
+ return __awaiter(this, void 0, void 0, function* () {
834
+ var _a, _b, _c;
835
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPickfaceContainerTypes(project, options);
836
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
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;
838
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
839
+ });
840
+ },
841
841
  /**
842
842
  * Get a list of pickface logs
843
843
  * @summary Get pickface logs
844
- * @param {string} project What project it is
844
+ * @param {string} project The project ID
845
845
  * @param {string} pickfaceId Unique identifier of a pickface
846
846
  * @param {number} [pageToken] Page reference token
847
847
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
@@ -858,9 +858,9 @@ const PickfacesApiFp = function (configuration) {
858
858
  });
859
859
  },
860
860
  /**
861
- * Lists all available pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
861
+ * Lists pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
862
862
  * @summary List pickfaces
863
- * @param {string} project What project it is
863
+ * @param {string} project The project ID
864
864
  * @param {string} [search] Search term to filter based on pickface code
865
865
  * @param {number} [pageToken] Page reference token
866
866
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
@@ -880,7 +880,7 @@ const PickfacesApiFp = function (configuration) {
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,16 +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
1040
  /**
1051
1041
  * Issue an empty pickface
1052
1042
  * @summary Issue empty pickface
@@ -1067,6 +1057,16 @@ const PickfacesApiFactory = function (configuration, basePath, axios) {
1067
1057
  issueWrongContentsPickface(requestParameters, options) {
1068
1058
  return localVarFp.issueWrongContentsPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueWrongContentsPickfaceRequest, options).then((request) => request(axios, basePath));
1069
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
+ },
1070
1070
  /**
1071
1071
  * Get a list of pickface logs
1072
1072
  * @summary Get pickface logs
@@ -1078,7 +1078,7 @@ const PickfacesApiFactory = function (configuration, basePath, axios) {
1078
1078
  return localVarFp.listPickfaceLogs(requestParameters.project, requestParameters.pickfaceId, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1079
1079
  },
1080
1080
  /**
1081
- * Lists all available pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
1081
+ * Lists pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
1082
1082
  * @summary List pickfaces
1083
1083
  * @param {PickfacesApiListPickfacesRequest} requestParameters Request parameters.
1084
1084
  * @param {*} [options] Override http request option.
@@ -1201,17 +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
1204
  /**
1216
1205
  * Issue an empty pickface
1217
1206
  * @summary Issue empty pickface
@@ -1234,6 +1223,17 @@ class PickfacesApi extends base_1.BaseAPI {
1234
1223
  issueWrongContentsPickface(requestParameters, options) {
1235
1224
  return (0, exports.PickfacesApiFp)(this.configuration).issueWrongContentsPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueWrongContentsPickfaceRequest, options).then((request) => request(this.axios, this.basePath));
1236
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
+ }
1237
1237
  /**
1238
1238
  * Get a list of pickface logs
1239
1239
  * @summary Get pickface logs
@@ -1246,7 +1246,7 @@ class PickfacesApi extends base_1.BaseAPI {
1246
1246
  return (0, exports.PickfacesApiFp)(this.configuration).listPickfaceLogs(requestParameters.project, requestParameters.pickfaceId, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
1247
1247
  }
1248
1248
  /**
1249
- * Lists all available pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
1249
+ * Lists pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
1250
1250
  * @summary List pickfaces
1251
1251
  * @param {PickfacesApiListPickfacesRequest} requestParameters Request parameters.
1252
1252
  * @param {*} [options] Override http request option.
package/dist/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.19.1
5
+ * The version of the OpenAPI document: 0.20.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.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.1
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).
package/dist/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.19.1
5
+ * The version of the OpenAPI document: 0.20.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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.1
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).
@@ -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.19.1
5
+ * The version of the OpenAPI document: 0.20.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.1
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).
@@ -23,7 +23,7 @@ class Configuration {
23
23
  this.accessToken = param.accessToken;
24
24
  this.basePath = param.basePath;
25
25
  this.serverIndex = param.serverIndex;
26
- 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.19.1/typescript-axios" }) }, param.baseOptions);
26
+ 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.0/typescript-axios" }) }, param.baseOptions);
27
27
  this.formDataCtor = param.formDataCtor;
28
28
  }
29
29
  /**