@teemill/pickfaces 0.12.1 → 0.13.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 +7 -24
- package/.openapi-generator/VERSION +1 -1
- package/README.md +3 -3
- package/api.ts +1897 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +110 -0
- package/dist/api.d.ts +1245 -0
- package/dist/api.js +997 -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 +1245 -0
- package/dist/esm/api.js +990 -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 -0
- package/dist/esm/index.js +15 -0
- 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 +18 -4
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +4 -6
- package/dist/apis/PickfacesApi.d.ts +0 -189
- package/dist/apis/PickfacesApi.js +0 -870
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -19
- 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 -565
- 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
|
@@ -1,37 +0,0 @@
|
|
|
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
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ModelError
|
|
16
|
-
*/
|
|
17
|
-
export interface ModelError {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ModelError
|
|
22
|
-
*/
|
|
23
|
-
code?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ModelError
|
|
28
|
-
*/
|
|
29
|
-
message: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the ModelError interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfModelError(value: object): boolean;
|
|
35
|
-
export declare function ModelErrorFromJSON(json: any): ModelError;
|
|
36
|
-
export declare function ModelErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelError;
|
|
37
|
-
export declare function ModelErrorToJSON(value?: ModelError | null): any;
|
|
@@ -1,53 +0,0 @@
|
|
|
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.ModelErrorToJSON = exports.ModelErrorFromJSONTyped = exports.ModelErrorFromJSON = exports.instanceOfModelError = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the ModelError interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfModelError(value) {
|
|
22
|
-
var isInstance = true;
|
|
23
|
-
isInstance = isInstance && "message" in value;
|
|
24
|
-
return isInstance;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfModelError = instanceOfModelError;
|
|
27
|
-
function ModelErrorFromJSON(json) {
|
|
28
|
-
return ModelErrorFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.ModelErrorFromJSON = ModelErrorFromJSON;
|
|
31
|
-
function ModelErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if ((json === undefined) || (json === null)) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'code': !(0, runtime_1.exists)(json, 'code') ? undefined : json['code'],
|
|
37
|
-
'message': json['message'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
exports.ModelErrorFromJSONTyped = ModelErrorFromJSONTyped;
|
|
41
|
-
function ModelErrorToJSON(value) {
|
|
42
|
-
if (value === undefined) {
|
|
43
|
-
return undefined;
|
|
44
|
-
}
|
|
45
|
-
if (value === null) {
|
|
46
|
-
return null;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'code': value.code,
|
|
50
|
-
'message': value.message,
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
exports.ModelErrorToJSON = ModelErrorToJSON;
|
|
@@ -1,43 +0,0 @@
|
|
|
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.1
|
|
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 MoveStockRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface MoveStockRequest {
|
|
18
|
-
/**
|
|
19
|
-
* The variant to move from the pickface
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof MoveStockRequest
|
|
22
|
-
*/
|
|
23
|
-
variantRef: string;
|
|
24
|
-
/**
|
|
25
|
-
* The quantity to move from the pickface
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof MoveStockRequest
|
|
28
|
-
*/
|
|
29
|
-
quantity: number;
|
|
30
|
-
/**
|
|
31
|
-
* The pickface to move the stock to
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof MoveStockRequest
|
|
34
|
-
*/
|
|
35
|
-
toPickfaceRef: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the MoveStockRequest interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfMoveStockRequest(value: object): boolean;
|
|
41
|
-
export declare function MoveStockRequestFromJSON(json: any): MoveStockRequest;
|
|
42
|
-
export declare function MoveStockRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoveStockRequest;
|
|
43
|
-
export declare function MoveStockRequestToJSON(value?: MoveStockRequest | null): any;
|
|
@@ -1,55 +0,0 @@
|
|
|
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.12.1
|
|
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.MoveStockRequestToJSON = exports.MoveStockRequestFromJSONTyped = exports.MoveStockRequestFromJSON = exports.instanceOfMoveStockRequest = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the MoveStockRequest interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfMoveStockRequest(value) {
|
|
21
|
-
if (!('variantRef' in value))
|
|
22
|
-
return false;
|
|
23
|
-
if (!('quantity' in value))
|
|
24
|
-
return false;
|
|
25
|
-
if (!('toPickfaceRef' in value))
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
exports.instanceOfMoveStockRequest = instanceOfMoveStockRequest;
|
|
30
|
-
function MoveStockRequestFromJSON(json) {
|
|
31
|
-
return MoveStockRequestFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.MoveStockRequestFromJSON = MoveStockRequestFromJSON;
|
|
34
|
-
function MoveStockRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'variantRef': json['variantRef'],
|
|
40
|
-
'quantity': json['quantity'],
|
|
41
|
-
'toPickfaceRef': json['toPickfaceRef'],
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
exports.MoveStockRequestFromJSONTyped = MoveStockRequestFromJSONTyped;
|
|
45
|
-
function MoveStockRequestToJSON(value) {
|
|
46
|
-
if (value == null) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'variantRef': value['variantRef'],
|
|
51
|
-
'quantity': value['quantity'],
|
|
52
|
-
'toPickfaceRef': value['toPickfaceRef'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
exports.MoveStockRequestToJSON = MoveStockRequestToJSON;
|
|
@@ -1,83 +0,0 @@
|
|
|
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.1
|
|
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;
|
package/dist/models/Pickface.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
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.12.1
|
|
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.PickfaceToJSON = exports.PickfaceFromJSONTyped = exports.PickfaceFromJSON = exports.instanceOfPickface = void 0;
|
|
17
|
-
var PickfaceContainerModel_1 = require("./PickfaceContainerModel");
|
|
18
|
-
var PickfaceContentsInner_1 = require("./PickfaceContentsInner");
|
|
19
|
-
var PickfaceLastPicked_1 = require("./PickfaceLastPicked");
|
|
20
|
-
var PickfaceLastRestocked_1 = require("./PickfaceLastRestocked");
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the Pickface interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfPickface(value) {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfPickface = instanceOfPickface;
|
|
28
|
-
function PickfaceFromJSON(json) {
|
|
29
|
-
return PickfaceFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.PickfaceFromJSON = PickfaceFromJSON;
|
|
32
|
-
function PickfaceFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
38
|
-
'ref': json['ref'] == null ? undefined : json['ref'],
|
|
39
|
-
'code': json['code'] == null ? undefined : json['code'],
|
|
40
|
-
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
41
|
-
'containerModel': json['containerModel'] == null ? undefined : (0, PickfaceContainerModel_1.PickfaceContainerModelFromJSON)(json['containerModel']),
|
|
42
|
-
'fullness': json['fullness'] == null ? undefined : json['fullness'],
|
|
43
|
-
'lastPicked': json['lastPicked'] == null ? undefined : (0, PickfaceLastPicked_1.PickfaceLastPickedFromJSON)(json['lastPicked']),
|
|
44
|
-
'lastRestocked': json['lastRestocked'] == null ? undefined : (0, PickfaceLastRestocked_1.PickfaceLastRestockedFromJSON)(json['lastRestocked']),
|
|
45
|
-
'contents': json['contents'] == null ? undefined : (json['contents'].map(PickfaceContentsInner_1.PickfaceContentsInnerFromJSON)),
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
exports.PickfaceFromJSONTyped = PickfaceFromJSONTyped;
|
|
49
|
-
function PickfaceToJSON(value) {
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'id': value['id'],
|
|
55
|
-
'ref': value['ref'],
|
|
56
|
-
'code': value['code'],
|
|
57
|
-
'enabled': value['enabled'],
|
|
58
|
-
'containerModel': (0, PickfaceContainerModel_1.PickfaceContainerModelToJSON)(value['containerModel']),
|
|
59
|
-
'fullness': value['fullness'],
|
|
60
|
-
'lastPicked': (0, PickfaceLastPicked_1.PickfaceLastPickedToJSON)(value['lastPicked']),
|
|
61
|
-
'lastRestocked': (0, PickfaceLastRestocked_1.PickfaceLastRestockedToJSON)(value['lastRestocked']),
|
|
62
|
-
'contents': value['contents'] == null ? undefined : (value['contents'].map(PickfaceContentsInner_1.PickfaceContentsInnerToJSON)),
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
exports.PickfaceToJSON = PickfaceToJSON;
|
|
@@ -1,37 +0,0 @@
|
|
|
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.1
|
|
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;
|
|
@@ -1,47 +0,0 @@
|
|
|
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.12.1
|
|
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.PickfaceContainerModelToJSON = exports.PickfaceContainerModelFromJSONTyped = exports.PickfaceContainerModelFromJSON = exports.instanceOfPickfaceContainerModel = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the PickfaceContainerModel interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfPickfaceContainerModel(value) {
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
exports.instanceOfPickfaceContainerModel = instanceOfPickfaceContainerModel;
|
|
24
|
-
function PickfaceContainerModelFromJSON(json) {
|
|
25
|
-
return PickfaceContainerModelFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
exports.PickfaceContainerModelFromJSON = PickfaceContainerModelFromJSON;
|
|
28
|
-
function PickfaceContainerModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (json == null) {
|
|
30
|
-
return json;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
34
|
-
'ref': json['ref'] == null ? undefined : json['ref'],
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
exports.PickfaceContainerModelFromJSONTyped = PickfaceContainerModelFromJSONTyped;
|
|
38
|
-
function PickfaceContainerModelToJSON(value) {
|
|
39
|
-
if (value == null) {
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'id': value['id'],
|
|
44
|
-
'ref': value['ref'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
exports.PickfaceContainerModelToJSON = PickfaceContainerModelToJSON;
|
|
@@ -1,58 +0,0 @@
|
|
|
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.1
|
|
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;
|
|
@@ -1,56 +0,0 @@
|
|
|
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.12.1
|
|
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.PickfaceContentsInnerToJSON = exports.PickfaceContentsInnerFromJSONTyped = exports.PickfaceContentsInnerFromJSON = exports.instanceOfPickfaceContentsInner = void 0;
|
|
17
|
-
var PickfaceContentsInnerApplicationsInner_1 = require("./PickfaceContentsInnerApplicationsInner");
|
|
18
|
-
var PickfaceContentsInnerMetadata_1 = require("./PickfaceContentsInnerMetadata");
|
|
19
|
-
var PickfaceContentsInnerQuantity_1 = require("./PickfaceContentsInnerQuantity");
|
|
20
|
-
/**
|
|
21
|
-
* Check if a given object implements the PickfaceContentsInner interface.
|
|
22
|
-
*/
|
|
23
|
-
function instanceOfPickfaceContentsInner(value) {
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfPickfaceContentsInner = instanceOfPickfaceContentsInner;
|
|
27
|
-
function PickfaceContentsInnerFromJSON(json) {
|
|
28
|
-
return PickfaceContentsInnerFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.PickfaceContentsInnerFromJSON = PickfaceContentsInnerFromJSON;
|
|
31
|
-
function PickfaceContentsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'variantRef': json['variantRef'] == null ? undefined : json['variantRef'],
|
|
37
|
-
'ownerProjectId': json['ownerProjectId'] == null ? undefined : json['ownerProjectId'],
|
|
38
|
-
'quantity': json['quantity'] == null ? undefined : (0, PickfaceContentsInnerQuantity_1.PickfaceContentsInnerQuantityFromJSON)(json['quantity']),
|
|
39
|
-
'applications': json['applications'] == null ? undefined : (json['applications'].map(PickfaceContentsInnerApplicationsInner_1.PickfaceContentsInnerApplicationsInnerFromJSON)),
|
|
40
|
-
'metadata': json['metadata'] == null ? undefined : (0, PickfaceContentsInnerMetadata_1.PickfaceContentsInnerMetadataFromJSON)(json['metadata']),
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
exports.PickfaceContentsInnerFromJSONTyped = PickfaceContentsInnerFromJSONTyped;
|
|
44
|
-
function PickfaceContentsInnerToJSON(value) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'variantRef': value['variantRef'],
|
|
50
|
-
'ownerProjectId': value['ownerProjectId'],
|
|
51
|
-
'quantity': (0, PickfaceContentsInnerQuantity_1.PickfaceContentsInnerQuantityToJSON)(value['quantity']),
|
|
52
|
-
'applications': value['applications'] == null ? undefined : (value['applications'].map(PickfaceContentsInnerApplicationsInner_1.PickfaceContentsInnerApplicationsInnerToJSON)),
|
|
53
|
-
'metadata': (0, PickfaceContentsInnerMetadata_1.PickfaceContentsInnerMetadataToJSON)(value['metadata']),
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
exports.PickfaceContentsInnerToJSON = PickfaceContentsInnerToJSON;
|
|
@@ -1,37 +0,0 @@
|
|
|
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.1
|
|
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;
|
|
@@ -1,47 +0,0 @@
|
|
|
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.12.1
|
|
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.PickfaceContentsInnerApplicationsInnerToJSON = exports.PickfaceContentsInnerApplicationsInnerFromJSONTyped = exports.PickfaceContentsInnerApplicationsInnerFromJSON = exports.instanceOfPickfaceContentsInnerApplicationsInner = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the PickfaceContentsInnerApplicationsInner interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfPickfaceContentsInnerApplicationsInner(value) {
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
exports.instanceOfPickfaceContentsInnerApplicationsInner = instanceOfPickfaceContentsInnerApplicationsInner;
|
|
24
|
-
function PickfaceContentsInnerApplicationsInnerFromJSON(json) {
|
|
25
|
-
return PickfaceContentsInnerApplicationsInnerFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
exports.PickfaceContentsInnerApplicationsInnerFromJSON = PickfaceContentsInnerApplicationsInnerFromJSON;
|
|
28
|
-
function PickfaceContentsInnerApplicationsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (json == null) {
|
|
30
|
-
return json;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
'placement': json['placement'] == null ? undefined : json['placement'],
|
|
34
|
-
'signature': json['signature'] == null ? undefined : json['signature'],
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
exports.PickfaceContentsInnerApplicationsInnerFromJSONTyped = PickfaceContentsInnerApplicationsInnerFromJSONTyped;
|
|
38
|
-
function PickfaceContentsInnerApplicationsInnerToJSON(value) {
|
|
39
|
-
if (value == null) {
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'placement': value['placement'],
|
|
44
|
-
'signature': value['signature'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
exports.PickfaceContentsInnerApplicationsInnerToJSON = PickfaceContentsInnerApplicationsInnerToJSON;
|
|
@@ -1,43 +0,0 @@
|
|
|
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.1
|
|
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;
|