@emilgroup/document-sdk-node 1.11.3-beta.1 → 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 +2 -0
- package/README.md +2 -2
- package/api/docx-templates-api.ts +12 -6
- package/api/product-documents-api.ts +210 -12
- package/dist/api/docx-templates-api.d.ts +12 -9
- 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 +1 -12
- package/dist/models/docx-template-class.js +0 -11
- 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 +2 -0
- package/dist/models/index.js +2 -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 +6 -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 +1 -15
- package/models/get-docx-template-response-class.ts +31 -0
- package/models/index.ts +2 -0
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/list-docx-templates-response-class.ts +6 -0
- package/models/product-document-class.ts +3 -27
- package/models/update-docx-template-response-class.ts +31 -0
- package/package.json +1 -1
|
@@ -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
|
}
|
|
@@ -22,4 +22,10 @@ export interface ListDocxTemplatesResponseClass {
|
|
|
22
22
|
* @memberof ListDocxTemplatesResponseClass
|
|
23
23
|
*/
|
|
24
24
|
'items': Array<DocxTemplateClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListDocxTemplatesResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
25
31
|
}
|
|
@@ -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',
|
|
@@ -67,7 +67,7 @@ export interface DocxTemplateClass {
|
|
|
67
67
|
* @type {string}
|
|
68
68
|
* @memberof DocxTemplateClass
|
|
69
69
|
*/
|
|
70
|
-
'entityType':
|
|
70
|
+
'entityType': string;
|
|
71
71
|
/**
|
|
72
72
|
* Name of the file the end user will see when he downloads it.
|
|
73
73
|
* @type {string}
|
|
@@ -94,17 +94,3 @@ export interface DocxTemplateClass {
|
|
|
94
94
|
'updatedAt': string;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
export const DocxTemplateClassEntityTypeEnum = {
|
|
98
|
-
PolicyApplication: 'policy_application',
|
|
99
|
-
PolicyContract: 'policy_contract',
|
|
100
|
-
PolicyAddendum: 'policy_addendum',
|
|
101
|
-
InitialInvoice: 'initial_invoice',
|
|
102
|
-
CorrectionInvoice: 'correction_invoice',
|
|
103
|
-
RecurringInvoice: 'recurring_invoice',
|
|
104
|
-
SepaMandate: 'sepa_mandate',
|
|
105
|
-
Static: 'static'
|
|
106
|
-
} as const;
|
|
107
|
-
|
|
108
|
-
export type DocxTemplateClassEntityTypeEnum = typeof DocxTemplateClassEntityTypeEnum[keyof typeof DocxTemplateClassEntityTypeEnum];
|
|
109
|
-
|
|
110
|
-
|
|
@@ -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
|
@@ -19,6 +19,7 @@ export * from './get-doc-template-request-dto';
|
|
|
19
19
|
export * from './get-doc-template-response-class';
|
|
20
20
|
export * from './get-document-download-url-response-class';
|
|
21
21
|
export * from './get-docx-template-download-url-response-class';
|
|
22
|
+
export * from './get-docx-template-response-class';
|
|
22
23
|
export * from './get-layout-request-dto';
|
|
23
24
|
export * from './get-layout-response-class';
|
|
24
25
|
export * from './get-product-document-download-url-response-class';
|
|
@@ -51,6 +52,7 @@ export * from './update-doc-template-request-dto';
|
|
|
51
52
|
export * from './update-doc-template-response-class';
|
|
52
53
|
export * from './update-document-request-dto';
|
|
53
54
|
export * from './update-document-response-class';
|
|
55
|
+
export * from './update-docx-template-response-class';
|
|
54
56
|
export * from './update-html-template-dto';
|
|
55
57
|
export * from './update-layout-request-dto';
|
|
56
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
|
|
|
@@ -27,5 +27,11 @@ export interface ListDocxTemplatesResponseClass {
|
|
|
27
27
|
* @memberof ListDocxTemplatesResponseClass
|
|
28
28
|
*/
|
|
29
29
|
'items': Array<DocxTemplateClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListDocxTemplatesResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
30
36
|
}
|
|
31
37
|
|
|
@@ -69,7 +69,7 @@ export interface ProductDocumentClass {
|
|
|
69
69
|
*/
|
|
70
70
|
's3Key': string;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* Extension of the file.
|
|
73
73
|
* @type {string}
|
|
74
74
|
* @memberof ProductDocumentClass
|
|
75
75
|
*/
|
|
@@ -79,7 +79,7 @@ export interface ProductDocumentClass {
|
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof ProductDocumentClass
|
|
81
81
|
*/
|
|
82
|
-
'entityType':
|
|
82
|
+
'entityType': string;
|
|
83
83
|
/**
|
|
84
84
|
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
85
85
|
* @type {string}
|
|
@@ -110,35 +110,11 @@ export const ProductDocumentClassContentTypeEnum = {
|
|
|
110
110
|
Pdf: 'pdf',
|
|
111
111
|
Jpg: 'jpg',
|
|
112
112
|
Png: 'png',
|
|
113
|
-
Gz: 'gz',
|
|
114
113
|
Csv: 'csv',
|
|
115
114
|
Doc: 'doc',
|
|
116
|
-
Docx: 'docx'
|
|
117
|
-
Html: 'html',
|
|
118
|
-
Json: 'json',
|
|
119
|
-
Xml: 'xml',
|
|
120
|
-
Txt: 'txt',
|
|
121
|
-
Zip: 'zip',
|
|
122
|
-
Tar: 'tar',
|
|
123
|
-
Rar: 'rar',
|
|
124
|
-
Mp4: 'MP4',
|
|
125
|
-
Mov: 'MOV',
|
|
126
|
-
Wmv: 'WMV',
|
|
127
|
-
Avi: 'AVI'
|
|
115
|
+
Docx: 'docx'
|
|
128
116
|
} as const;
|
|
129
117
|
|
|
130
118
|
export type ProductDocumentClassContentTypeEnum = typeof ProductDocumentClassContentTypeEnum[keyof typeof ProductDocumentClassContentTypeEnum];
|
|
131
|
-
export const ProductDocumentClassEntityTypeEnum = {
|
|
132
|
-
PolicyApplication: 'policy_application',
|
|
133
|
-
PolicyContract: 'policy_contract',
|
|
134
|
-
PolicyAddendum: 'policy_addendum',
|
|
135
|
-
InitialInvoice: 'initial_invoice',
|
|
136
|
-
CorrectionInvoice: 'correction_invoice',
|
|
137
|
-
RecurringInvoice: 'recurring_invoice',
|
|
138
|
-
SepaMandate: 'sepa_mandate',
|
|
139
|
-
Static: 'static'
|
|
140
|
-
} as const;
|
|
141
|
-
|
|
142
|
-
export type ProductDocumentClassEntityTypeEnum = typeof ProductDocumentClassEntityTypeEnum[keyof typeof ProductDocumentClassEntityTypeEnum];
|
|
143
119
|
|
|
144
120
|
|
|
@@ -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 UpdateDocxTemplateResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdateDocxTemplateResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Document
|
|
26
|
+
* @type {DocxTemplateClass}
|
|
27
|
+
* @memberof UpdateDocxTemplateResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'docxTemplate': DocxTemplateClass;
|
|
30
|
+
}
|
|
31
|
+
|