@teemill/pickfaces 0.5.0 → 0.6.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 (38) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/PickfacesApi.d.ts +1 -1
  3. package/dist/apis/PickfacesApi.js +1 -1
  4. package/dist/models/CreatePickfaceRequest.d.ts +1 -1
  5. package/dist/models/CreatePickfaceRequest.js +1 -1
  6. package/dist/models/CreatePickfaceRequestDimensions.d.ts +1 -1
  7. package/dist/models/CreatePickfaceRequestDimensions.js +1 -1
  8. package/dist/models/GetPickfaces200Response.d.ts +1 -1
  9. package/dist/models/GetPickfaces200Response.js +1 -1
  10. package/dist/models/ModelError.d.ts +1 -1
  11. package/dist/models/ModelError.js +1 -1
  12. package/dist/models/Pickface.d.ts +13 -1
  13. package/dist/models/Pickface.js +5 -1
  14. package/dist/models/PickfaceContentsInner.d.ts +1 -1
  15. package/dist/models/PickfaceContentsInner.js +1 -1
  16. package/dist/models/PickfaceContentsInnerApplicationsInner.d.ts +1 -1
  17. package/dist/models/PickfaceContentsInnerApplicationsInner.js +1 -1
  18. package/dist/models/PickfaceContentsInnerMetadata.d.ts +1 -1
  19. package/dist/models/PickfaceContentsInnerMetadata.js +1 -1
  20. package/dist/models/PickfaceContentsInnerQuantity.d.ts +1 -1
  21. package/dist/models/PickfaceContentsInnerQuantity.js +1 -1
  22. package/dist/models/UpdatePickfaceRequest.d.ts +1 -1
  23. package/dist/models/UpdatePickfaceRequest.js +1 -1
  24. package/dist/runtime.d.ts +1 -1
  25. package/dist/runtime.js +1 -1
  26. package/package.json +1 -1
  27. package/src/apis/PickfacesApi.ts +1 -1
  28. package/src/models/CreatePickfaceRequest.ts +1 -1
  29. package/src/models/CreatePickfaceRequestDimensions.ts +1 -1
  30. package/src/models/GetPickfaces200Response.ts +1 -1
  31. package/src/models/ModelError.ts +1 -1
  32. package/src/models/Pickface.ts +17 -1
  33. package/src/models/PickfaceContentsInner.ts +1 -1
  34. package/src/models/PickfaceContentsInnerApplicationsInner.ts +1 -1
  35. package/src/models/PickfaceContentsInnerMetadata.ts +1 -1
  36. package/src/models/PickfaceContentsInnerQuantity.ts +1 -1
  37. package/src/models/UpdatePickfaceRequest.ts +1 -1
  38. package/src/runtime.ts +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/pickfaces@0.5.0
1
+ ## @teemill/pickfaces@0.6.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @teemill/pickfaces@0.5.0 --save
39
+ npm install @teemill/pickfaces@0.6.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
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
4
  *
5
- * The version of the OpenAPI document: 0.5.0
5
+ * The version of the OpenAPI document: 0.6.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
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
7
  *
8
- * The version of the OpenAPI document: 0.5.0
8
+ * The version of the OpenAPI document: 0.6.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
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
4
  *
5
- * The version of the OpenAPI document: 0.5.0
5
+ * The version of the OpenAPI document: 0.6.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
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
7
  *
8
- * The version of the OpenAPI document: 0.5.0
8
+ * The version of the OpenAPI document: 0.6.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
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
4
  *
5
- * The version of the OpenAPI document: 0.5.0
5
+ * The version of the OpenAPI document: 0.6.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
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
7
  *
8
- * The version of the OpenAPI document: 0.5.0
8
+ * The version of the OpenAPI document: 0.6.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
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
4
  *
5
- * The version of the OpenAPI document: 0.5.0
5
+ * The version of the OpenAPI document: 0.6.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
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
7
  *
8
- * The version of the OpenAPI document: 0.5.0
8
+ * The version of the OpenAPI document: 0.6.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
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
4
  *
