@teemill/pickfaces 0.12.0 → 0.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/.openapi-generator/FILES +4 -2
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +2 -2
  4. package/dist/apis/PickfacesApi.d.ts +9 -9
  5. package/dist/apis/PickfacesApi.js +428 -729
  6. package/dist/esm/apis/PickfacesApi.d.ts +189 -0
  7. package/dist/esm/apis/PickfacesApi.js +565 -0
  8. package/dist/esm/apis/index.d.ts +1 -0
  9. package/dist/esm/apis/index.js +3 -0
  10. package/dist/esm/index.d.ts +3 -0
  11. package/dist/esm/index.js +5 -0
  12. package/dist/esm/models/ApiError.d.ts +37 -0
  13. package/dist/esm/models/ApiError.js +42 -0
  14. package/dist/esm/models/ContainerModel.d.ts +61 -0
  15. package/dist/esm/models/ContainerModel.js +54 -0
  16. package/dist/esm/models/ContainerModels.d.ts +32 -0
  17. package/dist/esm/models/ContainerModels.js +39 -0
  18. package/dist/esm/models/CreatePickfaceRequest.d.ts +37 -0
  19. package/dist/esm/models/CreatePickfaceRequest.js +40 -0
  20. package/dist/esm/models/CreatePickfaceRequestDimensions.d.ts +43 -0
  21. package/dist/esm/models/CreatePickfaceRequestDimensions.js +42 -0
  22. package/dist/esm/models/GetPickfaces200Response.d.ts +38 -0
  23. package/dist/esm/models/GetPickfaces200Response.js +41 -0
  24. package/dist/esm/models/ListPickfaceLogs200Response.d.ts +38 -0
  25. package/dist/esm/models/ListPickfaceLogs200Response.js +41 -0
  26. package/dist/esm/models/ModelError.d.ts +37 -0
  27. package/dist/esm/models/ModelError.js +46 -0
  28. package/dist/esm/models/MoveStockRequest.d.ts +43 -0
  29. package/dist/esm/models/MoveStockRequest.js +48 -0
  30. package/dist/esm/models/Pickface.d.ts +83 -0
  31. package/dist/esm/models/Pickface.js +58 -0
  32. package/dist/esm/models/PickfaceContainerModel.d.ts +37 -0
  33. package/dist/esm/models/PickfaceContainerModel.js +40 -0
  34. package/dist/esm/models/PickfaceContentsInner.d.ts +58 -0
  35. package/dist/esm/models/PickfaceContentsInner.js +49 -0
  36. package/dist/esm/models/PickfaceContentsInnerApplicationsInner.d.ts +37 -0
  37. package/dist/esm/models/PickfaceContentsInnerApplicationsInner.js +40 -0
  38. package/dist/esm/models/PickfaceContentsInnerMetadata.d.ts +43 -0
  39. package/dist/esm/models/PickfaceContentsInnerMetadata.js +42 -0
  40. package/dist/esm/models/PickfaceContentsInnerQuantity.d.ts +43 -0
  41. package/dist/esm/models/PickfaceContentsInnerQuantity.js +42 -0
  42. package/dist/esm/models/PickfaceLastPicked.d.ts +55 -0
  43. package/dist/esm/models/PickfaceLastPicked.js +46 -0
  44. package/dist/esm/models/PickfaceLastRestocked.d.ts +55 -0
  45. package/dist/esm/models/PickfaceLastRestocked.js +46 -0
  46. package/dist/esm/models/PickfaceLog.d.ts +55 -0
  47. package/dist/esm/models/PickfaceLog.js +46 -0
  48. package/dist/esm/models/PickfaceLogUser.d.ts +37 -0
  49. package/dist/esm/models/PickfaceLogUser.js +45 -0
  50. package/dist/esm/models/PickfaceModel.d.ts +37 -0
  51. package/dist/esm/models/PickfaceModel.js +40 -0
  52. package/dist/esm/models/PickfaceModels.d.ts +32 -0
  53. package/dist/esm/models/PickfaceModels.js +39 -0
  54. package/dist/esm/models/UpdatePickfaceRequest.d.ts +44 -0
  55. package/dist/esm/models/UpdatePickfaceRequest.js +43 -0
  56. package/dist/esm/models/UpdatePickfaceRequestContents.d.ts +37 -0
  57. package/dist/esm/models/UpdatePickfaceRequestContents.js +40 -0
  58. package/dist/esm/models/UpdatePickfaceRequestContentsInner.d.ts +38 -0
  59. package/dist/esm/models/UpdatePickfaceRequestContentsInner.js +45 -0
  60. package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantity.d.ts +45 -0
  61. package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantity.js +51 -0
  62. package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.d.ts +45 -0
  63. package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.js +51 -0
  64. package/dist/esm/models/index.d.ts +19 -0
  65. package/dist/esm/models/index.js +21 -0
  66. package/dist/esm/runtime.d.ts +187 -0
  67. package/dist/esm/runtime.js +333 -0
  68. package/dist/models/ApiError.d.ts +1 -1
  69. package/dist/models/ApiError.js +1 -1
  70. package/dist/models/ContainerModel.d.ts +61 -0
  71. package/dist/models/ContainerModel.js +61 -0
  72. package/dist/models/ContainerModels.d.ts +32 -0
  73. package/dist/models/ContainerModels.js +46 -0
  74. package/dist/models/CreatePickfaceRequest.d.ts +2 -2
  75. package/dist/models/CreatePickfaceRequest.js +3 -3
  76. package/dist/models/GetPickfaces200Response.d.ts +1 -1
  77. package/dist/models/GetPickfaces200Response.js +2 -2
  78. package/dist/models/ListPickfaceLogs200Response.d.ts +1 -1
  79. package/dist/models/ListPickfaceLogs200Response.js +2 -2
  80. package/dist/models/ModelError.js +2 -2
  81. package/dist/models/MoveStockRequest.d.ts +1 -1
  82. package/dist/models/MoveStockRequest.js +1 -1
  83. package/dist/models/Pickface.d.ts +4 -4
  84. package/dist/models/Pickface.js +7 -7
  85. package/dist/models/PickfaceContainerModel.d.ts +37 -0
  86. package/dist/models/PickfaceContainerModel.js +47 -0
  87. package/dist/models/PickfaceContentsInner.d.ts +1 -1
  88. package/dist/models/PickfaceContentsInner.js +4 -4
  89. package/dist/models/PickfaceContentsInnerApplicationsInner.d.ts +1 -1
  90. package/dist/models/PickfaceContentsInnerApplicationsInner.js +1 -1
  91. package/dist/models/PickfaceContentsInnerMetadata.d.ts +1 -1
  92. package/dist/models/PickfaceContentsInnerMetadata.js +1 -1
  93. package/dist/models/PickfaceContentsInnerQuantity.d.ts +1 -1
  94. package/dist/models/PickfaceContentsInnerQuantity.js +1 -1
  95. package/dist/models/PickfaceLastPicked.d.ts +1 -1
  96. package/dist/models/PickfaceLastPicked.js +1 -1
  97. package/dist/models/PickfaceLastRestocked.d.ts +1 -1
  98. package/dist/models/PickfaceLastRestocked.js +1 -1
  99. package/dist/models/PickfaceLog.d.ts +1 -1
  100. package/dist/models/PickfaceLog.js +1 -1
  101. package/dist/models/PickfaceLogUser.js +2 -2
  102. package/dist/models/PickfaceModel.d.ts +1 -1
  103. package/dist/models/PickfaceModel.js +1 -1
  104. package/dist/models/PickfaceModels.d.ts +1 -1
  105. package/dist/models/PickfaceModels.js +2 -2
  106. package/dist/models/UpdatePickfaceRequest.d.ts +2 -2
  107. package/dist/models/UpdatePickfaceRequest.js +4 -4
  108. package/dist/models/UpdatePickfaceRequestContentsInner.d.ts +1 -1
  109. package/dist/models/UpdatePickfaceRequestContentsInner.js +2 -2
  110. package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.d.ts +1 -1
  111. package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.js +1 -1
  112. package/dist/models/index.d.ts +3 -2
  113. package/dist/models/index.js +3 -2
  114. package/dist/runtime.d.ts +1 -1
  115. package/dist/runtime.js +223 -439
  116. package/package.json +4 -2
  117. package/src/apis/PickfacesApi.ts +16 -16
  118. package/src/models/ApiError.ts +1 -1
  119. package/src/models/ContainerModel.ts +103 -0
  120. package/src/models/ContainerModels.ts +67 -0
  121. package/src/models/CreatePickfaceRequest.ts +4 -4
  122. package/src/models/GetPickfaces200Response.ts +1 -1
  123. package/src/models/ListPickfaceLogs200Response.ts +1 -1
  124. package/src/models/MoveStockRequest.ts +1 -1
  125. package/src/models/Pickface.ts +11 -11
  126. package/src/models/PickfaceContainerModel.ts +68 -0
  127. package/src/models/PickfaceContentsInner.ts +1 -1
  128. package/src/models/PickfaceContentsInnerApplicationsInner.ts +1 -1
  129. package/src/models/PickfaceContentsInnerMetadata.ts +1 -1
  130. package/src/models/PickfaceContentsInnerQuantity.ts +1 -1
  131. package/src/models/PickfaceLastPicked.ts +1 -1
  132. package/src/models/PickfaceLastRestocked.ts +1 -1
  133. package/src/models/PickfaceLog.ts +1 -1
  134. package/src/models/PickfaceModel.ts +1 -1
  135. package/src/models/PickfaceModels.ts +1 -1
  136. package/src/models/UpdatePickfaceRequest.ts +4 -4
  137. package/src/models/UpdatePickfaceRequestContentsInner.ts +1 -1
  138. package/src/models/UpdatePickfaceRequestContentsInnerQuantity.ts +1 -1
  139. package/src/models/index.ts +3 -2
  140. package/src/runtime.ts +1 -1
  141. package/tsconfig.esm.json +7 -0
  142. package/tsconfig.json +2 -2
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pickfaces API
5
+ * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ *
7
+ * The version of the OpenAPI document: 0.12.2
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the MoveStockRequest interface.
16
+ */
17
+ export function instanceOfMoveStockRequest(value) {
18
+ if (!('variantRef' in value))
19
+ return false;
20
+ if (!('quantity' in value))
21
+ return false;
22
+ if (!('toPickfaceRef' in value))
23
+ return false;
24
+ return true;
25
+ }
26
+ export function MoveStockRequestFromJSON(json) {
27
+ return MoveStockRequestFromJSONTyped(json, false);
28
+ }
29
+ export function MoveStockRequestFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'variantRef': json['variantRef'],
35
+ 'quantity': json['quantity'],
36
+ 'toPickfaceRef': json['toPickfaceRef'],
37
+ };
38
+ }
39
+ export function MoveStockRequestToJSON(value) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'variantRef': value['variantRef'],
45
+ 'quantity': value['quantity'],
46
+ 'toPickfaceRef': value['toPickfaceRef'],
47
+ };
48
+ }
@@ -0,0 +1,83 @@
1
+ /**
2
+ * Pickfaces API
3
+ * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
+ *
5
+ * The version of the OpenAPI document: 0.12.2
6
+ * Contact: hello@teemill.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { PickfaceContainerModel } from './PickfaceContainerModel';
13
+ import type { PickfaceContentsInner } from './PickfaceContentsInner';
14
+ import type { PickfaceLastPicked } from './PickfaceLastPicked';
15
+ import type { PickfaceLastRestocked } from './PickfaceLastRestocked';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface Pickface
20
+ */
21
+ export interface Pickface {
22
+ /**
23
+ * Unique object identifier
24
+ * @type {string}
25
+ * @memberof Pickface
26
+ */
27
+ id?: string;
28
+ /**
29
+ * A reference to the resource location
30
+ * @type {string}
31
+ * @memberof Pickface
32
+ */
33
+ ref?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof Pickface
38
+ */
39
+ code?: string;
40
+ /**
41
+ *
42
+ * @type {boolean}
43
+ * @memberof Pickface
44
+ */
45
+ enabled?: boolean;
46
+ /**
47
+ *
48
+ * @type {PickfaceContainerModel}
49
+ * @memberof Pickface
50
+ */
51
+ containerModel?: PickfaceContainerModel;
52
+ /**
53
+ * The percentage of the pickface that has been taken up by its contents
54
+ * @type {number}
55
+ * @memberof Pickface
56
+ */
57
+ fullness?: number;
58
+ /**
59
+ *
60
+ * @type {PickfaceLastPicked}
61
+ * @memberof Pickface
62
+ */
63
+ lastPicked?: PickfaceLastPicked;
64
+ /**
65
+ *
66
+ * @type {PickfaceLastRestocked}
67
+ * @memberof Pickface
68
+ */
69
+ lastRestocked?: PickfaceLastRestocked;
70
+ /**
71
+ *
72
+ * @type {Array<PickfaceContentsInner>}
73
+ * @memberof Pickface
74
+ */
75
+ contents?: Array<PickfaceContentsInner>;
76
+ }
77
+ /**
78
+ * Check if a given object implements the Pickface interface.
79
+ */
80
+ export declare function instanceOfPickface(value: object): boolean;
81
+ export declare function PickfaceFromJSON(json: any): Pickface;
82
+ export declare function PickfaceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Pickface;
83
+ export declare function PickfaceToJSON(value?: Pickface | null): any;
@@ -0,0 +1,58 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pickfaces API
5
+ * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ *
7
+ * The version of the OpenAPI document: 0.12.2
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { PickfaceContainerModelFromJSON, PickfaceContainerModelToJSON, } from './PickfaceContainerModel';
15
+ import { PickfaceContentsInnerFromJSON, PickfaceContentsInnerToJSON, } from './PickfaceContentsInner';
16
+ import { PickfaceLastPickedFromJSON, PickfaceLastPickedToJSON, } from './PickfaceLastPicked';
17
+ import { PickfaceLastRestockedFromJSON, PickfaceLastRestockedToJSON, } from './PickfaceLastRestocked';
18
+ /**
19
+ * Check if a given object implements the Pickface interface.
20
+ */
21
+ export function instanceOfPickface(value) {
22
+ return true;
23
+ }
24
+ export function PickfaceFromJSON(json) {
25
+ return PickfaceFromJSONTyped(json, false);
26
+ }
27
+ export function PickfaceFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'id': json['id'] == null ? undefined : json['id'],
33
+ 'ref': json['ref'] == null ? undefined : json['ref'],
34
+ 'code': json['code'] == null ? undefined : json['code'],
35
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
36
+ 'containerModel': json['containerModel'] == null ? undefined : PickfaceContainerModelFromJSON(json['containerModel']),
37
+ 'fullness': json['fullness'] == null ? undefined : json['fullness'],
38
+ 'lastPicked': json['lastPicked'] == null ? undefined : PickfaceLastPickedFromJSON(json['lastPicked']),
39
+ 'lastRestocked': json['lastRestocked'] == null ? undefined : PickfaceLastRestockedFromJSON(json['lastRestocked']),
40
+ 'contents': json['contents'] == null ? undefined : (json['contents'].map(PickfaceContentsInnerFromJSON)),
41
+ };
42
+ }
43
+ export function PickfaceToJSON(value) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'id': value['id'],
49
+ 'ref': value['ref'],
50
+ 'code': value['code'],
51
+ 'enabled': value['enabled'],
52
+ 'containerModel': PickfaceContainerModelToJSON(value['containerModel']),
53
+ 'fullness': value['fullness'],
54
+ 'lastPicked': PickfaceLastPickedToJSON(value['lastPicked']),
55
+ 'lastRestocked': PickfaceLastRestockedToJSON(value['lastRestocked']),
56
+ 'contents': value['contents'] == null ? undefined : (value['contents'].map(PickfaceContentsInnerToJSON)),
57
+ };
58
+ }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Pickfaces API
3
+ * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
+ *
5
+ * The version of the OpenAPI document: 0.12.2
6
+ * Contact: hello@teemill.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PickfaceContainerModel
16
+ */
17
+ export interface PickfaceContainerModel {
18
+ /**
19
+ * Unique object identifier
20
+ * @type {string}
21
+ * @memberof PickfaceContainerModel
22
+ */
23
+ id?: string;
24
+ /**
25
+ * A reference to the resource location
26
+ * @type {string}
27
+ * @memberof PickfaceContainerModel
28
+ */
29
+ ref?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PickfaceContainerModel interface.
33
+ */
34
+ export declare function instanceOfPickfaceContainerModel(value: object): boolean;
35
+ export declare function PickfaceContainerModelFromJSON(json: any): PickfaceContainerModel;
36
+ export declare function PickfaceContainerModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceContainerModel;
37
+ export declare function PickfaceContainerModelToJSON(value?: PickfaceContainerModel | null): any;
@@ -0,0 +1,40 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pickfaces API
5
+ * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ *
7
+ * The version of the OpenAPI document: 0.12.2
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the PickfaceContainerModel interface.
16
+ */
17
+ export function instanceOfPickfaceContainerModel(value) {
18
+ return true;
19
+ }
20
+ export function PickfaceContainerModelFromJSON(json) {
21
+ return PickfaceContainerModelFromJSONTyped(json, false);
22
+ }
23
+ export function PickfaceContainerModelFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'id': json['id'] == null ? undefined : json['id'],
29
+ 'ref': json['ref'] == null ? undefined : json['ref'],
30
+ };
31
+ }
32
+ export function PickfaceContainerModelToJSON(value) {
33
+ if (value == null) {
34
+ return value;
35
+ }
36
+ return {
37
+ 'id': value['id'],
38
+ 'ref': value['ref'],
39
+ };
40
+ }
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Pickfaces API
3
+ * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
+ *
5
+ * The version of the OpenAPI document: 0.12.2
6
+ * Contact: hello@teemill.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { PickfaceContentsInnerApplicationsInner } from './PickfaceContentsInnerApplicationsInner';
13
+ import type { PickfaceContentsInnerMetadata } from './PickfaceContentsInnerMetadata';
14
+ import type { PickfaceContentsInnerQuantity } from './PickfaceContentsInnerQuantity';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface PickfaceContentsInner
19
+ */
20
+ export interface PickfaceContentsInner {
21
+ /**
22
+ * A reference to the resource location
23
+ * @type {string}
24
+ * @memberof PickfaceContentsInner
25
+ */
26
+ variantRef?: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof PickfaceContentsInner
31
+ */
32
+ ownerProjectId?: string;
33
+ /**
34
+ *
35
+ * @type {PickfaceContentsInnerQuantity}
36
+ * @memberof PickfaceContentsInner
37
+ */
38
+ quantity?: PickfaceContentsInnerQuantity;
39
+ /**
40
+ *
41
+ * @type {Array<PickfaceContentsInnerApplicationsInner>}
42
+ * @memberof PickfaceContentsInner
43
+ */
44
+ applications?: Array<PickfaceContentsInnerApplicationsInner>;
45
+ /**
46
+ *
47
+ * @type {PickfaceContentsInnerMetadata}
48
+ * @memberof PickfaceContentsInner
49
+ */
50
+ metadata?: PickfaceContentsInnerMetadata;
51
+ }
52
+ /**
53
+ * Check if a given object implements the PickfaceContentsInner interface.
54
+ */
55
+ export declare function instanceOfPickfaceContentsInner(value: object): boolean;
56
+ export declare function PickfaceContentsInnerFromJSON(json: any): PickfaceContentsInner;
57
+ export declare function PickfaceContentsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceContentsInner;
58
+ export declare function PickfaceContentsInnerToJSON(value?: PickfaceContentsInner | null): any;
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pickfaces API
5
+ * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ *
7
+ * The version of the OpenAPI document: 0.12.2
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { PickfaceContentsInnerApplicationsInnerFromJSON, PickfaceContentsInnerApplicationsInnerToJSON, } from './PickfaceContentsInnerApplicationsInner';
15
+ import { PickfaceContentsInnerMetadataFromJSON, PickfaceContentsInnerMetadataToJSON, } from './PickfaceContentsInnerMetadata';
16
+ import { PickfaceContentsInnerQuantityFromJSON, PickfaceContentsInnerQuantityToJSON, } from './PickfaceContentsInnerQuantity';
17
+ /**
18
+ * Check if a given object implements the PickfaceContentsInner interface.
19
+ */
20
+ export function instanceOfPickfaceContentsInner(value) {
21
+ return true;
22
+ }
23
+ export function PickfaceContentsInnerFromJSON(json) {
24
+ return PickfaceContentsInnerFromJSONTyped(json, false);
25
+ }
26
+ export function PickfaceContentsInnerFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'variantRef': json['variantRef'] == null ? undefined : json['variantRef'],
32
+ 'ownerProjectId': json['ownerProjectId'] == null ? undefined : json['ownerProjectId'],
33
+ 'quantity': json['quantity'] == null ? undefined : PickfaceContentsInnerQuantityFromJSON(json['quantity']),
34
+ 'applications': json['applications'] == null ? undefined : (json['applications'].map(PickfaceContentsInnerApplicationsInnerFromJSON)),
35
+ 'metadata': json['metadata'] == null ? undefined : PickfaceContentsInnerMetadataFromJSON(json['metadata']),
36
+ };
37
+ }
38
+ export function PickfaceContentsInnerToJSON(value) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'variantRef': value['variantRef'],
44
+ 'ownerProjectId': value['ownerProjectId'],
45
+ 'quantity': PickfaceContentsInnerQuantityToJSON(value['quantity']),
46
+ 'applications': value['applications'] == null ? undefined : (value['applications'].map(PickfaceContentsInnerApplicationsInnerToJSON)),
47
+ 'metadata': PickfaceContentsInnerMetadataToJSON(value['metadata']),
48
+ };
49
+ }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Pickfaces API
3
+ * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
+ *
5
+ * The version of the OpenAPI document: 0.12.2
6
+ * Contact: hello@teemill.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PickfaceContentsInnerApplicationsInner
16
+ */
17
+ export interface PickfaceContentsInnerApplicationsInner {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PickfaceContentsInnerApplicationsInner
22
+ */
23
+ placement?: string;
24
+ /**
25
+ * A unique identifier for the application
26
+ * @type {string}
27
+ * @memberof PickfaceContentsInnerApplicationsInner
28
+ */
29
+ signature?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PickfaceContentsInnerApplicationsInner interface.
33
+ */
34
+ export declare function instanceOfPickfaceContentsInnerApplicationsInner(value: object): boolean;
35
+ export declare function PickfaceContentsInnerApplicationsInnerFromJSON(json: any): PickfaceContentsInnerApplicationsInner;
36
+ export declare function PickfaceContentsInnerApplicationsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceContentsInnerApplicationsInner;
37
+ export declare function PickfaceContentsInnerApplicationsInnerToJSON(value?: PickfaceContentsInnerApplicationsInner | null): any;
@@ -0,0 +1,40 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pickfaces API
5
+ * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ *
7
+ * The version of the OpenAPI document: 0.12.2
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the PickfaceContentsInnerApplicationsInner interface.
16
+ */
17
+ export function instanceOfPickfaceContentsInnerApplicationsInner(value) {
18
+ return true;
19
+ }
20
+ export function PickfaceContentsInnerApplicationsInnerFromJSON(json) {
21
+ return PickfaceContentsInnerApplicationsInnerFromJSONTyped(json, false);
22
+ }
23
+ export function PickfaceContentsInnerApplicationsInnerFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'placement': json['placement'] == null ? undefined : json['placement'],
29
+ 'signature': json['signature'] == null ? undefined : json['signature'],
30
+ };
31
+ }
32
+ export function PickfaceContentsInnerApplicationsInnerToJSON(value) {
33
+ if (value == null) {
34
+ return value;
35
+ }
36
+ return {
37
+ 'placement': value['placement'],
38
+ 'signature': value['signature'],
39
+ };
40
+ }
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Pickfaces API
3
+ * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
+ *
5
+ * The version of the OpenAPI document: 0.12.2
6
+ * Contact: hello@teemill.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Any additional metadata
14
+ * @export
15
+ * @interface PickfaceContentsInnerMetadata
16
+ */
17
+ export interface PickfaceContentsInnerMetadata {
18
+ /**
19
+ * The title of the product
20
+ * @type {string}
21
+ * @memberof PickfaceContentsInnerMetadata
22
+ */
23
+ title?: string;
24
+ /**
25
+ * The image of the front of the product
26
+ * @type {string}
27
+ * @memberof PickfaceContentsInnerMetadata
28
+ */
29
+ frontImage?: string;
30
+ /**
31
+ * The image of the back of the product
32
+ * @type {string}
33
+ * @memberof PickfaceContentsInnerMetadata
34
+ */
35
+ backImage?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the PickfaceContentsInnerMetadata interface.
39
+ */
40
+ export declare function instanceOfPickfaceContentsInnerMetadata(value: object): boolean;
41
+ export declare function PickfaceContentsInnerMetadataFromJSON(json: any): PickfaceContentsInnerMetadata;
42
+ export declare function PickfaceContentsInnerMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceContentsInnerMetadata;
43
+ export declare function PickfaceContentsInnerMetadataToJSON(value?: PickfaceContentsInnerMetadata | null): any;
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pickfaces API
5
+ * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ *
7
+ * The version of the OpenAPI document: 0.12.2
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the PickfaceContentsInnerMetadata interface.
16
+ */
17
+ export function instanceOfPickfaceContentsInnerMetadata(value) {
18
+ return true;
19
+ }
20
+ export function PickfaceContentsInnerMetadataFromJSON(json) {
21
+ return PickfaceContentsInnerMetadataFromJSONTyped(json, false);
22
+ }
23
+ export function PickfaceContentsInnerMetadataFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'title': json['title'] == null ? undefined : json['title'],
29
+ 'frontImage': json['frontImage'] == null ? undefined : json['frontImage'],
30
+ 'backImage': json['backImage'] == null ? undefined : json['backImage'],
31
+ };
32
+ }
33
+ export function PickfaceContentsInnerMetadataToJSON(value) {
34
+ if (value == null) {
35
+ return value;
36
+ }
37
+ return {
38
+ 'title': value['title'],
39
+ 'frontImage': value['frontImage'],
40
+ 'backImage': value['backImage'],
41
+ };
42
+ }
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Pickfaces API
3
+ * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
+ *
5
+ * The version of the OpenAPI document: 0.12.2
6
+ * Contact: hello@teemill.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PickfaceContentsInnerQuantity
16
+ */
17
+ export interface PickfaceContentsInnerQuantity {
18
+ /**
19
+ * How many are in the box
20
+ * @type {number}
21
+ * @memberof PickfaceContentsInnerQuantity
22
+ */
23
+ total?: number;
24
+ /**
25
+ * How many are available to reserve
26
+ * @type {number}
27
+ * @memberof PickfaceContentsInnerQuantity
28
+ */
29
+ available?: number;
30
+ /**
31
+ * How many are pending some action e.g. to be picked
32
+ * @type {number}
33
+ * @memberof PickfaceContentsInnerQuantity
34
+ */
35
+ reserved?: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the PickfaceContentsInnerQuantity interface.
39
+ */
40
+ export declare function instanceOfPickfaceContentsInnerQuantity(value: object): boolean;
41
+ export declare function PickfaceContentsInnerQuantityFromJSON(json: any): PickfaceContentsInnerQuantity;
42
+ export declare function PickfaceContentsInnerQuantityFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceContentsInnerQuantity;
43
+ export declare function PickfaceContentsInnerQuantityToJSON(value?: PickfaceContentsInnerQuantity | null): any;
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pickfaces API
5
+ * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ *
7
+ * The version of the OpenAPI document: 0.12.2
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the PickfaceContentsInnerQuantity interface.
16
+ */
17
+ export function instanceOfPickfaceContentsInnerQuantity(value) {
18
+ return true;
19
+ }
20
+ export function PickfaceContentsInnerQuantityFromJSON(json) {
21
+ return PickfaceContentsInnerQuantityFromJSONTyped(json, false);
22
+ }
23
+ export function PickfaceContentsInnerQuantityFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'total': json['total'] == null ? undefined : json['total'],
29
+ 'available': json['available'] == null ? undefined : json['available'],
30
+ 'reserved': json['reserved'] == null ? undefined : json['reserved'],
31
+ };
32
+ }
33
+ export function PickfaceContentsInnerQuantityToJSON(value) {
34
+ if (value == null) {
35
+ return value;
36
+ }
37
+ return {
38
+ 'total': value['total'],
39
+ 'available': value['available'],
40
+ 'reserved': value['reserved'],
41
+ };
42
+ }