@emilgroup/document-sdk-node 1.44.1-beta.3 → 1.44.1-beta.31

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.
@@ -154,7 +154,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
154
154
  * @param {string} productSlug Product slug
155
155
  * @param {string} code Product document code
156
156
  * @param {string} [authorization] Bearer Token
157
- * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
157
+ * @param {GetProductDocumentDownloadUrlRequestRestDto} [contentDisposition] Content disposition type
158
158
  * @param {*} [options] Override http request option.
159
159
  * @throws {RequiredError}
160
160
  */
@@ -256,6 +256,78 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
256
256
  });
257
257
  });
258
258
  },
259
+ /**
260
+ * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
261
+ * @summary List product documents
262
+ * @param {string} [authorization] Bearer Token
263
+ * @param {number} [pageSize] Page size
264
+ * @param {string} [pageToken] Page token
265
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, productSlug, productCode, type, createdAt, slug</i>
266
+ * @param {string} [search] Search query
267
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, filename</i>
268
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
269
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, productSlug, productCode, type, createdAt, slug</i>
270
+ * @param {*} [options] Override http request option.
271
+ * @throws {RequiredError}
272
+ */
273
+ listProductDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
274
+ if (options === void 0) { options = {}; }
275
+ return __awaiter(_this, void 0, void 0, function () {
276
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
277
+ return __generator(this, function (_a) {
278
+ switch (_a.label) {
279
+ case 0:
280
+ localVarPath = "/documentservice/v1/product-documents";
281
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
282
+ if (configuration) {
283
+ baseOptions = configuration.baseOptions;
284
+ baseAccessToken = configuration.accessToken;
285
+ }
286
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
287
+ localVarHeaderParameter = {};
288
+ localVarQueryParameter = {};
289
+ // authentication bearer required
290
+ // http bearer authentication required
291
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
292
+ case 1:
293
+ // authentication bearer required
294
+ // http bearer authentication required
295
+ _a.sent();
296
+ if (pageSize !== undefined) {
297
+ localVarQueryParameter['pageSize'] = pageSize;
298
+ }
299
+ if (pageToken !== undefined) {
300
+ localVarQueryParameter['pageToken'] = pageToken;
301
+ }
302
+ if (filter !== undefined) {
303
+ localVarQueryParameter['filter'] = filter;
304
+ }
305
+ if (search !== undefined) {
306
+ localVarQueryParameter['search'] = search;
307
+ }
308
+ if (order !== undefined) {
309
+ localVarQueryParameter['order'] = order;
310
+ }
311
+ if (expand !== undefined) {
312
+ localVarQueryParameter['expand'] = expand;
313
+ }
314
+ if (filters !== undefined) {
315
+ localVarQueryParameter['filters'] = filters;
316
+ }
317
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
318
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
319
+ }
320
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
321
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
322
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
323
+ return [2 /*return*/, {
324
+ url: (0, common_1.toPathString)(localVarUrlObj),
325
+ options: localVarRequestOptions,
326
+ }];
327
+ }
328
+ });
329
+ });
330
+ },
259
331
  /**
260
332
  * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
261
333
  * @summary List product documents
@@ -271,7 +343,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
271
343
  * @param {*} [options] Override http request option.
272
344
  * @throws {RequiredError}
273
345
  */
274
- listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
346
+ listProductDocumentsByProduct: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
275
347
  if (options === void 0) { options = {}; }
276
348
  return __awaiter(_this, void 0, void 0, function () {
277
349
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -279,7 +351,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
279
351
  switch (_a.label) {
280
352
  case 0:
281
353
  // verify required parameter 'productSlug' is not null or undefined
282
- (0, common_1.assertParamExists)('listProductDocuments', 'productSlug', productSlug);
354
+ (0, common_1.assertParamExists)('listProductDocumentsByProduct', 'productSlug', productSlug);
283
355
  localVarPath = "/documentservice/v1/product-documents/{productSlug}"
284
356
  .replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
285
357
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -423,7 +495,7 @@ var ProductDocumentsApiFp = function (configuration) {
423
495
  * @param {string} productSlug Product slug
424
496
  * @param {string} code Product document code
425
497
  * @param {string} [authorization] Bearer Token
426
- * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
498
+ * @param {GetProductDocumentDownloadUrlRequestRestDto} [contentDisposition] Content disposition type
427
499
  * @param {*} [options] Override http request option.
428
500
  * @throws {RequiredError}
429
501
  */
@@ -462,6 +534,33 @@ var ProductDocumentsApiFp = function (configuration) {
462
534
  });
463
535
  });
464
536
  },
