@teemill/pickfaces 0.6.0 → 0.8.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 +10 -1
- package/dist/apis/PickfacesApi.js +12 -2
- 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 +15 -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,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.8.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.8.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
|
+
|
|
@@ -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.8.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/index.ts
CHANGED
|
@@ -9,4 +9,8 @@ export * from './PickfaceContentsInner';
|
|
|
9
9
|
export * from './PickfaceContentsInnerApplicationsInner';
|
|
10
10
|
export * from './PickfaceContentsInnerMetadata';
|
|
11
11
|
export * from './PickfaceContentsInnerQuantity';
|
|
12
|
+
export * from './PickfaceLastPicked';
|
|
13
|
+
export * from './PickfaceLastRestocked';
|
|
14
|
+
export * from './PickfaceLog';
|
|
15
|
+
export * from './PickfaceLogUser';
|
|
12
16
|
export * from './UpdatePickfaceRequest';
|
package/src/runtime.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.8.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|