@teemill/pickfaces 0.12.2 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. package/.openapi-generator/FILES +6 -24
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +3 -3
  4. package/api.ts +2297 -0
  5. package/base.ts +86 -0
  6. package/common.ts +150 -0
  7. package/configuration.ts +110 -0
  8. package/dist/api.d.ts +1480 -0
  9. package/dist/api.js +1243 -0
  10. package/dist/base.d.ts +66 -0
  11. package/dist/base.js +65 -0
  12. package/dist/common.d.ts +65 -0
  13. package/dist/common.js +161 -0
  14. package/dist/configuration.d.ts +91 -0
  15. package/dist/configuration.js +43 -0
  16. package/dist/esm/api.d.ts +1480 -0
  17. package/dist/esm/api.js +1236 -0
  18. package/dist/esm/base.d.ts +66 -0
  19. package/dist/esm/base.js +60 -0
  20. package/dist/esm/common.d.ts +65 -0
  21. package/dist/esm/common.js +149 -0
  22. package/dist/esm/configuration.d.ts +91 -0
  23. package/dist/esm/configuration.js +39 -0
  24. package/dist/esm/index.d.ts +13 -3
  25. package/dist/esm/index.js +13 -3
  26. package/dist/index.d.ts +13 -3
  27. package/dist/index.js +15 -5
  28. package/git_push.sh +57 -0
  29. package/index.ts +18 -0
  30. package/package.json +15 -3
  31. package/tsconfig.json +4 -6
  32. package/dist/apis/PickfacesApi.d.ts +0 -189
  33. package/dist/apis/PickfacesApi.js +0 -569
  34. package/dist/apis/index.d.ts +0 -1
  35. package/dist/apis/index.js +0 -19
  36. package/dist/esm/apis/PickfacesApi.d.ts +0 -189
  37. package/dist/esm/apis/PickfacesApi.js +0 -565
  38. package/dist/esm/apis/index.d.ts +0 -1
  39. package/dist/esm/apis/index.js +0 -3
  40. package/dist/esm/models/ApiError.d.ts +0 -37
  41. package/dist/esm/models/ApiError.js +0 -42
  42. package/dist/esm/models/ContainerModel.d.ts +0 -61
  43. package/dist/esm/models/ContainerModel.js +0 -54
  44. package/dist/esm/models/ContainerModels.d.ts +0 -32
  45. package/dist/esm/models/ContainerModels.js +0 -39
  46. package/dist/esm/models/CreatePickfaceRequest.d.ts +0 -37
  47. package/dist/esm/models/CreatePickfaceRequest.js +0 -40
  48. package/dist/esm/models/CreatePickfaceRequestDimensions.d.ts +0 -43
  49. package/dist/esm/models/CreatePickfaceRequestDimensions.js +0 -42
  50. package/dist/esm/models/GetPickfaces200Response.d.ts +0 -38
  51. package/dist/esm/models/GetPickfaces200Response.js +0 -41
  52. package/dist/esm/models/ListPickfaceLogs200Response.d.ts +0 -38
  53. package/dist/esm/models/ListPickfaceLogs200Response.js +0 -41
  54. package/dist/esm/models/ModelError.d.ts +0 -37
  55. package/dist/esm/models/ModelError.js +0 -46
  56. package/dist/esm/models/MoveStockRequest.d.ts +0 -43
  57. package/dist/esm/models/MoveStockRequest.js +0 -48
  58. package/dist/esm/models/Pickface.d.ts +0 -83
  59. package/dist/esm/models/Pickface.js +0 -58
  60. package/dist/esm/models/PickfaceContainerModel.d.ts +0 -37
  61. package/dist/esm/models/PickfaceContainerModel.js +0 -40
  62. package/dist/esm/models/PickfaceContentsInner.d.ts +0 -58
  63. package/dist/esm/models/PickfaceContentsInner.js +0 -49
  64. package/dist/esm/models/PickfaceContentsInnerApplicationsInner.d.ts +0 -37
  65. package/dist/esm/models/PickfaceContentsInnerApplicationsInner.js +0 -40
  66. package/dist/esm/models/PickfaceContentsInnerMetadata.d.ts +0 -43
  67. package/dist/esm/models/PickfaceContentsInnerMetadata.js +0 -42
  68. package/dist/esm/models/PickfaceContentsInnerQuantity.d.ts +0 -43
  69. package/dist/esm/models/PickfaceContentsInnerQuantity.js +0 -42
  70. package/dist/esm/models/PickfaceLastPicked.d.ts +0 -55
  71. package/dist/esm/models/PickfaceLastPicked.js +0 -46
  72. package/dist/esm/models/PickfaceLastRestocked.d.ts +0 -55
  73. package/dist/esm/models/PickfaceLastRestocked.js +0 -46
  74. package/dist/esm/models/PickfaceLog.d.ts +0 -55
  75. package/dist/esm/models/PickfaceLog.js +0 -46
  76. package/dist/esm/models/PickfaceLogUser.d.ts +0 -37
  77. package/dist/esm/models/PickfaceLogUser.js +0 -45
  78. package/dist/esm/models/PickfaceModel.d.ts +0 -37
  79. package/dist/esm/models/PickfaceModel.js +0 -40
  80. package/dist/esm/models/PickfaceModels.d.ts +0 -32
  81. package/dist/esm/models/PickfaceModels.js +0 -39
  82. package/dist/esm/models/UpdatePickfaceRequest.d.ts +0 -44
  83. package/dist/esm/models/UpdatePickfaceRequest.js +0 -43
  84. package/dist/esm/models/UpdatePickfaceRequestContents.d.ts +0 -37
  85. package/dist/esm/models/UpdatePickfaceRequestContents.js +0 -40
  86. package/dist/esm/models/UpdatePickfaceRequestContentsInner.d.ts +0 -38
  87. package/dist/esm/models/UpdatePickfaceRequestContentsInner.js +0 -45
  88. package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantity.d.ts +0 -45
  89. package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantity.js +0 -51
  90. package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.d.ts +0 -45
  91. package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.js +0 -51
  92. package/dist/esm/models/index.d.ts +0 -19
  93. package/dist/esm/models/index.js +0 -21
  94. package/dist/esm/runtime.d.ts +0 -187
  95. package/dist/esm/runtime.js +0 -333
  96. package/dist/models/ApiError.d.ts +0 -37
  97. package/dist/models/ApiError.js +0 -49
  98. package/dist/models/ContainerModel.d.ts +0 -61
  99. package/dist/models/ContainerModel.js +0 -61
  100. package/dist/models/ContainerModels.d.ts +0 -32
  101. package/dist/models/ContainerModels.js +0 -46
  102. package/dist/models/CreatePickfaceRequest.d.ts +0 -37
  103. package/dist/models/CreatePickfaceRequest.js +0 -47
  104. package/dist/models/CreatePickfaceRequestDimensions.d.ts +0 -43
  105. package/dist/models/CreatePickfaceRequestDimensions.js +0 -49
  106. package/dist/models/GetPickfaces200Response.d.ts +0 -38
  107. package/dist/models/GetPickfaces200Response.js +0 -48
  108. package/dist/models/ListPickfaceLogs200Response.d.ts +0 -38
  109. package/dist/models/ListPickfaceLogs200Response.js +0 -48
  110. package/dist/models/ModelError.d.ts +0 -37
  111. package/dist/models/ModelError.js +0 -53
  112. package/dist/models/MoveStockRequest.d.ts +0 -43
  113. package/dist/models/MoveStockRequest.js +0 -55
  114. package/dist/models/Pickface.d.ts +0 -83
  115. package/dist/models/Pickface.js +0 -65
  116. package/dist/models/PickfaceContainerModel.d.ts +0 -37
  117. package/dist/models/PickfaceContainerModel.js +0 -47
  118. package/dist/models/PickfaceContentsInner.d.ts +0 -58
  119. package/dist/models/PickfaceContentsInner.js +0 -56
  120. package/dist/models/PickfaceContentsInnerApplicationsInner.d.ts +0 -37
  121. package/dist/models/PickfaceContentsInnerApplicationsInner.js +0 -47
  122. package/dist/models/PickfaceContentsInnerMetadata.d.ts +0 -43
  123. package/dist/models/PickfaceContentsInnerMetadata.js +0 -49
  124. package/dist/models/PickfaceContentsInnerQuantity.d.ts +0 -43
  125. package/dist/models/PickfaceContentsInnerQuantity.js +0 -49
  126. package/dist/models/PickfaceLastPicked.d.ts +0 -55
  127. package/dist/models/PickfaceLastPicked.js +0 -53
  128. package/dist/models/PickfaceLastRestocked.d.ts +0 -55
  129. package/dist/models/PickfaceLastRestocked.js +0 -53
  130. package/dist/models/PickfaceLog.d.ts +0 -55
  131. package/dist/models/PickfaceLog.js +0 -53
  132. package/dist/models/PickfaceLogUser.d.ts +0 -37
  133. package/dist/models/PickfaceLogUser.js +0 -52
  134. package/dist/models/PickfaceModel.d.ts +0 -37
  135. package/dist/models/PickfaceModel.js +0 -47
  136. package/dist/models/PickfaceModels.d.ts +0 -32
  137. package/dist/models/PickfaceModels.js +0 -46
  138. package/dist/models/UpdatePickfaceRequest.d.ts +0 -44
  139. package/dist/models/UpdatePickfaceRequest.js +0 -50
  140. package/dist/models/UpdatePickfaceRequestContents.d.ts +0 -37
  141. package/dist/models/UpdatePickfaceRequestContents.js +0 -47
  142. package/dist/models/UpdatePickfaceRequestContentsInner.d.ts +0 -38
  143. package/dist/models/UpdatePickfaceRequestContentsInner.js +0 -52
  144. package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.d.ts +0 -45
  145. package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.js +0 -58
  146. package/dist/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.d.ts +0 -45
  147. package/dist/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.js +0 -58
  148. package/dist/models/index.d.ts +0 -19
  149. package/dist/models/index.js +0 -37
  150. package/dist/runtime.d.ts +0 -187
  151. package/dist/runtime.js +0 -349
  152. package/src/apis/PickfacesApi.ts +0 -821
  153. package/src/apis/index.ts +0 -3
  154. package/src/index.ts +0 -5
  155. package/src/models/ApiError.ts +0 -69
  156. package/src/models/ContainerModel.ts +0 -103
  157. package/src/models/ContainerModels.ts +0 -67
  158. package/src/models/CreatePickfaceRequest.ts +0 -68
  159. package/src/models/CreatePickfaceRequestDimensions.ts +0 -76
  160. package/src/models/GetPickfaces200Response.ts +0 -75
  161. package/src/models/ListPickfaceLogs200Response.ts +0 -75
  162. package/src/models/ModelError.ts +0 -74
  163. package/src/models/MoveStockRequest.ts +0 -79
  164. package/src/models/Pickface.ts +0 -149
  165. package/src/models/PickfaceContainerModel.ts +0 -68
  166. package/src/models/PickfaceContentsInner.ts +0 -111
  167. package/src/models/PickfaceContentsInnerApplicationsInner.ts +0 -68
  168. package/src/models/PickfaceContentsInnerMetadata.ts +0 -76
  169. package/src/models/PickfaceContentsInnerQuantity.ts +0 -76
  170. package/src/models/PickfaceLastPicked.ts +0 -92
  171. package/src/models/PickfaceLastRestocked.ts +0 -92
  172. package/src/models/PickfaceLog.ts +0 -92
  173. package/src/models/PickfaceLogUser.ts +0 -73
  174. package/src/models/PickfaceModel.ts +0 -68
  175. package/src/models/PickfaceModels.ts +0 -67
  176. package/src/models/UpdatePickfaceRequest.ts +0 -83
  177. package/src/models/UpdatePickfaceRequestContents.ts +0 -68
  178. package/src/models/UpdatePickfaceRequestContentsInner.ts +0 -77
  179. package/src/models/UpdatePickfaceRequestContentsInnerQuantity.ts +0 -81
  180. package/src/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.ts +0 -81
  181. package/src/models/index.ts +0 -21
  182. package/src/runtime.ts +0 -441
