@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
@@ -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).
@@ -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).
@@ -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).
@@ -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).
@@ -13,6 +13,12 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { PickfaceContainerModel } from './PickfaceContainerModel';
17
+ import {
18
+ PickfaceContainerModelFromJSON,
19
+ PickfaceContainerModelFromJSONTyped,
20
+ PickfaceContainerModelToJSON,
21
+ } from './PickfaceContainerModel';
16
22
  import type { PickfaceContentsInner } from './PickfaceContentsInner';
17
23
  import {
18
24
  PickfaceContentsInnerFromJSON,
@@ -31,12 +37,6 @@ import {
31
37
  PickfaceLastRestockedFromJSONTyped,
32
38
  PickfaceLastRestockedToJSON,
33
39
  } from './PickfaceLastRestocked';
34
- import type { PickfaceModel } from './PickfaceModel';
35
- import {
36
- PickfaceModelFromJSON,
37
- PickfaceModelFromJSONTyped,
38
- PickfaceModelToJSON,
39
- } from './PickfaceModel';
40
40
 
41
41
  /**
42
42
  *
@@ -70,10 +70,10 @@ export interface Pickface {
70
70
  enabled?: boolean;
71
71
  /**
72
72
  *
73
- * @type {PickfaceModel}
73
+ * @type {PickfaceContainerModel}
74
74
  * @memberof Pickface
75
75
  */
76
- model?: PickfaceModel;
76
+ containerModel?: PickfaceContainerModel;
77
77
  /**
78
78
  * The percentage of the pickface that has been taken up by its contents
79
79
  * @type {number}
@@ -121,7 +121,7 @@ export function PickfaceFromJSONTyped(json: any, ignoreDiscriminator: boolean):
121
121
  'ref': json['ref'] == null ? undefined : json['ref'],
122
122
  'code': json['code'] == null ? undefined : json['code'],
123
123
  'enabled': json['enabled'] == null ? undefined : json['enabled'],
124
- 'model': json['model'] == null ? undefined : PickfaceModelFromJSON(json['model']),
124
+ 'containerModel': json['containerModel'] == null ? undefined : PickfaceContainerModelFromJSON(json['containerModel']),
125
125
  'fullness': json['fullness'] == null ? undefined : json['fullness'],
126
126
  'lastPicked': json['lastPicked'] == null ? undefined : PickfaceLastPickedFromJSON(json['lastPicked']),
127
127
  'lastRestocked': json['lastRestocked'] == null ? undefined : PickfaceLastRestockedFromJSON(json['lastRestocked']),
@@ -139,7 +139,7 @@ export function PickfaceToJSON(value?: Pickface | null): any {
139
139
  'ref': value['ref'],
140
140
  'code': value['code'],
141
141
  'enabled': value['enabled'],
142
- 'model': PickfaceModelToJSON(value['model']),
142
+ 'containerModel': PickfaceContainerModelToJSON(value['containerModel']),
143
143
  'fullness': value['fullness'],
144
144
  'lastPicked': PickfaceLastPickedToJSON(value['lastPicked']),
145
145
  'lastRestocked': PickfaceLastRestockedToJSON(value['lastRestocked']),
@@ -0,0 +1,68 @@
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 PickfaceContainerModel
20
+ */
21
+ export interface PickfaceContainerModel {
22
+ /**
23
+ * Unique object identifier
24
+ * @type {string}
25
+ * @memberof PickfaceContainerModel
26
+ */
27
+ id?: string;
28
+ /**
29
+ * A reference to the resource location
30
+ * @type {string}
31
+ * @memberof PickfaceContainerModel
32
+ */
33
+ ref?: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the PickfaceContainerModel interface.
38
+ */
39
+ export function instanceOfPickfaceContainerModel(value: object): boolean {
40
+ return true;
41
+ }
42
+
43
+ export function PickfaceContainerModelFromJSON(json: any): PickfaceContainerModel {
44
+ return PickfaceContainerModelFromJSONTyped(json, false);
45
+ }
46
+
47
+ export function PickfaceContainerModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceContainerModel {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+
53
+ 'id': json['id'] == null ? undefined : json['id'],
54
+ 'ref': json['ref'] == null ? undefined : json['ref'],
55
+ };
56
+ }
57
+
58
+ export function PickfaceContainerModelToJSON(value?: PickfaceContainerModel | null): any {
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+
64
+ 'id': value['id'],
65
+ 'ref': value['ref'],
66
+ };
67
+ }
68
+
@@ -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).
@@ -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).
@@ -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).
@@ -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).
@@ -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).
@@ -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).
@@ -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).
@@ -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).
@@ -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).
@@ -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).
@@ -37,7 +37,7 @@ export interface UpdatePickfaceRequest {
37
37
  * @type {string}
38
38
  * @memberof UpdatePickfaceRequest
39
39
  */
40
- modelId?: string;
40
+ containerModelId?: string;
41
41
  /**
42
42
  *
43
43
  * @type {Array<UpdatePickfaceRequestContentsInner>}
@@ -64,7 +64,7 @@ export function UpdatePickfaceRequestFromJSONTyped(json: any, ignoreDiscriminato
64
64
  return {
65
65
 
66
66
  'enabled': json['enabled'] == null ? undefined : json['enabled'],
67
- 'modelId': json['modelId'] == null ? undefined : json['modelId'],
67
+ 'containerModelId': json['containerModelId'] == null ? undefined : json['containerModelId'],
68
68
  'contents': json['contents'] == null ? undefined : ((json['contents'] as Array<any>).map(UpdatePickfaceRequestContentsInnerFromJSON)),
69
69
  };
70
70
  }
@@ -76,7 +76,7 @@ export function UpdatePickfaceRequestToJSON(value?: UpdatePickfaceRequest | null
76
76
  return {
77
77
 
78
78
  'enabled': value['enabled'],
79
- 'modelId': value['modelId'],
79
+ 'containerModelId': value['containerModelId'],
80
80
  'contents': value['contents'] == null ? undefined : ((value['contents'] as Array<any>).map(UpdatePickfaceRequestContentsInnerToJSON)),
81
81
  };
82
82
  }
@@ -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).
@@ -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).
@@ -1,11 +1,14 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export * from './ApiError';
4
+ export * from './ContainerModel';
5
+ export * from './ContainerModels';
4
6
  export * from './CreatePickfaceRequest';
5
7
  export * from './GetPickfaces200Response';
6
8
  export * from './ListPickfaceLogs200Response';
7
9
  export * from './MoveStockRequest';
8
10
  export * from './Pickface';
11
+ export * from './PickfaceContainerModel';
9
12
  export * from './PickfaceContentsInner';
10
13
  export * from './PickfaceContentsInnerApplicationsInner';
11
14
  export * from './PickfaceContentsInnerMetadata';
@@ -13,8 +16,6 @@ export * from './PickfaceContentsInnerQuantity';
13
16
  export * from './PickfaceLastPicked';
14
17
  export * from './PickfaceLastRestocked';
15
18
  export * from './PickfaceLog';
16
- export * from './PickfaceModel';
17
- export * from './PickfaceModels';
18
19
  export * from './UpdatePickfaceRequest';
19
20
  export * from './UpdatePickfaceRequestContentsInner';
20
21
  export * from './UpdatePickfaceRequestContentsInnerQuantity';
package/src/runtime.ts CHANGED
@@ -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).