@teemill/pickfaces 0.5.0 → 0.7.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 +1 -1
  5. package/dist/apis/PickfacesApi.js +1 -1
  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 +15 -1
  15. package/dist/models/Pickface.js +7 -1
  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 +1 -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 +29 -1
  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
@@ -14,6 +14,10 @@ src/models/PickfaceContentsInner.ts
14
14
  src/models/PickfaceContentsInnerApplicationsInner.ts
15
15
  src/models/PickfaceContentsInnerMetadata.ts
16
16
  src/models/PickfaceContentsInnerQuantity.ts
17
+ src/models/PickfaceLastPicked.ts
18
+ src/models/PickfaceLastRestocked.ts
19
+ src/models/PickfaceLog.ts
20
+ src/models/PickfaceLogUser.ts
17
21
  src/models/UpdatePickfaceRequest.ts
18
22
  src/models/index.ts
19
23
  src/runtime.ts
@@ -1 +1 @@
1
- 7.3.0-SNAPSHOT
1
+ 7.3.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/pickfaces@0.5.0
1
+ ## @teemill/pickfaces@0.7.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
 
@@ -15,7 +15,7 @@ Module system
15
15
  * CommonJS
16
16
  * ES6 module system
17
17
 
18
- It can be used in both TypeScript and JavaScript. In TypeScript, the definition should be automatically resolved via `package.json`. ([Reference](http://www.typescriptlang.org/docs/handbook/typings-for-npm-packages.html))
18
+ It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))
19
19
 
20
20
  ### Building
21
21
 
@@ -27,7 +27,7 @@ npm run build
27
27
 
28
28
  ### Publishing
29
29
 
30
- First build the package then run ```npm publish```
30
+ First build the package then run `npm publish`
31
31
 
32
32
  ### Consuming
33
33
 
