@teemill/pickfaces 0.11.1 → 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.
- package/.openapi-generator/FILES +2 -1
- package/README.md +2 -2
- package/dist/apis/PickfacesApi.d.ts +32 -2
- package/dist/apis/PickfacesApi.js +146 -1
- package/dist/models/ApiError.d.ts +1 -1
- package/dist/models/ApiError.js +1 -1
- package/dist/models/CreatePickfaceRequest.d.ts +4 -5
- package/dist/models/CreatePickfaceRequest.js +3 -4
- 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 +4 -4
- package/dist/models/Pickface.js +4 -4
- 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/PickfaceModel.d.ts +37 -0
- package/dist/models/PickfaceModel.js +47 -0
- package/dist/models/PickfaceModels.d.ts +32 -0
- package/dist/models/PickfaceModels.js +46 -0
- package/dist/models/UpdatePickfaceRequest.d.ts +7 -1
- package/dist/models/UpdatePickfaceRequest.js +3 -1
- package/dist/models/UpdatePickfaceRequestContentsInner.d.ts +1 -1
- package/dist/models/UpdatePickfaceRequestContentsInner.js +1 -1
- package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.d.ts +1 -1
- package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.js +1 -1
- 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 +150 -1
- package/src/models/ApiError.ts +1 -1
- package/src/models/CreatePickfaceRequest.ts +6 -13
- 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 +11 -11
- 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/PickfaceModel.ts +68 -0
- package/src/models/PickfaceModels.ts +67 -0
- package/src/models/UpdatePickfaceRequest.ts +9 -1
- package/src/models/UpdatePickfaceRequestContentsInner.ts +1 -1
- package/src/models/UpdatePickfaceRequestContentsInnerQuantity.ts +1 -1
- package/src/models/index.ts +2 -1
- 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.
|
|
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.
|
|
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,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.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).
|
|
@@ -22,6 +22,12 @@ 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
33
|
* @type {Array<UpdatePickfaceRequestContentsInner>}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces API
|
|
6
6
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
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).
|
|
@@ -32,6 +32,7 @@ function UpdatePickfaceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
34
|
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
35
|
+
'modelId': json['modelId'] == null ? undefined : json['modelId'],
|
|
35
36
|
'contents': json['contents'] == null ? undefined : (json['contents'].map(UpdatePickfaceRequestContentsInner_1.UpdatePickfaceRequestContentsInnerFromJSON)),
|
|
36
37
|
};
|
|
37
38
|
}
|
|
@@ -42,6 +43,7 @@ function UpdatePickfaceRequestToJSON(value) {
|
|
|
42
43
|
}
|
|
43
44
|
return {
|
|
44
45
|
'enabled': value['enabled'],
|
|
46
|
+
'modelId': value['modelId'],
|
|
45
47
|
'contents': value['contents'] == null ? undefined : (value['contents'].map(UpdatePickfaceRequestContentsInner_1.UpdatePickfaceRequestContentsInnerToJSON)),
|
|
46
48
|
};
|
|
47
49
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
3
3
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
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.
|
|
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).
|
|
@@ -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.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.
|
|
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/dist/models/index.d.ts
CHANGED
|
@@ -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,6 +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
17
|
export * from './UpdatePickfaceRequestContentsInner';
|
|
17
18
|
export * from './UpdatePickfaceRequestContentsInnerQuantity';
|
package/dist/models/index.js
CHANGED
|
@@ -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,6 +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
35
|
__exportStar(require("./UpdatePickfaceRequestContentsInner"), exports);
|
|
35
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.
|
|
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.
|
|
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
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.12.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,6 +21,7 @@ import type {
|
|
|
21
21
|
ListPickfaceLogs200Response,
|
|
22
22
|
MoveStockRequest,
|
|
23
23
|
Pickface,
|
|
24
|
+
PickfaceModels,
|
|
24
25
|
UpdatePickfaceRequest,
|
|
25
26
|
} from '../models/index';
|
|
26
27
|
import {
|
|
@@ -36,6 +37,8 @@ import {
|
|
|
36
37
|
MoveStockRequestToJSON,
|
|
37
38
|
PickfaceFromJSON,
|
|
38
39
|
PickfaceToJSON,
|
|
40
|
+
PickfaceModelsFromJSON,
|
|
41
|
+
PickfaceModelsToJSON,
|
|
39
42
|
UpdatePickfaceRequestFromJSON,
|
|
40
43
|
UpdatePickfaceRequestToJSON,
|
|
41
44
|
} from '../models/index';
|
|
@@ -59,6 +62,10 @@ export interface GetPickfaceRequest {
|
|
|
59
62
|
pickfaceId: string;
|
|
60
63
|
}
|
|
61
64
|
|
|
65
|
+
export interface GetPickfaceModelsRequest {
|
|
66
|
+
project: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
62
69
|
export interface GetPickfacesRequest {
|
|
63
70
|
project: string;
|
|
64
71
|
search?: string;
|
|
@@ -86,6 +93,14 @@ export interface PrintPickfaceLabelRequest {
|
|
|
86
93
|
deviceRef: string;
|
|
87
94
|
}
|
|
88
95
|
|
|
96
|
+
export interface SuggestPickfacesRequest {
|
|
97
|
+
project: string;
|
|
98
|
+
variantRef: string;
|
|
99
|
+
quantity: number;
|
|
100
|
+
pageToken?: number;
|
|
101
|
+
pageSize?: number;
|
|
102
|
+
}
|
|
103
|
+
|
|
89
104
|
export interface UpdatePickfaceOperationRequest {
|
|
90
105
|
project: string;
|
|
91
106
|
pickfaceId: string;
|
|
@@ -326,6 +341,60 @@ export class PickfacesApi extends runtime.BaseAPI {
|
|
|
326
341
|
return await response.value();
|
|
327
342
|
}
|
|
328
343
|
|
|
344
|
+
/**
|
|
345
|
+
* Lists pickface models
|
|
346
|
+
* Get pickface models
|
|
347
|
+
*/
|
|
348
|
+
async getPickfaceModelsRaw(requestParameters: GetPickfaceModelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PickfaceModels>> {
|
|
349
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
350
|
+
throw new runtime.RequiredError('project','Required parameter requestParameters.project was null or undefined when calling getPickfaceModels.');
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
const queryParameters: any = {};
|
|
354
|
+
|
|
355
|
+
if (requestParameters.project !== undefined) {
|
|
356
|
+
queryParameters['project'] = requestParameters.project;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
360
|
+
|
|
361
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
362
|
+
// oauth required
|
|
363
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("session-oauth", []);
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
367
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
const response = await this.request({
|
|
371
|
+
path: `/v1/pickfaces/models`,
|
|
372
|
+
method: 'GET',
|
|
373
|
+
headers: headerParameters,
|
|
374
|
+
query: queryParameters,
|
|
375
|
+
}, initOverrides);
|
|
376
|
+
|
|
377
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PickfaceModelsFromJSON(jsonValue));
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* Lists pickface models
|
|
382
|
+
* Get pickface models
|
|
383
|
+
*/
|
|
384
|
+
async getPickfaceModels(
|
|
385
|
+
project: string,
|
|
386
|
+
initOverrides?: RequestInit | runtime.InitOverrideFunction
|
|
387
|
+
): Promise<PickfaceModels> {
|
|
388
|
+
const response = await this.getPickfaceModelsRaw(
|
|
389
|
+
{
|
|
390
|
+
project: project,
|
|
391
|
+
},
|
|
392
|
+
initOverrides
|
|
393
|
+
);
|
|
394
|
+
|
|
395
|
+
return await response.value();
|
|
396
|
+
}
|
|
397
|
+
|
|
329
398
|
/**
|
|
330
399
|
* Lists all pickfaces available paginated into chunks
|
|
331
400
|
* List pickfaces
|
|
@@ -595,6 +664,86 @@ export class PickfacesApi extends runtime.BaseAPI {
|
|
|
595
664
|
);
|
|
596
665
|
}
|
|
597
666
|
|
|
667
|
+
/**
|
|
668
|
+
* Suggest pickfaces for putting away stock
|
|
669
|
+
* Suggest pickfaces
|
|
670
|
+
*/
|
|
671
|
+
async suggestPickfacesRaw(requestParameters: SuggestPickfacesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetPickfaces200Response>> {
|
|
672
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
673
|
+
throw new runtime.RequiredError('project','Required parameter requestParameters.project was null or undefined when calling suggestPickfaces.');
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
if (requestParameters.variantRef === null || requestParameters.variantRef === undefined) {
|
|
677
|
+
throw new runtime.RequiredError('variantRef','Required parameter requestParameters.variantRef was null or undefined when calling suggestPickfaces.');
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
if (requestParameters.quantity === null || requestParameters.quantity === undefined) {
|
|
681
|
+
throw new runtime.RequiredError('quantity','Required parameter requestParameters.quantity was null or undefined when calling suggestPickfaces.');
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
const queryParameters: any = {};
|
|
685
|
+
|
|
686
|
+
if (requestParameters.project !== undefined) {
|
|
687
|
+
queryParameters['project'] = requestParameters.project;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
if (requestParameters.variantRef !== undefined) {
|
|
691
|
+
queryParameters['variantRef'] = requestParameters.variantRef;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
if (requestParameters.quantity !== undefined) {
|
|
695
|
+
queryParameters['quantity'] = requestParameters.quantity;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
if (requestParameters.pageToken !== undefined) {
|
|
699
|
+
queryParameters['pageToken'] = requestParameters.pageToken;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
if (requestParameters.pageSize !== undefined) {
|
|
703
|
+
queryParameters['pageSize'] = requestParameters.pageSize;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
707
|
+
|
|
708
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
709
|
+
// oauth required
|
|
710
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("session-oauth", []);
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
714
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
const response = await this.request({
|
|
718
|
+
path: `/v1/pickfaces/suggest`,
|
|
719
|
+
method: 'GET',
|
|
720
|
+
headers: headerParameters,
|
|
721
|
+
query: queryParameters,
|
|
722
|
+
}, initOverrides);
|
|
723
|
+
|
|
724
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetPickfaces200ResponseFromJSON(jsonValue));
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* Suggest pickfaces for putting away stock
|
|
729
|
+
* Suggest pickfaces
|
|
730
|
+
*/
|
|
731
|
+
async suggestPickfaces(
|
|
732
|
+
project: string, variantRef: string, quantity: number,
|
|
733
|
+
optionalParameters: runtime.OptionalOnly<SuggestPickfacesRequest> = {},
|
|
734
|
+
initOverrides?: RequestInit | runtime.InitOverrideFunction
|
|
735
|
+
): Promise<GetPickfaces200Response> {
|
|
736
|
+
const response = await this.suggestPickfacesRaw(
|
|
737
|
+
{
|
|
738
|
+
project: project,variantRef: variantRef,quantity: quantity,
|
|
739
|
+
...optionalParameters,
|
|
740
|
+
},
|
|
741
|
+
initOverrides
|
|
742
|
+
);
|
|
743
|
+
|
|
744
|
+
return await response.value();
|
|
745
|
+
}
|
|
746
|
+
|
|
598
747
|
/**
|
|
599
748
|
* Update a Pickface
|
|
600
749
|
* Update Pickface
|
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.12.0
|
|
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.12.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,13 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type { CreatePickfaceRequestDimensions } from './CreatePickfaceRequestDimensions';
|
|
17
|
-
import {
|
|
18
|
-
CreatePickfaceRequestDimensionsFromJSON,
|
|
19
|
-
CreatePickfaceRequestDimensionsFromJSONTyped,
|
|
20
|
-
CreatePickfaceRequestDimensionsToJSON,
|
|
21
|
-
} from './CreatePickfaceRequestDimensions';
|
|
22
|
-
|
|
23
16
|
/**
|
|
24
17
|
*
|
|
25
18
|
* @export
|
|
@@ -33,11 +26,11 @@ export interface CreatePickfaceRequest {
|
|
|
33
26
|
*/
|
|
34
27
|
location?: string;
|
|
35
28
|
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {
|
|
29
|
+
* Unique object identifier
|
|
30
|
+
* @type {string}
|
|
38
31
|
* @memberof CreatePickfaceRequest
|
|
39
32
|
*/
|
|
40
|
-
|
|
33
|
+
modelId?: string;
|
|
41
34
|
}
|
|
42
35
|
|
|
43
36
|
/**
|
|
@@ -58,7 +51,7 @@ export function CreatePickfaceRequestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
58
51
|
return {
|
|
59
52
|
|
|
60
53
|
'location': json['location'] == null ? undefined : json['location'],
|
|
61
|
-
'
|
|
54
|
+
'modelId': json['modelId'] == null ? undefined : json['modelId'],
|
|
62
55
|
};
|
|
63
56
|
}
|
|
64
57
|
|
|
@@ -69,7 +62,7 @@ export function CreatePickfaceRequestToJSON(value?: CreatePickfaceRequest | null
|
|
|
69
62
|
return {
|
|
70
63
|
|
|
71
64
|
'location': value['location'],
|
|
72
|
-
'
|
|
65
|
+
'modelId': value['modelId'],
|
|
73
66
|
};
|
|
74
67
|
}
|
|
75
68
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
5
5
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.12.0
|
|
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.12.0
|
|
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.12.0
|
|
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.12.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|