537
+ /**
538
+ * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
539
+ * @summary List product documents
540
+ * @param {string} [authorization] Bearer Token
541
+ * @param {number} [pageSize] Page size
542
+ * @param {string} [pageToken] Page token
543
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, productSlug, productCode, type, createdAt, slug</i>
544
+ * @param {string} [search] Search query
545
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, filename</i>
546
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
547
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, productSlug, productCode, type, createdAt, slug</i>
548
+ * @param {*} [options] Override http request option.
549
+ * @throws {RequiredError}
550
+ */
551
+ listProductDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
552
+ return __awaiter(this, void 0, void 0, function () {
553
+ var localVarAxiosArgs;
554
+ return __generator(this, function (_a) {
555
+ switch (_a.label) {
556
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
557
+ case 1:
558
+ localVarAxiosArgs = _a.sent();
559
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
560
+ }
561
+ });
562
+ });
563
+ },
465
564
  /**
466
565
  * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
467
566
  * @summary List product documents
@@ -477,12 +576,12 @@ var ProductDocumentsApiFp = function (configuration) {
477
576
  * @param {*} [options] Override http request option.
478
577
  * @throws {RequiredError}
479
578
  */
480
- listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
579
+ listProductDocumentsByProduct: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
481
580
  return __awaiter(this, void 0, void 0, function () {
482
581
  var localVarAxiosArgs;
483
582
  return __generator(this, function (_a) {
484
583
  switch (_a.label) {
485
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
584
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocumentsByProduct(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
486
585
  case 1:
487
586
  localVarAxiosArgs = _a.sent();
488
587
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -540,7 +639,7 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
540
639
  * @param {string} productSlug Product slug
541
640
  * @param {string} code Product document code
542
641
  * @param {string} [authorization] Bearer Token
543
- * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
642
+ * @param {GetProductDocumentDownloadUrlRequestRestDto} [contentDisposition] Content disposition type
544
643
  * @param {*} [options] Override http request option.
545
644
  * @throws {RequiredError}
546
645
  */
@@ -559,6 +658,23 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
559
658
  getProductDocument: function (productSlug, code, authorization, options) {
560
659
  return localVarFp.getProductDocument(productSlug, code, authorization, options).then(function (request) { return request(axios, basePath); });
561
660
  },
661
+ /**
662
+ * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
663
+ * @summary List product documents
664
+ * @param {string} [authorization] Bearer Token
665
+ * @param {number} [pageSize] Page size
666
+ * @param {string} [pageToken] Page token
667
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, productSlug, productCode, type, createdAt, slug</i>
668
+ * @param {string} [search] Search query
669
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, filename</i>
670
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
671
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, productSlug, productCode, type, createdAt, slug</i>
672
+ * @param {*} [options] Override http request option.
673
+ * @throws {RequiredError}
674
+ */
675
+ listProductDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
676
+ return localVarFp.listProductDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
677
+ },
562
678
  /**
563
679
  * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
564
680
  * @summary List product documents
@@ -574,8 +690,8 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
574
690
  * @param {*} [options] Override http request option.
575
691
  * @throws {RequiredError}
576
692
  */
577
- listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
578
- return localVarFp.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
693
+ listProductDocumentsByProduct: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
694
+ return localVarFp.listProductDocumentsByProduct(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
579
695
  },
580
696
  /**
581
697
  * Upload a product document. **Required Permissions** \"document-management.documents.update\"
@@ -649,7 +765,20 @@ var ProductDocumentsApi = /** @class */ (function (_super) {
649
765
  */
650
766
  ProductDocumentsApi.prototype.listProductDocuments = function (requestParameters, options) {
651
767
  var _this = this;
652
- return (0, exports.ProductDocumentsApiFp)(this.configuration).listProductDocuments(requestParameters.productSlug, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
768
+ if (requestParameters === void 0) { requestParameters = {}; }
769
+ return (0, exports.ProductDocumentsApiFp)(this.configuration).listProductDocuments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
770
+ };
771
+ /**
772
+ * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
773
+ * @summary List product documents
774
+ * @param {ProductDocumentsApiListProductDocumentsByProductRequest} requestParameters Request parameters.
775
+ * @param {*} [options] Override http request option.
776
+ * @throws {RequiredError}
777
+ * @memberof ProductDocumentsApi
778
+ */
779
+ ProductDocumentsApi.prototype.listProductDocumentsByProduct = function (requestParameters, options) {
780
+ var _this = this;
781
+ return (0, exports.ProductDocumentsApiFp)(this.configuration).listProductDocumentsByProduct(requestParameters.productSlug, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
653
782
  };
654
783
  /**
655
784
  * Upload a product document. **Required Permissions** \"document-management.documents.update\"
package/dist/api.d.ts CHANGED
@@ -9,10 +9,10 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export * from './api/default-api';
13
12
  export * from './api/document-templates-api';
14
13
  export * from './api/documents-api';
15
14
  export * from './api/docx-templates-api';
15
+ export * from './api/health-api';
16
16
  export * from './api/layouts-api';
17
17
  export * from './api/product-documents-api';
18
18
  export * from './api/search-keywords-api';
package/dist/api.js CHANGED
@@ -27,10 +27,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
- __exportStar(require("./api/default-api"), exports);
31
30
  __exportStar(require("./api/document-templates-api"), exports);
32
31
  __exportStar(require("./api/documents-api"), exports);
33
32
  __exportStar(require("./api/docx-templates-api"), exports);
33
+ __exportStar(require("./api/health-api"), exports);
34
34
  __exportStar(require("./api/layouts-api"), exports);
35
35
  __exportStar(require("./api/product-documents-api"), exports);
36
36
  __exportStar(require("./api/search-keywords-api"), exports);
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { DocumentClass } from './document-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateQrBillDocumentResponseClass
17
+ */
18
+ export interface CreateQrBillDocumentResponseClass {
19
+ /**
20
+ * The generated QR bill PDF document
21
+ * @type {DocumentClass}
22
+ * @memberof CreateQrBillDocumentResponseClass
23
+ */
24
+ 'document': DocumentClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,29 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface GetProductDocumentDownloadUrlRequestRestDto
16
+ */
17
+ export interface GetProductDocumentDownloadUrlRequestRestDto {
18
+ /**
19
+ * Content disposition override. Default will be depending on the document type.
20
+ * @type {string}
21
+ * @memberof GetProductDocumentDownloadUrlRequestRestDto
22
+ */
23
+ 'contentDisposition'?: GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum;
24
+ }
25
+ export declare const GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum: {
26
+ readonly Attachment: "attachment";
27
+ readonly Inline: "inline";
28
+ };
29
+ export type GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum = typeof GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum[keyof typeof GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum = void 0;
17
+ exports.GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum = {
18
+ Attachment: 'attachment',
19
+ Inline: 'inline'
20
+ };
@@ -8,6 +8,7 @@ export * from './create-layout-response-class';
8
8
  export * from './create-presigned-post-request-dto';
9
9
  export * from './create-presigned-post-response-class';
10
10
  export * from './create-qr-bill-document-request-dto';
11
+ export * from './create-qr-bill-document-response-class';
11
12
  export * from './delete-layout-request-dto';
12
13
  export * from './delete-product-document-request-dto';
13
14
  export * from './delete-request-dto';
@@ -25,6 +26,7 @@ export * from './get-docx-template-download-url-response-class';
25
26
  export * from './get-docx-template-response-class';
26
27
  export * from './get-layout-request-dto';
27
28
  export * from './get-layout-response-class';
29
+ export * from './get-product-document-download-url-request-rest-dto';
28
30
  export * from './get-product-document-download-url-response-class';
29
31
  export * from './get-product-document-response-class';
30
32
  export * from './get-signed-s3-key-url-response-class';
@@ -24,6 +24,7 @@ __exportStar(require("./create-layout-response-class"), exports);
24
24
  __exportStar(require("./create-presigned-post-request-dto"), exports);
25
25
  __exportStar(require("./create-presigned-post-response-class"), exports);
26
26
  __exportStar(require("./create-qr-bill-document-request-dto"), exports);
27
+ __exportStar(require("./create-qr-bill-document-response-class"), exports);
27
28
  __exportStar(require("./delete-layout-request-dto"), exports);
28
29
  __exportStar(require("./delete-product-document-request-dto"), exports);
29
30
  __exportStar(require("./delete-request-dto"), exports);
@@ -41,6 +42,7 @@ __exportStar(require("./get-docx-template-download-url-response-class"), exports
41
42
  __exportStar(require("./get-docx-template-response-class"), exports);
42
43
  __exportStar(require("./get-layout-request-dto"), exports);
43
44
  __exportStar(require("./get-layout-response-class"), exports);
45
+ __exportStar(require("./get-product-document-download-url-request-rest-dto"), exports);
44
46
  __exportStar(require("./get-product-document-download-url-response-class"), exports);
45
47
  __exportStar(require("./get-product-document-response-class"), exports);
46
48
  __exportStar(require("./get-signed-s3-key-url-response-class"), exports);
@@ -58,18 +58,6 @@ export interface LayoutClass {
58
58
  * @memberof LayoutClass
59
59
  */
60
60
  'footerTemplate': HtmlTemplateClass;
61
- /**
62
- * Time at which the object was created.
63
- * @type {string}
64
- * @memberof LayoutClass
65
- */
66
- 'createdAt': string;
67
- /**
68
- * Time at which the object was updated.
69
- * @type {string}
70
- * @memberof LayoutClass
71
- */
72
- 'updatedAt': string;
73
61
  /**
74
62
  * Time at which the layout was deleted.
75
63
  * @type {string}
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL DocumentService
5
+ * The EMIL DocumentService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { DocumentClass } from './document-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateQrBillDocumentResponseClass
22
+ */
23
+ export interface CreateQrBillDocumentResponseClass {
24
+ /**
25
+ * The generated QR bill PDF document
26
+ * @type {DocumentClass}
27
+ * @memberof CreateQrBillDocumentResponseClass
28
+ */
29
+ 'document': DocumentClass;
30
+ }
31
+
@@ -0,0 +1,38 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL DocumentService
5
+ * The EMIL DocumentService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface GetProductDocumentDownloadUrlRequestRestDto
21
+ */
22
+ export interface GetProductDocumentDownloadUrlRequestRestDto {
23
+ /**
24
+ * Content disposition override. Default will be depending on the document type.
25
+ * @type {string}
26
+ * @memberof GetProductDocumentDownloadUrlRequestRestDto
27
+ */
28
+ 'contentDisposition'?: GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum;
29
+ }
30
+
31
+ export const GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum = {
32
+ Attachment: 'attachment',
33
+ Inline: 'inline'
34
+ } as const;
35
+
36
+ export type GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum = typeof GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum[keyof typeof GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum];
37
+
38
+
package/models/index.ts CHANGED
@@ -8,6 +8,7 @@ export * from './create-layout-response-class';
8
8
  export * from './create-presigned-post-request-dto';
9
9
  export * from './create-presigned-post-response-class';
10
10
  export * from './create-qr-bill-document-request-dto';
11
+ export * from './create-qr-bill-document-response-class';
11
12
  export * from './delete-layout-request-dto';
12
13
  export * from './delete-product-document-request-dto';
13
14
  export * from './delete-request-dto';
@@ -25,6 +26,7 @@ export * from './get-docx-template-download-url-response-class';
25
26
  export * from './get-docx-template-response-class';
26
27
  export * from './get-layout-request-dto';
27
28
  export * from './get-layout-response-class';
29
+ export * from './get-product-document-download-url-request-rest-dto';
28
30
  export * from './get-product-document-download-url-response-class';
29
31
  export * from './get-product-document-response-class';
30
32
  export * from './get-signed-s3-key-url-response-class';
@@ -63,18 +63,6 @@ export interface LayoutClass {
63
63
  * @memberof LayoutClass
64
64
  */
65
65
  'footerTemplate': HtmlTemplateClass;
66
- /**
67
- * Time at which the object was created.
68
- * @type {string}
69
- * @memberof LayoutClass
70
- */
71
- 'createdAt': string;
72
- /**
73
- * Time at which the object was updated.
74
- * @type {string}
75
- * @memberof LayoutClass
76
- */
77
- 'updatedAt': string;
78
66
  /**
79
67
  * Time at which the layout was deleted.
80
68
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/document-sdk-node",
3
- "version": "1.44.1-beta.3",
3
+ "version": "1.44.1-beta.31",
4
4
  "description": "OpenAPI client for @emilgroup/document-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [