@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
@@ -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,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,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,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).
@@ -27,7 +27,7 @@ export interface UpdatePickfaceRequest {
27
27
  * @type {string}
28
28
  * @memberof UpdatePickfaceRequest
29
29
  */
30
- modelId?: string;
30
+ containerModelId?: string;
31
31
  /**
32
32
  *
33
33
  * @type {Array<UpdatePickfaceRequestContentsInner>}
@@ -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).
@@ -32,7 +32,7 @@ function UpdatePickfaceRequestFromJSONTyped(json, ignoreDiscriminator) {
32
32
  }
33
33
  return {
34
34
  'enabled': json['enabled'] == null ? undefined : json['enabled'],
35
- 'modelId': json['modelId'] == null ? undefined : json['modelId'],
35
+ 'containerModelId': json['containerModelId'] == null ? undefined : json['containerModelId'],
36
36
  'contents': json['contents'] == null ? undefined : (json['contents'].map(UpdatePickfaceRequestContentsInner_1.UpdatePickfaceRequestContentsInnerFromJSON)),
37
37
  };
38
38
  }
@@ -43,7 +43,7 @@ function UpdatePickfaceRequestToJSON(value) {
43
43
  }
44
44
  return {
45
45
  'enabled': value['enabled'],
46
- 'modelId': value['modelId'],
46
+ 'containerModelId': value['containerModelId'],
47
47
  'contents': value['contents'] == null ? undefined : (value['contents'].map(UpdatePickfaceRequestContentsInner_1.UpdatePickfaceRequestContentsInnerToJSON)),
48
48
  };
49
49
  }
@@ -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).
@@ -1,9 +1,12 @@
1
1
  export * from './ApiError';
2
+ export * from './ContainerModel';
3
+ export * from './ContainerModels';
2
4
  export * from './CreatePickfaceRequest';
3
5
  export * from './GetPickfaces200Response';
4
6
  export * from './ListPickfaceLogs200Response';
5
7
  export * from './MoveStockRequest';
6
8
  export * from './Pickface';
9
+ export * from './PickfaceContainerModel';
7
10
  export * from './PickfaceContentsInner';
8
11
  export * from './PickfaceContentsInnerApplicationsInner';
9
12
  export * from './PickfaceContentsInnerMetadata';
@@ -11,8 +14,6 @@ export * from './PickfaceContentsInnerQuantity';
11
14
  export * from './PickfaceLastPicked';
12
15
  export * from './PickfaceLastRestocked';
13
16
  export * from './PickfaceLog';
14
- export * from './PickfaceModel';
15
- export * from './PickfaceModels';
16
17
  export * from './UpdatePickfaceRequest';
17
18
  export * from './UpdatePickfaceRequestContentsInner';
18
19
  export * from './UpdatePickfaceRequestContentsInnerQuantity';
@@ -17,11 +17,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /* tslint:disable */
18
18
  /* eslint-disable */
19
19
  __exportStar(require("./ApiError"), exports);
20
+ __exportStar(require("./ContainerModel"), exports);
21
+ __exportStar(require("./ContainerModels"), exports);
20
22
  __exportStar(require("./CreatePickfaceRequest"), exports);
21
23
  __exportStar(require("./GetPickfaces200Response"), exports);
22
24
  __exportStar(require("./ListPickfaceLogs200Response"), exports);
23
25
  __exportStar(require("./MoveStockRequest"), exports);
24
26
  __exportStar(require("./Pickface"), exports);
27
+ __exportStar(require("./PickfaceContainerModel"), exports);
25
28
  __exportStar(require("./PickfaceContentsInner"), exports);
26
29
  __exportStar(require("./PickfaceContentsInnerApplicationsInner"), exports);
27
30
  __exportStar(require("./PickfaceContentsInnerMetadata"), exports);
@@ -29,8 +32,6 @@ __exportStar(require("./PickfaceContentsInnerQuantity"), exports);
29
32
  __exportStar(require("./PickfaceLastPicked"), exports);
30
33
  __exportStar(require("./PickfaceLastRestocked"), exports);
31
34
  __exportStar(require("./PickfaceLog"), exports);
32
- __exportStar(require("./PickfaceModel"), exports);
33
- __exportStar(require("./PickfaceModels"), exports);
34
35
  __exportStar(require("./UpdatePickfaceRequest"), exports);
35
36
  __exportStar(require("./UpdatePickfaceRequestContentsInner"), exports);
36
37
  __exportStar(require("./UpdatePickfaceRequestContentsInnerQuantity"), exports);
package/dist/runtime.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.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).
package/dist/runtime.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
6
  * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 0.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).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/pickfaces",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "OpenAPI client for @teemill/pickfaces",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.12.0
7
+ * The version of the OpenAPI document: 0.12.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,17 +16,19 @@
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
18
  ApiError,
19
+ ContainerModels,
19
20
  CreatePickfaceRequest,
20
21
  GetPickfaces200Response,
21
22
  ListPickfaceLogs200Response,
22
23
  MoveStockRequest,
23
24
  Pickface,
24
- PickfaceModels,
25
25
  UpdatePickfaceRequest,
26
26
  } from '../models/index';
27
27
  import {
28
28
  ApiErrorFromJSON,
29
29
  ApiErrorToJSON,
30
+ ContainerModelsFromJSON,
31
+ ContainerModelsToJSON,
30
32
  CreatePickfaceRequestFromJSON,
31
33
  CreatePickfaceRequestToJSON,
32
34
  GetPickfaces200ResponseFromJSON,
@@ -37,8 +39,6 @@ import {
37
39
  MoveStockRequestToJSON,
38
40
  PickfaceFromJSON,
39
41
  PickfaceToJSON,
40
- PickfaceModelsFromJSON,
41
- PickfaceModelsToJSON,
42
42
  UpdatePickfaceRequestFromJSON,
43
43
  UpdatePickfaceRequestToJSON,
44
44
  } from '../models/index';
@@ -62,7 +62,7 @@ export interface GetPickfaceRequest {
62
62
  pickfaceId: string;
63
63
  }
64
64
 
65
- export interface GetPickfaceModelsRequest {
65
+ export interface GetPickfaceContainerModelsRequest {
66
66
  project: string;
67
67
  }
68
68
 
@@ -342,12 +342,12 @@ export class PickfacesApi extends runtime.BaseAPI {
342
342
  }
343
343
 
344
344
  /**
345
- * Lists pickface models
346
- * Get pickface models
345
+ * Lists pickface container models
346
+ * Get pickface container models
347
347
  */
348
- async getPickfaceModelsRaw(requestParameters: GetPickfaceModelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PickfaceModels>> {
348
+ async getPickfaceContainerModelsRaw(requestParameters: GetPickfaceContainerModelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContainerModels>> {
349
349
  if (requestParameters.project === null || requestParameters.project === undefined) {
350
- throw new runtime.RequiredError('project','Required parameter requestParameters.project was null or undefined when calling getPickfaceModels.');
350
+ throw new runtime.RequiredError('project','Required parameter requestParameters.project was null or undefined when calling getPickfaceContainerModels.');
351
351
  }
352
352
 
353
353
  const queryParameters: any = {};
@@ -368,24 +368,24 @@ export class PickfacesApi extends runtime.BaseAPI {
368
368
  }
369
369
 
370
370
  const response = await this.request({
371
- path: `/v1/pickfaces/models`,
371
+ path: `/v1/pickfaces/container-models`,
372
372
  method: 'GET',
373
373
  headers: headerParameters,
374
374
  query: queryParameters,
375
375
  }, initOverrides);
376
376
 
377
- return new runtime.JSONApiResponse(response, (jsonValue) => PickfaceModelsFromJSON(jsonValue));
377
+ return new runtime.JSONApiResponse(response, (jsonValue) => ContainerModelsFromJSON(jsonValue));
378
378
  }
379
379
 
380
380
  /**
381
- * Lists pickface models
382
- * Get pickface models
381
+ * Lists pickface container models
382
+ * Get pickface container models
383
383
  */
384
- async getPickfaceModels(
384
+ async getPickfaceContainerModels(
385
385
  project: string,
386
386
  initOverrides?: RequestInit | runtime.InitOverrideFunction
387
- ): Promise<PickfaceModels> {
388
- const response = await this.getPickfaceModelsRaw(
387
+ ): Promise<ContainerModels> {
388
+ const response = await this.getPickfaceContainerModelsRaw(
389
389
  {
390
390
  project: project,
391
391
  },
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.12.0
7
+ * The version of the OpenAPI document: 0.12.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,103 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pickfaces API
5
+ * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ *
7
+ * The version of the OpenAPI document: 0.12.1
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ContainerModel
20
+ */
21
+ export interface ContainerModel {
22
+ /**
23
+ * Unique object identifier
24
+ * @type {string}
25
+ * @memberof ContainerModel
26
+ */
27
+ id: string;
28
+ /**
29
+ * A reference to the resource location
30
+ * @type {string}
31
+ * @memberof ContainerModel
32
+ */
33
+ ref: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ContainerModel
38
+ */
39
+ name: string;
40
+ /**
41
+ * The width of the model in millimetres
42
+ * @type {number}
43
+ * @memberof ContainerModel
44
+ */
45
+ width?: number;
46
+ /**
47
+ * The depth of the model in millimetres
48
+ * @type {number}
49
+ * @memberof ContainerModel
50
+ */
51
+ depth?: number;
52
+ /**
53
+ * The height of the model in millimetres
54
+ * @type {number}
55
+ * @memberof ContainerModel
56
+ */
57
+ height?: number;
58
+ }
59
+
60
+ /**
61
+ * Check if a given object implements the ContainerModel interface.
62
+ */
63
+ export function instanceOfContainerModel(value: object): boolean {
64
+ if (!('id' in value)) return false;
65
+ if (!('ref' in value)) return false;
66
+ if (!('name' in value)) return false;
67
+ return true;
68
+ }
69
+
70
+ export function ContainerModelFromJSON(json: any): ContainerModel {
71
+ return ContainerModelFromJSONTyped(json, false);
72
+ }
73
+
74
+ export function ContainerModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContainerModel {
75
+ if (json == null) {
76
+ return json;
77
+ }
78
+ return {
79
+
80
+ 'id': json['id'],
81
+ 'ref': json['ref'],
82
+ 'name': json['name'],
83
+ 'width': json['width'] == null ? undefined : json['width'],
84
+ 'depth': json['depth'] == null ? undefined : json['depth'],
85
+ 'height': json['height'] == null ? undefined : json['height'],
86
+ };
87
+ }
88
+
89
+ export function ContainerModelToJSON(value?: ContainerModel | null): any {
90
+ if (value == null) {
91
+ return value;
92
+ }
93
+ return {
94
+
95
+ 'id': value['id'],
96
+ 'ref': value['ref'],
97
+ 'name': value['name'],
98
+ 'width': value['width'],
99
+ 'depth': value['depth'],
100
+ 'height': value['height'],
101
+ };
102
+ }
103
+
@@ -0,0 +1,67 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pickfaces API
5
+ * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ *
7
+ * The version of the OpenAPI document: 0.12.1
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { ContainerModel } from './ContainerModel';
17
+ import {
18
+ ContainerModelFromJSON,
19
+ ContainerModelFromJSONTyped,
20
+ ContainerModelToJSON,
21
+ } from './ContainerModel';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface ContainerModels
27
+ */
28
+ export interface ContainerModels {
29
+ /**
30
+ *
31
+ * @type {Array<ContainerModel>}
32
+ * @memberof ContainerModels
33
+ */
34
+ containerModels?: Array<ContainerModel>;
35
+ }
36
+
37
+ /**
38
+ * Check if a given object implements the ContainerModels interface.
39
+ */
40
+ export function instanceOfContainerModels(value: object): boolean {
41
+ return true;
42
+ }
43
+
44
+ export function ContainerModelsFromJSON(json: any): ContainerModels {
45
+ return ContainerModelsFromJSONTyped(json, false);
46
+ }
47
+
48
+ export function ContainerModelsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContainerModels {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+
54
+ 'containerModels': json['containerModels'] == null ? undefined : ((json['containerModels'] as Array<any>).map(ContainerModelFromJSON)),
55
+ };
56
+ }
57
+
58
+ export function ContainerModelsToJSON(value?: ContainerModels | null): any {
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+
64
+ 'containerModels': value['containerModels'] == null ? undefined : ((value['containerModels'] as Array<any>).map(ContainerModelToJSON)),
65
+ };
66
+ }
67
+
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.12.0
7
+ * The version of the OpenAPI document: 0.12.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -30,7 +30,7 @@ export interface CreatePickfaceRequest {
30
30
  * @type {string}
31
31
  * @memberof CreatePickfaceRequest
32
32
  */
33
- modelId?: string;
33
+ containerModelId?: string;
34
34
  }
35
35
 
36
36
  /**
@@ -51,7 +51,7 @@ export function CreatePickfaceRequestFromJSONTyped(json: any, ignoreDiscriminato
51
51
  return {
52
52
 
53
53
  'location': json['location'] == null ? undefined : json['location'],
54
- 'modelId': json['modelId'] == null ? undefined : json['modelId'],
54
+ 'containerModelId': json['containerModelId'] == null ? undefined : json['containerModelId'],
55
55
  };
56
56
  }
57
57
 
@@ -62,7 +62,7 @@ export function CreatePickfaceRequestToJSON(value?: CreatePickfaceRequest | null
62
62
  return {
63
63
 
64
64
  'location': value['location'],
65
- 'modelId': value['modelId'],
65
+ 'containerModelId': value['containerModelId'],
66
66
  };
67
67
  }
68
68