@teemill/pickfaces 0.8.0 → 0.9.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 +3 -1
- package/README.md +2 -2
- package/dist/apis/PickfacesApi.d.ts +17 -2
- package/dist/apis/PickfacesApi.js +73 -1
- package/dist/models/ApiError.d.ts +37 -0
- package/dist/models/ApiError.js +53 -0
- 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/MoveStockRequest.d.ts +43 -0
- package/dist/models/MoveStockRequest.js +56 -0
- package/dist/models/Pickface.d.ts +1 -1
- package/dist/models/Pickface.js +1 -1
- package/dist/models/PickfaceContentsInner.d.ts +2 -2
- 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/PickfaceLogUser.d.ts +1 -1
- package/dist/models/PickfaceLogUser.js +1 -1
- package/dist/models/UpdatePickfaceRequest.d.ts +8 -1
- package/dist/models/UpdatePickfaceRequest.js +4 -1
- package/dist/models/UpdatePickfaceRequestContents.d.ts +37 -0
- package/dist/models/UpdatePickfaceRequestContents.js +52 -0
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/PickfacesApi.ts +78 -1
- package/src/models/ApiError.ts +74 -0
- package/src/models/CreatePickfaceRequest.ts +1 -1
- package/src/models/CreatePickfaceRequestDimensions.ts +1 -1
- package/src/models/GetPickfaces200Response.ts +1 -1
- package/src/models/MoveStockRequest.ts +84 -0
- package/src/models/Pickface.ts +1 -1
- package/src/models/PickfaceContentsInner.ts +2 -2
- 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/PickfaceLogUser.ts +1 -1
- package/src/models/UpdatePickfaceRequest.ts +16 -1
- package/src/models/UpdatePickfaceRequestContents.ts +73 -0
- package/src/models/index.ts +3 -1
- package/src/runtime.ts +1 -1
|
@@ -0,0 +1,73 @@
|
|
|
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.9.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 { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UpdatePickfaceRequestContents
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdatePickfaceRequestContents {
|
|
22
|
+
/**
|
|
23
|
+
* The variant to add to/remove from the pickface
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdatePickfaceRequestContents
|
|
26
|
+
*/
|
|
27
|
+
variantRef?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The quantity to add to/remove from the pickface. A negative number means stock will be removed
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof UpdatePickfaceRequestContents
|
|
32
|
+
*/
|
|
33
|
+
quantity?: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the UpdatePickfaceRequestContents interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfUpdatePickfaceRequestContents(value: object): boolean {
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
|
|
42
|
+
return isInstance;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function UpdatePickfaceRequestContentsFromJSON(json: any): UpdatePickfaceRequestContents {
|
|
46
|
+
return UpdatePickfaceRequestContentsFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function UpdatePickfaceRequestContentsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePickfaceRequestContents {
|
|
50
|
+
if ((json === undefined) || (json === null)) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'variantRef': !exists(json, 'variantRef') ? undefined : json['variantRef'],
|
|
56
|
+
'quantity': !exists(json, 'quantity') ? undefined : json['quantity'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function UpdatePickfaceRequestContentsToJSON(value?: UpdatePickfaceRequestContents | null): any {
|
|
61
|
+
if (value === undefined) {
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
if (value === null) {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'variantRef': value.variantRef,
|
|
70
|
+
'quantity': value.quantity,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export * from './ApiError';
|
|
3
4
|
export * from './CreatePickfaceRequest';
|
|
4
5
|
export * from './CreatePickfaceRequestDimensions';
|
|
5
6
|
export * from './GetPickfaces200Response';
|
|
6
|
-
export * from './
|
|
7
|
+
export * from './MoveStockRequest';
|
|
7
8
|
export * from './Pickface';
|
|
8
9
|
export * from './PickfaceContentsInner';
|
|
9
10
|
export * from './PickfaceContentsInnerApplicationsInner';
|
|
@@ -14,3 +15,4 @@ export * from './PickfaceLastRestocked';
|
|
|
14
15
|
export * from './PickfaceLog';
|
|
15
16
|
export * from './PickfaceLogUser';
|
|
16
17
|
export * from './UpdatePickfaceRequest';
|
|
18
|
+
export * from './UpdatePickfaceRequestContents';
|
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.9.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|