@teemill/pickfaces 0.10.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/.openapi-generator/FILES +4 -2
  2. package/README.md +2 -2
  3. package/dist/apis/PickfacesApi.d.ts +32 -2
  4. package/dist/apis/PickfacesApi.js +146 -1
  5. package/dist/models/ApiError.d.ts +1 -1
  6. package/dist/models/ApiError.js +1 -1
  7. package/dist/models/CreatePickfaceRequest.d.ts +4 -5
  8. package/dist/models/CreatePickfaceRequest.js +3 -4
  9. package/dist/models/CreatePickfaceRequestDimensions.d.ts +1 -1
  10. package/dist/models/CreatePickfaceRequestDimensions.js +1 -1
  11. package/dist/models/GetPickfaces200Response.d.ts +1 -1
  12. package/dist/models/GetPickfaces200Response.js +1 -1
  13. package/dist/models/ListPickfaceLogs200Response.d.ts +1 -1
  14. package/dist/models/ListPickfaceLogs200Response.js +1 -1
  15. package/dist/models/MoveStockRequest.d.ts +1 -1
  16. package/dist/models/MoveStockRequest.js +1 -1
  17. package/dist/models/Pickface.d.ts +4 -4
  18. package/dist/models/Pickface.js +4 -4
  19. package/dist/models/PickfaceContentsInner.d.ts +1 -1
  20. package/dist/models/PickfaceContentsInner.js +1 -1
  21. package/dist/models/PickfaceContentsInnerApplicationsInner.d.ts +1 -1
  22. package/dist/models/PickfaceContentsInnerApplicationsInner.js +1 -1
  23. package/dist/models/PickfaceContentsInnerMetadata.d.ts +1 -1
  24. package/dist/models/PickfaceContentsInnerMetadata.js +1 -1
  25. package/dist/models/PickfaceContentsInnerQuantity.d.ts +1 -1
  26. package/dist/models/PickfaceContentsInnerQuantity.js +1 -1
  27. package/dist/models/PickfaceLastPicked.d.ts +1 -1
  28. package/dist/models/PickfaceLastPicked.js +1 -1
  29. package/dist/models/PickfaceLastRestocked.d.ts +1 -1
  30. package/dist/models/PickfaceLastRestocked.js +1 -1
  31. package/dist/models/PickfaceLog.d.ts +1 -1
  32. package/dist/models/PickfaceLog.js +1 -1
  33. package/dist/models/PickfaceModel.d.ts +37 -0
  34. package/dist/models/PickfaceModel.js +47 -0
  35. package/dist/models/PickfaceModels.d.ts +32 -0
  36. package/dist/models/PickfaceModels.js +46 -0
  37. package/dist/models/UpdatePickfaceRequest.d.ts +11 -5
  38. package/dist/models/UpdatePickfaceRequest.js +6 -4
  39. package/dist/models/UpdatePickfaceRequestContentsInner.d.ts +38 -0
  40. package/dist/models/UpdatePickfaceRequestContentsInner.js +52 -0
  41. package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.d.ts +45 -0
  42. package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.js +58 -0
  43. package/dist/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.d.ts +45 -0
  44. package/dist/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.js +58 -0
  45. package/dist/models/index.d.ts +4 -2
  46. package/dist/models/index.js +4 -2
  47. package/dist/runtime.d.ts +1 -1
  48. package/dist/runtime.js +1 -1
  49. package/package.json +1 -1
  50. package/src/apis/PickfacesApi.ts +150 -1
  51. package/src/models/ApiError.ts +1 -1
  52. package/src/models/CreatePickfaceRequest.ts +6 -13
  53. package/src/models/CreatePickfaceRequestDimensions.ts +1 -1
  54. package/src/models/GetPickfaces200Response.ts +1 -1
  55. package/src/models/ListPickfaceLogs200Response.ts +1 -1
  56. package/src/models/MoveStockRequest.ts +1 -1
  57. package/src/models/Pickface.ts +11 -11
  58. package/src/models/PickfaceContentsInner.ts +1 -1
  59. package/src/models/PickfaceContentsInnerApplicationsInner.ts +1 -1
  60. package/src/models/PickfaceContentsInnerMetadata.ts +1 -1
  61. package/src/models/PickfaceContentsInnerQuantity.ts +1 -1
  62. package/src/models/PickfaceLastPicked.ts +1 -1
  63. package/src/models/PickfaceLastRestocked.ts +1 -1
  64. package/src/models/PickfaceLog.ts +1 -1
  65. package/src/models/PickfaceModel.ts +68 -0
  66. package/src/models/PickfaceModels.ts +67 -0
  67. package/src/models/UpdatePickfaceRequest.ts +19 -11
  68. package/src/models/UpdatePickfaceRequestContentsInner.ts +77 -0
  69. package/src/models/UpdatePickfaceRequestContentsInnerQuantity.ts +81 -0
  70. package/src/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.ts +81 -0
  71. package/src/models/index.ts +4 -2
  72. package/src/runtime.ts +1 -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.10.0
