@teemill/pickfaces 0.7.0 → 0.9.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 +3 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/PickfacesApi.d.ts +26 -2
- package/dist/apis/PickfacesApi.js +84 -2
- 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/ModelError.d.ts +1 -1
- package/dist/models/ModelError.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 +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/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 +92 -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/ModelError.ts +1 -1
- package/src/models/MoveStockRequest.ts +84 -0
- package/src/models/Pickface.ts +1 -1
- package/src/models/PickfaceContentsInner.ts +1 -1
- package/src/models/PickfaceContentsInnerApplicationsInner.ts +1 -1
- package/src/models/PickfaceContentsInnerMetadata.ts +1 -1
- package/src/models/PickfaceContentsInnerQuantity.ts +1 -1
- package/src/models/PickfaceLastPicked.ts +1 -1
- package/src/models/PickfaceLastRestocked.ts +1 -1
- package/src/models/PickfaceLog.ts +1 -1
- package/src/models/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
package/.openapi-generator/FILES
CHANGED
|
@@ -5,10 +5,11 @@ package.json
|
|
|
5
5
|
src/apis/PickfacesApi.ts
|
|
6
6
|
src/apis/index.ts
|
|
7
7
|
src/index.ts
|
|
8
|
+
src/models/ApiError.ts
|
|
8
9
|
src/models/CreatePickfaceRequest.ts
|
|
9
10
|
src/models/CreatePickfaceRequestDimensions.ts
|
|
10
11
|
src/models/GetPickfaces200Response.ts
|
|
11
|
-
src/models/
|
|
12
|
+
src/models/MoveStockRequest.ts
|
|
12
13
|
src/models/Pickface.ts
|
|
13
14
|
src/models/PickfaceContentsInner.ts
|
|
14
15
|
src/models/PickfaceContentsInnerApplicationsInner.ts
|
|
@@ -19,6 +20,7 @@ src/models/PickfaceLastRestocked.ts
|
|
|
19
20
|
src/models/PickfaceLog.ts
|
|
20
21
|
src/models/PickfaceLogUser.ts
|
|
21
22
|
src/models/UpdatePickfaceRequest.ts
|
|
23
|
+
src/models/UpdatePickfaceRequestContents.ts
|
|
22
24
|
src/models/index.ts
|
|
23
25
|
src/runtime.ts
|
|
24
26
|
tsconfig.json
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.4.0-SNAPSHOT
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/pickfaces@0.
|
|
1
|
+
## @teemill/pickfaces@0.9.0
|
|
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.9.0 --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.9.0
|
|
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, Pickface, UpdatePickfaceRequest } from '../models/index';
|
|
13
|
+
import type { CreatePickfaceRequest, GetPickfaces200Response, MoveStockRequest, Pickface, UpdatePickfaceRequest } from '../models/index';
|
|
14
14
|
export interface CreatePickfaceOperationRequest {
|
|
15
15
|
project: string;
|
|
16
16
|
createPickfaceRequest: CreatePickfaceRequest;
|
|
@@ -31,6 +31,12 @@ export interface GetPickfacesRequest {
|
|
|
31
31
|
search?: string;
|
|
32
32
|
pageToken?: number;
|
|
33
33
|
pageSize?: number;
|
|
34
|
+
filters?: Array<GetPickfacesFiltersEnum>;
|
|
35
|
+
}
|
|
36
|
+
export interface MoveStockOperationRequest {
|
|
37
|
+
project: string;
|
|
38
|
+
pickfaceId: string;
|
|
39
|
+
moveStockRequest: MoveStockRequest;
|
|
34
40
|
}
|
|
35
41
|
export interface UpdatePickfaceOperationRequest {
|
|
36
42
|
project: string;
|
|
@@ -91,6 +97,16 @@ export declare class PickfacesApi extends runtime.BaseAPI {
|
|
|
91
97
|
* List pickfaces
|
|
92
98
|
*/
|
|
93
99
|
getPickfaces(project: string, optionalParameters?: runtime.OptionalOnly<GetPickfacesRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetPickfaces200Response>;
|
|
100
|
+
/**
|
|
101
|
+
* Move stock from one pickface to another in a single transaction
|
|
102
|
+
* Move stock
|
|
103
|
+
*/
|
|
104
|
+
moveStockRaw(requestParameters: MoveStockOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Pickface>>;
|
|
105
|
+
/**
|
|
106
|
+
* Move stock from one pickface to another in a single transaction
|
|
107
|
+
* Move stock
|
|
108
|
+
*/
|
|
109
|
+
moveStock(project: string, pickfaceId: string, moveStockRequest: MoveStockRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Pickface>;
|
|
94
110
|
/**
|
|
95
111
|
* Update a Pickface
|
|
96
112
|
* Update Pickface
|
|
@@ -102,3 +118,11 @@ export declare class PickfacesApi extends runtime.BaseAPI {
|
|
|
102
118
|
*/
|
|
103
119
|
updatePickface(project: string, pickfaceId: string, updatePickfaceRequest: UpdatePickfaceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Pickface>;
|
|
104
120
|
}
|
|
121
|
+
/**
|
|
122
|
+
* @export
|
|
123
|
+
*/
|
|
124
|
+
export declare const GetPickfacesFiltersEnum: {
|
|
125
|
+
readonly Empty: "empty";
|
|
126
|
+
readonly Flagged: "flagged";
|
|
127
|
+
};
|
|
128
|
+
export type GetPickfacesFiltersEnum = typeof GetPickfacesFiltersEnum[keyof typeof GetPickfacesFiltersEnum];
|
|
@@ -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.9.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -75,7 +75,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
78
|
-
exports.PickfacesApi = void 0;
|
|
78
|
+
exports.GetPickfacesFiltersEnum = exports.PickfacesApi = void 0;
|
|
79
79
|
var runtime = require("../runtime");
|
|
80
80
|
var index_1 = require("../models/index");
|
|
81
81
|
/**
|
|
@@ -377,6 +377,9 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
377
377
|
if (requestParameters.pageSize !== undefined) {
|
|
378
378
|
queryParameters['pageSize'] = requestParameters.pageSize;
|
|
379
379
|
}
|
|
380
|
+
if (requestParameters.filters) {
|
|
381
|
+
queryParameters['filters'] = requestParameters.filters;
|
|
382
|
+
}
|
|
380
383
|
headerParameters = {};
|
|
381
384
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
382
385
|
// oauth required
|
|
@@ -423,6 +426,78 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
423
426
|
});
|
|
424
427
|
});
|
|
425
428
|
};
|
|
429
|
+
/**
|
|
430
|
+
* Move stock from one pickface to another in a single transaction
|
|
431
|
+
* Move stock
|
|
432
|
+
*/
|
|
433
|
+
PickfacesApi.prototype.moveStockRaw = function (requestParameters, initOverrides) {
|
|
434
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
435
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
436
|
+
return __generator(this, function (_c) {
|
|
437
|
+
switch (_c.label) {
|
|
438
|
+
case 0:
|
|
439
|
+
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
440
|
+
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling moveStock.');
|
|
441
|
+
}
|
|
442
|
+
if (requestParameters.pickfaceId === null || requestParameters.pickfaceId === undefined) {
|
|
443
|
+
throw new runtime.RequiredError('pickfaceId', 'Required parameter requestParameters.pickfaceId was null or undefined when calling moveStock.');
|
|
444
|
+
}
|
|
445
|
+
if (requestParameters.moveStockRequest === null || requestParameters.moveStockRequest === undefined) {
|
|
446
|
+
throw new runtime.RequiredError('moveStockRequest', 'Required parameter requestParameters.moveStockRequest was null or undefined when calling moveStock.');
|
|
447
|
+
}
|
|
448
|
+
queryParameters = {};
|
|
449
|
+
if (requestParameters.project !== undefined) {
|
|
450
|
+
queryParameters['project'] = requestParameters.project;
|
|
451
|
+
}
|
|
452
|
+
headerParameters = {};
|
|
453
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
454
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
455
|
+
// oauth required
|
|
456
|
+
_a = headerParameters;
|
|
457
|
+
_b = "Authorization";
|
|
458
|
+
return [4 /*yield*/, this.configuration.accessToken("session-oauth", [])];
|
|
459
|
+
case 1:
|
|
460
|
+
// oauth required
|
|
461
|
+
_a[_b] = _c.sent();
|
|
462
|
+
_c.label = 2;
|
|
463
|
+
case 2:
|
|
464
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
465
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
466
|
+
}
|
|
467
|
+
return [4 /*yield*/, this.request({
|
|
468
|
+
path: "/v1/pickfaces/{pickfaceId}/stock/move".replace("{".concat("pickfaceId", "}"), encodeURIComponent(String(requestParameters.pickfaceId))),
|
|
469
|
+
method: 'POST',
|
|
470
|
+
headers: headerParameters,
|
|
471
|
+
query: queryParameters,
|
|
472
|
+
body: (0, index_1.MoveStockRequestToJSON)(requestParameters.moveStockRequest),
|
|
473
|
+
}, initOverrides)];
|
|
474
|
+
case 3:
|
|
475
|
+
response = _c.sent();
|
|
476
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PickfaceFromJSON)(jsonValue); })];
|
|
477
|
+
}
|
|
478
|
+
});
|
|
479
|
+
});
|
|
480
|
+
};
|
|
481
|
+
/**
|
|
482
|
+
* Move stock from one pickface to another in a single transaction
|
|
483
|
+
* Move stock
|
|
484
|
+
*/
|
|
485
|
+
PickfacesApi.prototype.moveStock = function (project, pickfaceId, moveStockRequest, initOverrides) {
|
|
486
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
487
|
+
var response;
|
|
488
|
+
return __generator(this, function (_a) {
|
|
489
|
+
switch (_a.label) {
|
|
490
|
+
case 0: return [4 /*yield*/, this.moveStockRaw({
|
|
491
|
+
project: project, pickfaceId: pickfaceId, moveStockRequest: moveStockRequest,
|
|
492
|
+
}, initOverrides)];
|
|
493
|
+
case 1:
|
|
494
|
+
response = _a.sent();
|
|
495
|
+
return [4 /*yield*/, response.value()];
|
|
496
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
497
|
+
}
|
|
498
|
+
});
|
|
499
|
+
});
|
|
500
|
+
};
|
|
426
501
|
/**
|
|
427
502
|
* Update a Pickface
|
|
428
503
|
* Update Pickface
|
|
@@ -498,3 +573,10 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
498
573
|
return PickfacesApi;
|
|
499
574
|
}(runtime.BaseAPI));
|
|
500
575
|
exports.PickfacesApi = PickfacesApi;
|
|
576
|
+
/**
|
|
577
|
+
* @export
|
|
578
|
+
*/
|
|
579
|
+
exports.GetPickfacesFiltersEnum = {
|
|
580
|
+
Empty: 'empty',
|
|
581
|
+
Flagged: 'flagged'
|
|
582
|
+
};
|
|
@@ -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.9.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 ApiError
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiError {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiError
|
|
22
|
+
*/
|
|
23
|
+
code?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiError
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ApiError interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfApiError(value: object): boolean;
|
|
35
|
+
export declare function ApiErrorFromJSON(json: any): ApiError;
|
|
36
|
+
export declare function ApiErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiError;
|
|
37
|
+
export declare function ApiErrorToJSON(value?: ApiError | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.9.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.ApiErrorToJSON = exports.ApiErrorFromJSONTyped = exports.ApiErrorFromJSON = exports.instanceOfApiError = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the ApiError interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfApiError(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "message" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfApiError = instanceOfApiError;
|
|
27
|
+
function ApiErrorFromJSON(json) {
|
|
28
|
+
return ApiErrorFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.ApiErrorFromJSON = ApiErrorFromJSON;
|
|
31
|
+
function ApiErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'code': !(0, runtime_1.exists)(json, 'code') ? undefined : json['code'],
|
|
37
|
+
'message': json['message'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.ApiErrorFromJSONTyped = ApiErrorFromJSONTyped;
|
|
41
|
+
function ApiErrorToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'code': value.code,
|
|
50
|
+
'message': value.message,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.ApiErrorToJSON = ApiErrorToJSON;
|
|
@@ -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.9.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.9.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.9.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.9.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.9.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.9.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.8.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.8.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,43 @@
|
|
|
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.9.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 MoveStockRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface MoveStockRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The variant to move from the pickface
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MoveStockRequest
|
|
22
|
+
*/
|
|
23
|
+
variantRef: string;
|
|
24
|
+
/**
|
|
25
|
+
* The quantity to move from the pickface
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof MoveStockRequest
|
|
28
|
+
*/
|
|
29
|
+
quantity: number;
|
|
30
|
+
/**
|
|
31
|
+
* The pickface to move the stock to
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MoveStockRequest
|
|
34
|
+
*/
|
|
35
|
+
toPickfaceRef: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the MoveStockRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfMoveStockRequest(value: object): boolean;
|
|
41
|
+
export declare function MoveStockRequestFromJSON(json: any): MoveStockRequest;
|
|
42
|
+
export declare function MoveStockRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoveStockRequest;
|
|
43
|
+
export declare function MoveStockRequestToJSON(value?: MoveStockRequest | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.9.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.MoveStockRequestToJSON = exports.MoveStockRequestFromJSONTyped = exports.MoveStockRequestFromJSON = exports.instanceOfMoveStockRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the MoveStockRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfMoveStockRequest(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "variantRef" in value;
|
|
23
|
+
isInstance = isInstance && "quantity" in value;
|
|
24
|
+
isInstance = isInstance && "toPickfaceRef" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfMoveStockRequest = instanceOfMoveStockRequest;
|
|
28
|
+
function MoveStockRequestFromJSON(json) {
|
|
29
|
+
return MoveStockRequestFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.MoveStockRequestFromJSON = MoveStockRequestFromJSON;
|
|
32
|
+
function MoveStockRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'variantRef': json['variantRef'],
|
|
38
|
+
'quantity': json['quantity'],
|
|
39
|
+
'toPickfaceRef': json['toPickfaceRef'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.MoveStockRequestFromJSONTyped = MoveStockRequestFromJSONTyped;
|
|
43
|
+
function MoveStockRequestToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'variantRef': value.variantRef,
|
|
52
|
+
'quantity': value.quantity,
|
|
53
|
+
'toPickfaceRef': value.toPickfaceRef,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.MoveStockRequestToJSON = MoveStockRequestToJSON;
|
|
@@ -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.9.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/models/Pickface.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|