@teemill/warehouse-prefab-applications 0.4.0 → 0.6.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 +249 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +144 -1
- package/dist/api.js +161 -1
- 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 +144 -1
- package/dist/esm/api.js +161 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/warehouse-prefab-applications@0.
|
|
1
|
+
## @teemill/warehouse-prefab-applications@0.6.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/warehouse-prefab-applications@0.
|
|
39
|
+
npm install @teemill/warehouse-prefab-applications@0.6.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Warehouse Prefab Applications API
|
|
5
5
|
* Manage Teemill Warehouse Prefab Applications Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. 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.6.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -120,6 +120,25 @@ export interface CreateBatchRequest {
|
|
|
120
120
|
*/
|
|
121
121
|
'applicationRefs': Array<string>;
|
|
122
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @export
|
|
126
|
+
* @interface CreateTrayRequest
|
|
127
|
+
*/
|
|
128
|
+
export interface CreateTrayRequest {
|
|
129
|
+
/**
|
|
130
|
+
* Row number of the tray
|
|
131
|
+
* @type {number}
|
|
132
|
+
* @memberof CreateTrayRequest
|
|
133
|
+
*/
|
|
134
|
+
'row': number;
|
|
135
|
+
/**
|
|
136
|
+
* Column of the tray
|
|
137
|
+
* @type {string}
|
|
138
|
+
* @memberof CreateTrayRequest
|
|
139
|
+
*/
|
|
140
|
+
'column': string;
|
|
141
|
+
}
|
|
123
142
|
/**
|
|
124
143
|
*
|
|
125
144
|
* @export
|
|
@@ -440,6 +459,12 @@ export interface ValidationError {
|
|
|
440
459
|
* @memberof ValidationError
|
|
441
460
|
*/
|
|
442
461
|
'message': string;
|
|
462
|
+
/**
|
|
463
|
+
*
|
|
464
|
+
* @type {{ [key: string]: Array<string>; }}
|
|
465
|
+
* @memberof ValidationError
|
|
466
|
+
*/
|
|
467
|
+
'errors'?: { [key: string]: Array<string>; };
|
|
443
468
|
}
|
|
444
469
|
|
|
445
470
|
/**
|
|
@@ -1345,6 +1370,49 @@ export class PrefabApplicationsApi extends BaseAPI {
|
|
|
1345
1370
|
*/
|
|
1346
1371
|
export const TraysApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1347
1372
|
return {
|
|
1373
|
+
/**
|
|
1374
|
+
* Create a tray
|
|
1375
|
+
* @summary Create tray
|
|
1376
|
+
* @param {CreateTrayRequest} createTrayRequest Create a tray
|
|
1377
|
+
* @param {*} [options] Override http request option.
|
|
1378
|
+
* @throws {RequiredError}
|
|
1379
|
+
*/
|
|
1380
|
+
createTray: async (createTrayRequest: CreateTrayRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1381
|
+
// verify required parameter 'createTrayRequest' is not null or undefined
|
|
1382
|
+
assertParamExists('createTray', 'createTrayRequest', createTrayRequest)
|
|
1383
|
+
const localVarPath = `/v1/warehouse/prefab-applications/trays`;
|
|
1384
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1385
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1386
|
+
let baseOptions;
|
|
1387
|
+
if (configuration) {
|
|
1388
|
+
baseOptions = configuration.baseOptions;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1392
|
+
const localVarHeaderParameter = {} as any;
|
|
1393
|
+
const localVarQueryParameter = {} as any;
|
|
1394
|
+
|
|
1395
|
+
// authentication session-oauth required
|
|
1396
|
+
// oauth required
|
|
1397
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1398
|
+
|
|
1399
|
+
// authentication api-key required
|
|
1400
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1401
|
+
|
|
1402
|
+
|
|
1403
|
+
|
|
1404
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1405
|
+
|
|
1406
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1407
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1408
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1409
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createTrayRequest, localVarRequestOptions, configuration)
|
|
1410
|
+
|
|
1411
|
+
return {
|
|
1412
|
+
url: toPathString(localVarUrlObj),
|
|
1413
|
+
options: localVarRequestOptions,
|
|
1414
|
+
};
|
|
1415
|
+
},
|
|
1348
1416
|
/**
|
|
1349
1417
|
* Get a tray of applications
|
|
1350
1418
|
* @summary Get tray
|
|
@@ -1384,6 +1452,64 @@ export const TraysApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
1384
1452
|
|
|
1385
1453
|
|
|
1386
1454
|
|
|
1455
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1456
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1457
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1458
|
+
|
|
1459
|
+
return {
|
|
1460
|
+
url: toPathString(localVarUrlObj),
|
|
1461
|
+
options: localVarRequestOptions,
|
|
1462
|
+
};
|
|
1463
|
+
},
|
|
1464
|
+
/**
|
|
1465
|
+
* Lists all prefab applications in a tray paginated into chunks
|
|
1466
|
+
* @summary List tray applications
|
|
1467
|
+
* @param {string} project What project it is
|
|
1468
|
+
* @param {string} trayId Tray ID
|
|
1469
|
+
* @param {number} [pageToken] Page reference token
|
|
1470
|
+
* @param {number} [pageSize] The number of results requested per request
|
|
1471
|
+
* @param {*} [options] Override http request option.
|
|
1472
|
+
* @throws {RequiredError}
|
|
1473
|
+
*/
|
|
1474
|
+
listTrayPrefabApplications: async (project: string, trayId: string, pageToken?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1475
|
+
// verify required parameter 'project' is not null or undefined
|
|
1476
|
+
assertParamExists('listTrayPrefabApplications', 'project', project)
|
|
1477
|
+
// verify required parameter 'trayId' is not null or undefined
|
|
1478
|
+
assertParamExists('listTrayPrefabApplications', 'trayId', trayId)
|
|
1479
|
+
const localVarPath = `/v1/warehouse/prefab-applications/trays/{trayId}/prefab-applications`
|
|
1480
|
+
.replace(`{${"trayId"}}`, encodeURIComponent(String(trayId)));
|
|
1481
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1482
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1483
|
+
let baseOptions;
|
|
1484
|
+
if (configuration) {
|
|
1485
|
+
baseOptions = configuration.baseOptions;
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1489
|
+
const localVarHeaderParameter = {} as any;
|
|
1490
|
+
const localVarQueryParameter = {} as any;
|
|
1491
|
+
|
|
1492
|
+
// authentication session-oauth required
|
|
1493
|
+
// oauth required
|
|
1494
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1495
|
+
|
|
1496
|
+
// authentication api-key required
|
|
1497
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1498
|
+
|
|
1499
|
+
if (project !== undefined) {
|
|
1500
|
+
localVarQueryParameter['project'] = project;
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
if (pageToken !== undefined) {
|
|
1504
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
if (pageSize !== undefined) {
|
|
1508
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
|
|
1512
|
+
|
|
1387
1513
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1388
1514
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1389
1515
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1696,6 +1822,19 @@ export const TraysApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
1696
1822
|
export const TraysApiFp = function(configuration?: Configuration) {
|
|
1697
1823
|
const localVarAxiosParamCreator = TraysApiAxiosParamCreator(configuration)
|
|
1698
1824
|
return {
|
|
1825
|
+
/**
|
|
1826
|
+
* Create a tray
|
|
1827
|
+
* @summary Create tray
|
|
1828
|
+
* @param {CreateTrayRequest} createTrayRequest Create a tray
|
|
1829
|
+
* @param {*} [options] Override http request option.
|
|
1830
|
+
* @throws {RequiredError}
|
|
1831
|
+
*/
|
|
1832
|
+
async createTray(createTrayRequest: CreateTrayRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tray>> {
|
|
1833
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createTray(createTrayRequest, options);
|
|
1834
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1835
|
+
const localVarOperationServerBasePath = operationServerMap['TraysApi.createTray']?.[localVarOperationServerIndex]?.url;
|
|
1836
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1837
|
+
},
|
|
1699
1838
|
/**
|
|
1700
1839
|
* Get a tray of applications
|
|
1701
1840
|
* @summary Get tray
|
|
@@ -1710,6 +1849,22 @@ export const TraysApiFp = function(configuration?: Configuration) {
|
|
|
1710
1849
|
const localVarOperationServerBasePath = operationServerMap['TraysApi.getTray']?.[localVarOperationServerIndex]?.url;
|
|
1711
1850
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1712
1851
|
},
|
|
1852
|
+
/**
|
|
1853
|
+
* Lists all prefab applications in a tray paginated into chunks
|
|
1854
|
+
* @summary List tray applications
|
|
1855
|
+
* @param {string} project What project it is
|
|
1856
|
+
* @param {string} trayId Tray ID
|
|
1857
|
+
* @param {number} [pageToken] Page reference token
|
|
1858
|
+
* @param {number} [pageSize] The number of results requested per request
|
|
1859
|
+
* @param {*} [options] Override http request option.
|
|
1860
|
+
* @throws {RequiredError}
|
|
1861
|
+
*/
|
|
1862
|
+
async listTrayPrefabApplications(project: string, trayId: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBatchPrefabApplications200Response>> {
|
|
1863
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTrayPrefabApplications(project, trayId, pageToken, pageSize, options);
|
|
1864
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1865
|
+
const localVarOperationServerBasePath = operationServerMap['TraysApi.listTrayPrefabApplications']?.[localVarOperationServerIndex]?.url;
|
|
1866
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1867
|
+
},
|
|
1713
1868
|
/**
|
|
1714
1869
|
* Lists all prefab application trays paginated into chunks
|
|
1715
1870
|
* @summary List trays
|
|
@@ -1799,6 +1954,16 @@ export const TraysApiFp = function(configuration?: Configuration) {
|
|
|
1799
1954
|
export const TraysApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1800
1955
|
const localVarFp = TraysApiFp(configuration)
|
|
1801
1956
|
return {
|
|
1957
|
+
/**
|
|
1958
|
+
* Create a tray
|
|
1959
|
+
* @summary Create tray
|
|
1960
|
+
* @param {TraysApiCreateTrayRequest} requestParameters Request parameters.
|
|
1961
|
+
* @param {*} [options] Override http request option.
|
|
1962
|
+
* @throws {RequiredError}
|
|
1963
|
+
*/
|
|
1964
|
+
createTray(requestParameters: TraysApiCreateTrayRequest, options?: RawAxiosRequestConfig): AxiosPromise<Tray> {
|
|
1965
|
+
return localVarFp.createTray(requestParameters.createTrayRequest, options).then((request) => request(axios, basePath));
|
|
1966
|
+
},
|
|
1802
1967
|
/**
|
|
1803
1968
|
* Get a tray of applications
|
|
1804
1969
|
* @summary Get tray
|
|
@@ -1809,6 +1974,16 @@ export const TraysApiFactory = function (configuration?: Configuration, basePath
|
|
|
1809
1974
|
getTray(requestParameters: TraysApiGetTrayRequest, options?: RawAxiosRequestConfig): AxiosPromise<Tray> {
|
|
1810
1975
|
return localVarFp.getTray(requestParameters.project, requestParameters.trayId, options).then((request) => request(axios, basePath));
|
|
1811
1976
|
},
|
|
1977
|
+
/**
|
|
1978
|
+
* Lists all prefab applications in a tray paginated into chunks
|
|
1979
|
+
* @summary List tray applications
|
|
1980
|
+
* @param {TraysApiListTrayPrefabApplicationsRequest} requestParameters Request parameters.
|
|
1981
|
+
* @param {*} [options] Override http request option.
|
|
1982
|
+
* @throws {RequiredError}
|
|
1983
|
+
*/
|
|
1984
|
+
listTrayPrefabApplications(requestParameters: TraysApiListTrayPrefabApplicationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListBatchPrefabApplications200Response> {
|
|
1985
|
+
return localVarFp.listTrayPrefabApplications(requestParameters.project, requestParameters.trayId, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1986
|
+
},
|
|
1812
1987
|
/**
|
|
1813
1988
|
* Lists all prefab application trays paginated into chunks
|
|
1814
1989
|
* @summary List trays
|
|
@@ -1862,6 +2037,20 @@ export const TraysApiFactory = function (configuration?: Configuration, basePath
|
|
|
1862
2037
|
};
|
|
1863
2038
|
};
|
|
1864
2039
|
|
|
2040
|
+
/**
|
|
2041
|
+
* Request parameters for createTray operation in TraysApi.
|
|
2042
|
+
* @export
|
|
2043
|
+
* @interface TraysApiCreateTrayRequest
|
|
2044
|
+
*/
|
|
2045
|
+
export interface TraysApiCreateTrayRequest {
|
|
2046
|
+
/**
|
|
2047
|
+
* Create a tray
|
|
2048
|
+
* @type {CreateTrayRequest}
|
|
2049
|
+
* @memberof TraysApiCreateTray
|
|
2050
|
+
*/
|
|
2051
|
+
readonly createTrayRequest: CreateTrayRequest
|
|
2052
|
+
}
|
|
2053
|
+
|
|
1865
2054
|
/**
|
|
1866
2055
|
* Request parameters for getTray operation in TraysApi.
|
|
1867
2056
|
* @export
|
|
@@ -1883,6 +2072,41 @@ export interface TraysApiGetTrayRequest {
|
|
|
1883
2072
|
readonly trayId: string
|
|
1884
2073
|
}
|
|
1885
2074
|
|
|
2075
|
+
/**
|
|
2076
|
+
* Request parameters for listTrayPrefabApplications operation in TraysApi.
|
|
2077
|
+
* @export
|
|
2078
|
+
* @interface TraysApiListTrayPrefabApplicationsRequest
|
|
2079
|
+
*/
|
|
2080
|
+
export interface TraysApiListTrayPrefabApplicationsRequest {
|
|
2081
|
+
/**
|
|
2082
|
+
* What project it is
|
|
2083
|
+
* @type {string}
|
|
2084
|
+
* @memberof TraysApiListTrayPrefabApplications
|
|
2085
|
+
*/
|
|
2086
|
+
readonly project: string
|
|
2087
|
+
|
|
2088
|
+
/**
|
|
2089
|
+
* Tray ID
|
|
2090
|
+
* @type {string}
|
|
2091
|
+
* @memberof TraysApiListTrayPrefabApplications
|
|
2092
|
+
*/
|
|
2093
|
+
readonly trayId: string
|
|
2094
|
+
|
|
2095
|
+
/**
|
|
2096
|
+
* Page reference token
|
|
2097
|
+
* @type {number}
|
|
2098
|
+
* @memberof TraysApiListTrayPrefabApplications
|
|
2099
|
+
*/
|
|
2100
|
+
readonly pageToken?: number
|
|
2101
|
+
|
|
2102
|
+
/**
|
|
2103
|
+
* The number of results requested per request
|
|
2104
|
+
* @type {number}
|
|
2105
|
+
* @memberof TraysApiListTrayPrefabApplications
|
|
2106
|
+
*/
|
|
2107
|
+
readonly pageSize?: number
|
|
2108
|
+
}
|
|
2109
|
+
|
|
1886
2110
|
/**
|
|
1887
2111
|
* Request parameters for listTrays operation in TraysApi.
|
|
1888
2112
|
* @export
|
|
@@ -2058,6 +2282,18 @@ export interface TraysApiUpdateTrayRequest {
|
|
|
2058
2282
|
* @extends {BaseAPI}
|
|
2059
2283
|
*/
|
|
2060
2284
|
export class TraysApi extends BaseAPI {
|
|
2285
|
+
/**
|
|
2286
|
+
* Create a tray
|
|
2287
|
+
* @summary Create tray
|
|
2288
|
+
* @param {TraysApiCreateTrayRequest} requestParameters Request parameters.
|
|
2289
|
+
* @param {*} [options] Override http request option.
|
|
2290
|
+
* @throws {RequiredError}
|
|
2291
|
+
* @memberof TraysApi
|
|
2292
|
+
*/
|
|
2293
|
+
public createTray(requestParameters: TraysApiCreateTrayRequest, options?: RawAxiosRequestConfig) {
|
|
2294
|
+
return TraysApiFp(this.configuration).createTray(requestParameters.createTrayRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2295
|
+
}
|
|
2296
|
+
|
|
2061
2297
|
/**
|
|
2062
2298
|
* Get a tray of applications
|
|
2063
2299
|
* @summary Get tray
|
|
@@ -2070,6 +2306,18 @@ export class TraysApi extends BaseAPI {
|
|
|
2070
2306
|
return TraysApiFp(this.configuration).getTray(requestParameters.project, requestParameters.trayId, options).then((request) => request(this.axios, this.basePath));
|
|
2071
2307
|
}
|
|
2072
2308
|
|
|
2309
|
+
/**
|
|
2310
|
+
* Lists all prefab applications in a tray paginated into chunks
|
|
2311
|
+
* @summary List tray applications
|
|
2312
|
+
* @param {TraysApiListTrayPrefabApplicationsRequest} requestParameters Request parameters.
|
|
2313
|
+
* @param {*} [options] Override http request option.
|
|
2314
|
+
* @throws {RequiredError}
|
|
2315
|
+
* @memberof TraysApi
|
|
2316
|
+
*/
|
|
2317
|
+
public listTrayPrefabApplications(requestParameters: TraysApiListTrayPrefabApplicationsRequest, options?: RawAxiosRequestConfig) {
|
|
2318
|
+
return TraysApiFp(this.configuration).listTrayPrefabApplications(requestParameters.project, requestParameters.trayId, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2073
2321
|
/**
|
|
2074
2322
|
* Lists all prefab application trays paginated into chunks
|
|
2075
2323
|
* @summary List trays
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Warehouse Prefab Applications API
|
|
5
5
|
* Manage Teemill Warehouse Prefab Applications Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. 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.6.0
|
|
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
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Warehouse Prefab Applications API
|
|
5
5
|
* Manage Teemill Warehouse Prefab Applications Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. 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.6.0
|
|
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
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Warehouse Prefab Applications API
|
|
5
5
|
* Manage Teemill Warehouse Prefab Applications Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. 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.6.0
|
|
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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Warehouse Prefab Applications API
|
|
3
3
|
* Manage Teemill Warehouse Prefab Applications Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. 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.6.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -107,6 +107,25 @@ export interface CreateBatchRequest {
|
|
|
107
107
|
*/
|
|
108
108
|
'applicationRefs': Array<string>;
|
|
109
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @export
|
|
113
|
+
* @interface CreateTrayRequest
|
|
114
|
+
*/
|
|
115
|
+
export interface CreateTrayRequest {
|
|
116
|
+
/**
|
|
117
|
+
* Row number of the tray
|
|
118
|
+
* @type {number}
|
|
119
|
+
* @memberof CreateTrayRequest
|
|
120
|
+
*/
|
|
121
|
+
'row': number;
|
|
122
|
+
/**
|
|
123
|
+
* Column of the tray
|
|
124
|
+
* @type {string}
|
|
125
|
+
* @memberof CreateTrayRequest
|
|
126
|
+
*/
|
|
127
|
+
'column': string;
|
|
128
|
+
}
|
|
110
129
|
/**
|
|
111
130
|
*
|
|
112
131
|
* @export
|
|
@@ -424,6 +443,14 @@ export interface ValidationError {
|
|
|
424
443
|
* @memberof ValidationError
|
|
425
444
|
*/
|
|
426
445
|
'message': string;
|
|
446
|
+
/**
|
|
447
|
+
*
|
|
448
|
+
* @type {{ [key: string]: Array<string>; }}
|
|
449
|
+
* @memberof ValidationError
|
|
450
|
+
*/
|
|
451
|
+
'errors'?: {
|
|
452
|
+
[key: string]: Array<string>;
|
|
453
|
+
};
|
|
427
454
|
}
|
|
428
455
|
/**
|
|
429
456
|
* BatchesApi - axios parameter creator
|
|
@@ -908,6 +935,14 @@ export declare class PrefabApplicationsApi extends BaseAPI {
|
|
|
908
935
|
* @export
|
|
909
936
|
*/
|
|
910
937
|
export declare const TraysApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
938
|
+
/**
|
|
939
|
+
* Create a tray
|
|
940
|
+
* @summary Create tray
|
|
941
|
+
* @param {CreateTrayRequest} createTrayRequest Create a tray
|
|
942
|
+
* @param {*} [options] Override http request option.
|
|
943
|
+
* @throws {RequiredError}
|
|
944
|
+
*/
|
|
945
|
+
createTray: (createTrayRequest: CreateTrayRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
911
946
|
/**
|
|
912
947
|
* Get a tray of applications
|
|
913
948
|
* @summary Get tray
|
|
@@ -917,6 +952,17 @@ export declare const TraysApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
917
952
|
* @throws {RequiredError}
|
|
918
953
|
*/
|
|
919
954
|
getTray: (project: string, trayId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
955
|
+
/**
|
|
956
|
+
* Lists all prefab applications in a tray paginated into chunks
|
|
957
|
+
* @summary List tray applications
|
|
958
|
+
* @param {string} project What project it is
|
|
959
|
+
* @param {string} trayId Tray ID
|
|
960
|
+
* @param {number} [pageToken] Page reference token
|
|
961
|
+
* @param {number} [pageSize] The number of results requested per request
|
|
962
|
+
* @param {*} [options] Override http request option.
|
|
963
|
+
* @throws {RequiredError}
|
|
964
|
+
*/
|
|
965
|
+
listTrayPrefabApplications: (project: string, trayId: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
920
966
|
/**
|
|
921
967
|
* Lists all prefab application trays paginated into chunks
|
|
922
968
|
* @summary List trays
|
|
@@ -977,6 +1023,14 @@ export declare const TraysApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
977
1023
|
* @export
|
|
978
1024
|
*/
|
|
979
1025
|
export declare const TraysApiFp: (configuration?: Configuration) => {
|
|
1026
|
+
/**
|
|
1027
|
+
* Create a tray
|
|
1028
|
+
* @summary Create tray
|
|
1029
|
+
* @param {CreateTrayRequest} createTrayRequest Create a tray
|
|
1030
|
+
* @param {*} [options] Override http request option.
|
|
1031
|
+
* @throws {RequiredError}
|
|
1032
|
+
*/
|
|
1033
|
+
createTray(createTrayRequest: CreateTrayRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tray>>;
|
|
980
1034
|
/**
|
|
981
1035
|
* Get a tray of applications
|
|
982
1036
|
* @summary Get tray
|
|
@@ -986,6 +1040,17 @@ export declare const TraysApiFp: (configuration?: Configuration) => {
|
|
|
986
1040
|
* @throws {RequiredError}
|
|
987
1041
|
*/
|
|
988
1042
|
getTray(project: string, trayId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tray>>;
|
|
1043
|
+
/**
|
|
1044
|
+
* Lists all prefab applications in a tray paginated into chunks
|
|
1045
|
+
* @summary List tray applications
|
|
1046
|
+
* @param {string} project What project it is
|
|
1047
|
+
* @param {string} trayId Tray ID
|
|
1048
|
+
* @param {number} [pageToken] Page reference token
|
|
1049
|
+
* @param {number} [pageSize] The number of results requested per request
|
|
1050
|
+
* @param {*} [options] Override http request option.
|
|
1051
|
+
* @throws {RequiredError}
|
|
1052
|
+
*/
|
|
1053
|
+
listTrayPrefabApplications(project: string, trayId: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBatchPrefabApplications200Response>>;
|
|
989
1054
|
/**
|
|
990
1055
|
* Lists all prefab application trays paginated into chunks
|
|
991
1056
|
* @summary List trays
|
|
@@ -1046,6 +1111,14 @@ export declare const TraysApiFp: (configuration?: Configuration) => {
|
|
|
1046
1111
|
* @export
|
|
1047
1112
|
*/
|
|
1048
1113
|
export declare const TraysApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1114
|
+
/**
|
|
1115
|
+
* Create a tray
|
|
1116
|
+
* @summary Create tray
|
|
1117
|
+
* @param {TraysApiCreateTrayRequest} requestParameters Request parameters.
|
|
1118
|
+
* @param {*} [options] Override http request option.
|
|
1119
|
+
* @throws {RequiredError}
|
|
1120
|
+
*/
|
|
1121
|
+
createTray(requestParameters: TraysApiCreateTrayRequest, options?: RawAxiosRequestConfig): AxiosPromise<Tray>;
|
|
1049
1122
|
/**
|
|
1050
1123
|
* Get a tray of applications
|
|
1051
1124
|
* @summary Get tray
|
|
@@ -1054,6 +1127,14 @@ export declare const TraysApiFactory: (configuration?: Configuration, basePath?:
|
|
|
1054
1127
|
* @throws {RequiredError}
|
|
1055
1128
|
*/
|
|
1056
1129
|
getTray(requestParameters: TraysApiGetTrayRequest, options?: RawAxiosRequestConfig): AxiosPromise<Tray>;
|
|
1130
|
+
/**
|
|
1131
|
+
* Lists all prefab applications in a tray paginated into chunks
|
|
1132
|
+
* @summary List tray applications
|
|
1133
|
+
* @param {TraysApiListTrayPrefabApplicationsRequest} requestParameters Request parameters.
|
|
1134
|
+
* @param {*} [options] Override http request option.
|
|
1135
|
+
* @throws {RequiredError}
|
|
1136
|
+
*/
|
|
1137
|
+
listTrayPrefabApplications(requestParameters: TraysApiListTrayPrefabApplicationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListBatchPrefabApplications200Response>;
|
|
1057
1138
|
/**
|
|
1058
1139
|
* Lists all prefab application trays paginated into chunks
|
|
1059
1140
|
* @summary List trays
|
|
@@ -1095,6 +1176,19 @@ export declare const TraysApiFactory: (configuration?: Configuration, basePath?:
|
|
|
1095
1176
|
*/
|
|
1096
1177
|
updateTray(requestParameters: TraysApiUpdateTrayRequest, options?: RawAxiosRequestConfig): AxiosPromise<Tray>;
|
|
1097
1178
|
};
|
|
1179
|
+
/**
|
|
1180
|
+
* Request parameters for createTray operation in TraysApi.
|
|
1181
|
+
* @export
|
|
1182
|
+
* @interface TraysApiCreateTrayRequest
|
|
1183
|
+
*/
|
|
1184
|
+
export interface TraysApiCreateTrayRequest {
|
|
1185
|
+
/**
|
|
1186
|
+
* Create a tray
|
|
1187
|
+
* @type {CreateTrayRequest}
|
|
1188
|
+
* @memberof TraysApiCreateTray
|
|
1189
|
+
*/
|
|
1190
|
+
readonly createTrayRequest: CreateTrayRequest;
|
|
1191
|
+
}
|
|
1098
1192
|
/**
|
|
1099
1193
|
* Request parameters for getTray operation in TraysApi.
|
|
1100
1194
|
* @export
|
|
@@ -1114,6 +1208,37 @@ export interface TraysApiGetTrayRequest {
|
|
|
1114
1208
|
*/
|
|
1115
1209
|
readonly trayId: string;
|
|
1116
1210
|
}
|
|
1211
|
+
/**
|
|
1212
|
+
* Request parameters for listTrayPrefabApplications operation in TraysApi.
|
|
1213
|
+
* @export
|
|
1214
|
+
* @interface TraysApiListTrayPrefabApplicationsRequest
|
|
1215
|
+
*/
|
|
1216
|
+
export interface TraysApiListTrayPrefabApplicationsRequest {
|
|
1217
|
+
/**
|
|
1218
|
+
* What project it is
|
|
1219
|
+
* @type {string}
|
|
1220
|
+
* @memberof TraysApiListTrayPrefabApplications
|
|
1221
|
+
*/
|
|
1222
|
+
readonly project: string;
|
|
1223
|
+
/**
|
|
1224
|
+
* Tray ID
|
|
1225
|
+
* @type {string}
|
|
1226
|
+
* @memberof TraysApiListTrayPrefabApplications
|
|
1227
|
+
*/
|
|
1228
|
+
readonly trayId: string;
|
|
1229
|
+
/**
|
|
1230
|
+
* Page reference token
|
|
1231
|
+
* @type {number}
|
|
1232
|
+
* @memberof TraysApiListTrayPrefabApplications
|
|
1233
|
+
*/
|
|
1234
|
+
readonly pageToken?: number;
|
|
1235
|
+
/**
|
|
1236
|
+
* The number of results requested per request
|
|
1237
|
+
* @type {number}
|
|
1238
|
+
* @memberof TraysApiListTrayPrefabApplications
|
|
1239
|
+
*/
|
|
1240
|
+
readonly pageSize?: number;
|
|
1241
|
+
}
|
|
1117
1242
|
/**
|
|
1118
1243
|
* Request parameters for listTrays operation in TraysApi.
|
|
1119
1244
|
* @export
|
|
@@ -1270,6 +1395,15 @@ export interface TraysApiUpdateTrayRequest {
|
|
|
1270
1395
|
* @extends {BaseAPI}
|
|
1271
1396
|
*/
|
|
1272
1397
|
export declare class TraysApi extends BaseAPI {
|
|
1398
|
+
/**
|
|
1399
|
+
* Create a tray
|
|
1400
|
+
* @summary Create tray
|
|
1401
|
+
* @param {TraysApiCreateTrayRequest} requestParameters Request parameters.
|
|
1402
|
+
* @param {*} [options] Override http request option.
|
|
1403
|
+
* @throws {RequiredError}
|
|
1404
|
+
* @memberof TraysApi
|
|
1405
|
+
*/
|
|
1406
|
+
createTray(requestParameters: TraysApiCreateTrayRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tray, any>>;
|
|
1273
1407
|
/**
|
|
1274
1408
|
* Get a tray of applications
|
|
1275
1409
|
* @summary Get tray
|
|
@@ -1279,6 +1413,15 @@ export declare class TraysApi extends BaseAPI {
|
|
|
1279
1413
|
* @memberof TraysApi
|
|
1280
1414
|
*/
|
|
1281
1415
|
getTray(requestParameters: TraysApiGetTrayRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tray, any>>;
|
|
1416
|
+
/**
|
|
1417
|
+
* Lists all prefab applications in a tray paginated into chunks
|
|
1418
|
+
* @summary List tray applications
|
|
1419
|
+
* @param {TraysApiListTrayPrefabApplicationsRequest} requestParameters Request parameters.
|
|
1420
|
+
* @param {*} [options] Override http request option.
|
|
1421
|
+
* @throws {RequiredError}
|
|
1422
|
+
* @memberof TraysApi
|
|
1423
|
+
*/
|
|
1424
|
+
listTrayPrefabApplications(requestParameters: TraysApiListTrayPrefabApplicationsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBatchPrefabApplications200Response, any>>;
|
|
1282
1425
|
/**
|
|
1283
1426
|
* Lists all prefab application trays paginated into chunks
|
|
1284
1427
|
* @summary List trays
|