@teemill/pickfaces 0.11.1 → 0.12.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 (69) hide show
  1. package/.openapi-generator/FILES +2 -1
  2. package/README.md +2 -2
  3. package/dist/apis/PickfacesApi.d.ts +32 -2
  4. package/dist/apis/PickfacesApi.js +146 -1
  5. package/dist/models/ApiError.d.ts +1 -1
  6. package/dist/models/ApiError.js +1 -1
  7. package/dist/models/CreatePickfaceRequest.d.ts +4 -5
  8. package/dist/models/CreatePickfaceRequest.js +3 -4
  9. package/dist/models/CreatePickfaceRequestDimensions.d.ts +1 -1
  10. package/dist/models/CreatePickfaceRequestDimensions.js +1 -1
  11. package/dist/models/GetPickfaces200Response.d.ts +1 -1
  12. package/dist/models/GetPickfaces200Response.js +1 -1
  13. package/dist/models/ListPickfaceLogs200Response.d.ts +1 -1
  14. package/dist/models/ListPickfaceLogs200Response.js +1 -1
  15. package/dist/models/MoveStockRequest.d.ts +1 -1
  16. package/dist/models/MoveStockRequest.js +1 -1
  17. package/dist/models/Pickface.d.ts +4 -4
  18. package/dist/models/Pickface.js +4 -4
  19. package/dist/models/PickfaceContentsInner.d.ts +1 -1
  20. package/dist/models/PickfaceContentsInner.js +1 -1
  21. package/dist/models/PickfaceContentsInnerApplicationsInner.d.ts +1 -1
  22. package/dist/models/PickfaceContentsInnerApplicationsInner.js +1 -1
  23. package/dist/models/PickfaceContentsInnerMetadata.d.ts +1 -1
  24. package/dist/models/PickfaceContentsInnerMetadata.js +1 -1
  25. package/dist/models/PickfaceContentsInnerQuantity.d.ts +1 -1
  26. package/dist/models/PickfaceContentsInnerQuantity.js +1 -1
  27. package/dist/models/PickfaceLastPicked.d.ts +1 -1
  28. package/dist/models/PickfaceLastPicked.js +1 -1
  29. package/dist/models/PickfaceLastRestocked.d.ts +1 -1
  30. package/dist/models/PickfaceLastRestocked.js +1 -1
  31. package/dist/models/PickfaceLog.d.ts +1 -1
  32. package/dist/models/PickfaceLog.js +1 -1
  33. package/dist/models/PickfaceModel.d.ts +37 -0
  34. package/dist/models/PickfaceModel.js +47 -0
  35. package/dist/models/PickfaceModels.d.ts +32 -0
  36. package/dist/models/PickfaceModels.js +46 -0
  37. package/dist/models/UpdatePickfaceRequest.d.ts +7 -1
  38. package/dist/models/UpdatePickfaceRequest.js +3 -1
  39. package/dist/models/UpdatePickfaceRequestContentsInner.d.ts +1 -1
  40. package/dist/models/UpdatePickfaceRequestContentsInner.js +1 -1
  41. package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.d.ts +1 -1
  42. package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.js +1 -1
  43. package/dist/models/index.d.ts +2 -1
  44. package/dist/models/index.js +2 -1
  45. package/dist/runtime.d.ts +1 -1
  46. package/dist/runtime.js +1 -1
  47. package/package.json +1 -1
  48. package/src/apis/PickfacesApi.ts +150 -1
  49. package/src/models/ApiError.ts +1 -1
  50. package/src/models/CreatePickfaceRequest.ts +6 -13
  51. package/src/models/CreatePickfaceRequestDimensions.ts +1 -1
  52. package/src/models/GetPickfaces200Response.ts +1 -1
  53. package/src/models/ListPickfaceLogs200Response.ts +1 -1
  54. package/src/models/MoveStockRequest.ts +1 -1
  55. package/src/models/Pickface.ts +11 -11
  56. package/src/models/PickfaceContentsInner.ts +1 -1
  57. package/src/models/PickfaceContentsInnerApplicationsInner.ts +1 -1
  58. package/src/models/PickfaceContentsInnerMetadata.ts +1 -1
  59. package/src/models/PickfaceContentsInnerQuantity.ts +1 -1
  60. package/src/models/PickfaceLastPicked.ts +1 -1
  61. package/src/models/PickfaceLastRestocked.ts +1 -1
  62. package/src/models/PickfaceLog.ts +1 -1
  63. package/src/models/PickfaceModel.ts +68 -0
  64. package/src/models/PickfaceModels.ts +67 -0
  65. package/src/models/UpdatePickfaceRequest.ts +9 -1
  66. package/src/models/UpdatePickfaceRequestContentsInner.ts +1 -1
  67. package/src/models/UpdatePickfaceRequestContentsInnerQuantity.ts +1 -1
  68. package/src/models/index.ts +2 -1
  69. package/src/runtime.ts +1 -1
