@emilgroup/document-sdk-node 1.43.0 → 1.44.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/create-document-request-dto.d.ts +6 -0
- package/dist/models/create-presigned-post-request-dto.d.ts +6 -0
- package/dist/models/document-class.d.ts +6 -0
- 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/create-document-request-dto.ts +6 -0
- package/models/create-presigned-post-request-dto.ts +6 -0
- package/models/document-class.ts +6 -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
|
@@ -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 {
|
|
157
|
+
* @param {GetProductDocumentDownloadUrlRequestRestDto} [contentDisposition] Content disposition type
|
|
158
158
|
* @param {*} [options] Override http request option.
|
|
159
159
|
* @throws {RequiredError}
|
|
160
160
|
*/
|
|
@@ -271,7 +271,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
271
271
|
* @param {*} [options] Override http request option.
|
|
272
272
|
* @throws {RequiredError}
|
|
273
273
|
*/
|
|
274
|
-
|
|
274
|
+
listProductDocuments0: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
275
275
|
if (options === void 0) { options = {}; }
|
|
276
276
|
return __awaiter(_this, void 0, void 0, function () {
|
|
277
277
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -279,7 +279,83 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
279
279
|
switch (_a.label) {
|
|
280
280
|
case 0:
|
|
281
281
|
// verify required parameter 'productSlug' is not null or undefined
|
|
282
|
-
(0, common_1.assertParamExists)('
|
|
282
|
+
(0, common_1.assertParamExists)('listProductDocuments0', 'productSlug', productSlug);
|
|
283
|
+
localVarPath = "/documentservice/v1/product-documents"
|
|
284
|
+
.replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
|
|
285
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
286
|
+
if (configuration) {
|
|
287
|
+
baseOptions = configuration.baseOptions;
|
|
288
|
+
baseAccessToken = configuration.accessToken;
|
|
289
|
+
}
|
|
290
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
291
|
+
localVarHeaderParameter = {};
|
|
292
|
+
localVarQueryParameter = {};
|
|
293
|
+
// authentication bearer required
|
|
294
|
+
// http bearer authentication required
|
|
295
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
296
|
+
case 1:
|
|
297
|
+
// authentication bearer required
|
|
298
|
+
// http bearer authentication required
|
|
299
|
+
_a.sent();
|
|
300
|
+
if (pageSize !== undefined) {
|
|
301
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
302
|
+
}
|
|
303
|
+
if (pageToken !== undefined) {
|
|
304
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
305
|
+
}
|
|
306
|
+
if (filter !== undefined) {
|
|
307
|
+
localVarQueryParameter['filter'] = filter;
|
|
308
|
+
}
|
|
309
|
+
if (search !== undefined) {
|
|
310
|
+
localVarQueryParameter['search'] = search;
|
|
311
|
+
}
|
|
312
|
+
if (order !== undefined) {
|
|
313
|
+
localVarQueryParameter['order'] = order;
|
|
314
|
+
}
|
|
315
|
+
if (expand !== undefined) {
|
|
316
|
+
localVarQueryParameter['expand'] = expand;
|
|
317
|
+
}
|
|
318
|
+
if (filters !== undefined) {
|
|
319
|
+
localVarQueryParameter['filters'] = filters;
|
|
320
|
+
}
|
|
321
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
322
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
323
|
+
}
|
|
324
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
325
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
326
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
327
|
+
return [2 /*return*/, {
|
|
328
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
329
|
+
options: localVarRequestOptions,
|
|
330
|
+
}];
|
|
331
|
+
}
|
|
332
|
+
});
|
|
333
|
+
});
|
|
334
|
+
},
|
|
335
|
+
/**
|
|
336
|
+
* 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\"
|
|
337
|
+
* @summary List product documents
|
|
338
|
+
* @param {string} productSlug
|
|
339
|
+
* @param {string} [authorization] Bearer Token
|
|
340
|
+
* @param {number} [pageSize] Page size
|
|
341
|
+
* @param {string} [pageToken] Page token
|
|
342
|
+
* @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>
|
|
343
|
+
* @param {string} [search] Search query
|
|
344
|
+
* @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>
|
|
345
|
+
* @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/>
|
|
346
|
+
* @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>
|
|
347
|
+
* @param {*} [options] Override http request option.
|
|
348
|
+
* @throws {RequiredError}
|
|
349
|
+
*/
|
|
350
|
+
listProductDocuments1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
351
|
+
if (options === void 0) { options = {}; }
|
|
352
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
353
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
354
|
+
return __generator(this, function (_a) {
|
|
355
|
+
switch (_a.label) {
|
|
356
|
+
case 0:
|
|
357
|
+
// verify required parameter 'productSlug' is not null or undefined
|
|
358
|
+
(0, common_1.assertParamExists)('listProductDocuments1', 'productSlug', productSlug);
|
|
283
359
|
localVarPath = "/documentservice/v1/product-documents/{productSlug}"
|
|
284
360
|
.replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
|
|
285
361
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -423,7 +499,7 @@ var ProductDocumentsApiFp = function (configuration) {
|
|
|
423
499
|
* @param {string} productSlug Product slug
|
|
424
500
|
* @param {string} code Product document code
|
|
425
501
|
* @param {string} [authorization] Bearer Token
|
|
426
|
-
* @param {
|
|
502
|
+
* @param {GetProductDocumentDownloadUrlRequestRestDto} [contentDisposition] Content disposition type
|
|
427
503
|
* @param {*} [options] Override http request option.
|
|
428
504
|
* @throws {RequiredError}
|
|
429
505
|
*/
|
|
@@ -477,12 +553,40 @@ var ProductDocumentsApiFp = function (configuration) {
|
|
|
477
553
|
* @param {*} [options] Override http request option.
|
|
478
554
|
* @throws {RequiredError}
|
|
479
555
|
*/
|
|
480
|
-
|
|
556
|
+
listProductDocuments0: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
557
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
558
|
+
var localVarAxiosArgs;
|
|
559
|
+
return __generator(this, function (_a) {
|
|
560
|
+
switch (_a.label) {
|
|
561
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments0(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
562
|
+
case 1:
|
|
563
|
+
localVarAxiosArgs = _a.sent();
|
|
564
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
565
|
+
}
|
|
566
|
+
});
|
|
567
|
+
});
|
|
568
|
+
},
|
|
569
|
+
/**
|
|
570
|
+
* 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\"
|
|
571
|
+
* @summary List product documents
|
|
572
|
+
* @param {string} productSlug
|
|
573
|
+
* @param {string} [authorization] Bearer Token
|
|
574
|
+
* @param {number} [pageSize] Page size
|
|
575
|
+
* @param {string} [pageToken] Page token
|
|
576
|
+
* @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>
|
|
577
|
+
* @param {string} [search] Search query
|
|
578
|
+
* @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>
|
|
579
|
+
* @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/>
|
|
580
|
+
* @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>
|
|
581
|
+
* @param {*} [options] Override http request option.
|
|
582
|
+
* @throws {RequiredError}
|
|
583
|
+
*/
|
|
584
|
+
listProductDocuments1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
481
585
|
return __awaiter(this, void 0, void 0, function () {
|
|
482
586
|
var localVarAxiosArgs;
|
|
483
587
|
return __generator(this, function (_a) {
|
|
484
588
|
switch (_a.label) {
|
|
485
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
589
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
486
590
|
case 1:
|
|
487
591
|
localVarAxiosArgs = _a.sent();
|
|
488
592
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -540,7 +644,7 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
540
644
|
* @param {string} productSlug Product slug
|
|
541
645
|
* @param {string} code Product document code
|
|
542
646
|
* @param {string} [authorization] Bearer Token
|
|
543
|
-
* @param {
|
|
647
|
+
* @param {GetProductDocumentDownloadUrlRequestRestDto} [contentDisposition] Content disposition type
|
|
544
648
|
* @param {*} [options] Override http request option.
|
|
545
649
|
* @throws {RequiredError}
|
|
546
650
|
*/
|
|
@@ -574,8 +678,26 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
574
678
|
* @param {*} [options] Override http request option.
|
|
575
679
|
* @throws {RequiredError}
|
|
576
680
|
*/
|
|
577
|
-
|
|
578
|
-
return localVarFp.
|
|
681
|
+
listProductDocuments0: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
682
|
+
return localVarFp.listProductDocuments0(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
683
|
+
},
|
|
684
|
+
/**
|
|
685
|
+
* 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\"
|
|
686
|
+
* @summary List product documents
|
|
687
|
+
* @param {string} productSlug
|
|
688
|
+
* @param {string} [authorization] Bearer Token
|
|
689
|
+
* @param {number} [pageSize] Page size
|
|
690
|
+
* @param {string} [pageToken] Page token
|
|
691
|
+
* @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>
|
|
692
|
+
* @param {string} [search] Search query
|
|
693
|
+
* @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>
|
|
694
|
+
* @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/>
|
|
695
|
+
* @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>
|
|
696
|
+
* @param {*} [options] Override http request option.
|
|
697
|
+
* @throws {RequiredError}
|
|
698
|
+
*/
|
|
699
|
+
listProductDocuments1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
700
|
+
return localVarFp.listProductDocuments1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
579
701
|
},
|
|
580
702
|
/**
|
|
581
703
|
* Upload a product document. **Required Permissions** \"document-management.documents.update\"
|
|
@@ -642,14 +764,26 @@ var ProductDocumentsApi = /** @class */ (function (_super) {
|
|
|
642
764
|
/**
|
|
643
765
|
* 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\"
|
|
644
766
|
* @summary List product documents
|
|
645
|
-
* @param {
|
|
767
|
+
* @param {ProductDocumentsApiListProductDocuments0Request} requestParameters Request parameters.
|
|
768
|
+
* @param {*} [options] Override http request option.
|
|
769
|
+
* @throws {RequiredError}
|
|
770
|
+
* @memberof ProductDocumentsApi
|
|
771
|
+
*/
|
|
772
|
+
ProductDocumentsApi.prototype.listProductDocuments0 = function (requestParameters, options) {
|
|
773
|
+
var _this = this;
|
|
774
|
+
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); });
|
|
775
|
+
};
|
|
776
|
+
/**
|
|
777
|
+
* 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\"
|
|
778
|
+
* @summary List product documents
|
|
779
|
+
* @param {ProductDocumentsApiListProductDocuments1Request} requestParameters Request parameters.
|
|
646
780
|
* @param {*} [options] Override http request option.
|
|
647
781
|
* @throws {RequiredError}
|
|
648
782
|
* @memberof ProductDocumentsApi
|
|
649
783
|
*/
|
|
650
|
-
ProductDocumentsApi.prototype.
|
|
784
|
+
ProductDocumentsApi.prototype.listProductDocuments1 = function (requestParameters, options) {
|
|
651
785
|
var _this = this;
|
|
652
|
-
return (0, exports.ProductDocumentsApiFp)(this.configuration).
|
|
786
|
+
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); });
|
|
653
787
|
};
|
|
654
788
|
/**
|
|
655
789
|
* 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);
|
|
@@ -69,6 +69,12 @@ export interface CreateDocumentRequestDto {
|
|
|
69
69
|
* @memberof CreateDocumentRequestDto
|
|
70
70
|
*/
|
|
71
71
|
'entityId'?: number;
|
|
72
|
+
/**
|
|
73
|
+
* Unique identifier of the entity that this object belongs to.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof CreateDocumentRequestDto
|
|
76
|
+
*/
|
|
77
|
+
'entityCode'?: string;
|
|
72
78
|
/**
|
|
73
79
|
* Identifier of the service that requested the creation of this document.
|
|
74
80
|
* @type {string}
|
|
@@ -33,6 +33,12 @@ export interface CreatePresignedPostRequestDto {
|
|
|
33
33
|
* @memberof CreatePresignedPostRequestDto
|
|
34
34
|
*/
|
|
35
35
|
'entityId': number;
|
|
36
|
+
/**
|
|
37
|
+
* Unique identifier of the entity that this object belongs to.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePresignedPostRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'entityCode'?: string;
|
|
36
42
|
/**
|
|
37
43
|
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
38
44
|
* @type {string}
|
|
@@ -69,6 +69,12 @@ export interface DocumentClass {
|
|
|
69
69
|
* @memberof DocumentClass
|
|
70
70
|
*/
|
|
71
71
|
'entityId'?: number;
|
|
72
|
+
/**
|
|
73
|
+
* Unique identifier of the entity that this object belongs to.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof DocumentClass
|
|
76
|
+
*/
|
|
77
|
+
'entityCode'?: string;
|
|
72
78
|
/**
|
|
73
79
|
* Identifier of the service that requested the creation of this document.
|
|
74
80
|
* @type {string}
|
|
@@ -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);
|
|
@@ -74,6 +74,12 @@ export interface CreateDocumentRequestDto {
|
|
|
74
74
|
* @memberof CreateDocumentRequestDto
|
|
75
75
|
*/
|
|
76
76
|
'entityId'?: number;
|
|
77
|
+
/**
|
|
78
|
+
* Unique identifier of the entity that this object belongs to.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof CreateDocumentRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'entityCode'?: string;
|
|
77
83
|
/**
|
|
78
84
|
* Identifier of the service that requested the creation of this document.
|
|
79
85
|
* @type {string}
|
|
@@ -38,6 +38,12 @@ export interface CreatePresignedPostRequestDto {
|
|
|
38
38
|
* @memberof CreatePresignedPostRequestDto
|
|
39
39
|
*/
|
|
40
40
|
'entityId': number;
|
|
41
|
+
/**
|
|
42
|
+
* Unique identifier of the entity that this object belongs to.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePresignedPostRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'entityCode'?: string;
|
|
41
47
|
/**
|
|
42
48
|
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
43
49
|
* @type {string}
|
package/models/document-class.ts
CHANGED
|
@@ -74,6 +74,12 @@ export interface DocumentClass {
|
|
|
74
74
|
* @memberof DocumentClass
|
|
75
75
|
*/
|
|
76
76
|
'entityId'?: number;
|
|
77
|
+
/**
|
|
78
|
+
* Unique identifier of the entity that this object belongs to.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof DocumentClass
|
|
81
|
+
*/
|
|
82
|
+
'entityCode'?: string;
|
|
77
83
|
/**
|
|
78
84
|
* Identifier of the service that requested the creation of this document.
|
|
79
85
|
* @type {string}
|
|
@@ -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-node",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.44.1-beta.2",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/document-sdk-node",
|
|
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
|
"form-data": "^4.0.0",
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|