@teemill/pickfaces 0.6.0 → 0.8.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 (55) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +5 -4
  4. package/dist/apis/PickfacesApi.d.ts +10 -1
  5. package/dist/apis/PickfacesApi.js +12 -2
  6. package/dist/models/CreatePickfaceRequest.d.ts +1 -1
  7. package/dist/models/CreatePickfaceRequest.js +1 -1
  8. package/dist/models/CreatePickfaceRequestDimensions.d.ts +1 -1
  9. package/dist/models/CreatePickfaceRequestDimensions.js +1 -1
  10. package/dist/models/GetPickfaces200Response.d.ts +1 -1
  11. package/dist/models/GetPickfaces200Response.js +1 -1
  12. package/dist/models/ModelError.d.ts +1 -1
  13. package/dist/models/ModelError.js +1 -1
  14. package/dist/models/Pickface.d.ts +9 -7
  15. package/dist/models/Pickface.js +7 -5
  16. package/dist/models/PickfaceContentsInner.d.ts +1 -1
  17. package/dist/models/PickfaceContentsInner.js +1 -1
  18. package/dist/models/PickfaceContentsInnerApplicationsInner.d.ts +1 -1
  19. package/dist/models/PickfaceContentsInnerApplicationsInner.js +1 -1
  20. package/dist/models/PickfaceContentsInnerMetadata.d.ts +1 -1
  21. package/dist/models/PickfaceContentsInnerMetadata.js +1 -1
  22. package/dist/models/PickfaceContentsInnerQuantity.d.ts +1 -1
  23. package/dist/models/PickfaceContentsInnerQuantity.js +1 -1
  24. package/dist/models/PickfaceLastPicked.d.ts +44 -0
  25. package/dist/models/PickfaceLastPicked.js +55 -0
  26. package/dist/models/PickfaceLastRestocked.d.ts +44 -0
  27. package/dist/models/PickfaceLastRestocked.js +55 -0
  28. package/dist/models/PickfaceLog.d.ts +44 -0
  29. package/dist/models/PickfaceLog.js +55 -0
  30. package/dist/models/PickfaceLogUser.d.ts +37 -0
  31. package/dist/models/PickfaceLogUser.js +52 -0
  32. package/dist/models/UpdatePickfaceRequest.d.ts +1 -1
  33. package/dist/models/UpdatePickfaceRequest.js +1 -1
  34. package/dist/models/index.d.ts +4 -0
  35. package/dist/models/index.js +4 -0
  36. package/dist/runtime.d.ts +1 -1
  37. package/dist/runtime.js +1 -1
  38. package/package.json +1 -1
  39. package/src/apis/PickfacesApi.ts +15 -1
  40. package/src/models/CreatePickfaceRequest.ts +1 -1
  41. package/src/models/CreatePickfaceRequestDimensions.ts +1 -1
  42. package/src/models/GetPickfaces200Response.ts +1 -1
  43. package/src/models/ModelError.ts +1 -1
  44. package/src/models/Pickface.ts +23 -11
  45. package/src/models/PickfaceContentsInner.ts +1 -1
  46. package/src/models/PickfaceContentsInnerApplicationsInner.ts +1 -1
  47. package/src/models/PickfaceContentsInnerMetadata.ts +1 -1
  48. package/src/models/PickfaceContentsInnerQuantity.ts +1 -1
  49. package/src/models/PickfaceLastPicked.ts +88 -0
  50. package/src/models/PickfaceLastRestocked.ts +88 -0
  51. package/src/models/PickfaceLog.ts +88 -0
  52. package/src/models/PickfaceLogUser.ts +73 -0
  53. package/src/models/UpdatePickfaceRequest.ts +1 -1
  54. package/src/models/index.ts +4 -0
  55. package/src/runtime.ts +1 -1
