@teemill/pickfaces 0.34.0 → 0.35.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/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.34.0
7
+ * The version of the OpenAPI document: 0.35.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ import globalAxios from 'axios';
26
26
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
27
27
  // @ts-ignore
28
28
  import { BASE_PATH, BaseAPI, operationServerMap } from './base';
29
- export const UpdatePickfaceRequestContentsInnerQuantityAvailableOperationEnum = {
29
+ export const UpdatePickfaceRequestContentsInnerQuantityAvailableOneOfOperationEnum = {
30
30
  Add: 'add',
31
31
  Subtract: 'subtract',
32
32
  Set: 'set'
@@ -78,6 +78,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
78
78
  if (project !== undefined) {
79
79
  localVarQueryParameter['project'] = project;
80
80
  }
81
+ localVarHeaderParameter['Accept'] = 'application/json';
81
82
  setSearchParams(localVarUrlObj, localVarQueryParameter);
82
83
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
83
84
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -118,6 +119,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
118
119
  localVarQueryParameter['project'] = project;
119
120
  }
120
121
  localVarHeaderParameter['Content-Type'] = 'application/json';
122
+ localVarHeaderParameter['Accept'] = 'application/json';
121
123
  setSearchParams(localVarUrlObj, localVarQueryParameter);
122
124
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
123
125
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -159,6 +161,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
159
161
  if (project !== undefined) {
160
162
  localVarQueryParameter['project'] = project;
161
163
  }
164
+ localVarHeaderParameter['Accept'] = 'application/json';
162
165
  setSearchParams(localVarUrlObj, localVarQueryParameter);
163
166
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
164
167
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -199,6 +202,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
199
202
  if (search !== undefined) {
200
203
  localVarQueryParameter['search'] = search;
201
204
  }
205
+ localVarHeaderParameter['Accept'] = 'text/csv,application/json';
202
206
  setSearchParams(localVarUrlObj, localVarQueryParameter);
203
207
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
204
208
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -239,6 +243,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
239
243
  if (project !== undefined) {
240
244
  localVarQueryParameter['project'] = project;
241
245
  }
246
+ localVarHeaderParameter['Accept'] = 'application/json';
242
247
  setSearchParams(localVarUrlObj, localVarQueryParameter);
243
248
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
244
249
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -283,6 +288,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
283
288
  localVarQueryParameter['project'] = project;
284
289
  }
285
290
  localVarHeaderParameter['Content-Type'] = 'application/json';
291
+ localVarHeaderParameter['Accept'] = 'application/json';
286
292
  setSearchParams(localVarUrlObj, localVarQueryParameter);
287
293
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
288
294
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -328,6 +334,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
328
334
  localVarQueryParameter['project'] = project;
329
335
  }
330
336
  localVarHeaderParameter['Content-Type'] = 'application/json';
337
+ localVarHeaderParameter['Accept'] = 'application/json';
331
338
  setSearchParams(localVarUrlObj, localVarQueryParameter);
332
339
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
333
340
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -365,6 +372,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
365
372
  if (project !== undefined) {
366
373
  localVarQueryParameter['project'] = project;
367
374
  }
375
+ localVarHeaderParameter['Accept'] = 'application/json';
368
376
  setSearchParams(localVarUrlObj, localVarQueryParameter);
369
377
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
370
378
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -413,6 +421,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
413
421
  if (pageSize !== undefined) {
414
422
  localVarQueryParameter['pageSize'] = pageSize;
415
423
  }
424
+ localVarHeaderParameter['Accept'] = 'application/json';
416
425
  setSearchParams(localVarUrlObj, localVarQueryParameter);
417
426
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
418
427
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -477,6 +486,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
477
486
  updatedEnd.toISOString() :
478
487
  updatedEnd;
479
488
  }
489
+ localVarHeaderParameter['Accept'] = 'application/json';
480
490
  setSearchParams(localVarUrlObj, localVarQueryParameter);
481
491
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
482
492
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -521,6 +531,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
521
531
  localVarQueryParameter['project'] = project;
522
532
  }
523
533
  localVarHeaderParameter['Content-Type'] = 'application/json';
534
+ localVarHeaderParameter['Accept'] = 'application/json';
524
535
  setSearchParams(localVarUrlObj, localVarQueryParameter);
525
536
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
526
537
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -568,6 +579,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
568
579
  if (deviceRef !== undefined) {
569
580
  localVarQueryParameter['deviceRef'] = deviceRef;
570
581
  }
582
+ localVarHeaderParameter['Accept'] = 'application/json';
571
583
  setSearchParams(localVarUrlObj, localVarQueryParameter);
572
584
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
573
585
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -581,12 +593,11 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
581
593
  * @summary Print pickface Labels
582
594
  * @param {string} project The project ID
583
595
  * @param {string} deviceRef Unique identifier of a warehouse device
584
- * @param {string} [search] Search term to filter based on pickface code
585
596
  * @param {Array<string> | null} [ids] List of pickface ids
586
597
  * @param {*} [options] Override http request option.
587
598
  * @throws {RequiredError}
588
599
  */
589
- printPickfaceLabels: (project_1, deviceRef_1, search_1, ids_1, ...args_1) => __awaiter(this, [project_1, deviceRef_1, search_1, ids_1, ...args_1], void 0, function* (project, deviceRef, search, ids, options = {}) {
600
+ printPickfaceLabels: (project_1, deviceRef_1, ids_1, ...args_1) => __awaiter(this, [project_1, deviceRef_1, ids_1, ...args_1], void 0, function* (project, deviceRef, ids, options = {}) {
590
601
  // verify required parameter 'project' is not null or undefined
591
602
  assertParamExists('printPickfaceLabels', 'project', project);
592
603
  // verify required parameter 'deviceRef' is not null or undefined
@@ -609,15 +620,13 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
609
620
  if (project !== undefined) {
610
621
  localVarQueryParameter['project'] = project;
611
622
  }
612
- if (search !== undefined) {
613
- localVarQueryParameter['search'] = search;
614
- }
615
623
  if (deviceRef !== undefined) {
616
624
  localVarQueryParameter['deviceRef'] = deviceRef;
617
625
  }
618
626
  if (ids) {
619
627
  localVarQueryParameter['ids'] = ids;
620
628
  }
629
+ localVarHeaderParameter['Accept'] = 'application/json';
621
630
  setSearchParams(localVarUrlObj, localVarQueryParameter);
622
631
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
623
632
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -658,6 +667,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
658
667
  if (project !== undefined) {
659
668
  localVarQueryParameter['project'] = project;
660
669
  }
670
+ localVarHeaderParameter['Accept'] = 'application/json';
661
671
  setSearchParams(localVarUrlObj, localVarQueryParameter);
662
672
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
663
673
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -722,6 +732,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
722
732
  if (bulk !== undefined) {
723
733
  localVarQueryParameter['bulk'] = bulk;
724
734
  }
735
+ localVarHeaderParameter['Accept'] = 'application/json';
725
736
  setSearchParams(localVarUrlObj, localVarQueryParameter);
726
737
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
727
738
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -735,7 +746,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
735
746
  * @summary Update Pickface
736
747
  * @param {string} project The project ID
737
748
  * @param {string} pickfaceId Unique identifier of a pickface
738
- * @param {UpdatePickfaceRequest} updatePickfaceRequest Update pickface schema
749
+ * @param {UpdatePickfaceRequest} [updatePickfaceRequest]
739
750
  * @param {*} [options] Override http request option.
740
751
  * @throws {RequiredError}
741
752
  */
@@ -744,8 +755,6 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
744
755
  assertParamExists('updatePickface', 'project', project);
745
756
  // verify required parameter 'pickfaceId' is not null or undefined
746
757
  assertParamExists('updatePickface', 'pickfaceId', pickfaceId);
747
- // verify required parameter 'updatePickfaceRequest' is not null or undefined
748
- assertParamExists('updatePickface', 'updatePickfaceRequest', updatePickfaceRequest);
749
758
  const localVarPath = `/v1/pickfaces/{pickfaceId}`
750
759
  .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
751
760
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -766,6 +775,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
766
775
  localVarQueryParameter['project'] = project;
767
776
  }
768
777
  localVarHeaderParameter['Content-Type'] = 'application/json';
778
+ localVarHeaderParameter['Accept'] = 'application/json';
769
779
  setSearchParams(localVarUrlObj, localVarQueryParameter);
770
780
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
771
781
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -807,6 +817,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
807
817
  localVarQueryParameter['project'] = project;
808
818
  }
809
819
  localVarHeaderParameter['Content-Type'] = 'application/json';
820
+ localVarHeaderParameter['Accept'] = 'application/json';
810
821
  setSearchParams(localVarUrlObj, localVarQueryParameter);
811
822
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
812
823
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1043,15 +1054,14 @@ export const PickfacesApiFp = function (configuration) {
1043
1054
  * @summary Print pickface Labels
1044
1055
  * @param {string} project The project ID
1045
1056
  * @param {string} deviceRef Unique identifier of a warehouse device
1046
- * @param {string} [search] Search term to filter based on pickface code
1047
1057
  * @param {Array<string> | null} [ids] List of pickface ids
1048
1058
  * @param {*} [options] Override http request option.
1049
1059
  * @throws {RequiredError}
1050
1060
  */
1051
- printPickfaceLabels(project, deviceRef, search, ids, options) {
1061
+ printPickfaceLabels(project, deviceRef, ids, options) {
1052
1062
  return __awaiter(this, void 0, void 0, function* () {
1053
1063
  var _a, _b, _c;
1054
- const localVarAxiosArgs = yield localVarAxiosParamCreator.printPickfaceLabels(project, deviceRef, search, ids, options);
1064
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.printPickfaceLabels(project, deviceRef, ids, options);
1055
1065
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1056
1066
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.printPickfaceLabels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1057
1067
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1101,7 +1111,7 @@ export const PickfacesApiFp = function (configuration) {
1101
1111
  * @summary Update Pickface
1102
1112
  * @param {string} project The project ID
1103
1113
  * @param {string} pickfaceId Unique identifier of a pickface
1104
- * @param {UpdatePickfaceRequest} updatePickfaceRequest Update pickface schema
1114
+ * @param {UpdatePickfaceRequest} [updatePickfaceRequest]
1105
1115
  * @param {*} [options] Override http request option.
1106
1116
  * @throws {RequiredError}
1107
1117
  */
@@ -1267,7 +1277,7 @@ export const PickfacesApiFactory = function (configuration, basePath, axios) {
1267
1277
  * @throws {RequiredError}
1268
1278
  */
1269
1279
  printPickfaceLabels(requestParameters, options) {
1270
- return localVarFp.printPickfaceLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.search, requestParameters.ids, options).then((request) => request(axios, basePath));
1280
+ return localVarFp.printPickfaceLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.ids, options).then((request) => request(axios, basePath));
1271
1281
  },
1272
1282
  /**
1273
1283
  * Resolves an issue on a pickface
@@ -1443,7 +1453,7 @@ export class PickfacesApi extends BaseAPI {
1443
1453
  * @throws {RequiredError}
1444
1454
  */
1445
1455
  printPickfaceLabels(requestParameters, options) {
1446
- return PickfacesApiFp(this.configuration).printPickfaceLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.search, requestParameters.ids, options).then((request) => request(this.axios, this.basePath));
1456
+ return PickfacesApiFp(this.configuration).printPickfaceLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.ids, options).then((request) => request(this.axios, this.basePath));
1447
1457
  }
1448
1458
  /**
1449
1459
  * Resolves an issue on a pickface
@@ -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.34.0
5
+ * The version of the OpenAPI document: 0.35.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.34.0
7
+ * The version of the OpenAPI document: 0.35.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.34.0
5
+ * The version of the OpenAPI document: 0.35.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.34.0
7
+ * The version of the OpenAPI document: 0.35.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.34.0
5
+ * The version of the OpenAPI document: 0.35.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Pickfaces API
4
4
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
5
5
  *
6
- * The version of the OpenAPI document: 0.34.0
6
+ * The version of the OpenAPI document: 0.35.1
7
7
  *
8
8
  *
9
9
  * 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.34.0
5
+ * The version of the OpenAPI document: 0.35.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.34.0
7
+ * The version of the OpenAPI document: 0.35.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.34.0
5
+ * The version of the OpenAPI document: 0.35.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.34.0
8
+ * The version of the OpenAPI document: 0.35.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -779,13 +779,11 @@ const apiInstance = new PickfacesApi(configuration);
779
779
 
780
780
  let project: string; //The project ID (default to undefined)
781
781
  let deviceRef: string; //Unique identifier of a warehouse device (default to undefined)
782
- let search: string; //Search term to filter based on pickface code (optional) (default to undefined)
783
782
  let ids: Array<string>; //List of pickface ids (optional) (default to undefined)
784
783
 
785
784
  const { status, data } = await apiInstance.printPickfaceLabels(
786
785
  project,
787
786
  deviceRef,
788
- search,
789
787
  ids
790
788
  );
791
789
  ```
@@ -796,7 +794,6 @@ const { status, data } = await apiInstance.printPickfaceLabels(
796
794
  |------------- | ------------- | ------------- | -------------|
797
795
  | **project** | [**string**] | The project ID | defaults to undefined|
798
796
  | **deviceRef** | [**string**] | Unique identifier of a warehouse device | defaults to undefined|
799
- | **search** | [**string**] | Search term to filter based on pickface code | (optional) defaults to undefined|
800
797
  | **ids** | **Array&lt;string&gt;** | List of pickface ids | (optional) defaults to undefined|
801
798
 
802
799
 
@@ -958,7 +955,7 @@ const { status, data } = await apiInstance.suggestPickfaces(
958
955
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
959
956
 
960
957
  # **updatePickface**
961
- > Pickface updatePickface(updatePickfaceRequest)
958
+ > Pickface updatePickface()
962
959
 
963
960
  Update a Pickface
964
961
 
@@ -976,7 +973,7 @@ const apiInstance = new PickfacesApi(configuration);
976
973
 
977
974
  let project: string; //The project ID (default to undefined)
978
975
  let pickfaceId: string; //Unique identifier of a pickface (default to undefined)
979
- let updatePickfaceRequest: UpdatePickfaceRequest; //Update pickface schema
976
+ let updatePickfaceRequest: UpdatePickfaceRequest; // (optional)
980
977
 
981
978
  const { status, data } = await apiInstance.updatePickface(
982
979
  project,
@@ -989,7 +986,7 @@ const { status, data } = await apiInstance.updatePickface(
989
986
 
990
987
  |Name | Type | Description | Notes|
991
988
  |------------- | ------------- | ------------- | -------------|
992
- | **updatePickfaceRequest** | **UpdatePickfaceRequest**| Update pickface schema | |
989
+ | **updatePickfaceRequest** | **UpdatePickfaceRequest**| | |
993
990
  | **project** | [**string**] | The project ID | defaults to undefined|
994
991
  | **pickfaceId** | [**string**] | Unique identifier of a pickface | defaults to undefined|
995
992
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **variantRef** | **string** | The variant to add or subtract from the pickface | [default to undefined]
8
+ **variantRef** | **string** | The variant to update on the pickface | [default to undefined]
9
9
  **quantity** | [**UpdatePickfaceRequestContentsInnerQuantity**](UpdatePickfaceRequestContentsInnerQuantity.md) | | [default to undefined]
10
10
 
11
11
  ## Example
@@ -1,12 +1,12 @@
1
1
  # UpdatePickfaceRequestContentsInnerQuantityAvailable
2
2
 
3
- The amount to add or subtract from the available stock on the pickface
3
+ The available stock quantity. Can be an integer to set absolute value, or an object with operation (add/subtract/set) and value. Use the integer value if you want to set the value of multiple variants at once.
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **operation** | **string** | | [optional] [default to undefined]
9
+ **operation** | **string** | | [default to undefined]
10
10
  **value** | **number** | | [default to undefined]
11
11
 
12
12
  ## Example
@@ -0,0 +1,22 @@
1
+ # UpdatePickfaceRequestContentsInnerQuantityAvailableOneOf
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **operation** | **string** | | [default to undefined]
9
+ **value** | **number** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { UpdatePickfaceRequestContentsInnerQuantityAvailableOneOf } from '@teemill/pickfaces';
15
+
16
+ const instance: UpdatePickfaceRequestContentsInnerQuantityAvailableOneOf = {
17
+ operation,
18
+ value,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,12 +1,12 @@
1
1
  # UpdatePickfaceRequestContentsInnerQuantityZWip
2
2
 
3
- The amount to add or subtract from the Z WIP stock on the pickface.
3
+ The Z WIP stock quantity.
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **operation** | **string** | | [optional] [default to undefined]
9
+ **operation** | **string** | | [default to undefined]
10
10
  **value** | **number** | | [default to undefined]
11
11
 
12
12
  ## Example
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.34.0
7
+ * The version of the OpenAPI document: 0.35.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/pickfaces",
3
- "version": "0.34.0",
3
+ "version": "0.35.1",
4
4
  "description": "OpenAPI client for @teemill/pickfaces",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {