@teemill/pickfaces 0.12.0 → 0.12.1

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 (75) hide show
  1. package/.openapi-generator/FILES +3 -2
  2. package/README.md +2 -2
  3. package/dist/apis/PickfacesApi.d.ts +9 -9
  4. package/dist/apis/PickfacesApi.js +11 -11
  5. package/dist/models/ApiError.d.ts +1 -1
  6. package/dist/models/ApiError.js +1 -1
  7. package/dist/models/ContainerModel.d.ts +61 -0
  8. package/dist/models/ContainerModel.js +61 -0
  9. package/dist/models/ContainerModels.d.ts +32 -0
  10. package/dist/models/ContainerModels.js +46 -0
  11. package/dist/models/CreatePickfaceRequest.d.ts +2 -2
  12. package/dist/models/CreatePickfaceRequest.js +3 -3
  13. package/dist/models/GetPickfaces200Response.d.ts +1 -1
  14. package/dist/models/GetPickfaces200Response.js +1 -1
  15. package/dist/models/ListPickfaceLogs200Response.d.ts +1 -1
  16. package/dist/models/ListPickfaceLogs200Response.js +1 -1
  17. package/dist/models/MoveStockRequest.d.ts +1 -1
  18. package/dist/models/MoveStockRequest.js +1 -1
  19. package/dist/models/Pickface.d.ts +4 -4
  20. package/dist/models/Pickface.js +4 -4
  21. package/dist/models/PickfaceContainerModel.d.ts +37 -0
  22. package/dist/models/PickfaceContainerModel.js +47 -0
  23. package/dist/models/PickfaceContentsInner.d.ts +1 -1
  24. package/dist/models/PickfaceContentsInner.js +1 -1
  25. package/dist/models/PickfaceContentsInnerApplicationsInner.d.ts +1 -1
  26. package/dist/models/PickfaceContentsInnerApplicationsInner.js +1 -1
  27. package/dist/models/PickfaceContentsInnerMetadata.d.ts +1 -1
  28. package/dist/models/PickfaceContentsInnerMetadata.js +1 -1
  29. package/dist/models/PickfaceContentsInnerQuantity.d.ts +1 -1
  30. package/dist/models/PickfaceContentsInnerQuantity.js +1 -1
  31. package/dist/models/PickfaceLastPicked.d.ts +1 -1
  32. package/dist/models/PickfaceLastPicked.js +1 -1
  33. package/dist/models/PickfaceLastRestocked.d.ts +1 -1
  34. package/dist/models/PickfaceLastRestocked.js +1 -1
  35. package/dist/models/PickfaceLog.d.ts +1 -1
  36. package/dist/models/PickfaceLog.js +1 -1
  37. package/dist/models/PickfaceModel.d.ts +1 -1
  38. package/dist/models/PickfaceModel.js +1 -1
  39. package/dist/models/PickfaceModels.d.ts +1 -1
  40. package/dist/models/PickfaceModels.js +1 -1
  41. package/dist/models/UpdatePickfaceRequest.d.ts +2 -2
  42. package/dist/models/UpdatePickfaceRequest.js +3 -3
  43. package/dist/models/UpdatePickfaceRequestContentsInner.d.ts +1 -1
  44. package/dist/models/UpdatePickfaceRequestContentsInner.js +1 -1
  45. package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.d.ts +1 -1
  46. package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.js +1 -1
  47. package/dist/models/index.d.ts +3 -2
  48. package/dist/models/index.js +3 -2
  49. package/dist/runtime.d.ts +1 -1
  50. package/dist/runtime.js +1 -1
  51. package/package.json +1 -1
  52. package/src/apis/PickfacesApi.ts +16 -16
  53. package/src/models/ApiError.ts +1 -1
  54. package/src/models/ContainerModel.ts +103 -0
  55. package/src/models/ContainerModels.ts +67 -0
  56. package/src/models/CreatePickfaceRequest.ts +4 -4
  57. package/src/models/GetPickfaces200Response.ts +1 -1
  58. package/src/models/ListPickfaceLogs200Response.ts +1 -1
  59. package/src/models/MoveStockRequest.ts +1 -1
  60. package/src/models/Pickface.ts +11 -11
  61. package/src/models/PickfaceContainerModel.ts +68 -0
  62. package/src/models/PickfaceContentsInner.ts +1 -1
  63. package/src/models/PickfaceContentsInnerApplicationsInner.ts +1 -1
  64. package/src/models/PickfaceContentsInnerMetadata.ts +1 -1
  65. package/src/models/PickfaceContentsInnerQuantity.ts +1 -1
  66. package/src/models/PickfaceLastPicked.ts +1 -1
  67. package/src/models/PickfaceLastRestocked.ts +1 -1
  68. package/src/models/PickfaceLog.ts +1 -1
  69. package/src/models/PickfaceModel.ts +1 -1
  70. package/src/models/PickfaceModels.ts +1 -1
  71. package/src/models/UpdatePickfaceRequest.ts +4 -4
  72. package/src/models/UpdatePickfaceRequestContentsInner.ts +1 -1
  73. package/src/models/UpdatePickfaceRequestContentsInnerQuantity.ts +1 -1
  74. package/src/models/index.ts +3 -2
  75. package/src/runtime.ts +1 -1
