@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
@@ -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.6.0
1
+ ## @teemill/pickfaces@0.8.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.6.0 --save
39
+ npm install @teemill/pickfaces@0.8.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.6.0
5
+ * The version of the OpenAPI document: 0.8.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,6 +31,7 @@ export interface GetPickfacesRequest {
31
31
  search?: string;
32
32
  pageToken?: number;
33
33
  pageSize?: number;
34
+ filters?: Array<GetPickfacesFiltersEnum>;
34
35
  }
35
36
  export interface UpdatePickfaceOperationRequest {
36
37
  project: string;
@@ -102,3 +103,11 @@ export declare class PickfacesApi extends runtime.BaseAPI {
102
103
  */
103
104
  updatePickface(project: string, pickfaceId: string, updatePickfaceRequest: UpdatePickfaceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Pickface>;
104
105
  }
106
+ /**
107
+ * @export
108
+ */
109
+ export declare const GetPickfacesFiltersEnum: {
110
+ readonly Empty: "empty";
111
+ readonly Flagged: "flagged";
112
+ };
113
+ export type GetPickfacesFiltersEnum = typeof GetPickfacesFiltersEnum[keyof typeof GetPickfacesFiltersEnum];
@@ -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.6.0
8
+ * The version of the OpenAPI document: 0.8.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -75,7 +75,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
75
75
  }
76
76
  };
77
77
  Object.defineProperty(exports, "__esModule", { value: true });
78
- exports.PickfacesApi = void 0;
78
+ exports.GetPickfacesFiltersEnum = exports.PickfacesApi = void 0;
79
79
  var runtime = require("../runtime");
80
80
  var index_1 = require("../models/index");
81
81
  /**
@@ -377,6 +377,9 @@ var PickfacesApi = /** @class */ (function (_super) {
377
377
  if (requestParameters.pageSize !== undefined) {
378
378
  queryParameters['pageSize'] = requestParameters.pageSize;
379
379
  }
380
+ if (requestParameters.filters) {
381
+ queryParameters['filters'] = requestParameters.filters;
382
+ }
380
383
  headerParameters = {};
381
384
  if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
382
385
  // oauth required
@@ -498,3 +501,10 @@ var PickfacesApi = /** @class */ (function (_super) {
498
501
  return PickfacesApi;
499
502
  }(runtime.BaseAPI));
500
503
  exports.PickfacesApi = PickfacesApi;
504
+ /**
505
+ * @export
506
+ */
507
+ exports.GetPickfacesFiltersEnum = {
508
+ Empty: 'empty',
509
+ Flagged: 'flagged'
510
+ };
@@ -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.6.0
5
+ * The version of the OpenAPI document: 0.8.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.6.0
8
+ * The version of the OpenAPI document: 0.8.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.6.0
5
+ * The version of the OpenAPI document: 0.8.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.6.0
8
+ * The version of the OpenAPI document: 0.8.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.6.0
5
+ * The version of the OpenAPI document: 0.8.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.6.0
8
+ * The version of the OpenAPI document: 0.8.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.6.0
5
+ * The version of the OpenAPI document: 0.8.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.6.0
8
+ * The version of the OpenAPI document: 0.8.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.6.0
5
+ * The version of the OpenAPI document: 0.8.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
@@ -54,17 +56,17 @@ export interface Pickface {
54
56
  */
55
57
  fullness?: number;
56
58
  /**
57
- * The last time the pickface was picked from
58
- * @type {Date}
59
+ *
60
+ * @type {PickfaceLastPicked}
59
61
  * @memberof Pickface
60
62
  */
61
- lastPicked?: Date | null;
63
+ lastPicked?: PickfaceLastPicked;
62
64
  /**
63
- * The last time the pickface was restocked
64
- * @type {Date}
65
+ *
66
+ * @type {PickfaceLastRestocked}
65
67
  * @memberof Pickface
66
68
  */
67
- lastRestocked?: Date | null;
69
+ lastRestocked?: PickfaceLastRestocked;
68
70
  /**
69
71
  *
70
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.6.0
8
+ * The version of the OpenAPI document: 0.8.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,8 +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'],
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'])),
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']),
45
47
  'contents': !(0, runtime_1.exists)(json, 'contents') ? undefined : (json['contents'].map(PickfaceContentsInner_1.PickfaceContentsInnerFromJSON)),
46
48
  };
47
49
  }
@@ -60,8 +62,8 @@ function PickfaceToJSON(value) {
60
62
  'enabled': value.enabled,
61
63
  'dimensions': (0, CreatePickfaceRequestDimensions_1.CreatePickfaceRequestDimensionsToJSON)(value.dimensions),
62
64
  '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()),
65
+ 'lastPicked': (0, PickfaceLastPicked_1.PickfaceLastPickedToJSON)(value.lastPicked),
66
+ 'lastRestocked': (0, PickfaceLastRestocked_1.PickfaceLastRestockedToJSON)(value.lastRestocked),
65
67
  'contents': value.contents === undefined ? undefined : (value.contents.map(PickfaceContentsInner_1.PickfaceContentsInnerToJSON)),
66
68
  };
67
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.6.0
5
+ * The version of the OpenAPI document: 0.8.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.6.0
8
+ * The version of the OpenAPI document: 0.8.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.6.0
5
+ * The version of the OpenAPI document: 0.8.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.6.0
8
+ * The version of the OpenAPI document: 0.8.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.6.0
5
+ * The version of the OpenAPI document: 0.8.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.6.0
8
+ * The version of the OpenAPI document: 0.8.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.6.0
5
+ * The version of the OpenAPI document: 0.8.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.6.0
8
+ * The version of the OpenAPI document: 0.8.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.8.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.8.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.8.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.8.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.8.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;