@@ -7,7 +7,6 @@ src/apis/index.ts
7
7
  src/index.ts
8
8
  src/models/ApiError.ts
9
9
  src/models/CreatePickfaceRequest.ts
10
- src/models/CreatePickfaceRequestDimensions.ts
11
10
  src/models/GetPickfaces200Response.ts
12
11
  src/models/ListPickfaceLogs200Response.ts
13
12
  src/models/MoveStockRequest.ts
@@ -19,6 +18,8 @@ src/models/PickfaceContentsInnerQuantity.ts
19
18
  src/models/PickfaceLastPicked.ts
20
19
  src/models/PickfaceLastRestocked.ts
21
20
  src/models/PickfaceLog.ts
21
+ src/models/PickfaceModel.ts
22
+ src/models/PickfaceModels.ts
22
23
  src/models/UpdatePickfaceRequest.ts
23
24
  src/models/UpdatePickfaceRequestContentsInner.ts
24
25
  src/models/UpdatePickfaceRequestContentsInnerQuantity.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/pickfaces@0.11.1
1
+ ## @teemill/pickfaces@0.12.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.11.1 --save
39
+ npm install @teemill/pickfaces@0.12.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.11.1
5
+ * The version of the OpenAPI document: 0.12.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { CreatePickfaceRequest, GetPickfaces200Response, ListPickfaceLogs200Response, MoveStockRequest, Pickface, UpdatePickfaceRequest } from '../models/index';
13
+ import type { CreatePickfaceRequest, GetPickfaces200Response, ListPickfaceLogs200Response, MoveStockRequest, Pickface, PickfaceModels, UpdatePickfaceRequest } from '../models/index';
14
14
  export interface CreatePickfaceOperationRequest {
15
15
  project: string;
16
16
  createPickfaceRequest: CreatePickfaceRequest;
@@ -26,6 +26,9 @@ export interface GetPickfaceRequest {
26
26
  project: string;
27
27
  pickfaceId: string;
28
28
  }
29
+ export interface GetPickfaceModelsRequest {
30
+ project: string;
31
+ }
29
32
  export interface GetPickfacesRequest {
30
33
  project: string;
31
34
  search?: string;
@@ -49,6 +52,13 @@ export interface PrintPickfaceLabelRequest {
49
52
  pickfaceId: string;
50
53
  deviceRef: string;
51
54
  }
55
+ export interface SuggestPickfacesRequest {
56
+ project: string;
57
+ variantRef: string;
58
+ quantity: number;
59
+ pageToken?: number;
60
+ pageSize?: number;
61
+ }
52
62
  export interface UpdatePickfaceOperationRequest {
53
63
  project: string;
54
64
  pickfaceId: string;
@@ -98,6 +108,16 @@ export declare class PickfacesApi extends runtime.BaseAPI {
98
108
  * Get pickface
99
109
  */
100
110
  getPickface(project: string, pickfaceId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Pickface>;
111
+ /**
112
+ * Lists pickface models
113
+ * Get pickface models
114
+ */
115
+ getPickfaceModelsRaw(requestParameters: GetPickfaceModelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PickfaceModels>>;
116
+ /**
117
+ * Lists pickface models
118
+ * Get pickface models
119
+ */
120
+ getPickfaceModels(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PickfaceModels>;
101
121
  /**
102
122
  * Lists all pickfaces available paginated into chunks
103
123
  * List pickfaces
@@ -138,6 +158,16 @@ export declare class PickfacesApi extends runtime.BaseAPI {
138
158
  * Print pickface label
139
159
  */
140
160
  printPickfaceLabel(project: string, pickfaceId: string, deviceRef: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
161
+ /**
162
+ * Suggest pickfaces for putting away stock
163
+ * Suggest pickfaces
164
+ */
165
+ suggestPickfacesRaw(requestParameters: SuggestPickfacesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetPickfaces200Response>>;
166
+ /**
167
+ * Suggest pickfaces for putting away stock
168
+ * Suggest pickfaces
169
+ */
170
+ suggestPickfaces(project: string, variantRef: string, quantity: number, optionalParameters?: runtime.OptionalOnly<SuggestPickfacesRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetPickfaces200Response>;
141
171
  /**
142
172
  * Update a Pickface
143
173
  * Update Pickface
@@ -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.11.1
8
+ * The version of the OpenAPI document: 0.12.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -351,6 +351,70 @@ var PickfacesApi = /** @class */ (function (_super) {
351
351
  });
352
352
  });
353
353
  };
354
+ /**
355
+ * Lists pickface models
356
+ * Get pickface models
357
+ */
358
+ PickfacesApi.prototype.getPickfaceModelsRaw = function (requestParameters, initOverrides) {
359
+ return __awaiter(this, void 0, void 0, function () {
360
+ var queryParameters, headerParameters, _a, _b, response;
361
+ return __generator(this, function (_c) {
362
+ switch (_c.label) {
363
+ case 0:
364
+ if (requestParameters.project === null || requestParameters.project === undefined) {
365
+ throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling getPickfaceModels.');
366
+ }
367
+ queryParameters = {};
368
+ if (requestParameters.project !== undefined) {
369
+ queryParameters['project'] = requestParameters.project;
370
+ }
371
+ headerParameters = {};
372
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
373
+ // oauth required
374
+ _a = headerParameters;
375
+ _b = "Authorization";
376
+ return [4 /*yield*/, this.configuration.accessToken("session-oauth", [])];
377
+ case 1:
378
+ // oauth required
379
+ _a[_b] = _c.sent();
380
+ _c.label = 2;
381
+ case 2:
382
+ if (this.configuration && this.configuration.apiKey) {
383
+ headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
384
+ }
385
+ return [4 /*yield*/, this.request({
386
+ path: "/v1/pickfaces/models",
387
+ method: 'GET',
388
+ headers: headerParameters,
389
+ query: queryParameters,
390
+ }, initOverrides)];
391
+ case 3:
392
+ response = _c.sent();
393
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PickfaceModelsFromJSON)(jsonValue); })];
394
+ }
395
+ });
396
+ });
397
+ };
398
+ /**
399
+ * Lists pickface models
400
+ * Get pickface models
401
+ */
402
+ PickfacesApi.prototype.getPickfaceModels = function (project, initOverrides) {
403
+ return __awaiter(this, void 0, void 0, function () {
404
+ var response;
405
+ return __generator(this, function (_a) {
406
+ switch (_a.label) {
407
+ case 0: return [4 /*yield*/, this.getPickfaceModelsRaw({
408
+ project: project,
409
+ }, initOverrides)];
410
+ case 1:
411
+ response = _a.sent();
412
+ return [4 /*yield*/, response.value()];
413
+ case 2: return [2 /*return*/, _a.sent()];
414
+ }
415
+ });
416
+ });
417
+ };
354
418
  /**
355
419
  * Lists all pickfaces available paginated into chunks
356
420
  * List pickfaces
@@ -641,6 +705,87 @@ var PickfacesApi = /** @class */ (function (_super) {
641
705
  });
642
706
  });
643
707
  };
708
+ /**
709
+ * Suggest pickfaces for putting away stock
710
+ * Suggest pickfaces
711
+ */
712
+ PickfacesApi.prototype.suggestPickfacesRaw = function (requestParameters, initOverrides) {
713
+ return __awaiter(this, void 0, void 0, function () {
714
+ var queryParameters, headerParameters, _a, _b, response;
715
+ return __generator(this, function (_c) {
716
+ switch (_c.label) {
717
+ case 0:
718
+ if (requestParameters.project === null || requestParameters.project === undefined) {
719
+ throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling suggestPickfaces.');
720
+ }
721
+ if (requestParameters.variantRef === null || requestParameters.variantRef === undefined) {
722
+ throw new runtime.RequiredError('variantRef', 'Required parameter requestParameters.variantRef was null or undefined when calling suggestPickfaces.');
723
+ }
724
+ if (requestParameters.quantity === null || requestParameters.quantity === undefined) {
725
+ throw new runtime.RequiredError('quantity', 'Required parameter requestParameters.quantity was null or undefined when calling suggestPickfaces.');
726
+ }
727
+ queryParameters = {};
728
+ if (requestParameters.project !== undefined) {
729
+ queryParameters['project'] = requestParameters.project;
730
+ }
731
+ if (requestParameters.variantRef !== undefined) {
732
+ queryParameters['variantRef'] = requestParameters.variantRef;
733
+ }
734
+ if (requestParameters.quantity !== undefined) {
735
+ queryParameters['quantity'] = requestParameters.quantity;
736
+ }
737
+ if (requestParameters.pageToken !== undefined) {
738
+ queryParameters['pageToken'] = requestParameters.pageToken;
739
+ }
740
+ if (requestParameters.pageSize !== undefined) {
741
+ queryParameters['pageSize'] = requestParameters.pageSize;
742
+ }
743
+ headerParameters = {};
744
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
745
+ // oauth required
746
+ _a = headerParameters;
747
+ _b = "Authorization";
748
+ return [4 /*yield*/, this.configuration.accessToken("session-oauth", [])];
749
+ case 1:
750
+ // oauth required
751
+ _a[_b] = _c.sent();
752
+ _c.label = 2;
753
+ case 2:
754
+ if (this.configuration && this.configuration.apiKey) {
755
+ headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
756
+ }
757
+ return [4 /*yield*/, this.request({
758
+ path: "/v1/pickfaces/suggest",
759
+ method: 'GET',
760
+ headers: headerParameters,
761
+ query: queryParameters,
762
+ }, initOverrides)];
763
+ case 3:
764
+ response = _c.sent();
765
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetPickfaces200ResponseFromJSON)(jsonValue); })];
766
+ }
767
+ });
768
+ });
769
+ };
770
+ /**
771
+ * Suggest pickfaces for putting away stock
772
+ * Suggest pickfaces
773
+ */
774
+ PickfacesApi.prototype.suggestPickfaces = function (project, variantRef, quantity, optionalParameters, initOverrides) {
775
+ if (optionalParameters === void 0) { optionalParameters = {}; }
776
+ return __awaiter(this, void 0, void 0, function () {
777
+ var response;
778
+ return __generator(this, function (_a) {
779
+ switch (_a.label) {
780
+ case 0: return [4 /*yield*/, this.suggestPickfacesRaw(__assign({ project: project, variantRef: variantRef, quantity: quantity }, optionalParameters), initOverrides)];
781
+ case 1:
782
+ response = _a.sent();
783
+ return [4 /*yield*/, response.value()];
784
+ case 2: return [2 /*return*/, _a.sent()];
785
+ }
786
+ });
787
+ });
788
+ };
644
789
  /**
645
790
  * Update a Pickface
646
791
  * Update Pickface
@@ -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.11.1
5
+ * The version of the OpenAPI document: 0.12.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.11.1
8
+ * The version of the OpenAPI document: 0.12.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,14 +2,13 @@
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.11.1
5
+ * The version of the OpenAPI document: 0.12.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { CreatePickfaceRequestDimensions } from './CreatePickfaceRequestDimensions';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -23,11 +22,11 @@ export interface CreatePickfaceRequest {
23
22
  */