@@ -36,10 +36,11 @@ 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.7.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
43
43
 
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
+ ```
@@ -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.7.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.7.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.7.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.7.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.7.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.7.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.7.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.7.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.7.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.7.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.7.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11,6 +11,8 @@
11
11
  */
12
12
  import type { CreatePickfaceRequestDimensions } from './CreatePickfaceRequestDimensions';
13
13
  import type { PickfaceContentsInner } from './PickfaceContentsInner';
14
+ import type { PickfaceLastPicked } from './PickfaceLastPicked';
15
+ import type { PickfaceLastRestocked } from './PickfaceLastRestocked';
14
16
  /**
15
17
  *
16
18
  * @export
@@ -53,6 +55,18 @@ export interface Pickface {
53
55
  * @memberof Pickface
54
56
  */
55
57
  fullness?: number;
58
+ /**
59
+ *
60
+ * @type {PickfaceLastPicked}
61
+ * @memberof Pickface
62
+ */
63
+ lastPicked?: PickfaceLastPicked;
64
+ /**
65
+ *
66
+ * @type {PickfaceLastRestocked}
67
+ * @memberof Pickface
68
+ */
69
+ lastRestocked?: PickfaceLastRestocked;
56
70
  /**
57
71
  *
58
72
  * @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.7.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,6 +17,8 @@ exports.PickfaceToJSON = exports.PickfaceFromJSONTyped = exports.PickfaceFromJSO
17
17
  var runtime_1 = require("../runtime");
18
18
  var CreatePickfaceRequestDimensions_1 = require("./CreatePickfaceRequestDimensions");
19
19
  var PickfaceContentsInner_1 = require("./PickfaceContentsInner");
20
+ var PickfaceLastPicked_1 = require("./PickfaceLastPicked");
21
+ var PickfaceLastRestocked_1 = require("./PickfaceLastRestocked");
20
22
  /**
21
23
  * Check if a given object implements the Pickface interface.
22
24
  */
@@ -40,6 +42,8 @@ function PickfaceFromJSONTyped(json, ignoreDiscriminator) {
40
42
  'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
41
43
  'dimensions': !(0, runtime_1.exists)(json, 'dimensions') ? undefined : (0, CreatePickfaceRequestDimensions_1.CreatePickfaceRequestDimensionsFromJSON)(json['dimensions']),
42
44
  'fullness': !(0, runtime_1.exists)(json, 'fullness') ? undefined : json['fullness'],
45
+ 'lastPicked': !(0, runtime_1.exists)(json, 'lastPicked') ? undefined : (0, PickfaceLastPicked_1.PickfaceLastPickedFromJSON)(json['lastPicked']),
46
+ 'lastRestocked': !(0, runtime_1.exists)(json, 'lastRestocked') ? undefined : (0, PickfaceLastRestocked_1.PickfaceLastRestockedFromJSON)(json['lastRestocked']),
43
47
  'contents': !(0, runtime_1.exists)(json, 'contents') ? undefined : (json['contents'].map(PickfaceContentsInner_1.PickfaceContentsInnerFromJSON)),
44
48
  };
45
49
  }
@@ -58,6 +62,8 @@ function PickfaceToJSON(value) {
58
62
  'enabled': value.enabled,
59
63
  'dimensions': (0, CreatePickfaceRequestDimensions_1.CreatePickfaceRequestDimensionsToJSON)(value.dimensions),
60
64
  'fullness': value.fullness,
65
+ 'lastPicked': (0, PickfaceLastPicked_1.PickfaceLastPickedToJSON)(value.lastPicked),
66
+ 'lastRestocked': (0, PickfaceLastRestocked_1.PickfaceLastRestockedToJSON)(value.lastRestocked),
61
67
  'contents': value.contents === undefined ? undefined : (value.contents.map(PickfaceContentsInner_1.PickfaceContentsInnerToJSON)),
62
68
  };
63
69
  }
@@ -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.7.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.7.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.7.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.7.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.7.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.7.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.7.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.7.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,44 @@
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.7.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
+ import type { PickfaceLogUser } from './PickfaceLogUser';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PickfaceLastPicked
17
+ */
18
+ export interface PickfaceLastPicked {
19
+ /**
20
+ * Unique object identifier
21
+ * @type {string}
22
+ * @memberof PickfaceLastPicked
23
+ */
24
+ id?: string;
25
+ /**
26
+ *
27
+ * @type {PickfaceLogUser}
28
+ * @memberof PickfaceLastPicked
29
+ */
30
+ user?: PickfaceLogUser;
31
+ /**
32
+ * ISO 8601 Created at timestamp
33
+ * @type {Date}
34
+ * @memberof PickfaceLastPicked
35
+ */
36
+ createdAt?: Date;
37
+ }
38
+ /**
39
+ * Check if a given object implements the PickfaceLastPicked interface.
40
+ */
41
+ export declare function instanceOfPickfaceLastPicked(value: object): boolean;
42
+ export declare function PickfaceLastPickedFromJSON(json: any): PickfaceLastPicked;
43
+ export declare function PickfaceLastPickedFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceLastPicked;
44
+ export declare function PickfaceLastPickedToJSON(value?: PickfaceLastPicked | null): any;
@@ -0,0 +1,55 @@
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.7.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.PickfaceLastPickedToJSON = exports.PickfaceLastPickedFromJSONTyped = exports.PickfaceLastPickedFromJSON = exports.instanceOfPickfaceLastPicked = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ var PickfaceLogUser_1 = require("./PickfaceLogUser");
19
+ /**
20
+ * Check if a given object implements the PickfaceLastPicked interface.
21
+ */
22
+ function instanceOfPickfaceLastPicked(value) {
23
+ var isInstance = true;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfPickfaceLastPicked = instanceOfPickfaceLastPicked;
27
+ function PickfaceLastPickedFromJSON(json) {
28
+ return PickfaceLastPickedFromJSONTyped(json, false);
29
+ }
30
+ exports.PickfaceLastPickedFromJSON = PickfaceLastPickedFromJSON;
31
+ function PickfaceLastPickedFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
37
+ 'user': !(0, runtime_1.exists)(json, 'user') ? undefined : (0, PickfaceLogUser_1.PickfaceLogUserFromJSON)(json['user']),
38
+ 'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
39
+ };
40
+ }
41
+ exports.PickfaceLastPickedFromJSONTyped = PickfaceLastPickedFromJSONTyped;
42
+ function PickfaceLastPickedToJSON(value) {
43
+ if (value === undefined) {
44
+ return undefined;
45
+ }
46
+ if (value === null) {
47
+ return null;
48
+ }
49
+ return {
50
+ 'id': value.id,
51
+ 'user': (0, PickfaceLogUser_1.PickfaceLogUserToJSON)(value.user),
52
+ 'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
53
+ };
54
+ }
55
+ exports.PickfaceLastPickedToJSON = PickfaceLastPickedToJSON;
@@ -0,0 +1,44 @@
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.7.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
+ import type { PickfaceLogUser } from './PickfaceLogUser';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PickfaceLastRestocked
17
+ */
18
+ export interface PickfaceLastRestocked {
19
+ /**
20
+ * Unique object identifier
21
+ * @type {string}
22
+ * @memberof PickfaceLastRestocked
23
+ */
24
+ id?: string;
25
+ /**
26
+ *
27
+ * @type {PickfaceLogUser}
28
+ * @memberof PickfaceLastRestocked
29
+ */
30
+ user?: PickfaceLogUser;
31
+ /**
32
+ * ISO 8601 Created at timestamp
33
+ * @type {Date}
34
+ * @memberof PickfaceLastRestocked
35
+ */
36
+ createdAt?: Date;
37
+ }
38
+ /**
39
+ * Check if a given object implements the PickfaceLastRestocked interface.
40
+ */
41
+ export declare function instanceOfPickfaceLastRestocked(value: object): boolean;
42
+ export declare function PickfaceLastRestockedFromJSON(json: any): PickfaceLastRestocked;
43
+ export declare function PickfaceLastRestockedFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceLastRestocked;
44
+ export declare function PickfaceLastRestockedToJSON(value?: PickfaceLastRestocked | null): any;
@@ -0,0 +1,55 @@
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.7.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.PickfaceLastRestockedToJSON = exports.PickfaceLastRestockedFromJSONTyped = exports.PickfaceLastRestockedFromJSON = exports.instanceOfPickfaceLastRestocked = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ var PickfaceLogUser_1 = require("./PickfaceLogUser");
19
+ /**
20
+ * Check if a given object implements the PickfaceLastRestocked interface.
21
+ */
22
+ function instanceOfPickfaceLastRestocked(value) {
23
+ var isInstance = true;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfPickfaceLastRestocked = instanceOfPickfaceLastRestocked;
27
+ function PickfaceLastRestockedFromJSON(json) {
28
+ return PickfaceLastRestockedFromJSONTyped(json, false);
29
+ }
30
+ exports.PickfaceLastRestockedFromJSON = PickfaceLastRestockedFromJSON;
31
+ function PickfaceLastRestockedFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
37
+ 'user': !(0, runtime_1.exists)(json, 'user') ? undefined : (0, PickfaceLogUser_1.PickfaceLogUserFromJSON)(json['user']),
38
+ 'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
39
+ };
40
+ }
41
+ exports.PickfaceLastRestockedFromJSONTyped = PickfaceLastRestockedFromJSONTyped;
42
+ function PickfaceLastRestockedToJSON(value) {
43
+ if (value === undefined) {
44
+ return undefined;
45
+ }
46
+ if (value === null) {
47
+ return null;
48
+ }
49
+ return {
50
+ 'id': value.id,
51
+ 'user': (0, PickfaceLogUser_1.PickfaceLogUserToJSON)(value.user),
52
+ 'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
53
+ };
54
+ }
55
+ exports.PickfaceLastRestockedToJSON = PickfaceLastRestockedToJSON;
@@ -0,0 +1,44 @@
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.7.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
+ import type { PickfaceLogUser } from './PickfaceLogUser';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PickfaceLog
17
+ */
18
+ export interface PickfaceLog {
19
+ /**
20
+ * Unique object identifier
21
+ * @type {string}
22
+ * @memberof PickfaceLog
23
+ */
24
+ id?: string;
25
+ /**
26
+ *
27
+ * @type {PickfaceLogUser}
28
+ * @memberof PickfaceLog
29
+ */
30
+ user?: PickfaceLogUser;
31
+ /**
32
+ * ISO 8601 Created at timestamp
33
+ * @type {Date}
34
+ * @memberof PickfaceLog
35
+ */
36
+ createdAt?: Date;
37
+ }
38
+ /**
39
+ * Check if a given object implements the PickfaceLog interface.
40
+ */
41
+ export declare function instanceOfPickfaceLog(value: object): boolean;
42
+ export declare function PickfaceLogFromJSON(json: any): PickfaceLog;
43
+ export declare function PickfaceLogFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceLog;
44
+ export declare function PickfaceLogToJSON(value?: PickfaceLog | null): any;
@@ -0,0 +1,55 @@
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.7.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.PickfaceLogToJSON = exports.PickfaceLogFromJSONTyped = exports.PickfaceLogFromJSON = exports.instanceOfPickfaceLog = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ var PickfaceLogUser_1 = require("./PickfaceLogUser");
19
+ /**
20
+ * Check if a given object implements the PickfaceLog interface.
21
+ */
22
+ function instanceOfPickfaceLog(value) {
23
+ var isInstance = true;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfPickfaceLog = instanceOfPickfaceLog;
27
+ function PickfaceLogFromJSON(json) {
28
+ return PickfaceLogFromJSONTyped(json, false);
29
+ }
30
+ exports.PickfaceLogFromJSON = PickfaceLogFromJSON;
31
+ function PickfaceLogFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
37
+ 'user': !(0, runtime_1.exists)(json, 'user') ? undefined : (0, PickfaceLogUser_1.PickfaceLogUserFromJSON)(json['user']),
38
+ 'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
39
+ };
40
+ }
41
+ exports.PickfaceLogFromJSONTyped = PickfaceLogFromJSONTyped;
42
+ function PickfaceLogToJSON(value) {
43
+ if (value === undefined) {
44
+ return undefined;
45
+ }
46
+ if (value === null) {
47
+ return null;
48
+ }
49
+ return {
50
+ 'id': value.id,
51
+ 'user': (0, PickfaceLogUser_1.PickfaceLogUserToJSON)(value.user),
52
+ 'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
53
+ };
54
+ }
55
+ exports.PickfaceLogToJSON = PickfaceLogToJSON;
@@ -0,0 +1,37 @@
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.7.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
+ * 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;