@@ -6,11 +6,14 @@ src/apis/PickfacesApi.ts
6
6
  src/apis/index.ts
7
7
  src/index.ts
8
8
  src/models/ApiError.ts
9
+ src/models/ContainerModel.ts
10
+ src/models/ContainerModels.ts
9
11
  src/models/CreatePickfaceRequest.ts
10
12
  src/models/GetPickfaces200Response.ts
11
13
  src/models/ListPickfaceLogs200Response.ts
12
14
  src/models/MoveStockRequest.ts
13
15
  src/models/Pickface.ts
16
+ src/models/PickfaceContainerModel.ts
14
17
  src/models/PickfaceContentsInner.ts
15
18
  src/models/PickfaceContentsInnerApplicationsInner.ts
16
19
  src/models/PickfaceContentsInnerMetadata.ts
@@ -18,8 +21,6 @@ src/models/PickfaceContentsInnerQuantity.ts
18
21
  src/models/PickfaceLastPicked.ts
19
22
  src/models/PickfaceLastRestocked.ts
20
23
  src/models/PickfaceLog.ts
21
- src/models/PickfaceModel.ts
22
- src/models/PickfaceModels.ts
23
24
  src/models/UpdatePickfaceRequest.ts
24
25
  src/models/UpdatePickfaceRequestContentsInner.ts
25
26
  src/models/UpdatePickfaceRequestContentsInnerQuantity.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/pickfaces@0.12.0
1
+ ## @teemill/pickfaces@0.12.1
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.12.0 --save
39
+ npm install @teemill/pickfaces@0.12.1 --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.12.0
5
+ * The version of the OpenAPI document: 0.12.1
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, PickfaceModels, UpdatePickfaceRequest } from '../models/index';
13
+ import type { ContainerModels, CreatePickfaceRequest, GetPickfaces200Response, ListPickfaceLogs200Response, MoveStockRequest, Pickface, UpdatePickfaceRequest } from '../models/index';
14
14
  export interface CreatePickfaceOperationRequest {
15
15
  project: string;
16
16
  createPickfaceRequest: CreatePickfaceRequest;
@@ -26,7 +26,7 @@ export interface GetPickfaceRequest {
26
26
  project: string;
27
27
  pickfaceId: string;
28
28
  }
29
- export interface GetPickfaceModelsRequest {
29
+ export interface GetPickfaceContainerModelsRequest {
30
30
  project: string;
31
31
  }
32
32
  export interface GetPickfacesRequest {
@@ -109,15 +109,15 @@ export declare class PickfacesApi extends runtime.BaseAPI {
109
109
  */
110
110
  getPickface(project: string, pickfaceId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Pickface>;
111
111
  /**
112
- * Lists pickface models
113
- * Get pickface models
112
+ * Lists pickface container models
113
+ * Get pickface container models
114
114
  */
115
- getPickfaceModelsRaw(requestParameters: GetPickfaceModelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PickfaceModels>>;
115
+ getPickfaceContainerModelsRaw(requestParameters: GetPickfaceContainerModelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContainerModels>>;
116
116
  /**
117
- * Lists pickface models
118
- * Get pickface models
117
+ * Lists pickface container models
118
+ * Get pickface container models
119
119
  */
120
- getPickfaceModels(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PickfaceModels>;
120
+ getPickfaceContainerModels(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContainerModels>;
121
121
  /**
122
122
  * Lists all pickfaces available paginated into chunks
123
123
  * List pickfaces
@@ -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.12.0
8
+ * The version of the OpenAPI document: 0.12.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -352,17 +352,17 @@ var PickfacesApi = /** @class */ (function (_super) {
352
352
  });
353
353
  };
354
354
  /**
355
- * Lists pickface models
356
- * Get pickface models
355
+ * Lists pickface container models
356
+ * Get pickface container models
357
357
  */
358
- PickfacesApi.prototype.getPickfaceModelsRaw = function (requestParameters, initOverrides) {
358
+ PickfacesApi.prototype.getPickfaceContainerModelsRaw = function (requestParameters, initOverrides) {
359
359
  return __awaiter(this, void 0, void 0, function () {
360
360
  var queryParameters, headerParameters, _a, _b, response;
361
361
  return __generator(this, function (_c) {
362
362
  switch (_c.label) {
363
363
  case 0:
364
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.');
365
+ throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling getPickfaceContainerModels.');
366
366
  }
367
367
  queryParameters = {};
368
368
  if (requestParameters.project !== undefined) {
@@ -383,28 +383,28 @@ var PickfacesApi = /** @class */ (function (_super) {
383
383
  headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
384
384
  }
385
385
  return [4 /*yield*/, this.request({
386
- path: "/v1/pickfaces/models",
386
+ path: "/v1/pickfaces/container-models",
387
387
  method: 'GET',
388
388
  headers: headerParameters,
389
389
  query: queryParameters,
390
390
  }, initOverrides)];
391
391
  case 3:
392
392
  response = _c.sent();
393
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PickfaceModelsFromJSON)(jsonValue); })];
393
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ContainerModelsFromJSON)(jsonValue); })];
394
394
  }
395
395
  });
396
396
  });
397
397
  };
398
398
  /**
399
- * Lists pickface models
400
- * Get pickface models
399
+ * Lists pickface container models
400
+ * Get pickface container models
401
401
  */
402
- PickfacesApi.prototype.getPickfaceModels = function (project, initOverrides) {
402
+ PickfacesApi.prototype.getPickfaceContainerModels = function (project, initOverrides) {
403
403
  return __awaiter(this, void 0, void 0, function () {
404
404
  var response;
405
405
  return __generator(this, function (_a) {
406
406
  switch (_a.label) {
407
- case 0: return [4 /*yield*/, this.getPickfaceModelsRaw({
407
+ case 0: return [4 /*yield*/, this.getPickfaceContainerModelsRaw({
408
408
  project: project,
409
409
  }, initOverrides)];
410
410
  case 1:
@@ -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.12.0
5
+ * The version of the OpenAPI document: 0.12.1
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.12.0
8
+ * The version of the OpenAPI document: 0.12.1
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,61 @@
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.12.1
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
+ *
14
+ * @export
15
+ * @interface ContainerModel
16
+ */
17
+ export interface ContainerModel {
18
+ /**
19
+ * Unique object identifier
20
+ * @type {string}
21
+ * @memberof ContainerModel
22
+ */
23
+ id: string;
24
+ /**
25
+ * A reference to the resource location
26
+ * @type {string}
27
+ * @memberof ContainerModel
28
+ */
29
+ ref: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ContainerModel
34
+ */
35
+ name: string;
36
+ /**
37
+ * The width of the model in millimetres
38
+ * @type {number}
39
+ * @memberof ContainerModel
40
+ */
41
+ width?: number;
42
+ /**
43
+ * The depth of the model in millimetres
44
+ * @type {number}
45
+ * @memberof ContainerModel
46
+ */
47
+ depth?: number;
48
+ /**
49
+ * The height of the model in millimetres
50
+ * @type {number}
51
+ * @memberof ContainerModel
52
+ */
53
+ height?: number;
54
+ }
55
+ /**
56
+ * Check if a given object implements the ContainerModel interface.
57
+ */
58
+ export declare function instanceOfContainerModel(value: object): boolean;
59
+ export declare function ContainerModelFromJSON(json: any): ContainerModel;
60
+ export declare function ContainerModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContainerModel;
61
+ export declare function ContainerModelToJSON(value?: ContainerModel | null): any;
@@ -0,0 +1,61 @@
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.12.1
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.ContainerModelToJSON = exports.ContainerModelFromJSONTyped = exports.ContainerModelFromJSON = exports.instanceOfContainerModel = void 0;
17
+ /**
18
+ * Check if a given object implements the ContainerModel interface.
19
+ */
20
+ function instanceOfContainerModel(value) {
21
+ if (!('id' in value))
22
+ return false;
23
+ if (!('ref' in value))
24
+ return false;
25
+ if (!('name' in value))
26
+ return false;
27
+ return true;
28
+ }
29
+ exports.instanceOfContainerModel = instanceOfContainerModel;
30
+ function ContainerModelFromJSON(json) {
31
+ return ContainerModelFromJSONTyped(json, false);
32
+ }
33
+ exports.ContainerModelFromJSON = ContainerModelFromJSON;
34
+ function ContainerModelFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'id': json['id'],
40
+ 'ref': json['ref'],
41
+ 'name': json['name'],
42
+ 'width': json['width'] == null ? undefined : json['width'],
43
+ 'depth': json['depth'] == null ? undefined : json['depth'],
44
+ 'height': json['height'] == null ? undefined : json['height'],
45
+ };
46
+ }
47
+ exports.ContainerModelFromJSONTyped = ContainerModelFromJSONTyped;
48
+ function ContainerModelToJSON(value) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'id': value['id'],
54
+ 'ref': value['ref'],
55
+ 'name': value['name'],
56
+ 'width': value['width'],
57
+ 'depth': value['depth'],
58
+ 'height': value['height'],
59
+ };
60
+ }
61
+ exports.ContainerModelToJSON = ContainerModelToJSON;
@@ -0,0 +1,32 @@
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.12.1
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 { ContainerModel } from './ContainerModel';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ContainerModels
17
+ */
18
+ export interface ContainerModels {
19
+ /**
20
+ *
21
+ * @type {Array<ContainerModel>}
22
+ * @memberof ContainerModels
23
+ */
24
+ containerModels?: Array<ContainerModel>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ContainerModels interface.
28
+ */
29
+ export declare function instanceOfContainerModels(value: object): boolean;
30
+ export declare function ContainerModelsFromJSON(json: any): ContainerModels;
31
+ export declare function ContainerModelsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContainerModels;
32
+ export declare function ContainerModelsToJSON(value?: ContainerModels | null): any;
@@ -0,0 +1,46 @@
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.12.1
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.ContainerModelsToJSON = exports.ContainerModelsFromJSONTyped = exports.ContainerModelsFromJSON = exports.instanceOfContainerModels = void 0;
17
+ var ContainerModel_1 = require("./ContainerModel");
18
+ /**
19
+ * Check if a given object implements the ContainerModels interface.
20
+ */
21
+ function instanceOfContainerModels(value) {
22
+ return true;
23
+ }
24
+ exports.instanceOfContainerModels = instanceOfContainerModels;
25
+ function ContainerModelsFromJSON(json) {
26
+ return ContainerModelsFromJSONTyped(json, false);
27
+ }
28
+ exports.ContainerModelsFromJSON = ContainerModelsFromJSON;
29
+ function ContainerModelsFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'containerModels': json['containerModels'] == null ? undefined : (json['containerModels'].map(ContainerModel_1.ContainerModelFromJSON)),
35
+ };
36
+ }
37
+ exports.ContainerModelsFromJSONTyped = ContainerModelsFromJSONTyped;
38
+ function ContainerModelsToJSON(value) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'containerModels': value['containerModels'] == null ? undefined : (value['containerModels'].map(ContainerModel_1.ContainerModelToJSON)),
44
+ };
45
+ }
46
+ exports.ContainerModelsToJSON = ContainerModelsToJSON;
@@ -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.12.0
5
+ * The version of the OpenAPI document: 0.12.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ export interface CreatePickfaceRequest {
26
26
  * @type {string}
27
27
  * @memberof CreatePickfaceRequest
28
28
  */
29
- modelId?: string;
29
+ containerModelId?: string;
30
30
  }
31
31
  /**
32
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.12.0
8
+ * The version of the OpenAPI document: 0.12.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,7 +31,7 @@ function CreatePickfaceRequestFromJSONTyped(json, ignoreDiscriminator) {
31
31
  }
32
32
  return {
33
33
  'location': json['location'] == null ? undefined : json['location'],
34
- 'modelId': json['modelId'] == null ? undefined : json['modelId'],
34
+ 'containerModelId': json['containerModelId'] == null ? undefined : json['containerModelId'],
35
35
  };
36
36
  }
37
37
  exports.CreatePickfaceRequestFromJSONTyped = CreatePickfaceRequestFromJSONTyped;
@@ -41,7 +41,7 @@ function CreatePickfaceRequestToJSON(value) {
41
41
  }
42
42
  return {
43
43
  'location': value['location'],
44
- 'modelId': value['modelId'],
44
+ 'containerModelId': value['containerModelId'],
45
45
  };
46
46
  }
47
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.12.0
5
+ * The version of the OpenAPI document: 0.12.1
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.12.0
8
+ * The version of the OpenAPI document: 0.12.1
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.12.0
5
+ * The version of the OpenAPI document: 0.12.1
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.12.0
8
+ * The version of the OpenAPI document: 0.12.1
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.12.0
5
+ * The version of the OpenAPI document: 0.12.1
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.12.0
8
+ * The version of the OpenAPI document: 0.12.1
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.12.0
5
+ * The version of the OpenAPI document: 0.12.1
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 { PickfaceContainerModel } from './PickfaceContainerModel';
12
13
  import type { PickfaceContentsInner } from './PickfaceContentsInner';
13
14
  import type { PickfaceLastPicked } from './PickfaceLastPicked';
14
15
  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 {PickfaceModel}
48
+ * @type {PickfaceContainerModel}
49
49
  * @memberof Pickface
50
50
  */
51
- model?: PickfaceModel;
51
+ containerModel?: PickfaceContainerModel;
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.12.0
8
+ * The version of the OpenAPI document: 0.12.1
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 PickfaceContainerModel_1 = require("./PickfaceContainerModel");
17
18
  var PickfaceContentsInner_1 = require("./PickfaceContentsInner");
18
19
  var PickfaceLastPicked_1 = require("./PickfaceLastPicked");
19
20
  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
- 'model': json['model'] == null ? undefined : (0, PickfaceModel_1.PickfaceModelFromJSON)(json['model']),
41
+ 'containerModel': json['containerModel'] == null ? undefined : (0, PickfaceContainerModel_1.PickfaceContainerModelFromJSON)(json['containerModel']),
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
- 'model': (0, PickfaceModel_1.PickfaceModelToJSON)(value['model']),
58
+ 'containerModel': (0, PickfaceContainerModel_1.PickfaceContainerModelToJSON)(value['containerModel']),
59
59
  'fullness': value['fullness'],
60
60
  'lastPicked': (0, PickfaceLastPicked_1.PickfaceLastPickedToJSON)(value['lastPicked']),
61
61
  'lastRestocked': (0, PickfaceLastRestocked_1.PickfaceLastRestockedToJSON)(value['lastRestocked']),
@@ -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.12.1
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
+ *
14
+ * @export
15
+ * @interface PickfaceContainerModel
16
+ */
17
+ export interface PickfaceContainerModel {
18
+ /**
19
+ * Unique object identifier
20
+ * @type {string}
21
+ * @memberof PickfaceContainerModel
22
+ */
23
+ id?: string;
24
+ /**
25
+ * A reference to the resource location
26
+ * @type {string}
27
+ * @memberof PickfaceContainerModel
28
+ */
29
+ ref?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PickfaceContainerModel interface.
33
+ */
34
+ export declare function instanceOfPickfaceContainerModel(value: object): boolean;
35
+ export declare function PickfaceContainerModelFromJSON(json: any): PickfaceContainerModel;
36
+ export declare function PickfaceContainerModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceContainerModel;
37
+ export declare function PickfaceContainerModelToJSON(value?: PickfaceContainerModel | null): any;
@@ -0,0 +1,47 @@
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.12.1
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.PickfaceContainerModelToJSON = exports.PickfaceContainerModelFromJSONTyped = exports.PickfaceContainerModelFromJSON = exports.instanceOfPickfaceContainerModel = void 0;
17
+ /**
18
+ * Check if a given object implements the PickfaceContainerModel interface.
19
+ */
20
+ function instanceOfPickfaceContainerModel(value) {
21
+ return true;
22
+ }
23
+ exports.instanceOfPickfaceContainerModel = instanceOfPickfaceContainerModel;
24
+ function PickfaceContainerModelFromJSON(json) {
25
+ return PickfaceContainerModelFromJSONTyped(json, false);
26
+ }
27
+ exports.PickfaceContainerModelFromJSON = PickfaceContainerModelFromJSON;
28
+ function PickfaceContainerModelFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'id': json['id'] == null ? undefined : json['id'],
34
+ 'ref': json['ref'] == null ? undefined : json['ref'],
35
+ };
36
+ }
37
+ exports.PickfaceContainerModelFromJSONTyped = PickfaceContainerModelFromJSONTyped;
38
+ function PickfaceContainerModelToJSON(value) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'id': value['id'],
44
+ 'ref': value['ref'],
45
+ };
46
+ }
47
+ exports.PickfaceContainerModelToJSON = PickfaceContainerModelToJSON;
@@ -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.12.0
5
+ * The version of the OpenAPI document: 0.12.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).