@teemill/pickfaces 0.12.0 → 0.12.2
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 -2
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/PickfacesApi.d.ts +9 -9
- package/dist/apis/PickfacesApi.js +428 -729
- package/dist/esm/apis/PickfacesApi.d.ts +189 -0
- package/dist/esm/apis/PickfacesApi.js +565 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +3 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/ApiError.d.ts +37 -0
- package/dist/esm/models/ApiError.js +42 -0
- package/dist/esm/models/ContainerModel.d.ts +61 -0
- package/dist/esm/models/ContainerModel.js +54 -0
- package/dist/esm/models/ContainerModels.d.ts +32 -0
- package/dist/esm/models/ContainerModels.js +39 -0
- package/dist/esm/models/CreatePickfaceRequest.d.ts +37 -0
- package/dist/esm/models/CreatePickfaceRequest.js +40 -0
- package/dist/esm/models/CreatePickfaceRequestDimensions.d.ts +43 -0
- package/dist/esm/models/CreatePickfaceRequestDimensions.js +42 -0
- package/dist/esm/models/GetPickfaces200Response.d.ts +38 -0
- package/dist/esm/models/GetPickfaces200Response.js +41 -0
- package/dist/esm/models/ListPickfaceLogs200Response.d.ts +38 -0
- package/dist/esm/models/ListPickfaceLogs200Response.js +41 -0
- package/dist/esm/models/ModelError.d.ts +37 -0
- package/dist/esm/models/ModelError.js +46 -0
- package/dist/esm/models/MoveStockRequest.d.ts +43 -0
- package/dist/esm/models/MoveStockRequest.js +48 -0
- package/dist/esm/models/Pickface.d.ts +83 -0
- package/dist/esm/models/Pickface.js +58 -0
- package/dist/esm/models/PickfaceContainerModel.d.ts +37 -0
- package/dist/esm/models/PickfaceContainerModel.js +40 -0
- package/dist/esm/models/PickfaceContentsInner.d.ts +58 -0
- package/dist/esm/models/PickfaceContentsInner.js +49 -0
- package/dist/esm/models/PickfaceContentsInnerApplicationsInner.d.ts +37 -0
- package/dist/esm/models/PickfaceContentsInnerApplicationsInner.js +40 -0
- package/dist/esm/models/PickfaceContentsInnerMetadata.d.ts +43 -0
- package/dist/esm/models/PickfaceContentsInnerMetadata.js +42 -0
- package/dist/esm/models/PickfaceContentsInnerQuantity.d.ts +43 -0
- package/dist/esm/models/PickfaceContentsInnerQuantity.js +42 -0
- package/dist/esm/models/PickfaceLastPicked.d.ts +55 -0
- package/dist/esm/models/PickfaceLastPicked.js +46 -0
- package/dist/esm/models/PickfaceLastRestocked.d.ts +55 -0
- package/dist/esm/models/PickfaceLastRestocked.js +46 -0
- package/dist/esm/models/PickfaceLog.d.ts +55 -0
- package/dist/esm/models/PickfaceLog.js +46 -0
- package/dist/esm/models/PickfaceLogUser.d.ts +37 -0
- package/dist/esm/models/PickfaceLogUser.js +45 -0
- package/dist/esm/models/PickfaceModel.d.ts +37 -0
- package/dist/esm/models/PickfaceModel.js +40 -0
- package/dist/esm/models/PickfaceModels.d.ts +32 -0
- package/dist/esm/models/PickfaceModels.js +39 -0
- package/dist/esm/models/UpdatePickfaceRequest.d.ts +44 -0
- package/dist/esm/models/UpdatePickfaceRequest.js +43 -0
- package/dist/esm/models/UpdatePickfaceRequestContents.d.ts +37 -0
- package/dist/esm/models/UpdatePickfaceRequestContents.js +40 -0
- package/dist/esm/models/UpdatePickfaceRequestContentsInner.d.ts +38 -0
- package/dist/esm/models/UpdatePickfaceRequestContentsInner.js +45 -0
- package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantity.d.ts +45 -0
- package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantity.js +51 -0
- package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.d.ts +45 -0
- package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.js +51 -0
- package/dist/esm/models/index.d.ts +19 -0
- package/dist/esm/models/index.js +21 -0
- package/dist/esm/runtime.d.ts +187 -0
- package/dist/esm/runtime.js +333 -0
- package/dist/models/ApiError.d.ts +1 -1
- package/dist/models/ApiError.js +1 -1
- package/dist/models/ContainerModel.d.ts +61 -0
- package/dist/models/ContainerModel.js +61 -0
- package/dist/models/ContainerModels.d.ts +32 -0
- package/dist/models/ContainerModels.js +46 -0
- package/dist/models/CreatePickfaceRequest.d.ts +2 -2
- package/dist/models/CreatePickfaceRequest.js +3 -3
- package/dist/models/GetPickfaces200Response.d.ts +1 -1
- package/dist/models/GetPickfaces200Response.js +2 -2
- package/dist/models/ListPickfaceLogs200Response.d.ts +1 -1
- package/dist/models/ListPickfaceLogs200Response.js +2 -2
- package/dist/models/ModelError.js +2 -2
- package/dist/models/MoveStockRequest.d.ts +1 -1
- package/dist/models/MoveStockRequest.js +1 -1
- package/dist/models/Pickface.d.ts +4 -4
- package/dist/models/Pickface.js +7 -7
- package/dist/models/PickfaceContainerModel.d.ts +37 -0
- package/dist/models/PickfaceContainerModel.js +47 -0
- package/dist/models/PickfaceContentsInner.d.ts +1 -1
- package/dist/models/PickfaceContentsInner.js +4 -4
- 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 +1 -1
- package/dist/models/PickfaceLastPicked.js +1 -1
- package/dist/models/PickfaceLastRestocked.d.ts +1 -1
- package/dist/models/PickfaceLastRestocked.js +1 -1
- package/dist/models/PickfaceLog.d.ts +1 -1
- package/dist/models/PickfaceLog.js +1 -1
- package/dist/models/PickfaceLogUser.js +2 -2
- package/dist/models/PickfaceModel.d.ts +1 -1
- package/dist/models/PickfaceModel.js +1 -1
- package/dist/models/PickfaceModels.d.ts +1 -1
- package/dist/models/PickfaceModels.js +2 -2
- package/dist/models/UpdatePickfaceRequest.d.ts +2 -2
- package/dist/models/UpdatePickfaceRequest.js +4 -4
- package/dist/models/UpdatePickfaceRequestContentsInner.d.ts +1 -1
- package/dist/models/UpdatePickfaceRequestContentsInner.js +2 -2
- package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.d.ts +1 -1
- package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.js +1 -1
- package/dist/models/index.d.ts +3 -2
- package/dist/models/index.js +3 -2
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +223 -439
- package/package.json +4 -2
- package/src/apis/PickfacesApi.ts +16 -16
- package/src/models/ApiError.ts +1 -1
- package/src/models/ContainerModel.ts +103 -0
- package/src/models/ContainerModels.ts +67 -0
- package/src/models/CreatePickfaceRequest.ts +4 -4
- package/src/models/GetPickfaces200Response.ts +1 -1
- package/src/models/ListPickfaceLogs200Response.ts +1 -1
- package/src/models/MoveStockRequest.ts +1 -1
- package/src/models/Pickface.ts +11 -11
- package/src/models/PickfaceContainerModel.ts +68 -0
- 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 +1 -1
- package/src/models/PickfaceLastRestocked.ts +1 -1
- package/src/models/PickfaceLog.ts +1 -1
- package/src/models/PickfaceModel.ts +1 -1
- package/src/models/PickfaceModels.ts +1 -1
- package/src/models/UpdatePickfaceRequest.ts +4 -4
- package/src/models/UpdatePickfaceRequestContentsInner.ts +1 -1
- package/src/models/UpdatePickfaceRequestContentsInnerQuantity.ts +1 -1
- package/src/models/index.ts +3 -2
- package/src/runtime.ts +1 -1
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +2 -2
|
@@ -0,0 +1,48 @@
|
|
|
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.12.2
|
|
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
|
+
* Check if a given object implements the MoveStockRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfMoveStockRequest(value) {
|
|
18
|
+
if (!('variantRef' in value))
|
|
19
|
+
return false;
|
|
20
|
+
if (!('quantity' in value))
|
|
21
|
+
return false;
|
|
22
|
+
if (!('toPickfaceRef' in value))
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function MoveStockRequestFromJSON(json) {
|
|
27
|
+
return MoveStockRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function MoveStockRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'variantRef': json['variantRef'],
|
|
35
|
+
'quantity': json['quantity'],
|
|
36
|
+
'toPickfaceRef': json['toPickfaceRef'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function MoveStockRequestToJSON(value) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'variantRef': value['variantRef'],
|
|
45
|
+
'quantity': value['quantity'],
|
|
46
|
+
'toPickfaceRef': value['toPickfaceRef'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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.12.2
|
|
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
|
+
import type { PickfaceContainerModel } from './PickfaceContainerModel';
|
|
13
|
+
import type { PickfaceContentsInner } from './PickfaceContentsInner';
|
|
14
|
+
import type { PickfaceLastPicked } from './PickfaceLastPicked';
|
|
15
|
+
import type { PickfaceLastRestocked } from './PickfaceLastRestocked';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface Pickface
|
|
20
|
+
*/
|
|
21
|
+
export interface Pickface {
|
|
22
|
+
/**
|
|
23
|
+
* Unique object identifier
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof Pickface
|
|
26
|
+
*/
|
|
27
|
+
id?: string;
|
|
28
|
+
/**
|
|
29
|
+
* A reference to the resource location
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof Pickface
|
|
32
|
+
*/
|
|
33
|
+
ref?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof Pickface
|
|
38
|
+
*/
|
|
39
|
+
code?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof Pickface
|
|
44
|
+
*/
|
|
45
|
+
enabled?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {PickfaceContainerModel}
|
|
49
|
+
* @memberof Pickface
|
|
50
|
+
*/
|
|
51
|
+
containerModel?: PickfaceContainerModel;
|
|
52
|
+
/**
|
|
53
|
+
* The percentage of the pickface that has been taken up by its contents
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof Pickface
|
|
56
|
+
*/
|
|
57
|
+
fullness?: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {PickfaceLastPicked}
|
|
61
|
+
* @memberof Pickface
|
|
62
|
+
*/
|
|
63
|
+
lastPicked?: PickfaceLastPicked;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {PickfaceLastRestocked}
|
|
67
|
+
* @memberof Pickface
|
|
68
|
+
*/
|
|
69
|
+
lastRestocked?: PickfaceLastRestocked;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Array<PickfaceContentsInner>}
|
|
73
|
+
* @memberof Pickface
|
|
74
|
+
*/
|
|
75
|
+
contents?: Array<PickfaceContentsInner>;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Check if a given object implements the Pickface interface.
|
|
79
|
+
*/
|
|
80
|
+
export declare function instanceOfPickface(value: object): boolean;
|
|
81
|
+
export declare function PickfaceFromJSON(json: any): Pickface;
|
|
82
|
+
export declare function PickfaceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Pickface;
|
|
83
|
+
export declare function PickfaceToJSON(value?: Pickface | null): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.12.2
|
|
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
|
+
import { PickfaceContainerModelFromJSON, PickfaceContainerModelToJSON, } from './PickfaceContainerModel';
|
|
15
|
+
import { PickfaceContentsInnerFromJSON, PickfaceContentsInnerToJSON, } from './PickfaceContentsInner';
|
|
16
|
+
import { PickfaceLastPickedFromJSON, PickfaceLastPickedToJSON, } from './PickfaceLastPicked';
|
|
17
|
+
import { PickfaceLastRestockedFromJSON, PickfaceLastRestockedToJSON, } from './PickfaceLastRestocked';
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the Pickface interface.
|
|
20
|
+
*/
|
|
21
|
+
export function instanceOfPickface(value) {
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function PickfaceFromJSON(json) {
|
|
25
|
+
return PickfaceFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function PickfaceFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
33
|
+
'ref': json['ref'] == null ? undefined : json['ref'],
|
|
34
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
35
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
36
|
+
'containerModel': json['containerModel'] == null ? undefined : PickfaceContainerModelFromJSON(json['containerModel']),
|
|
37
|
+
'fullness': json['fullness'] == null ? undefined : json['fullness'],
|
|
38
|
+
'lastPicked': json['lastPicked'] == null ? undefined : PickfaceLastPickedFromJSON(json['lastPicked']),
|
|
39
|
+
'lastRestocked': json['lastRestocked'] == null ? undefined : PickfaceLastRestockedFromJSON(json['lastRestocked']),
|
|
40
|
+
'contents': json['contents'] == null ? undefined : (json['contents'].map(PickfaceContentsInnerFromJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function PickfaceToJSON(value) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': value['id'],
|
|
49
|
+
'ref': value['ref'],
|
|
50
|
+
'code': value['code'],
|
|
51
|
+
'enabled': value['enabled'],
|
|
52
|
+
'containerModel': PickfaceContainerModelToJSON(value['containerModel']),
|
|
53
|
+
'fullness': value['fullness'],
|
|
54
|
+
'lastPicked': PickfaceLastPickedToJSON(value['lastPicked']),
|
|
55
|
+
'lastRestocked': PickfaceLastRestockedToJSON(value['lastRestocked']),
|
|
56
|
+
'contents': value['contents'] == null ? undefined : (value['contents'].map(PickfaceContentsInnerToJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -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.12.2
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PickfaceContainerModel
|
|
16
|
+
*/
|
|
17
|
+
export interface PickfaceContainerModel {
|
|
18
|
+
/**
|
|
19
|
+
* Unique object identifier
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PickfaceContainerModel
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
* A reference to the resource location
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PickfaceContainerModel
|
|
28
|
+
*/
|
|
29
|
+
ref?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PickfaceContainerModel interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPickfaceContainerModel(value: object): boolean;
|
|
35
|
+
export declare function PickfaceContainerModelFromJSON(json: any): PickfaceContainerModel;
|
|
36
|
+
export declare function PickfaceContainerModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceContainerModel;
|
|
37
|
+
export declare function PickfaceContainerModelToJSON(value?: PickfaceContainerModel | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
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.12.2
|
|
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
|
+
* Check if a given object implements the PickfaceContainerModel interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPickfaceContainerModel(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PickfaceContainerModelFromJSON(json) {
|
|
21
|
+
return PickfaceContainerModelFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PickfaceContainerModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
29
|
+
'ref': json['ref'] == null ? undefined : json['ref'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function PickfaceContainerModelToJSON(value) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'id': value['id'],
|
|
38
|
+
'ref': value['ref'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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.12.2
|
|
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
|
+
import type { PickfaceContentsInnerApplicationsInner } from './PickfaceContentsInnerApplicationsInner';
|
|
13
|
+
import type { PickfaceContentsInnerMetadata } from './PickfaceContentsInnerMetadata';
|
|
14
|
+
import type { PickfaceContentsInnerQuantity } from './PickfaceContentsInnerQuantity';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface PickfaceContentsInner
|
|
19
|
+
*/
|
|
20
|
+
export interface PickfaceContentsInner {
|
|
21
|
+
/**
|
|
22
|
+
* A reference to the resource location
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof PickfaceContentsInner
|
|
25
|
+
*/
|
|
26
|
+
variantRef?: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof PickfaceContentsInner
|
|
31
|
+
*/
|
|
32
|
+
ownerProjectId?: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PickfaceContentsInnerQuantity}
|
|
36
|
+
* @memberof PickfaceContentsInner
|
|
37
|
+
*/
|
|
38
|
+
quantity?: PickfaceContentsInnerQuantity;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {Array<PickfaceContentsInnerApplicationsInner>}
|
|
42
|
+
* @memberof PickfaceContentsInner
|
|
43
|
+
*/
|
|
44
|
+
applications?: Array<PickfaceContentsInnerApplicationsInner>;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {PickfaceContentsInnerMetadata}
|
|
48
|
+
* @memberof PickfaceContentsInner
|
|
49
|
+
*/
|
|
50
|
+
metadata?: PickfaceContentsInnerMetadata;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the PickfaceContentsInner interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfPickfaceContentsInner(value: object): boolean;
|
|
56
|
+
export declare function PickfaceContentsInnerFromJSON(json: any): PickfaceContentsInner;
|
|
57
|
+
export declare function PickfaceContentsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceContentsInner;
|
|
58
|
+
export declare function PickfaceContentsInnerToJSON(value?: PickfaceContentsInner | null): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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.12.2
|
|
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
|
+
import { PickfaceContentsInnerApplicationsInnerFromJSON, PickfaceContentsInnerApplicationsInnerToJSON, } from './PickfaceContentsInnerApplicationsInner';
|
|
15
|
+
import { PickfaceContentsInnerMetadataFromJSON, PickfaceContentsInnerMetadataToJSON, } from './PickfaceContentsInnerMetadata';
|
|
16
|
+
import { PickfaceContentsInnerQuantityFromJSON, PickfaceContentsInnerQuantityToJSON, } from './PickfaceContentsInnerQuantity';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the PickfaceContentsInner interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfPickfaceContentsInner(value) {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function PickfaceContentsInnerFromJSON(json) {
|
|
24
|
+
return PickfaceContentsInnerFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function PickfaceContentsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'variantRef': json['variantRef'] == null ? undefined : json['variantRef'],
|
|
32
|
+
'ownerProjectId': json['ownerProjectId'] == null ? undefined : json['ownerProjectId'],
|
|
33
|
+
'quantity': json['quantity'] == null ? undefined : PickfaceContentsInnerQuantityFromJSON(json['quantity']),
|
|
34
|
+
'applications': json['applications'] == null ? undefined : (json['applications'].map(PickfaceContentsInnerApplicationsInnerFromJSON)),
|
|
35
|
+
'metadata': json['metadata'] == null ? undefined : PickfaceContentsInnerMetadataFromJSON(json['metadata']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function PickfaceContentsInnerToJSON(value) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'variantRef': value['variantRef'],
|
|
44
|
+
'ownerProjectId': value['ownerProjectId'],
|
|
45
|
+
'quantity': PickfaceContentsInnerQuantityToJSON(value['quantity']),
|
|
46
|
+
'applications': value['applications'] == null ? undefined : (value['applications'].map(PickfaceContentsInnerApplicationsInnerToJSON)),
|
|
47
|
+
'metadata': PickfaceContentsInnerMetadataToJSON(value['metadata']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -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.12.2
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PickfaceContentsInnerApplicationsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface PickfaceContentsInnerApplicationsInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PickfaceContentsInnerApplicationsInner
|
|
22
|
+
*/
|
|
23
|
+
placement?: string;
|
|
24
|
+
/**
|
|
25
|
+
* A unique identifier for the application
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PickfaceContentsInnerApplicationsInner
|
|
28
|
+
*/
|
|
29
|
+
signature?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PickfaceContentsInnerApplicationsInner interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPickfaceContentsInnerApplicationsInner(value: object): boolean;
|
|
35
|
+
export declare function PickfaceContentsInnerApplicationsInnerFromJSON(json: any): PickfaceContentsInnerApplicationsInner;
|
|
36
|
+
export declare function PickfaceContentsInnerApplicationsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceContentsInnerApplicationsInner;
|
|
37
|
+
export declare function PickfaceContentsInnerApplicationsInnerToJSON(value?: PickfaceContentsInnerApplicationsInner | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
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.12.2
|
|
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
|
+
* Check if a given object implements the PickfaceContentsInnerApplicationsInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPickfaceContentsInnerApplicationsInner(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PickfaceContentsInnerApplicationsInnerFromJSON(json) {
|
|
21
|
+
return PickfaceContentsInnerApplicationsInnerFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PickfaceContentsInnerApplicationsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'placement': json['placement'] == null ? undefined : json['placement'],
|
|
29
|
+
'signature': json['signature'] == null ? undefined : json['signature'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function PickfaceContentsInnerApplicationsInnerToJSON(value) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'placement': value['placement'],
|
|
38
|
+
'signature': value['signature'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.12.2
|
|
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
|
+
* Any additional metadata
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PickfaceContentsInnerMetadata
|
|
16
|
+
*/
|
|
17
|
+
export interface PickfaceContentsInnerMetadata {
|
|
18
|
+
/**
|
|
19
|
+
* The title of the product
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PickfaceContentsInnerMetadata
|
|
22
|
+
*/
|
|
23
|
+
title?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The image of the front of the product
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PickfaceContentsInnerMetadata
|
|
28
|
+
*/
|
|
29
|
+
frontImage?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The image of the back of the product
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PickfaceContentsInnerMetadata
|
|
34
|
+
*/
|
|
35
|
+
backImage?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PickfaceContentsInnerMetadata interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPickfaceContentsInnerMetadata(value: object): boolean;
|
|
41
|
+
export declare function PickfaceContentsInnerMetadataFromJSON(json: any): PickfaceContentsInnerMetadata;
|
|
42
|
+
export declare function PickfaceContentsInnerMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceContentsInnerMetadata;
|
|
43
|
+
export declare function PickfaceContentsInnerMetadataToJSON(value?: PickfaceContentsInnerMetadata | null): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
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.12.2
|
|
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
|
+
* Check if a given object implements the PickfaceContentsInnerMetadata interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPickfaceContentsInnerMetadata(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PickfaceContentsInnerMetadataFromJSON(json) {
|
|
21
|
+
return PickfaceContentsInnerMetadataFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PickfaceContentsInnerMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
29
|
+
'frontImage': json['frontImage'] == null ? undefined : json['frontImage'],
|
|
30
|
+
'backImage': json['backImage'] == null ? undefined : json['backImage'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function PickfaceContentsInnerMetadataToJSON(value) {
|
|
34
|
+
if (value == null) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'title': value['title'],
|
|
39
|
+
'frontImage': value['frontImage'],
|
|
40
|
+
'backImage': value['backImage'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.12.2
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PickfaceContentsInnerQuantity
|
|
16
|
+
*/
|
|
17
|
+
export interface PickfaceContentsInnerQuantity {
|
|
18
|
+
/**
|
|
19
|
+
* How many are in the box
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PickfaceContentsInnerQuantity
|
|
22
|
+
*/
|
|
23
|
+
total?: number;
|
|
24
|
+
/**
|
|
25
|
+
* How many are available to reserve
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PickfaceContentsInnerQuantity
|
|
28
|
+
*/
|
|
29
|
+
available?: number;
|
|
30
|
+
/**
|
|
31
|
+
* How many are pending some action e.g. to be picked
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PickfaceContentsInnerQuantity
|
|
34
|
+
*/
|
|
35
|
+
reserved?: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PickfaceContentsInnerQuantity interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPickfaceContentsInnerQuantity(value: object): boolean;
|
|
41
|
+
export declare function PickfaceContentsInnerQuantityFromJSON(json: any): PickfaceContentsInnerQuantity;
|
|
42
|
+
export declare function PickfaceContentsInnerQuantityFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceContentsInnerQuantity;
|
|
43
|
+
export declare function PickfaceContentsInnerQuantityToJSON(value?: PickfaceContentsInnerQuantity | null): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
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.12.2
|
|
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
|
+
* Check if a given object implements the PickfaceContentsInnerQuantity interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPickfaceContentsInnerQuantity(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PickfaceContentsInnerQuantityFromJSON(json) {
|
|
21
|
+
return PickfaceContentsInnerQuantityFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PickfaceContentsInnerQuantityFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'total': json['total'] == null ? undefined : json['total'],
|
|
29
|
+
'available': json['available'] == null ? undefined : json['available'],
|
|
30
|
+
'reserved': json['reserved'] == null ? undefined : json['reserved'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function PickfaceContentsInnerQuantityToJSON(value) {
|
|
34
|
+
if (value == null) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'total': value['total'],
|
|
39
|
+
'available': value['available'],
|
|
40
|
+
'reserved': value['reserved'],
|
|
41
|
+
};
|
|
42
|
+
}
|