@@ -1,61 +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.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 ContainerModel
16
- */
17
- export interface ContainerModel {
18
- /**
19
- * Unique object identifier
20
- * @type {string}
21
- * @memberof ContainerModel
22
- */
23
- id: string;
24
- /**
25
- * A reference to the resource location
26
- * @type {string}
27
- * @memberof ContainerModel
28
- */
29
- ref: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof ContainerModel
34
- */
35
- name: string;
36
- /**
37
- * The width of the model in millimetres
38
- * @type {number}
39
- * @memberof ContainerModel
40
- */
41
- width?: number;
42
- /**
43
- * The depth of the model in millimetres
44
- * @type {number}
45
- * @memberof ContainerModel
46
- */
47
- depth?: number;
48
- /**
49
- * The height of the model in millimetres
50
- * @type {number}
51
- * @memberof ContainerModel
52
- */
53
- height?: number;
54
- }
55
- /**
56
- * Check if a given object implements the ContainerModel interface.
57
- */
58
- export declare function instanceOfContainerModel(value: object): boolean;
59
- export declare function ContainerModelFromJSON(json: any): ContainerModel;
60
- export declare function ContainerModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContainerModel;
61
- export declare function ContainerModelToJSON(value?: ContainerModel | null): any;
@@ -1,54 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Pickfaces API
5
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.2
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the ContainerModel interface.
16
- */
17
- export function instanceOfContainerModel(value) {
18
- if (!('id' in value))
19
- return false;
20
- if (!('ref' in value))
21
- return false;
22
- if (!('name' in value))
23
- return false;
24
- return true;
25
- }
26
- export function ContainerModelFromJSON(json) {
27
- return ContainerModelFromJSONTyped(json, false);
28
- }
29
- export function ContainerModelFromJSONTyped(json, ignoreDiscriminator) {
30
- if (json == null) {
31
- return json;
32
- }
33
- return {
34
- 'id': json['id'],
35
- 'ref': json['ref'],
36
- 'name': json['name'],
37
- 'width': json['width'] == null ? undefined : json['width'],
38
- 'depth': json['depth'] == null ? undefined : json['depth'],
39
- 'height': json['height'] == null ? undefined : json['height'],
40
- };
41
- }
42
- export function ContainerModelToJSON(value) {
43
- if (value == null) {
44
- return value;
45
- }
46
- return {
47
- 'id': value['id'],
48
- 'ref': value['ref'],
49
- 'name': value['name'],
50
- 'width': value['width'],
51
- 'depth': value['depth'],
52
- 'height': value['height'],
53
- };
54
- }
@@ -1,32 +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.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 { ContainerModel } from './ContainerModel';
13
- /**
14
- *
15
- * @export
16
- * @interface ContainerModels
17
- */
18
- export interface ContainerModels {
19
- /**
20
- *
21
- * @type {Array<ContainerModel>}
22
- * @memberof ContainerModels
23
- */
24
- containerModels?: Array<ContainerModel>;
25
- }
26
- /**
27
- * Check if a given object implements the ContainerModels interface.
28
- */
29
- export declare function instanceOfContainerModels(value: object): boolean;
30
- export declare function ContainerModelsFromJSON(json: any): ContainerModels;
31
- export declare function ContainerModelsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContainerModels;
32
- export declare function ContainerModelsToJSON(value?: ContainerModels | null): any;
@@ -1,39 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Pickfaces API
5
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.2
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { ContainerModelFromJSON, ContainerModelToJSON, } from './ContainerModel';
15
- /**
16
- * Check if a given object implements the ContainerModels interface.
17
- */
18
- export function instanceOfContainerModels(value) {
19
- return true;
20
- }
21
- export function ContainerModelsFromJSON(json) {
22
- return ContainerModelsFromJSONTyped(json, false);
23
- }
24
- export function ContainerModelsFromJSONTyped(json, ignoreDiscriminator) {
25
- if (json == null) {
26
- return json;
27
- }
28
- return {
29
- 'containerModels': json['containerModels'] == null ? undefined : (json['containerModels'].map(ContainerModelFromJSON)),
30
- };
31
- }
32
- export function ContainerModelsToJSON(value) {
33
- if (value == null) {
34
- return value;
35
- }
36
- return {
37
- 'containerModels': value['containerModels'] == null ? undefined : (value['containerModels'].map(ContainerModelToJSON)),
38
- };
39
- }
@@ -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.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 CreatePickfaceRequest
16
- */
17
- export interface CreatePickfaceRequest {
18
- /**
19
- * The location of the pickface
20
- * @type {string}
21
- * @memberof CreatePickfaceRequest
22
- */
23
- location?: string;
24
- /**
25
- * Unique object identifier
26
- * @type {string}
27
- * @memberof CreatePickfaceRequest
28
- */
29
- containerModelId?: string;
30
- }
31
- /**
32
- * Check if a given object implements the CreatePickfaceRequest interface.
33
- */
34
- export declare function instanceOfCreatePickfaceRequest(value: object): boolean;
35
- export declare function CreatePickfaceRequestFromJSON(json: any): CreatePickfaceRequest;
36
- export declare function CreatePickfaceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePickfaceRequest;
37
- export declare function CreatePickfaceRequestToJSON(value?: CreatePickfaceRequest | null): any;
@@ -1,40 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Pickfaces API
5
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.2
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the CreatePickfaceRequest interface.
16
- */
17
- export function instanceOfCreatePickfaceRequest(value) {
18
- return true;
19
- }
20
- export function CreatePickfaceRequestFromJSON(json) {
21
- return CreatePickfaceRequestFromJSONTyped(json, false);
22
- }
23
- export function CreatePickfaceRequestFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
25
- return json;
26
- }
27
- return {
28
- 'location': json['location'] == null ? undefined : json['location'],
29
- 'containerModelId': json['containerModelId'] == null ? undefined : json['containerModelId'],
30
- };
31
- }
32
- export function CreatePickfaceRequestToJSON(value) {
33
- if (value == null) {
34
- return value;
35
- }
36
- return {
37
- 'location': value['location'],
38
- 'containerModelId': value['containerModelId'],
39
- };
40
- }
@@ -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.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 CreatePickfaceRequestDimensions
16
- */
17
- export interface CreatePickfaceRequestDimensions {
18
- /**
19
- * The width of the pickface in millimetres
20
- * @type {number}
21
- * @memberof CreatePickfaceRequestDimensions
22
- */
23
- width?: number;
24
- /**
25
- * The depth of the pickface in millimetres
26
- * @type {number}
27
- * @memberof CreatePickfaceRequestDimensions
28
- */
29
- depth?: number;
30
- /**
31
- * The height of the pickface in millimetres
32
- * @type {number}
33
- * @memberof CreatePickfaceRequestDimensions
34
- */
35
- height?: number;
36
- }
37
- /**
38
- * Check if a given object implements the CreatePickfaceRequestDimensions interface.
39
- */
40
- export declare function instanceOfCreatePickfaceRequestDimensions(value: object): boolean;
41
- export declare function CreatePickfaceRequestDimensionsFromJSON(json: any): CreatePickfaceRequestDimensions;
42
- export declare function CreatePickfaceRequestDimensionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePickfaceRequestDimensions;
43
- export declare function CreatePickfaceRequestDimensionsToJSON(value?: CreatePickfaceRequestDimensions | null): any;
@@ -1,42 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Pickfaces API
5
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.0
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 CreatePickfaceRequestDimensions interface.
16
- */
17
- export function instanceOfCreatePickfaceRequestDimensions(value) {
18
- return true;
19
- }
20
- export function CreatePickfaceRequestDimensionsFromJSON(json) {
21
- return CreatePickfaceRequestDimensionsFromJSONTyped(json, false);
22
- }
23
- export function CreatePickfaceRequestDimensionsFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
25
- return json;
26
- }
27
- return {
28
- 'width': json['width'] == null ? undefined : json['width'],
29
- 'depth': json['depth'] == null ? undefined : json['depth'],
30
- 'height': json['height'] == null ? undefined : json['height'],
31
- };
32
- }
33
- export function CreatePickfaceRequestDimensionsToJSON(value) {
34
- if (value == null) {
35
- return value;
36
- }
37
- return {
38
- 'width': value['width'],
39
- 'depth': value['depth'],
40
- 'height': value['height'],
41
- };
42
- }
@@ -1,38 +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.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 { Pickface } from './Pickface';
13
- /**
14
- *
15
- * @export
16
- * @interface GetPickfaces200Response
17
- */
18
- export interface GetPickfaces200Response {
19
- /**
20
- *
21
- * @type {Array<Pickface>}
22
- * @memberof GetPickfaces200Response
23
- */
24
- pickfaces?: Array<Pickface>;
25
- /**
26
- *
27
- * @type {number}
28
- * @memberof GetPickfaces200Response
29
- */
30
- nextPageToken?: number;
31
- }
32
- /**
33
- * Check if a given object implements the GetPickfaces200Response interface.
34
- */
35
- export declare function instanceOfGetPickfaces200Response(value: object): boolean;
36
- export declare function GetPickfaces200ResponseFromJSON(json: any): GetPickfaces200Response;
37
- export declare function GetPickfaces200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPickfaces200Response;
38
- export declare function GetPickfaces200ResponseToJSON(value?: GetPickfaces200Response | null): any;
@@ -1,41 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Pickfaces API
5
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.2
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { PickfaceFromJSON, PickfaceToJSON, } from './Pickface';
15
- /**
16
- * Check if a given object implements the GetPickfaces200Response interface.
17
- */
18
- export function instanceOfGetPickfaces200Response(value) {
19
- return true;
20
- }
21
- export function GetPickfaces200ResponseFromJSON(json) {
22
- return GetPickfaces200ResponseFromJSONTyped(json, false);
23
- }
24
- export function GetPickfaces200ResponseFromJSONTyped(json, ignoreDiscriminator) {
25
- if (json == null) {
26
- return json;
27
- }
28
- return {
29
- 'pickfaces': json['pickfaces'] == null ? undefined : (json['pickfaces'].map(PickfaceFromJSON)),
30
- 'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
31
- };
32
- }
33
- export function GetPickfaces200ResponseToJSON(value) {
34
- if (value == null) {
35
- return value;
36
- }
37
- return {
38
- 'pickfaces': value['pickfaces'] == null ? undefined : (value['pickfaces'].map(PickfaceToJSON)),
39
- 'nextPageToken': value['nextPageToken'],
40
- };
41
- }
@@ -1,38 +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.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 { PickfaceLog } from './PickfaceLog';
13
- /**
14
- *
15
- * @export
16
- * @interface ListPickfaceLogs200Response
17
- */
18
- export interface ListPickfaceLogs200Response {
19
- /**
20
- *
21
- * @type {Array<PickfaceLog>}
22
- * @memberof ListPickfaceLogs200Response
23
- */
24
- logs?: Array<PickfaceLog>;
25
- /**
26
- *
27
- * @type {number}
28
- * @memberof ListPickfaceLogs200Response
29
- */
30
- nextPageToken?: number;
31
- }
32
- /**
33
- * Check if a given object implements the ListPickfaceLogs200Response interface.
34
- */
35
- export declare function instanceOfListPickfaceLogs200Response(value: object): boolean;
36
- export declare function ListPickfaceLogs200ResponseFromJSON(json: any): ListPickfaceLogs200Response;
37
- export declare function ListPickfaceLogs200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListPickfaceLogs200Response;
38
- export declare function ListPickfaceLogs200ResponseToJSON(value?: ListPickfaceLogs200Response | null): any;
@@ -1,41 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Pickfaces API
5
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.2
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { PickfaceLogFromJSON, PickfaceLogToJSON, } from './PickfaceLog';
15
- /**
16
- * Check if a given object implements the ListPickfaceLogs200Response interface.
17
- */
18
- export function instanceOfListPickfaceLogs200Response(value) {
19
- return true;
20
- }
21
- export function ListPickfaceLogs200ResponseFromJSON(json) {
22
- return ListPickfaceLogs200ResponseFromJSONTyped(json, false);
23
- }
24
- export function ListPickfaceLogs200ResponseFromJSONTyped(json, ignoreDiscriminator) {
25
- if (json == null) {
26
- return json;
27
- }
28
- return {
29
- 'logs': json['logs'] == null ? undefined : (json['logs'].map(PickfaceLogFromJSON)),
30
- 'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
31
- };
32
- }
33
- export function ListPickfaceLogs200ResponseToJSON(value) {
34
- if (value == null) {
35
- return value;
36
- }
37
- return {
38
- 'logs': value['logs'] == null ? undefined : (value['logs'].map(PickfaceLogToJSON)),
39
- 'nextPageToken': value['nextPageToken'],
40
- };
41
- }
@@ -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,46 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Pickfaces API
5
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.8.0
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 { exists } from '../runtime';
15
- /**
16
- * Check if a given object implements the ModelError interface.
17
- */
18
- export function instanceOfModelError(value) {
19
- let isInstance = true;
20
- isInstance = isInstance && "message" in value;
21
- return isInstance;
22
- }
23
- export function ModelErrorFromJSON(json) {
24
- return ModelErrorFromJSONTyped(json, false);
25
- }
26
- export function ModelErrorFromJSONTyped(json, ignoreDiscriminator) {
27
- if ((json === undefined) || (json === null)) {
28
- return json;
29
- }
30
- return {
31
- 'code': !exists(json, 'code') ? undefined : json['code'],
32
- 'message': json['message'],
33
- };
34
- }
35
- export function ModelErrorToJSON(value) {
36
- if (value === undefined) {
37
- return undefined;
38
- }
39
- if (value === null) {
40
- return null;
41
- }
42
- return {
43
- 'code': value.code,
44
- 'message': value.message,
45
- };
46
- }
@@ -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.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 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;