@teemill/warehouse-prefab-applications 0.14.1 → 0.14.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.
@@ -5,6 +5,28 @@ api.ts
5
5
  base.ts
6
6
  common.ts
7
7
  configuration.ts
8
+ docs/ApiError.md
9
+ docs/Batch.md
10
+ docs/BatchesApi.md
11
+ docs/CreateBatchRequest.md
12
+ docs/CreateTrayRequest.md
13
+ docs/ListBatchPrefabApplications200Response.md
14
+ docs/ListBatches200Response.md
15
+ docs/ListTrays200Response.md
16
+ docs/PrefabApplication.md
17
+ docs/PrefabApplicationCatalogApplication.md
18
+ docs/PrefabApplicationsApi.md
19
+ docs/PrefabApplicationsResponse.md
20
+ docs/PrintPrefabApplication202Response.md
21
+ docs/SuggestTrays200Response.md
22
+ docs/Tray.md
23
+ docs/TrayContents.md
24
+ docs/TrayContentsCatalogApplication.md
25
+ docs/TraysApi.md
26
+ docs/UpdatePrefabApplicationRequest.md
27
+ docs/UpdateTrayRequest.md
28
+ docs/UpdateTrayRequestContents.md
29
+ docs/ValidationError.md
8
30
  git_push.sh
9
31
  index.ts
10
32
  package.json
@@ -1 +1 @@
1
- 7.8.0
1
+ 7.22.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/warehouse-prefab-applications@0.14.1
1
+ ## @teemill/warehouse-prefab-applications@0.14.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/warehouse-prefab-applications@0.14.1 --save
39
+ npm install @teemill/warehouse-prefab-applications@0.14.4 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Warehouse Prefab Applications
5
5
  * Manage PodOS Warehouse Prefab Applications
6
6
  *
7
- * The version of the OpenAPI document: 0.14.1
7
+ * The version of the OpenAPI document: 0.14.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -79,7 +79,7 @@ export const BatchStatusEnum = {
79
79
  Ready: 'ready',
80
80
  Printed: 'printed',
81
81
  Complete: 'complete',
82
- Failed: 'failed'
82
+ Failed: 'failed',
83
83
  } as const;
84
84
 
85
85
  export type BatchStatusEnum = typeof BatchStatusEnum[keyof typeof BatchStatusEnum];
@@ -153,7 +153,7 @@ export const PrefabApplicationStatusEnum = {
153
153
  Ready: 'ready',
154
154
  Cancelled: 'cancelled',
155
155
  Processing: 'processing',
156
- Complete: 'complete'
156
+ Complete: 'complete',
157
157
  } as const;
158
158
 
159
159
  export type PrefabApplicationStatusEnum = typeof PrefabApplicationStatusEnum[keyof typeof PrefabApplicationStatusEnum];
