@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,75 @@
|
|
|
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 UploadProductDocumentRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UploadProductDocumentRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Slug of the product.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UploadProductDocumentRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'productSlug'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Extension of the file.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UploadProductDocumentRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'contentType': UploadProductDocumentRequestDtoContentTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UploadProductDocumentRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'slug': string;
|
|
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 UploadProductDocumentRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'description': string;
|
|
42
|
+
/**
|
|
43
|
+
* Name of the file the end user will see when he downloads it.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UploadProductDocumentRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'filename': string;
|
|
48
|
+
/**
|
|
49
|
+
* Type of the product document.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UploadProductDocumentRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'type': string;
|
|
54
|
+
/**
|
|
55
|
+
* Entity type of the product document.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UploadProductDocumentRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'entityType': string;
|
|
60
|
+
/**
|
|
61
|
+
* Id of the product version, and is optional. If not provided, the document will be attached to the latest version of the product.
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof UploadProductDocumentRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'productVersionId'?: number;
|
|
66
|
+
}
|
|
67
|
+
export declare const UploadProductDocumentRequestDtoContentTypeEnum: {
|
|
68
|
+
readonly Pdf: "pdf";
|
|
69
|
+
readonly Jpg: "jpg";
|
|
70
|
+
readonly Png: "png";
|
|
71
|
+
readonly Csv: "csv";
|
|
72
|
+
readonly Doc: "doc";
|
|
73
|
+
readonly Docx: "docx";
|
|
74
|
+
};
|
|
75
|
+
export type UploadProductDocumentRequestDtoContentTypeEnum = typeof UploadProductDocumentRequestDtoContentTypeEnum[keyof typeof UploadProductDocumentRequestDtoContentTypeEnum];
|
|
@@ -0,0 +1,24 @@
|
|
|
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.UploadProductDocumentRequestDtoContentTypeEnum = void 0;
|
|
17
|
+
exports.UploadProductDocumentRequestDtoContentTypeEnum = {
|
|
18
|
+
Pdf: 'pdf',
|
|
19
|
+
Jpg: 'jpg',
|
|
20
|
+
Png: 'png',
|
|
21
|
+
Csv: 'csv',
|
|
22
|
+
Doc: 'doc',
|
|
23
|
+
Docx: 'docx'
|
|
24
|
+
};
|
|
@@ -37,7 +37,7 @@ export interface CreateDocumentRequestDto {
|
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof CreateDocumentRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'entityType':
|
|
40
|
+
'entityType': CreateDocumentRequestDtoEntityTypeEnum;
|
|
41
41
|
/**
|
|
42
42
|
* Specifies the document creation strategy to be used, either synchronous or asynchronous.
|
|
43
43
|
* @type {string}
|
|
@@ -118,6 +118,18 @@ 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];
|
|
121
133
|
export const CreateDocumentRequestDtoStrategyEnum = {
|
|
122
134
|
Sync: 'Sync',
|
|
123
135
|
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': DocumentClassEntityTypeEnum;
|
|
47
47
|
/**
|
|
48
48
|
* Payload used to replace variables in the template.
|
|
49
49
|
* @type {object}
|
|
@@ -124,6 +124,18 @@ 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];
|
|
127
139
|
export const DocumentClassRequesterEnum = {
|
|
128
140
|
Accountservice: 'accountservice',
|
|
129
141
|
Insuranceservice: 'insuranceservice',
|
|
@@ -67,7 +67,7 @@ export interface DocxTemplateClass {
|
|
|
67
67
|
* @type {string}
|
|
68
68
|
* @memberof DocxTemplateClass
|
|
69
69
|
*/
|
|
70
|
-
'entityType':
|
|
70
|
+
'entityType': DocxTemplateClassEntityTypeEnum;
|
|
71
71
|
/**
|
|
72
72
|
* Name of the file the end user will see when he downloads it.
|
|
73
73
|
* @type {string}
|
|
@@ -94,3 +94,17 @@ 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
|
+
|
package/models/index.ts
CHANGED
|
@@ -57,4 +57,5 @@ export * from './update-html-template-dto';
|
|
|
57
57
|
export * from './update-layout-request-dto';
|
|
58
58
|
export * from './update-layout-response-class';
|
|
59
59
|
export * from './upload-docx-template-request-dto';
|
|
60
|
+
export * from './upload-docx-template-response-class';
|
|
60
61
|
export * from './upload-product-document-request-dto';
|
|
@@ -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]: string; }; }}
|
|
32
32
|
* @memberof InlineResponse200
|
|
33
33
|
*/
|
|
34
|
-
'info'?: { [key: string]: { [key: string]:
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: string; }; } | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {{ [key: string]: { [key: string]:
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
38
38
|
* @memberof InlineResponse200
|
|
39
39
|
*/
|
|
40
|
-
'error'?: { [key: string]: { [key: string]:
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: string; }; } | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {{ [key: string]: { [key: string]:
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
44
44
|
* @memberof InlineResponse200
|
|
45
45
|
*/
|
|
46
|
-
'details'?: { [key: string]: { [key: string]:
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: string; }; };
|
|
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]: string; }; }}
|
|
32
32
|
* @memberof InlineResponse503
|
|
33
33
|
*/
|
|
34
|
-
'info'?: { [key: string]: { [key: string]:
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: string; }; } | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {{ [key: string]: { [key: string]:
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
38
38
|
* @memberof InlineResponse503
|
|
39
39
|
*/
|
|
40
|
-
'error'?: { [key: string]: { [key: string]:
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: string; }; } | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {{ [key: string]: { [key: string]:
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
44
44
|
* @memberof InlineResponse503
|
|
45
45
|
*/
|
|
46
|
-
'details'?: { [key: string]: { [key: string]:
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: string; }; };
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -69,7 +69,7 @@ export interface ProductDocumentClass {
|
|
|
69
69
|
*/
|
|
70
70
|
's3Key': string;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* Type of the document expressed with its file extension.
|
|
73
73
|
* @type {string}
|
|
74
74
|
* @memberof ProductDocumentClass
|
|
75
75
|
*/
|
|
@@ -79,13 +79,7 @@ export interface ProductDocumentClass {
|
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof ProductDocumentClass
|
|
81
81
|
*/
|
|
82
|
-
'entityType':
|
|
83
|
-
/**
|
|
84
|
-
* The file name the end user will see when downloading it.
|
|
85
|
-
* @type {string}
|
|
86
|
-
* @memberof ProductDocumentClass
|
|
87
|
-
*/
|
|
88
|
-
'filename': string;
|
|
82
|
+
'entityType': ProductDocumentClassEntityTypeEnum;
|
|
89
83
|
/**
|
|
90
84
|
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
91
85
|
* @type {string}
|
|
@@ -116,11 +110,35 @@ export const ProductDocumentClassContentTypeEnum = {
|
|
|
116
110
|
Pdf: 'pdf',
|
|
117
111
|
Jpg: 'jpg',
|
|
118
112
|
Png: 'png',
|
|
113
|
+
Gz: 'gz',
|
|
119
114
|
Csv: 'csv',
|
|
120
115
|
Doc: 'doc',
|
|
121
|
-
Docx: 'docx'
|
|
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'
|
|
122
128
|
} as const;
|
|
123
129
|
|
|
124
130
|
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];
|
|
125
143
|
|
|
126
144
|
|
|
@@ -0,0 +1,36 @@
|
|
|
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 UploadDocxTemplateResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface UploadDocxTemplateResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Pre-signed url for uploading the docx template.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UploadDocxTemplateResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'url': string;
|
|
29
|
+
/**
|
|
30
|
+
* Upload document fields.
|
|
31
|
+
* @type {object}
|
|
32
|
+
* @memberof UploadDocxTemplateResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'fields': object;
|
|
35
|
+
}
|
|
36
|
+
|