@teemill/warehouse-prefab-applications 0.14.4 → 0.14.7
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/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/api.ts +19 -3
- package/base.ts +1 -1
- package/common.ts +16 -4
- package/configuration.ts +1 -1
- package/dist/api.d.ts +19 -3
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +6 -1
- package/dist/common.js +16 -5
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +19 -3
- package/dist/esm/api.js +1 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +6 -1
- package/dist/esm/common.js +14 -4
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/Batch.md +5 -1
- package/docs/Tray.md +1 -1
- package/docs/TrayContentsCatalogApplication.md +4 -0
- package/index.ts +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.23.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/warehouse-prefab-applications@0.14.
|
|
1
|
+
## @teemill/warehouse-prefab-applications@0.14.7
|
|
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.
|
|
39
|
+
npm install @teemill/warehouse-prefab-applications@0.14.7 --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.
|
|
7
|
+
* The version of the OpenAPI document: 0.14.7
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -55,7 +55,15 @@ export interface Batch {
|
|
|
55
55
|
/**
|
|
56
56
|
* Number of applications in a tray
|
|
57
57
|
*/
|
|
58
|
-
'inTray'
|
|
58
|
+
'inTray': number;
|
|
59
|
+
/**
|
|
60
|
+
* Number of applications with a print file, not yet in a tray
|
|
61
|
+
*/
|
|
62
|
+
'ready': number;
|
|
63
|
+
/**
|
|
64
|
+
* Number of applications scanned out of a tray and not yet done
|
|
65
|
+
*/
|
|
66
|
+
'released': number;
|
|
59
67
|
/**
|
|
60
68
|
* A reference to the resource location
|
|
61
69
|
*/
|
|
@@ -196,7 +204,7 @@ export interface Tray {
|
|
|
196
204
|
*/
|
|
197
205
|
'label': string;
|
|
198
206
|
/**
|
|
199
|
-
* The status of the tray
|
|
207
|
+
* The status of the tray. `issue` when transfers are terminated (finished item, replacement label, completed/refunded order) or the linked catalog application is outdated.
|
|
200
208
|
*/
|
|
201
209
|
'status': TrayStatusEnum;
|
|
202
210
|
/**
|
|
@@ -245,6 +253,14 @@ export interface TrayContentsCatalogApplication {
|
|
|
245
253
|
* Display name of the catalog application when the tray contains a single application type
|
|
246
254
|
*/
|
|
247
255
|
'name'?: string | null;
|
|
256
|
+
/**
|
|
257
|
+
* Placement of the catalog application
|
|
258
|
+
*/
|
|
259
|
+
'placement'?: string | null;
|
|
260
|
+
/**
|
|
261
|
+
* True when this catalog definition is no longer current (e.g. product or application set has been edited).
|
|
262
|
+
*/
|
|
263
|
+
'outdated'?: boolean;
|
|
248
264
|
}
|
|
249
265
|
export interface UpdatePrefabApplicationRequest {
|
|
250
266
|
/**
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 0.14.7
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 0.14.7
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -86,7 +86,7 @@ export const setOAuthToObject = async function (object: any, name: string, scope
|
|
|
86
86
|
function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = ""): void {
|
|
87
87
|
if (parameter == null) return;
|
|
88
88
|
if (typeof parameter === "object") {
|
|
89
|
-
if (Array.isArray(parameter)) {
|
|
89
|
+
if (Array.isArray(parameter) || parameter instanceof Set) {
|
|
90
90
|
(parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key !== '' ? `${key}[]` : key));
|
|
91
91
|
}
|
|
92
92
|
else {
|
|
@@ -112,7 +112,19 @@ function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: an
|
|
|
112
112
|
export const setSearchParams = function (url: URL, ...objects: any[]) {
|
|
113
113
|
const searchParams = new URLSearchParams(url.search);
|
|
114
114
|
setFlattenedQueryParams(searchParams, objects);
|
|
115
|
-
url.search =
|
|
115
|
+
url.search = searchParams.toString();
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* JSON.stringify replacer used by generated API code (e.g. serializes Set as Array).
|
|
120
|
+
* @export
|
|
121
|
+
*/
|
|
122
|
+
export const replaceWithSerializableTypeIfNeeded = function (_key: string, value: unknown) {
|
|
123
|
+
if (value instanceof Set) {
|
|
124
|
+
return Array.from(value);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
return value;
|
|
116
128
|
}
|
|
117
129
|
|
|
118
130
|
/**
|
|
@@ -125,7 +137,7 @@ export const serializeDataIfNeeded = function (value: any, requestOptions: any,
|
|
|
125
137
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
126
138
|
: nonString;
|
|
127
139
|
return needsSerialization
|
|
128
|
-
? JSON.stringify(value !== undefined ? value : {})
|
|
140
|
+
? JSON.stringify(value !== undefined ? value : {}, replaceWithSerializableTypeIfNeeded)
|
|
129
141
|
: (value || "");
|
|
130
142
|
}
|
|
131
143
|
|
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.
|
|
6
|
+
* The version of the OpenAPI document: 0.14.7
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.14.7
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -45,7 +45,15 @@ export interface Batch {
|
|
|
45
45
|
/**
|
|
46
46
|
* Number of applications in a tray
|
|
47
47
|
*/
|
|
48
|
-
'inTray'
|
|
48
|
+
'inTray': number;
|
|
49
|
+
/**
|
|
50
|
+
* Number of applications with a print file, not yet in a tray
|
|
51
|
+
*/
|
|
52
|
+
'ready': number;
|
|
53
|
+
/**
|
|
54
|
+
* Number of applications scanned out of a tray and not yet done
|
|
55
|
+
*/
|
|
56
|
+
'released': number;
|
|
49
57
|
/**
|
|
50
58
|
* A reference to the resource location
|
|
51
59
|
*/
|
|
@@ -180,7 +188,7 @@ export interface Tray {
|
|
|
180
188
|
*/
|
|
181
189
|
'label': string;
|
|
182
190
|
/**
|
|
183
|
-
* The status of the tray
|
|
191
|
+
* The status of the tray. `issue` when transfers are terminated (finished item, replacement label, completed/refunded order) or the linked catalog application is outdated.
|
|
184
192
|
*/
|
|
185
193
|
'status': TrayStatusEnum;
|
|
186
194
|
/**
|
|
@@ -226,6 +234,14 @@ export interface TrayContentsCatalogApplication {
|
|
|
226
234
|
* Display name of the catalog application when the tray contains a single application type
|
|
227
235
|
*/
|
|
228
236
|
'name'?: string | null;
|
|
237
|
+
/**
|
|
238
|
+
* Placement of the catalog application
|
|
239
|
+
*/
|
|
240
|
+
'placement'?: string | null;
|
|
241
|
+
/**
|
|
242
|
+
* True when this catalog definition is no longer current (e.g. product or application set has been edited).
|
|
243
|
+
*/
|
|
244
|
+
'outdated'?: boolean;
|
|
229
245
|
}
|
|
230
246
|
export interface UpdatePrefabApplicationRequest {
|
|
231
247
|
/**
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 0.14.7
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.14.7
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 0.14.7
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.14.7
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -48,6 +48,11 @@ export declare const setOAuthToObject: (object: any, name: string, scopes: strin
|
|
|
48
48
|
* @export
|
|
49
49
|
*/
|
|
50
50
|
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
|
+
/**
|
|
52
|
+
* JSON.stringify replacer used by generated API code (e.g. serializes Set as Array).
|
|
53
|
+
* @export
|
|
54
|
+
*/
|
|
55
|
+
export declare const replaceWithSerializableTypeIfNeeded: (_key: string, value: unknown) => unknown;
|
|
51
56
|
/**
|
|
52
57
|
*
|
|
53
58
|
* @export
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 0.14.7
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
25
|
+
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.replaceWithSerializableTypeIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
26
26
|
const base_1 = require("./base");
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
@@ -99,7 +99,7 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
|
99
99
|
if (parameter == null)
|
|
100
100
|
return;
|
|
101
101
|
if (typeof parameter === "object") {
|
|
102
|
-
if (Array.isArray(parameter)) {
|
|
102
|
+
if (Array.isArray(parameter) || parameter instanceof Set) {
|
|
103
103
|
parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key !== '' ? `${key}[]` : key));
|
|
104
104
|
}
|
|
105
105
|
else {
|
|
@@ -122,9 +122,20 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
|
122
122
|
const setSearchParams = function (url, ...objects) {
|
|
123
123
|
const searchParams = new URLSearchParams(url.search);
|
|
124
124
|
setFlattenedQueryParams(searchParams, objects);
|
|
125
|
-
url.search =
|
|
125
|
+
url.search = searchParams.toString();
|
|
126
126
|
};
|
|
127
127
|
exports.setSearchParams = setSearchParams;
|
|
128
|
+
/**
|
|
129
|
+
* JSON.stringify replacer used by generated API code (e.g. serializes Set as Array).
|
|
130
|
+
* @export
|
|
131
|
+
*/
|
|
132
|
+
const replaceWithSerializableTypeIfNeeded = function (_key, value) {
|
|
133
|
+
if (value instanceof Set) {
|
|
134
|
+
return Array.from(value);
|
|
135
|
+
}
|
|
136
|
+
return value;
|
|
137
|
+
};
|
|
138
|
+
exports.replaceWithSerializableTypeIfNeeded = replaceWithSerializableTypeIfNeeded;
|
|
128
139
|
/**
|
|
129
140
|
*
|
|
130
141
|
* @export
|
|
@@ -135,7 +146,7 @@ const serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
|
135
146
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
136
147
|
: nonString;
|
|
137
148
|
return needsSerialization
|
|
138
|
-
? JSON.stringify(value !== undefined ? value : {})
|
|
149
|
+
? JSON.stringify(value !== undefined ? value : {}, exports.replaceWithSerializableTypeIfNeeded)
|
|
139
150
|
: (value || "");
|
|
140
151
|
};
|
|
141
152
|
exports.serializeDataIfNeeded = serializeDataIfNeeded;
|
package/dist/configuration.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.
|
|
5
|
+
* The version of the OpenAPI document: 0.14.7
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.14.7
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.14.7
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -45,7 +45,15 @@ export interface Batch {
|
|
|
45
45
|
/**
|
|
46
46
|
* Number of applications in a tray
|
|
47
47
|
*/
|
|
48
|
-
'inTray'
|
|
48
|
+
'inTray': number;
|
|
49
|
+
/**
|
|
50
|
+
* Number of applications with a print file, not yet in a tray
|
|
51
|
+
*/
|
|
52
|
+
'ready': number;
|
|
53
|
+
/**
|
|
54
|
+
* Number of applications scanned out of a tray and not yet done
|
|
55
|
+
*/
|
|
56
|
+
'released': number;
|
|
49
57
|
/**
|
|
50
58
|
* A reference to the resource location
|
|
51
59
|
*/
|
|
@@ -180,7 +188,7 @@ export interface Tray {
|
|
|
180
188
|
*/
|
|
181
189
|
'label': string;
|
|
182
190
|
/**
|
|
183
|
-
* The status of the tray
|
|
191
|
+
* The status of the tray. `issue` when transfers are terminated (finished item, replacement label, completed/refunded order) or the linked catalog application is outdated.
|
|
184
192
|
*/
|
|
185
193
|
'status': TrayStatusEnum;
|
|
186
194
|
/**
|
|
@@ -226,6 +234,14 @@ export interface TrayContentsCatalogApplication {
|
|
|
226
234
|
* Display name of the catalog application when the tray contains a single application type
|
|
227
235
|
*/
|
|
228
236
|
'name'?: string | null;
|
|
237
|
+
/**
|
|
238
|
+
* Placement of the catalog application
|
|
239
|
+
*/
|
|
240
|
+
'placement'?: string | null;
|
|
241
|
+
/**
|
|
242
|
+
* True when this catalog definition is no longer current (e.g. product or application set has been edited).
|
|
243
|
+
*/
|
|
244
|
+
'outdated'?: boolean;
|
|
229
245
|
}
|
|
230
246
|
export interface UpdatePrefabApplicationRequest {
|
|
231
247
|
/**
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 0.14.7
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/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.
|
|
5
|
+
* The version of the OpenAPI document: 0.14.7
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 0.14.7
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/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.
|
|
5
|
+
* The version of the OpenAPI document: 0.14.7
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -48,6 +48,11 @@ export declare const setOAuthToObject: (object: any, name: string, scopes: strin
|
|
|
48
48
|
* @export
|
|
49
49
|
*/
|
|
50
50
|
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
|
+
/**
|
|
52
|
+
* JSON.stringify replacer used by generated API code (e.g. serializes Set as Array).
|
|
53
|
+
* @export
|
|
54
|
+
*/
|
|
55
|
+
export declare const replaceWithSerializableTypeIfNeeded: (_key: string, value: unknown) => unknown;
|
|
51
56
|
/**
|
|
52
57
|
*
|
|
53
58
|
* @export
|
package/dist/esm/common.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.14.7
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -91,7 +91,7 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
|
91
91
|
if (parameter == null)
|
|
92
92
|
return;
|
|
93
93
|
if (typeof parameter === "object") {
|
|
94
|
-
if (Array.isArray(parameter)) {
|
|
94
|
+
if (Array.isArray(parameter) || parameter instanceof Set) {
|
|
95
95
|
parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key !== '' ? `${key}[]` : key));
|
|
96
96
|
}
|
|
97
97
|
else {
|
|
@@ -114,7 +114,17 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
|
114
114
|
export const setSearchParams = function (url, ...objects) {
|
|
115
115
|
const searchParams = new URLSearchParams(url.search);
|
|
116
116
|
setFlattenedQueryParams(searchParams, objects);
|
|
117
|
-
url.search =
|
|
117
|
+
url.search = searchParams.toString();
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* JSON.stringify replacer used by generated API code (e.g. serializes Set as Array).
|
|
121
|
+
* @export
|
|
122
|
+
*/
|
|
123
|
+
export const replaceWithSerializableTypeIfNeeded = function (_key, value) {
|
|
124
|
+
if (value instanceof Set) {
|
|
125
|
+
return Array.from(value);
|
|
126
|
+
}
|
|
127
|
+
return value;
|
|
118
128
|
};
|
|
119
129
|
/**
|
|
120
130
|
*
|
|
@@ -126,7 +136,7 @@ export const serializeDataIfNeeded = function (value, requestOptions, configurat
|
|
|
126
136
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
127
137
|
: nonString;
|
|
128
138
|
return needsSerialization
|
|
129
|
-
? JSON.stringify(value !== undefined ? value : {})
|
|
139
|
+
? JSON.stringify(value !== undefined ? value : {}, replaceWithSerializableTypeIfNeeded)
|
|
130
140
|
: (value || "");
|
|
131
141
|
};
|
|
132
142
|
/**
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 0.14.7
|
|
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.
|
|
6
|
+
* The version of the OpenAPI document: 0.14.7
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/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.
|
|
5
|
+
* The version of the OpenAPI document: 0.14.7
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 0.14.7
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.14.7
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 0.14.7
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/Batch.md
CHANGED
|
@@ -11,7 +11,9 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**status** | **string** | The status of the batch. Values: - processing: Print files are being generated for the batch. - ready: All print files are ready; the batch can be sent to the printer. - printed: The batch has been sent to the printer; sheets are being cut and organised into trays. - complete: All applications in the batch are processed (warehouse application finished, or order complete/refunded). - failed: The batch or print job failed. | [readonly] [default to undefined]
|
|
12
12
|
**size** | **number** | Number of applications in the batch | [readonly] [default to undefined]
|
|
13
13
|
**processed** | **number** | Number of applications processed | [readonly] [default to undefined]
|
|
14
|
-
**inTray** | **number** | Number of applications in a tray | [
|
|
14
|
+
**inTray** | **number** | Number of applications in a tray | [readonly] [default to undefined]
|
|
15
|
+
**ready** | **number** | Number of applications with a print file, not yet in a tray | [readonly] [default to undefined]
|
|
16
|
+
**released** | **number** | Number of applications scanned out of a tray and not yet done | [readonly] [default to undefined]
|
|
15
17
|
**userRef** | **string** | A reference to the resource location | [default to undefined]
|
|
16
18
|
**deviceRef** | **string** | A reference to the resource location | [default to undefined]
|
|
17
19
|
**technologyRef** | **string** | A reference to the resource location | [default to undefined]
|
|
@@ -30,6 +32,8 @@ const instance: Batch = {
|
|
|
30
32
|
size,
|
|
31
33
|
processed,
|
|
32
34
|
inTray,
|
|
35
|
+
ready,
|
|
36
|
+
released,
|
|
33
37
|
userRef,
|
|
34
38
|
deviceRef,
|
|
35
39
|
technologyRef,
|
package/docs/Tray.md
CHANGED
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**id** | **string** | Unique object identifier | [default to undefined]
|
|
9
9
|
**ref** | **string** | A reference to the resource location | [readonly] [default to undefined]
|
|
10
10
|
**label** | **string** | Tray label | [default to undefined]
|
|
11
|
-
**status** | **string** | The status of the tray | [default to undefined]
|
|
11
|
+
**status** | **string** | The status of the tray. `issue` when transfers are terminated (finished item, replacement label, completed/refunded order) or the linked catalog application is outdated. | [default to undefined]
|
|
12
12
|
**fillLevel** | **number** | Total number of prefab applications in the tray | [readonly] [default to undefined]
|
|
13
13
|
**unassignedCount** | **number** | Number of prefab applications in the tray that are not assigned to a warehouse application | [readonly] [default to undefined]
|
|
14
14
|
**contents** | [**TrayContents**](TrayContents.md) | | [default to undefined]
|
|
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**ref** | **string** | A reference to the resource location | [optional] [readonly] [default to undefined]
|
|
10
10
|
**design** | **string** | Design file URL | [optional] [readonly] [default to undefined]
|
|
11
11
|
**name** | **string** | Display name of the catalog application when the tray contains a single application type | [optional] [readonly] [default to undefined]
|
|
12
|
+
**placement** | **string** | Placement of the catalog application | [optional] [readonly] [default to undefined]
|
|
13
|
+
**outdated** | **boolean** | True when this catalog definition is no longer current (e.g. product or application set has been edited). | [optional] [readonly] [default to undefined]
|
|
12
14
|
|
|
13
15
|
## Example
|
|
14
16
|
|
|
@@ -20,6 +22,8 @@ const instance: TrayContentsCatalogApplication = {
|
|
|
20
22
|
ref,
|
|
21
23
|
design,
|
|
22
24
|
name,
|
|
25
|
+
placement,
|
|
26
|
+
outdated,
|
|
23
27
|
};
|
|
24
28
|
```
|
|
25
29
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 0.14.7
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/package.json
CHANGED