@teemill/pickfaces 0.6.0 → 0.7.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 +4 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +5 -4
- package/dist/apis/PickfacesApi.d.ts +1 -1
- package/dist/apis/PickfacesApi.js +1 -1
- package/dist/models/CreatePickfaceRequest.d.ts +1 -1
- package/dist/models/CreatePickfaceRequest.js +1 -1
- package/dist/models/CreatePickfaceRequestDimensions.d.ts +1 -1
- package/dist/models/CreatePickfaceRequestDimensions.js +1 -1
- package/dist/models/GetPickfaces200Response.d.ts +1 -1
- package/dist/models/GetPickfaces200Response.js +1 -1
- package/dist/models/ModelError.d.ts +1 -1
- package/dist/models/ModelError.js +1 -1
- package/dist/models/Pickface.d.ts +9 -7
- package/dist/models/Pickface.js +7 -5
- package/dist/models/PickfaceContentsInner.d.ts +1 -1
- package/dist/models/PickfaceContentsInner.js +1 -1
- package/dist/models/PickfaceContentsInnerApplicationsInner.d.ts +1 -1
- package/dist/models/PickfaceContentsInnerApplicationsInner.js +1 -1
- package/dist/models/PickfaceContentsInnerMetadata.d.ts +1 -1
- package/dist/models/PickfaceContentsInnerMetadata.js +1 -1
- package/dist/models/PickfaceContentsInnerQuantity.d.ts +1 -1
- package/dist/models/PickfaceContentsInnerQuantity.js +1 -1
- package/dist/models/PickfaceLastPicked.d.ts +44 -0
- package/dist/models/PickfaceLastPicked.js +55 -0
- package/dist/models/PickfaceLastRestocked.d.ts +44 -0
- package/dist/models/PickfaceLastRestocked.js +55 -0
- package/dist/models/PickfaceLog.d.ts +44 -0
- package/dist/models/PickfaceLog.js +55 -0
- package/dist/models/PickfaceLogUser.d.ts +37 -0
- package/dist/models/PickfaceLogUser.js +52 -0
- package/dist/models/UpdatePickfaceRequest.d.ts +1 -1
- package/dist/models/UpdatePickfaceRequest.js +1 -1
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/PickfacesApi.ts +1 -1
- package/src/models/CreatePickfaceRequest.ts +1 -1
- package/src/models/CreatePickfaceRequestDimensions.ts +1 -1
- package/src/models/GetPickfaces200Response.ts +1 -1
- package/src/models/ModelError.ts +1 -1
- package/src/models/Pickface.ts +23 -11
- package/src/models/PickfaceContentsInner.ts +1 -1
- package/src/models/PickfaceContentsInnerApplicationsInner.ts +1 -1
- package/src/models/PickfaceContentsInnerMetadata.ts +1 -1
- package/src/models/PickfaceContentsInnerQuantity.ts +1 -1
- package/src/models/PickfaceLastPicked.ts +88 -0
- package/src/models/PickfaceLastRestocked.ts +88 -0
- package/src/models/PickfaceLog.ts +88 -0
- package/src/models/PickfaceLogUser.ts +73 -0
- package/src/models/UpdatePickfaceRequest.ts +1 -1
- package/src/models/index.ts +4 -0
- package/src/runtime.ts +1 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pickfaces API
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.7.0
|
|
6
|
+
* Contact: hello@teemill.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The user that took the action
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PickfaceLogUser
|
|
16
|
+
*/
|
|
17
|
+
export interface PickfaceLogUser {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PickfaceLogUser
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PickfaceLogUser
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PickfaceLogUser interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPickfaceLogUser(value: object): boolean;
|
|
35
|
+
export declare function PickfaceLogUserFromJSON(json: any): PickfaceLogUser;
|
|
36
|
+
export declare function PickfaceLogUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceLogUser;
|
|
37
|
+
export declare function PickfaceLogUserToJSON(value?: PickfaceLogUser | null): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Pickfaces API
|
|
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
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.7.0
|
|
9
|
+
* Contact: hello@teemill.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PickfaceLogUserToJSON = exports.PickfaceLogUserFromJSONTyped = exports.PickfaceLogUserFromJSON = exports.instanceOfPickfaceLogUser = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the PickfaceLogUser interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfPickfaceLogUser(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfPickfaceLogUser = instanceOfPickfaceLogUser;
|
|
26
|
+
function PickfaceLogUserFromJSON(json) {
|
|
27
|
+
return PickfaceLogUserFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.PickfaceLogUserFromJSON = PickfaceLogUserFromJSON;
|
|
30
|
+
function PickfaceLogUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
36
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
exports.PickfaceLogUserFromJSONTyped = PickfaceLogUserFromJSONTyped;
|
|
40
|
+
function PickfaceLogUserToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': value.id,
|
|
49
|
+
'name': value.name,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
exports.PickfaceLogUserToJSON = PickfaceLogUserToJSON;
|
|
@@ -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.7.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.7.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/index.d.ts
CHANGED
|
@@ -7,4 +7,8 @@ export * from './PickfaceContentsInner';
|
|
|
7
7
|
export * from './PickfaceContentsInnerApplicationsInner';
|
|
8
8
|
export * from './PickfaceContentsInnerMetadata';
|
|
9
9
|
export * from './PickfaceContentsInnerQuantity';
|
|
10
|
+
export * from './PickfaceLastPicked';
|
|
11
|
+
export * from './PickfaceLastRestocked';
|
|
12
|
+
export * from './PickfaceLog';
|
|
13
|
+
export * from './PickfaceLogUser';
|
|
10
14
|
export * from './UpdatePickfaceRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -25,4 +25,8 @@ __exportStar(require("./PickfaceContentsInner"), exports);
|
|
|
25
25
|
__exportStar(require("./PickfaceContentsInnerApplicationsInner"), exports);
|
|
26
26
|
__exportStar(require("./PickfaceContentsInnerMetadata"), exports);
|
|
27
27
|
__exportStar(require("./PickfaceContentsInnerQuantity"), exports);
|
|
28
|
+
__exportStar(require("./PickfaceLastPicked"), exports);
|
|
29
|
+
__exportStar(require("./PickfaceLastRestocked"), exports);
|
|
30
|
+
__exportStar(require("./PickfaceLog"), exports);
|
|
31
|
+
__exportStar(require("./PickfaceLogUser"), exports);
|
|
28
32
|
__exportStar(require("./UpdatePickfaceRequest"), exports);
|
package/dist/runtime.d.ts
CHANGED
|
@@ -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.7.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/runtime.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.7.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/package.json
CHANGED
package/src/apis/PickfacesApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* 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)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.7.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* 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)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.7.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* 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)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.7.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* 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)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.7.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/ModelError.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* 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)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.7.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/Pickface.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* 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)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.7.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,6 +25,18 @@ import {
|
|
|
25
25
|
PickfaceContentsInnerFromJSONTyped,
|
|
26
26
|
PickfaceContentsInnerToJSON,
|
|
27
27
|
} from './PickfaceContentsInner';
|
|
28
|
+
import type { PickfaceLastPicked } from './PickfaceLastPicked';
|
|
29
|
+
import {
|
|
30
|
+
PickfaceLastPickedFromJSON,
|
|
31
|
+
PickfaceLastPickedFromJSONTyped,
|
|
32
|
+
PickfaceLastPickedToJSON,
|
|
33
|
+
} from './PickfaceLastPicked';
|
|
34
|
+
import type { PickfaceLastRestocked } from './PickfaceLastRestocked';
|
|
35
|
+
import {
|
|
36
|
+
PickfaceLastRestockedFromJSON,
|
|
37
|
+
PickfaceLastRestockedFromJSONTyped,
|
|
38
|
+
PickfaceLastRestockedToJSON,
|
|
39
|
+
} from './PickfaceLastRestocked';
|
|
28
40
|
|
|
29
41
|
/**
|
|
30
42
|
*
|
|
@@ -69,17 +81,17 @@ export interface Pickface {
|
|
|
69
81
|
*/
|
|
70
82
|
fullness?: number;
|
|
71
83
|
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {
|
|
84
|
+
*
|
|
85
|
+
* @type {PickfaceLastPicked}
|
|
74
86
|
* @memberof Pickface
|
|
75
87
|
*/
|
|
76
|
-
lastPicked?:
|
|
88
|
+
lastPicked?: PickfaceLastPicked;
|
|
77
89
|
/**
|
|
78
|
-
*
|
|
79
|
-
* @type {
|
|
90
|
+
*
|
|
91
|
+
* @type {PickfaceLastRestocked}
|
|
80
92
|
* @memberof Pickface
|
|
81
93
|
*/
|
|
82
|
-
lastRestocked?:
|
|
94
|
+
lastRestocked?: PickfaceLastRestocked;
|
|
83
95
|
/**
|
|
84
96
|
*
|
|
85
97
|
* @type {Array<PickfaceContentsInner>}
|
|
@@ -113,8 +125,8 @@ export function PickfaceFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
113
125
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
114
126
|
'dimensions': !exists(json, 'dimensions') ? undefined : CreatePickfaceRequestDimensionsFromJSON(json['dimensions']),
|
|
115
127
|
'fullness': !exists(json, 'fullness') ? undefined : json['fullness'],
|
|
116
|
-
'lastPicked': !exists(json, 'lastPicked') ? undefined : (json['lastPicked']
|
|
117
|
-
'lastRestocked': !exists(json, 'lastRestocked') ? undefined : (json['lastRestocked']
|
|
128
|
+
'lastPicked': !exists(json, 'lastPicked') ? undefined : PickfaceLastPickedFromJSON(json['lastPicked']),
|
|
129
|
+
'lastRestocked': !exists(json, 'lastRestocked') ? undefined : PickfaceLastRestockedFromJSON(json['lastRestocked']),
|
|
118
130
|
'contents': !exists(json, 'contents') ? undefined : ((json['contents'] as Array<any>).map(PickfaceContentsInnerFromJSON)),
|
|
119
131
|
};
|
|
120
132
|
}
|
|
@@ -134,8 +146,8 @@ export function PickfaceToJSON(value?: Pickface | null): any {
|
|
|
134
146
|
'enabled': value.enabled,
|
|
135
147
|
'dimensions': CreatePickfaceRequestDimensionsToJSON(value.dimensions),
|
|
136
148
|
'fullness': value.fullness,
|
|
137
|
-
'lastPicked':
|
|
138
|
-
'lastRestocked':
|
|
149
|
+
'lastPicked': PickfaceLastPickedToJSON(value.lastPicked),
|
|
150
|
+
'lastRestocked': PickfaceLastRestockedToJSON(value.lastRestocked),
|
|
139
151
|
'contents': value.contents === undefined ? undefined : ((value.contents as Array<any>).map(PickfaceContentsInnerToJSON)),
|
|
140
152
|
};
|
|
141
153
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* 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)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.7.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* 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)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.7.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* 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)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.7.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* 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)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.7.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Pickfaces API
|
|
5
|
+
* 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)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.7.0
|
|
8
|
+
* Contact: hello@teemill.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { PickfaceLogUser } from './PickfaceLogUser';
|
|
17
|
+
import {
|
|
18
|
+
PickfaceLogUserFromJSON,
|
|
19
|
+
PickfaceLogUserFromJSONTyped,
|
|
20
|
+
PickfaceLogUserToJSON,
|
|
21
|
+
} from './PickfaceLogUser';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface PickfaceLastPicked
|
|
27
|
+
*/
|
|
28
|
+
export interface PickfaceLastPicked {
|
|
29
|
+
/**
|
|
30
|
+
* Unique object identifier
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PickfaceLastPicked
|
|
33
|
+
*/
|
|
34
|
+
id?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {PickfaceLogUser}
|
|
38
|
+
* @memberof PickfaceLastPicked
|
|
39
|
+
*/
|
|
40
|
+
user?: PickfaceLogUser;
|
|
41
|
+
/**
|
|
42
|
+
* ISO 8601 Created at timestamp
|
|
43
|
+
* @type {Date}
|
|
44
|
+
* @memberof PickfaceLastPicked
|
|
45
|
+
*/
|
|
46
|
+
createdAt?: Date;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the PickfaceLastPicked interface.
|
|
51
|
+
*/
|
|
52
|
+
export function instanceOfPickfaceLastPicked(value: object): boolean {
|
|
53
|
+
let isInstance = true;
|
|
54
|
+
|
|
55
|
+
return isInstance;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function PickfaceLastPickedFromJSON(json: any): PickfaceLastPicked {
|
|
59
|
+
return PickfaceLastPickedFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function PickfaceLastPickedFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceLastPicked {
|
|
63
|
+
if ((json === undefined) || (json === null)) {
|
|
64
|
+
return json;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
|
|
68
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
69
|
+
'user': !exists(json, 'user') ? undefined : PickfaceLogUserFromJSON(json['user']),
|
|
70
|
+
'createdAt': !exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function PickfaceLastPickedToJSON(value?: PickfaceLastPicked | null): any {
|
|
75
|
+
if (value === undefined) {
|
|
76
|
+
return undefined;
|
|
77
|
+
}
|
|
78
|
+
if (value === null) {
|
|
79
|
+
return null;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'id': value.id,
|
|
84
|
+
'user': PickfaceLogUserToJSON(value.user),
|
|
85
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Pickfaces API
|
|
5
|
+
* 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)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.7.0
|
|
8
|
+
* Contact: hello@teemill.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { PickfaceLogUser } from './PickfaceLogUser';
|
|
17
|
+
import {
|
|
18
|
+
PickfaceLogUserFromJSON,
|
|
19
|
+
PickfaceLogUserFromJSONTyped,
|
|
20
|
+
PickfaceLogUserToJSON,
|
|
21
|
+
} from './PickfaceLogUser';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface PickfaceLastRestocked
|
|
27
|
+
*/
|
|
28
|
+
export interface PickfaceLastRestocked {
|
|
29
|
+
/**
|
|
30
|
+
* Unique object identifier
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PickfaceLastRestocked
|
|
33
|
+
*/
|
|
34
|
+
id?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {PickfaceLogUser}
|
|
38
|
+
* @memberof PickfaceLastRestocked
|
|
39
|
+
*/
|
|
40
|
+
user?: PickfaceLogUser;
|
|
41
|
+
/**
|
|
42
|
+
* ISO 8601 Created at timestamp
|
|
43
|
+
* @type {Date}
|
|
44
|
+
* @memberof PickfaceLastRestocked
|
|
45
|
+
*/
|
|
46
|
+
createdAt?: Date;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the PickfaceLastRestocked interface.
|
|
51
|
+
*/
|
|
52
|
+
export function instanceOfPickfaceLastRestocked(value: object): boolean {
|
|
53
|
+
let isInstance = true;
|
|
54
|
+
|
|
55
|
+
return isInstance;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function PickfaceLastRestockedFromJSON(json: any): PickfaceLastRestocked {
|
|
59
|
+
return PickfaceLastRestockedFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function PickfaceLastRestockedFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceLastRestocked {
|
|
63
|
+
if ((json === undefined) || (json === null)) {
|
|
64
|
+
return json;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
|
|
68
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
69
|
+
'user': !exists(json, 'user') ? undefined : PickfaceLogUserFromJSON(json['user']),
|
|
70
|
+
'createdAt': !exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function PickfaceLastRestockedToJSON(value?: PickfaceLastRestocked | null): any {
|
|
75
|
+
if (value === undefined) {
|
|
76
|
+
return undefined;
|
|
77
|
+
}
|
|
78
|
+
if (value === null) {
|
|
79
|
+
return null;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'id': value.id,
|
|
84
|
+
'user': PickfaceLogUserToJSON(value.user),
|
|
85
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Pickfaces API
|
|
5
|
+
* 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)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.7.0
|
|
8
|
+
* Contact: hello@teemill.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { PickfaceLogUser } from './PickfaceLogUser';
|
|
17
|
+
import {
|
|
18
|
+
PickfaceLogUserFromJSON,
|
|
19
|
+
PickfaceLogUserFromJSONTyped,
|
|
20
|
+
PickfaceLogUserToJSON,
|
|
21
|
+
} from './PickfaceLogUser';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface PickfaceLog
|
|
27
|
+
*/
|
|
28
|
+
export interface PickfaceLog {
|
|
29
|
+
/**
|
|
30
|
+
* Unique object identifier
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PickfaceLog
|
|
33
|
+
*/
|
|
34
|
+
id?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {PickfaceLogUser}
|
|
38
|
+
* @memberof PickfaceLog
|
|
39
|
+
*/
|
|
40
|
+
user?: PickfaceLogUser;
|
|
41
|
+
/**
|
|
42
|
+
* ISO 8601 Created at timestamp
|
|
43
|
+
* @type {Date}
|
|
44
|
+
* @memberof PickfaceLog
|
|
45
|
+
*/
|
|
46
|
+
createdAt?: Date;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the PickfaceLog interface.
|
|
51
|
+
*/
|
|
52
|
+
export function instanceOfPickfaceLog(value: object): boolean {
|
|
53
|
+
let isInstance = true;
|
|
54
|
+
|
|
55
|
+
return isInstance;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function PickfaceLogFromJSON(json: any): PickfaceLog {
|
|
59
|
+
return PickfaceLogFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function PickfaceLogFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceLog {
|
|
63
|
+
if ((json === undefined) || (json === null)) {
|
|
64
|
+
return json;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
|
|
68
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
69
|
+
'user': !exists(json, 'user') ? undefined : PickfaceLogUserFromJSON(json['user']),
|
|
70
|
+
'createdAt': !exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function PickfaceLogToJSON(value?: PickfaceLog | null): any {
|
|
75
|
+
if (value === undefined) {
|
|
76
|
+
return undefined;
|
|
77
|
+
}
|
|
78
|
+
if (value === null) {
|
|
79
|
+
return null;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'id': value.id,
|
|
84
|
+
'user': PickfaceLogUserToJSON(value.user),
|
|
85
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Pickfaces API
|
|
5
|
+
* 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)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.7.0
|
|
8
|
+
* Contact: hello@teemill.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* The user that took the action
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PickfaceLogUser
|
|
20
|
+
*/
|
|
21
|
+
export interface PickfaceLogUser {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PickfaceLogUser
|
|
26
|
+
*/
|
|
27
|
+
id?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PickfaceLogUser
|
|
32
|
+
*/
|
|
33
|
+
name?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the PickfaceLogUser interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfPickfaceLogUser(value: object): boolean {
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
|
|
42
|
+
return isInstance;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function PickfaceLogUserFromJSON(json: any): PickfaceLogUser {
|
|
46
|
+
return PickfaceLogUserFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function PickfaceLogUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceLogUser {
|
|
50
|
+
if ((json === undefined) || (json === null)) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
56
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function PickfaceLogUserToJSON(value?: PickfaceLogUser | null): any {
|
|
61
|
+
if (value === undefined) {
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
if (value === null) {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'id': value.id,
|
|
70
|
+
'name': value.name,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|