24
23
  location?: string;
25
24
  /**
26
- *
27
- * @type {CreatePickfaceRequestDimensions}
25
+ * Unique object identifier
26
+ * @type {string}
28
27
  * @memberof CreatePickfaceRequest
29
28
  */
30
- dimensions?: CreatePickfaceRequestDimensions;
29
+ modelId?: string;
31
30
  }
32
31
  /**
33
32
  * Check if a given object implements the CreatePickfaceRequest interface.
@@ -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.11.1
8
+ * The version of the OpenAPI document: 0.12.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -14,7 +14,6 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreatePickfaceRequestToJSON = exports.CreatePickfaceRequestFromJSONTyped = exports.CreatePickfaceRequestFromJSON = exports.instanceOfCreatePickfaceRequest = void 0;
17
- var CreatePickfaceRequestDimensions_1 = require("./CreatePickfaceRequestDimensions");
18
17
  /**
19
18
  * Check if a given object implements the CreatePickfaceRequest interface.
20
19
  */
@@ -32,7 +31,7 @@ function CreatePickfaceRequestFromJSONTyped(json, ignoreDiscriminator) {
32
31
  }
33
32
  return {
34
33
  'location': json['location'] == null ? undefined : json['location'],
35
- 'dimensions': json['dimensions'] == null ? undefined : (0, CreatePickfaceRequestDimensions_1.CreatePickfaceRequestDimensionsFromJSON)(json['dimensions']),
34
+ 'modelId': json['modelId'] == null ? undefined : json['modelId'],
36
35
  };
