@teemill/pickfaces 0.11.1 → 0.12.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 +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/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 +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/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 +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 +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 +150 -1
- 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 +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 +10 -10
- 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 +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 +3 -1
- package/src/runtime.ts +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -6,12 +6,14 @@ src/apis/PickfacesApi.ts
|
|
|
6
6
|
src/apis/index.ts
|
|
7
7
|
src/index.ts
|
|
8
8
|
src/models/ApiError.ts
|
|
9
|
+
src/models/ContainerModel.ts
|
|
10
|
+
src/models/ContainerModels.ts
|
|
9
11
|
src/models/CreatePickfaceRequest.ts
|
|
10
|
-
src/models/CreatePickfaceRequestDimensions.ts
|
|
11
12
|
src/models/GetPickfaces200Response.ts
|
|
12
13
|
src/models/ListPickfaceLogs200Response.ts
|
|
13
14
|
src/models/MoveStockRequest.ts
|
|
14
15
|
src/models/Pickface.ts
|
|
16
|
+
src/models/PickfaceContainerModel.ts
|
|
15
17
|
src/models/PickfaceContentsInner.ts
|
|
16
18
|
src/models/PickfaceContentsInnerApplicationsInner.ts
|
|
17
19
|
src/models/PickfaceContentsInnerMetadata.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/pickfaces@0.
|
|
1
|
+
## @teemill/pickfaces@0.12.1
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/pickfaces@0.
|
|
39
|
+
npm install @teemill/pickfaces@0.12.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -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.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { CreatePickfaceRequest, GetPickfaces200Response, ListPickfaceLogs200Response, MoveStockRequest, Pickface, UpdatePickfaceRequest } from '../models/index';
|
|
13
|
+
import type { ContainerModels, CreatePickfaceRequest, GetPickfaces200Response, ListPickfaceLogs200Response, MoveStockRequest, Pickface, UpdatePickfaceRequest } from '../models/index';
|
|
14
14
|
export interface CreatePickfaceOperationRequest {
|
|
15
15
|
project: string;
|
|
16
16
|
createPickfaceRequest: CreatePickfaceRequest;
|
|
@@ -26,6 +26,9 @@ export interface GetPickfaceRequest {
|
|
|
26
26
|
project: string;
|
|
27
27
|
pickfaceId: string;
|
|
28
28
|
}
|
|
29
|
+
export interface GetPickfaceContainerModelsRequest {
|
|
30
|
+
project: string;
|
|
31
|
+
}
|
|
29
32
|
export interface GetPickfacesRequest {
|
|
30
33
|
project: string;
|
|
31
34
|
search?: string;
|
|
@@ -49,6 +52,13 @@ export interface PrintPickfaceLabelRequest {
|
|
|
49
52
|
pickfaceId: string;
|
|
50
53
|
deviceRef: string;
|
|
51
54
|
}
|
|
55
|
+
export interface SuggestPickfacesRequest {
|
|
56
|
+
project: string;
|
|
57
|
+
variantRef: string;
|
|
58
|
+
quantity: number;
|
|
59
|
+
pageToken?: number;
|
|
60
|
+
pageSize?: number;
|
|
61
|
+
}
|
|
52
62
|
export interface UpdatePickfaceOperationRequest {
|
|
53
63
|
project: string;
|
|
54
64
|
pickfaceId: string;
|
|
@@ -98,6 +108,16 @@ export declare class PickfacesApi extends runtime.BaseAPI {
|
|
|
98
108
|
* Get pickface
|
|
99
109
|
*/
|
|
100
110
|
getPickface(project: string, pickfaceId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Pickface>;
|
|
111
|
+
/**
|
|
112
|
+
* Lists pickface container models
|
|
113
|
+
* Get pickface container models
|
|
114
|
+
*/
|
|
115
|
+
getPickfaceContainerModelsRaw(requestParameters: GetPickfaceContainerModelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContainerModels>>;
|
|
116
|
+
/**
|
|
117
|
+
* Lists pickface container models
|
|
118
|
+
* Get pickface container models
|
|
119
|
+
*/
|
|
120
|
+
getPickfaceContainerModels(project: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContainerModels>;
|
|
101
121
|
/**
|
|
102
122
|
* Lists all pickfaces available paginated into chunks
|
|
103
123
|
* List pickfaces
|
|
@@ -138,6 +158,16 @@ export declare class PickfacesApi extends runtime.BaseAPI {
|
|
|
138
158
|
* Print pickface label
|
|
139
159
|
*/
|
|
140
160
|
printPickfaceLabel(project: string, pickfaceId: string, deviceRef: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
161
|
+
/**
|
|
162
|
+
* Suggest pickfaces for putting away stock
|
|
163
|
+
* Suggest pickfaces
|
|
164
|
+
*/
|
|
165
|
+
suggestPickfacesRaw(requestParameters: SuggestPickfacesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetPickfaces200Response>>;
|
|
166
|
+
/**
|
|
167
|
+
* Suggest pickfaces for putting away stock
|
|
168
|
+
* Suggest pickfaces
|
|
169
|
+
*/
|
|
170
|
+
suggestPickfaces(project: string, variantRef: string, quantity: number, optionalParameters?: runtime.OptionalOnly<SuggestPickfacesRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetPickfaces200Response>;
|
|
141
171
|
/**
|
|
142
172
|
* Update a Pickface
|
|
143
173
|
* Update Pickface
|
|
@@ -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.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -351,6 +351,70 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
351
351
|
});
|
|
352
352
|
});
|
|
353
353
|
};
|
|
354
|
+
/**
|
|
355
|
+
* Lists pickface container models
|
|
356
|
+
* Get pickface container models
|
|
357
|
+
*/
|
|
358
|
+
PickfacesApi.prototype.getPickfaceContainerModelsRaw = function (requestParameters, initOverrides) {
|
|
359
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
360
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
361
|
+
return __generator(this, function (_c) {
|
|
362
|
+
switch (_c.label) {
|
|
363
|
+
case 0:
|
|
364
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
365
|
+
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling getPickfaceContainerModels.');
|
|
366
|
+
}
|
|
367
|
+
queryParameters = {};
|
|
368
|
+
if (requestParameters.project !== undefined) {
|
|
369
|
+
queryParameters['project'] = requestParameters.project;
|
|
370
|
+
}
|
|
371
|
+
headerParameters = {};
|
|
372
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
373
|
+
// oauth required
|
|
374
|
+
_a = headerParameters;
|
|
375
|
+
_b = "Authorization";
|
|
376
|
+
return [4 /*yield*/, this.configuration.accessToken("session-oauth", [])];
|
|
377
|
+
case 1:
|
|
378
|
+
// oauth required
|
|
379
|
+
_a[_b] = _c.sent();
|
|
380
|
+
_c.label = 2;
|
|
381
|
+
case 2:
|
|
382
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
383
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
384
|
+
}
|
|
385
|
+
return [4 /*yield*/, this.request({
|
|
386
|
+
path: "/v1/pickfaces/container-models",
|
|
387
|
+
method: 'GET',
|
|
388
|
+
headers: headerParameters,
|
|
389
|
+
query: queryParameters,
|
|
390
|
+
}, initOverrides)];
|
|
391
|
+
case 3:
|
|
392
|
+
response = _c.sent();
|
|
393
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ContainerModelsFromJSON)(jsonValue); })];
|
|
394
|
+
}
|
|
395
|
+
});
|
|
396
|
+
});
|
|
397
|
+
};
|
|
398
|
+
/**
|
|
399
|
+
* Lists pickface container models
|
|
400
|
+
* Get pickface container models
|
|
401
|
+
*/
|
|
402
|
+
PickfacesApi.prototype.getPickfaceContainerModels = function (project, initOverrides) {
|
|
403
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
404
|
+
var response;
|
|
405
|
+
return __generator(this, function (_a) {
|
|
406
|
+
switch (_a.label) {
|
|
407
|
+
case 0: return [4 /*yield*/, this.getPickfaceContainerModelsRaw({
|
|
408
|
+
project: project,
|
|
409
|
+
}, initOverrides)];
|
|
410
|
+
case 1:
|
|
411
|
+
response = _a.sent();
|
|
412
|
+
return [4 /*yield*/, response.value()];
|
|
413
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
414
|
+
}
|
|
415
|
+
});
|
|
416
|
+
});
|
|
417
|
+
};
|
|
354
418
|
/**
|
|
355
419
|
* Lists all pickfaces available paginated into chunks
|
|
356
420
|
* List pickfaces
|
|
@@ -641,6 +705,87 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
641
705
|
});
|
|
642
706
|
});
|
|
643
707
|
};
|
|
708
|
+
/**
|
|
709
|
+
* Suggest pickfaces for putting away stock
|
|
710
|
+
* Suggest pickfaces
|
|
711
|
+
*/
|
|
712
|
+
PickfacesApi.prototype.suggestPickfacesRaw = function (requestParameters, initOverrides) {
|
|
713
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
714
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
715
|
+
return __generator(this, function (_c) {
|
|
716
|
+
switch (_c.label) {
|
|
717
|
+
case 0:
|
|
718
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
719
|
+
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling suggestPickfaces.');
|
|
720
|
+
}
|
|
721
|
+
if (requestParameters.variantRef === null || requestParameters.variantRef === undefined) {
|
|
722
|
+
throw new runtime.RequiredError('variantRef', 'Required parameter requestParameters.variantRef was null or undefined when calling suggestPickfaces.');
|
|
723
|
+
}
|
|
724
|
+
if (requestParameters.quantity === null || requestParameters.quantity === undefined) {
|
|
725
|
+
throw new runtime.RequiredError('quantity', 'Required parameter requestParameters.quantity was null or undefined when calling suggestPickfaces.');
|
|
726
|
+
}
|
|
727
|
+
queryParameters = {};
|
|
728
|
+
if (requestParameters.project !== undefined) {
|
|
729
|
+
queryParameters['project'] = requestParameters.project;
|
|
730
|
+
}
|
|
731
|
+
if (requestParameters.variantRef !== undefined) {
|
|
732
|
+
queryParameters['variantRef'] = requestParameters.variantRef;
|
|
733
|
+
}
|
|
734
|
+
if (requestParameters.quantity !== undefined) {
|
|
735
|
+
queryParameters['quantity'] = requestParameters.quantity;
|
|
736
|
+
}
|
|
737
|
+
if (requestParameters.pageToken !== undefined) {
|
|
738
|
+
queryParameters['pageToken'] = requestParameters.pageToken;
|
|
739
|
+
}
|
|
740
|
+
if (requestParameters.pageSize !== undefined) {
|
|
741
|
+
queryParameters['pageSize'] = requestParameters.pageSize;
|
|
742
|
+
}
|
|
743
|
+
headerParameters = {};
|
|
744
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
745
|
+
// oauth required
|
|
746
|
+
_a = headerParameters;
|
|
747
|
+
_b = "Authorization";
|
|
748
|
+
return [4 /*yield*/, this.configuration.accessToken("session-oauth", [])];
|
|
749
|
+
case 1:
|
|
750
|
+
// oauth required
|
|
751
|
+
_a[_b] = _c.sent();
|
|
752
|
+
_c.label = 2;
|
|
753
|
+
case 2:
|
|
754
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
755
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
756
|
+
}
|
|
757
|
+
return [4 /*yield*/, this.request({
|
|
758
|
+
path: "/v1/pickfaces/suggest",
|
|
759
|
+
method: 'GET',
|
|
760
|
+
headers: headerParameters,
|
|
761
|
+
query: queryParameters,
|
|
762
|
+
}, initOverrides)];
|
|
763
|
+
case 3:
|
|
764
|
+
response = _c.sent();
|
|
765
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetPickfaces200ResponseFromJSON)(jsonValue); })];
|
|
766
|
+
}
|
|
767
|
+
});
|
|
768
|
+
});
|
|
769
|
+
};
|
|
770
|
+
/**
|
|
771
|
+
* Suggest pickfaces for putting away stock
|
|
772
|
+
* Suggest pickfaces
|
|
773
|
+
*/
|
|
774
|
+
PickfacesApi.prototype.suggestPickfaces = function (project, variantRef, quantity, optionalParameters, initOverrides) {
|
|
775
|
+
if (optionalParameters === void 0) { optionalParameters = {}; }
|
|
776
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
777
|
+
var response;
|
|
778
|
+
return __generator(this, function (_a) {
|
|
779
|
+
switch (_a.label) {
|
|
780
|
+
case 0: return [4 /*yield*/, this.suggestPickfacesRaw(__assign({ project: project, variantRef: variantRef, quantity: quantity }, optionalParameters), initOverrides)];
|
|
781
|
+
case 1:
|
|
782
|
+
response = _a.sent();
|
|
783
|
+
return [4 /*yield*/, response.value()];
|
|
784
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
785
|
+
}
|
|
786
|
+
});
|
|
787
|
+
});
|
|
788
|
+
};
|
|
644
789
|
/**
|
|
645
790
|
* Update a Pickface
|
|
646
791
|
* Update Pickface
|
|
@@ -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.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/models/ApiError.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.1
|
|
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,61 @@
|
|
|
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.1
|
|
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 ContainerModel
|
|
16
|
+
*/
|
|
17
|
+
export interface ContainerModel {
|
|
18
|
+
/**
|
|
19
|
+
* Unique object identifier
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ContainerModel
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* A reference to the resource location
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ContainerModel
|
|
28
|
+
*/
|
|
29
|
+
ref: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ContainerModel
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
* The width of the model in millimetres
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ContainerModel
|
|
40
|
+
*/
|
|
41
|
+
width?: number;
|
|
42
|
+
/**
|
|
43
|
+
* The depth of the model in millimetres
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ContainerModel
|
|
46
|
+
*/
|
|
47
|
+
depth?: number;
|
|
48
|
+
/**
|
|
49
|
+
* The height of the model in millimetres
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ContainerModel
|
|
52
|
+
*/
|
|
53
|
+
height?: number;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the ContainerModel interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfContainerModel(value: object): boolean;
|
|
59
|
+
export declare function ContainerModelFromJSON(json: any): ContainerModel;
|
|
60
|
+
export declare function ContainerModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContainerModel;
|
|
61
|
+
export declare function ContainerModelToJSON(value?: ContainerModel | null): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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.1
|
|
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.ContainerModelToJSON = exports.ContainerModelFromJSONTyped = exports.ContainerModelFromJSON = exports.instanceOfContainerModel = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ContainerModel interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfContainerModel(value) {
|
|
21
|
+
if (!('id' in value))
|
|
22
|
+
return false;
|
|
23
|
+
if (!('ref' in value))
|
|
24
|
+
return false;
|
|
25
|
+
if (!('name' in value))
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfContainerModel = instanceOfContainerModel;
|
|
30
|
+
function ContainerModelFromJSON(json) {
|
|
31
|
+
return ContainerModelFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.ContainerModelFromJSON = ContainerModelFromJSON;
|
|
34
|
+
function ContainerModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'ref': json['ref'],
|
|
41
|
+
'name': json['name'],
|
|
42
|
+
'width': json['width'] == null ? undefined : json['width'],
|
|
43
|
+
'depth': json['depth'] == null ? undefined : json['depth'],
|
|
44
|
+
'height': json['height'] == null ? undefined : json['height'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.ContainerModelFromJSONTyped = ContainerModelFromJSONTyped;
|
|
48
|
+
function ContainerModelToJSON(value) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'id': value['id'],
|
|
54
|
+
'ref': value['ref'],
|
|
55
|
+
'name': value['name'],
|
|
56
|
+
'width': value['width'],
|
|
57
|
+
'depth': value['depth'],
|
|
58
|
+
'height': value['height'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
exports.ContainerModelToJSON = ContainerModelToJSON;
|
|
@@ -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.1
|
|
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 { ContainerModel } from './ContainerModel';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ContainerModels
|
|
17
|
+
*/
|
|
18
|
+
export interface ContainerModels {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ContainerModel>}
|
|
22
|
+
* @memberof ContainerModels
|
|
23
|
+
*/
|
|
24
|
+
containerModels?: Array<ContainerModel>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ContainerModels interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfContainerModels(value: object): boolean;
|
|
30
|
+
export declare function ContainerModelsFromJSON(json: any): ContainerModels;
|
|
31
|
+
export declare function ContainerModelsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContainerModels;
|
|
32
|
+
export declare function ContainerModelsToJSON(value?: ContainerModels | 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.1
|
|
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.ContainerModelsToJSON = exports.ContainerModelsFromJSONTyped = exports.ContainerModelsFromJSON = exports.instanceOfContainerModels = void 0;
|
|
17
|
+
var ContainerModel_1 = require("./ContainerModel");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the ContainerModels interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfContainerModels(value) {
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
exports.instanceOfContainerModels = instanceOfContainerModels;
|
|
25
|
+
function ContainerModelsFromJSON(json) {
|
|
26
|
+
return ContainerModelsFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
exports.ContainerModelsFromJSON = ContainerModelsFromJSON;
|
|
29
|
+
function ContainerModelsFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'containerModels': json['containerModels'] == null ? undefined : (json['containerModels'].map(ContainerModel_1.ContainerModelFromJSON)),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
exports.ContainerModelsFromJSONTyped = ContainerModelsFromJSONTyped;
|
|
38
|
+
function ContainerModelsToJSON(value) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'containerModels': value['containerModels'] == null ? undefined : (value['containerModels'].map(ContainerModel_1.ContainerModelToJSON)),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
exports.ContainerModelsToJSON = ContainerModelsToJSON;
|
|
@@ -2,14 +2,13 @@
|
|
|
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.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { CreatePickfaceRequestDimensions } from './CreatePickfaceRequestDimensions';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -23,11 +22,11 @@ export interface CreatePickfaceRequest {
|
|
|
23
22
|
*/
|
|
24
23
|
location?: string;
|
|
25
24
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {
|
|
25
|
+
* Unique object identifier
|
|
26
|
+
* @type {string}
|
|
28
27
|
* @memberof CreatePickfaceRequest
|
|
29
28
|
*/
|
|
30
|
-
|
|
29
|
+
containerModelId?: string;
|
|
31
30
|
}
|
|
32
31
|
/**
|
|
33
32
|
* Check if a given object implements the CreatePickfaceRequest interface.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces API
|
|
6
6
|
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.12.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.CreatePickfaceRequestToJSON = exports.CreatePickfaceRequestFromJSONTyped = exports.CreatePickfaceRequestFromJSON = exports.instanceOfCreatePickfaceRequest = void 0;
|
|
17
|
-
var CreatePickfaceRequestDimensions_1 = require("./CreatePickfaceRequestDimensions");
|
|
18
17
|
/**
|
|
19
18
|
* Check if a given object implements the CreatePickfaceRequest interface.
|
|
20
19
|
*/
|
|
@@ -32,7 +31,7 @@ function CreatePickfaceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
31
|
}
|
|
33
32
|
return {
|
|
34
33
|
'location': json['location'] == null ? undefined : json['location'],
|
|
35
|
-
'
|
|
34
|
+
'containerModelId': json['containerModelId'] == null ? undefined : json['containerModelId'],
|
|
36
35
|
};
|
|
37
36
|
}
|
|
38
37
|
exports.CreatePickfaceRequestFromJSONTyped = CreatePickfaceRequestFromJSONTyped;
|
|
@@ -42,7 +41,7 @@ function CreatePickfaceRequestToJSON(value) {
|
|
|
42
41
|
}
|
|
43
42
|
return {
|
|
44
43
|
'location': value['location'],
|
|
45
|
-
'
|
|
44
|
+
'containerModelId': value['containerModelId'],
|
|
46
45
|
};
|
|
47
46
|
}
|
|
48
47
|
exports.CreatePickfaceRequestToJSON = CreatePickfaceRequestToJSON;
|
|
@@ -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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|