5
+ * The version of the OpenAPI document: 0.12.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
6
  * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 0.10.0
8
+ * The version of the OpenAPI document: 0.12.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.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 PickfaceModel
16
+ */
17
+ export interface PickfaceModel {
18
+ /**
19
+ * Unique object identifier
20
+ * @type {string}
21
+ * @memberof PickfaceModel
22
+ */
23
+ id?: string;
24
+ /**
25
+ * A reference to the resource location
26
+ * @type {string}
27
+ * @memberof PickfaceModel
28
+ */
29
+ ref?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PickfaceModel interface.
33
+ */
34
+ export declare function instanceOfPickfaceModel(value: object): boolean;
35
+ export declare function PickfaceModelFromJSON(json: any): PickfaceModel;
36
+ export declare function PickfaceModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceModel;
37
+ export declare function PickfaceModelToJSON(value?: PickfaceModel | 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.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.PickfaceModelToJSON = exports.PickfaceModelFromJSONTyped = exports.PickfaceModelFromJSON = exports.instanceOfPickfaceModel = void 0;
17
+ /**
18
+ * Check if a given object implements the PickfaceModel interface.
19
+ */
20
+ function instanceOfPickfaceModel(value) {
21
+ return true;
22
+ }
23
+ exports.instanceOfPickfaceModel = instanceOfPickfaceModel;
24
+ function PickfaceModelFromJSON(json) {
25
+ return PickfaceModelFromJSONTyped(json, false);
26
+ }
27
+ exports.PickfaceModelFromJSON = PickfaceModelFromJSON;
28
+ function PickfaceModelFromJSONTyped(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.PickfaceModelFromJSONTyped = PickfaceModelFromJSONTyped;
38
+ function PickfaceModelToJSON(value) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'id': value['id'],
44
+ 'ref': value['ref'],
45
+ };
46
+ }
47
+ exports.PickfaceModelToJSON = PickfaceModelToJSON;
@@ -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.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
+ import type { PickfaceModel } from './PickfaceModel';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PickfaceModels
17
+ */
18
+ export interface PickfaceModels {
19
+ /**
20
+ *
21
+ * @type {Array<PickfaceModel>}
22
+ * @memberof PickfaceModels
23
+ */
24
+ pickfaceModels?: Array<PickfaceModel>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the PickfaceModels interface.
28
+ */
29
+ export declare function instanceOfPickfaceModels(value: object): boolean;
30
+ export declare function PickfaceModelsFromJSON(json: any): PickfaceModels;
31
+ export declare function PickfaceModelsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PickfaceModels;
32
+ export declare function PickfaceModelsToJSON(value?: PickfaceModels | 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.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.PickfaceModelsToJSON = exports.PickfaceModelsFromJSONTyped = exports.PickfaceModelsFromJSON = exports.instanceOfPickfaceModels = void 0;
17
+ var PickfaceModel_1 = require("./PickfaceModel");
18
+ /**
19
+ * Check if a given object implements the PickfaceModels interface.
20
+ */
21
+ function instanceOfPickfaceModels(value) {
22
+ return true;
23
+ }
24
+ exports.instanceOfPickfaceModels = instanceOfPickfaceModels;
25
+ function PickfaceModelsFromJSON(json) {
26
+ return PickfaceModelsFromJSONTyped(json, false);
27
+ }
28
+ exports.PickfaceModelsFromJSON = PickfaceModelsFromJSON;
29
+ function PickfaceModelsFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'pickfaceModels': json['pickfaceModels'] == null ? undefined : (json['pickfaceModels'].map(PickfaceModel_1.PickfaceModelFromJSON)),
35
+ };
36
+ }
37
+ exports.PickfaceModelsFromJSONTyped = PickfaceModelsFromJSONTyped;
38
+ function PickfaceModelsToJSON(value) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'pickfaceModels': value['pickfaceModels'] == null ? undefined : (value['pickfaceModels'].map(PickfaceModel_1.PickfaceModelToJSON)),
44
+ };
45
+ }
46
+ exports.PickfaceModelsToJSON = PickfaceModelsToJSON;
@@ -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.10.0
5
+ * The version of the OpenAPI document: 0.12.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { 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
  */
@@ -22,12 +22,18 @@ export interface UpdatePickfaceRequest {
22
22
  * @memberof UpdatePickfaceRequest
23
23
  */
24
24
  enabled?: boolean;
25
+ /**
26
+ * Unique object identifier
27
+ * @type {string}
28
+ * @memberof UpdatePickfaceRequest
29
+ */
30
+ modelId?: string;
25
31
  /**
26
32
  *
27
- * @type {UpdatePickfaceRequestContents}
33
+ * @type {Array<UpdatePickfaceRequestContentsInner>}
28
34
  * @memberof UpdatePickfaceRequest
29
35
  */
30
- contents?: UpdatePickfaceRequestContents;
36
+ contents?: Array<UpdatePickfaceRequestContentsInner>;
31
37
  }
32
38
  /**
33
39
  * 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.10.0
8
+ * The version of the OpenAPI document: 0.12.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -14,7 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.UpdatePickfaceRequestToJSON = exports.UpdatePickfaceRequestFromJSONTyped = exports.UpdatePickfaceRequestFromJSON = exports.instanceOfUpdatePickfaceRequest = void 0;
17
- var UpdatePickfaceRequestContents_1 = require("./UpdatePickfaceRequestContents");
17
+ var UpdatePickfaceRequestContentsInner_1 = require("./UpdatePickfaceRequestContentsInner");
18
18
  /**
19
19
  * Check if a given object implements the UpdatePickfaceRequest interface.
20
20
  */
@@ -32,7 +32,8 @@ function UpdatePickfaceRequestFromJSONTyped(json, ignoreDiscriminator) {
32
32
  }
33
33
  return {
34
34
  'enabled': json['enabled'] == null ? undefined : json['enabled'],
35
- 'contents': json['contents'] == null ? undefined : (0, UpdatePickfaceRequestContents_1.UpdatePickfaceRequestContentsFromJSON)(json['contents']),
35
+ 'modelId': json['modelId'] == null ? undefined : json['modelId'],
36
+ 'contents': json['contents'] == null ? undefined : (json['contents'].map(UpdatePickfaceRequestContentsInner_1.UpdatePickfaceRequestContentsInnerFromJSON)),
36
37
  };
37
38
  }
38
39
  exports.UpdatePickfaceRequestFromJSONTyped = UpdatePickfaceRequestFromJSONTyped;
@@ -42,7 +43,8 @@ function UpdatePickfaceRequestToJSON(value) {
42
43
  }
43
44
  return {
44
45
  'enabled': value['enabled'],
45
- 'contents': (0, UpdatePickfaceRequestContents_1.UpdatePickfaceRequestContentsToJSON)(value['contents']),
46
+ 'modelId': value['modelId'],
47
+ 'contents': value['contents'] == null ? undefined : (value['contents'].map(UpdatePickfaceRequestContentsInner_1.UpdatePickfaceRequestContentsInnerToJSON)),
46
48
  };
47
49
  }
48
50
  exports.UpdatePickfaceRequestToJSON = UpdatePickfaceRequestToJSON;
@@ -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.12.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
+ 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.12.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.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.12.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 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.12.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.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;
@@ -1,6 +1,5 @@
1
1
  export * from './ApiError';
2
2
  export * from './CreatePickfaceRequest';
3
- export * from './CreatePickfaceRequestDimensions';
4
3
  export * from './GetPickfaces200Response';
5
4
  export * from './ListPickfaceLogs200Response';
6
5
  export * from './MoveStockRequest';
@@ -12,5 +11,8 @@ export * from './PickfaceContentsInnerQuantity';
12
11
  export * from './PickfaceLastPicked';
13
12
  export * from './PickfaceLastRestocked';
14
13
  export * from './PickfaceLog';
14
+ export * from './PickfaceModel';
15
+ export * from './PickfaceModels';
15
16
  export * from './UpdatePickfaceRequest';
16
- export * from './UpdatePickfaceRequestContents';
17
+ export * from './UpdatePickfaceRequestContentsInner';
18
+ export * from './UpdatePickfaceRequestContentsInnerQuantity';
@@ -18,7 +18,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  /* eslint-disable */
19
19
  __exportStar(require("./ApiError"), exports);
20
20
  __exportStar(require("./CreatePickfaceRequest"), exports);
21
- __exportStar(require("./CreatePickfaceRequestDimensions"), exports);
22
21
  __exportStar(require("./GetPickfaces200Response"), exports);
23
22
  __exportStar(require("./ListPickfaceLogs200Response"), exports);
24
23
  __exportStar(require("./MoveStockRequest"), exports);
@@ -30,5 +29,8 @@ __exportStar(require("./PickfaceContentsInnerQuantity"), exports);
30
29
  __exportStar(require("./PickfaceLastPicked"), exports);
31
30
  __exportStar(require("./PickfaceLastRestocked"), exports);
32
31
  __exportStar(require("./PickfaceLog"), exports);
32
+ __exportStar(require("./PickfaceModel"), exports);
33
+ __exportStar(require("./PickfaceModels"), exports);
33
34
  __exportStar(require("./UpdatePickfaceRequest"), exports);
34
- __exportStar(require("./UpdatePickfaceRequestContents"), exports);
35
+ __exportStar(require("./UpdatePickfaceRequestContentsInner"), exports);
36
+ __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.10.0
5
+ * The version of the OpenAPI document: 0.12.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.10.0
8
+ * The version of the OpenAPI document: 0.12.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/pickfaces",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "description": "OpenAPI client for @teemill/pickfaces",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {