@teemill/pickfaces 0.37.0 → 0.38.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/VERSION +1 -1
- package/README.md +2 -2
- package/api.ts +17 -4
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +14 -4
- package/dist/api.js +9 -4
- 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 +14 -4
- package/dist/esm/api.js +8 -3
- 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/MoveStockRequest.md +2 -0
- package/docs/PickfacesApi.md +2 -2
- package/git_push.sh +14 -17
- package/index.ts +1 -1
- package/package.json +1 -1
|
@@ -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.1
|
|
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.1 --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.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -152,7 +152,20 @@ export interface MoveStockRequest {
|
|
|
152
152
|
* The pickface to move the stock to
|
|
153
153
|
*/
|
|
154
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;
|
|
155
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
|
+
|
|
156
169
|
/**
|
|
157
170
|
* A warehouse pickface (storage location) containing stock items, with information about its contents, fullness, and container type.
|
|
158
171
|
*/
|
|
@@ -1226,7 +1239,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1226
1239
|
* @param {string} project The project ID
|
|
1227
1240
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
1228
1241
|
* @param {number} quantity Number of variants
|
|
1229
|
-
* @param {number} [sellThroughRate]
|
|
1242
|
+
* @param {number} [sellThroughRate] Normalised 0–100 sell-through rate used to bias empty-pickface suggestions toward the label printer. Omit this parameter to use the project\'s live override-first rate from sell_through_rates, log-normalised against the project maximum. Supply a value to keep the previous client-normalised behaviour.
|
|
1230
1243
|
* @param {number} [pageToken] Page reference token
|
|
1231
1244
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1232
1245
|
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
|
@@ -1621,7 +1634,7 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
|
|
|
1621
1634
|
* @param {string} project The project ID
|
|
1622
1635
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
1623
1636
|
* @param {number} quantity Number of variants
|
|
1624
|
-
* @param {number} [sellThroughRate]
|
|
1637
|
+
* @param {number} [sellThroughRate] Normalised 0–100 sell-through rate used to bias empty-pickface suggestions toward the label printer. Omit this parameter to use the project\'s live override-first rate from sell_through_rates, log-normalised against the project maximum. Supply a value to keep the previous client-normalised behaviour.
|
|
1625
1638
|
* @param {number} [pageToken] Page reference token
|
|
1626
1639
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1627
1640
|
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
|
@@ -2135,7 +2148,7 @@ export interface PickfacesApiSuggestPickfacesRequest {
|
|
|
2135
2148
|
readonly quantity: number
|
|
2136
2149
|
|
|
2137
2150
|
/**
|
|
2138
|
-
*
|
|
2151
|
+
* Normalised 0–100 sell-through rate used to bias empty-pickface suggestions toward the label printer. Omit this parameter to use the project\'s live override-first rate from sell_through_rates, log-normalised against the project maximum. Supply a value to keep the previous client-normalised behaviour.
|
|
2139
2152
|
*/
|
|
2140
2153
|
readonly sellThroughRate?: number
|
|
2141
2154
|
|
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.1
|
|
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.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
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.1
|
|
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.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -142,7 +142,17 @@ export interface MoveStockRequest {
|
|
|
142
142
|
* The pickface to move the stock to
|
|
143
143
|
*/
|
|
144
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;
|
|
145
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];
|
|
146
156
|
/**
|
|
147
157
|
* A warehouse pickface (storage location) containing stock items, with information about its contents, fullness, and container type.
|
|
148
158
|
*/
|
|
@@ -597,7 +607,7 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
597
607
|
* @param {string} project The project ID
|
|
598
608
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
599
609
|
* @param {number} quantity Number of variants
|
|
600
|
-
* @param {number} [sellThroughRate]
|
|
610
|
+
* @param {number} [sellThroughRate] Normalised 0–100 sell-through rate used to bias empty-pickface suggestions toward the label printer. Omit this parameter to use the project\'s live override-first rate from sell_through_rates, log-normalised against the project maximum. Supply a value to keep the previous client-normalised behaviour.
|
|
601
611
|
* @param {number} [pageToken] Page reference token
|
|
602
612
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
603
613
|
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
|
@@ -773,7 +783,7 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
|
|
|
773
783
|
* @param {string} project The project ID
|
|
774
784
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
775
785
|
* @param {number} quantity Number of variants
|
|
776
|
-
* @param {number} [sellThroughRate]
|
|
786
|
+
* @param {number} [sellThroughRate] Normalised 0–100 sell-through rate used to bias empty-pickface suggestions toward the label printer. Omit this parameter to use the project\'s live override-first rate from sell_through_rates, log-normalised against the project maximum. Supply a value to keep the previous client-normalised behaviour.
|
|
777
787
|
* @param {number} [pageToken] Page reference token
|
|
778
788
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
779
789
|
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
|
@@ -1189,7 +1199,7 @@ export interface PickfacesApiSuggestPickfacesRequest {
|
|
|
1189
1199
|
*/
|
|
1190
1200
|
readonly quantity: number;
|
|
1191
1201
|
/**
|
|
1192
|
-
*
|
|
1202
|
+
* Normalised 0–100 sell-through rate used to bias empty-pickface suggestions toward the label printer. Omit this parameter to use the project\'s live override-first rate from sell_through_rates, log-normalised against the project maximum. Supply a value to keep the previous client-normalised behaviour.
|
|
1193
1203
|
*/
|
|
1194
1204
|
readonly sellThroughRate?: number;
|
|
1195
1205
|
/**
|
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.1
|
|
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',
|
|
@@ -689,7 +694,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
689
694
|
* @param {string} project The project ID
|
|
690
695
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
691
696
|
* @param {number} quantity Number of variants
|
|
692
|
-
* @param {number} [sellThroughRate]
|
|
697
|
+
* @param {number} [sellThroughRate] Normalised 0–100 sell-through rate used to bias empty-pickface suggestions toward the label printer. Omit this parameter to use the project\'s live override-first rate from sell_through_rates, log-normalised against the project maximum. Supply a value to keep the previous client-normalised behaviour.
|
|
693
698
|
* @param {number} [pageToken] Page reference token
|
|
694
699
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
695
700
|
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
|
@@ -1099,7 +1104,7 @@ const PickfacesApiFp = function (configuration) {
|
|
|
1099
1104
|
* @param {string} project The project ID
|
|
1100
1105
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
1101
1106
|
* @param {number} quantity Number of variants
|
|
1102
|
-
* @param {number} [sellThroughRate]
|
|
1107
|
+
* @param {number} [sellThroughRate] Normalised 0–100 sell-through rate used to bias empty-pickface suggestions toward the label printer. Omit this parameter to use the project\'s live override-first rate from sell_through_rates, log-normalised against the project maximum. Supply a value to keep the previous client-normalised behaviour.
|
|
1103
1108
|
* @param {number} [pageToken] Page reference token
|
|
1104
1109
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1105
1110
|
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -142,7 +142,17 @@ export interface MoveStockRequest {
|
|
|
142
142
|
* The pickface to move the stock to
|
|
143
143
|
*/
|
|
144
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;
|
|
145
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];
|
|
146
156
|
/**
|
|
147
157
|
* A warehouse pickface (storage location) containing stock items, with information about its contents, fullness, and container type.
|
|
148
158
|
*/
|
|
@@ -597,7 +607,7 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
597
607
|
* @param {string} project The project ID
|
|
598
608
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
599
609
|
* @param {number} quantity Number of variants
|
|
600
|
-
* @param {number} [sellThroughRate]
|
|
610
|
+
* @param {number} [sellThroughRate] Normalised 0–100 sell-through rate used to bias empty-pickface suggestions toward the label printer. Omit this parameter to use the project\'s live override-first rate from sell_through_rates, log-normalised against the project maximum. Supply a value to keep the previous client-normalised behaviour.
|
|
601
611
|
* @param {number} [pageToken] Page reference token
|
|
602
612
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
603
613
|
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
|
@@ -773,7 +783,7 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
|
|
|
773
783
|
* @param {string} project The project ID
|
|
774
784
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
775
785
|
* @param {number} quantity Number of variants
|
|
776
|
-
* @param {number} [sellThroughRate]
|
|
786
|
+
* @param {number} [sellThroughRate] Normalised 0–100 sell-through rate used to bias empty-pickface suggestions toward the label printer. Omit this parameter to use the project\'s live override-first rate from sell_through_rates, log-normalised against the project maximum. Supply a value to keep the previous client-normalised behaviour.
|
|
777
787
|
* @param {number} [pageToken] Page reference token
|
|
778
788
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
779
789
|
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
|
@@ -1189,7 +1199,7 @@ export interface PickfacesApiSuggestPickfacesRequest {
|
|
|
1189
1199
|
*/
|
|
1190
1200
|
readonly quantity: number;
|
|
1191
1201
|
/**
|
|
1192
|
-
*
|
|
1202
|
+
* Normalised 0–100 sell-through rate used to bias empty-pickface suggestions toward the label printer. Omit this parameter to use the project\'s live override-first rate from sell_through_rates, log-normalised against the project maximum. Supply a value to keep the previous client-normalised behaviour.
|
|
1193
1203
|
*/
|
|
1194
1204
|
readonly sellThroughRate?: number;
|
|
1195
1205
|
/**
|
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.1
|
|
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',
|
|
@@ -686,7 +691,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
686
691
|
* @param {string} project The project ID
|
|
687
692
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
688
693
|
* @param {number} quantity Number of variants
|
|
689
|
-
* @param {number} [sellThroughRate]
|
|
694
|
+
* @param {number} [sellThroughRate] Normalised 0–100 sell-through rate used to bias empty-pickface suggestions toward the label printer. Omit this parameter to use the project\'s live override-first rate from sell_through_rates, log-normalised against the project maximum. Supply a value to keep the previous client-normalised behaviour.
|
|
690
695
|
* @param {number} [pageToken] Page reference token
|
|
691
696
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
692
697
|
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
|
@@ -1095,7 +1100,7 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
1095
1100
|
* @param {string} project The project ID
|
|
1096
1101
|
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
1097
1102
|
* @param {number} quantity Number of variants
|
|
1098
|
-
* @param {number} [sellThroughRate]
|
|
1103
|
+
* @param {number} [sellThroughRate] Normalised 0–100 sell-through rate used to bias empty-pickface suggestions toward the label printer. Omit this parameter to use the project\'s live override-first rate from sell_through_rates, log-normalised against the project maximum. Supply a value to keep the previous client-normalised behaviour.
|
|
1099
1104
|
* @param {number} [pageToken] Page reference token
|
|
1100
1105
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1101
1106
|
* @param {boolean} [bulk] Whether to suggest bulk pickfaces
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
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/docs/PickfacesApi.md
CHANGED
|
@@ -903,7 +903,7 @@ const apiInstance = new PickfacesApi(configuration);
|
|
|
903
903
|
let project: string; //The project ID (default to undefined)
|
|
904
904
|
let variantRef: string; //Unique identifier of a warehouse variant (default to undefined)
|
|
905
905
|
let quantity: number; //Number of variants (default to undefined)
|
|
906
|
-
let sellThroughRate: number; //
|
|
906
|
+
let sellThroughRate: number; //Normalised 0–100 sell-through rate used to bias empty-pickface suggestions toward the label printer. Omit this parameter to use the project\'s live override-first rate from sell_through_rates, log-normalised against the project maximum. Supply a value to keep the previous client-normalised behaviour. (optional) (default to undefined)
|
|
907
907
|
let pageToken: number; //Page reference token (optional) (default to 1)
|
|
908
908
|
let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 100)
|
|
909
909
|
let bulk: boolean; //Whether to suggest bulk pickfaces (optional) (default to false)
|
|
@@ -926,7 +926,7 @@ const { status, data } = await apiInstance.suggestPickfaces(
|
|
|
926
926
|
| **project** | [**string**] | The project ID | defaults to undefined|
|
|
927
927
|
| **variantRef** | [**string**] | Unique identifier of a warehouse variant | defaults to undefined|
|
|
928
928
|
| **quantity** | [**number**] | Number of variants | defaults to undefined|
|
|
929
|
-
| **sellThroughRate** | [**number**] |
|
|
929
|
+
| **sellThroughRate** | [**number**] | Normalised 0–100 sell-through rate used to bias empty-pickface suggestions toward the label printer. Omit this parameter to use the project\'s live override-first rate from sell_through_rates, log-normalised against the project maximum. Supply a value to keep the previous client-normalised behaviour. | (optional) defaults to undefined|
|
|
930
930
|
| **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
|
|
931
931
|
| **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
|
|
932
932
|
| **bulk** | [**boolean**] | Whether to suggest bulk pickfaces | (optional) defaults to false|
|
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.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|