@teemill/warehouse-prefab-applications 0.6.0 → 0.7.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.6.0
1
+ ## @teemill/warehouse-prefab-applications@0.7.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.6.0 --save
39
+ npm install @teemill/warehouse-prefab-applications@0.7.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.6.0
7
+ * The version of the OpenAPI document: 0.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -299,13 +299,13 @@ export interface PrefabApplicationCatalogApplication {
299
299
  /**
300
300
  *
301
301
  * @export
302
- * @interface PrintBatch202Response
302
+ * @interface PrintPrefabApplication202Response
303
303
  */
304
- export interface PrintBatch202Response {
304
+ export interface PrintPrefabApplication202Response {
305
305
  /**
306
306
  *
307
307
  * @type {string}
308
- * @memberof PrintBatch202Response
308
+ * @memberof PrintPrefabApplication202Response
309
309
  */
310
310
  'message'?: string;
311
311
  }
@@ -690,7 +690,7 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati
690
690
  },
691
691
  /**
692
692
  * Send print files to printer
693
- * @summary Print batch label
693
+ * @summary Print batch
694
694
  * @param {string} project What project it is
695
695
  * @param {string} batchId Batch ID
696
696
  * @param {string} deviceRef Unique identifier of a warehouse device
@@ -815,14 +815,14 @@ export const BatchesApiFp = function(configuration?: Configuration) {
815
815
  },
816
816
  /**
817
817
  * Send print files to printer
818
- * @summary Print batch label
818
+ * @summary Print batch
819
819
  * @param {string} project What project it is
820
820
  * @param {string} batchId Batch ID
821
821
  * @param {string} deviceRef Unique identifier of a warehouse device
822
822
  * @param {*} [options] Override http request option.
823
823
  * @throws {RequiredError}
824
824
  */
825
- async printBatch(project: string, batchId: string, deviceRef: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintBatch202Response>> {
825
+ async printBatch(project: string, batchId: string, deviceRef: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintPrefabApplication202Response>> {
826
826
  const localVarAxiosArgs = await localVarAxiosParamCreator.printBatch(project, batchId, deviceRef, options);
827
827
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
828
828
  const localVarOperationServerBasePath = operationServerMap['BatchesApi.printBatch']?.[localVarOperationServerIndex]?.url;
@@ -880,12 +880,12 @@ export const BatchesApiFactory = function (configuration?: Configuration, basePa
880
880
  },
881
881
  /**
882
882
  * Send print files to printer
883
- * @summary Print batch label
883
+ * @summary Print batch
884
884
  * @param {BatchesApiPrintBatchRequest} requestParameters Request parameters.
885
885
  * @param {*} [options] Override http request option.
886
886
  * @throws {RequiredError}
887
887
  */
888
- printBatch(requestParameters: BatchesApiPrintBatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<PrintBatch202Response> {
888
+ printBatch(requestParameters: BatchesApiPrintBatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<PrintPrefabApplication202Response> {
889
889
  return localVarFp.printBatch(requestParameters.project, requestParameters.batchId, requestParameters.deviceRef, options).then((request) => request(axios, basePath));
890
890
  },
891
891
  };
@@ -1088,7 +1088,7 @@ export class BatchesApi extends BaseAPI {
1088
1088
 
1089
1089
  /**
1090
1090
  * Send print files to printer
1091
- * @summary Print batch label
1091
+ * @summary Print batch
1092
1092
  * @param {BatchesApiPrintBatchRequest} requestParameters Request parameters.
1093
1093
  * @param {*} [options] Override http request option.
1094
1094
  * @throws {RequiredError}
@@ -1146,6 +1146,61 @@ export const PrefabApplicationsApiAxiosParamCreator = function (configuration?:
1146
1146
 
1147
1147
 
1148
1148
 
1149
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1150
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1151
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1152
+
1153
+ return {
1154
+ url: toPathString(localVarUrlObj),
1155
+ options: localVarRequestOptions,
1156
+ };
1157
+ },
1158
+ /**
1159
+ * Send print file to printer
1160
+ * @summary Print
1161
+ * @param {string} project What project it is
1162
+ * @param {string} prefabApplicationId Prefab Application ID
1163
+ * @param {string} deviceRef Unique identifier of a warehouse device
1164
+ * @param {*} [options] Override http request option.
1165
+ * @throws {RequiredError}
1166
+ */
1167
+ printPrefabApplication: async (project: string, prefabApplicationId: string, deviceRef: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1168
+ // verify required parameter 'project' is not null or undefined
1169
+ assertParamExists('printPrefabApplication', 'project', project)
1170
+ // verify required parameter 'prefabApplicationId' is not null or undefined
1171
+ assertParamExists('printPrefabApplication', 'prefabApplicationId', prefabApplicationId)
1172
+ // verify required parameter 'deviceRef' is not null or undefined
1173
+ assertParamExists('printPrefabApplication', 'deviceRef', deviceRef)
1174
+ const localVarPath = `/v1/warehouse/prefab-applications/{prefabApplicationId}/print`
1175
+ .replace(`{${"prefabApplicationId"}}`, encodeURIComponent(String(prefabApplicationId)));
1176
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1177
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1178
+ let baseOptions;
1179
+ if (configuration) {
1180
+ baseOptions = configuration.baseOptions;
1181
+ }
1182
+
1183
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1184
+ const localVarHeaderParameter = {} as any;
1185
+ const localVarQueryParameter = {} as any;
1186
+
1187
+ // authentication session-oauth required
1188
+ // oauth required
1189
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
1190
+
1191
+ // authentication api-key required
1192
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1193
+
1194
+ if (project !== undefined) {
1195
+ localVarQueryParameter['project'] = project;
1196
+ }
1197
+
1198
+ if (deviceRef !== undefined) {
1199
+ localVarQueryParameter['deviceRef'] = deviceRef;
1200
+ }
1201
+
1202
+
1203
+
1149
1204
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1150
1205
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1151
1206
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1233,6 +1288,21 @@ export const PrefabApplicationsApiFp = function(configuration?: Configuration) {
1233
1288
  const localVarOperationServerBasePath = operationServerMap['PrefabApplicationsApi.getPrefabApplication']?.[localVarOperationServerIndex]?.url;
1234
1289
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1235
1290
  },
1291
+ /**
1292
+ * Send print file to printer
1293
+ * @summary Print
1294
+ * @param {string} project What project it is
1295
+ * @param {string} prefabApplicationId Prefab Application ID
1296
+ * @param {string} deviceRef Unique identifier of a warehouse device
1297
+ * @param {*} [options] Override http request option.
1298
+ * @throws {RequiredError}
1299
+ */
1300
+ async printPrefabApplication(project: string, prefabApplicationId: string, deviceRef: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintPrefabApplication202Response>> {
1301
+ const localVarAxiosArgs = await localVarAxiosParamCreator.printPrefabApplication(project, prefabApplicationId, deviceRef, options);
1302
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1303
+ const localVarOperationServerBasePath = operationServerMap['PrefabApplicationsApi.printPrefabApplication']?.[localVarOperationServerIndex]?.url;
1304
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1305
+ },
1236
1306
  /**
1237
1307
  * Update a prefab application
1238
1308
  * @summary Update prefab application
@@ -1268,6 +1338,16 @@ export const PrefabApplicationsApiFactory = function (configuration?: Configurat
1268
1338
  getPrefabApplication(requestParameters: PrefabApplicationsApiGetPrefabApplicationRequest, options?: RawAxiosRequestConfig): AxiosPromise<PrefabApplication> {
1269
1339
  return localVarFp.getPrefabApplication(requestParameters.project, requestParameters.prefabApplicationId, options).then((request) => request(axios, basePath));
1270
1340
  },
1341
+ /**
1342
+ * Send print file to printer
1343
+ * @summary Print
1344
+ * @param {PrefabApplicationsApiPrintPrefabApplicationRequest} requestParameters Request parameters.
1345
+ * @param {*} [options] Override http request option.
1346
+ * @throws {RequiredError}
1347
+ */
1348
+ printPrefabApplication(requestParameters: PrefabApplicationsApiPrintPrefabApplicationRequest, options?: RawAxiosRequestConfig): AxiosPromise<PrintPrefabApplication202Response> {
1349
+ return localVarFp.printPrefabApplication(requestParameters.project, requestParameters.prefabApplicationId, requestParameters.deviceRef, options).then((request) => request(axios, basePath));
1350
+ },
1271
1351
  /**
1272
1352
  * Update a prefab application
1273
1353
  * @summary Update prefab application
@@ -1302,6 +1382,34 @@ export interface PrefabApplicationsApiGetPrefabApplicationRequest {
1302
1382
  readonly prefabApplicationId: string
1303
1383
  }
1304
1384
 
1385
+ /**
1386
+ * Request parameters for printPrefabApplication operation in PrefabApplicationsApi.
1387
+ * @export
1388
+ * @interface PrefabApplicationsApiPrintPrefabApplicationRequest
1389
+ */
1390
+ export interface PrefabApplicationsApiPrintPrefabApplicationRequest {
1391
+ /**
1392
+ * What project it is
1393
+ * @type {string}
1394
+ * @memberof PrefabApplicationsApiPrintPrefabApplication
1395
+ */
1396
+ readonly project: string
1397
+
1398
+ /**
1399
+ * Prefab Application ID
1400
+ * @type {string}
1401
+ * @memberof PrefabApplicationsApiPrintPrefabApplication
1402
+ */
1403
+ readonly prefabApplicationId: string
1404
+
1405
+ /**
1406
+ * Unique identifier of a warehouse device
1407
+ * @type {string}
1408
+ * @memberof PrefabApplicationsApiPrintPrefabApplication
1409
+ */
1410
+ readonly deviceRef: string
1411
+ }
1412
+
1305
1413
  /**
1306
1414
  * Request parameters for updatePrefabApplication operation in PrefabApplicationsApi.
1307
1415
  * @export
@@ -1349,6 +1457,18 @@ export class PrefabApplicationsApi extends BaseAPI {
1349
1457
  return PrefabApplicationsApiFp(this.configuration).getPrefabApplication(requestParameters.project, requestParameters.prefabApplicationId, options).then((request) => request(this.axios, this.basePath));
1350
1458
  }
1351
1459
 
1460
+ /**
1461
+ * Send print file to printer
1462
+ * @summary Print
1463
+ * @param {PrefabApplicationsApiPrintPrefabApplicationRequest} requestParameters Request parameters.
1464
+ * @param {*} [options] Override http request option.
1465
+ * @throws {RequiredError}
1466
+ * @memberof PrefabApplicationsApi
1467
+ */
1468
+ public printPrefabApplication(requestParameters: PrefabApplicationsApiPrintPrefabApplicationRequest, options?: RawAxiosRequestConfig) {
1469
+ return PrefabApplicationsApiFp(this.configuration).printPrefabApplication(requestParameters.project, requestParameters.prefabApplicationId, requestParameters.deviceRef, options).then((request) => request(this.axios, this.basePath));
1470
+ }
1471
+
1352
1472
  /**
1353
1473
  * Update a prefab application
1354
1474
  * @summary Update prefab application
@@ -1373,11 +1493,14 @@ export const TraysApiAxiosParamCreator = function (configuration?: Configuration
1373
1493
  /**
1374
1494
  * Create a tray
1375
1495
  * @summary Create tray
1496
+ * @param {string} project What project it is
1376
1497
  * @param {CreateTrayRequest} createTrayRequest Create a tray
1377
1498
  * @param {*} [options] Override http request option.
1378
1499
  * @throws {RequiredError}
1379
1500
  */
1380
- createTray: async (createTrayRequest: CreateTrayRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1501
+ createTray: async (project: string, createTrayRequest: CreateTrayRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1502
+ // verify required parameter 'project' is not null or undefined
1503
+ assertParamExists('createTray', 'project', project)
1381
1504
  // verify required parameter 'createTrayRequest' is not null or undefined
1382
1505
  assertParamExists('createTray', 'createTrayRequest', createTrayRequest)
1383
1506
  const localVarPath = `/v1/warehouse/prefab-applications/trays`;
@@ -1399,6 +1522,10 @@ export const TraysApiAxiosParamCreator = function (configuration?: Configuration
1399
1522
  // authentication api-key required
1400
1523
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1401
1524
 
1525
+ if (project !== undefined) {
1526
+ localVarQueryParameter['project'] = project;
1527
+ }
1528
+
1402
1529
 
1403
1530
 
1404
1531
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -1825,12 +1952,13 @@ export const TraysApiFp = function(configuration?: Configuration) {
1825
1952
  /**
1826
1953
  * Create a tray
1827
1954
  * @summary Create tray
1955
+ * @param {string} project What project it is
1828
1956
  * @param {CreateTrayRequest} createTrayRequest Create a tray
1829
1957
  * @param {*} [options] Override http request option.
1830
1958
  * @throws {RequiredError}
1831
1959
  */
1832
- async createTray(createTrayRequest: CreateTrayRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tray>> {
1833
- const localVarAxiosArgs = await localVarAxiosParamCreator.createTray(createTrayRequest, options);
1960
+ async createTray(project: string, createTrayRequest: CreateTrayRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tray>> {
1961
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createTray(project, createTrayRequest, options);
1834
1962
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1835
1963
  const localVarOperationServerBasePath = operationServerMap['TraysApi.createTray']?.[localVarOperationServerIndex]?.url;
1836
1964
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1905,7 +2033,7 @@ export const TraysApiFp = function(configuration?: Configuration) {
1905
2033
  * @param {*} [options] Override http request option.
1906
2034
  * @throws {RequiredError}
1907
2035
  */
1908
- async printTrayLabels(project: string, deviceRef: string, trayIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintBatch202Response>> {
2036
+ async printTrayLabels(project: string, deviceRef: string, trayIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintPrefabApplication202Response>> {
1909
2037
  const localVarAxiosArgs = await localVarAxiosParamCreator.printTrayLabels(project, deviceRef, trayIds, options);
1910
2038
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1911
2039
  const localVarOperationServerBasePath = operationServerMap['TraysApi.printTrayLabels']?.[localVarOperationServerIndex]?.url;
@@ -1962,7 +2090,7 @@ export const TraysApiFactory = function (configuration?: Configuration, basePath
1962
2090
  * @throws {RequiredError}
1963
2091
  */
1964
2092
  createTray(requestParameters: TraysApiCreateTrayRequest, options?: RawAxiosRequestConfig): AxiosPromise<Tray> {
1965
- return localVarFp.createTray(requestParameters.createTrayRequest, options).then((request) => request(axios, basePath));
2093
+ return localVarFp.createTray(requestParameters.project, requestParameters.createTrayRequest, options).then((request) => request(axios, basePath));
1966
2094
  },
1967
2095
  /**
1968
2096
  * Get a tray of applications
@@ -2011,7 +2139,7 @@ export const TraysApiFactory = function (configuration?: Configuration, basePath
2011
2139
  * @param {*} [options] Override http request option.
2012
2140
  * @throws {RequiredError}
2013
2141
  */
2014
- printTrayLabels(requestParameters: TraysApiPrintTrayLabelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PrintBatch202Response> {
2142
+ printTrayLabels(requestParameters: TraysApiPrintTrayLabelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PrintPrefabApplication202Response> {
2015
2143
  return localVarFp.printTrayLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.trayIds, options).then((request) => request(axios, basePath));
2016
2144
  },
2017
2145
  /**
@@ -2043,6 +2171,13 @@ export const TraysApiFactory = function (configuration?: Configuration, basePath
2043
2171
  * @interface TraysApiCreateTrayRequest
2044
2172
  */
2045
2173
  export interface TraysApiCreateTrayRequest {
2174
+ /**
2175
+ * What project it is
2176
+ * @type {string}
2177
+ * @memberof TraysApiCreateTray
2178
+ */
2179
+ readonly project: string
2180
+
2046
2181
  /**
2047
2182
  * Create a tray
2048
2183
  * @type {CreateTrayRequest}
@@ -2291,7 +2426,7 @@ export class TraysApi extends BaseAPI {
2291
2426
  * @memberof TraysApi
2292
2427
  */
2293
2428
  public createTray(requestParameters: TraysApiCreateTrayRequest, options?: RawAxiosRequestConfig) {
2294
- return TraysApiFp(this.configuration).createTray(requestParameters.createTrayRequest, options).then((request) => request(this.axios, this.basePath));
2429
+ return TraysApiFp(this.configuration).createTray(requestParameters.project, requestParameters.createTrayRequest, options).then((request) => request(this.axios, this.basePath));
2295
2430
  }
2296
2431
 
2297
2432
  /**
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.6.0
7
+ * The version of the OpenAPI document: 0.7.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.6.0
7
+ * The version of the OpenAPI document: 0.7.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.6.0
7
+ * The version of the OpenAPI document: 0.7.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.6.0
5
+ * The version of the OpenAPI document: 0.7.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -283,13 +283,13 @@ export interface PrefabApplicationCatalogApplication {
283
283
  /**
284
284
  *
285
285
  * @export
286
- * @interface PrintBatch202Response
286
+ * @interface PrintPrefabApplication202Response
287
287
  */
288
- export interface PrintBatch202Response {
288
+ export interface PrintPrefabApplication202Response {
289
289
  /**
290
290
  *
291
291
  * @type {string}
292
- * @memberof PrintBatch202Response
292
+ * @memberof PrintPrefabApplication202Response
293
293
  */
294
294
  'message'?: string;
295
295
  }
@@ -499,7 +499,7 @@ export declare const BatchesApiAxiosParamCreator: (configuration?: Configuration
499
499
  listBatches: (project: string, search?: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
500
500
  /**
501
501
  * Send print files to printer
502
- * @summary Print batch label
502
+ * @summary Print batch
503
503
  * @param {string} project What project it is
504
504
  * @param {string} batchId Batch ID
505
505
  * @param {string} deviceRef Unique identifier of a warehouse device
@@ -555,14 +555,14 @@ export declare const BatchesApiFp: (configuration?: Configuration) => {
555
555
  listBatches(project: string, search?: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBatches200Response>>;
556
556
  /**
557
557
  * Send print files to printer
558
- * @summary Print batch label
558
+ * @summary Print batch
559
559
  * @param {string} project What project it is
560
560
  * @param {string} batchId Batch ID
561
561
  * @param {string} deviceRef Unique identifier of a warehouse device
562
562
  * @param {*} [options] Override http request option.
563
563
  * @throws {RequiredError}
564
564
  */
565
- printBatch(project: string, batchId: string, deviceRef: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintBatch202Response>>;
565
+ printBatch(project: string, batchId: string, deviceRef: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintPrefabApplication202Response>>;
566
566
  };
567
567
  /**
568
568
  * BatchesApi - factory interface
@@ -603,12 +603,12 @@ export declare const BatchesApiFactory: (configuration?: Configuration, basePath
603
603
  listBatches(requestParameters: BatchesApiListBatchesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListBatches200Response>;
604
604
  /**
605
605
  * Send print files to printer
606
- * @summary Print batch label
606
+ * @summary Print batch
607
607
  * @param {BatchesApiPrintBatchRequest} requestParameters Request parameters.
608
608
  * @param {*} [options] Override http request option.
609
609
  * @throws {RequiredError}
610
610
  */
611
- printBatch(requestParameters: BatchesApiPrintBatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<PrintBatch202Response>;
611
+ printBatch(requestParameters: BatchesApiPrintBatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<PrintPrefabApplication202Response>;
612
612
  };
613
613
  /**
614
614
  * Request parameters for createBatch operation in BatchesApi.
@@ -780,13 +780,13 @@ export declare class BatchesApi extends BaseAPI {
780
780
  listBatches(requestParameters: BatchesApiListBatchesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBatches200Response, any>>;
781
781
  /**
782
782
  * Send print files to printer
783
- * @summary Print batch label
783
+ * @summary Print batch
784
784
  * @param {BatchesApiPrintBatchRequest} requestParameters Request parameters.
785
785
  * @param {*} [options] Override http request option.
786
786
  * @throws {RequiredError}
787
787
  * @memberof BatchesApi
788
788
  */
789
- printBatch(requestParameters: BatchesApiPrintBatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintBatch202Response, any>>;
789
+ printBatch(requestParameters: BatchesApiPrintBatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPrefabApplication202Response, any>>;
790
790
  }
791
791
  /**
792
792
  * PrefabApplicationsApi - axios parameter creator
@@ -802,6 +802,16 @@ export declare const PrefabApplicationsApiAxiosParamCreator: (configuration?: Co
802
802
  * @throws {RequiredError}
803
803
  */
804
804
  getPrefabApplication: (project: string, prefabApplicationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
805
+ /**
806
+ * Send print file to printer
807
+ * @summary Print
808
+ * @param {string} project What project it is
809
+ * @param {string} prefabApplicationId Prefab Application ID
810
+ * @param {string} deviceRef Unique identifier of a warehouse device
811
+ * @param {*} [options] Override http request option.
812
+ * @throws {RequiredError}
813
+ */
814
+ printPrefabApplication: (project: string, prefabApplicationId: string, deviceRef: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
805
815
  /**
806
816
  * Update a prefab application
807
817
  * @summary Update prefab application
@@ -827,6 +837,16 @@ export declare const PrefabApplicationsApiFp: (configuration?: Configuration) =>
827
837
  * @throws {RequiredError}
828
838
  */
829
839
  getPrefabApplication(project: string, prefabApplicationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrefabApplication>>;
840
+ /**
841
+ * Send print file to printer
842
+ * @summary Print
843
+ * @param {string} project What project it is
844
+ * @param {string} prefabApplicationId Prefab Application ID
845
+ * @param {string} deviceRef Unique identifier of a warehouse device
846
+ * @param {*} [options] Override http request option.
847
+ * @throws {RequiredError}
848
+ */
849
+ printPrefabApplication(project: string, prefabApplicationId: string, deviceRef: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintPrefabApplication202Response>>;
830
850
  /**
831
851
  * Update a prefab application
832
852
  * @summary Update prefab application
@@ -851,6 +871,14 @@ export declare const PrefabApplicationsApiFactory: (configuration?: Configuratio
851
871
  * @throws {RequiredError}
852
872
  */
853
873
  getPrefabApplication(requestParameters: PrefabApplicationsApiGetPrefabApplicationRequest, options?: RawAxiosRequestConfig): AxiosPromise<PrefabApplication>;
874
+ /**
875
+ * Send print file to printer
876
+ * @summary Print
877
+ * @param {PrefabApplicationsApiPrintPrefabApplicationRequest} requestParameters Request parameters.
878
+ * @param {*} [options] Override http request option.
879
+ * @throws {RequiredError}
880
+ */
881
+ printPrefabApplication(requestParameters: PrefabApplicationsApiPrintPrefabApplicationRequest, options?: RawAxiosRequestConfig): AxiosPromise<PrintPrefabApplication202Response>;
854
882
  /**
855
883
  * Update a prefab application
856
884
  * @summary Update prefab application
@@ -879,6 +907,31 @@ export interface PrefabApplicationsApiGetPrefabApplicationRequest {
879
907
  */
880
908
  readonly prefabApplicationId: string;
881
909
  }
910
+ /**
911
+ * Request parameters for printPrefabApplication operation in PrefabApplicationsApi.
912
+ * @export
913
+ * @interface PrefabApplicationsApiPrintPrefabApplicationRequest
914
+ */
915
+ export interface PrefabApplicationsApiPrintPrefabApplicationRequest {
916
+ /**
917
+ * What project it is
918
+ * @type {string}
919
+ * @memberof PrefabApplicationsApiPrintPrefabApplication
920
+ */
921
+ readonly project: string;
922
+ /**
923
+ * Prefab Application ID
924
+ * @type {string}
925
+ * @memberof PrefabApplicationsApiPrintPrefabApplication
926
+ */
927
+ readonly prefabApplicationId: string;
928
+ /**
929
+ * Unique identifier of a warehouse device
930
+ * @type {string}
931
+ * @memberof PrefabApplicationsApiPrintPrefabApplication
932
+ */
933
+ readonly deviceRef: string;
934
+ }
882
935
  /**
883
936
  * Request parameters for updatePrefabApplication operation in PrefabApplicationsApi.
884
937
  * @export
@@ -920,6 +973,15 @@ export declare class PrefabApplicationsApi extends BaseAPI {
920
973
  * @memberof PrefabApplicationsApi
921
974
  */
922
975
  getPrefabApplication(requestParameters: PrefabApplicationsApiGetPrefabApplicationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PrefabApplication, any>>;
976
+ /**
977
+ * Send print file to printer
978
+ * @summary Print
979
+ * @param {PrefabApplicationsApiPrintPrefabApplicationRequest} requestParameters Request parameters.
980
+ * @param {*} [options] Override http request option.
981
+ * @throws {RequiredError}
982
+ * @memberof PrefabApplicationsApi
983
+ */
984
+ printPrefabApplication(requestParameters: PrefabApplicationsApiPrintPrefabApplicationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPrefabApplication202Response, any>>;
923
985
  /**
924
986
  * Update a prefab application
925
987
  * @summary Update prefab application
@@ -938,11 +1000,12 @@ export declare const TraysApiAxiosParamCreator: (configuration?: Configuration)
938
1000
  /**
939
1001
  * Create a tray
940
1002
  * @summary Create tray
1003
+ * @param {string} project What project it is
941
1004
  * @param {CreateTrayRequest} createTrayRequest Create a tray
942
1005
  * @param {*} [options] Override http request option.
943
1006
  * @throws {RequiredError}
944
1007
  */
945
- createTray: (createTrayRequest: CreateTrayRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1008
+ createTray: (project: string, createTrayRequest: CreateTrayRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
946
1009
  /**
947
1010
  * Get a tray of applications
948
1011
  * @summary Get tray
@@ -1026,11 +1089,12 @@ export declare const TraysApiFp: (configuration?: Configuration) => {
1026
1089
  /**
1027
1090
  * Create a tray
1028
1091
  * @summary Create tray
1092
+ * @param {string} project What project it is
1029
1093
  * @param {CreateTrayRequest} createTrayRequest Create a tray
1030
1094
  * @param {*} [options] Override http request option.
1031
1095
  * @throws {RequiredError}
1032
1096
  */
1033
- createTray(createTrayRequest: CreateTrayRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tray>>;
1097
+ createTray(project: string, createTrayRequest: CreateTrayRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tray>>;
1034
1098
  /**
1035
1099
  * Get a tray of applications
1036
1100
  * @summary Get tray
@@ -1081,7 +1145,7 @@ export declare const TraysApiFp: (configuration?: Configuration) => {
1081
1145
  * @param {*} [options] Override http request option.
1082
1146
  * @throws {RequiredError}
1083
1147
  */
1084
- printTrayLabels(project: string, deviceRef: string, trayIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintBatch202Response>>;
1148
+ printTrayLabels(project: string, deviceRef: string, trayIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintPrefabApplication202Response>>;
1085
1149
  /**
1086
1150
  * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
1087
1151
  * @summary Suggest trays
@@ -1158,7 +1222,7 @@ export declare const TraysApiFactory: (configuration?: Configuration, basePath?:
1158
1222
  * @param {*} [options] Override http request option.
1159
1223
  * @throws {RequiredError}
1160
1224
  */
1161
- printTrayLabels(requestParameters: TraysApiPrintTrayLabelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PrintBatch202Response>;
1225
+ printTrayLabels(requestParameters: TraysApiPrintTrayLabelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PrintPrefabApplication202Response>;
1162
1226
  /**
1163
1227
  * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
1164
1228
  * @summary Suggest trays
@@ -1182,6 +1246,12 @@ export declare const TraysApiFactory: (configuration?: Configuration, basePath?:
1182
1246
  * @interface TraysApiCreateTrayRequest
1183
1247
  */
1184
1248
  export interface TraysApiCreateTrayRequest {
1249
+ /**
1250
+ * What project it is
1251
+ * @type {string}
1252
+ * @memberof TraysApiCreateTray
1253
+ */
1254
+ readonly project: string;
1185
1255
  /**
1186
1256
  * Create a tray
1187
1257
  * @type {CreateTrayRequest}
@@ -1448,7 +1518,7 @@ export declare class TraysApi extends BaseAPI {
1448
1518
  * @throws {RequiredError}
1449
1519
  * @memberof TraysApi
1450
1520
  */
1451
- printTrayLabels(requestParameters: TraysApiPrintTrayLabelsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintBatch202Response, any>>;
1521
+ printTrayLabels(requestParameters: TraysApiPrintTrayLabelsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPrefabApplication202Response, any>>;
1452
1522
  /**
1453
1523
  * Suggest trays based on either a prefabApplicationRef, or a catalogApplicationRef and a quantity. If catalogApplicationRef is provided, quantity must also be provided.
1454
1524
  * @summary Suggest trays