@teemill/pickfaces 0.9.1 → 0.11.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 (70) hide show
  1. package/.openapi-generator/FILES +3 -2
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +2 -2
  4. package/dist/apis/PickfacesApi.d.ts +33 -2
  5. package/dist/apis/PickfacesApi.js +144 -1
  6. package/dist/models/ApiError.d.ts +1 -1
  7. package/dist/models/ApiError.js +10 -14
  8. package/dist/models/CreatePickfaceRequest.d.ts +1 -1
  9. package/dist/models/CreatePickfaceRequest.js +9 -14
  10. package/dist/models/CreatePickfaceRequestDimensions.d.ts +1 -1
  11. package/dist/models/CreatePickfaceRequestDimensions.js +11 -16
  12. package/dist/models/GetPickfaces200Response.d.ts +1 -1
  13. package/dist/models/GetPickfaces200Response.js +9 -14
  14. package/dist/models/ListPickfaceLogs200Response.d.ts +38 -0
  15. package/dist/models/ListPickfaceLogs200Response.js +48 -0
  16. package/dist/models/MoveStockRequest.d.ts +1 -1
  17. package/dist/models/MoveStockRequest.js +14 -15
  18. package/dist/models/Pickface.d.ts +1 -1
  19. package/dist/models/Pickface.js +23 -28
  20. package/dist/models/PickfaceContentsInner.d.ts +3 -3
  21. package/dist/models/PickfaceContentsInner.js +15 -20
  22. package/dist/models/PickfaceContentsInnerApplicationsInner.d.ts +1 -1
  23. package/dist/models/PickfaceContentsInnerApplicationsInner.js +9 -14
  24. package/dist/models/PickfaceContentsInnerMetadata.d.ts +4 -4
  25. package/dist/models/PickfaceContentsInnerMetadata.js +11 -16
  26. package/dist/models/PickfaceContentsInnerQuantity.d.ts +1 -1
  27. package/dist/models/PickfaceContentsInnerQuantity.js +11 -16
  28. package/dist/models/PickfaceLastPicked.d.ts +16 -5
  29. package/dist/models/PickfaceLastPicked.js +15 -17
  30. package/dist/models/PickfaceLastRestocked.d.ts +16 -5
  31. package/dist/models/PickfaceLastRestocked.js +15 -17
  32. package/dist/models/PickfaceLog.d.ts +16 -5
  33. package/dist/models/PickfaceLog.js +15 -17
  34. package/dist/models/UpdatePickfaceRequest.d.ts +5 -5
  35. package/dist/models/UpdatePickfaceRequest.js +10 -15
  36. package/dist/models/UpdatePickfaceRequestContents.d.ts +1 -1
  37. package/dist/models/UpdatePickfaceRequestContents.js +9 -14
  38. package/dist/models/UpdatePickfaceRequestContentsInner.d.ts +38 -0
  39. package/dist/models/UpdatePickfaceRequestContentsInner.js +52 -0
  40. package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.d.ts +45 -0
  41. package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.js +58 -0
  42. package/dist/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.d.ts +45 -0
  43. package/dist/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.js +58 -0
  44. package/dist/models/index.d.ts +3 -2
  45. package/dist/models/index.js +3 -2
  46. package/dist/runtime.d.ts +1 -1
  47. package/dist/runtime.js +1 -1
  48. package/package.json +1 -1
  49. package/src/apis/PickfacesApi.ts +149 -1
  50. package/src/models/ApiError.ts +10 -15
  51. package/src/models/CreatePickfaceRequest.ts +10 -15
  52. package/src/models/CreatePickfaceRequestDimensions.ts +12 -17
  53. package/src/models/GetPickfaces200Response.ts +10 -15
  54. package/src/models/ListPickfaceLogs200Response.ts +75 -0
  55. package/src/models/MoveStockRequest.ts +12 -17
  56. package/src/models/Pickface.ts +24 -29
  57. package/src/models/PickfaceContentsInner.ts +18 -23
  58. package/src/models/PickfaceContentsInnerApplicationsInner.ts +10 -15
  59. package/src/models/PickfaceContentsInnerMetadata.ts +15 -20
  60. package/src/models/PickfaceContentsInnerQuantity.ts +12 -17
  61. package/src/models/PickfaceLastPicked.ts +31 -27
  62. package/src/models/PickfaceLastRestocked.ts +31 -27
  63. package/src/models/PickfaceLog.ts +31 -27
  64. package/src/models/UpdatePickfaceRequest.ts +18 -23
  65. package/src/models/UpdatePickfaceRequestContents.ts +10 -15
  66. package/src/models/UpdatePickfaceRequestContentsInner.ts +77 -0
  67. package/src/models/UpdatePickfaceRequestContentsInnerQuantity.ts +81 -0
  68. package/src/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.ts +81 -0
  69. package/src/models/index.ts +3 -2
  70. 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.9.1
8
+ * The version of the OpenAPI document: 0.11.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,14 +14,11 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.PickfaceLastRestockedToJSON = exports.PickfaceLastRestockedFromJSONTyped = exports.PickfaceLastRestockedFromJSON = exports.instanceOfPickfaceLastRestocked = void 0;
17
- var runtime_1 = require("../runtime");
18
- var PickfaceLogUser_1 = require("./PickfaceLogUser");
19
17
  /**
20
18
  * Check if a given object implements the PickfaceLastRestocked interface.
21
19
  */
22
20
  function instanceOfPickfaceLastRestocked(value) {
23
- var isInstance = true;
24
- return isInstance;
21
+ return true;
25
22
  }
26
23
  exports.instanceOfPickfaceLastRestocked = instanceOfPickfaceLastRestocked;
27
24
  function PickfaceLastRestockedFromJSON(json) {
@@ -29,27 +26,28 @@ function PickfaceLastRestockedFromJSON(json) {
29
26
  }
30
27
  exports.PickfaceLastRestockedFromJSON = PickfaceLastRestockedFromJSON;
31
28
  function PickfaceLastRestockedFromJSONTyped(json, ignoreDiscriminator) {
32
- if ((json === undefined) || (json === null)) {
29
+ if (json == null) {
33
30
  return json;
34
31
  }
35
32
  return {
36
- 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
37
- 'user': !(0, runtime_1.exists)(json, 'user') ? undefined : (0, PickfaceLogUser_1.PickfaceLogUserFromJSON)(json['user']),
38
- 'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
33
+ 'id': json['id'] == null ? undefined : json['id'],
34
+ 'userRef': json['userRef'] == null ? undefined : json['userRef'],
35
+ 'action': json['action'] == null ? undefined : json['action'],
36
+ 'reason': json['reason'] == null ? undefined : json['reason'],
37
+ 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
39
38
  };
40
39
  }
41
40
  exports.PickfaceLastRestockedFromJSONTyped = PickfaceLastRestockedFromJSONTyped;
42
41
  function PickfaceLastRestockedToJSON(value) {
43
- if (value === undefined) {
44
- return undefined;
45
- }
46
- if (value === null) {
47
- return null;
42
+ if (value == null) {
43
+ return value;
48
44
  }
49
45
  return {
50
- 'id': value.id,
51
- 'user': (0, PickfaceLogUser_1.PickfaceLogUserToJSON)(value.user),
52
- 'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
46
+ 'id': value['id'],
47
+ 'userRef': value['userRef'],
48
+ 'action': value['action'],
49
+ 'reason': value['reason'],
50
+ 'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
53
51
  };
54
52
  }
55
53
  exports.PickfaceLastRestockedToJSON = PickfaceLastRestockedToJSON;
@@ -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.9.1
5
+ * The version of the OpenAPI document: 0.11.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 { PickfaceLogUser } from './PickfaceLogUser';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -23,11 +22,23 @@ export interface PickfaceLog {
23
22
  */
24
23
  id?: string;
25
24
  /**
26
- *
27
- * @type {PickfaceLogUser}
25
+ * A reference to the resource location
26
+ * @type {string}
27
+ * @memberof PickfaceLog
28
+ */
29
+ userRef?: string;
30
+ /**
31
+ * The action that was taken
32
+ * @type {string}
33
+ * @memberof PickfaceLog
34
+ */
35
+ action?: string;
36
+ /**
37
+ * The reason for the action
38
+ * @type {string}
28
39
  * @memberof PickfaceLog
29
40
  */
30
- user?: PickfaceLogUser;
41
+ reason?: string;
31
42
  /**
32
43
  * ISO 8601 Created at timestamp
33
44
  * @type {Date}
@@ -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.9.1
8
+ * The version of the OpenAPI document: 0.11.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,14 +14,11 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.PickfaceLogToJSON = exports.PickfaceLogFromJSONTyped = exports.PickfaceLogFromJSON = exports.instanceOfPickfaceLog = void 0;
17
- var runtime_1 = require("../runtime");
18
- var PickfaceLogUser_1 = require("./PickfaceLogUser");
19
17
  /**
20
18
  * Check if a given object implements the PickfaceLog interface.
21
19
  */
22
20
  function instanceOfPickfaceLog(value) {
23
- var isInstance = true;
24
- return isInstance;
21
+ return true;
25
22
  }
26
23
  exports.instanceOfPickfaceLog = instanceOfPickfaceLog;
27
24
  function PickfaceLogFromJSON(json) {
@@ -29,27 +26,28 @@ function PickfaceLogFromJSON(json) {
29
26
  }
30
27
  exports.PickfaceLogFromJSON = PickfaceLogFromJSON;
31
28
  function PickfaceLogFromJSONTyped(json, ignoreDiscriminator) {
32
- if ((json === undefined) || (json === null)) {
29
+ if (json == null) {
33
30
  return json;
34
31
  }
35
32
  return {
36
- 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
37
- 'user': !(0, runtime_1.exists)(json, 'user') ? undefined : (0, PickfaceLogUser_1.PickfaceLogUserFromJSON)(json['user']),
38
- 'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
33
+ 'id': json['id'] == null ? undefined : json['id'],
34
+ 'userRef': json['userRef'] == null ? undefined : json['userRef'],
35
+ 'action': json['action'] == null ? undefined : json['action'],
36
+ 'reason': json['reason'] == null ? undefined : json['reason'],
37
+ 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
39
38
  };
40
39
  }
41
40
  exports.PickfaceLogFromJSONTyped = PickfaceLogFromJSONTyped;
42
41
  function PickfaceLogToJSON(value) {
43
- if (value === undefined) {
44
- return undefined;
45
- }
46
- if (value === null) {
47
- return null;
42
+ if (value == null) {
43
+ return value;
48
44
  }
49
45
  return {
50
- 'id': value.id,
51
- 'user': (0, PickfaceLogUser_1.PickfaceLogUserToJSON)(value.user),
52
- 'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
46
+ 'id': value['id'],
47
+ 'userRef': value['userRef'],
48
+ 'action': value['action'],
49
+ 'reason': value['reason'],
50
+ 'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
53
51
  };
54
52
  }
55
53
  exports.PickfaceLogToJSON = PickfaceLogToJSON;
@@ -2,16 +2,16 @@
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.9.1
5
+ * The version of the OpenAPI document: 0.11.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 { UpdatePickfaceRequestContents } from './UpdatePickfaceRequestContents';
12
+ import type { UpdatePickfaceRequestContentsInner } from './UpdatePickfaceRequestContentsInner';
13
13
  /**
14
- *
14
+ * A list of updates to apply to the pickface.
15
15
  * @export
16
16
  * @interface UpdatePickfaceRequest
17
17
  */
@@ -24,10 +24,10 @@ export interface UpdatePickfaceRequest {
24
24
  enabled?: boolean;
25
25
  /**
26
26
  *
27
- * @type {UpdatePickfaceRequestContents}
27
+ * @type {Array<UpdatePickfaceRequestContentsInner>}
28
28
  * @memberof UpdatePickfaceRequest
29
29
  */
30
- contents?: UpdatePickfaceRequestContents | null;
30
+ contents?: Array<UpdatePickfaceRequestContentsInner>;
31
31
  }
32
32
  /**
33
33
  * Check if a given object implements the UpdatePickfaceRequest 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.9.1
8
+ * The version of the OpenAPI document: 0.11.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,14 +14,12 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.UpdatePickfaceRequestToJSON = exports.UpdatePickfaceRequestFromJSONTyped = exports.UpdatePickfaceRequestFromJSON = exports.instanceOfUpdatePickfaceRequest = void 0;
17
- var runtime_1 = require("../runtime");
18
- var UpdatePickfaceRequestContents_1 = require("./UpdatePickfaceRequestContents");
17
+ var UpdatePickfaceRequestContentsInner_1 = require("./UpdatePickfaceRequestContentsInner");
19
18
  /**
20
19
  * Check if a given object implements the UpdatePickfaceRequest interface.
21
20
  */
22
21
  function instanceOfUpdatePickfaceRequest(value) {
23
- var isInstance = true;
24
- return isInstance;
22
+ return true;
25
23
  }
26
24
  exports.instanceOfUpdatePickfaceRequest = instanceOfUpdatePickfaceRequest;
27
25
  function UpdatePickfaceRequestFromJSON(json) {
@@ -29,25 +27,22 @@ function UpdatePickfaceRequestFromJSON(json) {
29
27
  }
30
28
  exports.UpdatePickfaceRequestFromJSON = UpdatePickfaceRequestFromJSON;
31
29
  function UpdatePickfaceRequestFromJSONTyped(json, ignoreDiscriminator) {
32
- if ((json === undefined) || (json === null)) {
30
+ if (json == null) {
33
31
  return json;
34
32
  }
35
33
  return {
36
- 'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
37
- 'contents': !(0, runtime_1.exists)(json, 'contents') ? undefined : (0, UpdatePickfaceRequestContents_1.UpdatePickfaceRequestContentsFromJSON)(json['contents']),
34
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
35
+ 'contents': json['contents'] == null ? undefined : (json['contents'].map(UpdatePickfaceRequestContentsInner_1.UpdatePickfaceRequestContentsInnerFromJSON)),
38
36
  };
39
37
  }
40
38
  exports.UpdatePickfaceRequestFromJSONTyped = UpdatePickfaceRequestFromJSONTyped;
41
39
  function UpdatePickfaceRequestToJSON(value) {
42
- if (value === undefined) {
43
- return undefined;
44
- }
45
- if (value === null) {
46
- return null;
40
+ if (value == null) {
41
+ return value;
47
42
  }
48
43
  return {
49
- 'enabled': value.enabled,
50
- 'contents': (0, UpdatePickfaceRequestContents_1.UpdatePickfaceRequestContentsToJSON)(value.contents),
44
+ 'enabled': value['enabled'],
45
+ 'contents': value['contents'] == null ? undefined : (value['contents'].map(UpdatePickfaceRequestContentsInner_1.UpdatePickfaceRequestContentsInnerToJSON)),
51
46
  };
52
47
  }
53
48
  exports.UpdatePickfaceRequestToJSON = UpdatePickfaceRequestToJSON;
@@ -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.9.1
5
+ * The version of the OpenAPI document: 0.10.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.9.1
8
+ * The version of the OpenAPI document: 0.10.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,13 +14,11 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.UpdatePickfaceRequestContentsToJSON = exports.UpdatePickfaceRequestContentsFromJSONTyped = exports.UpdatePickfaceRequestContentsFromJSON = exports.instanceOfUpdatePickfaceRequestContents = void 0;
17
- var runtime_1 = require("../runtime");
18
17
  /**
19
18
  * Check if a given object implements the UpdatePickfaceRequestContents interface.
20
19
  */
21
20
  function instanceOfUpdatePickfaceRequestContents(value) {
22
- var isInstance = true;
23
- return isInstance;
21
+ return true;
24
22
  }
25
23
  exports.instanceOfUpdatePickfaceRequestContents = instanceOfUpdatePickfaceRequestContents;
26
24
  function UpdatePickfaceRequestContentsFromJSON(json) {
@@ -28,25 +26,22 @@ function UpdatePickfaceRequestContentsFromJSON(json) {
28
26
  }
29
27
  exports.UpdatePickfaceRequestContentsFromJSON = UpdatePickfaceRequestContentsFromJSON;
30
28
  function UpdatePickfaceRequestContentsFromJSONTyped(json, ignoreDiscriminator) {
31
- if ((json === undefined) || (json === null)) {
29
+ if (json == null) {
32
30
  return json;
33
31
  }
34
32
  return {
35
- 'variantRef': !(0, runtime_1.exists)(json, 'variantRef') ? undefined : json['variantRef'],
36
- 'quantity': !(0, runtime_1.exists)(json, 'quantity') ? undefined : json['quantity'],
33
+ 'variantRef': json['variantRef'] == null ? undefined : json['variantRef'],
34
+ 'quantity': json['quantity'] == null ? undefined : json['quantity'],
37
35
  };
38
36
  }
39
37
  exports.UpdatePickfaceRequestContentsFromJSONTyped = UpdatePickfaceRequestContentsFromJSONTyped;
40
38
  function UpdatePickfaceRequestContentsToJSON(value) {
41
- if (value === undefined) {
42
- return undefined;
43
- }
44
- if (value === null) {
45
- return null;
39
+ if (value == null) {
40
+ return value;
46
41
  }
47
42
  return {
48
- 'variantRef': value.variantRef,
49
- 'quantity': value.quantity,
43
+ 'variantRef': value['variantRef'],
44
+ 'quantity': value['quantity'],
50
45
  };
51
46
  }
52
47
  exports.UpdatePickfaceRequestContentsToJSON = UpdatePickfaceRequestContentsToJSON;
@@ -0,0 +1,38 @@
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.11.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 { UpdatePickfaceRequestContentsInnerQuantity } from './UpdatePickfaceRequestContentsInnerQuantity';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdatePickfaceRequestContentsInner
17
+ */
18
+ export interface UpdatePickfaceRequestContentsInner {
19
+ /**
20
+ * The variant to add or subtract from the pickface
21
+ * @type {string}
22
+ * @memberof UpdatePickfaceRequestContentsInner
23
+ */
24
+ variantRef: string;
25
+ /**
26
+ *
27
+ * @type {UpdatePickfaceRequestContentsInnerQuantity}
28
+ * @memberof UpdatePickfaceRequestContentsInner
29
+ */
30
+ quantity: UpdatePickfaceRequestContentsInnerQuantity;
31
+ }
32
+ /**
33
+ * Check if a given object implements the UpdatePickfaceRequestContentsInner interface.
34
+ */
35
+ export declare function instanceOfUpdatePickfaceRequestContentsInner(value: object): boolean;
36
+ export declare function UpdatePickfaceRequestContentsInnerFromJSON(json: any): UpdatePickfaceRequestContentsInner;
37
+ export declare function UpdatePickfaceRequestContentsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePickfaceRequestContentsInner;
38
+ export declare function UpdatePickfaceRequestContentsInnerToJSON(value?: UpdatePickfaceRequestContentsInner | null): any;
@@ -0,0 +1,52 @@
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.11.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.UpdatePickfaceRequestContentsInnerToJSON = exports.UpdatePickfaceRequestContentsInnerFromJSONTyped = exports.UpdatePickfaceRequestContentsInnerFromJSON = exports.instanceOfUpdatePickfaceRequestContentsInner = void 0;
17
+ var UpdatePickfaceRequestContentsInnerQuantity_1 = require("./UpdatePickfaceRequestContentsInnerQuantity");
18
+ /**
19
+ * Check if a given object implements the UpdatePickfaceRequestContentsInner interface.
20
+ */
21
+ function instanceOfUpdatePickfaceRequestContentsInner(value) {
22
+ if (!('variantRef' in value))
23
+ return false;
24
+ if (!('quantity' in value))
25
+ return false;
26
+ return true;
27
+ }
28
+ exports.instanceOfUpdatePickfaceRequestContentsInner = instanceOfUpdatePickfaceRequestContentsInner;
29
+ function UpdatePickfaceRequestContentsInnerFromJSON(json) {
30
+ return UpdatePickfaceRequestContentsInnerFromJSONTyped(json, false);
31
+ }
32
+ exports.UpdatePickfaceRequestContentsInnerFromJSON = UpdatePickfaceRequestContentsInnerFromJSON;
33
+ function UpdatePickfaceRequestContentsInnerFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'variantRef': json['variantRef'],
39
+ 'quantity': (0, UpdatePickfaceRequestContentsInnerQuantity_1.UpdatePickfaceRequestContentsInnerQuantityFromJSON)(json['quantity']),
40
+ };
41
+ }
42
+ exports.UpdatePickfaceRequestContentsInnerFromJSONTyped = UpdatePickfaceRequestContentsInnerFromJSONTyped;
43
+ function UpdatePickfaceRequestContentsInnerToJSON(value) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'variantRef': value['variantRef'],
49
+ 'quantity': (0, UpdatePickfaceRequestContentsInnerQuantity_1.UpdatePickfaceRequestContentsInnerQuantityToJSON)(value['quantity']),
50
+ };
51
+ }
52
+ exports.UpdatePickfaceRequestContentsInnerToJSON = UpdatePickfaceRequestContentsInnerToJSON;
@@ -0,0 +1,45 @@
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.11.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 UpdatePickfaceRequestContentsInnerQuantity
16
+ */
17
+ export interface UpdatePickfaceRequestContentsInnerQuantity {
18
+ /**
19
+ * The operation to perform on the pickface
20
+ * @type {string}
21
+ * @memberof UpdatePickfaceRequestContentsInnerQuantity
22
+ */
23
+ operation: UpdatePickfaceRequestContentsInnerQuantityOperationEnum;
24
+ /**
25
+ * The value to use with the operation
26
+ * @type {number}
27
+ * @memberof UpdatePickfaceRequestContentsInnerQuantity
28
+ */
29
+ value: number;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const UpdatePickfaceRequestContentsInnerQuantityOperationEnum: {
35
+ readonly Add: "add";
36
+ readonly Subtract: "subtract";
37
+ };
38
+ export type UpdatePickfaceRequestContentsInnerQuantityOperationEnum = typeof UpdatePickfaceRequestContentsInnerQuantityOperationEnum[keyof typeof UpdatePickfaceRequestContentsInnerQuantityOperationEnum];
39
+ /**
40
+ * Check if a given object implements the UpdatePickfaceRequestContentsInnerQuantity interface.
41
+ */
42
+ export declare function instanceOfUpdatePickfaceRequestContentsInnerQuantity(value: object): boolean;
43
+ export declare function UpdatePickfaceRequestContentsInnerQuantityFromJSON(json: any): UpdatePickfaceRequestContentsInnerQuantity;
44
+ export declare function UpdatePickfaceRequestContentsInnerQuantityFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePickfaceRequestContentsInnerQuantity;
45
+ export declare function UpdatePickfaceRequestContentsInnerQuantityToJSON(value?: UpdatePickfaceRequestContentsInnerQuantity | null): any;
@@ -0,0 +1,58 @@
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.11.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.UpdatePickfaceRequestContentsInnerQuantityToJSON = exports.UpdatePickfaceRequestContentsInnerQuantityFromJSONTyped = exports.UpdatePickfaceRequestContentsInnerQuantityFromJSON = exports.instanceOfUpdatePickfaceRequestContentsInnerQuantity = exports.UpdatePickfaceRequestContentsInnerQuantityOperationEnum = void 0;
17
+ /**
18
+ * @export
19
+ */
20
+ exports.UpdatePickfaceRequestContentsInnerQuantityOperationEnum = {
21
+ Add: 'add',
22
+ Subtract: 'subtract'
23
+ };
24
+ /**
25
+ * Check if a given object implements the UpdatePickfaceRequestContentsInnerQuantity interface.
26
+ */
27
+ function instanceOfUpdatePickfaceRequestContentsInnerQuantity(value) {
28
+ if (!('operation' in value))
29
+ return false;
30
+ if (!('value' in value))
31
+ return false;
32
+ return true;
33
+ }
34
+ exports.instanceOfUpdatePickfaceRequestContentsInnerQuantity = instanceOfUpdatePickfaceRequestContentsInnerQuantity;
35
+ function UpdatePickfaceRequestContentsInnerQuantityFromJSON(json) {
36
+ return UpdatePickfaceRequestContentsInnerQuantityFromJSONTyped(json, false);
37
+ }
38
+ exports.UpdatePickfaceRequestContentsInnerQuantityFromJSON = UpdatePickfaceRequestContentsInnerQuantityFromJSON;
39
+ function UpdatePickfaceRequestContentsInnerQuantityFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'operation': json['operation'],
45
+ 'value': json['value'],
46
+ };
47
+ }
48
+ exports.UpdatePickfaceRequestContentsInnerQuantityFromJSONTyped = UpdatePickfaceRequestContentsInnerQuantityFromJSONTyped;
49
+ function UpdatePickfaceRequestContentsInnerQuantityToJSON(value) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'operation': value['operation'],
55
+ 'value': value['value'],
56
+ };
57
+ }
58
+ exports.UpdatePickfaceRequestContentsInnerQuantityToJSON = UpdatePickfaceRequestContentsInnerQuantityToJSON;
@@ -0,0 +1,45 @@
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.11.0
6
+ * Contact: hello@teemill.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface UpdatePickfaceRequestContentsInnerQuantityOneOf
16
+ */
17
+ export interface UpdatePickfaceRequestContentsInnerQuantityOneOf {
18
+ /**
19
+ * The operation to perform on the pickface
20
+ * @type {string}
21
+ * @memberof UpdatePickfaceRequestContentsInnerQuantityOneOf
22
+ */
23
+ operation: UpdatePickfaceRequestContentsInnerQuantityOneOfOperationEnum;
24
+ /**
25
+ * The value to use with the operation
26
+ * @type {number}
27
+ * @memberof UpdatePickfaceRequestContentsInnerQuantityOneOf
28
+ */
29
+ value: number;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const UpdatePickfaceRequestContentsInnerQuantityOneOfOperationEnum: {
35
+ readonly Add: "add";
36
+ readonly Subtract: "subtract";
37
+ };
38
+ export type UpdatePickfaceRequestContentsInnerQuantityOneOfOperationEnum = typeof UpdatePickfaceRequestContentsInnerQuantityOneOfOperationEnum[keyof typeof UpdatePickfaceRequestContentsInnerQuantityOneOfOperationEnum];
39
+ /**
40
+ * Check if a given object implements the UpdatePickfaceRequestContentsInnerQuantityOneOf interface.
41
+ */
42
+ export declare function instanceOfUpdatePickfaceRequestContentsInnerQuantityOneOf(value: object): boolean;
43
+ export declare function UpdatePickfaceRequestContentsInnerQuantityOneOfFromJSON(json: any): UpdatePickfaceRequestContentsInnerQuantityOneOf;
44
+ export declare function UpdatePickfaceRequestContentsInnerQuantityOneOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePickfaceRequestContentsInnerQuantityOneOf;
45
+ export declare function UpdatePickfaceRequestContentsInnerQuantityOneOfToJSON(value?: UpdatePickfaceRequestContentsInnerQuantityOneOf | null): any;
@@ -0,0 +1,58 @@
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.11.0
9
+ * Contact: hello@teemill.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.UpdatePickfaceRequestContentsInnerQuantityOneOfToJSON = exports.UpdatePickfaceRequestContentsInnerQuantityOneOfFromJSONTyped = exports.UpdatePickfaceRequestContentsInnerQuantityOneOfFromJSON = exports.instanceOfUpdatePickfaceRequestContentsInnerQuantityOneOf = exports.UpdatePickfaceRequestContentsInnerQuantityOneOfOperationEnum = void 0;
17
+ /**
18
+ * @export
19
+ */
20
+ exports.UpdatePickfaceRequestContentsInnerQuantityOneOfOperationEnum = {
21
+ Add: 'add',
22
+ Subtract: 'subtract'
23
+ };
24
+ /**
25
+ * Check if a given object implements the UpdatePickfaceRequestContentsInnerQuantityOneOf interface.
26
+ */
27
+ function instanceOfUpdatePickfaceRequestContentsInnerQuantityOneOf(value) {
28
+ if (!('operation' in value))
29
+ return false;
30
+ if (!('value' in value))
31
+ return false;
32
+ return true;
33
+ }
34
+ exports.instanceOfUpdatePickfaceRequestContentsInnerQuantityOneOf = instanceOfUpdatePickfaceRequestContentsInnerQuantityOneOf;
35
+ function UpdatePickfaceRequestContentsInnerQuantityOneOfFromJSON(json) {
36
+ return UpdatePickfaceRequestContentsInnerQuantityOneOfFromJSONTyped(json, false);
37
+ }
38
+ exports.UpdatePickfaceRequestContentsInnerQuantityOneOfFromJSON = UpdatePickfaceRequestContentsInnerQuantityOneOfFromJSON;
39
+ function UpdatePickfaceRequestContentsInnerQuantityOneOfFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'operation': json['operation'],
45
+ 'value': json['value'],
46
+ };
47
+ }
48
+ exports.UpdatePickfaceRequestContentsInnerQuantityOneOfFromJSONTyped = UpdatePickfaceRequestContentsInnerQuantityOneOfFromJSONTyped;
49
+ function UpdatePickfaceRequestContentsInnerQuantityOneOfToJSON(value) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'operation': value['operation'],
55
+ 'value': value['value'],
56
+ };
57
+ }
58
+ exports.UpdatePickfaceRequestContentsInnerQuantityOneOfToJSON = UpdatePickfaceRequestContentsInnerQuantityOneOfToJSON;
@@ -2,6 +2,7 @@ export * from './ApiError';
2
2
  export * from './CreatePickfaceRequest';
3
3
  export * from './CreatePickfaceRequestDimensions';
4
4
  export * from './GetPickfaces200Response';
5
+ export * from './ListPickfaceLogs200Response';
5
6
  export * from './MoveStockRequest';
6
7
  export * from './Pickface';
7
8
  export * from './PickfaceContentsInner';
@@ -11,6 +12,6 @@ export * from './PickfaceContentsInnerQuantity';
11
12
  export * from './PickfaceLastPicked';
12
13
  export * from './PickfaceLastRestocked';
13
14
  export * from './PickfaceLog';
14
- export * from './PickfaceLogUser';
15
15
  export * from './UpdatePickfaceRequest';
16
- export * from './UpdatePickfaceRequestContents';
16
+ export * from './UpdatePickfaceRequestContentsInner';
17
+ export * from './UpdatePickfaceRequestContentsInnerQuantity';