@teemill/pickfaces 0.9.0 → 0.10.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 +1 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/PickfacesApi.d.ts +33 -2
- package/dist/apis/PickfacesApi.js +144 -1
- package/dist/models/ApiError.d.ts +1 -1
- package/dist/models/ApiError.js +10 -14
- package/dist/models/CreatePickfaceRequest.d.ts +1 -1
- package/dist/models/CreatePickfaceRequest.js +9 -14
- package/dist/models/CreatePickfaceRequestDimensions.d.ts +1 -1
- package/dist/models/CreatePickfaceRequestDimensions.js +11 -16
- package/dist/models/GetPickfaces200Response.d.ts +1 -1
- package/dist/models/GetPickfaces200Response.js +9 -14
- package/dist/models/ListPickfaceLogs200Response.d.ts +38 -0
- package/dist/models/ListPickfaceLogs200Response.js +48 -0
- package/dist/models/MoveStockRequest.d.ts +1 -1
- package/dist/models/MoveStockRequest.js +14 -15
- package/dist/models/Pickface.d.ts +1 -1
- package/dist/models/Pickface.js +23 -28
- package/dist/models/PickfaceContentsInner.d.ts +2 -2
- package/dist/models/PickfaceContentsInner.js +15 -20
- package/dist/models/PickfaceContentsInnerApplicationsInner.d.ts +1 -1
- package/dist/models/PickfaceContentsInnerApplicationsInner.js +9 -14
- package/dist/models/PickfaceContentsInnerMetadata.d.ts +4 -4
- package/dist/models/PickfaceContentsInnerMetadata.js +11 -16
- package/dist/models/PickfaceContentsInnerQuantity.d.ts +1 -1
- package/dist/models/PickfaceContentsInnerQuantity.js +11 -16
- package/dist/models/PickfaceLastPicked.d.ts +16 -5
- package/dist/models/PickfaceLastPicked.js +15 -17
- package/dist/models/PickfaceLastRestocked.d.ts +16 -5
- package/dist/models/PickfaceLastRestocked.js +15 -17
- package/dist/models/PickfaceLog.d.ts +16 -5
- package/dist/models/PickfaceLog.js +15 -17
- package/dist/models/PickfaceLogUser.d.ts +1 -1
- package/dist/models/PickfaceLogUser.js +1 -1
- package/dist/models/UpdatePickfaceRequest.d.ts +2 -2
- package/dist/models/UpdatePickfaceRequest.js +9 -14
- package/dist/models/UpdatePickfaceRequestContents.d.ts +1 -1
- package/dist/models/UpdatePickfaceRequestContents.js +9 -14
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/PickfacesApi.ts +149 -1
- package/src/models/ApiError.ts +10 -15
- package/src/models/CreatePickfaceRequest.ts +10 -15
- package/src/models/CreatePickfaceRequestDimensions.ts +12 -17
- package/src/models/GetPickfaces200Response.ts +10 -15
- package/src/models/ListPickfaceLogs200Response.ts +75 -0
- package/src/models/MoveStockRequest.ts +12 -17
- package/src/models/Pickface.ts +24 -29
- package/src/models/PickfaceContentsInner.ts +17 -22
- package/src/models/PickfaceContentsInnerApplicationsInner.ts +10 -15
- package/src/models/PickfaceContentsInnerMetadata.ts +15 -20
- package/src/models/PickfaceContentsInnerQuantity.ts +12 -17
- package/src/models/PickfaceLastPicked.ts +31 -27
- package/src/models/PickfaceLastRestocked.ts +31 -27
- package/src/models/PickfaceLog.ts +31 -27
- package/src/models/PickfaceLogUser.ts +1 -1
- package/src/models/UpdatePickfaceRequest.ts +11 -16
- package/src/models/UpdatePickfaceRequestContents.ts +10 -15
- package/src/models/index.ts +1 -1
- package/src/runtime.ts +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
* Any additional metadata
|
|
18
18
|
* @export
|
|
@@ -24,28 +24,26 @@ export interface PickfaceContentsInnerMetadata {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof PickfaceContentsInnerMetadata
|
|
26
26
|
*/
|
|
27
|
-
title?: string
|
|
27
|
+
title?: string;
|
|
28
28
|
/**
|
|
29
29
|
* The image of the front of the product
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof PickfaceContentsInnerMetadata
|
|
32
32
|
*/
|
|
33
|
-
frontImage?: string
|
|
33
|
+
frontImage?: string;
|
|
34
34
|
/**
|
|
35
35
|
* The image of the back of the product
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof PickfaceContentsInnerMetadata
|
|
38
38
|
*/
|
|
39
|
-
backImage?: string
|
|
39
|
+
backImage?: string;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* Check if a given object implements the PickfaceContentsInnerMetadata interface.
|
|
44
44
|
*/
|
|
45
45
|
export function instanceOfPickfaceContentsInnerMetadata(value: object): boolean {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
return isInstance;
|
|
46
|
+
return true;
|
|
49
47
|
}
|
|
50
48
|
|
|
51
49
|
export function PickfaceContentsInnerMetadataFromJSON(json: any): PickfaceContentsInnerMetadata {
|
|
@@ -53,29 +51,26 @@ export function PickfaceContentsInnerMetadataFromJSON(json: any): PickfaceConten
|
|
|
53
51
|
}
|
|
54
52
|
|
|
55
53
|
export function PickfaceContentsInnerMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceContentsInnerMetadata {
|
|
56
|
-
if (
|
|
54
|
+
if (json == null) {
|
|
57
55
|
return json;
|
|
58
56
|
}
|
|
59
57
|
return {
|
|
60
58
|
|
|
61
|
-
'title':
|
|
62
|
-
'frontImage':
|
|
63
|
-
'backImage':
|
|
59
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
60
|
+
'frontImage': json['frontImage'] == null ? undefined : json['frontImage'],
|
|
61
|
+
'backImage': json['backImage'] == null ? undefined : json['backImage'],
|
|
64
62
|
};
|
|
65
63
|
}
|
|
66
64
|
|
|
67
65
|
export function PickfaceContentsInnerMetadataToJSON(value?: PickfaceContentsInnerMetadata | null): any {
|
|
68
|
-
if (value
|
|
69
|
-
return
|
|
70
|
-
}
|
|
71
|
-
if (value === null) {
|
|
72
|
-
return null;
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
73
68
|
}
|
|
74
69
|
return {
|
|
75
70
|
|
|
76
|
-
'title': value
|
|
77
|
-
'frontImage': value
|
|
78
|
-
'backImage': value
|
|
71
|
+
'title': value['title'],
|
|
72
|
+
'frontImage': value['frontImage'],
|
|
73
|
+
'backImage': value['backImage'],
|
|
79
74
|
};
|
|
80
75
|
}
|
|
81
76
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -43,9 +43,7 @@ export interface PickfaceContentsInnerQuantity {
|
|
|
43
43
|
* Check if a given object implements the PickfaceContentsInnerQuantity interface.
|
|
44
44
|
*/
|
|
45
45
|
export function instanceOfPickfaceContentsInnerQuantity(value: object): boolean {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
return isInstance;
|
|
46
|
+
return true;
|
|
49
47
|
}
|
|
50
48
|
|
|
51
49
|
export function PickfaceContentsInnerQuantityFromJSON(json: any): PickfaceContentsInnerQuantity {
|
|
@@ -53,29 +51,26 @@ export function PickfaceContentsInnerQuantityFromJSON(json: any): PickfaceConten
|
|
|
53
51
|
}
|
|
54
52
|
|
|
55
53
|
export function PickfaceContentsInnerQuantityFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceContentsInnerQuantity {
|
|
56
|
-
if (
|
|
54
|
+
if (json == null) {
|
|
57
55
|
return json;
|
|
58
56
|
}
|
|
59
57
|
return {
|
|
60
58
|
|
|
61
|
-
'total':
|
|
62
|
-
'available':
|
|
63
|
-
'reserved':
|
|
59
|
+
'total': json['total'] == null ? undefined : json['total'],
|
|
60
|
+
'available': json['available'] == null ? undefined : json['available'],
|
|
61
|
+
'reserved': json['reserved'] == null ? undefined : json['reserved'],
|
|
64
62
|
};
|
|
65
63
|
}
|
|
66
64
|
|
|
67
65
|
export function PickfaceContentsInnerQuantityToJSON(value?: PickfaceContentsInnerQuantity | null): any {
|
|
68
|
-
if (value
|
|
69
|
-
return
|
|
70
|
-
}
|
|
71
|
-
if (value === null) {
|
|
72
|
-
return null;
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
73
68
|
}
|
|
74
69
|
return {
|
|
75
70
|
|
|
76
|
-
'total': value
|
|
77
|
-
'available': value
|
|
78
|
-
'reserved': value
|
|
71
|
+
'total': value['total'],
|
|
72
|
+
'available': value['available'],
|
|
73
|
+
'reserved': value['reserved'],
|
|
79
74
|
};
|
|
80
75
|
}
|
|
81
76
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,14 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
16
|
-
import type { PickfaceLogUser } from './PickfaceLogUser';
|
|
17
|
-
import {
|
|
18
|
-
PickfaceLogUserFromJSON,
|
|
19
|
-
PickfaceLogUserFromJSONTyped,
|
|
20
|
-
PickfaceLogUserToJSON,
|
|
21
|
-
} from './PickfaceLogUser';
|
|
22
|
-
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
23
16
|
/**
|
|
24
17
|
*
|
|
25
18
|
* @export
|
|
@@ -33,11 +26,23 @@ export interface PickfaceLastPicked {
|
|
|
33
26
|
*/
|
|
34
27
|
id?: string;
|
|
35
28
|
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {
|
|
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}
|
|
38
43
|
* @memberof PickfaceLastPicked
|
|
39
44
|
*/
|
|
40
|
-
|
|
45
|
+
reason?: string;
|
|
41
46
|
/**
|
|
42
47
|
* ISO 8601 Created at timestamp
|
|
43
48
|
* @type {Date}
|
|
@@ -50,9 +55,7 @@ export interface PickfaceLastPicked {
|
|
|
50
55
|
* Check if a given object implements the PickfaceLastPicked interface.
|
|
51
56
|
*/
|
|
52
57
|
export function instanceOfPickfaceLastPicked(value: object): boolean {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
return isInstance;
|
|
58
|
+
return true;
|
|
56
59
|
}
|
|
57
60
|
|
|
58
61
|
export function PickfaceLastPickedFromJSON(json: any): PickfaceLastPicked {
|
|
@@ -60,29 +63,30 @@ export function PickfaceLastPickedFromJSON(json: any): PickfaceLastPicked {
|
|
|
60
63
|
}
|
|
61
64
|
|
|
62
65
|
export function PickfaceLastPickedFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceLastPicked {
|
|
63
|
-
if (
|
|
66
|
+
if (json == null) {
|
|
64
67
|
return json;
|
|
65
68
|
}
|
|
66
69
|
return {
|
|
67
70
|
|
|
68
|
-
'id':
|
|
69
|
-
'
|
|
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'])),
|
|
71
76
|
};
|
|
72
77
|
}
|
|
73
78
|
|
|
74
79
|
export function PickfaceLastPickedToJSON(value?: PickfaceLastPicked | null): any {
|
|
75
|
-
if (value
|
|
76
|
-
return
|
|
77
|
-
}
|
|
78
|
-
if (value === null) {
|
|
79
|
-
return null;
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
80
82
|
}
|
|
81
83
|
return {
|
|
82
84
|
|
|
83
|
-
'id': value
|
|
84
|
-
'
|
|
85
|
-
'
|
|
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()),
|
|
86
90
|
};
|
|
87
91
|
}
|
|
88
92
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,14 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
16
|
-
import type { PickfaceLogUser } from './PickfaceLogUser';
|
|
17
|
-
import {
|
|
18
|
-
PickfaceLogUserFromJSON,
|
|
19
|
-
PickfaceLogUserFromJSONTyped,
|
|
20
|
-
PickfaceLogUserToJSON,
|
|
21
|
-
} from './PickfaceLogUser';
|
|
22
|
-
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
23
16
|
/**
|
|
24
17
|
*
|
|
25
18
|
* @export
|
|
@@ -33,11 +26,23 @@ export interface PickfaceLastRestocked {
|
|
|
33
26
|
*/
|
|
34
27
|
id?: string;
|
|
35
28
|
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {
|
|
29
|
+
* A reference to the resource location
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PickfaceLastRestocked
|
|
32
|
+
*/
|
|
33
|
+
userRef?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The action that was taken
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof PickfaceLastRestocked
|
|
38
|
+
*/
|
|
39
|
+
action?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The reason for the action
|
|
42
|
+
* @type {string}
|
|
38
43
|
* @memberof PickfaceLastRestocked
|
|
39
44
|
*/
|
|
40
|
-
|
|
45
|
+
reason?: string;
|
|
41
46
|
/**
|
|
42
47
|
* ISO 8601 Created at timestamp
|
|
43
48
|
* @type {Date}
|
|
@@ -50,9 +55,7 @@ export interface PickfaceLastRestocked {
|
|
|
50
55
|
* Check if a given object implements the PickfaceLastRestocked interface.
|
|
51
56
|
*/
|
|
52
57
|
export function instanceOfPickfaceLastRestocked(value: object): boolean {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
return isInstance;
|
|
58
|
+
return true;
|
|
56
59
|
}
|
|
57
60
|
|
|
58
61
|
export function PickfaceLastRestockedFromJSON(json: any): PickfaceLastRestocked {
|
|
@@ -60,29 +63,30 @@ export function PickfaceLastRestockedFromJSON(json: any): PickfaceLastRestocked
|
|
|
60
63
|
}
|
|
61
64
|
|
|
62
65
|
export function PickfaceLastRestockedFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceLastRestocked {
|
|
63
|
-
if (
|
|
66
|
+
if (json == null) {
|
|
64
67
|
return json;
|
|
65
68
|
}
|
|
66
69
|
return {
|
|
67
70
|
|
|
68
|
-
'id':
|
|
69
|
-
'
|
|
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'])),
|
|
71
76
|
};
|
|
72
77
|
}
|
|
73
78
|
|
|
74
79
|
export function PickfaceLastRestockedToJSON(value?: PickfaceLastRestocked | null): any {
|
|
75
|
-
if (value
|
|
76
|
-
return
|
|
77
|
-
}
|
|
78
|
-
if (value === null) {
|
|
79
|
-
return null;
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
80
82
|
}
|
|
81
83
|
return {
|
|
82
84
|
|
|
83
|
-
'id': value
|
|
84
|
-
'
|
|
85
|
-
'
|
|
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()),
|
|
86
90
|
};
|
|
87
91
|
}
|
|
88
92
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,14 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
16
|
-
import type { PickfaceLogUser } from './PickfaceLogUser';
|
|
17
|
-
import {
|
|
18
|
-
PickfaceLogUserFromJSON,
|
|
19
|
-
PickfaceLogUserFromJSONTyped,
|
|
20
|
-
PickfaceLogUserToJSON,
|
|
21
|
-
} from './PickfaceLogUser';
|
|
22
|
-
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
23
16
|
/**
|
|
24
17
|
*
|
|
25
18
|
* @export
|
|
@@ -33,11 +26,23 @@ export interface PickfaceLog {
|
|
|
33
26
|
*/
|
|
34
27
|
id?: string;
|
|
35
28
|
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {
|
|
29
|
+
* A reference to the resource location
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PickfaceLog
|
|
32
|
+
*/
|
|
33
|
+
userRef?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The action that was taken
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof PickfaceLog
|
|
38
|
+
*/
|
|
39
|
+
action?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The reason for the action
|
|
42
|
+
* @type {string}
|
|
38
43
|
* @memberof PickfaceLog
|
|
39
44
|
*/
|
|
40
|
-
|
|
45
|
+
reason?: string;
|
|
41
46
|
/**
|
|
42
47
|
* ISO 8601 Created at timestamp
|
|
43
48
|
* @type {Date}
|
|
@@ -50,9 +55,7 @@ export interface PickfaceLog {
|
|
|
50
55
|
* Check if a given object implements the PickfaceLog interface.
|
|
51
56
|
*/
|
|
52
57
|
export function instanceOfPickfaceLog(value: object): boolean {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
return isInstance;
|
|
58
|
+
return true;
|
|
56
59
|
}
|
|
57
60
|
|
|
58
61
|
export function PickfaceLogFromJSON(json: any): PickfaceLog {
|
|
@@ -60,29 +63,30 @@ export function PickfaceLogFromJSON(json: any): PickfaceLog {
|
|
|
60
63
|
}
|
|
61
64
|
|
|
62
65
|
export function PickfaceLogFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceLog {
|
|
63
|
-
if (
|
|
66
|
+
if (json == null) {
|
|
64
67
|
return json;
|
|
65
68
|
}
|
|
66
69
|
return {
|
|
67
70
|
|
|
68
|
-
'id':
|
|
69
|
-
'
|
|
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'])),
|
|
71
76
|
};
|
|
72
77
|
}
|
|
73
78
|
|
|
74
79
|
export function PickfaceLogToJSON(value?: PickfaceLog | null): any {
|
|
75
|
-
if (value
|
|
76
|
-
return
|
|
77
|
-
}
|
|
78
|
-
if (value === null) {
|
|
79
|
-
return null;
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
80
82
|
}
|
|
81
83
|
return {
|
|
82
84
|
|
|
83
|
-
'id': value
|
|
84
|
-
'
|
|
85
|
-
'
|
|
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()),
|
|
86
90
|
};
|
|
87
91
|
}
|
|
88
92
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
import type { UpdatePickfaceRequestContents } from './UpdatePickfaceRequestContents';
|
|
17
17
|
import {
|
|
18
18
|
UpdatePickfaceRequestContentsFromJSON,
|
|
@@ -37,16 +37,14 @@ export interface UpdatePickfaceRequest {
|
|
|
37
37
|
* @type {UpdatePickfaceRequestContents}
|
|
38
38
|
* @memberof UpdatePickfaceRequest
|
|
39
39
|
*/
|
|
40
|
-
contents?: UpdatePickfaceRequestContents
|
|
40
|
+
contents?: UpdatePickfaceRequestContents;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
44
|
* Check if a given object implements the UpdatePickfaceRequest interface.
|
|
45
45
|
*/
|
|
46
46
|
export function instanceOfUpdatePickfaceRequest(value: object): boolean {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
return isInstance;
|
|
47
|
+
return true;
|
|
50
48
|
}
|
|
51
49
|
|
|
52
50
|
export function UpdatePickfaceRequestFromJSON(json: any): UpdatePickfaceRequest {
|
|
@@ -54,27 +52,24 @@ export function UpdatePickfaceRequestFromJSON(json: any): UpdatePickfaceRequest
|
|
|
54
52
|
}
|
|
55
53
|
|
|
56
54
|
export function UpdatePickfaceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePickfaceRequest {
|
|
57
|
-
if (
|
|
55
|
+
if (json == null) {
|
|
58
56
|
return json;
|
|
59
57
|
}
|
|
60
58
|
return {
|
|
61
59
|
|
|
62
|
-
'enabled':
|
|
63
|
-
'contents':
|
|
60
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
61
|
+
'contents': json['contents'] == null ? undefined : UpdatePickfaceRequestContentsFromJSON(json['contents']),
|
|
64
62
|
};
|
|
65
63
|
}
|
|
66
64
|
|
|
67
65
|
export function UpdatePickfaceRequestToJSON(value?: UpdatePickfaceRequest | null): any {
|
|
68
|
-
if (value
|
|
69
|
-
return
|
|
70
|
-
}
|
|
71
|
-
if (value === null) {
|
|
72
|
-
return null;
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
73
68
|
}
|
|
74
69
|
return {
|
|
75
70
|
|
|
76
|
-
'enabled': value
|
|
77
|
-
'contents': UpdatePickfaceRequestContentsToJSON(value
|
|
71
|
+
'enabled': value['enabled'],
|
|
72
|
+
'contents': UpdatePickfaceRequestContentsToJSON(value['contents']),
|
|
78
73
|
};
|
|
79
74
|
}
|
|
80
75
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -37,9 +37,7 @@ export interface UpdatePickfaceRequestContents {
|
|
|
37
37
|
* Check if a given object implements the UpdatePickfaceRequestContents interface.
|
|
38
38
|
*/
|
|
39
39
|
export function instanceOfUpdatePickfaceRequestContents(value: object): boolean {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
return isInstance;
|
|
40
|
+
return true;
|
|
43
41
|
}
|
|
44
42
|
|
|
45
43
|
export function UpdatePickfaceRequestContentsFromJSON(json: any): UpdatePickfaceRequestContents {
|
|
@@ -47,27 +45,24 @@ export function UpdatePickfaceRequestContentsFromJSON(json: any): UpdatePickface
|
|
|
47
45
|
}
|
|
48
46
|
|
|
49
47
|
export function UpdatePickfaceRequestContentsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePickfaceRequestContents {
|
|
50
|
-
if (
|
|
48
|
+
if (json == null) {
|
|
51
49
|
return json;
|
|
52
50
|
}
|
|
53
51
|
return {
|
|
54
52
|
|
|
55
|
-
'variantRef':
|
|
56
|
-
'quantity':
|
|
53
|
+
'variantRef': json['variantRef'] == null ? undefined : json['variantRef'],
|
|
54
|
+
'quantity': json['quantity'] == null ? undefined : json['quantity'],
|
|
57
55
|
};
|
|
58
56
|
}
|
|
59
57
|
|
|
60
58
|
export function UpdatePickfaceRequestContentsToJSON(value?: UpdatePickfaceRequestContents | null): any {
|
|
61
|
-
if (value
|
|
62
|
-
return
|
|
63
|
-
}
|
|
64
|
-
if (value === null) {
|
|
65
|
-
return null;
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
66
61
|
}
|
|
67
62
|
return {
|
|
68
63
|
|
|
69
|
-
'variantRef': value
|
|
70
|
-
'quantity': value
|
|
64
|
+
'variantRef': value['variantRef'],
|
|
65
|
+
'quantity': value['quantity'],
|
|
71
66
|
};
|
|
72
67
|
}
|
|
73
68
|
|
package/src/models/index.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './ApiError';
|
|
|
4
4
|
export * from './CreatePickfaceRequest';
|
|
5
5
|
export * from './CreatePickfaceRequestDimensions';
|
|
6
6
|
export * from './GetPickfaces200Response';
|
|
7
|
+
export * from './ListPickfaceLogs200Response';
|
|
7
8
|
export * from './MoveStockRequest';
|
|
8
9
|
export * from './Pickface';
|
|
9
10
|
export * from './PickfaceContentsInner';
|
|
@@ -13,6 +14,5 @@ export * from './PickfaceContentsInnerQuantity';
|
|
|
13
14
|
export * from './PickfaceLastPicked';
|
|
14
15
|
export * from './PickfaceLastRestocked';
|
|
15
16
|
export * from './PickfaceLog';
|
|
16
|
-
export * from './PickfaceLogUser';
|
|
17
17
|
export * from './UpdatePickfaceRequest';
|
|
18
18
|
export * from './UpdatePickfaceRequestContents';
|
package/src/runtime.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|