5
- * The version of the OpenAPI document: 0.5.0
5
+ * The version of the OpenAPI document: 0.6.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
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
7
  *
8
- * The version of the OpenAPI document: 0.5.0
8
+ * The version of the OpenAPI document: 0.6.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
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
4
  *
5
- * The version of the OpenAPI document: 0.5.0
5
+ * The version of the OpenAPI document: 0.6.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -53,6 +53,18 @@ export interface Pickface {
53
53
  * @memberof Pickface
54
54
  */
55
55
  fullness?: number;
56
+ /**
57
+ * The last time the pickface was picked from
58
+ * @type {Date}
59
+ * @memberof Pickface
60
+ */
61
+ lastPicked?: Date | null;
62
+ /**
63
+ * The last time the pickface was restocked
64
+ * @type {Date}
65
+ * @memberof Pickface
66
+ */
67
+ lastRestocked?: Date | null;
56
68
  /**
57
69
  *
58
70
  * @type {Array<PickfaceContentsInner>}
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
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
7
  *
8
- * The version of the OpenAPI document: 0.5.0
8
+ * The version of the OpenAPI document: 0.6.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -40,6 +40,8 @@ function PickfaceFromJSONTyped(json, ignoreDiscriminator) {
40
40
  'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
41
41
  'dimensions': !(0, runtime_1.exists)(json, 'dimensions') ? undefined : (0, CreatePickfaceRequestDimensions_1.CreatePickfaceRequestDimensionsFromJSON)(json['dimensions']),
42
42
  'fullness': !(0, runtime_1.exists)(json, 'fullness') ? undefined : json['fullness'],
43
+ 'lastPicked': !(0, runtime_1.exists)(json, 'lastPicked') ? undefined : (json['lastPicked'] === null ? null : new Date(json['lastPicked'])),
44
+ 'lastRestocked': !(0, runtime_1.exists)(json, 'lastRestocked') ? undefined : (json['lastRestocked'] === null ? null : new Date(json['lastRestocked'])),
43
45
  'contents': !(0, runtime_1.exists)(json, 'contents') ? undefined : (json['contents'].map(PickfaceContentsInner_1.PickfaceContentsInnerFromJSON)),
44
46
  };
45
47
  }
@@ -58,6 +60,8 @@ function PickfaceToJSON(value) {
58
60
  'enabled': value.enabled,
59
61
  'dimensions': (0, CreatePickfaceRequestDimensions_1.CreatePickfaceRequestDimensionsToJSON)(value.dimensions),
60
62
  'fullness': value.fullness,
63
+ 'lastPicked': value.lastPicked === undefined ? undefined : (value.lastPicked === null ? null : value.lastPicked.toISOString()),
64
+ 'lastRestocked': value.lastRestocked === undefined ? undefined : (value.lastRestocked === null ? null : value.lastRestocked.toISOString()),
61
65
  'contents': value.contents === undefined ? undefined : (value.contents.map(PickfaceContentsInner_1.PickfaceContentsInnerToJSON)),
62
66
  };
63
67
  }
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
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
4
  *
5
- * The version of the OpenAPI document: 0.5.0
5
+ * The version of the OpenAPI document: 0.6.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
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
7
  *
8
- * The version of the OpenAPI document: 0.5.0
8
+ * The version of the OpenAPI document: 0.6.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
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
4
  *
5
- * The version of the OpenAPI document: 0.5.0
5
+ * The version of the OpenAPI document: 0.6.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
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
7
  *
8
- * The version of the OpenAPI document: 0.5.0
8
+ * The version of the OpenAPI document: 0.6.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
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
4
  *
5
- * The version of the OpenAPI document: 0.5.0
5
+ * The version of the OpenAPI document: 0.6.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
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
7
  *
8
- * The version of the OpenAPI document: 0.5.0
8
+ * The version of the OpenAPI document: 0.6.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
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
4
  *
5
- * The version of the OpenAPI document: 0.5.0
5
+ * The version of the OpenAPI document: 0.6.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
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
7
  *
8
- * The version of the OpenAPI document: 0.5.0
8
+ * The version of the OpenAPI document: 0.6.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
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
4
  *
5
- * The version of the OpenAPI document: 0.5.0
5
+ * The version of the OpenAPI document: 0.6.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
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
7
  *
8
- * The version of the OpenAPI document: 0.5.0
8
+ * The version of the OpenAPI document: 0.6.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/runtime.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
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
4
  *
5
- * The version of the OpenAPI document: 0.5.0
5
+ * The version of the OpenAPI document: 0.6.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/runtime.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
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
7
  *
8
- * The version of the OpenAPI document: 0.5.0
8
+ * The version of the OpenAPI document: 0.6.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/pickfaces",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "OpenAPI client for @teemill/pickfaces",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -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.5.0
7
+ * The version of the OpenAPI document: 0.6.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.5.0
7
+ * The version of the OpenAPI document: 0.6.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.5.0
7
+ * The version of the OpenAPI document: 0.6.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.5.0
7
+ * The version of the OpenAPI document: 0.6.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.5.0
7
+ * The version of the OpenAPI document: 0.6.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.5.0
7
+ * The version of the OpenAPI document: 0.6.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -68,6 +68,18 @@ export interface Pickface {
68
68
  * @memberof Pickface
69
69
  */
70
70
  fullness?: number;
71
+ /**
72
+ * The last time the pickface was picked from
73
+ * @type {Date}
74
+ * @memberof Pickface
75
+ */
76
+ lastPicked?: Date | null;
77
+ /**
78
+ * The last time the pickface was restocked
79
+ * @type {Date}
80
+ * @memberof Pickface
81
+ */
82
+ lastRestocked?: Date | null;
71
83
  /**
72
84
  *
73
85
  * @type {Array<PickfaceContentsInner>}
@@ -101,6 +113,8 @@ export function PickfaceFromJSONTyped(json: any, ignoreDiscriminator: boolean):
101
113
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
102
114
  'dimensions': !exists(json, 'dimensions') ? undefined : CreatePickfaceRequestDimensionsFromJSON(json['dimensions']),
103
115
  'fullness': !exists(json, 'fullness') ? undefined : json['fullness'],
116
+ 'lastPicked': !exists(json, 'lastPicked') ? undefined : (json['lastPicked'] === null ? null : new Date(json['lastPicked'])),
117
+ 'lastRestocked': !exists(json, 'lastRestocked') ? undefined : (json['lastRestocked'] === null ? null : new Date(json['lastRestocked'])),
104
118
  'contents': !exists(json, 'contents') ? undefined : ((json['contents'] as Array<any>).map(PickfaceContentsInnerFromJSON)),
105
119
  };
106
120
  }
@@ -120,6 +134,8 @@ export function PickfaceToJSON(value?: Pickface | null): any {
120
134
  'enabled': value.enabled,
121
135
  'dimensions': CreatePickfaceRequestDimensionsToJSON(value.dimensions),
122
136
  'fullness': value.fullness,
137
+ 'lastPicked': value.lastPicked === undefined ? undefined : (value.lastPicked === null ? null : value.lastPicked.toISOString()),
138
+ 'lastRestocked': value.lastRestocked === undefined ? undefined : (value.lastRestocked === null ? null : value.lastRestocked.toISOString()),
123
139
  'contents': value.contents === undefined ? undefined : ((value.contents as Array<any>).map(PickfaceContentsInnerToJSON)),
124
140
  };
125
141
  }
@@ -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.5.0
7
+ * The version of the OpenAPI document: 0.6.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.5.0
7
+ * The version of the OpenAPI document: 0.6.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.5.0
7
+ * The version of the OpenAPI document: 0.6.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.5.0
7
+ * The version of the OpenAPI document: 0.6.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.5.0
7
+ * The version of the OpenAPI document: 0.6.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.5.0
7
+ * The version of the OpenAPI document: 0.6.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).