@emilgroup/document-sdk 1.12.2 → 1.12.3
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 +1 -0
- package/README.md +2 -2
- package/api/docx-templates-api.ts +4 -4
- package/api/product-documents-api.ts +12 -210
- package/dist/api/default-api.d.ts +66 -0
- package/dist/api/default-api.js +196 -0
- package/dist/api/document-templates-api.d.ts +385 -0
- package/dist/api/document-templates-api.js +636 -0
- package/dist/api/documents-api.d.ts +488 -0
- package/dist/api/documents-api.js +817 -0
- package/dist/api/docx-templates-api.d.ts +432 -0
- package/dist/api/docx-templates-api.js +722 -0
- package/dist/api/layouts-api.d.ts +385 -0
- package/dist/api/layouts-api.js +638 -0
- package/dist/api/product-documents-api.d.ts +401 -0
- package/dist/api/product-documents-api.js +647 -0
- package/dist/api/search-keywords-api.d.ts +96 -0
- package/dist/api/search-keywords-api.js +225 -0
- package/dist/api/searchable-document-owners-api.d.ts +141 -0
- package/dist/api/searchable-document-owners-api.js +254 -0
- package/dist/api/searchable-documents-api.d.ts +114 -0
- package/dist/api/searchable-documents-api.js +239 -0
- package/dist/api.d.ts +20 -0
- package/dist/api.js +38 -0
- package/dist/base.d.ts +74 -0
- package/dist/base.js +298 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +83 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/create-doc-template-request-dto.d.ts +55 -0
- package/dist/models/create-doc-template-request-dto.js +15 -0
- package/dist/models/create-doc-template-response-class.d.ts +25 -0
- package/dist/models/create-doc-template-response-class.js +15 -0
- package/dist/models/create-document-request-dto.d.ts +173 -0
- package/dist/models/create-document-request-dto.js +70 -0
- package/dist/models/create-document-sync-response-class.d.ts +25 -0
- package/dist/models/create-document-sync-response-class.js +15 -0
- package/dist/models/create-html-template-dto.d.ts +24 -0
- package/dist/models/create-html-template-dto.js +15 -0
- package/dist/models/create-layout-request-dto.d.ts +49 -0
- package/dist/models/create-layout-request-dto.js +15 -0
- package/dist/models/create-layout-response-class.d.ts +25 -0
- package/dist/models/create-layout-response-class.js +15 -0
- package/dist/models/create-presigned-post-request-dto.d.ts +134 -0
- package/dist/models/create-presigned-post-request-dto.js +52 -0
- package/dist/models/create-presigned-post-response-class.d.ts +30 -0
- package/dist/models/create-presigned-post-response-class.js +15 -0
- package/dist/models/delete-layout-request-dto.d.ts +24 -0
- package/dist/models/delete-layout-request-dto.js +15 -0
- package/dist/models/delete-product-document-request-dto.d.ts +30 -0
- package/dist/models/delete-product-document-request-dto.js +15 -0
- package/dist/models/delete-request-dto.d.ts +24 -0
- package/dist/models/delete-request-dto.js +15 -0
- package/dist/models/delete-response-class.d.ts +24 -0
- package/dist/models/delete-response-class.js +15 -0
- package/dist/models/doc-template-class.d.ts +92 -0
- package/dist/models/doc-template-class.js +15 -0
- package/dist/models/document-class.d.ts +169 -0
- package/dist/models/document-class.js +62 -0
- package/dist/models/docx-template-class.d.ts +101 -0
- package/dist/models/docx-template-class.js +26 -0
- package/dist/models/download-document-request-dto.d.ts +30 -0
- package/dist/models/download-document-request-dto.js +15 -0
- package/dist/models/get-doc-template-request-dto.d.ts +30 -0
- package/dist/models/get-doc-template-request-dto.js +15 -0
- package/dist/models/get-doc-template-response-class.d.ts +25 -0
- package/dist/models/get-doc-template-response-class.js +15 -0
- package/dist/models/get-document-download-url-response-class.d.ts +24 -0
- package/dist/models/get-document-download-url-response-class.js +15 -0
- package/dist/models/get-docx-template-download-url-response-class.d.ts +24 -0
- package/dist/models/get-docx-template-download-url-response-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/get-layout-request-dto.d.ts +24 -0
- package/dist/models/get-layout-request-dto.js +15 -0
- package/dist/models/get-layout-response-class.d.ts +25 -0
- package/dist/models/get-layout-response-class.js +15 -0
- package/dist/models/get-product-document-download-url-response-class.d.ts +24 -0
- package/dist/models/get-product-document-download-url-response-class.js +15 -0
- package/dist/models/get-product-document-response-class.d.ts +25 -0
- package/dist/models/get-product-document-response-class.js +15 -0
- package/dist/models/get-signed-s3-key-url-response-class.d.ts +24 -0
- package/dist/models/get-signed-s3-key-url-response-class.js +15 -0
- package/dist/models/grpc-create-doc-template-request-dto.d.ts +55 -0
- package/dist/models/grpc-create-doc-template-request-dto.js +15 -0
- package/dist/models/grpc-update-doc-template-request-dto.d.ts +61 -0
- package/dist/models/grpc-update-doc-template-request-dto.js +15 -0
- package/dist/models/html-template-class.d.ts +66 -0
- package/dist/models/html-template-class.js +21 -0
- package/dist/models/index.d.ts +61 -0
- package/dist/models/index.js +77 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/layout-class.d.ts +79 -0
- package/dist/models/layout-class.js +15 -0
- package/dist/models/list-doc-template-request-dto.d.ts +54 -0
- package/dist/models/list-doc-template-request-dto.js +15 -0
- package/dist/models/list-doc-templates-response-class.d.ts +31 -0
- package/dist/models/list-doc-templates-response-class.js +15 -0
- package/dist/models/list-documents-response-class.d.ts +31 -0
- package/dist/models/list-documents-response-class.js +15 -0
- 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/list-layouts-response-class.d.ts +31 -0
- package/dist/models/list-layouts-response-class.js +15 -0
- package/dist/models/list-product-documents-response-class.d.ts +31 -0
- package/dist/models/list-product-documents-response-class.js +15 -0
- package/dist/models/list-request-dto.d.ts +54 -0
- package/dist/models/list-request-dto.js +15 -0
- package/dist/models/list-search-keywords-request-dto.d.ts +24 -0
- package/dist/models/list-search-keywords-request-dto.js +15 -0
- package/dist/models/list-search-keywords-response-class.d.ts +24 -0
- package/dist/models/list-search-keywords-response-class.js +15 -0
- package/dist/models/list-searchable-document-owners-request-dto.d.ts +31 -0
- package/dist/models/list-searchable-document-owners-request-dto.js +22 -0
- package/dist/models/list-searchable-document-owners-response-class.d.ts +25 -0
- package/dist/models/list-searchable-document-owners-response-class.js +15 -0
- package/dist/models/list-searchable-documents-request-dto.d.ts +43 -0
- package/dist/models/list-searchable-documents-request-dto.js +22 -0
- package/dist/models/list-searchable-documents-response-class.d.ts +31 -0
- package/dist/models/list-searchable-documents-response-class.js +15 -0
- package/dist/models/product-document-class.d.ts +134 -0
- package/dist/models/product-document-class.js +46 -0
- package/dist/models/searchable-document-class.d.ts +66 -0
- package/dist/models/searchable-document-class.js +15 -0
- package/dist/models/searchable-document-owner-class.d.ts +30 -0
- package/dist/models/searchable-document-owner-class.js +15 -0
- package/dist/models/shared-update-docx-template-request-dto.d.ts +36 -0
- package/dist/models/shared-update-docx-template-request-dto.js +15 -0
- package/dist/models/update-doc-template-request-dto.d.ts +61 -0
- package/dist/models/update-doc-template-request-dto.js +15 -0
- package/dist/models/update-doc-template-response-class.d.ts +25 -0
- package/dist/models/update-doc-template-response-class.js +15 -0
- package/dist/models/update-document-request-dto.d.ts +54 -0
- package/dist/models/update-document-request-dto.js +15 -0
- package/dist/models/update-document-response-class.d.ts +25 -0
- package/dist/models/update-document-response-class.js +15 -0
- package/dist/models/update-docx-template-response-class.d.ts +25 -0
- package/dist/models/update-docx-template-response-class.js +15 -0
- package/dist/models/update-html-template-dto.d.ts +42 -0
- package/dist/models/update-html-template-dto.js +21 -0
- package/dist/models/update-layout-request-dto.d.ts +55 -0
- package/dist/models/update-layout-request-dto.js +15 -0
- package/dist/models/update-layout-response-class.d.ts +25 -0
- package/dist/models/update-layout-response-class.js +15 -0
- package/dist/models/upload-docx-template-request-dto.d.ts +54 -0
- package/dist/models/upload-docx-template-request-dto.js +15 -0
- package/dist/models/upload-docx-template-response-class.d.ts +30 -0
- package/dist/models/upload-docx-template-response-class.js +15 -0
- package/dist/models/upload-product-document-request-dto.d.ts +75 -0
- package/dist/models/upload-product-document-request-dto.js +24 -0
- package/models/create-document-request-dto.ts +13 -1
- package/models/document-class.ts +13 -1
- package/models/docx-template-class.ts +15 -1
- package/models/index.ts +1 -0
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/product-document-class.ts +27 -9
- package/models/upload-docx-template-response-class.ts +36 -0
- package/package.json +1 -1
|
@@ -0,0 +1,173 @@
|
|
|
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 CreateDocumentRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateDocumentRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateDocumentRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'templateSlug': string;
|
|
24
|
+
/**
|
|
25
|
+
* Payload used to replace variables in the template.
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof CreateDocumentRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'payload': object;
|
|
30
|
+
/**
|
|
31
|
+
* Document entity type.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateDocumentRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'entityType': CreateDocumentRequestDtoEntityTypeEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Specifies the document creation strategy to be used, either synchronous or asynchronous.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateDocumentRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'strategy'?: CreateDocumentRequestDtoStrategyEnum;
|
|
42
|
+
/**
|
|
43
|
+
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateDocumentRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'description': string;
|
|
48
|
+
/**
|
|
49
|
+
* Unique identifier of the policy that this object belongs to.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateDocumentRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'policyCode'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Unique identifier of the account that this object belongs to.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateDocumentRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'accountCode'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Unique identifier of the lead that this object belongs to.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreateDocumentRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'leadCode'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Unique identifier referencing the entity.
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof CreateDocumentRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'entityId'?: number;
|
|
72
|
+
/**
|
|
73
|
+
* Identifier of the service that requested the creation of this document.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof CreateDocumentRequestDto
|
|
76
|
+
*/
|
|
77
|
+
'requester': CreateDocumentRequestDtoRequesterEnum;
|
|
78
|
+
/**
|
|
79
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
80
|
+
* @type {object}
|
|
81
|
+
* @memberof CreateDocumentRequestDto
|
|
82
|
+
*/
|
|
83
|
+
'metadata'?: object;
|
|
84
|
+
/**
|
|
85
|
+
* Type of the document expressed with its file extension.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof CreateDocumentRequestDto
|
|
88
|
+
*/
|
|
89
|
+
'contentType': CreateDocumentRequestDtoContentTypeEnum;
|
|
90
|
+
/**
|
|
91
|
+
* Name of the file the end user will see when he downloads it.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof CreateDocumentRequestDto
|
|
94
|
+
*/
|
|
95
|
+
'filename'?: string;
|
|
96
|
+
/**
|
|
97
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof CreateDocumentRequestDto
|
|
100
|
+
*/
|
|
101
|
+
'productSlug'?: string;
|
|
102
|
+
/**
|
|
103
|
+
* If true, the default margins will be skipped when generating the document.
|
|
104
|
+
* @type {boolean}
|
|
105
|
+
* @memberof CreateDocumentRequestDto
|
|
106
|
+
*/
|
|
107
|
+
'shouldSkipDefaultMargins'?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Type of the document engine to use to generate the document. Defaults to HTML.
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof CreateDocumentRequestDto
|
|
112
|
+
*/
|
|
113
|
+
'engine'?: CreateDocumentRequestDtoEngineEnum;
|
|
114
|
+
}
|
|
115
|
+
export declare const CreateDocumentRequestDtoEntityTypeEnum: {
|
|
116
|
+
readonly PolicyApplication: "policy_application";
|
|
117
|
+
readonly PolicyContract: "policy_contract";
|
|
118
|
+
readonly PolicyAddendum: "policy_addendum";
|
|
119
|
+
readonly InitialInvoice: "initial_invoice";
|
|
120
|
+
readonly CorrectionInvoice: "correction_invoice";
|
|
121
|
+
readonly RecurringInvoice: "recurring_invoice";
|
|
122
|
+
readonly SepaMandate: "sepa_mandate";
|
|
123
|
+
readonly Static: "static";
|
|
124
|
+
};
|
|
125
|
+
export type CreateDocumentRequestDtoEntityTypeEnum = typeof CreateDocumentRequestDtoEntityTypeEnum[keyof typeof CreateDocumentRequestDtoEntityTypeEnum];
|
|
126
|
+
export declare const CreateDocumentRequestDtoStrategyEnum: {
|
|
127
|
+
readonly Sync: "Sync";
|
|
128
|
+
readonly Async: "Async";
|
|
129
|
+
};
|
|
130
|
+
export type CreateDocumentRequestDtoStrategyEnum = typeof CreateDocumentRequestDtoStrategyEnum[keyof typeof CreateDocumentRequestDtoStrategyEnum];
|
|
131
|
+
export declare const CreateDocumentRequestDtoRequesterEnum: {
|
|
132
|
+
readonly Accountservice: "accountservice";
|
|
133
|
+
readonly Insuranceservice: "insuranceservice";
|
|
134
|
+
readonly Billingservice: "billingservice";
|
|
135
|
+
readonly Tenantservice: "tenantservice";
|
|
136
|
+
readonly BookingFunnel: "bookingFunnel";
|
|
137
|
+
readonly Publicapi: "publicapi";
|
|
138
|
+
readonly Admin: "admin";
|
|
139
|
+
readonly Claimservice: "claimservice";
|
|
140
|
+
readonly Customerservice: "customerservice";
|
|
141
|
+
readonly Notificationservice: "notificationservice";
|
|
142
|
+
readonly Paymentservice: "paymentservice";
|
|
143
|
+
readonly Processmanager: "processmanager";
|
|
144
|
+
readonly Gdvservice: "gdvservice";
|
|
145
|
+
readonly Documentservice: "documentservice";
|
|
146
|
+
};
|
|
147
|
+
export type CreateDocumentRequestDtoRequesterEnum = typeof CreateDocumentRequestDtoRequesterEnum[keyof typeof CreateDocumentRequestDtoRequesterEnum];
|
|
148
|
+
export declare const CreateDocumentRequestDtoContentTypeEnum: {
|
|
149
|
+
readonly Pdf: "pdf";
|
|
150
|
+
readonly Jpg: "jpg";
|
|
151
|
+
readonly Png: "png";
|
|
152
|
+
readonly Gz: "gz";
|
|
153
|
+
readonly Csv: "csv";
|
|
154
|
+
readonly Doc: "doc";
|
|
155
|
+
readonly Docx: "docx";
|
|
156
|
+
readonly Html: "html";
|
|
157
|
+
readonly Json: "json";
|
|
158
|
+
readonly Xml: "xml";
|
|
159
|
+
readonly Txt: "txt";
|
|
160
|
+
readonly Zip: "zip";
|
|
161
|
+
readonly Tar: "tar";
|
|
162
|
+
readonly Rar: "rar";
|
|
163
|
+
readonly Mp4: "MP4";
|
|
164
|
+
readonly Mov: "MOV";
|
|
165
|
+
readonly Wmv: "WMV";
|
|
166
|
+
readonly Avi: "AVI";
|
|
167
|
+
};
|
|
168
|
+
export type CreateDocumentRequestDtoContentTypeEnum = typeof CreateDocumentRequestDtoContentTypeEnum[keyof typeof CreateDocumentRequestDtoContentTypeEnum];
|
|
169
|
+
export declare const CreateDocumentRequestDtoEngineEnum: {
|
|
170
|
+
readonly Docx: "docx";
|
|
171
|
+
readonly Html: "html";
|
|
172
|
+
};
|
|
173
|
+
export type CreateDocumentRequestDtoEngineEnum = typeof CreateDocumentRequestDtoEngineEnum[keyof typeof CreateDocumentRequestDtoEngineEnum];
|
|
@@ -0,0 +1,70 @@
|
|
|
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.CreateDocumentRequestDtoEngineEnum = exports.CreateDocumentRequestDtoContentTypeEnum = exports.CreateDocumentRequestDtoRequesterEnum = exports.CreateDocumentRequestDtoStrategyEnum = exports.CreateDocumentRequestDtoEntityTypeEnum = void 0;
|
|
17
|
+
exports.CreateDocumentRequestDtoEntityTypeEnum = {
|
|
18
|
+
PolicyApplication: 'policy_application',
|
|
19
|
+
PolicyContract: 'policy_contract',
|
|
20
|
+
PolicyAddendum: 'policy_addendum',
|
|
21
|
+
InitialInvoice: 'initial_invoice',
|
|
22
|
+
CorrectionInvoice: 'correction_invoice',
|
|
23
|
+
RecurringInvoice: 'recurring_invoice',
|
|
24
|
+
SepaMandate: 'sepa_mandate',
|
|
25
|
+
Static: 'static'
|
|
26
|
+
};
|
|
27
|
+
exports.CreateDocumentRequestDtoStrategyEnum = {
|
|
28
|
+
Sync: 'Sync',
|
|
29
|
+
Async: 'Async'
|
|
30
|
+
};
|
|
31
|
+
exports.CreateDocumentRequestDtoRequesterEnum = {
|
|
32
|
+
Accountservice: 'accountservice',
|
|
33
|
+
Insuranceservice: 'insuranceservice',
|
|
34
|
+
Billingservice: 'billingservice',
|
|
35
|
+
Tenantservice: 'tenantservice',
|
|
36
|
+
BookingFunnel: 'bookingFunnel',
|
|
37
|
+
Publicapi: 'publicapi',
|
|
38
|
+
Admin: 'admin',
|
|
39
|
+
Claimservice: 'claimservice',
|
|
40
|
+
Customerservice: 'customerservice',
|
|
41
|
+
Notificationservice: 'notificationservice',
|
|
42
|
+
Paymentservice: 'paymentservice',
|
|
43
|
+
Processmanager: 'processmanager',
|
|
44
|
+
Gdvservice: 'gdvservice',
|
|
45
|
+
Documentservice: 'documentservice'
|
|
46
|
+
};
|
|
47
|
+
exports.CreateDocumentRequestDtoContentTypeEnum = {
|
|
48
|
+
Pdf: 'pdf',
|
|
49
|
+
Jpg: 'jpg',
|
|
50
|
+
Png: 'png',
|
|
51
|
+
Gz: 'gz',
|
|
52
|
+
Csv: 'csv',
|
|
53
|
+
Doc: 'doc',
|
|
54
|
+
Docx: 'docx',
|
|
55
|
+
Html: 'html',
|
|
56
|
+
Json: 'json',
|
|
57
|
+
Xml: 'xml',
|
|
58
|
+
Txt: 'txt',
|
|
59
|
+
Zip: 'zip',
|
|
60
|
+
Tar: 'tar',
|
|
61
|
+
Rar: 'rar',
|
|
62
|
+
Mp4: 'MP4',
|
|
63
|
+
Mov: 'MOV',
|
|
64
|
+
Wmv: 'WMV',
|
|
65
|
+
Avi: 'AVI'
|
|
66
|
+
};
|
|
67
|
+
exports.CreateDocumentRequestDtoEngineEnum = {
|
|
68
|
+
Docx: 'docx',
|
|
69
|
+
Html: 'html'
|
|
70
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL DocumentService
|
|
3
|
+
* The EMIL DocumentService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { DocumentClass } from './document-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateDocumentSyncResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateDocumentSyncResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Document
|
|
21
|
+
* @type {DocumentClass}
|
|
22
|
+
* @memberof CreateDocumentSyncResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'document': DocumentClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL DocumentService
|
|
6
|
+
* The EMIL DocumentService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,24 @@
|
|
|
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 CreateHtmlTemplateDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateHtmlTemplateDto {
|
|
18
|
+
/**
|
|
19
|
+
* Template draft content.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateHtmlTemplateDto
|
|
22
|
+
*/
|
|
23
|
+
'draftContent': string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL DocumentService
|
|
6
|
+
* The EMIL DocumentService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { CreateHtmlTemplateDto } from './create-html-template-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateLayoutRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateLayoutRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
* Layout name.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateLayoutRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'name': string;
|
|
25
|
+
/**
|
|
26
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateLayoutRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'slug': string;
|
|
31
|
+
/**
|
|
32
|
+
* Header template.
|
|
33
|
+
* @type {CreateHtmlTemplateDto}
|
|
34
|
+
* @memberof CreateLayoutRequestDto
|
|
35
|
+
*/
|
|
36
|
+
'headerTemplate': CreateHtmlTemplateDto;
|
|
37
|
+
/**
|
|
38
|
+
* Footer template.
|
|
39
|
+
* @type {CreateHtmlTemplateDto}
|
|
40
|
+
* @memberof CreateLayoutRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'footerTemplate': CreateHtmlTemplateDto;
|
|
43
|
+
/**
|
|
44
|
+
* Layout style.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof CreateLayoutRequestDto
|
|
47
|
+
*/
|
|
48
|
+
'style': string;
|
|
49
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL DocumentService
|
|
6
|
+
* The EMIL DocumentService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,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 { LayoutClass } from './layout-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateLayoutResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateLayoutResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Layout
|
|
21
|
+
* @type {LayoutClass}
|
|
22
|
+
* @memberof CreateLayoutResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'layout': LayoutClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL DocumentService
|
|
6
|
+
* The EMIL DocumentService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,134 @@
|
|
|
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 CreatePresignedPostRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePresignedPostRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreatePresignedPostRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'templateSlug': string;
|
|
24
|
+
/**
|
|
25
|
+
* Document entity type.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePresignedPostRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'entityType': string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier referencing the entity.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof CreatePresignedPostRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'entityId': number;
|
|
36
|
+
/**
|
|
37
|
+
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePresignedPostRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'description': string;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier of the policy that this object belongs to.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreatePresignedPostRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'policyCode'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Unique identifier of the account that this object belongs to.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreatePresignedPostRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'accountCode'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Unique identifier of the lead that this object belongs to.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreatePresignedPostRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'leadCode'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Identifier of the service that requested the creation of this document.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreatePresignedPostRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'requester': CreatePresignedPostRequestDtoRequesterEnum;
|
|
66
|
+
/**
|
|
67
|
+
* Extension of the file.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreatePresignedPostRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'contentType': CreatePresignedPostRequestDtoContentTypeEnum;
|
|
72
|
+
/**
|
|
73
|
+
* Content type of the file.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof CreatePresignedPostRequestDto
|
|
76
|
+
*/
|
|
77
|
+
'isoContentType': string;
|
|
78
|
+
/**
|
|
79
|
+
* Name of the file the end user will see when he downloads it.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CreatePresignedPostRequestDto
|
|
82
|
+
*/
|
|
83
|
+
'filename': string;
|
|
84
|
+
/**
|
|
85
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof CreatePresignedPostRequestDto
|
|
88
|
+
*/
|
|
89
|
+
'productSlug'?: string;
|
|
90
|
+
/**
|
|
91
|
+
* ERN under which the document will be uploaded. This is useful when uploading documents on behalf of a child organization
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof CreatePresignedPostRequestDto
|
|
94
|
+
*/
|
|
95
|
+
'ern'?: string;
|
|
96
|
+
}
|
|
97
|
+
export declare const CreatePresignedPostRequestDtoRequesterEnum: {
|
|
98
|
+
readonly Accountservice: "accountservice";
|
|
99
|
+
readonly Insuranceservice: "insuranceservice";
|
|
100
|
+
readonly Billingservice: "billingservice";
|
|
101
|
+
readonly Tenantservice: "tenantservice";
|
|
102
|
+
readonly BookingFunnel: "bookingFunnel";
|
|
103
|
+
readonly Publicapi: "publicapi";
|
|
104
|
+
readonly Admin: "admin";
|
|
105
|
+
readonly Claimservice: "claimservice";
|
|
106
|
+
readonly Customerservice: "customerservice";
|
|
107
|
+
readonly Notificationservice: "notificationservice";
|
|
108
|
+
readonly Paymentservice: "paymentservice";
|
|
109
|
+
readonly Processmanager: "processmanager";
|
|
110
|
+
readonly Gdvservice: "gdvservice";
|
|
111
|
+
readonly Documentservice: "documentservice";
|
|
112
|
+
};
|
|
113
|
+
export type CreatePresignedPostRequestDtoRequesterEnum = typeof CreatePresignedPostRequestDtoRequesterEnum[keyof typeof CreatePresignedPostRequestDtoRequesterEnum];
|
|
114
|
+
export declare const CreatePresignedPostRequestDtoContentTypeEnum: {
|
|
115
|
+
readonly Pdf: "pdf";
|
|
116
|
+
readonly Jpg: "jpg";
|
|
117
|
+
readonly Png: "png";
|
|
118
|
+
readonly Gz: "gz";
|
|
119
|
+
readonly Csv: "csv";
|
|
120
|
+
readonly Doc: "doc";
|
|
121
|
+
readonly Docx: "docx";
|
|
122
|
+
readonly Html: "html";
|
|
123
|
+
readonly Json: "json";
|
|
124
|
+
readonly Xml: "xml";
|
|
125
|
+
readonly Txt: "txt";
|
|
126
|
+
readonly Zip: "zip";
|
|
127
|
+
readonly Tar: "tar";
|
|
128
|
+
readonly Rar: "rar";
|
|
129
|
+
readonly Mp4: "MP4";
|
|
130
|
+
readonly Mov: "MOV";
|
|
131
|
+
readonly Wmv: "WMV";
|
|
132
|
+
readonly Avi: "AVI";
|
|
133
|
+
};
|
|
134
|
+
export type CreatePresignedPostRequestDtoContentTypeEnum = typeof CreatePresignedPostRequestDtoContentTypeEnum[keyof typeof CreatePresignedPostRequestDtoContentTypeEnum];
|
|
@@ -0,0 +1,52 @@
|
|
|
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.CreatePresignedPostRequestDtoContentTypeEnum = exports.CreatePresignedPostRequestDtoRequesterEnum = void 0;
|
|
17
|
+
exports.CreatePresignedPostRequestDtoRequesterEnum = {
|
|
18
|
+
Accountservice: 'accountservice',
|
|
19
|
+
Insuranceservice: 'insuranceservice',
|
|
20
|
+
Billingservice: 'billingservice',
|
|
21
|
+
Tenantservice: 'tenantservice',
|
|
22
|
+
BookingFunnel: 'bookingFunnel',
|
|
23
|
+
Publicapi: 'publicapi',
|
|
24
|
+
Admin: 'admin',
|
|
25
|
+
Claimservice: 'claimservice',
|
|
26
|
+
Customerservice: 'customerservice',
|
|
27
|
+
Notificationservice: 'notificationservice',
|
|
28
|
+
Paymentservice: 'paymentservice',
|
|
29
|
+
Processmanager: 'processmanager',
|
|
30
|
+
Gdvservice: 'gdvservice',
|
|
31
|
+
Documentservice: 'documentservice'
|
|
32
|
+
};
|
|
33
|
+
exports.CreatePresignedPostRequestDtoContentTypeEnum = {
|
|
34
|
+
Pdf: 'pdf',
|
|
35
|
+
Jpg: 'jpg',
|
|
36
|
+
Png: 'png',
|
|
37
|
+
Gz: 'gz',
|
|
38
|
+
Csv: 'csv',
|
|
39
|
+
Doc: 'doc',
|
|
40
|
+
Docx: 'docx',
|
|
41
|
+
Html: 'html',
|
|
42
|
+
Json: 'json',
|
|
43
|
+
Xml: 'xml',
|
|
44
|
+
Txt: 'txt',
|
|
45
|
+
Zip: 'zip',
|
|
46
|
+
Tar: 'tar',
|
|
47
|
+
Rar: 'rar',
|
|
48
|
+
Mp4: 'MP4',
|
|
49
|
+
Mov: 'MOV',
|
|
50
|
+
Wmv: 'WMV',
|
|
51
|
+
Avi: 'AVI'
|
|
52
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
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 CreatePresignedPostResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePresignedPostResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Upload document fields.
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof CreatePresignedPostResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'fields': object;
|
|
24
|
+
/**
|
|
25
|
+
* Pre-signed Url.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePresignedPostResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'url': string;
|
|
30
|
+
}
|
|
@@ -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 });
|