@teemill/pickfaces 0.15.0 → 0.15.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/README.md +2 -2
- package/api.ts +29 -32
- package/base.ts +2 -2
- package/common.ts +2 -2
- package/configuration.ts +2 -2
- package/dist/api.d.ts +26 -24
- package/dist/api.js +27 -22
- package/dist/base.d.ts +2 -2
- package/dist/base.js +2 -2
- package/dist/common.d.ts +2 -2
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +26 -24
- package/dist/esm/api.js +26 -21
- package/dist/esm/base.d.ts +2 -2
- package/dist/esm/base.js +2 -2
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +2 -2
- package/dist/esm/configuration.d.ts +2 -2
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/index.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/pickfaces@0.15.
|
|
1
|
+
## @teemill/pickfaces@0.15.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.15.
|
|
39
|
+
npm install @teemill/pickfaces@0.15.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
*
|
|
5
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.15.
|
|
7
|
+
* The version of the OpenAPI document: 0.15.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -847,18 +847,17 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
847
847
|
};
|
|
848
848
|
},
|
|
849
849
|
/**
|
|
850
|
-
* Lists all pickfaces
|
|
850
|
+
* Lists all available pickfaces paginated into chunks
|
|
851
851
|
* @summary List pickfaces
|
|
852
852
|
* @param {string} project What project it is
|
|
853
853
|
* @param {string} [search] Search term to filter based on pickface code
|
|
854
854
|
* @param {number} [pageToken] Page reference token
|
|
855
855
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
856
|
-
* @param {Array<
|
|
857
|
-
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
856
|
+
* @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
858
857
|
* @param {*} [options] Override http request option.
|
|
859
858
|
* @throws {RequiredError}
|
|
860
859
|
*/
|
|
861
|
-
getPickfaces: async (project: string, search?: string, pageToken?: number, pageSize?: number,
|
|
860
|
+
getPickfaces: async (project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<GetPickfacesSortByEnum>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
862
861
|
// verify required parameter 'project' is not null or undefined
|
|
863
862
|
assertParamExists('getPickfaces', 'project', project)
|
|
864
863
|
const localVarPath = `/v1/pickfaces`;
|
|
@@ -896,10 +895,6 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
896
895
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
897
896
|
}
|
|
898
897
|
|
|
899
|
-
if (filters) {
|
|
900
|
-
localVarQueryParameter['filters'] = filters;
|
|
901
|
-
}
|
|
902
|
-
|
|
903
898
|
if (sortBy) {
|
|
904
899
|
localVarQueryParameter['sortBy'] = sortBy;
|
|
905
900
|
}
|
|
@@ -1497,19 +1492,18 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
|
|
|
1497
1492
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1498
1493
|
},
|
|
1499
1494
|
/**
|
|
1500
|
-
* Lists all pickfaces
|
|
1495
|
+
* Lists all available pickfaces paginated into chunks
|
|
1501
1496
|
* @summary List pickfaces
|
|
1502
1497
|
* @param {string} project What project it is
|
|
1503
1498
|
* @param {string} [search] Search term to filter based on pickface code
|
|
1504
1499
|
* @param {number} [pageToken] Page reference token
|
|
1505
1500
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1506
|
-
* @param {Array<
|
|
1507
|
-
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1501
|
+
* @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1508
1502
|
* @param {*} [options] Override http request option.
|
|
1509
1503
|
* @throws {RequiredError}
|
|
1510
1504
|
*/
|
|
1511
|
-
async getPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number,
|
|
1512
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPickfaces(project, search, pageToken, pageSize,
|
|
1505
|
+
async getPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<GetPickfacesSortByEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPickfaces200Response>> {
|
|
1506
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPickfaces(project, search, pageToken, pageSize, sortBy, options);
|
|
1513
1507
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1514
1508
|
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.getPickfaces']?.[localVarOperationServerIndex]?.url;
|
|
1515
1509
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1712,14 +1706,14 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
|
|
|
1712
1706
|
return localVarFp.getPickfaceContainerModels(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1713
1707
|
},
|
|
1714
1708
|
/**
|
|
1715
|
-
* Lists all pickfaces
|
|
1709
|
+
* Lists all available pickfaces paginated into chunks
|
|
1716
1710
|
* @summary List pickfaces
|
|
1717
1711
|
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
1718
1712
|
* @param {*} [options] Override http request option.
|
|
1719
1713
|
* @throws {RequiredError}
|
|
1720
1714
|
*/
|
|
1721
1715
|
getPickfaces(requestParameters: PickfacesApiGetPickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPickfaces200Response> {
|
|
1722
|
-
return localVarFp.getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.
|
|
1716
|
+
return localVarFp.getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(axios, basePath));
|
|
1723
1717
|
},
|
|
1724
1718
|
/**
|
|
1725
1719
|
* Issue an empty pickface
|
|
@@ -1939,19 +1933,12 @@ export interface PickfacesApiGetPickfacesRequest {
|
|
|
1939
1933
|
*/
|
|
1940
1934
|
readonly pageSize?: number
|
|
1941
1935
|
|
|
1942
|
-
/**
|
|
1943
|
-
* Filters to apply to the request
|
|
1944
|
-
* @type {Array<'empty' | 'flagged'>}
|
|
1945
|
-
* @memberof PickfacesApiGetPickfaces
|
|
1946
|
-
*/
|
|
1947
|
-
readonly filters?: Array<GetPickfacesFiltersEnum>
|
|
1948
|
-
|
|
1949
1936
|
/**
|
|
1950
1937
|
* An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1951
|
-
* @type {Array<
|
|
1938
|
+
* @type {Array<'+available' | '-available' | '+wip' | '-wip' | '+total' | '-total' | '+fullness' | '-fullness' | '+restocked' | '-restocked' | '+picked' | '-picked'>}
|
|
1952
1939
|
* @memberof PickfacesApiGetPickfaces
|
|
1953
1940
|
*/
|
|
1954
|
-
readonly sortBy?: Array<
|
|
1941
|
+
readonly sortBy?: Array<GetPickfacesSortByEnum>
|
|
1955
1942
|
}
|
|
1956
1943
|
|
|
1957
1944
|
/**
|
|
@@ -2288,7 +2275,7 @@ export class PickfacesApi extends BaseAPI {
|
|
|
2288
2275
|
}
|
|
2289
2276
|
|
|
2290
2277
|
/**
|
|
2291
|
-
* Lists all pickfaces
|
|
2278
|
+
* Lists all available pickfaces paginated into chunks
|
|
2292
2279
|
* @summary List pickfaces
|
|
2293
2280
|
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
2294
2281
|
* @param {*} [options] Override http request option.
|
|
@@ -2296,7 +2283,7 @@ export class PickfacesApi extends BaseAPI {
|
|
|
2296
2283
|
* @memberof PickfacesApi
|
|
2297
2284
|
*/
|
|
2298
2285
|
public getPickfaces(requestParameters: PickfacesApiGetPickfacesRequest, options?: RawAxiosRequestConfig) {
|
|
2299
|
-
return PickfacesApiFp(this.configuration).getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.
|
|
2286
|
+
return PickfacesApiFp(this.configuration).getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));
|
|
2300
2287
|
}
|
|
2301
2288
|
|
|
2302
2289
|
/**
|
|
@@ -2411,10 +2398,20 @@ export class PickfacesApi extends BaseAPI {
|
|
|
2411
2398
|
/**
|
|
2412
2399
|
* @export
|
|
2413
2400
|
*/
|
|
2414
|
-
export const
|
|
2415
|
-
|
|
2416
|
-
|
|
2401
|
+
export const GetPickfacesSortByEnum = {
|
|
2402
|
+
Available: '+available',
|
|
2403
|
+
Available2: '-available',
|
|
2404
|
+
Wip: '+wip',
|
|
2405
|
+
Wip2: '-wip',
|
|
2406
|
+
Total: '+total',
|
|
2407
|
+
Total2: '-total',
|
|
2408
|
+
Fullness: '+fullness',
|
|
2409
|
+
Fullness2: '-fullness',
|
|
2410
|
+
Restocked: '+restocked',
|
|
2411
|
+
Restocked2: '-restocked',
|
|
2412
|
+
Picked: '+picked',
|
|
2413
|
+
Picked2: '-picked'
|
|
2417
2414
|
} as const;
|
|
2418
|
-
export type
|
|
2415
|
+
export type GetPickfacesSortByEnum = typeof GetPickfacesSortByEnum[keyof typeof GetPickfacesSortByEnum];
|
|
2419
2416
|
|
|
2420
2417
|
|
package/base.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
*
|
|
5
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.15.
|
|
7
|
+
* The version of the OpenAPI document: 0.15.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
*
|
|
5
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.15.
|
|
7
|
+
* The version of the OpenAPI document: 0.15.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
*
|
|
5
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.15.
|
|
7
|
+
* The version of the OpenAPI document: 0.15.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
*
|
|
3
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.15.
|
|
5
|
+
* The version of the OpenAPI document: 0.15.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -641,18 +641,17 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
641
641
|
*/
|
|
642
642
|
getPickfaceContainerModels: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
643
643
|
/**
|
|
644
|
-
* Lists all pickfaces
|
|
644
|
+
* Lists all available pickfaces paginated into chunks
|
|
645
645
|
* @summary List pickfaces
|
|
646
646
|
* @param {string} project What project it is
|
|
647
647
|
* @param {string} [search] Search term to filter based on pickface code
|
|
648
648
|
* @param {number} [pageToken] Page reference token
|
|
649
649
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
650
|
-
* @param {Array<
|
|
651
|
-
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
650
|
+
* @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
652
651
|
* @param {*} [options] Override http request option.
|
|
653
652
|
* @throws {RequiredError}
|
|
654
653
|
*/
|
|
655
|
-
getPickfaces: (project: string, search?: string, pageToken?: number, pageSize?: number,
|
|
654
|
+
getPickfaces: (project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<GetPickfacesSortByEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
656
655
|
/**
|
|
657
656
|
* Issue an empty pickface
|
|
658
657
|
* @summary Issue empty pickface
|
|
@@ -795,18 +794,17 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
|
|
|
795
794
|
*/
|
|
796
795
|
getPickfaceContainerModels(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerModels>>;
|
|
797
796
|
/**
|
|
798
|
-
* Lists all pickfaces
|
|
797
|
+
* Lists all available pickfaces paginated into chunks
|
|
799
798
|
* @summary List pickfaces
|
|
800
799
|
* @param {string} project What project it is
|
|
801
800
|
* @param {string} [search] Search term to filter based on pickface code
|
|
802
801
|
* @param {number} [pageToken] Page reference token
|
|
803
802
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
804
|
-
* @param {Array<
|
|
805
|
-
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
803
|
+
* @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
806
804
|
* @param {*} [options] Override http request option.
|
|
807
805
|
* @throws {RequiredError}
|
|
808
806
|
*/
|
|
809
|
-
getPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number,
|
|
807
|
+
getPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<GetPickfacesSortByEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPickfaces200Response>>;
|
|
810
808
|
/**
|
|
811
809
|
* Issue an empty pickface
|
|
812
810
|
* @summary Issue empty pickface
|
|
@@ -946,7 +944,7 @@ export declare const PickfacesApiFactory: (configuration?: Configuration, basePa
|
|
|
946
944
|
*/
|
|
947
945
|
getPickfaceContainerModels(requestParameters: PickfacesApiGetPickfaceContainerModelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ContainerModels>;
|
|
948
946
|
/**
|
|
949
|
-
* Lists all pickfaces
|
|
947
|
+
* Lists all available pickfaces paginated into chunks
|
|
950
948
|
* @summary List pickfaces
|
|
951
949
|
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
952
950
|
* @param {*} [options] Override http request option.
|
|
@@ -1139,18 +1137,12 @@ export interface PickfacesApiGetPickfacesRequest {
|
|
|
1139
1137
|
* @memberof PickfacesApiGetPickfaces
|
|
1140
1138
|
*/
|
|
1141
1139
|
readonly pageSize?: number;
|
|
1142
|
-
/**
|
|
1143
|
-
* Filters to apply to the request
|
|
1144
|
-
* @type {Array<'empty' | 'flagged'>}
|
|
1145
|
-
* @memberof PickfacesApiGetPickfaces
|
|
1146
|
-
*/
|
|
1147
|
-
readonly filters?: Array<GetPickfacesFiltersEnum>;
|
|
1148
1140
|
/**
|
|
1149
1141
|
* An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1150
|
-
* @type {Array<
|
|
1142
|
+
* @type {Array<'+available' | '-available' | '+wip' | '-wip' | '+total' | '-total' | '+fullness' | '-fullness' | '+restocked' | '-restocked' | '+picked' | '-picked'>}
|
|
1151
1143
|
* @memberof PickfacesApiGetPickfaces
|
|
1152
1144
|
*/
|
|
1153
|
-
readonly sortBy?: Array<
|
|
1145
|
+
readonly sortBy?: Array<GetPickfacesSortByEnum>;
|
|
1154
1146
|
}
|
|
1155
1147
|
/**
|
|
1156
1148
|
* Request parameters for issueEmptyPickface operation in PickfacesApi.
|
|
@@ -1442,7 +1434,7 @@ export declare class PickfacesApi extends BaseAPI {
|
|
|
1442
1434
|
*/
|
|
1443
1435
|
getPickfaceContainerModels(requestParameters: PickfacesApiGetPickfaceContainerModelsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerModels, any>>;
|
|
1444
1436
|
/**
|
|
1445
|
-
* Lists all pickfaces
|
|
1437
|
+
* Lists all available pickfaces paginated into chunks
|
|
1446
1438
|
* @summary List pickfaces
|
|
1447
1439
|
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
1448
1440
|
* @param {*} [options] Override http request option.
|
|
@@ -1535,8 +1527,18 @@ export declare class PickfacesApi extends BaseAPI {
|
|
|
1535
1527
|
/**
|
|
1536
1528
|
* @export
|
|
1537
1529
|
*/
|
|
1538
|
-
export declare const
|
|
1539
|
-
readonly
|
|
1540
|
-
readonly
|
|
1530
|
+
export declare const GetPickfacesSortByEnum: {
|
|
1531
|
+
readonly Available: "+available";
|
|
1532
|
+
readonly Available2: "-available";
|
|
1533
|
+
readonly Wip: "+wip";
|
|
1534
|
+
readonly Wip2: "-wip";
|
|
1535
|
+
readonly Total: "+total";
|
|
1536
|
+
readonly Total2: "-total";
|
|
1537
|
+
readonly Fullness: "+fullness";
|
|
1538
|
+
readonly Fullness2: "-fullness";
|
|
1539
|
+
readonly Restocked: "+restocked";
|
|
1540
|
+
readonly Restocked2: "-restocked";
|
|
1541
|
+
readonly Picked: "+picked";
|
|
1542
|
+
readonly Picked2: "-picked";
|
|
1541
1543
|
};
|
|
1542
|
-
export type
|
|
1544
|
+
export type GetPickfacesSortByEnum = typeof GetPickfacesSortByEnum[keyof typeof GetPickfacesSortByEnum];
|
package/dist/api.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
*
|
|
6
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.15.
|
|
8
|
+
* The version of the OpenAPI document: 0.15.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
25
|
+
exports.GetPickfacesSortByEnum = exports.PickfacesApi = exports.PickfacesApiFactory = exports.PickfacesApiFp = exports.PickfacesApiAxiosParamCreator = exports.UpdatePickfaceRequestContentsInnerQuantityOperationEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -233,18 +233,17 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
233
233
|
};
|
|
234
234
|
}),
|
|
235
235
|
/**
|
|
236
|
-
* Lists all pickfaces
|
|
236
|
+
* Lists all available pickfaces paginated into chunks
|
|
237
237
|
* @summary List pickfaces
|
|
238
238
|
* @param {string} project What project it is
|
|
239
239
|
* @param {string} [search] Search term to filter based on pickface code
|
|
240
240
|
* @param {number} [pageToken] Page reference token
|
|
241
241
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
242
|
-
* @param {Array<
|
|
243
|
-
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
242
|
+
* @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
244
243
|
* @param {*} [options] Override http request option.
|
|
245
244
|
* @throws {RequiredError}
|
|
246
245
|
*/
|
|
247
|
-
getPickfaces: (project_1, search_1, pageToken_1, pageSize_1,
|
|
246
|
+
getPickfaces: (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 = {}) {
|
|
248
247
|
// verify required parameter 'project' is not null or undefined
|
|
249
248
|
(0, common_1.assertParamExists)('getPickfaces', 'project', project);
|
|
250
249
|
const localVarPath = `/v1/pickfaces`;
|
|
@@ -274,9 +273,6 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
274
273
|
if (pageSize !== undefined) {
|
|
275
274
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
276
275
|
}
|
|
277
|
-
if (filters) {
|
|
278
|
-
localVarQueryParameter['filters'] = filters;
|
|
279
|
-
}
|
|
280
276
|
if (sortBy) {
|
|
281
277
|
localVarQueryParameter['sortBy'] = sortBy;
|
|
282
278
|
}
|
|
@@ -800,21 +796,20 @@ const PickfacesApiFp = function (configuration) {
|
|
|
800
796
|
});
|
|
801
797
|
},
|
|
802
798
|
/**
|
|
803
|
-
* Lists all pickfaces
|
|
799
|
+
* Lists all available pickfaces paginated into chunks
|
|
804
800
|
* @summary List pickfaces
|
|
805
801
|
* @param {string} project What project it is
|
|
806
802
|
* @param {string} [search] Search term to filter based on pickface code
|
|
807
803
|
* @param {number} [pageToken] Page reference token
|
|
808
804
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
809
|
-
* @param {Array<
|
|
810
|
-
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
805
|
+
* @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
811
806
|
* @param {*} [options] Override http request option.
|
|
812
807
|
* @throws {RequiredError}
|
|
813
808
|
*/
|
|
814
|
-
getPickfaces(project, search, pageToken, pageSize,
|
|
809
|
+
getPickfaces(project, search, pageToken, pageSize, sortBy, options) {
|
|
815
810
|
return __awaiter(this, void 0, void 0, function* () {
|
|
816
811
|
var _a, _b, _c;
|
|
817
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPickfaces(project, search, pageToken, pageSize,
|
|
812
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPickfaces(project, search, pageToken, pageSize, sortBy, options);
|
|
818
813
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
819
814
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PickfacesApi.getPickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
820
815
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1045,14 +1040,14 @@ const PickfacesApiFactory = function (configuration, basePath, axios) {
|
|
|
1045
1040
|
return localVarFp.getPickfaceContainerModels(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1046
1041
|
},
|
|
1047
1042
|
/**
|
|
1048
|
-
* Lists all pickfaces
|
|
1043
|
+
* Lists all available pickfaces paginated into chunks
|
|
1049
1044
|
* @summary List pickfaces
|
|
1050
1045
|
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
1051
1046
|
* @param {*} [options] Override http request option.
|
|
1052
1047
|
* @throws {RequiredError}
|
|
1053
1048
|
*/
|
|
1054
1049
|
getPickfaces(requestParameters, options) {
|
|
1055
|
-
return localVarFp.getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.
|
|
1050
|
+
return localVarFp.getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(axios, basePath));
|
|
1056
1051
|
},
|
|
1057
1052
|
/**
|
|
1058
1053
|
* Issue an empty pickface
|
|
@@ -1210,7 +1205,7 @@ class PickfacesApi extends base_1.BaseAPI {
|
|
|
1210
1205
|
return (0, exports.PickfacesApiFp)(this.configuration).getPickfaceContainerModels(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1211
1206
|
}
|
|
1212
1207
|
/**
|
|
1213
|
-
* Lists all pickfaces
|
|
1208
|
+
* Lists all available pickfaces paginated into chunks
|
|
1214
1209
|
* @summary List pickfaces
|
|
1215
1210
|
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
1216
1211
|
* @param {*} [options] Override http request option.
|
|
@@ -1218,7 +1213,7 @@ class PickfacesApi extends base_1.BaseAPI {
|
|
|
1218
1213
|
* @memberof PickfacesApi
|
|
1219
1214
|
*/
|
|
1220
1215
|
getPickfaces(requestParameters, options) {
|
|
1221
|
-
return (0, exports.PickfacesApiFp)(this.configuration).getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.
|
|
1216
|
+
return (0, exports.PickfacesApiFp)(this.configuration).getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));
|
|
1222
1217
|
}
|
|
1223
1218
|
/**
|
|
1224
1219
|
* Issue an empty pickface
|
|
@@ -1324,7 +1319,17 @@ exports.PickfacesApi = PickfacesApi;
|
|
|
1324
1319
|
/**
|
|
1325
1320
|
* @export
|
|
1326
1321
|
*/
|
|
1327
|
-
exports.
|
|
1328
|
-
|
|
1329
|
-
|
|
1322
|
+
exports.GetPickfacesSortByEnum = {
|
|
1323
|
+
Available: '+available',
|
|
1324
|
+
Available2: '-available',
|
|
1325
|
+
Wip: '+wip',
|
|
1326
|
+
Wip2: '-wip',
|
|
1327
|
+
Total: '+total',
|
|
1328
|
+
Total2: '-total',
|
|
1329
|
+
Fullness: '+fullness',
|
|
1330
|
+
Fullness2: '-fullness',
|
|
1331
|
+
Restocked: '+restocked',
|
|
1332
|
+
Restocked2: '-restocked',
|
|
1333
|
+
Picked: '+picked',
|
|
1334
|
+
Picked2: '-picked'
|
|
1330
1335
|
};
|
package/dist/base.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
*
|
|
3
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.15.
|
|
5
|
+
* The version of the OpenAPI document: 0.15.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
*
|
|
6
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.15.
|
|
8
|
+
* The version of the OpenAPI document: 0.15.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
*
|
|
3
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.15.
|
|
5
|
+
* The version of the OpenAPI document: 0.15.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
*
|
|
6
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.15.
|
|
8
|
+
* The version of the OpenAPI document: 0.15.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
*
|
|
3
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.15.
|
|
5
|
+
* The version of the OpenAPI document: 0.15.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
*
|
|
6
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.15.
|
|
8
|
+
* The version of the OpenAPI document: 0.15.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
*
|
|
3
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.15.
|
|
5
|
+
* The version of the OpenAPI document: 0.15.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -641,18 +641,17 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
641
641
|
*/
|
|
642
642
|
getPickfaceContainerModels: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
643
643
|
/**
|
|
644
|
-
* Lists all pickfaces
|
|
644
|
+
* Lists all available pickfaces paginated into chunks
|
|
645
645
|
* @summary List pickfaces
|
|
646
646
|
* @param {string} project What project it is
|
|
647
647
|
* @param {string} [search] Search term to filter based on pickface code
|
|
648
648
|
* @param {number} [pageToken] Page reference token
|
|
649
649
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
650
|
-
* @param {Array<
|
|
651
|
-
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
650
|
+
* @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
652
651
|
* @param {*} [options] Override http request option.
|
|
653
652
|
* @throws {RequiredError}
|
|
654
653
|
*/
|
|
655
|
-
getPickfaces: (project: string, search?: string, pageToken?: number, pageSize?: number,
|
|
654
|
+
getPickfaces: (project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<GetPickfacesSortByEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
656
655
|
/**
|
|
657
656
|
* Issue an empty pickface
|
|
658
657
|
* @summary Issue empty pickface
|
|
@@ -795,18 +794,17 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
|
|
|
795
794
|
*/
|
|
796
795
|
getPickfaceContainerModels(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerModels>>;
|
|
797
796
|
/**
|
|
798
|
-
* Lists all pickfaces
|
|
797
|
+
* Lists all available pickfaces paginated into chunks
|
|
799
798
|
* @summary List pickfaces
|
|
800
799
|
* @param {string} project What project it is
|
|
801
800
|
* @param {string} [search] Search term to filter based on pickface code
|
|
802
801
|
* @param {number} [pageToken] Page reference token
|
|
803
802
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
804
|
-
* @param {Array<
|
|
805
|
-
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
803
|
+
* @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
806
804
|
* @param {*} [options] Override http request option.
|
|
807
805
|
* @throws {RequiredError}
|
|
808
806
|
*/
|
|
809
|
-
getPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number,
|
|
807
|
+
getPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<GetPickfacesSortByEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPickfaces200Response>>;
|
|
810
808
|
/**
|
|
811
809
|
* Issue an empty pickface
|
|
812
810
|
* @summary Issue empty pickface
|
|
@@ -946,7 +944,7 @@ export declare const PickfacesApiFactory: (configuration?: Configuration, basePa
|
|
|
946
944
|
*/
|
|
947
945
|
getPickfaceContainerModels(requestParameters: PickfacesApiGetPickfaceContainerModelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ContainerModels>;
|
|
948
946
|
/**
|
|
949
|
-
* Lists all pickfaces
|
|
947
|
+
* Lists all available pickfaces paginated into chunks
|
|
950
948
|
* @summary List pickfaces
|
|
951
949
|
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
952
950
|
* @param {*} [options] Override http request option.
|
|
@@ -1139,18 +1137,12 @@ export interface PickfacesApiGetPickfacesRequest {
|
|
|
1139
1137
|
* @memberof PickfacesApiGetPickfaces
|
|
1140
1138
|
*/
|
|
1141
1139
|
readonly pageSize?: number;
|
|
1142
|
-
/**
|
|
1143
|
-
* Filters to apply to the request
|
|
1144
|
-
* @type {Array<'empty' | 'flagged'>}
|
|
1145
|
-
* @memberof PickfacesApiGetPickfaces
|
|
1146
|
-
*/
|
|
1147
|
-
readonly filters?: Array<GetPickfacesFiltersEnum>;
|
|
1148
1140
|
/**
|
|
1149
1141
|
* An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1150
|
-
* @type {Array<
|
|
1142
|
+
* @type {Array<'+available' | '-available' | '+wip' | '-wip' | '+total' | '-total' | '+fullness' | '-fullness' | '+restocked' | '-restocked' | '+picked' | '-picked'>}
|
|
1151
1143
|
* @memberof PickfacesApiGetPickfaces
|
|
1152
1144
|
*/
|
|
1153
|
-
readonly sortBy?: Array<
|
|
1145
|
+
readonly sortBy?: Array<GetPickfacesSortByEnum>;
|
|
1154
1146
|
}
|
|
1155
1147
|
/**
|
|
1156
1148
|
* Request parameters for issueEmptyPickface operation in PickfacesApi.
|
|
@@ -1442,7 +1434,7 @@ export declare class PickfacesApi extends BaseAPI {
|
|
|
1442
1434
|
*/
|
|
1443
1435
|
getPickfaceContainerModels(requestParameters: PickfacesApiGetPickfaceContainerModelsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerModels, any>>;
|
|
1444
1436
|
/**
|
|
1445
|
-
* Lists all pickfaces
|
|
1437
|
+
* Lists all available pickfaces paginated into chunks
|
|
1446
1438
|
* @summary List pickfaces
|
|
1447
1439
|
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
1448
1440
|
* @param {*} [options] Override http request option.
|
|
@@ -1535,8 +1527,18 @@ export declare class PickfacesApi extends BaseAPI {
|
|
|
1535
1527
|
/**
|
|
1536
1528
|
* @export
|
|
1537
1529
|
*/
|
|
1538
|
-
export declare const
|
|
1539
|
-
readonly
|
|
1540
|
-
readonly
|
|
1530
|
+
export declare const GetPickfacesSortByEnum: {
|
|
1531
|
+
readonly Available: "+available";
|
|
1532
|
+
readonly Available2: "-available";
|
|
1533
|
+
readonly Wip: "+wip";
|
|
1534
|
+
readonly Wip2: "-wip";
|
|
1535
|
+
readonly Total: "+total";
|
|
1536
|
+
readonly Total2: "-total";
|
|
1537
|
+
readonly Fullness: "+fullness";
|
|
1538
|
+
readonly Fullness2: "-fullness";
|
|
1539
|
+
readonly Restocked: "+restocked";
|
|
1540
|
+
readonly Restocked2: "-restocked";
|
|
1541
|
+
readonly Picked: "+picked";
|
|
1542
|
+
readonly Picked2: "-picked";
|
|
1541
1543
|
};
|
|
1542
|
-
export type
|
|
1544
|
+
export type GetPickfacesSortByEnum = typeof GetPickfacesSortByEnum[keyof typeof GetPickfacesSortByEnum];
|
package/dist/esm/api.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
*
|
|
5
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.15.
|
|
7
|
+
* The version of the OpenAPI document: 0.15.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -230,18 +230,17 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
230
230
|
};
|
|
231
231
|
}),
|
|
232
232
|
/**
|
|
233
|
-
* Lists all pickfaces
|
|
233
|
+
* Lists all available pickfaces paginated into chunks
|
|
234
234
|
* @summary List pickfaces
|
|
235
235
|
* @param {string} project What project it is
|
|
236
236
|
* @param {string} [search] Search term to filter based on pickface code
|
|
237
237
|
* @param {number} [pageToken] Page reference token
|
|
238
238
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
239
|
-
* @param {Array<
|
|
240
|
-
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
239
|
+
* @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
241
240
|
* @param {*} [options] Override http request option.
|
|
242
241
|
* @throws {RequiredError}
|
|
243
242
|
*/
|
|
244
|
-
getPickfaces: (project_1, search_1, pageToken_1, pageSize_1,
|
|
243
|
+
getPickfaces: (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 = {}) {
|
|
245
244
|
// verify required parameter 'project' is not null or undefined
|
|
246
245
|
assertParamExists('getPickfaces', 'project', project);
|
|
247
246
|
const localVarPath = `/v1/pickfaces`;
|
|
@@ -271,9 +270,6 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
271
270
|
if (pageSize !== undefined) {
|
|
272
271
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
273
272
|
}
|
|
274
|
-
if (filters) {
|
|
275
|
-
localVarQueryParameter['filters'] = filters;
|
|
276
|
-
}
|
|
277
273
|
if (sortBy) {
|
|
278
274
|
localVarQueryParameter['sortBy'] = sortBy;
|
|
279
275
|
}
|
|
@@ -796,21 +792,20 @@ export const PickfacesApiFp = function (configuration) {
|
|
|
796
792
|
});
|
|
797
793
|
},
|
|
798
794
|
/**
|
|
799
|
-
* Lists all pickfaces
|
|
795
|
+
* Lists all available pickfaces paginated into chunks
|
|
800
796
|
* @summary List pickfaces
|
|
801
797
|
* @param {string} project What project it is
|
|
802
798
|
* @param {string} [search] Search term to filter based on pickface code
|
|
803
799
|
* @param {number} [pageToken] Page reference token
|
|
804
800
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
805
|
-
* @param {Array<
|
|
806
|
-
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
801
|
+
* @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
807
802
|
* @param {*} [options] Override http request option.
|
|
808
803
|
* @throws {RequiredError}
|
|
809
804
|
*/
|
|
810
|
-
getPickfaces(project, search, pageToken, pageSize,
|
|
805
|
+
getPickfaces(project, search, pageToken, pageSize, sortBy, options) {
|
|
811
806
|
return __awaiter(this, void 0, void 0, function* () {
|
|
812
807
|
var _a, _b, _c;
|
|
813
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPickfaces(project, search, pageToken, pageSize,
|
|
808
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPickfaces(project, search, pageToken, pageSize, sortBy, options);
|
|
814
809
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
815
810
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.getPickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
816
811
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1040,14 +1035,14 @@ export const PickfacesApiFactory = function (configuration, basePath, axios) {
|
|
|
1040
1035
|
return localVarFp.getPickfaceContainerModels(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1041
1036
|
},
|
|
1042
1037
|
/**
|
|
1043
|
-
* Lists all pickfaces
|
|
1038
|
+
* Lists all available pickfaces paginated into chunks
|
|
1044
1039
|
* @summary List pickfaces
|
|
1045
1040
|
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
1046
1041
|
* @param {*} [options] Override http request option.
|
|
1047
1042
|
* @throws {RequiredError}
|
|
1048
1043
|
*/
|
|
1049
1044
|
getPickfaces(requestParameters, options) {
|
|
1050
|
-
return localVarFp.getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.
|
|
1045
|
+
return localVarFp.getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(axios, basePath));
|
|
1051
1046
|
},
|
|
1052
1047
|
/**
|
|
1053
1048
|
* Issue an empty pickface
|
|
@@ -1204,7 +1199,7 @@ export class PickfacesApi extends BaseAPI {
|
|
|
1204
1199
|
return PickfacesApiFp(this.configuration).getPickfaceContainerModels(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1205
1200
|
}
|
|
1206
1201
|
/**
|
|
1207
|
-
* Lists all pickfaces
|
|
1202
|
+
* Lists all available pickfaces paginated into chunks
|
|
1208
1203
|
* @summary List pickfaces
|
|
1209
1204
|
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
1210
1205
|
* @param {*} [options] Override http request option.
|
|
@@ -1212,7 +1207,7 @@ export class PickfacesApi extends BaseAPI {
|
|
|
1212
1207
|
* @memberof PickfacesApi
|
|
1213
1208
|
*/
|
|
1214
1209
|
getPickfaces(requestParameters, options) {
|
|
1215
|
-
return PickfacesApiFp(this.configuration).getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.
|
|
1210
|
+
return PickfacesApiFp(this.configuration).getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));
|
|
1216
1211
|
}
|
|
1217
1212
|
/**
|
|
1218
1213
|
* Issue an empty pickface
|
|
@@ -1317,7 +1312,17 @@ export class PickfacesApi extends BaseAPI {
|
|
|
1317
1312
|
/**
|
|
1318
1313
|
* @export
|
|
1319
1314
|
*/
|
|
1320
|
-
export const
|
|
1321
|
-
|
|
1322
|
-
|
|
1315
|
+
export const GetPickfacesSortByEnum = {
|
|
1316
|
+
Available: '+available',
|
|
1317
|
+
Available2: '-available',
|
|
1318
|
+
Wip: '+wip',
|
|
1319
|
+
Wip2: '-wip',
|
|
1320
|
+
Total: '+total',
|
|
1321
|
+
Total2: '-total',
|
|
1322
|
+
Fullness: '+fullness',
|
|
1323
|
+
Fullness2: '-fullness',
|
|
1324
|
+
Restocked: '+restocked',
|
|
1325
|
+
Restocked2: '-restocked',
|
|
1326
|
+
Picked: '+picked',
|
|
1327
|
+
Picked2: '-picked'
|
|
1323
1328
|
};
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
*
|
|
3
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.15.
|
|
5
|
+
* The version of the OpenAPI document: 0.15.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
*
|
|
5
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.15.
|
|
7
|
+
* The version of the OpenAPI document: 0.15.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
*
|
|
3
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.15.
|
|
5
|
+
* The version of the OpenAPI document: 0.15.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
*
|
|
5
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.15.
|
|
7
|
+
* The version of the OpenAPI document: 0.15.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
*
|
|
3
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.15.
|
|
5
|
+
* The version of the OpenAPI document: 0.15.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
*
|
|
5
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.15.
|
|
7
|
+
* The version of the OpenAPI document: 0.15.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
*
|
|
3
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.15.
|
|
5
|
+
* The version of the OpenAPI document: 0.15.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
*
|
|
5
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.15.
|
|
7
|
+
* The version of the OpenAPI document: 0.15.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
*
|
|
3
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.15.
|
|
5
|
+
* The version of the OpenAPI document: 0.15.1
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
*
|
|
6
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.15.
|
|
8
|
+
* The version of the OpenAPI document: 0.15.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/index.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
*
|
|
5
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.15.
|
|
7
|
+
* The version of the OpenAPI document: 0.15.1
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|