@teemill/pickfaces 0.12.0 → 0.12.2
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 +4 -2
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/PickfacesApi.d.ts +9 -9
- package/dist/apis/PickfacesApi.js +428 -729
- package/dist/esm/apis/PickfacesApi.d.ts +189 -0
- package/dist/esm/apis/PickfacesApi.js +565 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +3 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/ApiError.d.ts +37 -0
- package/dist/esm/models/ApiError.js +42 -0
- package/dist/esm/models/ContainerModel.d.ts +61 -0
- package/dist/esm/models/ContainerModel.js +54 -0
- package/dist/esm/models/ContainerModels.d.ts +32 -0
- package/dist/esm/models/ContainerModels.js +39 -0
- package/dist/esm/models/CreatePickfaceRequest.d.ts +37 -0
- package/dist/esm/models/CreatePickfaceRequest.js +40 -0
- package/dist/esm/models/CreatePickfaceRequestDimensions.d.ts +43 -0
- package/dist/esm/models/CreatePickfaceRequestDimensions.js +42 -0
- package/dist/esm/models/GetPickfaces200Response.d.ts +38 -0
- package/dist/esm/models/GetPickfaces200Response.js +41 -0
- package/dist/esm/models/ListPickfaceLogs200Response.d.ts +38 -0
- package/dist/esm/models/ListPickfaceLogs200Response.js +41 -0
- package/dist/esm/models/ModelError.d.ts +37 -0
- package/dist/esm/models/ModelError.js +46 -0
- package/dist/esm/models/MoveStockRequest.d.ts +43 -0
- package/dist/esm/models/MoveStockRequest.js +48 -0
- package/dist/esm/models/Pickface.d.ts +83 -0
- package/dist/esm/models/Pickface.js +58 -0
- package/dist/esm/models/PickfaceContainerModel.d.ts +37 -0
- package/dist/esm/models/PickfaceContainerModel.js +40 -0
- package/dist/esm/models/PickfaceContentsInner.d.ts +58 -0
- package/dist/esm/models/PickfaceContentsInner.js +49 -0
- package/dist/esm/models/PickfaceContentsInnerApplicationsInner.d.ts +37 -0
- package/dist/esm/models/PickfaceContentsInnerApplicationsInner.js +40 -0
- package/dist/esm/models/PickfaceContentsInnerMetadata.d.ts +43 -0
- package/dist/esm/models/PickfaceContentsInnerMetadata.js +42 -0
- package/dist/esm/models/PickfaceContentsInnerQuantity.d.ts +43 -0
- package/dist/esm/models/PickfaceContentsInnerQuantity.js +42 -0
- package/dist/esm/models/PickfaceLastPicked.d.ts +55 -0
- package/dist/esm/models/PickfaceLastPicked.js +46 -0
- package/dist/esm/models/PickfaceLastRestocked.d.ts +55 -0
- package/dist/esm/models/PickfaceLastRestocked.js +46 -0
- package/dist/esm/models/PickfaceLog.d.ts +55 -0
- package/dist/esm/models/PickfaceLog.js +46 -0
- package/dist/esm/models/PickfaceLogUser.d.ts +37 -0
- package/dist/esm/models/PickfaceLogUser.js +45 -0
- package/dist/esm/models/PickfaceModel.d.ts +37 -0
- package/dist/esm/models/PickfaceModel.js +40 -0
- package/dist/esm/models/PickfaceModels.d.ts +32 -0
- package/dist/esm/models/PickfaceModels.js +39 -0
- package/dist/esm/models/UpdatePickfaceRequest.d.ts +44 -0
- package/dist/esm/models/UpdatePickfaceRequest.js +43 -0
- package/dist/esm/models/UpdatePickfaceRequestContents.d.ts +37 -0
- package/dist/esm/models/UpdatePickfaceRequestContents.js +40 -0
- package/dist/esm/models/UpdatePickfaceRequestContentsInner.d.ts +38 -0
- package/dist/esm/models/UpdatePickfaceRequestContentsInner.js +45 -0
- package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantity.d.ts +45 -0
- package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantity.js +51 -0
- package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.d.ts +45 -0
- package/dist/esm/models/UpdatePickfaceRequestContentsInnerQuantityOneOf.js +51 -0
- package/dist/esm/models/index.d.ts +19 -0
- package/dist/esm/models/index.js +21 -0
- package/dist/esm/runtime.d.ts +187 -0
- package/dist/esm/runtime.js +333 -0
- package/dist/models/ApiError.d.ts +1 -1
- package/dist/models/ApiError.js +1 -1
- package/dist/models/ContainerModel.d.ts +61 -0
- package/dist/models/ContainerModel.js +61 -0
- package/dist/models/ContainerModels.d.ts +32 -0
- package/dist/models/ContainerModels.js +46 -0
- package/dist/models/CreatePickfaceRequest.d.ts +2 -2
- package/dist/models/CreatePickfaceRequest.js +3 -3
- package/dist/models/GetPickfaces200Response.d.ts +1 -1
- package/dist/models/GetPickfaces200Response.js +2 -2
- package/dist/models/ListPickfaceLogs200Response.d.ts +1 -1
- package/dist/models/ListPickfaceLogs200Response.js +2 -2
- package/dist/models/ModelError.js +2 -2
- 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 +7 -7
- package/dist/models/PickfaceContainerModel.d.ts +37 -0
- package/dist/models/PickfaceContainerModel.js +47 -0
- package/dist/models/PickfaceContentsInner.d.ts +1 -1
- package/dist/models/PickfaceContentsInner.js +4 -4
- 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/PickfaceLogUser.js +2 -2
- package/dist/models/PickfaceModel.d.ts +1 -1
- package/dist/models/PickfaceModel.js +1 -1
- package/dist/models/PickfaceModels.d.ts +1 -1
- package/dist/models/PickfaceModels.js +2 -2
- package/dist/models/UpdatePickfaceRequest.d.ts +2 -2
- package/dist/models/UpdatePickfaceRequest.js +4 -4
- package/dist/models/UpdatePickfaceRequestContentsInner.d.ts +1 -1
- package/dist/models/UpdatePickfaceRequestContentsInner.js +2 -2
- package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.d.ts +1 -1
- package/dist/models/UpdatePickfaceRequestContentsInnerQuantity.js +1 -1
- package/dist/models/index.d.ts +3 -2
- package/dist/models/index.js +3 -2
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +223 -439
- package/package.json +4 -2
- package/src/apis/PickfacesApi.ts +16 -16
- package/src/models/ApiError.ts +1 -1
- package/src/models/ContainerModel.ts +103 -0
- package/src/models/ContainerModels.ts +67 -0
- package/src/models/CreatePickfaceRequest.ts +4 -4
- 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/PickfaceContainerModel.ts +68 -0
- 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 +1 -1
- package/src/models/PickfaceModels.ts +1 -1
- package/src/models/UpdatePickfaceRequest.ts +4 -4
- package/src/models/UpdatePickfaceRequestContentsInner.ts +1 -1
- package/src/models/UpdatePickfaceRequestContentsInnerQuantity.ts +1 -1
- package/src/models/index.ts +3 -2
- package/src/runtime.ts +1 -1
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +2 -2
|
@@ -0,0 +1,40 @@
|
|
|
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.10.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
|
+
* Check if a given object implements the UpdatePickfaceRequestContents interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfUpdatePickfaceRequestContents(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function UpdatePickfaceRequestContentsFromJSON(json) {
|
|
21
|
+
return UpdatePickfaceRequestContentsFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function UpdatePickfaceRequestContentsFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'variantRef': json['variantRef'] == null ? undefined : json['variantRef'],
|
|
29
|
+
'quantity': json['quantity'] == null ? undefined : json['quantity'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function UpdatePickfaceRequestContentsToJSON(value) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'variantRef': value['variantRef'],
|
|
38
|
+
'quantity': value['quantity'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
@@ -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.2
|
|
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,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Pickfaces API
|
|
5
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.12.2
|
|
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
|
+
import { UpdatePickfaceRequestContentsInnerQuantityFromJSON, UpdatePickfaceRequestContentsInnerQuantityToJSON, } from './UpdatePickfaceRequestContentsInnerQuantity';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the UpdatePickfaceRequestContentsInner interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfUpdatePickfaceRequestContentsInner(value) {
|
|
19
|
+
if (!('variantRef' in value))
|
|
20
|
+
return false;
|
|
21
|
+
if (!('quantity' in value))
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function UpdatePickfaceRequestContentsInnerFromJSON(json) {
|
|
26
|
+
return UpdatePickfaceRequestContentsInnerFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function UpdatePickfaceRequestContentsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'variantRef': json['variantRef'],
|
|
34
|
+
'quantity': UpdatePickfaceRequestContentsInnerQuantityFromJSON(json['quantity']),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function UpdatePickfaceRequestContentsInnerToJSON(value) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'variantRef': value['variantRef'],
|
|
43
|
+
'quantity': UpdatePickfaceRequestContentsInnerQuantityToJSON(value['quantity']),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -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.2
|
|
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,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Pickfaces API
|
|
5
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.12.2
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const UpdatePickfaceRequestContentsInnerQuantityOperationEnum = {
|
|
18
|
+
Add: 'add',
|
|
19
|
+
Subtract: 'subtract'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdatePickfaceRequestContentsInnerQuantity interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfUpdatePickfaceRequestContentsInnerQuantity(value) {
|
|
25
|
+
if (!('operation' in value))
|
|
26
|
+
return false;
|
|
27
|
+
if (!('value' in value))
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function UpdatePickfaceRequestContentsInnerQuantityFromJSON(json) {
|
|
32
|
+
return UpdatePickfaceRequestContentsInnerQuantityFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function UpdatePickfaceRequestContentsInnerQuantityFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'operation': json['operation'],
|
|
40
|
+
'value': json['value'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function UpdatePickfaceRequestContentsInnerQuantityToJSON(value) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'operation': value['operation'],
|
|
49
|
+
'value': value['value'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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,51 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const UpdatePickfaceRequestContentsInnerQuantityOneOfOperationEnum = {
|
|
18
|
+
Add: 'add',
|
|
19
|
+
Subtract: 'subtract'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdatePickfaceRequestContentsInnerQuantityOneOf interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfUpdatePickfaceRequestContentsInnerQuantityOneOf(value) {
|
|
25
|
+
if (!('operation' in value))
|
|
26
|
+
return false;
|
|
27
|
+
if (!('value' in value))
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function UpdatePickfaceRequestContentsInnerQuantityOneOfFromJSON(json) {
|
|
32
|
+
return UpdatePickfaceRequestContentsInnerQuantityOneOfFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function UpdatePickfaceRequestContentsInnerQuantityOneOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'operation': json['operation'],
|
|
40
|
+
'value': json['value'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function UpdatePickfaceRequestContentsInnerQuantityOneOfToJSON(value) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'operation': value['operation'],
|
|
49
|
+
'value': value['value'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export * from './ApiError';
|
|
2
|
+
export * from './ContainerModel';
|
|
3
|
+
export * from './ContainerModels';
|
|
4
|
+
export * from './CreatePickfaceRequest';
|
|
5
|
+
export * from './GetPickfaces200Response';
|
|
6
|
+
export * from './ListPickfaceLogs200Response';
|
|
7
|
+
export * from './MoveStockRequest';
|
|
8
|
+
export * from './Pickface';
|
|
9
|
+
export * from './PickfaceContainerModel';
|
|
10
|
+
export * from './PickfaceContentsInner';
|
|
11
|
+
export * from './PickfaceContentsInnerApplicationsInner';
|
|
12
|
+
export * from './PickfaceContentsInnerMetadata';
|
|
13
|
+
export * from './PickfaceContentsInnerQuantity';
|
|
14
|
+
export * from './PickfaceLastPicked';
|
|
15
|
+
export * from './PickfaceLastRestocked';
|
|
16
|
+
export * from './PickfaceLog';
|
|
17
|
+
export * from './UpdatePickfaceRequest';
|
|
18
|
+
export * from './UpdatePickfaceRequestContentsInner';
|
|
19
|
+
export * from './UpdatePickfaceRequestContentsInnerQuantity';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export * from './ApiError';
|
|
4
|
+
export * from './ContainerModel';
|
|
5
|
+
export * from './ContainerModels';
|
|
6
|
+
export * from './CreatePickfaceRequest';
|
|
7
|
+
export * from './GetPickfaces200Response';
|
|
8
|
+
export * from './ListPickfaceLogs200Response';
|
|
9
|
+
export * from './MoveStockRequest';
|
|
10
|
+
export * from './Pickface';
|
|
11
|
+
export * from './PickfaceContainerModel';
|
|
12
|
+
export * from './PickfaceContentsInner';
|
|
13
|
+
export * from './PickfaceContentsInnerApplicationsInner';
|
|
14
|
+
export * from './PickfaceContentsInnerMetadata';
|
|
15
|
+
export * from './PickfaceContentsInnerQuantity';
|
|
16
|
+
export * from './PickfaceLastPicked';
|
|
17
|
+
export * from './PickfaceLastRestocked';
|
|
18
|
+
export * from './PickfaceLog';
|
|
19
|
+
export * from './UpdatePickfaceRequest';
|
|
20
|
+
export * from './UpdatePickfaceRequestContentsInner';
|
|
21
|
+
export * from './UpdatePickfaceRequestContentsInnerQuantity';
|
|
@@ -0,0 +1,187 @@
|
|
|
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.2
|
|
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
|
+
export type OptionalProperties<T> = {
|
|
13
|
+
[K in keyof T]-?: undefined extends T[K] ? K : never;
|
|
14
|
+
}[keyof T];
|
|
15
|
+
export type OptionalOnly<T> = Partial<Pick<T, OptionalProperties<T>>>;
|
|
16
|
+
export declare const BASE_PATH: string;
|
|
17
|
+
export interface ConfigurationParameters {
|
|
18
|
+
basePath?: string;
|
|
19
|
+
fetchApi?: FetchAPI;
|
|
20
|
+
middleware?: Middleware[];
|
|
21
|
+
queryParamsStringify?: (params: HTTPQuery) => string;
|
|
22
|
+
username?: string;
|
|
23
|
+
password?: string;
|
|
24
|
+
apiKey?: string | ((name: string) => string);
|
|
25
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
|
|
26
|
+
headers?: HTTPHeaders;
|
|
27
|
+
credentials?: RequestCredentials;
|
|
28
|
+
}
|
|
29
|
+
export declare class Configuration {
|
|
30
|
+
private configuration;
|
|
31
|
+
constructor(configuration?: ConfigurationParameters);
|
|
32
|
+
set config(configuration: Configuration);
|
|
33
|
+
get basePath(): string;
|
|
34
|
+
get fetchApi(): FetchAPI | undefined;
|
|
35
|
+
get middleware(): Middleware[];
|
|
36
|
+
get queryParamsStringify(): (params: HTTPQuery) => string;
|
|
37
|
+
get username(): string | undefined;
|
|
38
|
+
get password(): string | undefined;
|
|
39
|
+
get apiKey(): ((name: string) => string) | undefined;
|
|
40
|
+
get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
|
|
41
|
+
get headers(): HTTPHeaders | undefined;
|
|
42
|
+
get credentials(): RequestCredentials | undefined;
|
|
43
|
+
}
|
|
44
|
+
export declare const DefaultConfig: Configuration;
|
|
45
|
+
/**
|
|
46
|
+
* This is the base class for all generated API classes.
|
|
47
|
+
*/
|
|
48
|
+
export declare class BaseAPI {
|
|
49
|
+
protected configuration: Configuration;
|
|
50
|
+
private static readonly jsonRegex;
|
|
51
|
+
private middleware;
|
|
52
|
+
constructor(configuration?: Configuration);
|
|
53
|
+
isResponseError(error: any): error is ResponseError;
|
|
54
|
+
withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
|
|
55
|
+
withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>): T;
|
|
56
|
+
withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
|
|
57
|
+
/**
|
|
58
|
+
* Check if the given MIME is a JSON MIME.
|
|
59
|
+
* JSON MIME examples:
|
|
60
|
+
* application/json
|
|
61
|
+
* application/json; charset=UTF8
|
|
62
|
+
* APPLICATION/JSON
|
|
63
|
+
* application/vnd.company+json
|
|
64
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
65
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
66
|
+
*/
|
|
67
|
+
protected isJsonMime(mime: string | null | undefined): boolean;
|
|
68
|
+
protected request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response>;
|
|
69
|
+
private createFetchParams;
|
|
70
|
+
private fetchApi;
|
|
71
|
+
/**
|
|
72
|
+
* Create a shallow clone of `this` by constructing a new instance
|
|
73
|
+
* and then shallow cloning data members.
|
|
74
|
+
*/
|
|
75
|
+
private clone;
|
|
76
|
+
}
|
|
77
|
+
export declare class ResponseError extends Error {
|
|
78
|
+
response: Response;
|
|
79
|
+
name: "ResponseError";
|
|
80
|
+
constructor(response: Response, msg?: string);
|
|
81
|
+
}
|
|
82
|
+
export declare class FetchError extends Error {
|
|
83
|
+
cause: Error;
|
|
84
|
+
name: "FetchError";
|
|
85
|
+
constructor(cause: Error, msg?: string);
|
|
86
|
+
}
|
|
87
|
+
export declare class RequiredError extends Error {
|
|
88
|
+
field: string;
|
|
89
|
+
name: "RequiredError";
|
|
90
|
+
constructor(field: string, msg?: string);
|
|
91
|
+
}
|
|
92
|
+
export declare const COLLECTION_FORMATS: {
|
|
93
|
+
csv: string;
|
|
94
|
+
ssv: string;
|
|
95
|
+
tsv: string;
|
|
96
|
+
pipes: string;
|
|
97
|
+
};
|
|
98
|
+
export type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
|
|
99
|
+
export type Json = any;
|
|
100
|
+
export type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
|
|
101
|
+
export type HTTPHeaders = {
|
|
102
|
+
[key: string]: string;
|
|
103
|
+
};
|
|
104
|
+
export type HTTPQuery = {
|
|
105
|
+
[key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
|
|
106
|
+
};
|
|
107
|
+
export type HTTPBody = Json | FormData | URLSearchParams;
|
|
108
|
+
export type HTTPRequestInit = {
|
|
109
|
+
headers?: HTTPHeaders;
|
|
110
|
+
method: HTTPMethod;
|
|
111
|
+
credentials?: RequestCredentials;
|
|
112
|
+
body?: HTTPBody;
|
|
113
|
+
};
|
|
114
|
+
export type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
|
|
115
|
+
export type InitOverrideFunction = (requestContext: {
|
|
116
|
+
init: HTTPRequestInit;
|
|
117
|
+
context: RequestOpts;
|
|
118
|
+
}) => Promise<RequestInit>;
|
|
119
|
+
export interface FetchParams {
|
|
120
|
+
url: string;
|
|
121
|
+
init: RequestInit;
|
|
122
|
+
}
|
|
123
|
+
export interface RequestOpts {
|
|
124
|
+
path: string;
|
|
125
|
+
method: HTTPMethod;
|
|
126
|
+
headers: HTTPHeaders;
|
|
127
|
+
query?: HTTPQuery;
|
|
128
|
+
body?: HTTPBody;
|
|
129
|
+
}
|
|
130
|
+
export declare function exists(json: any, key: string): boolean;
|
|
131
|
+
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
132
|
+
export declare function mapValues(data: any, fn: (item: any) => any): {};
|
|
133
|
+
export declare function canConsumeForm(consumes: Consume[]): boolean;
|
|
134
|
+
export interface Consume {
|
|
135
|
+
contentType: string;
|
|
136
|
+
}
|
|
137
|
+
export interface RequestContext {
|
|
138
|
+
fetch: FetchAPI;
|
|
139
|
+
url: string;
|
|
140
|
+
init: RequestInit;
|
|
141
|
+
}
|
|
142
|
+
export interface ResponseContext {
|
|
143
|
+
fetch: FetchAPI;
|
|
144
|
+
url: string;
|
|
145
|
+
init: RequestInit;
|
|
146
|
+
response: Response;
|
|
147
|
+
}
|
|
148
|
+
export interface ErrorContext {
|
|
149
|
+
fetch: FetchAPI;
|
|
150
|
+
url: string;
|
|
151
|
+
init: RequestInit;
|
|
152
|
+
error: unknown;
|
|
153
|
+
response?: Response;
|
|
154
|
+
}
|
|
155
|
+
export interface Middleware {
|
|
156
|
+
pre?(context: RequestContext): Promise<FetchParams | void>;
|
|
157
|
+
post?(context: ResponseContext): Promise<Response | void>;
|
|
158
|
+
onError?(context: ErrorContext): Promise<Response | void>;
|
|
159
|
+
}
|
|
160
|
+
export interface ApiResponse<T> {
|
|
161
|
+
raw: Response;
|
|
162
|
+
value(): Promise<T>;
|
|
163
|
+
}
|
|
164
|
+
export interface ResponseTransformer<T> {
|
|
165
|
+
(json: any): T;
|
|
166
|
+
}
|
|
167
|
+
export declare class JSONApiResponse<T> {
|
|
168
|
+
raw: Response;
|
|
169
|
+
private transformer;
|
|
170
|
+
constructor(raw: Response, transformer?: ResponseTransformer<T>);
|
|
171
|
+
value(): Promise<T>;
|
|
172
|
+
}
|
|
173
|
+
export declare class VoidApiResponse {
|
|
174
|
+
raw: Response;
|
|
175
|
+
constructor(raw: Response);
|
|
176
|
+
value(): Promise<void>;
|
|
177
|
+
}
|
|
178
|
+
export declare class BlobApiResponse {
|
|
179
|
+
raw: Response;
|
|
180
|
+
constructor(raw: Response);
|
|
181
|
+
value(): Promise<Blob>;
|
|
182
|
+
}
|
|
183
|
+
export declare class TextApiResponse {
|
|
184
|
+
raw: Response;
|
|
185
|
+
constructor(raw: Response);
|
|
186
|
+
value(): Promise<string>;
|
|
187
|
+
}
|