@teemill/pickfaces 0.12.2 → 0.14.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 +6 -24
- package/.openapi-generator/VERSION +1 -1
- package/README.md +3 -3
- package/api.ts +2297 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +110 -0
- package/dist/api.d.ts +1480 -0
- package/dist/api.js +1243 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +65 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +161 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +43 -0
- package/dist/esm/api.d.ts +1480 -0
- package/dist/esm/api.js +1236 -0
- package/dist/esm/base.d.ts +66 -0
- package/dist/esm/base.js +60 -0
- package/dist/esm/common.d.ts +65 -0
- package/dist/esm/common.js +149 -0
- package/dist/esm/configuration.d.ts +91 -0
- package/dist/esm/configuration.js +39 -0
- package/dist/esm/index.d.ts +13 -3
- package/dist/esm/index.js +13 -3
- package/dist/index.d.ts +13 -3
- package/dist/index.js +15 -5
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +15 -3
- package/tsconfig.json +4 -6
- package/dist/apis/PickfacesApi.d.ts +0 -189
- package/dist/apis/PickfacesApi.js +0 -569
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -19
- package/dist/esm/apis/PickfacesApi.d.ts +0 -189
- package/dist/esm/apis/PickfacesApi.js +0 -565
- package/dist/esm/apis/index.d.ts +0 -1
- package/dist/esm/apis/index.js +0 -3
- package/dist/esm/models/ApiError.d.ts +0 -37
- package/dist/esm/models/ApiError.js +0 -42
- package/dist/esm/models/ContainerModel.d.ts +0 -61
- package/dist/esm/models/ContainerModel.js +0 -54
- package/dist/esm/models/ContainerModels.d.ts +0 -32
- package/dist/esm/models/ContainerModels.js +0 -39
- package/dist/esm/models/CreatePickfaceRequest.d.ts +0 -37
- package/dist/esm/models/CreatePickfaceRequest.js +0 -40
- package/dist/esm/models/CreatePickfaceRequestDimensions.d.ts +0 -43
- package/dist/esm/models/CreatePickfaceRequestDimensions.js +0 -42
- package/dist/esm/models/GetPickfaces200Response.d.ts +0 -38
- package/dist/esm/models/GetPickfaces200Response.js +0 -41
- package/dist/esm/models/ListPickfaceLogs200Response.d.ts +0 -38
- package/dist/esm/models/ListPickfaceLogs200Response.js +0 -41
- package/dist/esm/models/ModelError.d.ts +0 -37
- package/dist/esm/models/ModelError.js +0 -46
- package/dist/esm/models/MoveStockRequest.d.ts +0 -43
- package/dist/esm/models/MoveStockRequest.js +0 -48
- package/dist/esm/models/Pickface.d.ts +0 -83
- package/dist/esm/models/Pickface.js +0 -58
- package/dist/esm/models/PickfaceContainerModel.d.ts +0 -37
- package/dist/esm/models/PickfaceContainerModel.js +0 -40
- package/dist/esm/models/PickfaceContentsInner.d.ts +0 -58
- package/dist/esm/models/PickfaceContentsInner.js +0 -49
- package/dist/esm/models/PickfaceContentsInnerApplicationsInner.d.ts +0 -37
- package/dist/esm/models/PickfaceContentsInnerApplicationsInner.js +0 -40
- package/dist/esm/models/PickfaceContentsInnerMetadata.d.ts +0 -43
- package/dist/esm/models/PickfaceContentsInnerMetadata.js +0 -42
- package/dist/esm/models/PickfaceContentsInnerQuantity.d.ts +0 -43
- package/dist/esm/models/PickfaceContentsInnerQuantity.js +0 -42
- package/dist/esm/models/PickfaceLastPicked.d.ts +0 -55
- package/dist/esm/models/PickfaceLastPicked.js +0 -46
- package/dist/esm/models/PickfaceLastRestocked.d.ts +0 -55
- package/dist/esm/models/PickfaceLastRestocked.js +0 -46
- package/dist/esm/models/PickfaceLog.d.ts +0 -55
- package/dist/esm/models/PickfaceLog.js +0 -46
- package/dist/esm/models/PickfaceLogUser.d.ts +0 -37
- package/dist/esm/models/PickfaceLogUser.js +0 -45
- package/dist/esm/models/PickfaceModel.d.ts +0 -37
- package/dist/esm/models/PickfaceModel.js +0 -40
- package/dist/esm/models/PickfaceModels.d.ts +0 -32
- package/dist/esm/models/PickfaceModels.js +0 -39
- package/dist/esm/models/UpdatePickfaceRequest.d.ts +0 -44
- package/dist/esm/models/UpdatePickfaceRequest.js +0 -43
- package/dist/esm/models/UpdatePickfaceRequestContents.d.ts +0 -37
- package/dist/esm/models/UpdatePickfaceRequestContents.js +0 -40
- package/dist/esm/models/UpdatePickfaceRequestContentsInner.d.ts +0 -38
- package/dist/esm/models/UpdatePickfaceRequestContentsInner.js +0 -45
- package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantity.d.ts +0 -45
- package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantity.js +0 -51
- package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.d.ts +0 -45
- package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.js +0 -51
- package/dist/esm/models/index.d.ts +0 -19
- package/dist/esm/models/index.js +0 -21
- package/dist/esm/runtime.d.ts +0 -187
- package/dist/esm/runtime.js +0 -333
- package/dist/models/ApiError.d.ts +0 -37
- package/dist/models/ApiError.js +0 -49
- package/dist/models/ContainerModel.d.ts +0 -61
- package/dist/models/ContainerModel.js +0 -61
- package/dist/models/ContainerModels.d.ts +0 -32
- package/dist/models/ContainerModels.js +0 -46
- package/dist/models/CreatePickfaceRequest.d.ts +0 -37
- package/dist/models/CreatePickfaceRequest.js +0 -47
- package/dist/models/CreatePickfaceRequestDimensions.d.ts +0 -43
- package/dist/models/CreatePickfaceRequestDimensions.js +0 -49
- package/dist/models/GetPickfaces200Response.d.ts +0 -38
- package/dist/models/GetPickfaces200Response.js +0 -48
- package/dist/models/ListPickfaceLogs200Response.d.ts +0 -38
- package/dist/models/ListPickfaceLogs200Response.js +0 -48
- package/dist/models/ModelError.d.ts +0 -37
- package/dist/models/ModelError.js +0 -53
- package/dist/models/MoveStockRequest.d.ts +0 -43
- package/dist/models/MoveStockRequest.js +0 -55
- package/dist/models/Pickface.d.ts +0 -83
- package/dist/models/Pickface.js +0 -65
- package/dist/models/PickfaceContainerModel.d.ts +0 -37
- package/dist/models/PickfaceContainerModel.js +0 -47
- package/dist/models/PickfaceContentsInner.d.ts +0 -58
- package/dist/models/PickfaceContentsInner.js +0 -56
- package/dist/models/PickfaceContentsInnerApplicationsInner.d.ts +0 -37
- package/dist/models/PickfaceContentsInnerApplicationsInner.js +0 -47
- package/dist/models/PickfaceContentsInnerMetadata.d.ts +0 -43
- package/dist/models/PickfaceContentsInnerMetadata.js +0 -49
- package/dist/models/PickfaceContentsInnerQuantity.d.ts +0 -43
- package/dist/models/PickfaceContentsInnerQuantity.js +0 -49
- package/dist/models/PickfaceLastPicked.d.ts +0 -55
- package/dist/models/PickfaceLastPicked.js +0 -53
- package/dist/models/PickfaceLastRestocked.d.ts +0 -55
- package/dist/models/PickfaceLastRestocked.js +0 -53
- package/dist/models/PickfaceLog.d.ts +0 -55
- package/dist/models/PickfaceLog.js +0 -53
- package/dist/models/PickfaceLogUser.d.ts +0 -37
- package/dist/models/PickfaceLogUser.js +0 -52
- package/dist/models/PickfaceModel.d.ts +0 -37
- package/dist/models/PickfaceModel.js +0 -47
- package/dist/models/PickfaceModels.d.ts +0 -32
- package/dist/models/PickfaceModels.js +0 -46
- package/dist/models/UpdatePickfaceRequest.d.ts +0 -44
- package/dist/models/UpdatePickfaceRequest.js +0 -50
- package/dist/models/UpdatePickfaceRequestContents.d.ts +0 -37
- package/dist/models/UpdatePickfaceRequestContents.js +0 -47
- package/dist/models/UpdatePickfaceRequestContentsInner.d.ts +0 -38
- package/dist/models/UpdatePickfaceRequestContentsInner.js +0 -52
- package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.d.ts +0 -45
- package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.js +0 -58
- package/dist/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.d.ts +0 -45
- package/dist/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.js +0 -58
- package/dist/models/index.d.ts +0 -19
- package/dist/models/index.js +0 -37
- package/dist/runtime.d.ts +0 -187
- package/dist/runtime.js +0 -349
- package/src/apis/PickfacesApi.ts +0 -821
- package/src/apis/index.ts +0 -3
- package/src/index.ts +0 -5
- package/src/models/ApiError.ts +0 -69
- package/src/models/ContainerModel.ts +0 -103
- package/src/models/ContainerModels.ts +0 -67
- package/src/models/CreatePickfaceRequest.ts +0 -68
- package/src/models/CreatePickfaceRequestDimensions.ts +0 -76
- package/src/models/GetPickfaces200Response.ts +0 -75
- package/src/models/ListPickfaceLogs200Response.ts +0 -75
- package/src/models/ModelError.ts +0 -74
- package/src/models/MoveStockRequest.ts +0 -79
- package/src/models/Pickface.ts +0 -149
- package/src/models/PickfaceContainerModel.ts +0 -68
- package/src/models/PickfaceContentsInner.ts +0 -111
- package/src/models/PickfaceContentsInnerApplicationsInner.ts +0 -68
- package/src/models/PickfaceContentsInnerMetadata.ts +0 -76
- package/src/models/PickfaceContentsInnerQuantity.ts +0 -76
- package/src/models/PickfaceLastPicked.ts +0 -92
- package/src/models/PickfaceLastRestocked.ts +0 -92
- package/src/models/PickfaceLog.ts +0 -92
- package/src/models/PickfaceLogUser.ts +0 -73
- package/src/models/PickfaceModel.ts +0 -68
- package/src/models/PickfaceModels.ts +0 -67
- package/src/models/UpdatePickfaceRequest.ts +0 -83
- package/src/models/UpdatePickfaceRequestContents.ts +0 -68
- package/src/models/UpdatePickfaceRequestContentsInner.ts +0 -77
- package/src/models/UpdatePickfaceRequestContentsInnerQuantity.ts +0 -81
- package/src/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.ts +0 -81
- package/src/models/index.ts +0 -21
- package/src/runtime.ts +0 -441
package/src/models/Pickface.ts
DELETED
|
@@ -1,149 +0,0 @@
|
|
|
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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { PickfaceContainerModel } from './PickfaceContainerModel';
|
|
17
|
-
import {
|
|
18
|
-
PickfaceContainerModelFromJSON,
|
|
19
|
-
PickfaceContainerModelFromJSONTyped,
|
|
20
|
-
PickfaceContainerModelToJSON,
|
|
21
|
-
} from './PickfaceContainerModel';
|
|
22
|
-
import type { PickfaceContentsInner } from './PickfaceContentsInner';
|
|
23
|
-
import {
|
|
24
|
-
PickfaceContentsInnerFromJSON,
|
|
25
|
-
PickfaceContentsInnerFromJSONTyped,
|
|
26
|
-
PickfaceContentsInnerToJSON,
|
|
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';
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @export
|
|
44
|
-
* @interface Pickface
|
|
45
|
-
*/
|
|
46
|
-
export interface Pickface {
|
|
47
|
-
/**
|
|
48
|
-
* Unique object identifier
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof Pickface
|
|
51
|
-
*/
|
|
52
|
-
id?: string;
|
|
53
|
-
/**
|
|
54
|
-
* A reference to the resource location
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof Pickface
|
|
57
|
-
*/
|
|
58
|
-
ref?: string;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof Pickface
|
|
63
|
-
*/
|
|
64
|
-
code?: string;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {boolean}
|
|
68
|
-
* @memberof Pickface
|
|
69
|
-
*/
|
|
70
|
-
enabled?: boolean;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {PickfaceContainerModel}
|
|
74
|
-
* @memberof Pickface
|
|
75
|
-
*/
|
|
76
|
-
containerModel?: PickfaceContainerModel;
|
|
77
|
-
/**
|
|
78
|
-
* The percentage of the pickface that has been taken up by its contents
|
|
79
|
-
* @type {number}
|
|
80
|
-
* @memberof Pickface
|
|
81
|
-
*/
|
|
82
|
-
fullness?: number;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @type {PickfaceLastPicked}
|
|
86
|
-
* @memberof Pickface
|
|
87
|
-
*/
|
|
88
|
-
lastPicked?: PickfaceLastPicked;
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
91
|
-
* @type {PickfaceLastRestocked}
|
|
92
|
-
* @memberof Pickface
|
|
93
|
-
*/
|
|
94
|
-
lastRestocked?: PickfaceLastRestocked;
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* @type {Array<PickfaceContentsInner>}
|
|
98
|
-
* @memberof Pickface
|
|
99
|
-
*/
|
|
100
|
-
contents?: Array<PickfaceContentsInner>;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Check if a given object implements the Pickface interface.
|
|
105
|
-
*/
|
|
106
|
-
export function instanceOfPickface(value: object): boolean {
|
|
107
|
-
return true;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
export function PickfaceFromJSON(json: any): Pickface {
|
|
111
|
-
return PickfaceFromJSONTyped(json, false);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
export function PickfaceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Pickface {
|
|
115
|
-
if (json == null) {
|
|
116
|
-
return json;
|
|
117
|
-
}
|
|
118
|
-
return {
|
|
119
|
-
|
|
120
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
121
|
-
'ref': json['ref'] == null ? undefined : json['ref'],
|
|
122
|
-
'code': json['code'] == null ? undefined : json['code'],
|
|
123
|
-
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
124
|
-
'containerModel': json['containerModel'] == null ? undefined : PickfaceContainerModelFromJSON(json['containerModel']),
|
|
125
|
-
'fullness': json['fullness'] == null ? undefined : json['fullness'],
|
|
126
|
-
'lastPicked': json['lastPicked'] == null ? undefined : PickfaceLastPickedFromJSON(json['lastPicked']),
|
|
127
|
-
'lastRestocked': json['lastRestocked'] == null ? undefined : PickfaceLastRestockedFromJSON(json['lastRestocked']),
|
|
128
|
-
'contents': json['contents'] == null ? undefined : ((json['contents'] as Array<any>).map(PickfaceContentsInnerFromJSON)),
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
export function PickfaceToJSON(value?: Pickface | null): any {
|
|
133
|
-
if (value == null) {
|
|
134
|
-
return value;
|
|
135
|
-
}
|
|
136
|
-
return {
|
|
137
|
-
|
|
138
|
-
'id': value['id'],
|
|
139
|
-
'ref': value['ref'],
|
|
140
|
-
'code': value['code'],
|
|
141
|
-
'enabled': value['enabled'],
|
|
142
|
-
'containerModel': PickfaceContainerModelToJSON(value['containerModel']),
|
|
143
|
-
'fullness': value['fullness'],
|
|
144
|
-
'lastPicked': PickfaceLastPickedToJSON(value['lastPicked']),
|
|
145
|
-
'lastRestocked': PickfaceLastRestockedToJSON(value['lastRestocked']),
|
|
146
|
-
'contents': value['contents'] == null ? undefined : ((value['contents'] as Array<any>).map(PickfaceContentsInnerToJSON)),
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
|
|
@@ -1,68 +0,0 @@
|
|
|
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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface PickfaceContainerModel
|
|
20
|
-
*/
|
|
21
|
-
export interface PickfaceContainerModel {
|
|
22
|
-
/**
|
|
23
|
-
* Unique object identifier
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof PickfaceContainerModel
|
|
26
|
-
*/
|
|
27
|
-
id?: string;
|
|
28
|
-
/**
|
|
29
|
-
* A reference to the resource location
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof PickfaceContainerModel
|
|
32
|
-
*/
|
|
33
|
-
ref?: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the PickfaceContainerModel interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfPickfaceContainerModel(value: object): boolean {
|
|
40
|
-
return true;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export function PickfaceContainerModelFromJSON(json: any): PickfaceContainerModel {
|
|
44
|
-
return PickfaceContainerModelFromJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export function PickfaceContainerModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceContainerModel {
|
|
48
|
-
if (json == null) {
|
|
49
|
-
return json;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
|
|
53
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
54
|
-
'ref': json['ref'] == null ? undefined : json['ref'],
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export function PickfaceContainerModelToJSON(value?: PickfaceContainerModel | null): any {
|
|
59
|
-
if (value == null) {
|
|
60
|
-
return value;
|
|
61
|
-
}
|
|
62
|
-
return {
|
|
63
|
-
|
|
64
|
-
'id': value['id'],
|
|
65
|
-
'ref': value['ref'],
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
|
|
@@ -1,111 +0,0 @@
|
|
|
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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { PickfaceContentsInnerApplicationsInner } from './PickfaceContentsInnerApplicationsInner';
|
|
17
|
-
import {
|
|
18
|
-
PickfaceContentsInnerApplicationsInnerFromJSON,
|
|
19
|
-
PickfaceContentsInnerApplicationsInnerFromJSONTyped,
|
|
20
|
-
PickfaceContentsInnerApplicationsInnerToJSON,
|
|
21
|
-
} from './PickfaceContentsInnerApplicationsInner';
|
|
22
|
-
import type { PickfaceContentsInnerMetadata } from './PickfaceContentsInnerMetadata';
|
|
23
|
-
import {
|
|
24
|
-
PickfaceContentsInnerMetadataFromJSON,
|
|
25
|
-
PickfaceContentsInnerMetadataFromJSONTyped,
|
|
26
|
-
PickfaceContentsInnerMetadataToJSON,
|
|
27
|
-
} from './PickfaceContentsInnerMetadata';
|
|
28
|
-
import type { PickfaceContentsInnerQuantity } from './PickfaceContentsInnerQuantity';
|
|
29
|
-
import {
|
|
30
|
-
PickfaceContentsInnerQuantityFromJSON,
|
|
31
|
-
PickfaceContentsInnerQuantityFromJSONTyped,
|
|
32
|
-
PickfaceContentsInnerQuantityToJSON,
|
|
33
|
-
} from './PickfaceContentsInnerQuantity';
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @export
|
|
38
|
-
* @interface PickfaceContentsInner
|
|
39
|
-
*/
|
|
40
|
-
export interface PickfaceContentsInner {
|
|
41
|
-
/**
|
|
42
|
-
* A reference to the resource location
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof PickfaceContentsInner
|
|
45
|
-
*/
|
|
46
|
-
variantRef?: string;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof PickfaceContentsInner
|
|
51
|
-
*/
|
|
52
|
-
ownerProjectId?: string;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {PickfaceContentsInnerQuantity}
|
|
56
|
-
* @memberof PickfaceContentsInner
|
|
57
|
-
*/
|
|
58
|
-
quantity?: PickfaceContentsInnerQuantity;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {Array<PickfaceContentsInnerApplicationsInner>}
|
|
62
|
-
* @memberof PickfaceContentsInner
|
|
63
|
-
*/
|
|
64
|
-
applications?: Array<PickfaceContentsInnerApplicationsInner>;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {PickfaceContentsInnerMetadata}
|
|
68
|
-
* @memberof PickfaceContentsInner
|
|
69
|
-
*/
|
|
70
|
-
metadata?: PickfaceContentsInnerMetadata;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Check if a given object implements the PickfaceContentsInner interface.
|
|
75
|
-
*/
|
|
76
|
-
export function instanceOfPickfaceContentsInner(value: object): boolean {
|
|
77
|
-
return true;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export function PickfaceContentsInnerFromJSON(json: any): PickfaceContentsInner {
|
|
81
|
-
return PickfaceContentsInnerFromJSONTyped(json, false);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export function PickfaceContentsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceContentsInner {
|
|
85
|
-
if (json == null) {
|
|
86
|
-
return json;
|
|
87
|
-
}
|
|
88
|
-
return {
|
|
89
|
-
|
|
90
|
-
'variantRef': json['variantRef'] == null ? undefined : json['variantRef'],
|
|
91
|
-
'ownerProjectId': json['ownerProjectId'] == null ? undefined : json['ownerProjectId'],
|
|
92
|
-
'quantity': json['quantity'] == null ? undefined : PickfaceContentsInnerQuantityFromJSON(json['quantity']),
|
|
93
|
-
'applications': json['applications'] == null ? undefined : ((json['applications'] as Array<any>).map(PickfaceContentsInnerApplicationsInnerFromJSON)),
|
|
94
|
-
'metadata': json['metadata'] == null ? undefined : PickfaceContentsInnerMetadataFromJSON(json['metadata']),
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
export function PickfaceContentsInnerToJSON(value?: PickfaceContentsInner | null): any {
|
|
99
|
-
if (value == null) {
|
|
100
|
-
return value;
|
|
101
|
-
}
|
|
102
|
-
return {
|
|
103
|
-
|
|
104
|
-
'variantRef': value['variantRef'],
|
|
105
|
-
'ownerProjectId': value['ownerProjectId'],
|
|
106
|
-
'quantity': PickfaceContentsInnerQuantityToJSON(value['quantity']),
|
|
107
|
-
'applications': value['applications'] == null ? undefined : ((value['applications'] as Array<any>).map(PickfaceContentsInnerApplicationsInnerToJSON)),
|
|
108
|
-
'metadata': PickfaceContentsInnerMetadataToJSON(value['metadata']),
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
|
|
@@ -1,68 +0,0 @@
|
|
|
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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface PickfaceContentsInnerApplicationsInner
|
|
20
|
-
*/
|
|
21
|
-
export interface PickfaceContentsInnerApplicationsInner {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof PickfaceContentsInnerApplicationsInner
|
|
26
|
-
*/
|
|
27
|
-
placement?: string;
|
|
28
|
-
/**
|
|
29
|
-
* A unique identifier for the application
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof PickfaceContentsInnerApplicationsInner
|
|
32
|
-
*/
|
|
33
|
-
signature?: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the PickfaceContentsInnerApplicationsInner interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfPickfaceContentsInnerApplicationsInner(value: object): boolean {
|
|
40
|
-
return true;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export function PickfaceContentsInnerApplicationsInnerFromJSON(json: any): PickfaceContentsInnerApplicationsInner {
|
|
44
|
-
return PickfaceContentsInnerApplicationsInnerFromJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export function PickfaceContentsInnerApplicationsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceContentsInnerApplicationsInner {
|
|
48
|
-
if (json == null) {
|
|
49
|
-
return json;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
|
|
53
|
-
'placement': json['placement'] == null ? undefined : json['placement'],
|
|
54
|
-
'signature': json['signature'] == null ? undefined : json['signature'],
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export function PickfaceContentsInnerApplicationsInnerToJSON(value?: PickfaceContentsInnerApplicationsInner | null): any {
|
|
59
|
-
if (value == null) {
|
|
60
|
-
return value;
|
|
61
|
-
}
|
|
62
|
-
return {
|
|
63
|
-
|
|
64
|
-
'placement': value['placement'],
|
|
65
|
-
'signature': value['signature'],
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
|
|
@@ -1,76 +0,0 @@
|
|
|
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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
* Any additional metadata
|
|
18
|
-
* @export
|
|
19
|
-
* @interface PickfaceContentsInnerMetadata
|
|
20
|
-
*/
|
|
21
|
-
export interface PickfaceContentsInnerMetadata {
|
|
22
|
-
/**
|
|
23
|
-
* The title of the product
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof PickfaceContentsInnerMetadata
|
|
26
|
-
*/
|
|
27
|
-
title?: string;
|
|
28
|
-
/**
|
|
29
|
-
* The image of the front of the product
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof PickfaceContentsInnerMetadata
|
|
32
|
-
*/
|
|
33
|
-
frontImage?: string;
|
|
34
|
-
/**
|
|
35
|
-
* The image of the back of the product
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof PickfaceContentsInnerMetadata
|
|
38
|
-
*/
|
|
39
|
-
backImage?: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the PickfaceContentsInnerMetadata interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfPickfaceContentsInnerMetadata(value: object): boolean {
|
|
46
|
-
return true;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function PickfaceContentsInnerMetadataFromJSON(json: any): PickfaceContentsInnerMetadata {
|
|
50
|
-
return PickfaceContentsInnerMetadataFromJSONTyped(json, false);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export function PickfaceContentsInnerMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceContentsInnerMetadata {
|
|
54
|
-
if (json == null) {
|
|
55
|
-
return json;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
|
|
59
|
-
'title': json['title'] == null ? undefined : json['title'],
|
|
60
|
-
'frontImage': json['frontImage'] == null ? undefined : json['frontImage'],
|
|
61
|
-
'backImage': json['backImage'] == null ? undefined : json['backImage'],
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function PickfaceContentsInnerMetadataToJSON(value?: PickfaceContentsInnerMetadata | null): any {
|
|
66
|
-
if (value == null) {
|
|
67
|
-
return value;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'title': value['title'],
|
|
72
|
-
'frontImage': value['frontImage'],
|
|
73
|
-
'backImage': value['backImage'],
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
|
|
@@ -1,76 +0,0 @@
|
|
|
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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface PickfaceContentsInnerQuantity
|
|
20
|
-
*/
|
|
21
|
-
export interface PickfaceContentsInnerQuantity {
|
|
22
|
-
/**
|
|
23
|
-
* How many are in the box
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof PickfaceContentsInnerQuantity
|
|
26
|
-
*/
|
|
27
|
-
total?: number;
|
|
28
|
-
/**
|
|
29
|
-
* How many are available to reserve
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof PickfaceContentsInnerQuantity
|
|
32
|
-
*/
|
|
33
|
-
available?: number;
|
|
34
|
-
/**
|
|
35
|
-
* How many are pending some action e.g. to be picked
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof PickfaceContentsInnerQuantity
|
|
38
|
-
*/
|
|
39
|
-
reserved?: number;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the PickfaceContentsInnerQuantity interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfPickfaceContentsInnerQuantity(value: object): boolean {
|
|
46
|
-
return true;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function PickfaceContentsInnerQuantityFromJSON(json: any): PickfaceContentsInnerQuantity {
|
|
50
|
-
return PickfaceContentsInnerQuantityFromJSONTyped(json, false);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export function PickfaceContentsInnerQuantityFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceContentsInnerQuantity {
|
|
54
|
-
if (json == null) {
|
|
55
|
-
return json;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
|
|
59
|
-
'total': json['total'] == null ? undefined : json['total'],
|
|
60
|
-
'available': json['available'] == null ? undefined : json['available'],
|
|
61
|
-
'reserved': json['reserved'] == null ? undefined : json['reserved'],
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function PickfaceContentsInnerQuantityToJSON(value?: PickfaceContentsInnerQuantity | null): any {
|
|
66
|
-
if (value == null) {
|
|
67
|
-
return value;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'total': value['total'],
|
|
72
|
-
'available': value['available'],
|
|
73
|
-
'reserved': value['reserved'],
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
|
|
@@ -1,92 +0,0 @@
|
|
|
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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface PickfaceLastPicked
|
|
20
|
-
*/
|
|
21
|
-
export interface PickfaceLastPicked {
|
|
22
|
-
/**
|
|
23
|
-
* Unique object identifier
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof PickfaceLastPicked
|
|
26
|
-
*/
|
|
27
|
-
id?: string;
|
|
28
|
-
/**
|
|
29
|
-
* A reference to the resource location
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof PickfaceLastPicked
|
|
32
|
-
*/
|
|
33
|
-
userRef?: string;
|
|
34
|
-
/**
|
|
35
|
-
* The action that was taken
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof PickfaceLastPicked
|
|
38
|
-
*/
|
|
39
|
-
action?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The reason for the action
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof PickfaceLastPicked
|
|
44
|
-
*/
|
|
45
|
-
reason?: string;
|
|
46
|
-
/**
|
|
47
|
-
* ISO 8601 Created at timestamp
|
|
48
|
-
* @type {Date}
|
|
49
|
-
* @memberof PickfaceLastPicked
|
|
50
|
-
*/
|
|
51
|
-
createdAt?: Date;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Check if a given object implements the PickfaceLastPicked interface.
|
|
56
|
-
*/
|
|
57
|
-
export function instanceOfPickfaceLastPicked(value: object): boolean {
|
|
58
|
-
return true;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function PickfaceLastPickedFromJSON(json: any): PickfaceLastPicked {
|
|
62
|
-
return PickfaceLastPickedFromJSONTyped(json, false);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function PickfaceLastPickedFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceLastPicked {
|
|
66
|
-
if (json == null) {
|
|
67
|
-
return json;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
72
|
-
'userRef': json['userRef'] == null ? undefined : json['userRef'],
|
|
73
|
-
'action': json['action'] == null ? undefined : json['action'],
|
|
74
|
-
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
75
|
-
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export function PickfaceLastPickedToJSON(value?: PickfaceLastPicked | null): any {
|
|
80
|
-
if (value == null) {
|
|
81
|
-
return value;
|
|
82
|
-
}
|
|
83
|
-
return {
|
|
84
|
-
|
|
85
|
-
'id': value['id'],
|
|
86
|
-
'userRef': value['userRef'],
|
|
87
|
-
'action': value['action'],
|
|
88
|
-
'reason': value['reason'],
|
|
89
|
-
'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
|