@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
package/src/apis/index.ts DELETED
@@ -1,3 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- export * from './PickfacesApi';
package/src/index.ts DELETED
@@ -1,5 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- export * from './runtime';
4
- export * from './apis/index';
5
- export * from './models/index';
@@ -1,69 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Pickfaces API
5
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.2
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface ApiError
20
- */
21
- export interface ApiError {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof ApiError
26
- */
27
- code?: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof ApiError
32
- */
33
- message: string;
34
- }
35
-
36
- /**
37
- * Check if a given object implements the ApiError interface.
38
- */
39
- export function instanceOfApiError(value: object): boolean {
40
- if (!('message' in value)) return false;
41
- return true;
42
- }
43
-
44
- export function ApiErrorFromJSON(json: any): ApiError {
45
- return ApiErrorFromJSONTyped(json, false);
46
- }
47
-
48
- export function ApiErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiError {
49
- if (json == null) {
50
- return json;
51
- }
52
- return {
53
-
54
- 'code': json['code'] == null ? undefined : json['code'],
55
- 'message': json['message'],
56
- };
57
- }
58
-
59
- export function ApiErrorToJSON(value?: ApiError | null): any {
60
- if (value == null) {
61
- return value;
62
- }
63
- return {
64
-
65
- 'code': value['code'],
66
- 'message': value['message'],
67
- };
68
- }
69
-
@@ -1,103 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Pickfaces API
5
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.2
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface ContainerModel
20
- */
21
- export interface ContainerModel {
22
- /**
23
- * Unique object identifier
24
- * @type {string}
25
- * @memberof ContainerModel
26
- */
27
- id: string;
28
- /**
29
- * A reference to the resource location
30
- * @type {string}
31
- * @memberof ContainerModel
32
- */
33
- ref: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof ContainerModel
38
- */
39
- name: string;
40
- /**
41
- * The width of the model in millimetres
42
- * @type {number}
43
- * @memberof ContainerModel
44
- */
45
- width?: number;
46
- /**
47
- * The depth of the model in millimetres
48
- * @type {number}
49
- * @memberof ContainerModel
50
- */
51
- depth?: number;
52
- /**
53
- * The height of the model in millimetres
54
- * @type {number}
55
- * @memberof ContainerModel
56
- */
57
- height?: number;
58
- }
59
-
60
- /**
61
- * Check if a given object implements the ContainerModel interface.
62
- */
63
- export function instanceOfContainerModel(value: object): boolean {
64
- if (!('id' in value)) return false;
65
- if (!('ref' in value)) return false;
66
- if (!('name' in value)) return false;
67
- return true;
68
- }
69
-
70
- export function ContainerModelFromJSON(json: any): ContainerModel {
71
- return ContainerModelFromJSONTyped(json, false);
72
- }
73
-
74
- export function ContainerModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContainerModel {
75
- if (json == null) {
76
- return json;
77
- }
78
- return {
79
-
80
- 'id': json['id'],
81
- 'ref': json['ref'],
82
- 'name': json['name'],
83
- 'width': json['width'] == null ? undefined : json['width'],
84
- 'depth': json['depth'] == null ? undefined : json['depth'],
85
- 'height': json['height'] == null ? undefined : json['height'],
86
- };
87
- }
88
-
89
- export function ContainerModelToJSON(value?: ContainerModel | null): any {
90
- if (value == null) {
91
- return value;
92
- }
93
- return {
94
-
95
- 'id': value['id'],
96
- 'ref': value['ref'],
97
- 'name': value['name'],
98
- 'width': value['width'],
99
- 'depth': value['depth'],
100
- 'height': value['height'],
101
- };
102
- }
103
-
@@ -1,67 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Pickfaces API
5
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.2
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { ContainerModel } from './ContainerModel';
17
- import {
18
- ContainerModelFromJSON,
19
- ContainerModelFromJSONTyped,
20
- ContainerModelToJSON,
21
- } from './ContainerModel';
22
-
23
- /**
24
- *
25
- * @export
26
- * @interface ContainerModels
27
- */
28
- export interface ContainerModels {
29
- /**
30
- *
31
- * @type {Array<ContainerModel>}
32
- * @memberof ContainerModels
33
- */
34
- containerModels?: Array<ContainerModel>;
35
- }
36
-
37
- /**
38
- * Check if a given object implements the ContainerModels interface.
39
- */
40
- export function instanceOfContainerModels(value: object): boolean {
41
- return true;
42
- }
43
-
44
- export function ContainerModelsFromJSON(json: any): ContainerModels {
45
- return ContainerModelsFromJSONTyped(json, false);
46
- }
47
-
48
- export function ContainerModelsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContainerModels {
49
- if (json == null) {
50
- return json;
51
- }
52
- return {
53
-
54
- 'containerModels': json['containerModels'] == null ? undefined : ((json['containerModels'] as Array<any>).map(ContainerModelFromJSON)),
55
- };
56
- }
57
-
58
- export function ContainerModelsToJSON(value?: ContainerModels | null): any {
59
- if (value == null) {
60
- return value;
61
- }
62
- return {
63
-
64
- 'containerModels': value['containerModels'] == null ? undefined : ((value['containerModels'] as Array<any>).map(ContainerModelToJSON)),
65
- };
66
- }
67
-
@@ -1,68 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Pickfaces API
5
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.2
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface CreatePickfaceRequest
20
- */
21
- export interface CreatePickfaceRequest {
22
- /**
23
- * The location of the pickface
24
- * @type {string}
25
- * @memberof CreatePickfaceRequest
26
- */
27
- location?: string;
28
- /**
29
- * Unique object identifier
30
- * @type {string}
31
- * @memberof CreatePickfaceRequest
32
- */
33
- containerModelId?: string;
34
- }
35
-
36
- /**
37
- * Check if a given object implements the CreatePickfaceRequest interface.
38
- */
39
- export function instanceOfCreatePickfaceRequest(value: object): boolean {
40
- return true;
41
- }
42
-
43
- export function CreatePickfaceRequestFromJSON(json: any): CreatePickfaceRequest {
44
- return CreatePickfaceRequestFromJSONTyped(json, false);
45
- }
46
-
47
- export function CreatePickfaceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePickfaceRequest {
48
- if (json == null) {
49
- return json;
50
- }
51
- return {
52
-
53
- 'location': json['location'] == null ? undefined : json['location'],
54
- 'containerModelId': json['containerModelId'] == null ? undefined : json['containerModelId'],
55
- };
56
- }
57
-
58
- export function CreatePickfaceRequestToJSON(value?: CreatePickfaceRequest | null): any {
59
- if (value == null) {
60
- return value;
61
- }
62
- return {
63
-
64
- 'location': value['location'],
65
- 'containerModelId': value['containerModelId'],
66
- };
67
- }
68
-
@@ -1,76 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Pickfaces API
5
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.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
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface CreatePickfaceRequestDimensions
20
- */
21
- export interface CreatePickfaceRequestDimensions {
22
- /**
23
- * The width of the pickface in millimetres
24
- * @type {number}
25
- * @memberof CreatePickfaceRequestDimensions
26
- */
27
- width?: number;
28
- /**
29
- * The depth of the pickface in millimetres
30
- * @type {number}
31
- * @memberof CreatePickfaceRequestDimensions
32
- */
33
- depth?: number;
34
- /**
35
- * The height of the pickface in millimetres
36
- * @type {number}
37
- * @memberof CreatePickfaceRequestDimensions
38
- */
39
- height?: number;
40
- }
41
-
42
- /**
43
- * Check if a given object implements the CreatePickfaceRequestDimensions interface.
44
- */
45
- export function instanceOfCreatePickfaceRequestDimensions(value: object): boolean {
46
- return true;
47
- }
48
-
49
- export function CreatePickfaceRequestDimensionsFromJSON(json: any): CreatePickfaceRequestDimensions {
50
- return CreatePickfaceRequestDimensionsFromJSONTyped(json, false);
51
- }
52
-
53
- export function CreatePickfaceRequestDimensionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePickfaceRequestDimensions {
54
- if (json == null) {
55
- return json;
56
- }
57
- return {
58
-
59
- 'width': json['width'] == null ? undefined : json['width'],
60
- 'depth': json['depth'] == null ? undefined : json['depth'],
61
- 'height': json['height'] == null ? undefined : json['height'],
62
- };
63
- }
64
-
65
- export function CreatePickfaceRequestDimensionsToJSON(value?: CreatePickfaceRequestDimensions | null): any {
66
- if (value == null) {
67
- return value;
68
- }
69
- return {
70
-
71
- 'width': value['width'],
72
- 'depth': value['depth'],
73
- 'height': value['height'],
74
- };
75
- }
76
-
@@ -1,75 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Pickfaces API
5
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.2
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { Pickface } from './Pickface';
17
- import {
18
- PickfaceFromJSON,
19
- PickfaceFromJSONTyped,
20
- PickfaceToJSON,
21
- } from './Pickface';
22
-
23
- /**
24
- *
25
- * @export
26
- * @interface GetPickfaces200Response
27
- */
28
- export interface GetPickfaces200Response {
29
- /**
30
- *
31
- * @type {Array<Pickface>}
32
- * @memberof GetPickfaces200Response
33
- */
34
- pickfaces?: Array<Pickface>;
35
- /**
36
- *
37
- * @type {number}
38
- * @memberof GetPickfaces200Response
39
- */
40
- nextPageToken?: number;
41
- }
42
-
43
- /**
44
- * Check if a given object implements the GetPickfaces200Response interface.
45
- */
46
- export function instanceOfGetPickfaces200Response(value: object): boolean {
47
- return true;
48
- }
49
-
50
- export function GetPickfaces200ResponseFromJSON(json: any): GetPickfaces200Response {
51
- return GetPickfaces200ResponseFromJSONTyped(json, false);
52
- }
53
-
54
- export function GetPickfaces200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPickfaces200Response {
55
- if (json == null) {
56
- return json;
57
- }
58
- return {
59
-
60
- 'pickfaces': json['pickfaces'] == null ? undefined : ((json['pickfaces'] as Array<any>).map(PickfaceFromJSON)),
61
- 'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
62
- };
63
- }
64
-
65
- export function GetPickfaces200ResponseToJSON(value?: GetPickfaces200Response | null): any {
66
- if (value == null) {
67
- return value;
68
- }
69
- return {
70
-
71
- 'pickfaces': value['pickfaces'] == null ? undefined : ((value['pickfaces'] as Array<any>).map(PickfaceToJSON)),
72
- 'nextPageToken': value['nextPageToken'],
73
- };
74
- }
75
-
@@ -1,75 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Pickfaces API
5
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.2
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { PickfaceLog } from './PickfaceLog';
17
- import {
18
- PickfaceLogFromJSON,
19
- PickfaceLogFromJSONTyped,
20
- PickfaceLogToJSON,
21
- } from './PickfaceLog';
22
-
23
- /**
24
- *
25
- * @export
26
- * @interface ListPickfaceLogs200Response
27
- */
28
- export interface ListPickfaceLogs200Response {
29
- /**
30
- *
31
- * @type {Array<PickfaceLog>}
32
- * @memberof ListPickfaceLogs200Response
33
- */
34
- logs?: Array<PickfaceLog>;
35
- /**
36
- *
37
- * @type {number}
38
- * @memberof ListPickfaceLogs200Response
39
- */
40
- nextPageToken?: number;
41
- }
42
-
43
- /**
44
- * Check if a given object implements the ListPickfaceLogs200Response interface.
45
- */
46
- export function instanceOfListPickfaceLogs200Response(value: object): boolean {
47
- return true;
48
- }
49
-
50
- export function ListPickfaceLogs200ResponseFromJSON(json: any): ListPickfaceLogs200Response {
51
- return ListPickfaceLogs200ResponseFromJSONTyped(json, false);
52
- }
53
-
54
- export function ListPickfaceLogs200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListPickfaceLogs200Response {
55
- if (json == null) {
56
- return json;
57
- }
58
- return {
59
-
60
- 'logs': json['logs'] == null ? undefined : ((json['logs'] as Array<any>).map(PickfaceLogFromJSON)),
61
- 'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
62
- };
63
- }
64
-
65
- export function ListPickfaceLogs200ResponseToJSON(value?: ListPickfaceLogs200Response | null): any {
66
- if (value == null) {
67
- return value;
68
- }
69
- return {
70
-
71
- 'logs': value['logs'] == null ? undefined : ((value['logs'] as Array<any>).map(PickfaceLogToJSON)),
72
- 'nextPageToken': value['nextPageToken'],
73
- };
74
- }
75
-
@@ -1,74 +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
-
15
- import { exists, mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface ModelError
20
- */
21
- export interface ModelError {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof ModelError
26
- */
27
- code?: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof ModelError
32
- */
33
- message: string;
34
- }
35
-
36
- /**
37
- * Check if a given object implements the ModelError interface.
38
- */
39
- export function instanceOfModelError(value: object): boolean {
40
- let isInstance = true;
41
- isInstance = isInstance && "message" in value;
42
-
43
- return isInstance;
44
- }
45
-
46
- export function ModelErrorFromJSON(json: any): ModelError {
47
- return ModelErrorFromJSONTyped(json, false);
48
- }
49
-
50
- export function ModelErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelError {
51
- if ((json === undefined) || (json === null)) {
52
- return json;
53
- }
54
- return {
55
-
56
- 'code': !exists(json, 'code') ? undefined : json['code'],
57
- 'message': json['message'],
58
- };
59
- }
60
-
61
- export function ModelErrorToJSON(value?: ModelError | null): any {
62
- if (value === undefined) {
63
- return undefined;
64
- }
65
- if (value === null) {
66
- return null;
67
- }
68
- return {
69
-
70
- 'code': value.code,
71
- 'message': value.message,
72
- };
73
- }
74
-
@@ -1,79 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Pickfaces API
5
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.2
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface MoveStockRequest
20
- */
21
- export interface MoveStockRequest {
22
- /**
23
- * The variant to move from the pickface
24
- * @type {string}
25
- * @memberof MoveStockRequest
26
- */
27
- variantRef: string;
28
- /**
29
- * The quantity to move from the pickface
30
- * @type {number}
31
- * @memberof MoveStockRequest
32
- */
33
- quantity: number;
34
- /**
35
- * The pickface to move the stock to
36
- * @type {string}
37
- * @memberof MoveStockRequest
38
- */
39
- toPickfaceRef: string;
40
- }
41
-
42
- /**
43
- * Check if a given object implements the MoveStockRequest interface.
44
- */
45
- export function instanceOfMoveStockRequest(value: object): boolean {
46
- if (!('variantRef' in value)) return false;
47
- if (!('quantity' in value)) return false;
48
- if (!('toPickfaceRef' in value)) return false;
49
- return true;
50
- }
51
-
52
- export function MoveStockRequestFromJSON(json: any): MoveStockRequest {
53
- return MoveStockRequestFromJSONTyped(json, false);
54
- }
55
-
56
- export function MoveStockRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoveStockRequest {
57
- if (json == null) {
58
- return json;
59
- }
60
- return {
61
-
62
- 'variantRef': json['variantRef'],
63
- 'quantity': json['quantity'],
64
- 'toPickfaceRef': json['toPickfaceRef'],
65
- };
66
- }
67
-
68
- export function MoveStockRequestToJSON(value?: MoveStockRequest | null): any {
69
- if (value == null) {
70
- return value;
71
- }
72
- return {
73
-
74
- 'variantRef': value['variantRef'],
75
- 'quantity': value['quantity'],
76
- 'toPickfaceRef': value['toPickfaceRef'],
77
- };
78
- }
79
-