@teemill/pickfaces 0.23.1 → 0.24.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/README.md +2 -2
- package/api.ts +36 -6
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +19 -3
- package/dist/api.js +20 -6
- 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 +19 -3
- package/dist/esm/api.js +20 -6
- 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/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/pickfaces@0.
|
|
1
|
+
## @teemill/pickfaces@0.24.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.24.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
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.24.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1157,10 +1157,12 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1157
1157
|
* @param {number} [pageToken] Page reference token
|
|
1158
1158
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1159
1159
|
* @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1160
|
+
* @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
1161
|
+
* @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
1160
1162
|
* @param {*} [options] Override http request option.
|
|
1161
1163
|
* @throws {RequiredError}
|
|
1162
1164
|
*/
|
|
1163
|
-
listPickfaces: async (project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1165
|
+
listPickfaces: async (project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, updatedStart?: string, updatedEnd?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1164
1166
|
// verify required parameter 'project' is not null or undefined
|
|
1165
1167
|
assertParamExists('listPickfaces', 'project', project)
|
|
1166
1168
|
const localVarPath = `/v1/pickfaces`;
|
|
@@ -1202,6 +1204,18 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1202
1204
|
localVarQueryParameter['sortBy'] = sortBy;
|
|
1203
1205
|
}
|
|
1204
1206
|
|
|
1207
|
+
if (updatedStart !== undefined) {
|
|
1208
|
+
localVarQueryParameter['updatedStart'] = (updatedStart as any instanceof Date) ?
|
|
1209
|
+
(updatedStart as any).toISOString() :
|
|
1210
|
+
updatedStart;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
if (updatedEnd !== undefined) {
|
|
1214
|
+
localVarQueryParameter['updatedEnd'] = (updatedEnd as any instanceof Date) ?
|
|
1215
|
+
(updatedEnd as any).toISOString() :
|
|
1216
|
+
updatedEnd;
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1205
1219
|
|
|
1206
1220
|
|
|
1207
1221
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1691,11 +1705,13 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
|
|
|
1691
1705
|
* @param {number} [pageToken] Page reference token
|
|
1692
1706
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1693
1707
|
* @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1708
|
+
* @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
1709
|
+
* @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
1694
1710
|
* @param {*} [options] Override http request option.
|
|
1695
1711
|
* @throws {RequiredError}
|
|
1696
1712
|
*/
|
|
1697
|
-
async listPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>> {
|
|
1698
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPickfaces(project, search, pageToken, pageSize, sortBy, options);
|
|
1713
|
+
async listPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, updatedStart?: string, updatedEnd?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>> {
|
|
1714
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPickfaces(project, search, pageToken, pageSize, sortBy, updatedStart, updatedEnd, options);
|
|
1699
1715
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1700
1716
|
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.listPickfaces']?.[localVarOperationServerIndex]?.url;
|
|
1701
1717
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1891,7 +1907,7 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
|
|
|
1891
1907
|
* @throws {RequiredError}
|
|
1892
1908
|
*/
|
|
1893
1909
|
listPickfaces(requestParameters: PickfacesApiListPickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListPickfaces200Response> {
|
|
1894
|
-
return localVarFp.listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(axios, basePath));
|
|
1910
|
+
return localVarFp.listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, requestParameters.updatedStart, requestParameters.updatedEnd, options).then((request) => request(axios, basePath));
|
|
1895
1911
|
},
|
|
1896
1912
|
/**
|
|
1897
1913
|
* Move stock from one pickface to another in a single transaction
|
|
@@ -2185,6 +2201,20 @@ export interface PickfacesApiListPickfacesRequest {
|
|
|
2185
2201
|
* @memberof PickfacesApiListPickfaces
|
|
2186
2202
|
*/
|
|
2187
2203
|
readonly sortBy?: Array<ListPickfacesSortByEnum>
|
|
2204
|
+
|
|
2205
|
+
/**
|
|
2206
|
+
* Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
2207
|
+
* @type {string}
|
|
2208
|
+
* @memberof PickfacesApiListPickfaces
|
|
2209
|
+
*/
|
|
2210
|
+
readonly updatedStart?: string
|
|
2211
|
+
|
|
2212
|
+
/**
|
|
2213
|
+
* End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
2214
|
+
* @type {string}
|
|
2215
|
+
* @memberof PickfacesApiListPickfaces
|
|
2216
|
+
*/
|
|
2217
|
+
readonly updatedEnd?: string
|
|
2188
2218
|
}
|
|
2189
2219
|
|
|
2190
2220
|
/**
|
|
@@ -2488,7 +2518,7 @@ export class PickfacesApi extends BaseAPI {
|
|
|
2488
2518
|
* @memberof PickfacesApi
|
|
2489
2519
|
*/
|
|
2490
2520
|
public listPickfaces(requestParameters: PickfacesApiListPickfacesRequest, options?: RawAxiosRequestConfig) {
|
|
2491
|
-
return PickfacesApiFp(this.configuration).listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));
|
|
2521
|
+
return PickfacesApiFp(this.configuration).listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, requestParameters.updatedStart, requestParameters.updatedEnd, options).then((request) => request(this.axios, this.basePath));
|
|
2492
2522
|
}
|
|
2493
2523
|
|
|
2494
2524
|
/**
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
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.24.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 API
|
|
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.24.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
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.24.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* 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 API
|
|
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.24.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -809,10 +809,12 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
809
809
|
* @param {number} [pageToken] Page reference token
|
|
810
810
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
811
811
|
* @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
812
|
+
* @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
813
|
+
* @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
812
814
|
* @param {*} [options] Override http request option.
|
|
813
815
|
* @throws {RequiredError}
|
|
814
816
|
*/
|
|
815
|
-
listPickfaces: (project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
817
|
+
listPickfaces: (project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, updatedStart?: string, updatedEnd?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
816
818
|
/**
|
|
817
819
|
* Move stock from one pickface to another in a single transaction
|
|
818
820
|
* @summary Move stock
|
|
@@ -965,10 +967,12 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
|
|
|
965
967
|
* @param {number} [pageToken] Page reference token
|
|
966
968
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
967
969
|
* @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
970
|
+
* @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
971
|
+
* @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
968
972
|
* @param {*} [options] Override http request option.
|
|
969
973
|
* @throws {RequiredError}
|
|
970
974
|
*/
|
|
971
|
-
listPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
|
|
975
|
+
listPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, updatedStart?: string, updatedEnd?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
|
|
972
976
|
/**
|
|
973
977
|
* Move stock from one pickface to another in a single transaction
|
|
974
978
|
* @summary Move stock
|
|
@@ -1365,6 +1369,18 @@ export interface PickfacesApiListPickfacesRequest {
|
|
|
1365
1369
|
* @memberof PickfacesApiListPickfaces
|
|
1366
1370
|
*/
|
|
1367
1371
|
readonly sortBy?: Array<ListPickfacesSortByEnum>;
|
|
1372
|
+
/**
|
|
1373
|
+
* Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
1374
|
+
* @type {string}
|
|
1375
|
+
* @memberof PickfacesApiListPickfaces
|
|
1376
|
+
*/
|
|
1377
|
+
readonly updatedStart?: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
1380
|
+
* @type {string}
|
|
1381
|
+
* @memberof PickfacesApiListPickfaces
|
|
1382
|
+
*/
|
|
1383
|
+
readonly updatedEnd?: string;
|
|
1368
1384
|
}
|
|
1369
1385
|
/**
|
|
1370
1386
|
* Request parameters for moveStock operation in PickfacesApi.
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces API
|
|
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.24.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -387,10 +387,12 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
387
387
|
* @param {number} [pageToken] Page reference token
|
|
388
388
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
389
389
|
* @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
390
|
+
* @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
391
|
+
* @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
390
392
|
* @param {*} [options] Override http request option.
|
|
391
393
|
* @throws {RequiredError}
|
|
392
394
|
*/
|
|
393
|
-
listPickfaces: (project_1, search_1, pageToken_1, pageSize_1, sortBy_1, ...args_1) => __awaiter(this, [project_1, search_1, pageToken_1, pageSize_1, sortBy_1, ...args_1], void 0, function* (project, search, pageToken, pageSize, sortBy, options = {}) {
|
|
395
|
+
listPickfaces: (project_1, search_1, pageToken_1, pageSize_1, sortBy_1, updatedStart_1, updatedEnd_1, ...args_1) => __awaiter(this, [project_1, search_1, pageToken_1, pageSize_1, sortBy_1, updatedStart_1, updatedEnd_1, ...args_1], void 0, function* (project, search, pageToken, pageSize, sortBy, updatedStart, updatedEnd, options = {}) {
|
|
394
396
|
// verify required parameter 'project' is not null or undefined
|
|
395
397
|
(0, common_1.assertParamExists)('listPickfaces', 'project', project);
|
|
396
398
|
const localVarPath = `/v1/pickfaces`;
|
|
@@ -423,6 +425,16 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
423
425
|
if (sortBy) {
|
|
424
426
|
localVarQueryParameter['sortBy'] = sortBy;
|
|
425
427
|
}
|
|
428
|
+
if (updatedStart !== undefined) {
|
|
429
|
+
localVarQueryParameter['updatedStart'] = (updatedStart instanceof Date) ?
|
|
430
|
+
updatedStart.toISOString() :
|
|
431
|
+
updatedStart;
|
|
432
|
+
}
|
|
433
|
+
if (updatedEnd !== undefined) {
|
|
434
|
+
localVarQueryParameter['updatedEnd'] = (updatedEnd instanceof Date) ?
|
|
435
|
+
updatedEnd.toISOString() :
|
|
436
|
+
updatedEnd;
|
|
437
|
+
}
|
|
426
438
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
427
439
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
428
440
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -874,13 +886,15 @@ const PickfacesApiFp = function (configuration) {
|
|
|
874
886
|
* @param {number} [pageToken] Page reference token
|
|
875
887
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
876
888
|
* @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
889
|
+
* @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
890
|
+
* @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
877
891
|
* @param {*} [options] Override http request option.
|
|
878
892
|
* @throws {RequiredError}
|
|
879
893
|
*/
|
|
880
|
-
listPickfaces(project, search, pageToken, pageSize, sortBy, options) {
|
|
894
|
+
listPickfaces(project, search, pageToken, pageSize, sortBy, updatedStart, updatedEnd, options) {
|
|
881
895
|
return __awaiter(this, void 0, void 0, function* () {
|
|
882
896
|
var _a, _b, _c;
|
|
883
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPickfaces(project, search, pageToken, pageSize, sortBy, options);
|
|
897
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPickfaces(project, search, pageToken, pageSize, sortBy, updatedStart, updatedEnd, options);
|
|
884
898
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
885
899
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PickfacesApi.listPickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
886
900
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1095,7 +1109,7 @@ const PickfacesApiFactory = function (configuration, basePath, axios) {
|
|
|
1095
1109
|
* @throws {RequiredError}
|
|
1096
1110
|
*/
|
|
1097
1111
|
listPickfaces(requestParameters, options) {
|
|
1098
|
-
return localVarFp.listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(axios, basePath));
|
|
1112
|
+
return localVarFp.listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, requestParameters.updatedStart, requestParameters.updatedEnd, options).then((request) => request(axios, basePath));
|
|
1099
1113
|
},
|
|
1100
1114
|
/**
|
|
1101
1115
|
* Move stock from one pickface to another in a single transaction
|
|
@@ -1264,7 +1278,7 @@ class PickfacesApi extends base_1.BaseAPI {
|
|
|
1264
1278
|
* @memberof PickfacesApi
|
|
1265
1279
|
*/
|
|
1266
1280
|
listPickfaces(requestParameters, options) {
|
|
1267
|
-
return (0, exports.PickfacesApiFp)(this.configuration).listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));
|
|
1281
|
+
return (0, exports.PickfacesApiFp)(this.configuration).listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, requestParameters.updatedStart, requestParameters.updatedEnd, options).then((request) => request(this.axios, this.basePath));
|
|
1268
1282
|
}
|
|
1269
1283
|
/**
|
|
1270
1284
|
* Move stock from one pickface to another in a single transaction
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
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.24.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 API
|
|
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.24.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 API
|
|
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.24.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 API
|
|
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.24.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 API
|
|
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.24.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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces API
|
|
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.24.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* 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 API
|
|
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.24.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -809,10 +809,12 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
809
809
|
* @param {number} [pageToken] Page reference token
|
|
810
810
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
811
811
|
* @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
812
|
+
* @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
813
|
+
* @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
812
814
|
* @param {*} [options] Override http request option.
|
|
813
815
|
* @throws {RequiredError}
|
|
814
816
|
*/
|
|
815
|
-
listPickfaces: (project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
817
|
+
listPickfaces: (project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, updatedStart?: string, updatedEnd?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
816
818
|
/**
|
|
817
819
|
* Move stock from one pickface to another in a single transaction
|
|
818
820
|
* @summary Move stock
|
|
@@ -965,10 +967,12 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
|
|
|
965
967
|
* @param {number} [pageToken] Page reference token
|
|
966
968
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
967
969
|
* @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
970
|
+
* @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
971
|
+
* @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
968
972
|
* @param {*} [options] Override http request option.
|
|
969
973
|
* @throws {RequiredError}
|
|
970
974
|
*/
|
|
971
|
-
listPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
|
|
975
|
+
listPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, updatedStart?: string, updatedEnd?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
|
|
972
976
|
/**
|
|
973
977
|
* Move stock from one pickface to another in a single transaction
|
|
974
978
|
* @summary Move stock
|
|
@@ -1365,6 +1369,18 @@ export interface PickfacesApiListPickfacesRequest {
|
|
|
1365
1369
|
* @memberof PickfacesApiListPickfaces
|
|
1366
1370
|
*/
|
|
1367
1371
|
readonly sortBy?: Array<ListPickfacesSortByEnum>;
|
|
1372
|
+
/**
|
|
1373
|
+
* Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
1374
|
+
* @type {string}
|
|
1375
|
+
* @memberof PickfacesApiListPickfaces
|
|
1376
|
+
*/
|
|
1377
|
+
readonly updatedStart?: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
1380
|
+
* @type {string}
|
|
1381
|
+
* @memberof PickfacesApiListPickfaces
|
|
1382
|
+
*/
|
|
1383
|
+
readonly updatedEnd?: string;
|
|
1368
1384
|
}
|
|
1369
1385
|
/**
|
|
1370
1386
|
* Request parameters for moveStock operation in PickfacesApi.
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
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.24.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -384,10 +384,12 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
384
384
|
* @param {number} [pageToken] Page reference token
|
|
385
385
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
386
386
|
* @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
387
|
+
* @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
388
|
+
* @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
387
389
|
* @param {*} [options] Override http request option.
|
|
388
390
|
* @throws {RequiredError}
|
|
389
391
|
*/
|
|
390
|
-
listPickfaces: (project_1, search_1, pageToken_1, pageSize_1, sortBy_1, ...args_1) => __awaiter(this, [project_1, search_1, pageToken_1, pageSize_1, sortBy_1, ...args_1], void 0, function* (project, search, pageToken, pageSize, sortBy, options = {}) {
|
|
392
|
+
listPickfaces: (project_1, search_1, pageToken_1, pageSize_1, sortBy_1, updatedStart_1, updatedEnd_1, ...args_1) => __awaiter(this, [project_1, search_1, pageToken_1, pageSize_1, sortBy_1, updatedStart_1, updatedEnd_1, ...args_1], void 0, function* (project, search, pageToken, pageSize, sortBy, updatedStart, updatedEnd, options = {}) {
|
|
391
393
|
// verify required parameter 'project' is not null or undefined
|
|
392
394
|
assertParamExists('listPickfaces', 'project', project);
|
|
393
395
|
const localVarPath = `/v1/pickfaces`;
|
|
@@ -420,6 +422,16 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
420
422
|
if (sortBy) {
|
|
421
423
|
localVarQueryParameter['sortBy'] = sortBy;
|
|
422
424
|
}
|
|
425
|
+
if (updatedStart !== undefined) {
|
|
426
|
+
localVarQueryParameter['updatedStart'] = (updatedStart instanceof Date) ?
|
|
427
|
+
updatedStart.toISOString() :
|
|
428
|
+
updatedStart;
|
|
429
|
+
}
|
|
430
|
+
if (updatedEnd !== undefined) {
|
|
431
|
+
localVarQueryParameter['updatedEnd'] = (updatedEnd instanceof Date) ?
|
|
432
|
+
updatedEnd.toISOString() :
|
|
433
|
+
updatedEnd;
|
|
434
|
+
}
|
|
423
435
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
424
436
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
425
437
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -870,13 +882,15 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
870
882
|
* @param {number} [pageToken] Page reference token
|
|
871
883
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
872
884
|
* @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
885
|
+
* @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
886
|
+
* @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
|
|
873
887
|
* @param {*} [options] Override http request option.
|
|
874
888
|
* @throws {RequiredError}
|
|
875
889
|
*/
|
|
876
|
-
listPickfaces(project, search, pageToken, pageSize, sortBy, options) {
|
|
890
|
+
listPickfaces(project, search, pageToken, pageSize, sortBy, updatedStart, updatedEnd, options) {
|
|
877
891
|
return __awaiter(this, void 0, void 0, function* () {
|
|
878
892
|
var _a, _b, _c;
|
|
879
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPickfaces(project, search, pageToken, pageSize, sortBy, options);
|
|
893
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPickfaces(project, search, pageToken, pageSize, sortBy, updatedStart, updatedEnd, options);
|
|
880
894
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
881
895
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.listPickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
882
896
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1090,7 +1104,7 @@ export const PickfacesApiFactory = function (configuration, basePath, axios) {
|
|
|
1090
1104
|
* @throws {RequiredError}
|
|
1091
1105
|
*/
|
|
1092
1106
|
listPickfaces(requestParameters, options) {
|
|
1093
|
-
return localVarFp.listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(axios, basePath));
|
|
1107
|
+
return localVarFp.listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, requestParameters.updatedStart, requestParameters.updatedEnd, options).then((request) => request(axios, basePath));
|
|
1094
1108
|
},
|
|
1095
1109
|
/**
|
|
1096
1110
|
* Move stock from one pickface to another in a single transaction
|
|
@@ -1258,7 +1272,7 @@ export class PickfacesApi extends BaseAPI {
|
|
|
1258
1272
|
* @memberof PickfacesApi
|
|
1259
1273
|
*/
|
|
1260
1274
|
listPickfaces(requestParameters, options) {
|
|
1261
|
-
return PickfacesApiFp(this.configuration).listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));
|
|
1275
|
+
return PickfacesApiFp(this.configuration).listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, requestParameters.updatedStart, requestParameters.updatedEnd, options).then((request) => request(this.axios, this.basePath));
|
|
1262
1276
|
}
|
|
1263
1277
|
/**
|
|
1264
1278
|
* Move stock from one pickface to another in a single transaction
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces API
|
|
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.24.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 API
|
|
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.24.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 API
|
|
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.24.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 API
|
|
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.24.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 API
|
|
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.24.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
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.24.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* 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 API
|
|
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.24.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 API
|
|
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.24.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 API
|
|
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.24.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 API
|
|
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.24.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces API
|
|
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.24.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|