@emilgroup/document-sdk 1.46.0 → 1.46.1-beta.2
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/.openapi-generator/FILES +2 -1
- package/README.md +2 -2
- package/api/documents-api.ts +10 -8
- package/api/{default-api.ts → health-api.ts} +13 -13
- package/api/product-documents-api.ts +231 -30
- package/api.ts +2 -2
- package/dist/api/documents-api.d.ts +9 -8
- package/dist/api/documents-api.js +3 -3
- package/dist/api/{default-api.d.ts → health-api.d.ts} +10 -10
- package/dist/api/{default-api.js → health-api.js} +22 -22
- package/dist/api/product-documents-api.d.ts +145 -26
- package/dist/api/product-documents-api.js +146 -12
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/models/get-product-document-download-url-request-rest-dto.d.ts +29 -0
- package/dist/models/get-product-document-download-url-request-rest-dto.js +20 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/models/get-product-document-download-url-request-rest-dto.ts +38 -0
- package/models/index.ts +1 -0
- package/package.json +2 -2
|
@@ -150,7 +150,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
150
150
|
* @param {string} productSlug Product slug
|
|
151
151
|
* @param {string} code Product document code
|
|
152
152
|
* @param {string} [authorization] Bearer Token
|
|
153
|
-
* @param {
|
|
153
|
+
* @param {GetProductDocumentDownloadUrlRequestRestDto} [contentDisposition] Content disposition type
|
|
154
154
|
* @param {*} [options] Override http request option.
|
|
155
155
|
* @throws {RequiredError}
|
|
156
156
|
*/
|
|
@@ -267,7 +267,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
267
267
|
* @param {*} [options] Override http request option.
|
|
268
268
|
* @throws {RequiredError}
|
|
269
269
|
*/
|
|
270
|
-
|
|
270
|
+
listProductDocuments0: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
271
271
|
if (options === void 0) { options = {}; }
|
|
272
272
|
return __awaiter(_this, void 0, void 0, function () {
|
|
273
273
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -275,7 +275,83 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
275
275
|
switch (_a.label) {
|
|
276
276
|
case 0:
|
|
277
277
|
// verify required parameter 'productSlug' is not null or undefined
|
|
278
|
-
(0, common_1.assertParamExists)('
|
|
278
|
+
(0, common_1.assertParamExists)('listProductDocuments0', 'productSlug', productSlug);
|
|
279
|
+
localVarPath = "/documentservice/v1/product-documents"
|
|
280
|
+
.replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
|
|
281
|
+
localVarUrlObj = new 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
|
+
},
|
|
331
|
+
/**
|
|
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\"
|
|
333
|
+
* @summary List product documents
|
|
334
|
+
* @param {string} productSlug
|
|
335
|
+
* @param {string} [authorization] Bearer Token
|
|
336
|
+
* @param {number} [pageSize] Page size
|
|
337
|
+
* @param {string} [pageToken] Page token
|
|
338
|
+
* @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>
|
|
339
|
+
* @param {string} [search] Search query
|
|
340
|
+
* @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>
|
|
341
|
+
* @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/>
|
|
342
|
+
* @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>
|
|
343
|
+
* @param {*} [options] Override http request option.
|
|
344
|
+
* @throws {RequiredError}
|
|
345
|
+
*/
|
|
346
|
+
listProductDocuments1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
347
|
+
if (options === void 0) { options = {}; }
|
|
348
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
349
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
350
|
+
return __generator(this, function (_a) {
|
|
351
|
+
switch (_a.label) {
|
|
352
|
+
case 0:
|
|
353
|
+
// verify required parameter 'productSlug' is not null or undefined
|
|
354
|
+
(0, common_1.assertParamExists)('listProductDocuments1', 'productSlug', productSlug);
|
|
279
355
|
localVarPath = "/documentservice/v1/product-documents/{productSlug}"
|
|
280
356
|
.replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
|
|
281
357
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -419,7 +495,7 @@ var ProductDocumentsApiFp = function (configuration) {
|
|
|
419
495
|
* @param {string} productSlug Product slug
|
|
420
496
|
* @param {string} code Product document code
|
|
421
497
|
* @param {string} [authorization] Bearer Token
|
|
422
|
-
* @param {
|
|
498
|
+
* @param {GetProductDocumentDownloadUrlRequestRestDto} [contentDisposition] Content disposition type
|
|
423
499
|
* @param {*} [options] Override http request option.
|
|
424
500
|
* @throws {RequiredError}
|
|
425
501
|
*/
|
|
@@ -473,12 +549,40 @@ var ProductDocumentsApiFp = function (configuration) {
|
|
|
473
549
|
* @param {*} [options] Override http request option.
|
|
474
550
|
* @throws {RequiredError}
|
|
475
551
|
*/
|
|
476
|
-
|
|
552
|
+
listProductDocuments0: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
553
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
554
|
+
var localVarAxiosArgs;
|
|
555
|
+
return __generator(this, function (_a) {
|
|
556
|
+
switch (_a.label) {
|
|
557
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments0(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
558
|
+
case 1:
|
|
559
|
+
localVarAxiosArgs = _a.sent();
|
|
560
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
561
|
+
}
|
|
562
|
+
});
|
|
563
|
+
});
|
|
564
|
+
},
|
|
565
|
+
/**
|
|
566
|
+
* 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\"
|
|
567
|
+
* @summary List product documents
|
|
568
|
+
* @param {string} productSlug
|
|
569
|
+
* @param {string} [authorization] Bearer Token
|
|
570
|
+
* @param {number} [pageSize] Page size
|
|
571
|
+
* @param {string} [pageToken] Page token
|
|
572
|
+
* @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>
|
|
573
|
+
* @param {string} [search] Search query
|
|
574
|
+
* @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>
|
|
575
|
+
* @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/>
|
|
576
|
+
* @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>
|
|
577
|
+
* @param {*} [options] Override http request option.
|
|
578
|
+
* @throws {RequiredError}
|
|
579
|
+
*/
|
|
580
|
+
listProductDocuments1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
477
581
|
return __awaiter(this, void 0, void 0, function () {
|
|
478
582
|
var localVarAxiosArgs;
|
|
479
583
|
return __generator(this, function (_a) {
|
|
480
584
|
switch (_a.label) {
|
|
481
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
585
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
482
586
|
case 1:
|
|
483
587
|
localVarAxiosArgs = _a.sent();
|
|
484
588
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -536,7 +640,7 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
536
640
|
* @param {string} productSlug Product slug
|
|
537
641
|
* @param {string} code Product document code
|
|
538
642
|
* @param {string} [authorization] Bearer Token
|
|
539
|
-
* @param {
|
|
643
|
+
* @param {GetProductDocumentDownloadUrlRequestRestDto} [contentDisposition] Content disposition type
|
|
540
644
|
* @param {*} [options] Override http request option.
|
|
541
645
|
* @throws {RequiredError}
|
|
542
646
|
*/
|
|
@@ -570,8 +674,26 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
570
674
|
* @param {*} [options] Override http request option.
|
|
571
675
|
* @throws {RequiredError}
|
|
572
676
|
*/
|
|
573
|
-
|
|
574
|
-
return localVarFp.
|
|
677
|
+
listProductDocuments0: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
678
|
+
return localVarFp.listProductDocuments0(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
679
|
+
},
|
|
680
|
+
/**
|
|
681
|
+
* 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\"
|
|
682
|
+
* @summary List product documents
|
|
683
|
+
* @param {string} productSlug
|
|
684
|
+
* @param {string} [authorization] Bearer Token
|
|
685
|
+
* @param {number} [pageSize] Page size
|
|
686
|
+
* @param {string} [pageToken] Page token
|
|
687
|
+
* @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>
|
|
688
|
+
* @param {string} [search] Search query
|
|
689
|
+
* @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>
|
|
690
|
+
* @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/>
|
|
691
|
+
* @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>
|
|
692
|
+
* @param {*} [options] Override http request option.
|
|
693
|
+
* @throws {RequiredError}
|
|
694
|
+
*/
|
|
695
|
+
listProductDocuments1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
696
|
+
return localVarFp.listProductDocuments1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
575
697
|
},
|
|
576
698
|
/**
|
|
577
699
|
* Upload a product document. **Required Permissions** \"document-management.documents.update\"
|
|
@@ -638,14 +760,26 @@ var ProductDocumentsApi = /** @class */ (function (_super) {
|
|
|
638
760
|
/**
|
|
639
761
|
* 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\"
|
|
640
762
|
* @summary List product documents
|
|
641
|
-
* @param {
|
|
763
|
+
* @param {ProductDocumentsApiListProductDocuments0Request} requestParameters Request parameters.
|
|
764
|
+
* @param {*} [options] Override http request option.
|
|
765
|
+
* @throws {RequiredError}
|
|
766
|
+
* @memberof ProductDocumentsApi
|
|
767
|
+
*/
|
|
768
|
+
ProductDocumentsApi.prototype.listProductDocuments0 = function (requestParameters, options) {
|
|
769
|
+
var _this = this;
|
|
770
|
+
return (0, exports.ProductDocumentsApiFp)(this.configuration).listProductDocuments0(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); });
|
|
771
|
+
};
|
|
772
|
+
/**
|
|
773
|
+
* 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\"
|
|
774
|
+
* @summary List product documents
|
|
775
|
+
* @param {ProductDocumentsApiListProductDocuments1Request} requestParameters Request parameters.
|
|
642
776
|
* @param {*} [options] Override http request option.
|
|
643
777
|
* @throws {RequiredError}
|
|
644
778
|
* @memberof ProductDocumentsApi
|
|
645
779
|
*/
|
|
646
|
-
ProductDocumentsApi.prototype.
|
|
780
|
+
ProductDocumentsApi.prototype.listProductDocuments1 = function (requestParameters, options) {
|
|
647
781
|
var _this = this;
|
|
648
|
-
return (0, exports.ProductDocumentsApiFp)(this.configuration).
|
|
782
|
+
return (0, exports.ProductDocumentsApiFp)(this.configuration).listProductDocuments1(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); });
|
|
649
783
|
};
|
|
650
784
|
/**
|
|
651
785
|
* 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,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
|
+
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export * from './get-docx-template-download-url-response-class';
|
|
|
25
25
|
export * from './get-docx-template-response-class';
|
|
26
26
|
export * from './get-layout-request-dto';
|
|
27
27
|
export * from './get-layout-response-class';
|
|
28
|
+
export * from './get-product-document-download-url-request-rest-dto';
|
|
28
29
|
export * from './get-product-document-download-url-response-class';
|
|
29
30
|
export * from './get-product-document-response-class';
|
|
30
31
|
export * from './get-signed-s3-key-url-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -41,6 +41,7 @@ __exportStar(require("./get-docx-template-download-url-response-class"), exports
|
|
|
41
41
|
__exportStar(require("./get-docx-template-response-class"), exports);
|
|
42
42
|
__exportStar(require("./get-layout-request-dto"), exports);
|
|
43
43
|
__exportStar(require("./get-layout-response-class"), exports);
|
|
44
|
+
__exportStar(require("./get-product-document-download-url-request-rest-dto"), exports);
|
|
44
45
|
__exportStar(require("./get-product-document-download-url-response-class"), exports);
|
|
45
46
|
__exportStar(require("./get-product-document-response-class"), exports);
|
|
46
47
|
__exportStar(require("./get-signed-s3-key-url-response-class"), exports);
|
|
@@ -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
|
@@ -25,6 +25,7 @@ export * from './get-docx-template-download-url-response-class';
|
|
|
25
25
|
export * from './get-docx-template-response-class';
|
|
26
26
|
export * from './get-layout-request-dto';
|
|
27
27
|
export * from './get-layout-response-class';
|
|
28
|
+
export * from './get-product-document-download-url-request-rest-dto';
|
|
28
29
|
export * from './get-product-document-download-url-response-class';
|
|
29
30
|
export * from './get-product-document-response-class';
|
|
30
31
|
export * from './get-signed-s3-key-url-response-class';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/document-sdk",
|
|
3
|
-
"version": "1.46.
|
|
3
|
+
"version": "1.46.1-beta.2",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/document-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "
|
|
21
|
+
"axios": "1.12.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
|