@teemill/pickfaces 0.9.1 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/PickfacesApi.d.ts +33 -2
- package/dist/apis/PickfacesApi.js +144 -1
- package/dist/models/ApiError.d.ts +1 -1
- package/dist/models/ApiError.js +10 -14
- package/dist/models/CreatePickfaceRequest.d.ts +1 -1
- package/dist/models/CreatePickfaceRequest.js +9 -14
- package/dist/models/CreatePickfaceRequestDimensions.d.ts +1 -1
- package/dist/models/CreatePickfaceRequestDimensions.js +11 -16
- package/dist/models/GetPickfaces200Response.d.ts +1 -1
- package/dist/models/GetPickfaces200Response.js +9 -14
- package/dist/models/ListPickfaceLogs200Response.d.ts +38 -0
- package/dist/models/ListPickfaceLogs200Response.js +48 -0
- package/dist/models/MoveStockRequest.d.ts +1 -1
- package/dist/models/MoveStockRequest.js +14 -15
- package/dist/models/Pickface.d.ts +1 -1
- package/dist/models/Pickface.js +23 -28
- package/dist/models/PickfaceContentsInner.d.ts +3 -3
- package/dist/models/PickfaceContentsInner.js +15 -20
- package/dist/models/PickfaceContentsInnerApplicationsInner.d.ts +1 -1
- package/dist/models/PickfaceContentsInnerApplicationsInner.js +9 -14
- package/dist/models/PickfaceContentsInnerMetadata.d.ts +4 -4
- package/dist/models/PickfaceContentsInnerMetadata.js +11 -16
- package/dist/models/PickfaceContentsInnerQuantity.d.ts +1 -1
- package/dist/models/PickfaceContentsInnerQuantity.js +11 -16
- package/dist/models/PickfaceLastPicked.d.ts +16 -5
- package/dist/models/PickfaceLastPicked.js +15 -17
- package/dist/models/PickfaceLastRestocked.d.ts +16 -5
- package/dist/models/PickfaceLastRestocked.js +15 -17
- package/dist/models/PickfaceLog.d.ts +16 -5
- package/dist/models/PickfaceLog.js +15 -17
- package/dist/models/UpdatePickfaceRequest.d.ts +2 -2
- package/dist/models/UpdatePickfaceRequest.js +9 -14
- package/dist/models/UpdatePickfaceRequestContents.d.ts +1 -1
- package/dist/models/UpdatePickfaceRequestContents.js +9 -14
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/PickfacesApi.ts +149 -1
- package/src/models/ApiError.ts +10 -15
- package/src/models/CreatePickfaceRequest.ts +10 -15
- package/src/models/CreatePickfaceRequestDimensions.ts +12 -17
- package/src/models/GetPickfaces200Response.ts +10 -15
- package/src/models/ListPickfaceLogs200Response.ts +75 -0
- package/src/models/MoveStockRequest.ts +12 -17
- package/src/models/Pickface.ts +24 -29
- package/src/models/PickfaceContentsInner.ts +18 -23
- package/src/models/PickfaceContentsInnerApplicationsInner.ts +10 -15
- package/src/models/PickfaceContentsInnerMetadata.ts +15 -20
- package/src/models/PickfaceContentsInnerQuantity.ts +12 -17
- package/src/models/PickfaceLastPicked.ts +31 -27
- package/src/models/PickfaceLastRestocked.ts +31 -27
- package/src/models/PickfaceLog.ts +31 -27
- package/src/models/UpdatePickfaceRequest.ts +11 -16
- package/src/models/UpdatePickfaceRequestContents.ts +10 -15
- package/src/models/index.ts +1 -1
- package/src/runtime.ts +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces API
|
|
6
6
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.10.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,11 +18,13 @@ exports.MoveStockRequestToJSON = exports.MoveStockRequestFromJSONTyped = exports
|
|
|
18
18
|
* Check if a given object implements the MoveStockRequest interface.
|
|
19
19
|
*/
|
|
20
20
|
function instanceOfMoveStockRequest(value) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
if (!('variantRef' in value))
|
|
22
|
+
return false;
|
|
23
|
+
if (!('quantity' in value))
|
|
24
|
+
return false;
|
|
25
|
+
if (!('toPickfaceRef' in value))
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
26
28
|
}
|
|
27
29
|
exports.instanceOfMoveStockRequest = instanceOfMoveStockRequest;
|
|
28
30
|
function MoveStockRequestFromJSON(json) {
|
|
@@ -30,7 +32,7 @@ function MoveStockRequestFromJSON(json) {
|
|
|
30
32
|
}
|
|
31
33
|
exports.MoveStockRequestFromJSON = MoveStockRequestFromJSON;
|
|
32
34
|
function MoveStockRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (
|
|
35
|
+
if (json == null) {
|
|
34
36
|
return json;
|
|
35
37
|
}
|
|
36
38
|
return {
|
|
@@ -41,16 +43,13 @@ function MoveStockRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
43
|
}
|
|
42
44
|
exports.MoveStockRequestFromJSONTyped = MoveStockRequestFromJSONTyped;
|
|
43
45
|
function MoveStockRequestToJSON(value) {
|
|
44
|
-
if (value
|
|
45
|
-
return
|
|
46
|
-
}
|
|
47
|
-
if (value === null) {
|
|
48
|
-
return null;
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
49
48
|
}
|
|
50
49
|
return {
|
|
51
|
-
'variantRef': value
|
|
52
|
-
'quantity': value
|
|
53
|
-
'toPickfaceRef': value
|
|
50
|
+
'variantRef': value['variantRef'],
|
|
51
|
+
'quantity': value['quantity'],
|
|
52
|
+
'toPickfaceRef': value['toPickfaceRef'],
|
|
54
53
|
};
|
|
55
54
|
}
|
|
56
55
|
exports.MoveStockRequestToJSON = MoveStockRequestToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.10.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/Pickface.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces API
|
|
6
6
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.10.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.PickfaceToJSON = exports.PickfaceFromJSONTyped = exports.PickfaceFromJSON = exports.instanceOfPickface = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
var CreatePickfaceRequestDimensions_1 = require("./CreatePickfaceRequestDimensions");
|
|
19
18
|
var PickfaceContentsInner_1 = require("./PickfaceContentsInner");
|
|
20
19
|
var PickfaceLastPicked_1 = require("./PickfaceLastPicked");
|
|
@@ -23,8 +22,7 @@ var PickfaceLastRestocked_1 = require("./PickfaceLastRestocked");
|
|
|
23
22
|
* Check if a given object implements the Pickface interface.
|
|
24
23
|
*/
|
|
25
24
|
function instanceOfPickface(value) {
|
|
26
|
-
|
|
27
|
-
return isInstance;
|
|
25
|
+
return true;
|
|
28
26
|
}
|
|
29
27
|
exports.instanceOfPickface = instanceOfPickface;
|
|
30
28
|
function PickfaceFromJSON(json) {
|
|
@@ -32,39 +30,36 @@ function PickfaceFromJSON(json) {
|
|
|
32
30
|
}
|
|
33
31
|
exports.PickfaceFromJSON = PickfaceFromJSON;
|
|
34
32
|
function PickfaceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (
|
|
33
|
+
if (json == null) {
|
|
36
34
|
return json;
|
|
37
35
|
}
|
|
38
36
|
return {
|
|
39
|
-
'id':
|
|
40
|
-
'ref':
|
|
41
|
-
'code':
|
|
42
|
-
'enabled':
|
|
43
|
-
'dimensions':
|
|
44
|
-
'fullness':
|
|
45
|
-
'lastPicked':
|
|
46
|
-
'lastRestocked':
|
|
47
|
-
'contents':
|
|
37
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
38
|
+
'ref': json['ref'] == null ? undefined : json['ref'],
|
|
39
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
40
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
41
|
+
'dimensions': json['dimensions'] == null ? undefined : (0, CreatePickfaceRequestDimensions_1.CreatePickfaceRequestDimensionsFromJSON)(json['dimensions']),
|
|
42
|
+
'fullness': json['fullness'] == null ? undefined : json['fullness'],
|
|
43
|
+
'lastPicked': json['lastPicked'] == null ? undefined : (0, PickfaceLastPicked_1.PickfaceLastPickedFromJSON)(json['lastPicked']),
|
|
44
|
+
'lastRestocked': json['lastRestocked'] == null ? undefined : (0, PickfaceLastRestocked_1.PickfaceLastRestockedFromJSON)(json['lastRestocked']),
|
|
45
|
+
'contents': json['contents'] == null ? undefined : (json['contents'].map(PickfaceContentsInner_1.PickfaceContentsInnerFromJSON)),
|
|
48
46
|
};
|
|
49
47
|
}
|
|
50
48
|
exports.PickfaceFromJSONTyped = PickfaceFromJSONTyped;
|
|
51
49
|
function PickfaceToJSON(value) {
|
|
52
|
-
if (value
|
|
53
|
-
return
|
|
54
|
-
}
|
|
55
|
-
if (value === null) {
|
|
56
|
-
return null;
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
57
52
|
}
|
|
58
53
|
return {
|
|
59
|
-
'id': value
|
|
60
|
-
'ref': value
|
|
61
|
-
'code': value
|
|
62
|
-
'enabled': value
|
|
63
|
-
'dimensions': (0, CreatePickfaceRequestDimensions_1.CreatePickfaceRequestDimensionsToJSON)(value
|
|
64
|
-
'fullness': value
|
|
65
|
-
'lastPicked': (0, PickfaceLastPicked_1.PickfaceLastPickedToJSON)(value
|
|
66
|
-
'lastRestocked': (0, PickfaceLastRestocked_1.PickfaceLastRestockedToJSON)(value
|
|
67
|
-
'contents': value
|
|
54
|
+
'id': value['id'],
|
|
55
|
+
'ref': value['ref'],
|
|
56
|
+
'code': value['code'],
|
|
57
|
+
'enabled': value['enabled'],
|
|
58
|
+
'dimensions': (0, CreatePickfaceRequestDimensions_1.CreatePickfaceRequestDimensionsToJSON)(value['dimensions']),
|
|
59
|
+
'fullness': value['fullness'],
|
|
60
|
+
'lastPicked': (0, PickfaceLastPicked_1.PickfaceLastPickedToJSON)(value['lastPicked']),
|
|
61
|
+
'lastRestocked': (0, PickfaceLastRestocked_1.PickfaceLastRestockedToJSON)(value['lastRestocked']),
|
|
62
|
+
'contents': value['contents'] == null ? undefined : (value['contents'].map(PickfaceContentsInner_1.PickfaceContentsInnerToJSON)),
|
|
68
63
|
};
|
|
69
64
|
}
|
|
70
65
|
exports.PickfaceToJSON = PickfaceToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.10.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,7 +29,7 @@ export interface PickfaceContentsInner {
|
|
|
29
29
|
* @type {string}
|
|
30
30
|
* @memberof PickfaceContentsInner
|
|
31
31
|
*/
|
|
32
|
-
ownerProjectId?: string
|
|
32
|
+
ownerProjectId?: string;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @type {PickfaceContentsInnerQuantity}
|
|
@@ -47,7 +47,7 @@ export interface PickfaceContentsInner {
|
|
|
47
47
|
* @type {PickfaceContentsInnerMetadata}
|
|
48
48
|
* @memberof PickfaceContentsInner
|
|
49
49
|
*/
|
|
50
|
-
metadata?: PickfaceContentsInnerMetadata
|
|
50
|
+
metadata?: PickfaceContentsInnerMetadata;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* Check if a given object implements the PickfaceContentsInner interface.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces API
|
|
6
6
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.10.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.PickfaceContentsInnerToJSON = exports.PickfaceContentsInnerFromJSONTyped = exports.PickfaceContentsInnerFromJSON = exports.instanceOfPickfaceContentsInner = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
var PickfaceContentsInnerApplicationsInner_1 = require("./PickfaceContentsInnerApplicationsInner");
|
|
19
18
|
var PickfaceContentsInnerMetadata_1 = require("./PickfaceContentsInnerMetadata");
|
|
20
19
|
var PickfaceContentsInnerQuantity_1 = require("./PickfaceContentsInnerQuantity");
|
|
@@ -22,8 +21,7 @@ var PickfaceContentsInnerQuantity_1 = require("./PickfaceContentsInnerQuantity")
|
|
|
22
21
|
* Check if a given object implements the PickfaceContentsInner interface.
|
|
23
22
|
*/
|
|
24
23
|
function instanceOfPickfaceContentsInner(value) {
|
|
25
|
-
|
|
26
|
-
return isInstance;
|
|
24
|
+
return true;
|
|
27
25
|
}
|
|
28
26
|
exports.instanceOfPickfaceContentsInner = instanceOfPickfaceContentsInner;
|
|
29
27
|
function PickfaceContentsInnerFromJSON(json) {
|
|
@@ -31,31 +29,28 @@ function PickfaceContentsInnerFromJSON(json) {
|
|
|
31
29
|
}
|
|
32
30
|
exports.PickfaceContentsInnerFromJSON = PickfaceContentsInnerFromJSON;
|
|
33
31
|
function PickfaceContentsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (
|
|
32
|
+
if (json == null) {
|
|
35
33
|
return json;
|
|
36
34
|
}
|
|
37
35
|
return {
|
|
38
|
-
'variantRef':
|
|
39
|
-
'ownerProjectId':
|
|
40
|
-
'quantity':
|
|
41
|
-
'applications':
|
|
42
|
-
'metadata':
|
|
36
|
+
'variantRef': json['variantRef'] == null ? undefined : json['variantRef'],
|
|
37
|
+
'ownerProjectId': json['ownerProjectId'] == null ? undefined : json['ownerProjectId'],
|
|
38
|
+
'quantity': json['quantity'] == null ? undefined : (0, PickfaceContentsInnerQuantity_1.PickfaceContentsInnerQuantityFromJSON)(json['quantity']),
|
|
39
|
+
'applications': json['applications'] == null ? undefined : (json['applications'].map(PickfaceContentsInnerApplicationsInner_1.PickfaceContentsInnerApplicationsInnerFromJSON)),
|
|
40
|
+
'metadata': json['metadata'] == null ? undefined : (0, PickfaceContentsInnerMetadata_1.PickfaceContentsInnerMetadataFromJSON)(json['metadata']),
|
|
43
41
|
};
|
|
44
42
|
}
|
|
45
43
|
exports.PickfaceContentsInnerFromJSONTyped = PickfaceContentsInnerFromJSONTyped;
|
|
46
44
|
function PickfaceContentsInnerToJSON(value) {
|
|
47
|
-
if (value
|
|
48
|
-
return
|
|
49
|
-
}
|
|
50
|
-
if (value === null) {
|
|
51
|
-
return null;
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
52
47
|
}
|
|
53
48
|
return {
|
|
54
|
-
'variantRef': value
|
|
55
|
-
'ownerProjectId': value
|
|
56
|
-
'quantity': (0, PickfaceContentsInnerQuantity_1.PickfaceContentsInnerQuantityToJSON)(value
|
|
57
|
-
'applications': value
|
|
58
|
-
'metadata': (0, PickfaceContentsInnerMetadata_1.PickfaceContentsInnerMetadataToJSON)(value
|
|
49
|
+
'variantRef': value['variantRef'],
|
|
50
|
+
'ownerProjectId': value['ownerProjectId'],
|
|
51
|
+
'quantity': (0, PickfaceContentsInnerQuantity_1.PickfaceContentsInnerQuantityToJSON)(value['quantity']),
|
|
52
|
+
'applications': value['applications'] == null ? undefined : (value['applications'].map(PickfaceContentsInnerApplicationsInner_1.PickfaceContentsInnerApplicationsInnerToJSON)),
|
|
53
|
+
'metadata': (0, PickfaceContentsInnerMetadata_1.PickfaceContentsInnerMetadataToJSON)(value['metadata']),
|
|
59
54
|
};
|
|
60
55
|
}
|
|
61
56
|
exports.PickfaceContentsInnerToJSON = PickfaceContentsInnerToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.10.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces API
|
|
6
6
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.10.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,13 +14,11 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.PickfaceContentsInnerApplicationsInnerToJSON = exports.PickfaceContentsInnerApplicationsInnerFromJSONTyped = exports.PickfaceContentsInnerApplicationsInnerFromJSON = exports.instanceOfPickfaceContentsInnerApplicationsInner = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
/**
|
|
19
18
|
* Check if a given object implements the PickfaceContentsInnerApplicationsInner interface.
|
|
20
19
|
*/
|
|
21
20
|
function instanceOfPickfaceContentsInnerApplicationsInner(value) {
|
|
22
|
-
|
|
23
|
-
return isInstance;
|
|
21
|
+
return true;
|
|
24
22
|
}
|
|
25
23
|
exports.instanceOfPickfaceContentsInnerApplicationsInner = instanceOfPickfaceContentsInnerApplicationsInner;
|
|
26
24
|
function PickfaceContentsInnerApplicationsInnerFromJSON(json) {
|
|
@@ -28,25 +26,22 @@ function PickfaceContentsInnerApplicationsInnerFromJSON(json) {
|
|
|
28
26
|
}
|
|
29
27
|
exports.PickfaceContentsInnerApplicationsInnerFromJSON = PickfaceContentsInnerApplicationsInnerFromJSON;
|
|
30
28
|
function PickfaceContentsInnerApplicationsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (
|
|
29
|
+
if (json == null) {
|
|
32
30
|
return json;
|
|
33
31
|
}
|
|
34
32
|
return {
|
|
35
|
-
'placement':
|
|
36
|
-
'signature':
|
|
33
|
+
'placement': json['placement'] == null ? undefined : json['placement'],
|
|
34
|
+
'signature': json['signature'] == null ? undefined : json['signature'],
|
|
37
35
|
};
|
|
38
36
|
}
|
|
39
37
|
exports.PickfaceContentsInnerApplicationsInnerFromJSONTyped = PickfaceContentsInnerApplicationsInnerFromJSONTyped;
|
|
40
38
|
function PickfaceContentsInnerApplicationsInnerToJSON(value) {
|
|
41
|
-
if (value
|
|
42
|
-
return
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
46
41
|
}
|
|
47
42
|
return {
|
|
48
|
-
'placement': value
|
|
49
|
-
'signature': value
|
|
43
|
+
'placement': value['placement'],
|
|
44
|
+
'signature': value['signature'],
|
|
50
45
|
};
|
|
51
46
|
}
|
|
52
47
|
exports.PickfaceContentsInnerApplicationsInnerToJSON = PickfaceContentsInnerApplicationsInnerToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.10.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,19 +20,19 @@ export interface PickfaceContentsInnerMetadata {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof PickfaceContentsInnerMetadata
|
|
22
22
|
*/
|
|
23
|
-
title?: string
|
|
23
|
+
title?: string;
|
|
24
24
|
/**
|
|
25
25
|
* The image of the front of the product
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof PickfaceContentsInnerMetadata
|
|
28
28
|
*/
|
|
29
|
-
frontImage?: string
|
|
29
|
+
frontImage?: string;
|
|
30
30
|
/**
|
|
31
31
|
* The image of the back of the product
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof PickfaceContentsInnerMetadata
|
|
34
34
|
*/
|
|
35
|
-
backImage?: string
|
|
35
|
+
backImage?: string;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* Check if a given object implements the PickfaceContentsInnerMetadata interface.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces API
|
|
6
6
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.10.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,13 +14,11 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.PickfaceContentsInnerMetadataToJSON = exports.PickfaceContentsInnerMetadataFromJSONTyped = exports.PickfaceContentsInnerMetadataFromJSON = exports.instanceOfPickfaceContentsInnerMetadata = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
/**
|
|
19
18
|
* Check if a given object implements the PickfaceContentsInnerMetadata interface.
|
|
20
19
|
*/
|
|
21
20
|
function instanceOfPickfaceContentsInnerMetadata(value) {
|
|
22
|
-
|
|
23
|
-
return isInstance;
|
|
21
|
+
return true;
|
|
24
22
|
}
|
|
25
23
|
exports.instanceOfPickfaceContentsInnerMetadata = instanceOfPickfaceContentsInnerMetadata;
|
|
26
24
|
function PickfaceContentsInnerMetadataFromJSON(json) {
|
|
@@ -28,27 +26,24 @@ function PickfaceContentsInnerMetadataFromJSON(json) {
|
|
|
28
26
|
}
|
|
29
27
|
exports.PickfaceContentsInnerMetadataFromJSON = PickfaceContentsInnerMetadataFromJSON;
|
|
30
28
|
function PickfaceContentsInnerMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (
|
|
29
|
+
if (json == null) {
|
|
32
30
|
return json;
|
|
33
31
|
}
|
|
34
32
|
return {
|
|
35
|
-
'title':
|
|
36
|
-
'frontImage':
|
|
37
|
-
'backImage':
|
|
33
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
34
|
+
'frontImage': json['frontImage'] == null ? undefined : json['frontImage'],
|
|
35
|
+
'backImage': json['backImage'] == null ? undefined : json['backImage'],
|
|
38
36
|
};
|
|
39
37
|
}
|
|
40
38
|
exports.PickfaceContentsInnerMetadataFromJSONTyped = PickfaceContentsInnerMetadataFromJSONTyped;
|
|
41
39
|
function PickfaceContentsInnerMetadataToJSON(value) {
|
|
42
|
-
if (value
|
|
43
|
-
return
|
|
44
|
-
}
|
|
45
|
-
if (value === null) {
|
|
46
|
-
return null;
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
47
42
|
}
|
|
48
43
|
return {
|
|
49
|
-
'title': value
|
|
50
|
-
'frontImage': value
|
|
51
|
-
'backImage': value
|
|
44
|
+
'title': value['title'],
|
|
45
|
+
'frontImage': value['frontImage'],
|
|
46
|
+
'backImage': value['backImage'],
|
|
52
47
|
};
|
|
53
48
|
}
|
|
54
49
|
exports.PickfaceContentsInnerMetadataToJSON = PickfaceContentsInnerMetadataToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.10.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces API
|
|
6
6
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.10.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,13 +14,11 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.PickfaceContentsInnerQuantityToJSON = exports.PickfaceContentsInnerQuantityFromJSONTyped = exports.PickfaceContentsInnerQuantityFromJSON = exports.instanceOfPickfaceContentsInnerQuantity = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
/**
|
|
19
18
|
* Check if a given object implements the PickfaceContentsInnerQuantity interface.
|
|
20
19
|
*/
|
|
21
20
|
function instanceOfPickfaceContentsInnerQuantity(value) {
|
|
22
|
-
|
|
23
|
-
return isInstance;
|
|
21
|
+
return true;
|
|
24
22
|
}
|
|
25
23
|
exports.instanceOfPickfaceContentsInnerQuantity = instanceOfPickfaceContentsInnerQuantity;
|
|
26
24
|
function PickfaceContentsInnerQuantityFromJSON(json) {
|
|
@@ -28,27 +26,24 @@ function PickfaceContentsInnerQuantityFromJSON(json) {
|
|
|
28
26
|
}
|
|
29
27
|
exports.PickfaceContentsInnerQuantityFromJSON = PickfaceContentsInnerQuantityFromJSON;
|
|
30
28
|
function PickfaceContentsInnerQuantityFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (
|
|
29
|
+
if (json == null) {
|
|
32
30
|
return json;
|
|
33
31
|
}
|
|
34
32
|
return {
|
|
35
|
-
'total':
|
|
36
|
-
'available':
|
|
37
|
-
'reserved':
|
|
33
|
+
'total': json['total'] == null ? undefined : json['total'],
|
|
34
|
+
'available': json['available'] == null ? undefined : json['available'],
|
|
35
|
+
'reserved': json['reserved'] == null ? undefined : json['reserved'],
|
|
38
36
|
};
|
|
39
37
|
}
|
|
40
38
|
exports.PickfaceContentsInnerQuantityFromJSONTyped = PickfaceContentsInnerQuantityFromJSONTyped;
|
|
41
39
|
function PickfaceContentsInnerQuantityToJSON(value) {
|
|
42
|
-
if (value
|
|
43
|
-
return
|
|
44
|
-
}
|
|
45
|
-
if (value === null) {
|
|
46
|
-
return null;
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
47
42
|
}
|
|
48
43
|
return {
|
|
49
|
-
'total': value
|
|
50
|
-
'available': value
|
|
51
|
-
'reserved': value
|
|
44
|
+
'total': value['total'],
|
|
45
|
+
'available': value['available'],
|
|
46
|
+
'reserved': value['reserved'],
|
|
52
47
|
};
|
|
53
48
|
}
|
|
54
49
|
exports.PickfaceContentsInnerQuantityToJSON = PickfaceContentsInnerQuantityToJSON;
|
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.10.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { PickfaceLogUser } from './PickfaceLogUser';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -23,11 +22,23 @@ export interface PickfaceLastPicked {
|
|
|
23
22
|
*/
|
|
24
23
|
id?: string;
|
|
25
24
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {
|
|
25
|
+
* A reference to the resource location
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PickfaceLastPicked
|
|
28
|
+
*/
|
|
29
|
+
userRef?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The action that was taken
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PickfaceLastPicked
|
|
34
|
+
*/
|
|
35
|
+
action?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The reason for the action
|
|
38
|
+
* @type {string}
|
|
28
39
|
* @memberof PickfaceLastPicked
|
|
29
40
|
*/
|
|
30
|
-
|
|
41
|
+
reason?: string;
|
|
31
42
|
/**
|
|
32
43
|
* ISO 8601 Created at timestamp
|
|
33
44
|
* @type {Date}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces API
|
|
6
6
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.10.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,14 +14,11 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.PickfaceLastPickedToJSON = exports.PickfaceLastPickedFromJSONTyped = exports.PickfaceLastPickedFromJSON = exports.instanceOfPickfaceLastPicked = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
var PickfaceLogUser_1 = require("./PickfaceLogUser");
|
|
19
17
|
/**
|
|
20
18
|
* Check if a given object implements the PickfaceLastPicked interface.
|
|
21
19
|
*/
|
|
22
20
|
function instanceOfPickfaceLastPicked(value) {
|
|
23
|
-
|
|
24
|
-
return isInstance;
|
|
21
|
+
return true;
|
|
25
22
|
}
|
|
26
23
|
exports.instanceOfPickfaceLastPicked = instanceOfPickfaceLastPicked;
|
|
27
24
|
function PickfaceLastPickedFromJSON(json) {
|
|
@@ -29,27 +26,28 @@ function PickfaceLastPickedFromJSON(json) {
|
|
|
29
26
|
}
|
|
30
27
|
exports.PickfaceLastPickedFromJSON = PickfaceLastPickedFromJSON;
|
|
31
28
|
function PickfaceLastPickedFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (
|
|
29
|
+
if (json == null) {
|
|
33
30
|
return json;
|
|
34
31
|
}
|
|
35
32
|
return {
|
|
36
|
-
'id':
|
|
37
|
-
'
|
|
38
|
-
'
|
|
33
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
34
|
+
'userRef': json['userRef'] == null ? undefined : json['userRef'],
|
|
35
|
+
'action': json['action'] == null ? undefined : json['action'],
|
|
36
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
37
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
39
38
|
};
|
|
40
39
|
}
|
|
41
40
|
exports.PickfaceLastPickedFromJSONTyped = PickfaceLastPickedFromJSONTyped;
|
|
42
41
|
function PickfaceLastPickedToJSON(value) {
|
|
43
|
-
if (value
|
|
44
|
-
return
|
|
45
|
-
}
|
|
46
|
-
if (value === null) {
|
|
47
|
-
return null;
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
48
44
|
}
|
|
49
45
|
return {
|
|
50
|
-
'id': value
|
|
51
|
-
'
|
|
52
|
-
'
|
|
46
|
+
'id': value['id'],
|
|
47
|
+
'userRef': value['userRef'],
|
|
48
|
+
'action': value['action'],
|
|
49
|
+
'reason': value['reason'],
|
|
50
|
+
'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
|
53
51
|
};
|
|
54
52
|
}
|
|
55
53
|
exports.PickfaceLastPickedToJSON = PickfaceLastPickedToJSON;
|
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.10.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { PickfaceLogUser } from './PickfaceLogUser';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -23,11 +22,23 @@ export interface PickfaceLastRestocked {
|
|
|
23
22
|
*/
|
|
24
23
|
id?: string;
|
|
25
24
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {
|
|
25
|
+
* A reference to the resource location
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PickfaceLastRestocked
|
|
28
|
+
*/
|
|
29
|
+
userRef?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The action that was taken
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PickfaceLastRestocked
|
|
34
|
+
*/
|
|
35
|
+
action?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The reason for the action
|
|
38
|
+
* @type {string}
|
|
28
39
|
* @memberof PickfaceLastRestocked
|
|
29
40
|
*/
|
|
30
|
-
|
|
41
|
+
reason?: string;
|
|
31
42
|
/**
|
|
32
43
|
* ISO 8601 Created at timestamp
|
|
33
44
|
* @type {Date}
|