37
36
  }
38
37
  exports.CreatePickfaceRequestFromJSONTyped = CreatePickfaceRequestFromJSONTyped;
@@ -42,7 +41,7 @@ function CreatePickfaceRequestToJSON(value) {
42
41
  }
43
42
  return {
44
43
  'location': value['location'],
45
- 'dimensions': (0, CreatePickfaceRequestDimensions_1.CreatePickfaceRequestDimensionsToJSON)(value['dimensions']),
44
+ 'modelId': value['modelId'],
46
45
  };
47
46
  }
48
47
  exports.CreatePickfaceRequestToJSON = CreatePickfaceRequestToJSON;
@@ -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.11.1
5
+ * The version of the OpenAPI document: 0.12.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.11.1
8
+ * The version of the OpenAPI document: 0.12.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.11.1
5
+ * The version of the OpenAPI document: 0.12.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.11.1
8
+ * The version of the OpenAPI document: 0.12.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.11.1
5
+ * The version of the OpenAPI document: 0.12.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.11.1
8
+ * The version of the OpenAPI document: 0.12.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.11.1
5
+ * The version of the OpenAPI document: 0.12.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.11.1
8
+ * The version of the OpenAPI document: 0.12.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,17 +2,17 @@
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.11.1
5
+ * The version of the OpenAPI document: 0.12.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { CreatePickfaceRequestDimensions } from './CreatePickfaceRequestDimensions';
13
12
  import type { PickfaceContentsInner } from './PickfaceContentsInner';
14
13
  import type { PickfaceLastPicked } from './PickfaceLastPicked';
15
14
  import type { PickfaceLastRestocked } from './PickfaceLastRestocked';
