@teemill/pickfaces 0.14.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 +152 -32
- package/base.ts +2 -2
- package/common.ts +2 -2
- package/configuration.ts +2 -2
- package/dist/api.d.ts +88 -24
- package/dist/api.js +114 -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 +88 -24
- package/dist/esm/api.js +113 -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.
|
|
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.
|
|
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.
|
|
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
|
}
|
|
@@ -1181,6 +1176,64 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1181
1176
|
|
|
1182
1177
|
|
|
1183
1178
|
|
|
1179
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1180
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1181
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1182
|
+
|
|
1183
|
+
return {
|
|
1184
|
+
url: toPathString(localVarUrlObj),
|
|
1185
|
+
options: localVarRequestOptions,
|
|
1186
|
+
};
|
|
1187
|
+
},
|
|
1188
|
+
/**
|
|
1189
|
+
* Print pickface labels
|
|
1190
|
+
* @summary Print pickface Labels
|
|
1191
|
+
* @param {string} project What project it is
|
|
1192
|
+
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
1193
|
+
* @param {Array<string>} ids List of pickface ids
|
|
1194
|
+
* @param {*} [options] Override http request option.
|
|
1195
|
+
* @throws {RequiredError}
|
|
1196
|
+
*/
|
|
1197
|
+
printPickfaceLabels: async (project: string, deviceRef: string, ids: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1198
|
+
// verify required parameter 'project' is not null or undefined
|
|
1199
|
+
assertParamExists('printPickfaceLabels', 'project', project)
|
|
1200
|
+
// verify required parameter 'deviceRef' is not null or undefined
|
|
1201
|
+
assertParamExists('printPickfaceLabels', 'deviceRef', deviceRef)
|
|
1202
|
+
// verify required parameter 'ids' is not null or undefined
|
|
1203
|
+
assertParamExists('printPickfaceLabels', 'ids', ids)
|
|
1204
|
+
const localVarPath = `/v1/pickfaces/print`;
|
|
1205
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1206
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1207
|
+
let baseOptions;
|
|
1208
|
+
if (configuration) {
|
|
1209
|
+
baseOptions = configuration.baseOptions;
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1213
|
+
const localVarHeaderParameter = {} as any;
|
|
1214
|
+
const localVarQueryParameter = {} as any;
|
|
1215
|
+
|
|
1216
|
+
// authentication session-oauth required
|
|
1217
|
+
// oauth required
|
|
1218
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1219
|
+
|
|
1220
|
+
// authentication api-key required
|
|
1221
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1222
|
+
|
|
1223
|
+
if (project !== undefined) {
|
|
1224
|
+
localVarQueryParameter['project'] = project;
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
if (deviceRef !== undefined) {
|
|
1228
|
+
localVarQueryParameter['deviceRef'] = deviceRef;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
if (ids) {
|
|
1232
|
+
localVarQueryParameter['ids'] = ids;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
|
|
1236
|
+
|
|
1184
1237
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1185
1238
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1186
1239
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1439,19 +1492,18 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
|
|
|
1439
1492
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1440
1493
|
},
|
|
1441
1494
|
/**
|
|
1442
|
-
* Lists all pickfaces
|
|
1495
|
+
* Lists all available pickfaces paginated into chunks
|
|
1443
1496
|
* @summary List pickfaces
|
|
1444
1497
|
* @param {string} project What project it is
|
|
1445
1498
|
* @param {string} [search] Search term to filter based on pickface code
|
|
1446
1499
|
* @param {number} [pageToken] Page reference token
|
|
1447
1500
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1448
|
-
* @param {Array<
|
|
1449
|
-
* @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.
|
|
1450
1502
|
* @param {*} [options] Override http request option.
|
|
1451
1503
|
* @throws {RequiredError}
|
|
1452
1504
|
*/
|
|
1453
|
-
async getPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number,
|
|
1454
|
-
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);
|
|
1455
1507
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1456
1508
|
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.getPickfaces']?.[localVarOperationServerIndex]?.url;
|
|
1457
1509
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1532,6 +1584,21 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
|
|
|
1532
1584
|
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.printPickfaceLabel']?.[localVarOperationServerIndex]?.url;
|
|
1533
1585
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1534
1586
|
},
|
|
1587
|
+
/**
|
|
1588
|
+
* Print pickface labels
|
|
1589
|
+
* @summary Print pickface Labels
|
|
1590
|
+
* @param {string} project What project it is
|
|
1591
|
+
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
1592
|
+
* @param {Array<string>} ids List of pickface ids
|
|
1593
|
+
* @param {*} [options] Override http request option.
|
|
1594
|
+
* @throws {RequiredError}
|
|
1595
|
+
*/
|
|
1596
|
+
async printPickfaceLabels(project: string, deviceRef: string, ids: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1597
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.printPickfaceLabels(project, deviceRef, ids, options);
|
|
1598
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1599
|
+
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.printPickfaceLabels']?.[localVarOperationServerIndex]?.url;
|
|
1600
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1601
|
+
},
|
|
1535
1602
|
/**
|
|
1536
1603
|
* Resolves an issue on a pickface
|
|
1537
1604
|
* @summary Resolve pickface issue
|
|
@@ -1639,14 +1706,14 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
|
|
|
1639
1706
|
return localVarFp.getPickfaceContainerModels(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1640
1707
|
},
|
|
1641
1708
|
/**
|
|
1642
|
-
* Lists all pickfaces
|
|
1709
|
+
* Lists all available pickfaces paginated into chunks
|
|
1643
1710
|
* @summary List pickfaces
|
|
1644
1711
|
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
1645
1712
|
* @param {*} [options] Override http request option.
|
|
1646
1713
|
* @throws {RequiredError}
|
|
1647
1714
|
*/
|
|
1648
1715
|
getPickfaces(requestParameters: PickfacesApiGetPickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPickfaces200Response> {
|
|
1649
|
-
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));
|
|
1650
1717
|
},
|
|
1651
1718
|
/**
|
|
1652
1719
|
* Issue an empty pickface
|
|
@@ -1698,6 +1765,16 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
|
|
|
1698
1765
|
printPickfaceLabel(requestParameters: PickfacesApiPrintPickfaceLabelRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1699
1766
|
return localVarFp.printPickfaceLabel(requestParameters.project, requestParameters.pickfaceId, requestParameters.deviceRef, options).then((request) => request(axios, basePath));
|
|
1700
1767
|
},
|
|
1768
|
+
/**
|
|
1769
|
+
* Print pickface labels
|
|
1770
|
+
* @summary Print pickface Labels
|
|
1771
|
+
* @param {PickfacesApiPrintPickfaceLabelsRequest} requestParameters Request parameters.
|
|
1772
|
+
* @param {*} [options] Override http request option.
|
|
1773
|
+
* @throws {RequiredError}
|
|
1774
|
+
*/
|
|
1775
|
+
printPickfaceLabels(requestParameters: PickfacesApiPrintPickfaceLabelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1776
|
+
return localVarFp.printPickfaceLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.ids, options).then((request) => request(axios, basePath));
|
|
1777
|
+
},
|
|
1701
1778
|
/**
|
|
1702
1779
|
* Resolves an issue on a pickface
|
|
1703
1780
|
* @summary Resolve pickface issue
|
|
@@ -1856,19 +1933,12 @@ export interface PickfacesApiGetPickfacesRequest {
|
|
|
1856
1933
|
*/
|
|
1857
1934
|
readonly pageSize?: number
|
|
1858
1935
|
|
|
1859
|
-
/**
|
|
1860
|
-
* Filters to apply to the request
|
|
1861
|
-
* @type {Array<'empty' | 'flagged'>}
|
|
1862
|
-
* @memberof PickfacesApiGetPickfaces
|
|
1863
|
-
*/
|
|
1864
|
-
readonly filters?: Array<GetPickfacesFiltersEnum>
|
|
1865
|
-
|
|
1866
1936
|
/**
|
|
1867
1937
|
* An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1868
|
-
* @type {Array<
|
|
1938
|
+
* @type {Array<'+available' | '-available' | '+wip' | '-wip' | '+total' | '-total' | '+fullness' | '-fullness' | '+restocked' | '-restocked' | '+picked' | '-picked'>}
|
|
1869
1939
|
* @memberof PickfacesApiGetPickfaces
|
|
1870
1940
|
*/
|
|
1871
|
-
readonly sortBy?: Array<
|
|
1941
|
+
readonly sortBy?: Array<GetPickfacesSortByEnum>
|
|
1872
1942
|
}
|
|
1873
1943
|
|
|
1874
1944
|
/**
|
|
@@ -2018,6 +2088,34 @@ export interface PickfacesApiPrintPickfaceLabelRequest {
|
|
|
2018
2088
|
readonly deviceRef: string
|
|
2019
2089
|
}
|
|
2020
2090
|
|
|
2091
|
+
/**
|
|
2092
|
+
* Request parameters for printPickfaceLabels operation in PickfacesApi.
|
|
2093
|
+
* @export
|
|
2094
|
+
* @interface PickfacesApiPrintPickfaceLabelsRequest
|
|
2095
|
+
*/
|
|
2096
|
+
export interface PickfacesApiPrintPickfaceLabelsRequest {
|
|
2097
|
+
/**
|
|
2098
|
+
* What project it is
|
|
2099
|
+
* @type {string}
|
|
2100
|
+
* @memberof PickfacesApiPrintPickfaceLabels
|
|
2101
|
+
*/
|
|
2102
|
+
readonly project: string
|
|
2103
|
+
|
|
2104
|
+
/**
|
|
2105
|
+
* Unique identifier of a warehouse device
|
|
2106
|
+
* @type {string}
|
|
2107
|
+
* @memberof PickfacesApiPrintPickfaceLabels
|
|
2108
|
+
*/
|
|
2109
|
+
readonly deviceRef: string
|
|
2110
|
+
|
|
2111
|
+
/**
|
|
2112
|
+
* List of pickface ids
|
|
2113
|
+
* @type {Array<string>}
|
|
2114
|
+
* @memberof PickfacesApiPrintPickfaceLabels
|
|
2115
|
+
*/
|
|
2116
|
+
readonly ids: Array<string>
|
|
2117
|
+
}
|
|
2118
|
+
|
|
2021
2119
|
/**
|
|
2022
2120
|
* Request parameters for resolvePickfaceIssue operation in PickfacesApi.
|
|
2023
2121
|
* @export
|
|
@@ -2177,7 +2275,7 @@ export class PickfacesApi extends BaseAPI {
|
|
|
2177
2275
|
}
|
|
2178
2276
|
|
|
2179
2277
|
/**
|
|
2180
|
-
* Lists all pickfaces
|
|
2278
|
+
* Lists all available pickfaces paginated into chunks
|
|
2181
2279
|
* @summary List pickfaces
|
|
2182
2280
|
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
2183
2281
|
* @param {*} [options] Override http request option.
|
|
@@ -2185,7 +2283,7 @@ export class PickfacesApi extends BaseAPI {
|
|
|
2185
2283
|
* @memberof PickfacesApi
|
|
2186
2284
|
*/
|
|
2187
2285
|
public getPickfaces(requestParameters: PickfacesApiGetPickfacesRequest, options?: RawAxiosRequestConfig) {
|
|
2188
|
-
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));
|
|
2189
2287
|
}
|
|
2190
2288
|
|
|
2191
2289
|
/**
|
|
@@ -2248,6 +2346,18 @@ export class PickfacesApi extends BaseAPI {
|
|
|
2248
2346
|
return PickfacesApiFp(this.configuration).printPickfaceLabel(requestParameters.project, requestParameters.pickfaceId, requestParameters.deviceRef, options).then((request) => request(this.axios, this.basePath));
|
|
2249
2347
|
}
|
|
2250
2348
|
|
|
2349
|
+
/**
|
|
2350
|
+
* Print pickface labels
|
|
2351
|
+
* @summary Print pickface Labels
|
|
2352
|
+
* @param {PickfacesApiPrintPickfaceLabelsRequest} requestParameters Request parameters.
|
|
2353
|
+
* @param {*} [options] Override http request option.
|
|
2354
|
+
* @throws {RequiredError}
|
|
2355
|
+
* @memberof PickfacesApi
|
|
2356
|
+
*/
|
|
2357
|
+
public printPickfaceLabels(requestParameters: PickfacesApiPrintPickfaceLabelsRequest, options?: RawAxiosRequestConfig) {
|
|
2358
|
+
return PickfacesApiFp(this.configuration).printPickfaceLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.ids, options).then((request) => request(this.axios, this.basePath));
|
|
2359
|
+
}
|
|
2360
|
+
|
|
2251
2361
|
/**
|
|
2252
2362
|
* Resolves an issue on a pickface
|
|
2253
2363
|
* @summary Resolve pickface issue
|
|
@@ -2288,10 +2398,20 @@ export class PickfacesApi extends BaseAPI {
|
|
|
2288
2398
|
/**
|
|
2289
2399
|
* @export
|
|
2290
2400
|
*/
|
|
2291
|
-
export const
|
|
2292
|
-
|
|
2293
|
-
|
|
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'
|
|
2294
2414
|
} as const;
|
|
2295
|
-
export type
|
|
2415
|
+
export type GetPickfacesSortByEnum = typeof GetPickfacesSortByEnum[keyof typeof GetPickfacesSortByEnum];
|
|
2296
2416
|
|
|
2297
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
@@ -704,6 +703,16 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
704
703
|
* @throws {RequiredError}
|
|
705
704
|
*/
|
|
706
705
|
printPickfaceLabel: (project: string, pickfaceId: string, deviceRef: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
706
|
+
/**
|
|
707
|
+
* Print pickface labels
|
|
708
|
+
* @summary Print pickface Labels
|
|
709
|
+
* @param {string} project What project it is
|
|
710
|
+
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
711
|
+
* @param {Array<string>} ids List of pickface ids
|
|
712
|
+
* @param {*} [options] Override http request option.
|
|
713
|
+
* @throws {RequiredError}
|
|
714
|
+
*/
|
|
715
|
+
printPickfaceLabels: (project: string, deviceRef: string, ids: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
707
716
|
/**
|
|
708
717
|
* Resolves an issue on a pickface
|
|
709
718
|
* @summary Resolve pickface issue
|
|
@@ -785,18 +794,17 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
|
|
|
785
794
|
*/
|
|
786
795
|
getPickfaceContainerModels(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerModels>>;
|
|
787
796
|
/**
|
|
788
|
-
* Lists all pickfaces
|
|
797
|
+
* Lists all available pickfaces paginated into chunks
|
|
789
798
|
* @summary List pickfaces
|
|
790
799
|
* @param {string} project What project it is
|
|
791
800
|
* @param {string} [search] Search term to filter based on pickface code
|
|
792
801
|
* @param {number} [pageToken] Page reference token
|
|
793
802
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
794
|
-
* @param {Array<
|
|
795
|
-
* @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.
|
|
796
804
|
* @param {*} [options] Override http request option.
|
|
797
805
|
* @throws {RequiredError}
|
|
798
806
|
*/
|
|
799
|
-
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>>;
|
|
800
808
|
/**
|
|
801
809
|
* Issue an empty pickface
|
|
802
810
|
* @summary Issue empty pickface
|
|
@@ -848,6 +856,16 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
|
|
|
848
856
|
* @throws {RequiredError}
|
|
849
857
|
*/
|
|
850
858
|
printPickfaceLabel(project: string, pickfaceId: string, deviceRef: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
859
|
+
/**
|
|
860
|
+
* Print pickface labels
|
|
861
|
+
* @summary Print pickface Labels
|
|
862
|
+
* @param {string} project What project it is
|
|
863
|
+
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
864
|
+
* @param {Array<string>} ids List of pickface ids
|
|
865
|
+
* @param {*} [options] Override http request option.
|
|
866
|
+
* @throws {RequiredError}
|
|
867
|
+
*/
|
|
868
|
+
printPickfaceLabels(project: string, deviceRef: string, ids: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
851
869
|
/**
|
|
852
870
|
* Resolves an issue on a pickface
|
|
853
871
|
* @summary Resolve pickface issue
|
|
@@ -926,7 +944,7 @@ export declare const PickfacesApiFactory: (configuration?: Configuration, basePa
|
|
|
926
944
|
*/
|
|
927
945
|
getPickfaceContainerModels(requestParameters: PickfacesApiGetPickfaceContainerModelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ContainerModels>;
|
|
928
946
|
/**
|
|
929
|
-
* Lists all pickfaces
|
|
947
|
+
* Lists all available pickfaces paginated into chunks
|
|
930
948
|
* @summary List pickfaces
|
|
931
949
|
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
932
950
|
* @param {*} [options] Override http request option.
|
|
@@ -973,6 +991,14 @@ export declare const PickfacesApiFactory: (configuration?: Configuration, basePa
|
|
|
973
991
|
* @throws {RequiredError}
|
|
974
992
|
*/
|
|
975
993
|
printPickfaceLabel(requestParameters: PickfacesApiPrintPickfaceLabelRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
994
|
+
/**
|
|
995
|
+
* Print pickface labels
|
|
996
|
+
* @summary Print pickface Labels
|
|
997
|
+
* @param {PickfacesApiPrintPickfaceLabelsRequest} requestParameters Request parameters.
|
|
998
|
+
* @param {*} [options] Override http request option.
|
|
999
|
+
* @throws {RequiredError}
|
|
1000
|
+
*/
|
|
1001
|
+
printPickfaceLabels(requestParameters: PickfacesApiPrintPickfaceLabelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
976
1002
|
/**
|
|
977
1003
|
* Resolves an issue on a pickface
|
|
978
1004
|
* @summary Resolve pickface issue
|
|
@@ -1111,18 +1137,12 @@ export interface PickfacesApiGetPickfacesRequest {
|
|
|
1111
1137
|
* @memberof PickfacesApiGetPickfaces
|
|
1112
1138
|
*/
|
|
1113
1139
|
readonly pageSize?: number;
|
|
1114
|
-
/**
|
|
1115
|
-
* Filters to apply to the request
|
|
1116
|
-
* @type {Array<'empty' | 'flagged'>}
|
|
1117
|
-
* @memberof PickfacesApiGetPickfaces
|
|
1118
|
-
*/
|
|
1119
|
-
readonly filters?: Array<GetPickfacesFiltersEnum>;
|
|
1120
1140
|
/**
|
|
1121
1141
|
* An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1122
|
-
* @type {Array<
|
|
1142
|
+
* @type {Array<'+available' | '-available' | '+wip' | '-wip' | '+total' | '-total' | '+fullness' | '-fullness' | '+restocked' | '-restocked' | '+picked' | '-picked'>}
|
|
1123
1143
|
* @memberof PickfacesApiGetPickfaces
|
|
1124
1144
|
*/
|
|
1125
|
-
readonly sortBy?: Array<
|
|
1145
|
+
readonly sortBy?: Array<GetPickfacesSortByEnum>;
|
|
1126
1146
|
}
|
|
1127
1147
|
/**
|
|
1128
1148
|
* Request parameters for issueEmptyPickface operation in PickfacesApi.
|
|
@@ -1255,6 +1275,31 @@ export interface PickfacesApiPrintPickfaceLabelRequest {
|
|
|
1255
1275
|
*/
|
|
1256
1276
|
readonly deviceRef: string;
|
|
1257
1277
|
}
|
|
1278
|
+
/**
|
|
1279
|
+
* Request parameters for printPickfaceLabels operation in PickfacesApi.
|
|
1280
|
+
* @export
|
|
1281
|
+
* @interface PickfacesApiPrintPickfaceLabelsRequest
|
|
1282
|
+
*/
|
|
1283
|
+
export interface PickfacesApiPrintPickfaceLabelsRequest {
|
|
1284
|
+
/**
|
|
1285
|
+
* What project it is
|
|
1286
|
+
* @type {string}
|
|
1287
|
+
* @memberof PickfacesApiPrintPickfaceLabels
|
|
1288
|
+
*/
|
|
1289
|
+
readonly project: string;
|
|
1290
|
+
/**
|
|
1291
|
+
* Unique identifier of a warehouse device
|
|
1292
|
+
* @type {string}
|
|
1293
|
+
* @memberof PickfacesApiPrintPickfaceLabels
|
|
1294
|
+
*/
|
|
1295
|
+
readonly deviceRef: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* List of pickface ids
|
|
1298
|
+
* @type {Array<string>}
|
|
1299
|
+
* @memberof PickfacesApiPrintPickfaceLabels
|
|
1300
|
+
*/
|
|
1301
|
+
readonly ids: Array<string>;
|
|
1302
|
+
}
|
|
1258
1303
|
/**
|
|
1259
1304
|
* Request parameters for resolvePickfaceIssue operation in PickfacesApi.
|
|
1260
1305
|
* @export
|
|
@@ -1389,7 +1434,7 @@ export declare class PickfacesApi extends BaseAPI {
|
|
|
1389
1434
|
*/
|
|
1390
1435
|
getPickfaceContainerModels(requestParameters: PickfacesApiGetPickfaceContainerModelsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerModels, any>>;
|
|
1391
1436
|
/**
|
|
1392
|
-
* Lists all pickfaces
|
|
1437
|
+
* Lists all available pickfaces paginated into chunks
|
|
1393
1438
|
* @summary List pickfaces
|
|
1394
1439
|
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
1395
1440
|
* @param {*} [options] Override http request option.
|
|
@@ -1442,6 +1487,15 @@ export declare class PickfacesApi extends BaseAPI {
|
|
|
1442
1487
|
* @memberof PickfacesApi
|
|
1443
1488
|
*/
|
|
1444
1489
|
printPickfaceLabel(requestParameters: PickfacesApiPrintPickfaceLabelRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1490
|
+
/**
|
|
1491
|
+
* Print pickface labels
|
|
1492
|
+
* @summary Print pickface Labels
|
|
1493
|
+
* @param {PickfacesApiPrintPickfaceLabelsRequest} requestParameters Request parameters.
|
|
1494
|
+
* @param {*} [options] Override http request option.
|
|
1495
|
+
* @throws {RequiredError}
|
|
1496
|
+
* @memberof PickfacesApi
|
|
1497
|
+
*/
|
|
1498
|
+
printPickfaceLabels(requestParameters: PickfacesApiPrintPickfaceLabelsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1445
1499
|
/**
|
|
1446
1500
|
* Resolves an issue on a pickface
|
|
1447
1501
|
* @summary Resolve pickface issue
|
|
@@ -1473,8 +1527,18 @@ export declare class PickfacesApi extends BaseAPI {
|
|
|
1473
1527
|
/**
|
|
1474
1528
|
* @export
|
|
1475
1529
|
*/
|
|
1476
|
-
export declare const
|
|
1477
|
-
readonly
|
|
1478
|
-
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";
|
|
1479
1543
|
};
|
|
1480
|
-
export type
|
|
1544
|
+
export type GetPickfacesSortByEnum = typeof GetPickfacesSortByEnum[keyof typeof GetPickfacesSortByEnum];
|