@teemill/pickfaces 0.36.2 → 0.36.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- 7.21.0
1
+ 7.22.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/pickfaces@0.36.2
1
+ ## @teemill/pickfaces@0.36.4
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @teemill/pickfaces@0.36.2 --save
39
+ npm install @teemill/pickfaces@0.36.4 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces
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.36.2
7
+ * The version of the OpenAPI document: 0.36.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -477,7 +477,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
477
477
  // verify required parameter 'pickfaceId' is not null or undefined
478
478
  assertParamExists('checkedStock', 'pickfaceId', pickfaceId)
479
479
  const localVarPath = `/v1/pickfaces/{pickfaceId}/stock/checked`
480
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
480
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
481
481
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
482
482
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
483
483
  let baseOptions;
@@ -574,7 +574,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
574
574
  // verify required parameter 'pickfaceId' is not null or undefined
575
575
  assertParamExists('deletePickface', 'pickfaceId', pickfaceId)
576
576
  const localVarPath = `/v1/pickfaces/{pickfaceId}`
577
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
577
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
578
578
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
579
579
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
580
580
  let baseOptions;
@@ -676,7 +676,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
676
676
  // verify required parameter 'pickfaceId' is not null or undefined
677
677
  assertParamExists('getPickface', 'pickfaceId', pickfaceId)
678
678
  const localVarPath = `/v1/pickfaces/{pickfaceId}`
679
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
679
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
680
680
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
681
681
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
682
682
  let baseOptions;
@@ -727,7 +727,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
727
727
  // verify required parameter 'issueEmptyPickfaceRequest' is not null or undefined
728
728
  assertParamExists('issueEmptyPickface', 'issueEmptyPickfaceRequest', issueEmptyPickfaceRequest)
729
729
  const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/empty`
730
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
730
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
731
731
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
732
732
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
733
733
  let baseOptions;
@@ -780,7 +780,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
780
780
  // verify required parameter 'issueWrongContentsPickfaceRequest' is not null or undefined
781
781
  assertParamExists('issueWrongContentsPickface', 'issueWrongContentsPickfaceRequest', issueWrongContentsPickfaceRequest)
782
782
  const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/wrong-contents`
783
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
783
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
784
784
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
785
785
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
786
786
  let baseOptions;
@@ -876,7 +876,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
876
876
  // verify required parameter 'pickfaceId' is not null or undefined
877
877
  assertParamExists('listPickfaceLogs', 'pickfaceId', pickfaceId)
878
878
  const localVarPath = `/v1/pickfaces/{pickfaceId}/logs`
879
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
879
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
880
880
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
881
881
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
882
882
  let baseOptions;
@@ -1013,7 +1013,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1013
1013
  // verify required parameter 'moveStockRequest' is not null or undefined
1014
1014
  assertParamExists('moveStock', 'moveStockRequest', moveStockRequest)
1015
1015
  const localVarPath = `/v1/pickfaces/{pickfaceId}/stock/move`
1016
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
1016
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
1017
1017
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1018
1018
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1019
1019
  let baseOptions;
@@ -1066,7 +1066,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1066
1066
  // verify required parameter 'deviceRef' is not null or undefined
1067
1067
  assertParamExists('printPickfaceLabel', 'deviceRef', deviceRef)
1068
1068
  const localVarPath = `/v1/pickfaces/{pickfaceId}/print`
1069
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
1069
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
1070
1070
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1071
1071
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1072
1072
  let baseOptions;
@@ -1174,7 +1174,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1174
1174
  // verify required parameter 'pickfaceId' is not null or undefined
1175
1175
  assertParamExists('resolvePickfaceIssue', 'pickfaceId', pickfaceId)
1176
1176
  const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/resolve`
1177
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
1177
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
1178
1178
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1179
1179
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1180
1180
  let baseOptions;
@@ -1301,7 +1301,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1301
1301
  // verify required parameter 'pickfaceId' is not null or undefined
1302
1302
  assertParamExists('updatePickface', 'pickfaceId', pickfaceId)
1303
1303
  const localVarPath = `/v1/pickfaces/{pickfaceId}`
1304
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
1304
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
1305
1305
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1306
1306
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1307
1307
  let baseOptions;
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces
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.36.2
7
+ * The version of the OpenAPI document: 0.36.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces
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.36.2
7
+ * The version of the OpenAPI document: 0.36.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Pickfaces
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.36.2
6
+ * The version of the OpenAPI document: 0.36.4
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -115,7 +115,7 @@ export class Configuration {
115
115
  * @return True if the given MIME is JSON, false otherwise.
116
116
  */
117
117
  public isJsonMime(mime: string): boolean {
118
- const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
119
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
118
+ const jsonMime: RegExp = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
119
+ return mime !== null && jsonMime.test(mime);
120
120
  }
121
121
  }
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pickfaces
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.36.2
5
+ * The version of the OpenAPI document: 0.36.4
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pickfaces
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.36.2
8
+ * The version of the OpenAPI document: 0.36.4
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -63,7 +63,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
63
63
  // verify required parameter 'pickfaceId' is not null or undefined
64
64
  (0, common_1.assertParamExists)('checkedStock', 'pickfaceId', pickfaceId);
65
65
  const localVarPath = `/v1/pickfaces/{pickfaceId}/stock/checked`
66
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
66
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
67
67
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
68
68
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
69
69
  let baseOptions;
@@ -146,7 +146,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
146
146
  // verify required parameter 'pickfaceId' is not null or undefined
147
147
  (0, common_1.assertParamExists)('deletePickface', 'pickfaceId', pickfaceId);
148
148
  const localVarPath = `/v1/pickfaces/{pickfaceId}`
149
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
149
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
150
150
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
151
151
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
152
152
  let baseOptions;
@@ -232,7 +232,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
232
232
  // verify required parameter 'pickfaceId' is not null or undefined
233
233
  (0, common_1.assertParamExists)('getPickface', 'pickfaceId', pickfaceId);
234
234
  const localVarPath = `/v1/pickfaces/{pickfaceId}`
235
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
235
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
236
236
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
237
237
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
238
238
  let baseOptions;
@@ -276,7 +276,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
276
276
  // verify required parameter 'issueEmptyPickfaceRequest' is not null or undefined
277
277
  (0, common_1.assertParamExists)('issueEmptyPickface', 'issueEmptyPickfaceRequest', issueEmptyPickfaceRequest);
278
278
  const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/empty`
