@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,53 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Pickfaces API
6
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
- *
8
- * The version of the OpenAPI document: 0.12.2
9
- * Contact: hello@teemill.com
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.PickfaceLastRestockedToJSON = exports.PickfaceLastRestockedFromJSONTyped = exports.PickfaceLastRestockedFromJSON = exports.instanceOfPickfaceLastRestocked = void 0;
17
- /**
18
- * Check if a given object implements the PickfaceLastRestocked interface.
19
- */
20
- function instanceOfPickfaceLastRestocked(value) {
21
- return true;
22
- }
23
- exports.instanceOfPickfaceLastRestocked = instanceOfPickfaceLastRestocked;
24
- function PickfaceLastRestockedFromJSON(json) {
25
- return PickfaceLastRestockedFromJSONTyped(json, false);
26
- }
27
- exports.PickfaceLastRestockedFromJSON = PickfaceLastRestockedFromJSON;
28
- function PickfaceLastRestockedFromJSONTyped(json, ignoreDiscriminator) {
29
- if (json == null) {
30
- return json;
31
- }
32
- return {
33
- 'id': json['id'] == null ? undefined : json['id'],
34
- 'userRef': json['userRef'] == null ? undefined : json['userRef'],
35
- 'action': json['action'] == null ? undefined : json['action'],
36
- 'reason': json['reason'] == null ? undefined : json['reason'],
37
- 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
38
- };
39
- }
40
- exports.PickfaceLastRestockedFromJSONTyped = PickfaceLastRestockedFromJSONTyped;
41
- function PickfaceLastRestockedToJSON(value) {
42
- if (value == null) {
43
- return value;
44
- }
45
- return {
46
- 'id': value['id'],
47
- 'userRef': value['userRef'],
48
- 'action': value['action'],
49
- 'reason': value['reason'],
50
- 'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
51
- };
52
- }
53
- exports.PickfaceLastRestockedToJSON = PickfaceLastRestockedToJSON;
@@ -1,55 +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 PickfaceLog
16
- */
17
- export interface PickfaceLog {
18
- /**
19
- * Unique object identifier
20
- * @type {string}
21
- * @memberof PickfaceLog
22
- */
23
- id?: string;
24
- /**
25
- * A reference to the resource location
26
- * @type {string}
27
- * @memberof PickfaceLog
28
- */
29
- userRef?: string;
30
- /**
31
- * The action that was taken
32
- * @type {string}
33
- * @memberof PickfaceLog
34
- */
35
- action?: string;
36
- /**
37
- * The reason for the action
38
- * @type {string}
39
- * @memberof PickfaceLog
40
- */
41
- reason?: string;
42
- /**
43
- * ISO 8601 Created at timestamp
44
- * @type {Date}
45
- * @memberof PickfaceLog
46
- */
47
- createdAt?: Date;
48
- }
49
- /**
50
- * Check if a given object implements the PickfaceLog interface.
51
- */
52
- export declare function instanceOfPickfaceLog(value: object): boolean;
53
- export declare function PickfaceLogFromJSON(json: any): PickfaceLog;
54
- export declare function PickfaceLogFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceLog;
55
- export declare function PickfaceLogToJSON(value?: PickfaceLog | null): any;
@@ -1,53 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Pickfaces API
6
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
- *
8
- * The version of the OpenAPI document: 0.12.2
9
- * Contact: hello@teemill.com
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.PickfaceLogToJSON = exports.PickfaceLogFromJSONTyped = exports.PickfaceLogFromJSON = exports.instanceOfPickfaceLog = void 0;
17
- /**
18
- * Check if a given object implements the PickfaceLog interface.
19
- */
20
- function instanceOfPickfaceLog(value) {
21
- return true;
22
- }
23
- exports.instanceOfPickfaceLog = instanceOfPickfaceLog;
24
- function PickfaceLogFromJSON(json) {
25
- return PickfaceLogFromJSONTyped(json, false);
26
- }
27
- exports.PickfaceLogFromJSON = PickfaceLogFromJSON;
28
- function PickfaceLogFromJSONTyped(json, ignoreDiscriminator) {
29
- if (json == null) {
30
- return json;
31
- }
32
- return {
33
- 'id': json['id'] == null ? undefined : json['id'],
34
- 'userRef': json['userRef'] == null ? undefined : json['userRef'],
35
- 'action': json['action'] == null ? undefined : json['action'],
36
- 'reason': json['reason'] == null ? undefined : json['reason'],
37
- 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
38
- };
39
- }
40
- exports.PickfaceLogFromJSONTyped = PickfaceLogFromJSONTyped;
41
- function PickfaceLogToJSON(value) {
42
- if (value == null) {
43
- return value;
44
- }
45
- return {
46
- 'id': value['id'],
47
- 'userRef': value['userRef'],
48
- 'action': value['action'],
49
- 'reason': value['reason'],
50
- 'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
51
- };
52
- }
53
- exports.PickfaceLogToJSON = PickfaceLogToJSON;
@@ -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.9.1
6
- * Contact: hello@teemill.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * The user that took the action
14
- * @export
15
- * @interface PickfaceLogUser
16
- */
17
- export interface PickfaceLogUser {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof PickfaceLogUser
22
- */
23
- id?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof PickfaceLogUser
28
- */
29
- name?: string;
30
- }
31
- /**
32
- * Check if a given object implements the PickfaceLogUser interface.
33
- */
34
- export declare function instanceOfPickfaceLogUser(value: object): boolean;
35
- export declare function PickfaceLogUserFromJSON(json: any): PickfaceLogUser;
36
- export declare function PickfaceLogUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceLogUser;
37
- export declare function PickfaceLogUserToJSON(value?: PickfaceLogUser | null): any;
@@ -1,52 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Pickfaces API
6
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
- *
8
- * The version of the OpenAPI document: 0.9.1
9
- * Contact: hello@teemill.com
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.PickfaceLogUserToJSON = exports.PickfaceLogUserFromJSONTyped = exports.PickfaceLogUserFromJSON = exports.instanceOfPickfaceLogUser = void 0;
17
- const runtime_1 = require("../runtime");
18
- /**
19
- * Check if a given object implements the PickfaceLogUser interface.
20
- */
21
- function instanceOfPickfaceLogUser(value) {
22
- let isInstance = true;
23
- return isInstance;
24
- }
25
- exports.instanceOfPickfaceLogUser = instanceOfPickfaceLogUser;
26
- function PickfaceLogUserFromJSON(json) {
27
- return PickfaceLogUserFromJSONTyped(json, false);
28
- }
29
- exports.PickfaceLogUserFromJSON = PickfaceLogUserFromJSON;
30
- function PickfaceLogUserFromJSONTyped(json, ignoreDiscriminator) {
31
- if ((json === undefined) || (json === null)) {
32
- return json;
33
- }
34
- return {
35
- 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
36
- 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
37
- };
38
- }
39
- exports.PickfaceLogUserFromJSONTyped = PickfaceLogUserFromJSONTyped;
40
- function PickfaceLogUserToJSON(value) {
41
- if (value === undefined) {
42
- return undefined;
43
- }
44
- if (value === null) {
45
- return null;
46
- }
47
- return {
48
- 'id': value.id,
49
- 'name': value.name,
50
- };
51
- }
52
- exports.PickfaceLogUserToJSON = PickfaceLogUserToJSON;
@@ -1,37 +0,0 @@
1
- /**
2
- * Pickfaces API
3
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
- *
5
- * The version of the OpenAPI document: 0.12.1
6
- * Contact: hello@teemill.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface PickfaceModel
16
- */
17
- export interface PickfaceModel {
18
- /**
19
- * Unique object identifier
20
- * @type {string}
21
- * @memberof PickfaceModel
22
- */
23
- id?: string;
24
- /**
25
- * A reference to the resource location
26
- * @type {string}
27
- * @memberof PickfaceModel
28
- */
29
- ref?: string;
30
- }
31
- /**
32
- * Check if a given object implements the PickfaceModel interface.
33
- */
34
- export declare function instanceOfPickfaceModel(value: object): boolean;
35
- export declare function PickfaceModelFromJSON(json: any): PickfaceModel;
36
- export declare function PickfaceModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceModel;
37
- export declare function PickfaceModelToJSON(value?: PickfaceModel | null): any;
@@ -1,47 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Pickfaces API
6
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
- *
8
- * The version of the OpenAPI document: 0.12.1
9
- * Contact: hello@teemill.com
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.PickfaceModelToJSON = exports.PickfaceModelFromJSONTyped = exports.PickfaceModelFromJSON = exports.instanceOfPickfaceModel = void 0;
17
- /**
18
- * Check if a given object implements the PickfaceModel interface.
19
- */
20
- function instanceOfPickfaceModel(value) {
21
- return true;
22
- }
23
- exports.instanceOfPickfaceModel = instanceOfPickfaceModel;
24
- function PickfaceModelFromJSON(json) {
25
- return PickfaceModelFromJSONTyped(json, false);
26
- }
27
- exports.PickfaceModelFromJSON = PickfaceModelFromJSON;
28
- function PickfaceModelFromJSONTyped(json, ignoreDiscriminator) {
29
- if (json == null) {
30
- return json;
31
- }
32
- return {
33
- 'id': json['id'] == null ? undefined : json['id'],
34
- 'ref': json['ref'] == null ? undefined : json['ref'],
35
- };
36
- }
37
- exports.PickfaceModelFromJSONTyped = PickfaceModelFromJSONTyped;
38
- function PickfaceModelToJSON(value) {
39
- if (value == null) {
40
- return value;
41
- }
42
- return {
43
- 'id': value['id'],
44
- 'ref': value['ref'],
45
- };
46
- }
47
- exports.PickfaceModelToJSON = PickfaceModelToJSON;
@@ -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.1
6
- * Contact: hello@teemill.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { PickfaceModel } from './PickfaceModel';
13
- /**
14
- *
15
- * @export
16
- * @interface PickfaceModels
17
- */
18
- export interface PickfaceModels {
19
- /**
20
- *
21
- * @type {Array<PickfaceModel>}
22
- * @memberof PickfaceModels
23
- */
24
- pickfaceModels?: Array<PickfaceModel>;
25
- }
26
- /**
27
- * Check if a given object implements the PickfaceModels interface.
28
- */
29
- export declare function instanceOfPickfaceModels(value: object): boolean;
30
- export declare function PickfaceModelsFromJSON(json: any): PickfaceModels;
31
- export declare function PickfaceModelsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceModels;
32
- export declare function PickfaceModelsToJSON(value?: PickfaceModels | null): any;
@@ -1,46 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Pickfaces API
6
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
- *
8
- * The version of the OpenAPI document: 0.12.1
9
- * Contact: hello@teemill.com
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.PickfaceModelsToJSON = exports.PickfaceModelsFromJSONTyped = exports.PickfaceModelsFromJSON = exports.instanceOfPickfaceModels = void 0;
17
- const PickfaceModel_1 = require("./PickfaceModel");
18
- /**
19
- * Check if a given object implements the PickfaceModels interface.
20
- */
21
- function instanceOfPickfaceModels(value) {
22
- return true;
23
- }
24
- exports.instanceOfPickfaceModels = instanceOfPickfaceModels;
25
- function PickfaceModelsFromJSON(json) {
26
- return PickfaceModelsFromJSONTyped(json, false);
27
- }
28
- exports.PickfaceModelsFromJSON = PickfaceModelsFromJSON;
29
- function PickfaceModelsFromJSONTyped(json, ignoreDiscriminator) {
30
- if (json == null) {
31
- return json;
32
- }
33
- return {
34
- 'pickfaceModels': json['pickfaceModels'] == null ? undefined : (json['pickfaceModels'].map(PickfaceModel_1.PickfaceModelFromJSON)),
35
- };
36
- }
37
- exports.PickfaceModelsFromJSONTyped = PickfaceModelsFromJSONTyped;
38
- function PickfaceModelsToJSON(value) {
39
- if (value == null) {
40
- return value;
41
- }
42
- return {
43
- 'pickfaceModels': value['pickfaceModels'] == null ? undefined : (value['pickfaceModels'].map(PickfaceModel_1.PickfaceModelToJSON)),
44
- };
45
- }
46
- exports.PickfaceModelsToJSON = PickfaceModelsToJSON;
@@ -1,44 +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 { UpdatePickfaceRequestContentsInner } from './UpdatePickfaceRequestContentsInner';
13
- /**
14
- * A list of updates to apply to the pickface.
15
- * @export
16
- * @interface UpdatePickfaceRequest
17
- */
18
- export interface UpdatePickfaceRequest {
19
- /**
20
- *
21
- * @type {boolean}
22
- * @memberof UpdatePickfaceRequest
23
- */
24
- enabled?: boolean;
25
- /**
26
- * Unique object identifier
27
- * @type {string}
28
- * @memberof UpdatePickfaceRequest
29
- */
30
- containerModelId?: string;
31
- /**
32
- *
33
- * @type {Array<UpdatePickfaceRequestContentsInner>}
34
- * @memberof UpdatePickfaceRequest
35
- */
36
- contents?: Array<UpdatePickfaceRequestContentsInner>;
37
- }
38
- /**
39
- * Check if a given object implements the UpdatePickfaceRequest interface.
40
- */
41
- export declare function instanceOfUpdatePickfaceRequest(value: object): boolean;
42
- export declare function UpdatePickfaceRequestFromJSON(json: any): UpdatePickfaceRequest;
43
- export declare function UpdatePickfaceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePickfaceRequest;
44
- export declare function UpdatePickfaceRequestToJSON(value?: UpdatePickfaceRequest | null): any;
@@ -1,50 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Pickfaces API
6
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
- *
8
- * The version of the OpenAPI document: 0.12.2
9
- * Contact: hello@teemill.com
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.UpdatePickfaceRequestToJSON = exports.UpdatePickfaceRequestFromJSONTyped = exports.UpdatePickfaceRequestFromJSON = exports.instanceOfUpdatePickfaceRequest = void 0;
17
- const UpdatePickfaceRequestContentsInner_1 = require("./UpdatePickfaceRequestContentsInner");
18
- /**
19
- * Check if a given object implements the UpdatePickfaceRequest interface.
20
- */
21
- function instanceOfUpdatePickfaceRequest(value) {
22
- return true;
23
- }
24
- exports.instanceOfUpdatePickfaceRequest = instanceOfUpdatePickfaceRequest;
25
- function UpdatePickfaceRequestFromJSON(json) {
26
- return UpdatePickfaceRequestFromJSONTyped(json, false);
27
- }
28
- exports.UpdatePickfaceRequestFromJSON = UpdatePickfaceRequestFromJSON;
29
- function UpdatePickfaceRequestFromJSONTyped(json, ignoreDiscriminator) {
30
- if (json == null) {
31
- return json;
32
- }
33
- return {
34
- 'enabled': json['enabled'] == null ? undefined : json['enabled'],
35
- 'containerModelId': json['containerModelId'] == null ? undefined : json['containerModelId'],
36
- 'contents': json['contents'] == null ? undefined : (json['contents'].map(UpdatePickfaceRequestContentsInner_1.UpdatePickfaceRequestContentsInnerFromJSON)),
37
- };
38
- }
39
- exports.UpdatePickfaceRequestFromJSONTyped = UpdatePickfaceRequestFromJSONTyped;
40
- function UpdatePickfaceRequestToJSON(value) {
41
- if (value == null) {
42
- return value;
43
- }
44
- return {
45
- 'enabled': value['enabled'],
46
- 'containerModelId': value['containerModelId'],
47
- 'contents': value['contents'] == null ? undefined : (value['contents'].map(UpdatePickfaceRequestContentsInner_1.UpdatePickfaceRequestContentsInnerToJSON)),
48
- };
49
- }
50
- exports.UpdatePickfaceRequestToJSON = UpdatePickfaceRequestToJSON;
@@ -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.10.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 UpdatePickfaceRequestContents
16
- */
17
- export interface UpdatePickfaceRequestContents {
18
- /**
19
- * The variant to add to/remove from the pickface
20
- * @type {string}
21
- * @memberof UpdatePickfaceRequestContents
22
- */
23
- variantRef?: string;
24
- /**
25
- * The quantity to add to/remove from the pickface. A negative number means stock will be removed
26
- * @type {number}
27
- * @memberof UpdatePickfaceRequestContents
28
- */
29
- quantity?: number;
30
- }
31
- /**
32
- * Check if a given object implements the UpdatePickfaceRequestContents interface.
33
- */
34
- export declare function instanceOfUpdatePickfaceRequestContents(value: object): boolean;
35
- export declare function UpdatePickfaceRequestContentsFromJSON(json: any): UpdatePickfaceRequestContents;
36
- export declare function UpdatePickfaceRequestContentsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePickfaceRequestContents;
37
- export declare function UpdatePickfaceRequestContentsToJSON(value?: UpdatePickfaceRequestContents | null): any;
@@ -1,47 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Pickfaces API
6
- * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
- *
8
- * The version of the OpenAPI document: 0.10.0
9
- * Contact: hello@teemill.com
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.UpdatePickfaceRequestContentsToJSON = exports.UpdatePickfaceRequestContentsFromJSONTyped = exports.UpdatePickfaceRequestContentsFromJSON = exports.instanceOfUpdatePickfaceRequestContents = void 0;
17
- /**
18
- * Check if a given object implements the UpdatePickfaceRequestContents interface.
19
- */
20
- function instanceOfUpdatePickfaceRequestContents(value) {
21
- return true;
22
- }
23
- exports.instanceOfUpdatePickfaceRequestContents = instanceOfUpdatePickfaceRequestContents;
24
- function UpdatePickfaceRequestContentsFromJSON(json) {
25
- return UpdatePickfaceRequestContentsFromJSONTyped(json, false);
26
- }
27
- exports.UpdatePickfaceRequestContentsFromJSON = UpdatePickfaceRequestContentsFromJSON;
28
- function UpdatePickfaceRequestContentsFromJSONTyped(json, ignoreDiscriminator) {
29
- if (json == null) {
30
- return json;
31
- }
32
- return {
33
- 'variantRef': json['variantRef'] == null ? undefined : json['variantRef'],
34
- 'quantity': json['quantity'] == null ? undefined : json['quantity'],
35
- };
36
- }
37
- exports.UpdatePickfaceRequestContentsFromJSONTyped = UpdatePickfaceRequestContentsFromJSONTyped;
38
- function UpdatePickfaceRequestContentsToJSON(value) {
39
- if (value == null) {
40
- return value;
41
- }
42
- return {
43
- 'variantRef': value['variantRef'],
44
- 'quantity': value['quantity'],
45
- };
46
- }
47
- exports.UpdatePickfaceRequestContentsToJSON = UpdatePickfaceRequestContentsToJSON;
@@ -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 { UpdatePickfaceRequestContentsInnerQuantity } from './UpdatePickfaceRequestContentsInnerQuantity';
13
- /**
14
- *
15
- * @export
16
- * @interface UpdatePickfaceRequestContentsInner
17
- */
18
- export interface UpdatePickfaceRequestContentsInner {
19
- /**
20
- * The variant to add or subtract from the pickface
21
- * @type {string}
22
- * @memberof UpdatePickfaceRequestContentsInner
23
- */
24
- variantRef: string;
25
- /**
26
- *
27
- * @type {UpdatePickfaceRequestContentsInnerQuantity}
28
- * @memberof UpdatePickfaceRequestContentsInner
29
- */
30
- quantity: UpdatePickfaceRequestContentsInnerQuantity;
31
- }
32
- /**
33
- * Check if a given object implements the UpdatePickfaceRequestContentsInner interface.
34
- */
35
- export declare function instanceOfUpdatePickfaceRequestContentsInner(value: object): boolean;
36
- export declare function UpdatePickfaceRequestContentsInnerFromJSON(json: any): UpdatePickfaceRequestContentsInner;
37
- export declare function UpdatePickfaceRequestContentsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePickfaceRequestContentsInner;
38
- export declare function UpdatePickfaceRequestContentsInnerToJSON(value?: UpdatePickfaceRequestContentsInner | null): any;