@@ -0,0 +1,88 @@
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
+ import type { PickfaceLogUser } from './PickfaceLogUser';
17
+ import {
18
+ PickfaceLogUserFromJSON,
19
+ PickfaceLogUserFromJSONTyped,
20
+ PickfaceLogUserToJSON,
21
+ } from './PickfaceLogUser';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface PickfaceLog
27
+ */
28
+ export interface PickfaceLog {
29
+ /**
30
+ * Unique object identifier
31
+ * @type {string}
32
+ * @memberof PickfaceLog
33
+ */
34
+ id?: string;
35
+ /**
36
+ *
37
+ * @type {PickfaceLogUser}
38
+ * @memberof PickfaceLog
39
+ */
40
+ user?: PickfaceLogUser;
41
+ /**
42
+ * ISO 8601 Created at timestamp
43
+ * @type {Date}
44
+ * @memberof PickfaceLog
45
+ */
46
+ createdAt?: Date;
47
+ }
48
+
49
+ /**
50
+ * Check if a given object implements the PickfaceLog interface.
51
+ */
52
+ export function instanceOfPickfaceLog(value: object): boolean {
53
+ let isInstance = true;
54
+
55
+ return isInstance;
56
+ }
57
+
58
+ export function PickfaceLogFromJSON(json: any): PickfaceLog {
59
+ return PickfaceLogFromJSONTyped(json, false);
60
+ }
61
+
62
+ export function PickfaceLogFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceLog {
63
+ if ((json === undefined) || (json === null)) {
64
+ return json;
65
+ }
66
+ return {
67
+
68
+ 'id': !exists(json, 'id') ? undefined : json['id'],
69
+ 'user': !exists(json, 'user') ? undefined : PickfaceLogUserFromJSON(json['user']),
70
+ 'createdAt': !exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
71
+ };
72
+ }
73
+
74
+ export function PickfaceLogToJSON(value?: PickfaceLog | null): any {
75
+ if (value === undefined) {
76
+ return undefined;
77
+ }
78
+ if (value === null) {
79
+ return null;
80
+ }
81
+ return {
82
+
83
+ 'id': value.id,
84
+ 'user': PickfaceLogUserToJSON(value.user),
85
+ 'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
86
+ };
87
+ }
88
+
@@ -0,0 +1,73 @@
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
+ * The user that took the action
18
+ * @export
19
+ * @interface PickfaceLogUser
20
+ */
21
+ export interface PickfaceLogUser {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof PickfaceLogUser
26
+ */
27
+ id?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof PickfaceLogUser
32
+ */
33
+ name?: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the PickfaceLogUser interface.
38
+ */
39
+ export function instanceOfPickfaceLogUser(value: object): boolean {
40
+ let isInstance = true;
41
+
42
+ return isInstance;
43
+ }
44
+
45
+ export function PickfaceLogUserFromJSON(json: any): PickfaceLogUser {
46
+ return PickfaceLogUserFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function PickfaceLogUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceLogUser {
50
+ if ((json === undefined) || (json === null)) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'id': !exists(json, 'id') ? undefined : json['id'],
56
+ 'name': !exists(json, 'name') ? undefined : json['name'],
57
+ };
58
+ }
59
+
60
+ export function PickfaceLogUserToJSON(value?: PickfaceLogUser | null): any {
61
+ if (value === undefined) {
62
+ return undefined;
63
+ }
64
+ if (value === null) {
65
+ return null;
66
+ }
67
+ return {
68
+
69
+ 'id': value.id,
70
+ 'name': value.name,
71
+ };
72
+ }
73
+
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.6.0
7
+ * The version of the OpenAPI document: 0.8.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9,4 +9,8 @@ export * from './PickfaceContentsInner';
9
9
  export * from './PickfaceContentsInnerApplicationsInner';
10
10
  export * from './PickfaceContentsInnerMetadata';
11
11
  export * from './PickfaceContentsInnerQuantity';
12
+ export * from './PickfaceLastPicked';
13
+ export * from './PickfaceLastRestocked';
14
+ export * from './PickfaceLog';
15
+ export * from './PickfaceLogUser';
12
16
  export * from './UpdatePickfaceRequest';
package/src/runtime.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.6.0
7
+ * The version of the OpenAPI document: 0.8.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).