@@ -220,7 +220,7 @@ export interface Tray {
220
220
 
221
221
  export const TrayStatusEnum = {
222
222
  Ok: 'ok',
223
- Issue: 'issue'
223
+ Issue: 'issue',
224
224
  } as const;
225
225
 
226
226
  export type TrayStatusEnum = typeof TrayStatusEnum[keyof typeof TrayStatusEnum];
@@ -339,7 +339,7 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati
339
339
  // verify required parameter 'batchId' is not null or undefined
340
340
  assertParamExists('getBatch', 'batchId', batchId)
341
341
  const localVarPath = `/v1/warehouse/prefab-applications/batches/{batchId}`
342
- .replace(`{${"batchId"}}`, encodeURIComponent(String(batchId)));
342
+ .replace('{batchId}', encodeURIComponent(String(batchId)));
343
343
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
344
344
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
345
345
  let baseOptions;
@@ -389,7 +389,7 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati
389
389
  // verify required parameter 'batchId' is not null or undefined
390
390
  assertParamExists('listBatchPrefabApplications', 'batchId', batchId)
391
391
  const localVarPath = `/v1/warehouse/prefab-applications/batches/{batchId}/prefab-applications`
392
- .replace(`{${"batchId"}}`, encodeURIComponent(String(batchId)));
392
+ .replace('{batchId}', encodeURIComponent(String(batchId)));
393
393
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
394
394
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
395
395
  let baseOptions;
@@ -507,7 +507,7 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati
507
507
  // verify required parameter 'deviceRef' is not null or undefined
508
508
  assertParamExists('printBatch', 'deviceRef', deviceRef)
509
509
  const localVarPath = `/v1/warehouse/prefab-applications/batches/{batchId}/print`
510
- .replace(`{${"batchId"}}`, encodeURIComponent(String(batchId)));
510
+ .replace('{batchId}', encodeURIComponent(String(batchId)));
511
511
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
512
512
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
513
513
  let baseOptions;
@@ -872,7 +872,7 @@ export const PrefabApplicationsApiAxiosParamCreator = function (configuration?:
872
872
  // verify required parameter 'prefabApplicationId' is not null or undefined
873
873
  assertParamExists('getPrefabApplication', 'prefabApplicationId', prefabApplicationId)
874
874
  const localVarPath = `/v1/warehouse/prefab-applications/{prefabApplicationId}`
875
- .replace(`{${"prefabApplicationId"}}`, encodeURIComponent(String(prefabApplicationId)));
875
+ .replace('{prefabApplicationId}', encodeURIComponent(String(prefabApplicationId)));
876
876
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
877
877
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
878
878
  let baseOptions;
@@ -987,7 +987,7 @@ export const PrefabApplicationsApiAxiosParamCreator = function (configuration?:
987
987
  // verify required parameter 'deviceRef' is not null or undefined
988
988
  assertParamExists('printPrefabApplication', 'deviceRef', deviceRef)
989
989
  const localVarPath = `/v1/warehouse/prefab-applications/{prefabApplicationId}/print`
990
- .replace(`{${"prefabApplicationId"}}`, encodeURIComponent(String(prefabApplicationId)));
990
+ .replace('{prefabApplicationId}', encodeURIComponent(String(prefabApplicationId)));
991
991
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
992
992
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
993
993
  let baseOptions;
@@ -1043,7 +1043,7 @@ export const PrefabApplicationsApiAxiosParamCreator = function (configuration?:
1043
1043
  // verify required parameter 'updatePrefabApplicationRequest' is not null or undefined
1044
1044
  assertParamExists('updatePrefabApplication', 'updatePrefabApplicationRequest', updatePrefabApplicationRequest)
1045
1045
  const localVarPath = `/v1/warehouse/prefab-applications/{prefabApplicationId}`
1046
- .replace(`{${"prefabApplicationId"}}`, encodeURIComponent(String(prefabApplicationId)));
1046
+ .replace('{prefabApplicationId}', encodeURIComponent(String(prefabApplicationId)));
1047
1047
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1048
1048
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1049
1049
  let baseOptions;
@@ -1414,7 +1414,7 @@ export const TraysApiAxiosParamCreator = function (configuration?: Configuration
1414
1414
  // verify required parameter 'trayId' is not null or undefined
1415
1415
  assertParamExists('deleteTray', 'trayId', trayId)
1416
1416
  const localVarPath = `/v1/warehouse/prefab-applications/trays/{trayId}`
1417
- .replace(`{${"trayId"}}`, encodeURIComponent(String(trayId)));
1417
+ .replace('{trayId}', encodeURIComponent(String(trayId)));
1418
1418
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1419
1419
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1420
1420
  let baseOptions;
@@ -1462,7 +1462,7 @@ export const TraysApiAxiosParamCreator = function (configuration?: Configuration
1462
1462
  // verify required parameter 'trayId' is not null or undefined
1463
1463
  assertParamExists('getTray', 'trayId', trayId)
1464
1464
  const localVarPath = `/v1/warehouse/prefab-applications/trays/{trayId}`
1465
- .replace(`{${"trayId"}}`, encodeURIComponent(String(trayId)));
1465
+ .replace('{trayId}', encodeURIComponent(String(trayId)));
1466
1466
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1467
1467
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1468
1468
  let baseOptions;
@@ -1512,7 +1512,7 @@ export const TraysApiAxiosParamCreator = function (configuration?: Configuration
1512
1512
  // verify required parameter 'trayId' is not null or undefined
1513
1513
  assertParamExists('listTrayPrefabApplications', 'trayId', trayId)
1514
1514
  const localVarPath = `/v1/warehouse/prefab-applications/trays/{trayId}/prefab-applications`
1515
- .replace(`{${"trayId"}}`, encodeURIComponent(String(trayId)));
1515
+ .replace('{trayId}', encodeURIComponent(String(trayId)));
1516
1516
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1517
1517
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1518
1518
  let baseOptions;
@@ -1630,7 +1630,7 @@ export const TraysApiAxiosParamCreator = function (configuration?: Configuration
1630
1630
  // verify required parameter 'deviceRef' is not null or undefined
1631
1631
  assertParamExists('printTrayLabel', 'deviceRef', deviceRef)
1632
1632
  const localVarPath = `/v1/warehouse/prefab-applications/trays/{trayId}/print`
1633
- .replace(`{${"trayId"}}`, encodeURIComponent(String(trayId)));
1633
+ .replace('{trayId}', encodeURIComponent(String(trayId)));
1634
1634
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1635
1635
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1636
1636
  let baseOptions;
@@ -1810,7 +1810,7 @@ export const TraysApiAxiosParamCreator = function (configuration?: Configuration
1810
1810
  // verify required parameter 'updateTrayRequest' is not null or undefined
1811
1811
  assertParamExists('updateTray', 'updateTrayRequest', updateTrayRequest)
1812
1812
  const localVarPath = `/v1/warehouse/prefab-applications/trays/{trayId}`
1813
- .replace(`{${"trayId"}}`, encodeURIComponent(String(trayId)));
1813
+ .replace('{trayId}', encodeURIComponent(String(trayId)));
1814
1814
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1815
1815
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1816
1816
  let baseOptions;
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Warehouse Prefab Applications
5
5
  * Manage PodOS Warehouse Prefab Applications
6
6
  *
7
- * The version of the OpenAPI document: 0.14.1
7
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
5
5
  * Manage PodOS Warehouse Prefab Applications
6
6
  *
7
- * The version of the OpenAPI document: 0.14.1
7
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
4
4
  * Manage PodOS Warehouse Prefab Applications
5
5
  *
6
- * The version of the OpenAPI document: 0.14.1
6
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
3
3
  * Manage PodOS Warehouse Prefab Applications
4
4
  *
5
- * The version of the OpenAPI document: 0.14.1
5
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
6
6
  * Manage PodOS Warehouse Prefab Applications
7
7
  *
8
- * The version of the OpenAPI document: 0.14.1
8
+ * The version of the OpenAPI document: 0.14.4
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,17 +34,17 @@ exports.BatchStatusEnum = {
34
34
  Ready: 'ready',
35
35
  Printed: 'printed',
36
36
  Complete: 'complete',
37
- Failed: 'failed'
37
+ Failed: 'failed',
38
38
  };
39
39
  exports.PrefabApplicationStatusEnum = {
40
40
  Ready: 'ready',
41
41
  Cancelled: 'cancelled',
42
42
  Processing: 'processing',
43
- Complete: 'complete'
43
+ Complete: 'complete',
44
44
  };
45
45
  exports.TrayStatusEnum = {
46
46
  Ok: 'ok',
47
- Issue: 'issue'
47
+ Issue: 'issue',
48
48
  };
49
49
  /**
50
50
  * BatchesApi - axios parameter creator
@@ -107,7 +107,7 @@ const BatchesApiAxiosParamCreator = function (configuration) {
107
107
  // verify required parameter 'batchId' is not null or undefined
108
108
  (0, common_1.assertParamExists)('getBatch', 'batchId', batchId);
109
109
  const localVarPath = `/v1/warehouse/prefab-applications/batches/{batchId}`
110
- .replace(`{${"batchId"}}`, encodeURIComponent(String(batchId)));
110
+ .replace('{batchId}', encodeURIComponent(String(batchId)));
111
111
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
112
112
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
113
113
  let baseOptions;
@@ -150,7 +150,7 @@ const BatchesApiAxiosParamCreator = function (configuration) {
150
150
  // verify required parameter 'batchId' is not null or undefined
151
151
  (0, common_1.assertParamExists)('listBatchPrefabApplications', 'batchId', batchId);
152
152
  const localVarPath = `/v1/warehouse/prefab-applications/batches/{batchId}/prefab-applications`
153
- .replace(`{${"batchId"}}`, encodeURIComponent(String(batchId)));
153
+ .replace('{batchId}', encodeURIComponent(String(batchId)));
154
154
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
155
155
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
156
156
  let baseOptions;
@@ -249,7 +249,7 @@ const BatchesApiAxiosParamCreator = function (configuration) {
249
249
  // verify required parameter 'deviceRef' is not null or undefined
250
250
  (0, common_1.assertParamExists)('printBatch', 'deviceRef', deviceRef);
251
251
  const localVarPath = `/v1/warehouse/prefab-applications/batches/{batchId}/print`
252
- .replace(`{${"batchId"}}`, encodeURIComponent(String(batchId)));
252
+ .replace('{batchId}', encodeURIComponent(String(batchId)));
253
253
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
254
254
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
255
255
  let baseOptions;
@@ -515,7 +515,7 @@ const PrefabApplicationsApiAxiosParamCreator = function (configuration) {
515
515
  // verify required parameter 'prefabApplicationId' is not null or undefined
516
516
  (0, common_1.assertParamExists)('getPrefabApplication', 'prefabApplicationId', prefabApplicationId);
517
517
  const localVarPath = `/v1/warehouse/prefab-applications/{prefabApplicationId}`
518
- .replace(`{${"prefabApplicationId"}}`, encodeURIComponent(String(prefabApplicationId)));
518
+ .replace('{prefabApplicationId}', encodeURIComponent(String(prefabApplicationId)));
519
519
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
520
520
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
521
521
  let baseOptions;
@@ -612,7 +612,7 @@ const PrefabApplicationsApiAxiosParamCreator = function (configuration) {
612
612
  // verify required parameter 'deviceRef' is not null or undefined
613
613
  (0, common_1.assertParamExists)('printPrefabApplication', 'deviceRef', deviceRef);
614
614
  const localVarPath = `/v1/warehouse/prefab-applications/{prefabApplicationId}/print`
615
- .replace(`{${"prefabApplicationId"}}`, encodeURIComponent(String(prefabApplicationId)));
615
+ .replace('{prefabApplicationId}', encodeURIComponent(String(prefabApplicationId)));
616
616
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
617
617
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
618
618
  let baseOptions;
@@ -660,7 +660,7 @@ const PrefabApplicationsApiAxiosParamCreator = function (configuration) {
660
660
  // verify required parameter 'updatePrefabApplicationRequest' is not null or undefined
661
661
  (0, common_1.assertParamExists)('updatePrefabApplication', 'updatePrefabApplicationRequest', updatePrefabApplicationRequest);
662
662
  const localVarPath = `/v1/warehouse/prefab-applications/{prefabApplicationId}`
663
- .replace(`{${"prefabApplicationId"}}`, encodeURIComponent(String(prefabApplicationId)));
663
+ .replace('{prefabApplicationId}', encodeURIComponent(String(prefabApplicationId)));
664
664
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
665
665
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
666
666
  let baseOptions;
@@ -934,7 +934,7 @@ const TraysApiAxiosParamCreator = function (configuration) {
934
934
  // verify required parameter 'trayId' is not null or undefined
935
935
  (0, common_1.assertParamExists)('deleteTray', 'trayId', trayId);
936
936
  const localVarPath = `/v1/warehouse/prefab-applications/trays/{trayId}`
937
- .replace(`{${"trayId"}}`, encodeURIComponent(String(trayId)));
937
+ .replace('{trayId}', encodeURIComponent(String(trayId)));
938
938
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
939
939
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
940
940
  let baseOptions;
@@ -975,7 +975,7 @@ const TraysApiAxiosParamCreator = function (configuration) {
975
975
  // verify required parameter 'trayId' is not null or undefined
976
976
  (0, common_1.assertParamExists)('getTray', 'trayId', trayId);
977
977
  const localVarPath = `/v1/warehouse/prefab-applications/trays/{trayId}`
978
- .replace(`{${"trayId"}}`, encodeURIComponent(String(trayId)));
978
+ .replace('{trayId}', encodeURIComponent(String(trayId)));
979
979
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
980
980
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
981
981
  let baseOptions;
@@ -1018,7 +1018,7 @@ const TraysApiAxiosParamCreator = function (configuration) {
1018
1018
  // verify required parameter 'trayId' is not null or undefined
1019
1019
  (0, common_1.assertParamExists)('listTrayPrefabApplications', 'trayId', trayId);
1020
1020
  const localVarPath = `/v1/warehouse/prefab-applications/trays/{trayId}/prefab-applications`
1021
- .replace(`{${"trayId"}}`, encodeURIComponent(String(trayId)));
1021
+ .replace('{trayId}', encodeURIComponent(String(trayId)));
1022
1022
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1023
1023
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1024
1024
  let baseOptions;
@@ -1117,7 +1117,7 @@ const TraysApiAxiosParamCreator = function (configuration) {
1117
1117
  // verify required parameter 'deviceRef' is not null or undefined
1118
1118
  (0, common_1.assertParamExists)('printTrayLabel', 'deviceRef', deviceRef);
1119
1119
  const localVarPath = `/v1/warehouse/prefab-applications/trays/{trayId}/print`
1120
- .replace(`{${"trayId"}}`, encodeURIComponent(String(trayId)));
1120
+ .replace('{trayId}', encodeURIComponent(String(trayId)));
1121
1121
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1122
1122
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1123
1123
  let baseOptions;
@@ -1268,7 +1268,7 @@ const TraysApiAxiosParamCreator = function (configuration) {
1268
1268
  // verify required parameter 'updateTrayRequest' is not null or undefined
1269
1269
  (0, common_1.assertParamExists)('updateTray', 'updateTrayRequest', updateTrayRequest);
1270
1270
  const localVarPath = `/v1/warehouse/prefab-applications/trays/{trayId}`
1271
- .replace(`{${"trayId"}}`, encodeURIComponent(String(trayId)));
1271
+ .replace('{trayId}', encodeURIComponent(String(trayId)));
1272
1272
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1273
1273
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1274
1274
  let baseOptions;
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Warehouse Prefab Applications
3
3
  * Manage PodOS Warehouse Prefab Applications
4
4
  *
5
- * The version of the OpenAPI document: 0.14.1
5
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
6
6
  * Manage PodOS Warehouse Prefab Applications
7
7
  *
8
- * The version of the OpenAPI document: 0.14.1
8
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
3
3
  * Manage PodOS Warehouse Prefab Applications
4
4
  *
5
- * The version of the OpenAPI document: 0.14.1
5
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
6
6
  * Manage PodOS Warehouse Prefab Applications
7
7
  *
8
- * The version of the OpenAPI document: 0.14.1
8
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
3
3
  * Manage PodOS Warehouse Prefab Applications
4
4
  *
5
- * The version of the OpenAPI document: 0.14.1
5
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
5
5
  * Manage PodOS Warehouse Prefab Applications
6
6
  *
7
- * The version of the OpenAPI document: 0.14.1
7
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
3
3
  * Manage PodOS Warehouse Prefab Applications
4
4
  *
5
- * The version of the OpenAPI document: 0.14.1
5
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
5
5
  * Manage PodOS Warehouse Prefab Applications
6
6
  *
7
- * The version of the OpenAPI document: 0.14.1
7
+ * The version of the OpenAPI document: 0.14.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,17 +31,17 @@ export const BatchStatusEnum = {
31
31
  Ready: 'ready',
32
32
  Printed: 'printed',
33
33
  Complete: 'complete',
34
- Failed: 'failed'
34
+ Failed: 'failed',
35
35
  };
36
36
  export const PrefabApplicationStatusEnum = {
37
37
  Ready: 'ready',
38
38
  Cancelled: 'cancelled',
39
39
  Processing: 'processing',
40
- Complete: 'complete'
40
+ Complete: 'complete',
41
41
  };
42
42
  export const TrayStatusEnum = {
43
43
  Ok: 'ok',
44
- Issue: 'issue'
44
+ Issue: 'issue',
45
45
  };
46
46
  /**
47
47
  * BatchesApi - axios parameter creator
@@ -104,7 +104,7 @@ export const BatchesApiAxiosParamCreator = function (configuration) {
104
104
  // verify required parameter 'batchId' is not null or undefined
105
105
  assertParamExists('getBatch', 'batchId', batchId);
106
106
  const localVarPath = `/v1/warehouse/prefab-applications/batches/{batchId}`
107
- .replace(`{${"batchId"}}`, encodeURIComponent(String(batchId)));
107
+ .replace('{batchId}', encodeURIComponent(String(batchId)));
108
108
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
109
109
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
110
110
  let baseOptions;
@@ -147,7 +147,7 @@ export const BatchesApiAxiosParamCreator = function (configuration) {
147
147
  // verify required parameter 'batchId' is not null or undefined
148
148
  assertParamExists('listBatchPrefabApplications', 'batchId', batchId);
149
149
  const localVarPath = `/v1/warehouse/prefab-applications/batches/{batchId}/prefab-applications`
150
- .replace(`{${"batchId"}}`, encodeURIComponent(String(batchId)));
150
+ .replace('{batchId}', encodeURIComponent(String(batchId)));
151
151
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
152
152
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
153
153
  let baseOptions;
@@ -246,7 +246,7 @@ export const BatchesApiAxiosParamCreator = function (configuration) {
246
246
  // verify required parameter 'deviceRef' is not null or undefined
247
247
  assertParamExists('printBatch', 'deviceRef', deviceRef);
248
248
  const localVarPath = `/v1/warehouse/prefab-applications/batches/{batchId}/print`
249
- .replace(`{${"batchId"}}`, encodeURIComponent(String(batchId)));
249
+ .replace('{batchId}', encodeURIComponent(String(batchId)));
250
250
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
251
251
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
252
252
  let baseOptions;
@@ -508,7 +508,7 @@ export const PrefabApplicationsApiAxiosParamCreator = function (configuration) {
508
508
  // verify required parameter 'prefabApplicationId' is not null or undefined
509
509
  assertParamExists('getPrefabApplication', 'prefabApplicationId', prefabApplicationId);
510
510
  const localVarPath = `/v1/warehouse/prefab-applications/{prefabApplicationId}`
511
- .replace(`{${"prefabApplicationId"}}`, encodeURIComponent(String(prefabApplicationId)));
511
+ .replace('{prefabApplicationId}', encodeURIComponent(String(prefabApplicationId)));
512
512
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
513
513
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
514
514
  let baseOptions;
@@ -605,7 +605,7 @@ export const PrefabApplicationsApiAxiosParamCreator = function (configuration) {
605
605
  // verify required parameter 'deviceRef' is not null or undefined
606
606
  assertParamExists('printPrefabApplication', 'deviceRef', deviceRef);
607
607
  const localVarPath = `/v1/warehouse/prefab-applications/{prefabApplicationId}/print`
608
- .replace(`{${"prefabApplicationId"}}`, encodeURIComponent(String(prefabApplicationId)));
608
+ .replace('{prefabApplicationId}', encodeURIComponent(String(prefabApplicationId)));
609
609
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
610
610
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
611
611
  let baseOptions;
@@ -653,7 +653,7 @@ export const PrefabApplicationsApiAxiosParamCreator = function (configuration) {
653
653
  // verify required parameter 'updatePrefabApplicationRequest' is not null or undefined
654
654
  assertParamExists('updatePrefabApplication', 'updatePrefabApplicationRequest', updatePrefabApplicationRequest);
655
655
  const localVarPath = `/v1/warehouse/prefab-applications/{prefabApplicationId}`
656
- .replace(`{${"prefabApplicationId"}}`, encodeURIComponent(String(prefabApplicationId)));
656
+ .replace('{prefabApplicationId}', encodeURIComponent(String(prefabApplicationId)));
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;
@@ -923,7 +923,7 @@ export const TraysApiAxiosParamCreator = function (configuration) {
923
923
  // verify required parameter 'trayId' is not null or undefined
924
924
  assertParamExists('deleteTray', 'trayId', trayId);
925
925
  const localVarPath = `/v1/warehouse/prefab-applications/trays/{trayId}`
926
- .replace(`{${"trayId"}}`, encodeURIComponent(String(trayId)));
926
+ .replace('{trayId}', encodeURIComponent(String(trayId)));
927
927
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
928
928
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
929
929
  let baseOptions;
@@ -964,7 +964,7 @@ export const TraysApiAxiosParamCreator = function (configuration) {
964
964
  // verify required parameter 'trayId' is not null or undefined
965
965
  assertParamExists('getTray', 'trayId', trayId);
966
966
  const localVarPath = `/v1/warehouse/prefab-applications/trays/{trayId}`
967
- .replace(`{${"trayId"}}`, encodeURIComponent(String(trayId)));
967
+ .replace('{trayId}', encodeURIComponent(String(trayId)));
968
968
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
969
969
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
970
970
  let baseOptions;
@@ -1007,7 +1007,7 @@ export const TraysApiAxiosParamCreator = function (configuration) {
1007
1007
  // verify required parameter 'trayId' is not null or undefined
1008
1008
  assertParamExists('listTrayPrefabApplications', 'trayId', trayId);
1009
1009
  const localVarPath = `/v1/warehouse/prefab-applications/trays/{trayId}/prefab-applications`
1010
- .replace(`{${"trayId"}}`, encodeURIComponent(String(trayId)));
1010
+ .replace('{trayId}', encodeURIComponent(String(trayId)));
1011
1011
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1012
1012
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1013
1013
  let baseOptions;
@@ -1106,7 +1106,7 @@ export const TraysApiAxiosParamCreator = function (configuration) {
1106
1106
  // verify required parameter 'deviceRef' is not null or undefined
1107
1107
  assertParamExists('printTrayLabel', 'deviceRef', deviceRef);
1108
1108
  const localVarPath = `/v1/warehouse/prefab-applications/trays/{trayId}/print`
1109
- .replace(`{${"trayId"}}`, encodeURIComponent(String(trayId)));
1109
+ .replace('{trayId}', encodeURIComponent(String(trayId)));
1110
1110
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1111
1111
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1112
1112
  let baseOptions;
@@ -1257,7 +1257,7 @@ export const TraysApiAxiosParamCreator = function (configuration) {
1257
1257
  // verify required parameter 'updateTrayRequest' is not null or undefined
1258
1258
  assertParamExists('updateTray', 'updateTrayRequest', updateTrayRequest);
1259
1259
  const localVarPath = `/v1/warehouse/prefab-applications/trays/{trayId}`
1260
- .replace(`{${"trayId"}}`, encodeURIComponent(String(trayId)));
1260
+ .replace('{trayId}', encodeURIComponent(String(trayId)));
1261
1261
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1262
1262
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1263
1263
  let baseOptions;
@@ -2,7 +2,7 @@
2
2
  * Warehouse Prefab Applications
3
3
  * Manage PodOS Warehouse Prefab Applications
4
4
  *
5
- * The version of the OpenAPI document: 0.14.1
5
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
5
5
  * Manage PodOS Warehouse Prefab Applications
6
6
  *
7
- * The version of the OpenAPI document: 0.14.1
7
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
3
3
  * Manage PodOS Warehouse Prefab Applications
4
4
  *
5
- * The version of the OpenAPI document: 0.14.1
5
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
5
5
  * Manage PodOS Warehouse Prefab Applications
6
6
  *
7
- * The version of the OpenAPI document: 0.14.1
7
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
3
3
  * Manage PodOS Warehouse Prefab Applications
4
4
  *
5
- * The version of the OpenAPI document: 0.14.1
5
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
4
4
  * Manage PodOS Warehouse Prefab Applications
5
5
  *
6
- * The version of the OpenAPI document: 0.14.1
6
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
3
3
  * Manage PodOS Warehouse Prefab Applications
4
4
  *
5
- * The version of the OpenAPI document: 0.14.1
5
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
5
5
  * Manage PodOS Warehouse Prefab Applications
6
6
  *
7
- * The version of the OpenAPI document: 0.14.1
7
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
3
3
  * Manage PodOS Warehouse Prefab Applications
4
4
  *
5
- * The version of the OpenAPI document: 0.14.1
5
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
6
6
  * Manage PodOS Warehouse Prefab Applications
7
7
  *
8
- * The version of the OpenAPI document: 0.14.1
8
+ * The version of the OpenAPI document: 0.14.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
  * Warehouse Prefab Applications
5
5
  * Manage PodOS Warehouse Prefab Applications
6
6
  *
7
- * The version of the OpenAPI document: 0.14.1
7
+ * The version of the OpenAPI document: 0.14.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/warehouse-prefab-applications",
3
- "version": "0.14.1",
3
+ "version": "0.14.4",
4
4
  "description": "OpenAPI client for @teemill/warehouse-prefab-applications",
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.13.5"
27
+ "axios": "^1.16.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "12.11.5 - 12.20.42",