@teemill/pickfaces 0.36.5 → 0.38.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/VERSION +1 -1
- package/README.md +2 -2
- package/api.ts +18 -1
- package/base.ts +1 -1
- package/common.ts +3 -3
- package/configuration.ts +1 -1
- package/dist/api.d.ts +15 -1
- package/dist/api.js +7 -2
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +15 -1
- package/dist/esm/api.js +6 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ListPickfaces200Response.md +2 -0
- package/docs/MoveStockRequest.md +2 -0
- package/git_push.sh +14 -17
- package/index.ts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.25.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/pickfaces@0.
|
|
1
|
+
## @teemill/pickfaces@0.38.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). 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.38.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.38.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -134,6 +134,10 @@ export interface ListPickfaces200Response {
|
|
|
134
134
|
* The total number of pickfaces that match the given filters
|
|
135
135
|
*/
|
|
136
136
|
'total'?: number;
|
|
137
|
+
/**
|
|
138
|
+
* The number of inventory items in reserve awaiting this variant. Returned by suggest only.
|
|
139
|
+
*/
|
|
140
|
+
'reserveCount'?: number;
|
|
137
141
|
}
|
|
138
142
|
export interface MoveStockRequest {
|
|
139
143
|
/**
|
|
@@ -148,7 +152,20 @@ export interface MoveStockRequest {
|
|
|
148
152
|
* The pickface to move the stock to
|
|
149
153
|
*/
|
|
150
154
|
'toPickfaceRef': string;
|
|
155
|
+
/**
|
|
156
|
+
* Which stock to move. Defaults to available. Use wip to move reserved WIP and reassign unpicked labels, or both to move available then WIP.
|
|
157
|
+
*/
|
|
158
|
+
'stockType'?: MoveStockRequestStockTypeEnum;
|
|
151
159
|
}
|
|
160
|
+
|
|
161
|
+
export const MoveStockRequestStockTypeEnum = {
|
|
162
|
+
Available: 'available',
|
|
163
|
+
Wip: 'wip',
|
|
164
|
+
Both: 'both',
|
|
165
|
+
} as const;
|
|
166
|
+
|
|
167
|
+
export type MoveStockRequestStockTypeEnum = typeof MoveStockRequestStockTypeEnum[keyof typeof MoveStockRequestStockTypeEnum];
|
|
168
|
+
|
|
152
169
|
/**
|
|
153
170
|
* A warehouse pickface (storage location) containing stock items, with information about its contents, fullness, and container type.
|
|
154
171
|
*/
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.38.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.38.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -154,8 +154,8 @@ export const toPathString = function (url: URL) {
|
|
|
154
154
|
* @export
|
|
155
155
|
*/
|
|
156
156
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
157
|
-
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
157
|
+
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH): Promise<R> => {
|
|
158
158
|
const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};
|
|
159
|
-
return axios.request<T, R>(axiosRequestArgs)
|
|
159
|
+
return axios.request<T, R>(axiosRequestArgs) as Promise<R>;
|
|
160
160
|
};
|
|
161
161
|
}
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Pickfaces
|
|
4
4
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 0.
|
|
6
|
+
* The version of the OpenAPI document: 0.38.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.38.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -124,6 +124,10 @@ export interface ListPickfaces200Response {
|
|
|
124
124
|
* The total number of pickfaces that match the given filters
|
|
125
125
|
*/
|
|
126
126
|
'total'?: number;
|
|
127
|
+
/**
|
|
128
|
+
* The number of inventory items in reserve awaiting this variant. Returned by suggest only.
|
|
129
|
+
*/
|
|
130
|
+
'reserveCount'?: number;
|
|
127
131
|
}
|
|
128
132
|
export interface MoveStockRequest {
|
|
129
133
|
/**
|
|
@@ -138,7 +142,17 @@ export interface MoveStockRequest {
|
|
|
138
142
|
* The pickface to move the stock to
|
|
139
143
|
*/
|
|
140
144
|
'toPickfaceRef': string;
|
|
145
|
+
/**
|
|
146
|
+
* Which stock to move. Defaults to available. Use wip to move reserved WIP and reassign unpicked labels, or both to move available then WIP.
|
|
147
|
+
*/
|
|
148
|
+
'stockType'?: MoveStockRequestStockTypeEnum;
|
|
141
149
|
}
|
|
150
|
+
export declare const MoveStockRequestStockTypeEnum: {
|
|
151
|
+
readonly Available: "available";
|
|
152
|
+
readonly Wip: "wip";
|
|
153
|
+
readonly Both: "both";
|
|
154
|
+
};
|
|
155
|
+
export type MoveStockRequestStockTypeEnum = typeof MoveStockRequestStockTypeEnum[keyof typeof MoveStockRequestStockTypeEnum];
|
|
142
156
|
/**
|
|
143
157
|
* A warehouse pickface (storage location) containing stock items, with information about its contents, fullness, and container type.
|
|
144
158
|
*/
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces
|
|
6
6
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.38.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,13 +22,18 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.ListPickfacesSortByEnum = exports.ExportPickfacesCostModeEnum = exports.PickfacesApi = exports.PickfacesApiFactory = exports.PickfacesApiFp = exports.PickfacesApiAxiosParamCreator = exports.VariantAttributeThumbnailTypeEnum = exports.UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum = exports.UpdatePickfaceRequestContentsInnerQuantityAvailableOneOfOperationEnum = void 0;
|
|
25
|
+
exports.ListPickfacesSortByEnum = exports.ExportPickfacesCostModeEnum = exports.PickfacesApi = exports.PickfacesApiFactory = exports.PickfacesApiFp = exports.PickfacesApiAxiosParamCreator = exports.VariantAttributeThumbnailTypeEnum = exports.UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum = exports.UpdatePickfaceRequestContentsInnerQuantityAvailableOneOfOperationEnum = exports.MoveStockRequestStockTypeEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
const common_1 = require("./common");
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
const base_1 = require("./base");
|
|
32
|
+
exports.MoveStockRequestStockTypeEnum = {
|
|
33
|
+
Available: 'available',
|
|
34
|
+
Wip: 'wip',
|
|
35
|
+
Both: 'both',
|
|
36
|
+
};
|
|
32
37
|
exports.UpdatePickfaceRequestContentsInnerQuantityAvailableOneOfOperationEnum = {
|
|
33
38
|
Add: 'add',
|
|
34
39
|
Subtract: 'subtract',
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.38.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces
|
|
6
6
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.38.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.38.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces
|
|
6
6
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.38.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.38.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.38.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.38.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -124,6 +124,10 @@ export interface ListPickfaces200Response {
|
|
|
124
124
|
* The total number of pickfaces that match the given filters
|
|
125
125
|
*/
|
|
126
126
|
'total'?: number;
|
|
127
|
+
/**
|
|
128
|
+
* The number of inventory items in reserve awaiting this variant. Returned by suggest only.
|
|
129
|
+
*/
|
|
130
|
+
'reserveCount'?: number;
|
|
127
131
|
}
|
|
128
132
|
export interface MoveStockRequest {
|
|
129
133
|
/**
|
|
@@ -138,7 +142,17 @@ export interface MoveStockRequest {
|
|
|
138
142
|
* The pickface to move the stock to
|
|
139
143
|
*/
|
|
140
144
|
'toPickfaceRef': string;
|
|
145
|
+
/**
|
|
146
|
+
* Which stock to move. Defaults to available. Use wip to move reserved WIP and reassign unpicked labels, or both to move available then WIP.
|
|
147
|
+
*/
|
|
148
|
+
'stockType'?: MoveStockRequestStockTypeEnum;
|
|
141
149
|
}
|
|
150
|
+
export declare const MoveStockRequestStockTypeEnum: {
|
|
151
|
+
readonly Available: "available";
|
|
152
|
+
readonly Wip: "wip";
|
|
153
|
+
readonly Both: "both";
|
|
154
|
+
};
|
|
155
|
+
export type MoveStockRequestStockTypeEnum = typeof MoveStockRequestStockTypeEnum[keyof typeof MoveStockRequestStockTypeEnum];
|
|
142
156
|
/**
|
|
143
157
|
* A warehouse pickface (storage location) containing stock items, with information about its contents, fullness, and container type.
|
|
144
158
|
*/
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.38.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,6 +26,11 @@ import globalAxios from 'axios';
|
|
|
26
26
|
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from './base';
|
|
29
|
+
export const MoveStockRequestStockTypeEnum = {
|
|
30
|
+
Available: 'available',
|
|
31
|
+
Wip: 'wip',
|
|
32
|
+
Both: 'both',
|
|
33
|
+
};
|
|
29
34
|
export const UpdatePickfaceRequestContentsInnerQuantityAvailableOneOfOperationEnum = {
|
|
30
35
|
Add: 'add',
|
|
31
36
|
Subtract: 'subtract',
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.38.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.38.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.38.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.38.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.38.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Pickfaces
|
|
4
4
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 0.
|
|
6
|
+
* The version of the OpenAPI document: 0.38.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.38.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.38.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.38.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces
|
|
6
6
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.38.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**pickfaces** | [**Array<Pickface>**](Pickface.md) | | [optional] [default to undefined]
|
|
9
9
|
**nextPageToken** | **number** | The token referencing the next page number | [optional] [default to undefined]
|
|
10
10
|
**total** | **number** | The total number of pickfaces that match the given filters | [optional] [default to undefined]
|
|
11
|
+
**reserveCount** | **number** | The number of inventory items in reserve awaiting this variant. Returned by suggest only. | [optional] [default to undefined]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,6 +19,7 @@ const instance: ListPickfaces200Response = {
|
|
|
18
19
|
pickfaces,
|
|
19
20
|
nextPageToken,
|
|
20
21
|
total,
|
|
22
|
+
reserveCount,
|
|
21
23
|
};
|
|
22
24
|
```
|
|
23
25
|
|
package/docs/MoveStockRequest.md
CHANGED
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**variantRef** | **string** | The variant to move from the pickface | [default to undefined]
|
|
9
9
|
**quantity** | **number** | The quantity to move from the pickface | [default to undefined]
|
|
10
10
|
**toPickfaceRef** | **string** | The pickface to move the stock to | [default to undefined]
|
|
11
|
+
**stockType** | **string** | Which stock to move. Defaults to available. Use wip to move reserved WIP and reassign unpicked labels, or both to move available then WIP. | [optional] [default to StockTypeEnum_Available]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,6 +19,7 @@ const instance: MoveStockRequest = {
|
|
|
18
19
|
variantRef,
|
|
19
20
|
quantity,
|
|
20
21
|
toPickfaceRef,
|
|
22
|
+
stockType,
|
|
21
23
|
};
|
|
22
24
|
```
|
|
23
25
|
|
package/git_push.sh
CHANGED
|
@@ -8,24 +8,24 @@ git_repo_id=$2
|
|
|
8
8
|
release_note=$3
|
|
9
9
|
git_host=$4
|
|
10
10
|
|
|
11
|
-
if [ "$git_host"
|
|
11
|
+
if [ -z "${git_host}" ]; then
|
|
12
12
|
git_host="github.com"
|
|
13
|
-
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
|
13
|
+
echo "[INFO] No command line input provided. Set \${git_host} to ${git_host}"
|
|
14
14
|
fi
|
|
15
15
|
|
|
16
|
-
if [ "$git_user_id"
|
|
16
|
+
if [ -z "${git_user_id}" ]; then
|
|
17
17
|
git_user_id="Teemill"
|
|
18
|
-
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
|
18
|
+
echo "[INFO] No command line input provided. Set \${git_user_id} to ${git_user_id}"
|
|
19
19
|
fi
|
|
20
20
|
|
|
21
|
-
if [ "$git_repo_id"
|
|
21
|
+
if [ -z "${git_repo_id}" ]; then
|
|
22
22
|
git_repo_id="public-api"
|
|
23
|
-
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
|
23
|
+
echo "[INFO] No command line input provided. Set \${git_repo_id} to ${git_repo_id}"
|
|
24
24
|
fi
|
|
25
25
|
|
|
26
|
-
if [ "$release_note"
|
|
26
|
+
if [ -z "${release_note}" ]; then
|
|
27
27
|
release_note="Minor update"
|
|
28
|
-
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
|
28
|
+
echo "[INFO] No command line input provided. Set \${release_note} to ${release_note}"
|
|
29
29
|
fi
|
|
30
30
|
|
|
31
31
|
# Initialize the local directory as a Git repository
|
|
@@ -35,19 +35,16 @@ git init
|
|
|
35
35
|
git add .
|
|
36
36
|
|
|
37
37
|
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
|
38
|
-
git commit -m "$release_note"
|
|
38
|
+
git commit -m "${release_note}"
|
|
39
39
|
|
|
40
40
|
# Sets the new remote
|
|
41
|
-
|
|
42
|
-
if [ "$
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
|
46
|
-
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
|
41
|
+
if [ -z "$(git remote)" ]; then # git remote not defined
|
|
42
|
+
if [ -z "${GIT_TOKEN:-}" ]; then
|
|
43
|
+
echo "[INFO] \${GIT_TOKEN} (environment variable) is not set. Using the git credential in your environment."
|
|
44
|
+
git remote add origin "https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
|
47
45
|
else
|
|
48
|
-
git remote add origin https://${git_user_id}
|
|
46
|
+
git remote add origin "https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git"
|
|
49
47
|
fi
|
|
50
|
-
|
|
51
48
|
fi
|
|
52
49
|
|
|
53
50
|
git pull origin master
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.38.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teemill/pickfaces",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.38.0",
|
|
4
4
|
"description": "OpenAPI client for @teemill/pickfaces",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"prepare": "npm run build"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"axios": "
|
|
27
|
+
"axios": "1.18.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "12.11.5 - 12.20.42",
|