15
+ import type { PickfaceModel } from './PickfaceModel';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -45,10 +45,10 @@ export interface Pickface {
45
45
  enabled?: boolean;
46
46
  /**
47
47
  *
48
- * @type {CreatePickfaceRequestDimensions}
48
+ * @type {PickfaceModel}
49
49
  * @memberof Pickface
50
50
  */
51
- dimensions?: CreatePickfaceRequestDimensions;
51
+ model?: PickfaceModel;
52
52
  /**
53
53
  * The percentage of the pickface that has been taken up by its contents
54
54
  * @type {number}
@@ -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.11.1
8
+ * The version of the OpenAPI document: 0.12.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -14,10 +14,10 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.PickfaceToJSON = exports.PickfaceFromJSONTyped = exports.PickfaceFromJSON = exports.instanceOfPickface = void 0;
17
- var CreatePickfaceRequestDimensions_1 = require("./CreatePickfaceRequestDimensions");
18
17
  var PickfaceContentsInner_1 = require("./PickfaceContentsInner");
19
18
  var PickfaceLastPicked_1 = require("./PickfaceLastPicked");
20
19
  var PickfaceLastRestocked_1 = require("./PickfaceLastRestocked");
20
+ var PickfaceModel_1 = require("./PickfaceModel");
21
21
  /**
22
22
  * Check if a given object implements the Pickface interface.
23
23
  */
@@ -38,7 +38,7 @@ function PickfaceFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'ref': json['ref'] == null ? undefined : json['ref'],
39
39
  'code': json['code'] == null ? undefined : json['code'],
40
40
  'enabled': json['enabled'] == null ? undefined : json['enabled'],
41
- 'dimensions': json['dimensions'] == null ? undefined : (0, CreatePickfaceRequestDimensions_1.CreatePickfaceRequestDimensionsFromJSON)(json['dimensions']),
41
+ 'model': json['model'] == null ? undefined : (0, PickfaceModel_1.PickfaceModelFromJSON)(json['model']),
42
42
  'fullness': json['fullness'] == null ? undefined : json['fullness'],
43
43
  'lastPicked': json['lastPicked'] == null ? undefined : (0, PickfaceLastPicked_1.PickfaceLastPickedFromJSON)(json['lastPicked']),
44
44
  'lastRestocked': json['lastRestocked'] == null ? undefined : (0, PickfaceLastRestocked_1.PickfaceLastRestockedFromJSON)(json['lastRestocked']),
@@ -55,7 +55,7 @@ function PickfaceToJSON(value) {
55
55
  'ref': value['ref'],
56
56
  'code': value['code'],
57
57
  'enabled': value['enabled'],
58
- 'dimensions': (0, CreatePickfaceRequestDimensions_1.CreatePickfaceRequestDimensionsToJSON)(value['dimensions']),
58
+ 'model': (0, PickfaceModel_1.PickfaceModelToJSON)(value['model']),
59
59
  'fullness': value['fullness'],
60
60
  'lastPicked': (0, PickfaceLastPicked_1.PickfaceLastPickedToJSON)(value['lastPicked']),
61
61
  'lastRestocked': (0, PickfaceLastRestocked_1.PickfaceLastRestockedToJSON)(value['lastRestocked']),
@@ -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.11.1
5
+ * The version of the OpenAPI document: 0.12.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.11.1
8
+ * The version of the OpenAPI document: 0.12.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.11.1
5
+ * The version of the OpenAPI document: 0.12.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.11.1
8
+ * The version of the OpenAPI document: 0.12.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.11.1
5
+ * The version of the OpenAPI document: 0.12.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.11.1
8
+ * The version of the OpenAPI document: 0.12.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.11.1
5
+ * The version of the OpenAPI document: 0.12.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.11.1
8
+ * The version of the OpenAPI document: 0.12.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.11.1
5
+ * The version of the OpenAPI document: 0.12.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.11.1
8
+ * The version of the OpenAPI document: 0.12.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.11.1
5
+ * The version of the OpenAPI document: 0.12.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.11.1
8
+ * The version of the OpenAPI document: 0.12.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).