@teemill/pickfaces 0.10.0 → 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.
- package/.openapi-generator/FILES +2 -1
- package/README.md +2 -2
- package/dist/apis/PickfacesApi.d.ts +1 -1
- package/dist/apis/PickfacesApi.js +1 -1
- package/dist/models/ApiError.d.ts +1 -1
- package/dist/models/ApiError.js +1 -1
- package/dist/models/CreatePickfaceRequest.d.ts +1 -1
- package/dist/models/CreatePickfaceRequest.js +1 -1
- package/dist/models/CreatePickfaceRequestDimensions.d.ts +1 -1
- package/dist/models/CreatePickfaceRequestDimensions.js +1 -1
- package/dist/models/GetPickfaces200Response.d.ts +1 -1
- package/dist/models/GetPickfaces200Response.js +1 -1
- package/dist/models/ListPickfaceLogs200Response.d.ts +1 -1
- package/dist/models/ListPickfaceLogs200Response.js +1 -1
- package/dist/models/MoveStockRequest.d.ts +1 -1
- package/dist/models/MoveStockRequest.js +1 -1
- package/dist/models/Pickface.d.ts +1 -1
- package/dist/models/Pickface.js +1 -1
- package/dist/models/PickfaceContentsInner.d.ts +1 -1
- package/dist/models/PickfaceContentsInner.js +1 -1
- package/dist/models/PickfaceContentsInnerApplicationsInner.d.ts +1 -1
- package/dist/models/PickfaceContentsInnerApplicationsInner.js +1 -1
- package/dist/models/PickfaceContentsInnerMetadata.d.ts +1 -1
- package/dist/models/PickfaceContentsInnerMetadata.js +1 -1
- package/dist/models/PickfaceContentsInnerQuantity.d.ts +1 -1
- package/dist/models/PickfaceContentsInnerQuantity.js +1 -1
- package/dist/models/PickfaceLastPicked.d.ts +1 -1
- package/dist/models/PickfaceLastPicked.js +1 -1
- package/dist/models/PickfaceLastRestocked.d.ts +1 -1
- package/dist/models/PickfaceLastRestocked.js +1 -1
- package/dist/models/PickfaceLog.d.ts +1 -1
- package/dist/models/PickfaceLog.js +1 -1
- package/dist/models/UpdatePickfaceRequest.d.ts +5 -5
- package/dist/models/UpdatePickfaceRequest.js +4 -4
- package/dist/models/UpdatePickfaceRequestContentsInner.d.ts +38 -0
- package/dist/models/UpdatePickfaceRequestContentsInner.js +52 -0
- package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.d.ts +45 -0
- package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.js +58 -0
- package/dist/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.d.ts +45 -0
- package/dist/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.js +58 -0
- package/dist/models/index.d.ts +2 -1
- package/dist/models/index.js +2 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/PickfacesApi.ts +1 -1
- package/src/models/ApiError.ts +1 -1
- package/src/models/CreatePickfaceRequest.ts +1 -1
- package/src/models/CreatePickfaceRequestDimensions.ts +1 -1
- package/src/models/GetPickfaces200Response.ts +1 -1
- package/src/models/ListPickfaceLogs200Response.ts +1 -1
- package/src/models/MoveStockRequest.ts +1 -1
- package/src/models/Pickface.ts +1 -1
- package/src/models/PickfaceContentsInner.ts +1 -1
- package/src/models/PickfaceContentsInnerApplicationsInner.ts +1 -1
- package/src/models/PickfaceContentsInnerMetadata.ts +1 -1
- package/src/models/PickfaceContentsInnerQuantity.ts +1 -1
- package/src/models/PickfaceLastPicked.ts +1 -1
- package/src/models/PickfaceLastRestocked.ts +1 -1
- package/src/models/PickfaceLog.ts +1 -1
- package/src/models/UpdatePickfaceRequest.ts +11 -11
- package/src/models/UpdatePickfaceRequestContentsInner.ts +77 -0
- package/src/models/UpdatePickfaceRequestContentsInnerQuantity.ts +81 -0
- package/src/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.ts +81 -0
- package/src/models/index.ts +2 -1
- package/src/runtime.ts +1 -1
|
@@ -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;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -13,4 +13,5 @@ export * from './PickfaceLastPicked';
|
|
|
13
13
|
export * from './PickfaceLastRestocked';
|
|
14
14
|
export * from './PickfaceLog';
|
|
15
15
|
export * from './UpdatePickfaceRequest';
|
|
16
|
-
export * from './
|
|
16
|
+
export * from './UpdatePickfaceRequestContentsInner';
|
|
17
|
+
export * from './UpdatePickfaceRequestContentsInnerQuantity';
|
package/dist/models/index.js
CHANGED
|
@@ -31,4 +31,5 @@ __exportStar(require("./PickfaceLastPicked"), exports);
|
|
|
31
31
|
__exportStar(require("./PickfaceLastRestocked"), exports);
|
|
32
32
|
__exportStar(require("./PickfaceLog"), exports);
|
|
33
33
|
__exportStar(require("./UpdatePickfaceRequest"), exports);
|
|
34
|
-
__exportStar(require("./
|
|
34
|
+
__exportStar(require("./UpdatePickfaceRequestContentsInner"), exports);
|
|
35
|
+
__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.
|
|
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).
|
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.
|
|
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).
|
package/package.json
CHANGED
package/src/apis/PickfacesApi.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.11.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/ApiError.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.11.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.11.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.11.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.11.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.11.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.11.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/Pickface.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.11.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.11.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.11.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.11.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.11.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.11.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.11.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.11.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.11.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,15 +13,15 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { UpdatePickfaceRequestContentsInner } from './UpdatePickfaceRequestContentsInner';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from './
|
|
18
|
+
UpdatePickfaceRequestContentsInnerFromJSON,
|
|
19
|
+
UpdatePickfaceRequestContentsInnerFromJSONTyped,
|
|
20
|
+
UpdatePickfaceRequestContentsInnerToJSON,
|
|
21
|
+
} from './UpdatePickfaceRequestContentsInner';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* A list of updates to apply to the pickface.
|
|
25
25
|
* @export
|
|
26
26
|
* @interface UpdatePickfaceRequest
|
|
27
27
|
*/
|
|
@@ -34,10 +34,10 @@ export interface UpdatePickfaceRequest {
|
|
|
34
34
|
enabled?: boolean;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {
|
|
37
|
+
* @type {Array<UpdatePickfaceRequestContentsInner>}
|
|
38
38
|
* @memberof UpdatePickfaceRequest
|
|
39
39
|
*/
|
|
40
|
-
contents?:
|
|
40
|
+
contents?: Array<UpdatePickfaceRequestContentsInner>;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/**
|
|
@@ -58,7 +58,7 @@ export function UpdatePickfaceRequestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
58
58
|
return {
|
|
59
59
|
|
|
60
60
|
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
61
|
-
'contents': json['contents'] == null ? undefined :
|
|
61
|
+
'contents': json['contents'] == null ? undefined : ((json['contents'] as Array<any>).map(UpdatePickfaceRequestContentsInnerFromJSON)),
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -69,7 +69,7 @@ export function UpdatePickfaceRequestToJSON(value?: UpdatePickfaceRequest | null
|
|
|
69
69
|
return {
|
|
70
70
|
|
|
71
71
|
'enabled': value['enabled'],
|
|
72
|
-
'contents':
|
|
72
|
+
'contents': value['contents'] == null ? undefined : ((value['contents'] as Array<any>).map(UpdatePickfaceRequestContentsInnerToJSON)),
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
|
|
@@ -0,0 +1,77 @@
|
|
|
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.11.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 { UpdatePickfaceRequestContentsInnerQuantity } from './UpdatePickfaceRequestContentsInnerQuantity';
|
|
17
|
+
import {
|
|
18
|
+
UpdatePickfaceRequestContentsInnerQuantityFromJSON,
|
|
19
|
+
UpdatePickfaceRequestContentsInnerQuantityFromJSONTyped,
|
|
20
|
+
UpdatePickfaceRequestContentsInnerQuantityToJSON,
|
|
21
|
+
} from './UpdatePickfaceRequestContentsInnerQuantity';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface UpdatePickfaceRequestContentsInner
|
|
27
|
+
*/
|
|
28
|
+
export interface UpdatePickfaceRequestContentsInner {
|
|
29
|
+
/**
|
|
30
|
+
* The variant to add or subtract from the pickface
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdatePickfaceRequestContentsInner
|
|
33
|
+
*/
|
|
34
|
+
variantRef: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {UpdatePickfaceRequestContentsInnerQuantity}
|
|
38
|
+
* @memberof UpdatePickfaceRequestContentsInner
|
|
39
|
+
*/
|
|
40
|
+
quantity: UpdatePickfaceRequestContentsInnerQuantity;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the UpdatePickfaceRequestContentsInner interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfUpdatePickfaceRequestContentsInner(value: object): boolean {
|
|
47
|
+
if (!('variantRef' in value)) return false;
|
|
48
|
+
if (!('quantity' in value)) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function UpdatePickfaceRequestContentsInnerFromJSON(json: any): UpdatePickfaceRequestContentsInner {
|
|
53
|
+
return UpdatePickfaceRequestContentsInnerFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function UpdatePickfaceRequestContentsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePickfaceRequestContentsInner {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'variantRef': json['variantRef'],
|
|
63
|
+
'quantity': UpdatePickfaceRequestContentsInnerQuantityFromJSON(json['quantity']),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function UpdatePickfaceRequestContentsInnerToJSON(value?: UpdatePickfaceRequestContentsInner | null): any {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'variantRef': value['variantRef'],
|
|
74
|
+
'quantity': UpdatePickfaceRequestContentsInnerQuantityToJSON(value['quantity']),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
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.11.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 UpdatePickfaceRequestContentsInnerQuantity
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdatePickfaceRequestContentsInnerQuantity {
|
|
22
|
+
/**
|
|
23
|
+
* The operation to perform on the pickface
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdatePickfaceRequestContentsInnerQuantity
|
|
26
|
+
*/
|
|
27
|
+
operation: UpdatePickfaceRequestContentsInnerQuantityOperationEnum;
|
|
28
|
+
/**
|
|
29
|
+
* The value to use with the operation
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof UpdatePickfaceRequestContentsInnerQuantity
|
|
32
|
+
*/
|
|
33
|
+
value: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const UpdatePickfaceRequestContentsInnerQuantityOperationEnum = {
|
|
41
|
+
Add: 'add',
|
|
42
|
+
Subtract: 'subtract'
|
|
43
|
+
} as const;
|
|
44
|
+
export type UpdatePickfaceRequestContentsInnerQuantityOperationEnum = typeof UpdatePickfaceRequestContentsInnerQuantityOperationEnum[keyof typeof UpdatePickfaceRequestContentsInnerQuantityOperationEnum];
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the UpdatePickfaceRequestContentsInnerQuantity interface.
|
|
49
|
+
*/
|
|
50
|
+
export function instanceOfUpdatePickfaceRequestContentsInnerQuantity(value: object): boolean {
|
|
51
|
+
if (!('operation' in value)) return false;
|
|
52
|
+
if (!('value' in value)) return false;
|
|
53
|
+
return true;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function UpdatePickfaceRequestContentsInnerQuantityFromJSON(json: any): UpdatePickfaceRequestContentsInnerQuantity {
|
|
57
|
+
return UpdatePickfaceRequestContentsInnerQuantityFromJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function UpdatePickfaceRequestContentsInnerQuantityFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePickfaceRequestContentsInnerQuantity {
|
|
61
|
+
if (json == null) {
|
|
62
|
+
return json;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'operation': json['operation'],
|
|
67
|
+
'value': json['value'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function UpdatePickfaceRequestContentsInnerQuantityToJSON(value?: UpdatePickfaceRequestContentsInnerQuantity | null): any {
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'operation': value['operation'],
|
|
78
|
+
'value': value['value'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
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.11.0
|
|
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 UpdatePickfaceRequestContentsInnerQuantityOneOf
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdatePickfaceRequestContentsInnerQuantityOneOf {
|
|
22
|
+
/**
|
|
23
|
+
* The operation to perform on the pickface
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdatePickfaceRequestContentsInnerQuantityOneOf
|
|
26
|
+
*/
|
|
27
|
+
operation: UpdatePickfaceRequestContentsInnerQuantityOneOfOperationEnum;
|
|
28
|
+
/**
|
|
29
|
+
* The value to use with the operation
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof UpdatePickfaceRequestContentsInnerQuantityOneOf
|
|
32
|
+
*/
|
|
33
|
+
value: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const UpdatePickfaceRequestContentsInnerQuantityOneOfOperationEnum = {
|
|
41
|
+
Add: 'add',
|
|
42
|
+
Subtract: 'subtract'
|
|
43
|
+
} as const;
|
|
44
|
+
export type UpdatePickfaceRequestContentsInnerQuantityOneOfOperationEnum = typeof UpdatePickfaceRequestContentsInnerQuantityOneOfOperationEnum[keyof typeof UpdatePickfaceRequestContentsInnerQuantityOneOfOperationEnum];
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the UpdatePickfaceRequestContentsInnerQuantityOneOf interface.
|
|
49
|
+
*/
|
|
50
|
+
export function instanceOfUpdatePickfaceRequestContentsInnerQuantityOneOf(value: object): boolean {
|
|
51
|
+
if (!('operation' in value)) return false;
|
|
52
|
+
if (!('value' in value)) return false;
|
|
53
|
+
return true;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function UpdatePickfaceRequestContentsInnerQuantityOneOfFromJSON(json: any): UpdatePickfaceRequestContentsInnerQuantityOneOf {
|
|
57
|
+
return UpdatePickfaceRequestContentsInnerQuantityOneOfFromJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function UpdatePickfaceRequestContentsInnerQuantityOneOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePickfaceRequestContentsInnerQuantityOneOf {
|
|
61
|
+
if (json == null) {
|
|
62
|
+
return json;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'operation': json['operation'],
|
|
67
|
+
'value': json['value'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function UpdatePickfaceRequestContentsInnerQuantityOneOfToJSON(value?: UpdatePickfaceRequestContentsInnerQuantityOneOf | null): any {
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'operation': value['operation'],
|
|
78
|
+
'value': value['value'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -15,4 +15,5 @@ export * from './PickfaceLastPicked';
|
|
|
15
15
|
export * from './PickfaceLastRestocked';
|
|
16
16
|
export * from './PickfaceLog';
|
|
17
17
|
export * from './UpdatePickfaceRequest';
|
|
18
|
-
export * from './
|
|
18
|
+
export * from './UpdatePickfaceRequestContentsInner';
|
|
19
|
+
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.
|
|
7
|
+
* The version of the OpenAPI document: 0.11.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|