279
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
279
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
280
280
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
281
281
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
282
282
  let baseOptions;
@@ -322,7 +322,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
322
322
  // verify required parameter 'issueWrongContentsPickfaceRequest' is not null or undefined
323
323
  (0, common_1.assertParamExists)('issueWrongContentsPickface', 'issueWrongContentsPickfaceRequest', issueWrongContentsPickfaceRequest);
324
324
  const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/wrong-contents`
325
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
325
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
326
326
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
327
327
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
328
328
  let baseOptions;
@@ -404,7 +404,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
404
404
  // verify required parameter 'pickfaceId' is not null or undefined
405
405
  (0, common_1.assertParamExists)('listPickfaceLogs', 'pickfaceId', pickfaceId);
406
406
  const localVarPath = `/v1/pickfaces/{pickfaceId}/logs`
407
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
407
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
408
408
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
409
409
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
410
410
  let baseOptions;
@@ -519,7 +519,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
519
519
  // verify required parameter 'moveStockRequest' is not null or undefined
520
520
  (0, common_1.assertParamExists)('moveStock', 'moveStockRequest', moveStockRequest);
521
521
  const localVarPath = `/v1/pickfaces/{pickfaceId}/stock/move`
522
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
522
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
523
523
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
524
524
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
525
525
  let baseOptions;
@@ -565,7 +565,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
565
565
  // verify required parameter 'deviceRef' is not null or undefined
566
566
  (0, common_1.assertParamExists)('printPickfaceLabel', 'deviceRef', deviceRef);
567
567
  const localVarPath = `/v1/pickfaces/{pickfaceId}/print`
568
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
568
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
569
569
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
570
570
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
571
571
  let baseOptions;
@@ -656,7 +656,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
656
656
  // verify required parameter 'pickfaceId' is not null or undefined
657
657
  (0, common_1.assertParamExists)('resolvePickfaceIssue', 'pickfaceId', pickfaceId);
658
658
  const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/resolve`
659
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
659
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
660
660
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
661
661
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
662
662
  let baseOptions;
@@ -763,7 +763,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
763
763
  // verify required parameter 'pickfaceId' is not null or undefined
764
764
  (0, common_1.assertParamExists)('updatePickface', 'pickfaceId', pickfaceId);
765
765
  const localVarPath = `/v1/pickfaces/{pickfaceId}`
766
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
766
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
767
767
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
768
768
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
769
769
  let baseOptions;
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pickfaces
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.36.2
5
+ * The version of the OpenAPI document: 0.36.4
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
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.36.2
8
+ * The version of the OpenAPI document: 0.36.4
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
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.36.2
5
+ * The version of the OpenAPI document: 0.36.4
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
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.36.2
8
+ * The version of the OpenAPI document: 0.36.4
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
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.36.2
5
+ * The version of the OpenAPI document: 0.36.4
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
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.36.2
7
+ * The version of the OpenAPI document: 0.36.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -37,8 +37,8 @@ class Configuration {
37
37
  * @return True if the given MIME is JSON, false otherwise.
38
38
  */
39
39
  isJsonMime(mime) {
40
- const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
41
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
40
+ const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
41
+ return mime !== null && jsonMime.test(mime);
42
42
  }
43
43
  }
44
44
  exports.Configuration = Configuration;
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pickfaces
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.36.2
5
+ * The version of the OpenAPI document: 0.36.4
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces
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.36.2
7
+ * The version of the OpenAPI document: 0.36.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -60,7 +60,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
60
60
  // verify required parameter 'pickfaceId' is not null or undefined
61
61
  assertParamExists('checkedStock', 'pickfaceId', pickfaceId);
62
62
  const localVarPath = `/v1/pickfaces/{pickfaceId}/stock/checked`
63
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
63
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
64
64
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
65
65
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
66
66
  let baseOptions;
@@ -143,7 +143,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
143
143
  // verify required parameter 'pickfaceId' is not null or undefined
144
144
  assertParamExists('deletePickface', 'pickfaceId', pickfaceId);
145
145
  const localVarPath = `/v1/pickfaces/{pickfaceId}`
146
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
146
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
147
147
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
148
148
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
149
149
  let baseOptions;
@@ -229,7 +229,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
229
229
  // verify required parameter 'pickfaceId' is not null or undefined
230
230
  assertParamExists('getPickface', 'pickfaceId', pickfaceId);
231
231
  const localVarPath = `/v1/pickfaces/{pickfaceId}`
232
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
232
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
233
233
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
234
234
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
235
235
  let baseOptions;
@@ -273,7 +273,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
273
273
  // verify required parameter 'issueEmptyPickfaceRequest' is not null or undefined
274
274
  assertParamExists('issueEmptyPickface', 'issueEmptyPickfaceRequest', issueEmptyPickfaceRequest);
275
275
  const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/empty`
276
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
276
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
277
277
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
278
278
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
279
279
  let baseOptions;
@@ -319,7 +319,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
319
319
  // verify required parameter 'issueWrongContentsPickfaceRequest' is not null or undefined
320
320
  assertParamExists('issueWrongContentsPickface', 'issueWrongContentsPickfaceRequest', issueWrongContentsPickfaceRequest);
321
321
  const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/wrong-contents`
322
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
322
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
323
323
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
324
324
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
325
325
  let baseOptions;
@@ -401,7 +401,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
401
401
  // verify required parameter 'pickfaceId' is not null or undefined
402
402
  assertParamExists('listPickfaceLogs', 'pickfaceId', pickfaceId);
403
403
  const localVarPath = `/v1/pickfaces/{pickfaceId}/logs`
404
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
404
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
405
405
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
406
406
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
407
407
  let baseOptions;
@@ -516,7 +516,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
516
516
  // verify required parameter 'moveStockRequest' is not null or undefined
517
517
  assertParamExists('moveStock', 'moveStockRequest', moveStockRequest);
518
518
  const localVarPath = `/v1/pickfaces/{pickfaceId}/stock/move`
519
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
519
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
520
520
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
521
521
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
522
522
  let baseOptions;
@@ -562,7 +562,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
562
562
  // verify required parameter 'deviceRef' is not null or undefined
563
563
  assertParamExists('printPickfaceLabel', 'deviceRef', deviceRef);
564
564
  const localVarPath = `/v1/pickfaces/{pickfaceId}/print`
565
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
565
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
566
566
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
567
567
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
568
568
  let baseOptions;
@@ -653,7 +653,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
653
653
  // verify required parameter 'pickfaceId' is not null or undefined
654
654
  assertParamExists('resolvePickfaceIssue', 'pickfaceId', pickfaceId);
655
655
  const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/resolve`
656
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
656
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
657
657
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
658
658
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
659
659
  let baseOptions;
@@ -760,7 +760,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
760
760
  // verify required parameter 'pickfaceId' is not null or undefined
761
761
  assertParamExists('updatePickface', 'pickfaceId', pickfaceId);
762
762
  const localVarPath = `/v1/pickfaces/{pickfaceId}`
763
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
763
+ .replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
764
764
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
765
765
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
766
766
  let baseOptions;
@@ -2,7 +2,7 @@
2
2
  * Pickfaces
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.36.2
5
+ * The version of the OpenAPI document: 0.36.4
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
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.36.2
7
+ * The version of the OpenAPI document: 0.36.4
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
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.36.2
5
+ * The version of the OpenAPI document: 0.36.4
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
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.36.2
7
+ * The version of the OpenAPI document: 0.36.4
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
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.36.2
5
+ * The version of the OpenAPI document: 0.36.4
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
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.36.2
6
+ * The version of the OpenAPI document: 0.36.4
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,7 +34,7 @@ export class Configuration {
34
34
  * @return True if the given MIME is JSON, false otherwise.
35
35
  */
36
36
  isJsonMime(mime) {
37
- const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
38
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
37
+ const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
38
+ return mime !== null && jsonMime.test(mime);
39
39
  }
40
40
  }
@@ -2,7 +2,7 @@
2
2
  * Pickfaces
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.36.2
5
+ * The version of the OpenAPI document: 0.36.4
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
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.36.2
7
+ * The version of the OpenAPI document: 0.36.4
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
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.36.2
5
+ * The version of the OpenAPI document: 0.36.4
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
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.36.2
8
+ * The version of the OpenAPI document: 0.36.4
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces
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.36.2
7
+ * The version of the OpenAPI document: 0.36.4
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.36.2",
3
+ "version": "0.36.4",
4
4
  "description": "OpenAPI client for @teemill/pickfaces",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "prepare": "npm run build"
25
25
  },
26
26
  "dependencies": {
27
- "axios": "1.15.0"
27
+ "axios": "^1.16.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "12.11.5 - 12.20.42",