@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,55 @@
|
|
|
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.8.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.PickfaceLogToJSON = exports.PickfaceLogFromJSONTyped = exports.PickfaceLogFromJSON = exports.instanceOfPickfaceLog = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var PickfaceLogUser_1 = require("./PickfaceLogUser");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the PickfaceLog interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfPickfaceLog(value) {
|
|
23
|
+
var isInstance = true;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfPickfaceLog = instanceOfPickfaceLog;
|
|
27
|
+
function PickfaceLogFromJSON(json) {
|
|
28
|
+
return PickfaceLogFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.PickfaceLogFromJSON = PickfaceLogFromJSON;
|
|
31
|
+
function PickfaceLogFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
37
|
+
'user': !(0, runtime_1.exists)(json, 'user') ? undefined : (0, PickfaceLogUser_1.PickfaceLogUserFromJSON)(json['user']),
|
|
38
|
+
'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.PickfaceLogFromJSONTyped = PickfaceLogFromJSONTyped;
|
|
42
|
+
function PickfaceLogToJSON(value) {
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': value.id,
|
|
51
|
+
'user': (0, PickfaceLogUser_1.PickfaceLogUserToJSON)(value.user),
|
|
52
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.PickfaceLogToJSON = PickfaceLogToJSON;
|
|
@@ -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.8.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.8.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.8.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.8.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.8.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.8.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.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).
|
|
@@ -55,6 +55,7 @@ export interface GetPickfacesRequest {
|
|
|
55
55
|
search?: string;
|
|
56
56
|
pageToken?: number;
|
|
57
57
|
pageSize?: number;
|
|
58
|
+
filters?: Array<GetPickfacesFiltersEnum>;
|
|
58
59
|
}
|
|
59
60
|
|
|
60
61
|
export interface UpdatePickfaceOperationRequest {
|
|
@@ -324,6 +325,10 @@ export class PickfacesApi extends runtime.BaseAPI {
|
|
|
324
325
|
queryParameters['pageSize'] = requestParameters.pageSize;
|
|
325
326
|
}
|
|
326
327
|
|
|
328
|
+
if (requestParameters.filters) {
|
|
329
|
+
queryParameters['filters'] = requestParameters.filters;
|
|
330
|
+
}
|
|
331
|
+
|
|
327
332
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
328
333
|
|
|
329
334
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -431,3 +436,12 @@ export class PickfacesApi extends runtime.BaseAPI {
|
|
|
431
436
|
}
|
|
432
437
|
|
|
433
438
|
}
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* @export
|
|
442
|
+
*/
|
|
443
|
+
export const GetPickfacesFiltersEnum = {
|
|
444
|
+
Empty: 'empty',
|
|
445
|
+
Flagged: 'flagged'
|
|
446
|
+
} as const;
|
|
447
|
+
export type GetPickfacesFiltersEnum = typeof GetPickfacesFiltersEnum[keyof typeof GetPickfacesFiltersEnum];
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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/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.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/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.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).
|
|
@@ -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.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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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 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.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 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
|
+
|