@teemill/warehouse-prefab-applications 0.3.0 → 0.4.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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/warehouse-prefab-applications@0.3.0
1
+ ## @teemill/warehouse-prefab-applications@0.4.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.3.0 --save
39
+ npm install @teemill/warehouse-prefab-applications@0.4.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.3.0
7
+ * The version of the OpenAPI document: 0.4.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -290,6 +290,19 @@ export interface PrintBatch202Response {
290
290
  */
291
291
  'message'?: string;
292
292
  }
293
+ /**
294
+ *
295
+ * @export
296
+ * @interface SuggestTrays200Response
297
+ */
298
+ export interface SuggestTrays200Response {
299
+ /**
300
+ *
301
+ * @type {Array<Tray>}
302
+ * @memberof SuggestTrays200Response
303
+ */
304
+ 'trays'?: Array<Tray>;
305
+ }
293
306
  /**
294
307
  *
295
308
  * @export
@@ -1541,6 +1554,75 @@ export const TraysApiAxiosParamCreator = function (configuration?: Configuration
1541
1554
 
1542
1555
 
1543
1556
 
1557
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1558
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1559
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1560
+
1561
+ return {
1562
+ url: toPathString(localVarUrlObj),
1563
+ options: localVarRequestOptions,
1564
+ };
1565
+ },
1566
+ /**
1567
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
1568
+ * @summary Suggest trays
1569
+ * @param {string} project What project it is
1570
+ * @param {number} [pageToken] Page reference token
1571
+ * @param {number} [pageSize] The number of results requested per request
1572
+ * @param {string} [prefabApplicationRef] Unique identifier of a prefab application
1573
+ * @param {string} [catalogApplicationRef] Unique identifier of a catalog application. Requires quantity to be specified.
1574
+ * @param {number} [quantity] Quantity of the catalog application (required if catalogApplicationRef is provided)
1575
+ * @param {*} [options] Override http request option.
1576
+ * @throws {RequiredError}
1577
+ */
1578
+ suggestTrays: async (project: string, pageToken?: number, pageSize?: number, prefabApplicationRef?: string, catalogApplicationRef?: string, quantity?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1579
+ // verify required parameter 'project' is not null or undefined
1580
+ assertParamExists('suggestTrays', 'project', project)
1581
+ const localVarPath = `/v1/warehouse/prefab-applications/trays/suggest`;
1582
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1583
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1584
+ let baseOptions;
1585
+ if (configuration) {
1586
+ baseOptions = configuration.baseOptions;
1587
+ }
1588
+
1589
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1590
+ const localVarHeaderParameter = {} as any;
1591
+ const localVarQueryParameter = {} as any;
1592
+
1593
+ // authentication session-oauth required
1594
+ // oauth required
1595
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
1596
+
1597
+ // authentication api-key required
1598
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1599
+
1600
+ if (project !== undefined) {
1601
+ localVarQueryParameter['project'] = project;
1602
+ }
1603
+
1604
+ if (pageToken !== undefined) {
1605
+ localVarQueryParameter['pageToken'] = pageToken;
1606
+ }
1607
+
1608
+ if (pageSize !== undefined) {
1609
+ localVarQueryParameter['pageSize'] = pageSize;
1610
+ }
1611
+
1612
+ if (prefabApplicationRef !== undefined) {
1613
+ localVarQueryParameter['prefabApplicationRef'] = prefabApplicationRef;
1614
+ }
1615
+
1616
+ if (catalogApplicationRef !== undefined) {
1617
+ localVarQueryParameter['catalogApplicationRef'] = catalogApplicationRef;
1618
+ }
1619
+
1620
+ if (quantity !== undefined) {
1621
+ localVarQueryParameter['quantity'] = quantity;
1622
+ }
1623
+
1624
+
1625
+
1544
1626
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1545
1627
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1546
1628
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1674,6 +1756,24 @@ export const TraysApiFp = function(configuration?: Configuration) {
1674
1756
  const localVarOperationServerBasePath = operationServerMap['TraysApi.printTrayLabels']?.[localVarOperationServerIndex]?.url;
1675
1757
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1676
1758
  },
1759
+ /**
1760
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
1761
+ * @summary Suggest trays
1762
+ * @param {string} project What project it is
1763
+ * @param {number} [pageToken] Page reference token
1764
+ * @param {number} [pageSize] The number of results requested per request
1765
+ * @param {string} [prefabApplicationRef] Unique identifier of a prefab application
1766
+ * @param {string} [catalogApplicationRef] Unique identifier of a catalog application. Requires quantity to be specified.
1767
+ * @param {number} [quantity] Quantity of the catalog application (required if catalogApplicationRef is provided)
1768
+ * @param {*} [options] Override http request option.
1769
+ * @throws {RequiredError}
1770
+ */
1771
+ async suggestTrays(project: string, pageToken?: number, pageSize?: number, prefabApplicationRef?: string, catalogApplicationRef?: string, quantity?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuggestTrays200Response>> {
1772
+ const localVarAxiosArgs = await localVarAxiosParamCreator.suggestTrays(project, pageToken, pageSize, prefabApplicationRef, catalogApplicationRef, quantity, options);
1773
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1774
+ const localVarOperationServerBasePath = operationServerMap['TraysApi.suggestTrays']?.[localVarOperationServerIndex]?.url;
1775
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1776
+ },
1677
1777
  /**
1678
1778
  * Update a tray of applications
1679
1779
  * @summary Update tray
@@ -1739,6 +1839,16 @@ export const TraysApiFactory = function (configuration?: Configuration, basePath
1739
1839
  printTrayLabels(requestParameters: TraysApiPrintTrayLabelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PrintBatch202Response> {
1740
1840
  return localVarFp.printTrayLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.trayIds, options).then((request) => request(axios, basePath));
1741
1841
  },
1842
+ /**
1843
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
1844
+ * @summary Suggest trays
1845
+ * @param {TraysApiSuggestTraysRequest} requestParameters Request parameters.
1846
+ * @param {*} [options] Override http request option.
1847
+ * @throws {RequiredError}
1848
+ */
1849
+ suggestTrays(requestParameters: TraysApiSuggestTraysRequest, options?: RawAxiosRequestConfig): AxiosPromise<SuggestTrays200Response> {
1850
+ return localVarFp.suggestTrays(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.prefabApplicationRef, requestParameters.catalogApplicationRef, requestParameters.quantity, options).then((request) => request(axios, basePath));
1851
+ },
1742
1852
  /**
1743
1853
  * Update a tray of applications
1744
1854
  * @summary Update tray
@@ -1864,6 +1974,55 @@ export interface TraysApiPrintTrayLabelsRequest {
1864
1974
  readonly trayIds?: Array<string>
1865
1975
  }
1866
1976
 
1977
+ /**
1978
+ * Request parameters for suggestTrays operation in TraysApi.
1979
+ * @export
1980
+ * @interface TraysApiSuggestTraysRequest
1981
+ */
1982
+ export interface TraysApiSuggestTraysRequest {
1983
+ /**
1984
+ * What project it is
1985
+ * @type {string}
1986
+ * @memberof TraysApiSuggestTrays
1987
+ */
1988
+ readonly project: string
1989
+
1990
+ /**
1991
+ * Page reference token
1992
+ * @type {number}
1993
+ * @memberof TraysApiSuggestTrays
1994
+ */
1995
+ readonly pageToken?: number
1996
+
1997
+ /**
1998
+ * The number of results requested per request
1999
+ * @type {number}
2000
+ * @memberof TraysApiSuggestTrays
2001
+ */
2002
+ readonly pageSize?: number
2003
+
2004
+ /**
2005
+ * Unique identifier of a prefab application
2006
+ * @type {string}
2007
+ * @memberof TraysApiSuggestTrays
2008
+ */
2009
+ readonly prefabApplicationRef?: string
2010
+
2011
+ /**
2012
+ * Unique identifier of a catalog application. Requires quantity to be specified.
2013
+ * @type {string}
2014
+ * @memberof TraysApiSuggestTrays
2015
+ */
2016
+ readonly catalogApplicationRef?: string
2017
+
2018
+ /**
2019
+ * Quantity of the catalog application (required if catalogApplicationRef is provided)
2020
+ * @type {number}
2021
+ * @memberof TraysApiSuggestTrays
2022
+ */
2023
+ readonly quantity?: number
2024
+ }
2025
+
1867
2026
  /**
1868
2027
  * Request parameters for updateTray operation in TraysApi.
1869
2028
  * @export
@@ -1947,6 +2106,18 @@ export class TraysApi extends BaseAPI {
1947
2106
  return TraysApiFp(this.configuration).printTrayLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.trayIds, options).then((request) => request(this.axios, this.basePath));
1948
2107
  }
1949
2108
 
2109
+ /**
2110
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
2111
+ * @summary Suggest trays
2112
+ * @param {TraysApiSuggestTraysRequest} requestParameters Request parameters.
2113
+ * @param {*} [options] Override http request option.
2114
+ * @throws {RequiredError}
2115
+ * @memberof TraysApi
2116
+ */
2117
+ public suggestTrays(requestParameters: TraysApiSuggestTraysRequest, options?: RawAxiosRequestConfig) {
2118
+ return TraysApiFp(this.configuration).suggestTrays(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.prefabApplicationRef, requestParameters.catalogApplicationRef, requestParameters.quantity, options).then((request) => request(this.axios, this.basePath));
2119
+ }
2120
+
1950
2121
  /**
1951
2122
  * Update a tray of applications
1952
2123
  * @summary Update tray
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.3.0
7
+ * The version of the OpenAPI document: 0.4.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.3.0
7
+ * The version of the OpenAPI document: 0.4.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.3.0
7
+ * The version of the OpenAPI document: 0.4.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.3.0
5
+ * The version of the OpenAPI document: 0.4.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -274,6 +274,19 @@ export interface PrintBatch202Response {
274
274
  */
275
275
  'message'?: string;
276
276
  }
277
+ /**
278
+ *
279
+ * @export
280
+ * @interface SuggestTrays200Response
281
+ */
282
+ export interface SuggestTrays200Response {
283
+ /**
284
+ *
285
+ * @type {Array<Tray>}
286
+ * @memberof SuggestTrays200Response
287
+ */
288
+ 'trays'?: Array<Tray>;
289
+ }
277
290
  /**
278
291
  *
279
292
  * @export
@@ -935,6 +948,19 @@ export declare const TraysApiAxiosParamCreator: (configuration?: Configuration)
935
948
  * @throws {RequiredError}
936
949
  */
937
950
  printTrayLabels: (project: string, deviceRef: string, trayIds?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
951
+ /**
952
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
953
+ * @summary Suggest trays
954
+ * @param {string} project What project it is
955
+ * @param {number} [pageToken] Page reference token
956
+ * @param {number} [pageSize] The number of results requested per request
957
+ * @param {string} [prefabApplicationRef] Unique identifier of a prefab application
958
+ * @param {string} [catalogApplicationRef] Unique identifier of a catalog application. Requires quantity to be specified.
959
+ * @param {number} [quantity] Quantity of the catalog application (required if catalogApplicationRef is provided)
960
+ * @param {*} [options] Override http request option.
961
+ * @throws {RequiredError}
962
+ */
963
+ suggestTrays: (project: string, pageToken?: number, pageSize?: number, prefabApplicationRef?: string, catalogApplicationRef?: string, quantity?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
938
964
  /**
939
965
  * Update a tray of applications
940
966
  * @summary Update tray
@@ -991,6 +1017,19 @@ export declare const TraysApiFp: (configuration?: Configuration) => {
991
1017
  * @throws {RequiredError}
992
1018
  */
993
1019
  printTrayLabels(project: string, deviceRef: string, trayIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintBatch202Response>>;
1020
+ /**
1021
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
1022
+ * @summary Suggest trays
1023
+ * @param {string} project What project it is
1024
+ * @param {number} [pageToken] Page reference token
1025
+ * @param {number} [pageSize] The number of results requested per request
1026
+ * @param {string} [prefabApplicationRef] Unique identifier of a prefab application
1027
+ * @param {string} [catalogApplicationRef] Unique identifier of a catalog application. Requires quantity to be specified.
1028
+ * @param {number} [quantity] Quantity of the catalog application (required if catalogApplicationRef is provided)
1029
+ * @param {*} [options] Override http request option.
1030
+ * @throws {RequiredError}
1031
+ */
1032
+ suggestTrays(project: string, pageToken?: number, pageSize?: number, prefabApplicationRef?: string, catalogApplicationRef?: string, quantity?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuggestTrays200Response>>;
994
1033
  /**
995
1034
  * Update a tray of applications
996
1035
  * @summary Update tray
@@ -1039,6 +1078,14 @@ export declare const TraysApiFactory: (configuration?: Configuration, basePath?:
1039
1078
  * @throws {RequiredError}
1040
1079
  */
1041
1080
  printTrayLabels(requestParameters: TraysApiPrintTrayLabelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PrintBatch202Response>;
1081
+ /**
1082
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
1083
+ * @summary Suggest trays
1084
+ * @param {TraysApiSuggestTraysRequest} requestParameters Request parameters.
1085
+ * @param {*} [options] Override http request option.
1086
+ * @throws {RequiredError}
1087
+ */
1088
+ suggestTrays(requestParameters: TraysApiSuggestTraysRequest, options?: RawAxiosRequestConfig): AxiosPromise<SuggestTrays200Response>;
1042
1089
  /**
1043
1090
  * Update a tray of applications
1044
1091
  * @summary Update tray
@@ -1148,6 +1195,49 @@ export interface TraysApiPrintTrayLabelsRequest {
1148
1195
  */
1149
1196
  readonly trayIds?: Array<string>;
1150
1197
  }
1198
+ /**
1199
+ * Request parameters for suggestTrays operation in TraysApi.
1200
+ * @export
1201
+ * @interface TraysApiSuggestTraysRequest
1202
+ */
1203
+ export interface TraysApiSuggestTraysRequest {
1204
+ /**
1205
+ * What project it is
1206
+ * @type {string}
1207
+ * @memberof TraysApiSuggestTrays
1208
+ */
1209
+ readonly project: string;
1210
+ /**
1211
+ * Page reference token
1212
+ * @type {number}
1213
+ * @memberof TraysApiSuggestTrays
1214
+ */
1215
+ readonly pageToken?: number;
1216
+ /**
1217
+ * The number of results requested per request
1218
+ * @type {number}
1219
+ * @memberof TraysApiSuggestTrays
1220
+ */
1221
+ readonly pageSize?: number;
1222
+ /**
1223
+ * Unique identifier of a prefab application
1224
+ * @type {string}
1225
+ * @memberof TraysApiSuggestTrays
1226
+ */
1227
+ readonly prefabApplicationRef?: string;
1228
+ /**
1229
+ * Unique identifier of a catalog application. Requires quantity to be specified.
1230
+ * @type {string}
1231
+ * @memberof TraysApiSuggestTrays
1232
+ */
1233
+ readonly catalogApplicationRef?: string;
1234
+ /**
1235
+ * Quantity of the catalog application (required if catalogApplicationRef is provided)
1236
+ * @type {number}
1237
+ * @memberof TraysApiSuggestTrays
1238
+ */
1239
+ readonly quantity?: number;
1240
+ }
1151
1241
  /**
1152
1242
  * Request parameters for updateTray operation in TraysApi.
1153
1243
  * @export
@@ -1216,6 +1306,15 @@ export declare class TraysApi extends BaseAPI {
1216
1306
  * @memberof TraysApi
1217
1307
  */
1218
1308
  printTrayLabels(requestParameters: TraysApiPrintTrayLabelsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintBatch202Response, any>>;
1309
+ /**
1310
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
1311
+ * @summary Suggest trays
1312
+ * @param {TraysApiSuggestTraysRequest} requestParameters Request parameters.
1313
+ * @param {*} [options] Override http request option.
1314
+ * @throws {RequiredError}
1315
+ * @memberof TraysApi
1316
+ */
1317
+ suggestTrays(requestParameters: TraysApiSuggestTraysRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuggestTrays200Response, any>>;
1219
1318
  /**
1220
1319
  * Update a tray of applications
1221
1320
  * @summary Update tray
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Warehouse Prefab Applications API
6
6
  * 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)
7
7
  *
8
- * The version of the OpenAPI document: 0.3.0
8
+ * The version of the OpenAPI document: 0.4.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -881,6 +881,62 @@ const TraysApiAxiosParamCreator = function (configuration) {
881
881
  options: localVarRequestOptions,
882
882
  };
883
883
  }),
884
+ /**
885
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
886
+ * @summary Suggest trays
887
+ * @param {string} project What project it is
888
+ * @param {number} [pageToken] Page reference token
889
+ * @param {number} [pageSize] The number of results requested per request
890
+ * @param {string} [prefabApplicationRef] Unique identifier of a prefab application
891
+ * @param {string} [catalogApplicationRef] Unique identifier of a catalog application. Requires quantity to be specified.
892
+ * @param {number} [quantity] Quantity of the catalog application (required if catalogApplicationRef is provided)
893
+ * @param {*} [options] Override http request option.
894
+ * @throws {RequiredError}
895
+ */
896
+ suggestTrays: (project_1, pageToken_1, pageSize_1, prefabApplicationRef_1, catalogApplicationRef_1, quantity_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, prefabApplicationRef_1, catalogApplicationRef_1, quantity_1, ...args_1], void 0, function* (project, pageToken, pageSize, prefabApplicationRef, catalogApplicationRef, quantity, options = {}) {
897
+ // verify required parameter 'project' is not null or undefined
898
+ (0, common_1.assertParamExists)('suggestTrays', 'project', project);
899
+ const localVarPath = `/v1/warehouse/prefab-applications/trays/suggest`;
900
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
901
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
902
+ let baseOptions;
903
+ if (configuration) {
904
+ baseOptions = configuration.baseOptions;
905
+ }
906
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
907
+ const localVarHeaderParameter = {};
908
+ const localVarQueryParameter = {};
909
+ // authentication session-oauth required
910
+ // oauth required
911
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
912
+ // authentication api-key required
913
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
914
+ if (project !== undefined) {
915
+ localVarQueryParameter['project'] = project;
916
+ }
917
+ if (pageToken !== undefined) {
918
+ localVarQueryParameter['pageToken'] = pageToken;
919
+ }
920
+ if (pageSize !== undefined) {
921
+ localVarQueryParameter['pageSize'] = pageSize;
922
+ }
923
+ if (prefabApplicationRef !== undefined) {
924
+ localVarQueryParameter['prefabApplicationRef'] = prefabApplicationRef;
925
+ }
926
+ if (catalogApplicationRef !== undefined) {
927
+ localVarQueryParameter['catalogApplicationRef'] = catalogApplicationRef;
928
+ }
929
+ if (quantity !== undefined) {
930
+ localVarQueryParameter['quantity'] = quantity;
931
+ }
932
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
933
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
934
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
935
+ return {
936
+ url: (0, common_1.toPathString)(localVarUrlObj),
937
+ options: localVarRequestOptions,
938
+ };
939
+ }),
884
940
  /**
885
941
  * Update a tray of applications
886
942
  * @summary Update tray
@@ -1008,6 +1064,27 @@ const TraysApiFp = function (configuration) {
1008
1064
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1009
1065
  });
1010
1066
  },
1067
+ /**
1068
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
1069
+ * @summary Suggest trays
1070
+ * @param {string} project What project it is
1071
+ * @param {number} [pageToken] Page reference token
1072
+ * @param {number} [pageSize] The number of results requested per request
1073
+ * @param {string} [prefabApplicationRef] Unique identifier of a prefab application
1074
+ * @param {string} [catalogApplicationRef] Unique identifier of a catalog application. Requires quantity to be specified.
1075
+ * @param {number} [quantity] Quantity of the catalog application (required if catalogApplicationRef is provided)
1076
+ * @param {*} [options] Override http request option.
1077
+ * @throws {RequiredError}
1078
+ */
1079
+ suggestTrays(project, pageToken, pageSize, prefabApplicationRef, catalogApplicationRef, quantity, options) {
1080
+ return __awaiter(this, void 0, void 0, function* () {
1081
+ var _a, _b, _c;
1082
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.suggestTrays(project, pageToken, pageSize, prefabApplicationRef, catalogApplicationRef, quantity, options);
1083
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1084
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TraysApi.suggestTrays']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1085
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1086
+ });
1087
+ },
1011
1088
  /**
1012
1089
  * Update a tray of applications
1013
1090
  * @summary Update tray
@@ -1076,6 +1153,16 @@ const TraysApiFactory = function (configuration, basePath, axios) {
1076
1153
  printTrayLabels(requestParameters, options) {
1077
1154
  return localVarFp.printTrayLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.trayIds, options).then((request) => request(axios, basePath));
1078
1155
  },
1156
+ /**
1157
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
1158
+ * @summary Suggest trays
1159
+ * @param {TraysApiSuggestTraysRequest} requestParameters Request parameters.
1160
+ * @param {*} [options] Override http request option.
1161
+ * @throws {RequiredError}
1162
+ */
1163
+ suggestTrays(requestParameters, options) {
1164
+ return localVarFp.suggestTrays(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.prefabApplicationRef, requestParameters.catalogApplicationRef, requestParameters.quantity, options).then((request) => request(axios, basePath));
1165
+ },
1079
1166
  /**
1080
1167
  * Update a tray of applications
1081
1168
  * @summary Update tray
@@ -1140,6 +1227,17 @@ class TraysApi extends base_1.BaseAPI {
1140
1227
  printTrayLabels(requestParameters, options) {
1141
1228
  return (0, exports.TraysApiFp)(this.configuration).printTrayLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.trayIds, options).then((request) => request(this.axios, this.basePath));
1142
1229
  }
1230
+ /**
1231
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
1232
+ * @summary Suggest trays
1233
+ * @param {TraysApiSuggestTraysRequest} requestParameters Request parameters.
1234
+ * @param {*} [options] Override http request option.
1235
+ * @throws {RequiredError}
1236
+ * @memberof TraysApi
1237
+ */
1238
+ suggestTrays(requestParameters, options) {
1239
+ return (0, exports.TraysApiFp)(this.configuration).suggestTrays(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.prefabApplicationRef, requestParameters.catalogApplicationRef, requestParameters.quantity, options).then((request) => request(this.axios, this.basePath));
1240
+ }
1143
1241
  /**
1144
1242
  * Update a tray of applications
1145
1243
  * @summary Update tray
package/dist/base.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.3.0
5
+ * The version of the OpenAPI document: 0.4.0
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
@@ -5,7 +5,7 @@
5
5
  * Warehouse Prefab Applications API
6
6
  * 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)
7
7
  *
8
- * The version of the OpenAPI document: 0.3.0
8
+ * The version of the OpenAPI document: 0.4.0
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
@@ -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.3.0
5
+ * The version of the OpenAPI document: 0.4.0
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
@@ -5,7 +5,7 @@
5
5
  * Warehouse Prefab Applications API
6
6
  * 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)
7
7
  *
8
- * The version of the OpenAPI document: 0.3.0
8
+ * The version of the OpenAPI document: 0.4.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.3.0
5
+ * The version of the OpenAPI document: 0.4.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Warehouse Prefab Applications API
6
6
  * 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)
7
7
  *
8
- * The version of the OpenAPI document: 0.3.0
8
+ * The version of the OpenAPI document: 0.4.0
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
@@ -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.3.0
5
+ * The version of the OpenAPI document: 0.4.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -274,6 +274,19 @@ export interface PrintBatch202Response {
274
274
  */
275
275
  'message'?: string;
276
276
  }
277
+ /**
278
+ *
279
+ * @export
280
+ * @interface SuggestTrays200Response
281
+ */
282
+ export interface SuggestTrays200Response {
283
+ /**
284
+ *
285
+ * @type {Array<Tray>}
286
+ * @memberof SuggestTrays200Response
287
+ */
288
+ 'trays'?: Array<Tray>;
289
+ }
277
290
  /**
278
291
  *
279
292
  * @export
@@ -935,6 +948,19 @@ export declare const TraysApiAxiosParamCreator: (configuration?: Configuration)
935
948
  * @throws {RequiredError}
936
949
  */
937
950
  printTrayLabels: (project: string, deviceRef: string, trayIds?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
951
+ /**
952
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
953
+ * @summary Suggest trays
954
+ * @param {string} project What project it is
955
+ * @param {number} [pageToken] Page reference token
956
+ * @param {number} [pageSize] The number of results requested per request
957
+ * @param {string} [prefabApplicationRef] Unique identifier of a prefab application
958
+ * @param {string} [catalogApplicationRef] Unique identifier of a catalog application. Requires quantity to be specified.
959
+ * @param {number} [quantity] Quantity of the catalog application (required if catalogApplicationRef is provided)
960
+ * @param {*} [options] Override http request option.
961
+ * @throws {RequiredError}
962
+ */
963
+ suggestTrays: (project: string, pageToken?: number, pageSize?: number, prefabApplicationRef?: string, catalogApplicationRef?: string, quantity?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
938
964
  /**
939
965
  * Update a tray of applications
940
966
  * @summary Update tray
@@ -991,6 +1017,19 @@ export declare const TraysApiFp: (configuration?: Configuration) => {
991
1017
  * @throws {RequiredError}
992
1018
  */
993
1019
  printTrayLabels(project: string, deviceRef: string, trayIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintBatch202Response>>;
1020
+ /**
1021
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
1022
+ * @summary Suggest trays
1023
+ * @param {string} project What project it is
1024
+ * @param {number} [pageToken] Page reference token
1025
+ * @param {number} [pageSize] The number of results requested per request
1026
+ * @param {string} [prefabApplicationRef] Unique identifier of a prefab application
1027
+ * @param {string} [catalogApplicationRef] Unique identifier of a catalog application. Requires quantity to be specified.
1028
+ * @param {number} [quantity] Quantity of the catalog application (required if catalogApplicationRef is provided)
1029
+ * @param {*} [options] Override http request option.
1030
+ * @throws {RequiredError}
1031
+ */
1032
+ suggestTrays(project: string, pageToken?: number, pageSize?: number, prefabApplicationRef?: string, catalogApplicationRef?: string, quantity?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuggestTrays200Response>>;
994
1033
  /**
995
1034
  * Update a tray of applications
996
1035
  * @summary Update tray
@@ -1039,6 +1078,14 @@ export declare const TraysApiFactory: (configuration?: Configuration, basePath?:
1039
1078
  * @throws {RequiredError}
1040
1079
  */
1041
1080
  printTrayLabels(requestParameters: TraysApiPrintTrayLabelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PrintBatch202Response>;
1081
+ /**
1082
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
1083
+ * @summary Suggest trays
1084
+ * @param {TraysApiSuggestTraysRequest} requestParameters Request parameters.
1085
+ * @param {*} [options] Override http request option.
1086
+ * @throws {RequiredError}
1087
+ */
1088
+ suggestTrays(requestParameters: TraysApiSuggestTraysRequest, options?: RawAxiosRequestConfig): AxiosPromise<SuggestTrays200Response>;
1042
1089
  /**
1043
1090
  * Update a tray of applications
1044
1091
  * @summary Update tray
@@ -1148,6 +1195,49 @@ export interface TraysApiPrintTrayLabelsRequest {
1148
1195
  */
1149
1196
  readonly trayIds?: Array<string>;
1150
1197
  }
1198
+ /**
1199
+ * Request parameters for suggestTrays operation in TraysApi.
1200
+ * @export
1201
+ * @interface TraysApiSuggestTraysRequest
1202
+ */
1203
+ export interface TraysApiSuggestTraysRequest {
1204
+ /**
1205
+ * What project it is
1206
+ * @type {string}
1207
+ * @memberof TraysApiSuggestTrays
1208
+ */
1209
+ readonly project: string;
1210
+ /**
1211
+ * Page reference token
1212
+ * @type {number}
1213
+ * @memberof TraysApiSuggestTrays
1214
+ */
1215
+ readonly pageToken?: number;
1216
+ /**
1217
+ * The number of results requested per request
1218
+ * @type {number}
1219
+ * @memberof TraysApiSuggestTrays
1220
+ */
1221
+ readonly pageSize?: number;
1222
+ /**
1223
+ * Unique identifier of a prefab application
1224
+ * @type {string}
1225
+ * @memberof TraysApiSuggestTrays
1226
+ */
1227
+ readonly prefabApplicationRef?: string;
1228
+ /**
1229
+ * Unique identifier of a catalog application. Requires quantity to be specified.
1230
+ * @type {string}
1231
+ * @memberof TraysApiSuggestTrays
1232
+ */
1233
+ readonly catalogApplicationRef?: string;
1234
+ /**
1235
+ * Quantity of the catalog application (required if catalogApplicationRef is provided)
1236
+ * @type {number}
1237
+ * @memberof TraysApiSuggestTrays
1238
+ */
1239
+ readonly quantity?: number;
1240
+ }
1151
1241
  /**
1152
1242
  * Request parameters for updateTray operation in TraysApi.
1153
1243
  * @export
@@ -1216,6 +1306,15 @@ export declare class TraysApi extends BaseAPI {
1216
1306
  * @memberof TraysApi
1217
1307
  */
1218
1308
  printTrayLabels(requestParameters: TraysApiPrintTrayLabelsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintBatch202Response, any>>;
1309
+ /**
1310
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
1311
+ * @summary Suggest trays
1312
+ * @param {TraysApiSuggestTraysRequest} requestParameters Request parameters.
1313
+ * @param {*} [options] Override http request option.
1314
+ * @throws {RequiredError}
1315
+ * @memberof TraysApi
1316
+ */
1317
+ suggestTrays(requestParameters: TraysApiSuggestTraysRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuggestTrays200Response, any>>;
1219
1318
  /**
1220
1319
  * Update a tray of applications
1221
1320
  * @summary Update tray
package/dist/esm/api.js 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.3.0
7
+ * The version of the OpenAPI document: 0.4.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -870,6 +870,62 @@ export const TraysApiAxiosParamCreator = function (configuration) {
870
870
  options: localVarRequestOptions,
871
871
  };
872
872
  }),
873
+ /**
874
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
875
+ * @summary Suggest trays
876
+ * @param {string} project What project it is
877
+ * @param {number} [pageToken] Page reference token
878
+ * @param {number} [pageSize] The number of results requested per request
879
+ * @param {string} [prefabApplicationRef] Unique identifier of a prefab application
880
+ * @param {string} [catalogApplicationRef] Unique identifier of a catalog application. Requires quantity to be specified.
881
+ * @param {number} [quantity] Quantity of the catalog application (required if catalogApplicationRef is provided)
882
+ * @param {*} [options] Override http request option.
883
+ * @throws {RequiredError}
884
+ */
885
+ suggestTrays: (project_1, pageToken_1, pageSize_1, prefabApplicationRef_1, catalogApplicationRef_1, quantity_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, prefabApplicationRef_1, catalogApplicationRef_1, quantity_1, ...args_1], void 0, function* (project, pageToken, pageSize, prefabApplicationRef, catalogApplicationRef, quantity, options = {}) {
886
+ // verify required parameter 'project' is not null or undefined
887
+ assertParamExists('suggestTrays', 'project', project);
888
+ const localVarPath = `/v1/warehouse/prefab-applications/trays/suggest`;
889
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
890
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
891
+ let baseOptions;
892
+ if (configuration) {
893
+ baseOptions = configuration.baseOptions;
894
+ }
895
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
896
+ const localVarHeaderParameter = {};
897
+ const localVarQueryParameter = {};
898
+ // authentication session-oauth required
899
+ // oauth required
900
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
901
+ // authentication api-key required
902
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
903
+ if (project !== undefined) {
904
+ localVarQueryParameter['project'] = project;
905
+ }
906
+ if (pageToken !== undefined) {
907
+ localVarQueryParameter['pageToken'] = pageToken;
908
+ }
909
+ if (pageSize !== undefined) {
910
+ localVarQueryParameter['pageSize'] = pageSize;
911
+ }
912
+ if (prefabApplicationRef !== undefined) {
913
+ localVarQueryParameter['prefabApplicationRef'] = prefabApplicationRef;
914
+ }
915
+ if (catalogApplicationRef !== undefined) {
916
+ localVarQueryParameter['catalogApplicationRef'] = catalogApplicationRef;
917
+ }
918
+ if (quantity !== undefined) {
919
+ localVarQueryParameter['quantity'] = quantity;
920
+ }
921
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
922
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
923
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
924
+ return {
925
+ url: toPathString(localVarUrlObj),
926
+ options: localVarRequestOptions,
927
+ };
928
+ }),
873
929
  /**
874
930
  * Update a tray of applications
875
931
  * @summary Update tray
@@ -996,6 +1052,27 @@ export const TraysApiFp = function (configuration) {
996
1052
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
997
1053
  });
998
1054
  },
1055
+ /**
1056
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
1057
+ * @summary Suggest trays
1058
+ * @param {string} project What project it is
1059
+ * @param {number} [pageToken] Page reference token
1060
+ * @param {number} [pageSize] The number of results requested per request
1061
+ * @param {string} [prefabApplicationRef] Unique identifier of a prefab application
1062
+ * @param {string} [catalogApplicationRef] Unique identifier of a catalog application. Requires quantity to be specified.
1063
+ * @param {number} [quantity] Quantity of the catalog application (required if catalogApplicationRef is provided)
1064
+ * @param {*} [options] Override http request option.
1065
+ * @throws {RequiredError}
1066
+ */
1067
+ suggestTrays(project, pageToken, pageSize, prefabApplicationRef, catalogApplicationRef, quantity, options) {
1068
+ return __awaiter(this, void 0, void 0, function* () {
1069
+ var _a, _b, _c;
1070
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.suggestTrays(project, pageToken, pageSize, prefabApplicationRef, catalogApplicationRef, quantity, options);
1071
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1072
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TraysApi.suggestTrays']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1073
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1074
+ });
1075
+ },
999
1076
  /**
1000
1077
  * Update a tray of applications
1001
1078
  * @summary Update tray
@@ -1063,6 +1140,16 @@ export const TraysApiFactory = function (configuration, basePath, axios) {
1063
1140
  printTrayLabels(requestParameters, options) {
1064
1141
  return localVarFp.printTrayLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.trayIds, options).then((request) => request(axios, basePath));
1065
1142
  },
1143
+ /**
1144
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
1145
+ * @summary Suggest trays
1146
+ * @param {TraysApiSuggestTraysRequest} requestParameters Request parameters.
1147
+ * @param {*} [options] Override http request option.
1148
+ * @throws {RequiredError}
1149
+ */
1150
+ suggestTrays(requestParameters, options) {
1151
+ return localVarFp.suggestTrays(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.prefabApplicationRef, requestParameters.catalogApplicationRef, requestParameters.quantity, options).then((request) => request(axios, basePath));
1152
+ },
1066
1153
  /**
1067
1154
  * Update a tray of applications
1068
1155
  * @summary Update tray
@@ -1126,6 +1213,17 @@ export class TraysApi extends BaseAPI {
1126
1213
  printTrayLabels(requestParameters, options) {
1127
1214
  return TraysApiFp(this.configuration).printTrayLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.trayIds, options).then((request) => request(this.axios, this.basePath));
1128
1215
  }
1216
+ /**
1217
+ * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
1218
+ * @summary Suggest trays
1219
+ * @param {TraysApiSuggestTraysRequest} requestParameters Request parameters.
1220
+ * @param {*} [options] Override http request option.
1221
+ * @throws {RequiredError}
1222
+ * @memberof TraysApi
1223
+ */
1224
+ suggestTrays(requestParameters, options) {
1225
+ return TraysApiFp(this.configuration).suggestTrays(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.prefabApplicationRef, requestParameters.catalogApplicationRef, requestParameters.quantity, options).then((request) => request(this.axios, this.basePath));
1226
+ }
1129
1227
  /**
1130
1228
  * Update a tray of applications
1131
1229
  * @summary Update tray
@@ -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.3.0
5
+ * The version of the OpenAPI document: 0.4.0
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
@@ -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.3.0
7
+ * The version of the OpenAPI document: 0.4.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.3.0
5
+ * The version of the OpenAPI document: 0.4.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.3.0
7
+ * The version of the OpenAPI document: 0.4.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.3.0
5
+ * The version of the OpenAPI document: 0.4.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.3.0
7
+ * The version of the OpenAPI document: 0.4.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.3.0
5
+ * The version of the OpenAPI document: 0.4.0
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
@@ -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.3.0
7
+ * The version of the OpenAPI document: 0.4.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/index.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.3.0
5
+ * The version of the OpenAPI document: 0.4.0
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
@@ -5,7 +5,7 @@
5
5
  * Warehouse Prefab Applications API
6
6
  * 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)
7
7
  *
8
- * The version of the OpenAPI document: 0.3.0
8
+ * The version of the OpenAPI document: 0.4.0
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
@@ -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.3.0
7
+ * The version of the OpenAPI document: 0.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/warehouse-prefab-applications",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "OpenAPI client for @teemill/warehouse-prefab-applications",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {