@emilgroup/document-sdk-node 1.11.3-beta.0 → 1.11.3-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 +4 -0
- package/README.md +2 -2
- package/api/docx-templates-api.ts +16 -8
- package/api/product-documents-api.ts +210 -12
- package/dist/api/docx-templates-api.d.ts +16 -12
- package/dist/api/product-documents-api.d.ts +126 -8
- package/dist/api/product-documents-api.js +141 -8
- package/dist/models/create-document-request-dto.d.ts +1 -12
- package/dist/models/create-document-request-dto.js +1 -11
- package/dist/models/document-class.d.ts +1 -12
- package/dist/models/document-class.js +1 -11
- package/dist/models/docx-template-class.d.ts +90 -0
- package/dist/models/docx-template-class.js +15 -0
- package/dist/models/get-docx-template-response-class.d.ts +25 -0
- package/dist/models/get-docx-template-response-class.js +15 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/inline-response200.d.ts +6 -6
- package/dist/models/inline-response503.d.ts +6 -6
- package/dist/models/list-docx-templates-response-class.d.ts +31 -0
- package/dist/models/list-docx-templates-response-class.js +15 -0
- package/dist/models/product-document-class.d.ts +2 -25
- package/dist/models/product-document-class.js +2 -24
- package/dist/models/update-docx-template-response-class.d.ts +25 -0
- package/dist/models/update-docx-template-response-class.js +15 -0
- package/models/create-document-request-dto.ts +1 -13
- package/models/document-class.ts +1 -13
- package/models/docx-template-class.ts +96 -0
- package/models/get-docx-template-response-class.ts +31 -0
- package/models/index.ts +4 -0
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/list-docx-templates-response-class.ts +37 -0
- package/models/product-document-class.ts +3 -27
- package/models/update-docx-template-response-class.ts +31 -0
- package/package.json +1 -1
|
@@ -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 });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -13,11 +13,13 @@ export * from './delete-request-dto';
|
|
|
13
13
|
export * from './delete-response-class';
|
|
14
14
|
export * from './doc-template-class';
|
|
15
15
|
export * from './document-class';
|
|
16
|
+
export * from './docx-template-class';
|
|
16
17
|
export * from './download-document-request-dto';
|
|
17
18
|
export * from './get-doc-template-request-dto';
|
|
18
19
|
export * from './get-doc-template-response-class';
|
|
19
20
|
export * from './get-document-download-url-response-class';
|
|
20
21
|
export * from './get-docx-template-download-url-response-class';
|
|
22
|
+
export * from './get-docx-template-response-class';
|
|
21
23
|
export * from './get-layout-request-dto';
|
|
22
24
|
export * from './get-layout-response-class';
|
|
23
25
|
export * from './get-product-document-download-url-response-class';
|
|
@@ -32,6 +34,7 @@ export * from './layout-class';
|
|
|
32
34
|
export * from './list-doc-template-request-dto';
|
|
33
35
|
export * from './list-doc-templates-response-class';
|
|
34
36
|
export * from './list-documents-response-class';
|
|
37
|
+
export * from './list-docx-templates-response-class';
|
|
35
38
|
export * from './list-layouts-response-class';
|
|
36
39
|
export * from './list-product-documents-response-class';
|
|
37
40
|
export * from './list-request-dto';
|
|
@@ -49,6 +52,7 @@ export * from './update-doc-template-request-dto';
|
|
|
49
52
|
export * from './update-doc-template-response-class';
|
|
50
53
|
export * from './update-document-request-dto';
|
|
51
54
|
export * from './update-document-response-class';
|
|
55
|
+
export * from './update-docx-template-response-class';
|
|
52
56
|
export * from './update-html-template-dto';
|
|
53
57
|
export * from './update-layout-request-dto';
|
|
54
58
|
export * from './update-layout-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -29,11 +29,13 @@ __exportStar(require("./delete-request-dto"), exports);
|
|
|
29
29
|
__exportStar(require("./delete-response-class"), exports);
|
|
30
30
|
__exportStar(require("./doc-template-class"), exports);
|
|
31
31
|
__exportStar(require("./document-class"), exports);
|
|
32
|
+
__exportStar(require("./docx-template-class"), exports);
|
|
32
33
|
__exportStar(require("./download-document-request-dto"), exports);
|
|
33
34
|
__exportStar(require("./get-doc-template-request-dto"), exports);
|
|
34
35
|
__exportStar(require("./get-doc-template-response-class"), exports);
|
|
35
36
|
__exportStar(require("./get-document-download-url-response-class"), exports);
|
|
36
37
|
__exportStar(require("./get-docx-template-download-url-response-class"), exports);
|
|
38
|
+
__exportStar(require("./get-docx-template-response-class"), exports);
|
|
37
39
|
__exportStar(require("./get-layout-request-dto"), exports);
|
|
38
40
|
__exportStar(require("./get-layout-response-class"), exports);
|
|
39
41
|
__exportStar(require("./get-product-document-download-url-response-class"), exports);
|
|
@@ -48,6 +50,7 @@ __exportStar(require("./layout-class"), exports);
|
|
|
48
50
|
__exportStar(require("./list-doc-template-request-dto"), exports);
|
|
49
51
|
__exportStar(require("./list-doc-templates-response-class"), exports);
|
|
50
52
|
__exportStar(require("./list-documents-response-class"), exports);
|
|
53
|
+
__exportStar(require("./list-docx-templates-response-class"), exports);
|
|
51
54
|
__exportStar(require("./list-layouts-response-class"), exports);
|
|
52
55
|
__exportStar(require("./list-product-documents-response-class"), exports);
|
|
53
56
|
__exportStar(require("./list-request-dto"), exports);
|
|
@@ -65,6 +68,7 @@ __exportStar(require("./update-doc-template-request-dto"), exports);
|
|
|
65
68
|
__exportStar(require("./update-doc-template-response-class"), exports);
|
|
66
69
|
__exportStar(require("./update-document-request-dto"), exports);
|
|
67
70
|
__exportStar(require("./update-document-response-class"), exports);
|
|
71
|
+
__exportStar(require("./update-docx-template-response-class"), exports);
|
|
68
72
|
__exportStar(require("./update-html-template-dto"), exports);
|
|
69
73
|
__exportStar(require("./update-layout-request-dto"), exports);
|
|
70
74
|
__exportStar(require("./update-layout-response-class"), exports);
|
|
@@ -23,32 +23,32 @@ export interface InlineResponse200 {
|
|
|
23
23
|
'status'?: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {{ [key: string]: { [key: string]:
|
|
26
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
27
27
|
* @memberof InlineResponse200
|
|
28
28
|
*/
|
|
29
29
|
'info'?: {
|
|
30
30
|
[key: string]: {
|
|
31
|
-
[key: string]:
|
|
31
|
+
[key: string]: object;
|
|
32
32
|
};
|
|
33
33
|
} | null;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {{ [key: string]: { [key: string]:
|
|
36
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
37
37
|
* @memberof InlineResponse200
|
|
38
38
|
*/
|
|
39
39
|
'error'?: {
|
|
40
40
|
[key: string]: {
|
|
41
|
-
[key: string]:
|
|
41
|
+
[key: string]: object;
|
|
42
42
|
};
|
|
43
43
|
} | null;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {{ [key: string]: { [key: string]:
|
|
46
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
47
47
|
* @memberof InlineResponse200
|
|
48
48
|
*/
|
|
49
49
|
'details'?: {
|
|
50
50
|
[key: string]: {
|
|
51
|
-
[key: string]:
|
|
51
|
+
[key: string]: object;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
}
|
|
@@ -23,32 +23,32 @@ export interface InlineResponse503 {
|
|
|
23
23
|
'status'?: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {{ [key: string]: { [key: string]:
|
|
26
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
27
27
|
* @memberof InlineResponse503
|
|
28
28
|
*/
|
|
29
29
|
'info'?: {
|
|
30
30
|
[key: string]: {
|
|
31
|
-
[key: string]:
|
|
31
|
+
[key: string]: object;
|
|
32
32
|
};
|
|
33
33
|
} | null;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {{ [key: string]: { [key: string]:
|
|
36
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
37
37
|
* @memberof InlineResponse503
|
|
38
38
|
*/
|
|
39
39
|
'error'?: {
|
|
40
40
|
[key: string]: {
|
|
41
|
-
[key: string]:
|
|
41
|
+
[key: string]: object;
|
|
42
42
|
};
|
|
43
43
|
} | null;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {{ [key: string]: { [key: string]:
|
|
46
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
47
47
|
* @memberof InlineResponse503
|
|
48
48
|
*/
|
|
49
49
|
'details'?: {
|
|
50
50
|
[key: string]: {
|
|
51
|
-
[key: string]:
|
|
51
|
+
[key: string]: object;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { DocxTemplateClass } from './docx-template-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListDocxTemplatesResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListDocxTemplatesResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of docx templates.
|
|
21
|
+
* @type {Array<DocxTemplateClass>}
|
|
22
|
+
* @memberof ListDocxTemplatesResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<DocxTemplateClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListDocxTemplatesResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
|
@@ -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 });
|
|
@@ -64,7 +64,7 @@ export interface ProductDocumentClass {
|
|
|
64
64
|
*/
|
|
65
65
|
's3Key': string;
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* Extension of the file.
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof ProductDocumentClass
|
|
70
70
|
*/
|
|
@@ -74,7 +74,7 @@ export interface ProductDocumentClass {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof ProductDocumentClass
|
|
76
76
|
*/
|
|
77
|
-
'entityType':
|
|
77
|
+
'entityType': string;
|
|
78
78
|
/**
|
|
79
79
|
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
80
80
|
* @type {string}
|
|
@@ -104,31 +104,8 @@ export declare const ProductDocumentClassContentTypeEnum: {
|
|
|
104
104
|
readonly Pdf: "pdf";
|
|
105
105
|
readonly Jpg: "jpg";
|
|
106
106
|
readonly Png: "png";
|
|
107
|
-
readonly Gz: "gz";
|
|
108
107
|
readonly Csv: "csv";
|
|
109
108
|
readonly Doc: "doc";
|
|
110
109
|
readonly Docx: "docx";
|
|
111
|
-
readonly Html: "html";
|
|
112
|
-
readonly Json: "json";
|
|
113
|
-
readonly Xml: "xml";
|
|
114
|
-
readonly Txt: "txt";
|
|
115
|
-
readonly Zip: "zip";
|
|
116
|
-
readonly Tar: "tar";
|
|
117
|
-
readonly Rar: "rar";
|
|
118
|
-
readonly Mp4: "MP4";
|
|
119
|
-
readonly Mov: "MOV";
|
|
120
|
-
readonly Wmv: "WMV";
|
|
121
|
-
readonly Avi: "AVI";
|
|
122
110
|
};
|
|
123
111
|
export type ProductDocumentClassContentTypeEnum = typeof ProductDocumentClassContentTypeEnum[keyof typeof ProductDocumentClassContentTypeEnum];
|
|
124
|
-
export declare const ProductDocumentClassEntityTypeEnum: {
|
|
125
|
-
readonly PolicyApplication: "policy_application";
|
|
126
|
-
readonly PolicyContract: "policy_contract";
|
|
127
|
-
readonly PolicyAddendum: "policy_addendum";
|
|
128
|
-
readonly InitialInvoice: "initial_invoice";
|
|
129
|
-
readonly CorrectionInvoice: "correction_invoice";
|
|
130
|
-
readonly RecurringInvoice: "recurring_invoice";
|
|
131
|
-
readonly SepaMandate: "sepa_mandate";
|
|
132
|
-
readonly Static: "static";
|
|
133
|
-
};
|
|
134
|
-
export type ProductDocumentClassEntityTypeEnum = typeof ProductDocumentClassEntityTypeEnum[keyof typeof ProductDocumentClassEntityTypeEnum];
|
|
@@ -13,34 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.ProductDocumentClassContentTypeEnum = void 0;
|
|
17
17
|
exports.ProductDocumentClassContentTypeEnum = {
|
|
18
18
|
Pdf: 'pdf',
|
|
19
19
|
Jpg: 'jpg',
|
|
20
20
|
Png: 'png',
|
|
21
|
-
Gz: 'gz',
|
|
22
21
|
Csv: 'csv',
|
|
23
22
|
Doc: 'doc',
|
|
24
|
-
Docx: 'docx'
|
|
25
|
-
Html: 'html',
|
|
26
|
-
Json: 'json',
|
|
27
|
-
Xml: 'xml',
|
|
28
|
-
Txt: 'txt',
|
|
29
|
-
Zip: 'zip',
|
|
30
|
-
Tar: 'tar',
|
|
31
|
-
Rar: 'rar',
|
|
32
|
-
Mp4: 'MP4',
|
|
33
|
-
Mov: 'MOV',
|
|
34
|
-
Wmv: 'WMV',
|
|
35
|
-
Avi: 'AVI'
|
|
36
|
-
};
|
|
37
|
-
exports.ProductDocumentClassEntityTypeEnum = {
|
|
38
|
-
PolicyApplication: 'policy_application',
|
|
39
|
-
PolicyContract: 'policy_contract',
|
|
40
|
-
PolicyAddendum: 'policy_addendum',
|
|
41
|
-
InitialInvoice: 'initial_invoice',
|
|
42
|
-
CorrectionInvoice: 'correction_invoice',
|
|
43
|
-
RecurringInvoice: 'recurring_invoice',
|
|
44
|
-
SepaMandate: 'sepa_mandate',
|
|
45
|
-
Static: 'static'
|
|
23
|
+
Docx: 'docx'
|
|
46
24
|
};
|
|
@@ -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 { DocxTemplateClass } from './docx-template-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateDocxTemplateResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateDocxTemplateResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Document
|
|
21
|
+
* @type {DocxTemplateClass}
|
|
22
|
+
* @memberof UpdateDocxTemplateResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'docxTemplate': DocxTemplateClass;
|
|
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 });
|
|
@@ -37,7 +37,7 @@ export interface CreateDocumentRequestDto {
|
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof CreateDocumentRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'entityType':
|
|
40
|
+
'entityType': string;
|
|
41
41
|
/**
|
|
42
42
|
* Specifies the document creation strategy to be used, either synchronous or asynchronous.
|
|
43
43
|
* @type {string}
|
|
@@ -118,18 +118,6 @@ export interface CreateDocumentRequestDto {
|
|
|
118
118
|
'engine'?: CreateDocumentRequestDtoEngineEnum;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
export const CreateDocumentRequestDtoEntityTypeEnum = {
|
|
122
|
-
PolicyApplication: 'policy_application',
|
|
123
|
-
PolicyContract: 'policy_contract',
|
|
124
|
-
PolicyAddendum: 'policy_addendum',
|
|
125
|
-
InitialInvoice: 'initial_invoice',
|
|
126
|
-
CorrectionInvoice: 'correction_invoice',
|
|
127
|
-
RecurringInvoice: 'recurring_invoice',
|
|
128
|
-
SepaMandate: 'sepa_mandate',
|
|
129
|
-
Static: 'static'
|
|
130
|
-
} as const;
|
|
131
|
-
|
|
132
|
-
export type CreateDocumentRequestDtoEntityTypeEnum = typeof CreateDocumentRequestDtoEntityTypeEnum[keyof typeof CreateDocumentRequestDtoEntityTypeEnum];
|
|
133
121
|
export const CreateDocumentRequestDtoStrategyEnum = {
|
|
134
122
|
Sync: 'Sync',
|
|
135
123
|
Async: 'Async'
|
package/models/document-class.ts
CHANGED
|
@@ -43,7 +43,7 @@ export interface DocumentClass {
|
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof DocumentClass
|
|
45
45
|
*/
|
|
46
|
-
'entityType':
|
|
46
|
+
'entityType': string;
|
|
47
47
|
/**
|
|
48
48
|
* Payload used to replace variables in the template.
|
|
49
49
|
* @type {object}
|
|
@@ -124,18 +124,6 @@ export interface DocumentClass {
|
|
|
124
124
|
'ern': string;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
export const DocumentClassEntityTypeEnum = {
|
|
128
|
-
PolicyApplication: 'policy_application',
|
|
129
|
-
PolicyContract: 'policy_contract',
|
|
130
|
-
PolicyAddendum: 'policy_addendum',
|
|
131
|
-
InitialInvoice: 'initial_invoice',
|
|
132
|
-
CorrectionInvoice: 'correction_invoice',
|
|
133
|
-
RecurringInvoice: 'recurring_invoice',
|
|
134
|
-
SepaMandate: 'sepa_mandate',
|
|
135
|
-
Static: 'static'
|
|
136
|
-
} as const;
|
|
137
|
-
|
|
138
|
-
export type DocumentClassEntityTypeEnum = typeof DocumentClassEntityTypeEnum[keyof typeof DocumentClassEntityTypeEnum];
|
|
139
127
|
export const DocumentClassRequesterEnum = {
|
|
140
128
|
Accountservice: 'accountservice',
|
|
141
129
|
Insuranceservice: 'insuranceservice',
|
|
@@ -0,0 +1,96 @@
|
|
|
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 DocxTemplateClass
|
|
21
|
+
*/
|
|
22
|
+
export interface DocxTemplateClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof DocxTemplateClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof DocxTemplateClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof DocxTemplateClass
|
|
39
|
+
*/
|
|
40
|
+
'slug': string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof DocxTemplateClass
|
|
45
|
+
*/
|
|
46
|
+
'productVersionId': number;
|
|
47
|
+
/**
|
|
48
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof DocxTemplateClass
|
|
51
|
+
*/
|
|
52
|
+
'productSlug': string;
|
|
53
|
+
/**
|
|
54
|
+
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof DocxTemplateClass
|
|
57
|
+
*/
|
|
58
|
+
'description': string;
|
|
59
|
+
/**
|
|
60
|
+
* The unique key used by Amazon Simple Storage Service (S3).
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof DocxTemplateClass
|
|
63
|
+
*/
|
|
64
|
+
's3Key': string;
|
|
65
|
+
/**
|
|
66
|
+
* Document entity type.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof DocxTemplateClass
|
|
69
|
+
*/
|
|
70
|
+
'entityType': string;
|
|
71
|
+
/**
|
|
72
|
+
* Name of the file the end user will see when he downloads it.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof DocxTemplateClass
|
|
75
|
+
*/
|
|
76
|
+
'filename': string;
|
|
77
|
+
/**
|
|
78
|
+
* Version number of the template, incremented each time a new version is uploaded.
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof DocxTemplateClass
|
|
81
|
+
*/
|
|
82
|
+
'versionNumber': number;
|
|
83
|
+
/**
|
|
84
|
+
* Time at which the object was created.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof DocxTemplateClass
|
|
87
|
+
*/
|
|
88
|
+
'createdAt': string;
|
|
89
|
+
/**
|
|
90
|
+
* Time at which the object was updated.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof DocxTemplateClass
|
|
93
|
+
*/
|
|
94
|
+
'updatedAt': string;
|
|
95
|
+
}
|
|
96
|
+
|
|
@@ -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 { DocxTemplateClass } from './docx-template-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetDocxTemplateResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetDocxTemplateResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Docx Template
|
|
26
|
+
* @type {DocxTemplateClass}
|
|
27
|
+
* @memberof GetDocxTemplateResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'docxTemplate': DocxTemplateClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -13,11 +13,13 @@ export * from './delete-request-dto';
|
|
|
13
13
|
export * from './delete-response-class';
|
|
14
14
|
export * from './doc-template-class';
|
|
15
15
|
export * from './document-class';
|
|
16
|
+
export * from './docx-template-class';
|
|
16
17
|
export * from './download-document-request-dto';
|
|
17
18
|
export * from './get-doc-template-request-dto';
|
|
18
19
|
export * from './get-doc-template-response-class';
|
|
19
20
|
export * from './get-document-download-url-response-class';
|
|
20
21
|
export * from './get-docx-template-download-url-response-class';
|
|
22
|
+
export * from './get-docx-template-response-class';
|
|
21
23
|
export * from './get-layout-request-dto';
|
|
22
24
|
export * from './get-layout-response-class';
|
|
23
25
|
export * from './get-product-document-download-url-response-class';
|
|
@@ -32,6 +34,7 @@ export * from './layout-class';
|
|
|
32
34
|
export * from './list-doc-template-request-dto';
|
|
33
35
|
export * from './list-doc-templates-response-class';
|
|
34
36
|
export * from './list-documents-response-class';
|
|
37
|
+
export * from './list-docx-templates-response-class';
|
|
35
38
|
export * from './list-layouts-response-class';
|
|
36
39
|
export * from './list-product-documents-response-class';
|
|
37
40
|
export * from './list-request-dto';
|
|
@@ -49,6 +52,7 @@ export * from './update-doc-template-request-dto';
|
|
|
49
52
|
export * from './update-doc-template-response-class';
|
|
50
53
|
export * from './update-document-request-dto';
|
|
51
54
|
export * from './update-document-response-class';
|
|
55
|
+
export * from './update-docx-template-response-class';
|
|
52
56
|
export * from './update-html-template-dto';
|
|
53
57
|
export * from './update-layout-request-dto';
|
|
54
58
|
export * from './update-layout-response-class';
|
|
@@ -28,21 +28,21 @@ export interface InlineResponse200 {
|
|
|
28
28
|
'status'?: string;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @type {{ [key: string]: { [key: string]:
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
32
32
|
* @memberof InlineResponse200
|
|
33
33
|
*/
|
|
34
|
-
'info'?: { [key: string]: { [key: string]:
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {{ [key: string]: { [key: string]:
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
38
38
|
* @memberof InlineResponse200
|
|
39
39
|
*/
|
|
40
|
-
'error'?: { [key: string]: { [key: string]:
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {{ [key: string]: { [key: string]:
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
44
44
|
* @memberof InlineResponse200
|
|
45
45
|
*/
|
|
46
|
-
'details'?: { [key: string]: { [key: string]:
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: object; }; };
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -28,21 +28,21 @@ export interface InlineResponse503 {
|
|
|
28
28
|
'status'?: string;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @type {{ [key: string]: { [key: string]:
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
32
32
|
* @memberof InlineResponse503
|
|
33
33
|
*/
|
|
34
|
-
'info'?: { [key: string]: { [key: string]:
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {{ [key: string]: { [key: string]:
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
38
38
|
* @memberof InlineResponse503
|
|
39
39
|
*/
|
|
40
|
-
'error'?: { [key: string]: { [key: string]:
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {{ [key: string]: { [key: string]:
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
44
44
|
* @memberof InlineResponse503
|
|
45
45
|
*/
|
|
46
|
-
'details'?: { [key: string]: { [key: string]:
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: object; }; };
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { DocxTemplateClass } from './docx-template-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListDocxTemplatesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListDocxTemplatesResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of docx templates.
|
|
26
|
+
* @type {Array<DocxTemplateClass>}
|
|
27
|
+
* @memberof ListDocxTemplatesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<DocxTemplateClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListDocxTemplatesResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|