@emilgroup/document-sdk-node 1.0.0
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 +45 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +68 -0
- package/api/document-templates-api.ts +675 -0
- package/api/documents-api.ts +762 -0
- package/api/layouts-api.ts +661 -0
- package/api/searchable-document-owners-api.ts +232 -0
- package/api/searchable-documents-api.ts +180 -0
- package/api.ts +44 -0
- package/base.ts +255 -0
- package/common.ts +138 -0
- package/configuration.ts +109 -0
- package/dist/api/document-templates-api.d.ts +372 -0
- package/dist/api/document-templates-api.js +628 -0
- package/dist/api/documents-api.d.ts +424 -0
- package/dist/api/documents-api.js +723 -0
- package/dist/api/layouts-api.d.ts +363 -0
- package/dist/api/layouts-api.js +622 -0
- package/dist/api/searchable-document-owners-api.d.ts +137 -0
- package/dist/api/searchable-document-owners-api.js +254 -0
- package/dist/api/searchable-documents-api.d.ts +101 -0
- package/dist/api/searchable-documents-api.js +233 -0
- package/dist/api.d.ts +20 -0
- package/dist/api.js +40 -0
- package/dist/base.d.ts +76 -0
- package/dist/base.js +364 -0
- package/dist/common.d.ts +66 -0
- package/dist/common.js +244 -0
- package/dist/configuration.d.ts +90 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +35 -0
- package/dist/models/create-doc-template-request-dto.d.ts +43 -0
- package/dist/models/create-doc-template-request-dto.js +15 -0
- package/dist/models/create-document-request-dto.d.ts +143 -0
- package/dist/models/create-document-request-dto.js +65 -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-presigned-post-request-dto.d.ts +103 -0
- package/dist/models/create-presigned-post-request-dto.js +51 -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-request-dto.d.ts +24 -0
- package/dist/models/delete-request-dto.js +15 -0
- package/dist/models/doc-template-class.d.ts +80 -0
- package/dist/models/doc-template-class.js +15 -0
- package/dist/models/document-class.d.ts +150 -0
- package/dist/models/document-class.js +61 -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-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/html-template-class.d.ts +66 -0
- package/dist/models/html-template-class.js +21 -0
- package/dist/models/index.d.ts +28 -0
- package/dist/models/index.js +44 -0
- package/dist/models/layout-class.d.ts +79 -0
- package/dist/models/layout-class.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-layouts-response-class.d.ts +31 -0
- package/dist/models/list-layouts-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-searchable-document-owners-response-class.d.ts +24 -0
- package/dist/models/list-searchable-document-owners-response-class.js +15 -0
- package/dist/models/list-searchable-documents-request-dto.d.ts +30 -0
- package/dist/models/list-searchable-documents-request-dto.js +15 -0
- package/dist/models/list-searchable-documents-response-class.d.ts +30 -0
- package/dist/models/list-searchable-documents-response-class.js +15 -0
- package/dist/models/update-doc-template-request-dto.d.ts +49 -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 +48 -0
- package/dist/models/update-document-request-dto.js +15 -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/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/create-doc-template-request-dto.ts +49 -0
- package/models/create-document-request-dto.ts +155 -0
- package/models/create-html-template-dto.ts +30 -0
- package/models/create-layout-request-dto.ts +55 -0
- package/models/create-presigned-post-request-dto.ts +113 -0
- package/models/create-presigned-post-response-class.ts +36 -0
- package/models/delete-layout-request-dto.ts +30 -0
- package/models/delete-request-dto.ts +30 -0
- package/models/doc-template-class.ts +86 -0
- package/models/document-class.ts +161 -0
- package/models/download-document-request-dto.ts +36 -0
- package/models/get-doc-template-request-dto.ts +36 -0
- package/models/get-doc-template-response-class.ts +31 -0
- package/models/get-document-download-url-response-class.ts +30 -0
- package/models/get-layout-request-dto.ts +30 -0
- package/models/get-layout-response-class.ts +31 -0
- package/models/html-template-class.ts +75 -0
- package/models/index.ts +28 -0
- package/models/layout-class.ts +85 -0
- package/models/list-doc-templates-response-class.ts +37 -0
- package/models/list-documents-response-class.ts +37 -0
- package/models/list-layouts-response-class.ts +37 -0
- package/models/list-request-dto.ts +60 -0
- package/models/list-searchable-document-owners-response-class.ts +30 -0
- package/models/list-searchable-documents-request-dto.ts +36 -0
- package/models/list-searchable-documents-response-class.ts +36 -0
- package/models/update-doc-template-request-dto.ts +55 -0
- package/models/update-doc-template-response-class.ts +31 -0
- package/models/update-document-request-dto.ts +54 -0
- package/models/update-layout-request-dto.ts +61 -0
- package/models/update-layout-response-class.ts +31 -0
- package/package.json +29 -0
- package/tsconfig.json +22 -0
|
@@ -0,0 +1,113 @@
|
|
|
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
|
+
*
|
|
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 CreatePresignedPostRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePresignedPostRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Document template slug
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreatePresignedPostRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'templateSlug': string;
|
|
29
|
+
/**
|
|
30
|
+
* Document entity type
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePresignedPostRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'entityType': string;
|
|
35
|
+
/**
|
|
36
|
+
* Document description
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreatePresignedPostRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'description': string;
|
|
41
|
+
/**
|
|
42
|
+
* Unique identifier for policy
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePresignedPostRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'policyCode'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Unique identifier for account
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreatePresignedPostRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'accountCode'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Document requester
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreatePresignedPostRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'requester': CreatePresignedPostRequestDtoRequesterEnum;
|
|
59
|
+
/**
|
|
60
|
+
* Document content type
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreatePresignedPostRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'contentType': CreatePresignedPostRequestDtoContentTypeEnum;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreatePresignedPostRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'filename': string;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export const CreatePresignedPostRequestDtoRequesterEnum = {
|
|
74
|
+
Accountservice: 'accountservice',
|
|
75
|
+
Insuranceservice: 'insuranceservice',
|
|
76
|
+
Billingservice: 'billingservice',
|
|
77
|
+
Tenantservice: 'tenantservice',
|
|
78
|
+
BookingFunnel: 'bookingFunnel',
|
|
79
|
+
Publicapi: 'publicapi',
|
|
80
|
+
Admin: 'admin',
|
|
81
|
+
Claimservice: 'claimservice',
|
|
82
|
+
Customerservice: 'customerservice',
|
|
83
|
+
Notificationservice: 'notificationservice',
|
|
84
|
+
Paymentservice: 'paymentservice',
|
|
85
|
+
Processmanager: 'processmanager',
|
|
86
|
+
Gdvservice: 'gdvservice'
|
|
87
|
+
} as const;
|
|
88
|
+
|
|
89
|
+
export type CreatePresignedPostRequestDtoRequesterEnum = typeof CreatePresignedPostRequestDtoRequesterEnum[keyof typeof CreatePresignedPostRequestDtoRequesterEnum];
|
|
90
|
+
export const CreatePresignedPostRequestDtoContentTypeEnum = {
|
|
91
|
+
Pdf: 'pdf',
|
|
92
|
+
Jpg: 'jpg',
|
|
93
|
+
Png: 'png',
|
|
94
|
+
Gz: 'gz',
|
|
95
|
+
Csv: 'csv',
|
|
96
|
+
Doc: 'doc',
|
|
97
|
+
Docx: 'docx',
|
|
98
|
+
Html: 'html',
|
|
99
|
+
Json: 'json',
|
|
100
|
+
Xml: 'xml',
|
|
101
|
+
Txt: 'txt',
|
|
102
|
+
Zip: 'zip',
|
|
103
|
+
Tar: 'tar',
|
|
104
|
+
Rar: 'rar',
|
|
105
|
+
Mp4: 'MP4',
|
|
106
|
+
Mov: 'MOV',
|
|
107
|
+
Wmv: 'WMV',
|
|
108
|
+
Avi: 'AVI'
|
|
109
|
+
} as const;
|
|
110
|
+
|
|
111
|
+
export type CreatePresignedPostRequestDtoContentTypeEnum = typeof CreatePresignedPostRequestDtoContentTypeEnum[keyof typeof CreatePresignedPostRequestDtoContentTypeEnum];
|
|
112
|
+
|
|
113
|
+
|
|
@@ -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
|
+
*
|
|
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 CreatePresignedPostResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePresignedPostResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Upload document fields
|
|
25
|
+
* @type {object}
|
|
26
|
+
* @memberof CreatePresignedPostResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'fields': object;
|
|
29
|
+
/**
|
|
30
|
+
* Pre-signed Url
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePresignedPostResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'url': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
*
|
|
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 DeleteLayoutRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteLayoutRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Layout id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof DeleteLayoutRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
*
|
|
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 DeleteRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Resource id
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DeleteRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
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
|
+
*
|
|
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 { HtmlTemplateClass } from './html-template-class';
|
|
17
|
+
import { LayoutClass } from './layout-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface DocTemplateClass
|
|
23
|
+
*/
|
|
24
|
+
export interface DocTemplateClass {
|
|
25
|
+
/**
|
|
26
|
+
* Template id
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof DocTemplateClass
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
* Record owner
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof DocTemplateClass
|
|
35
|
+
*/
|
|
36
|
+
'owner': string;
|
|
37
|
+
/**
|
|
38
|
+
* Template name
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof DocTemplateClass
|
|
41
|
+
*/
|
|
42
|
+
'name': string;
|
|
43
|
+
/**
|
|
44
|
+
* Template slug
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof DocTemplateClass
|
|
47
|
+
*/
|
|
48
|
+
'slug': string;
|
|
49
|
+
/**
|
|
50
|
+
* Layout id
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof DocTemplateClass
|
|
53
|
+
*/
|
|
54
|
+
'layoutId': number;
|
|
55
|
+
/**
|
|
56
|
+
* Body Template
|
|
57
|
+
* @type {HtmlTemplateClass}
|
|
58
|
+
* @memberof DocTemplateClass
|
|
59
|
+
*/
|
|
60
|
+
'bodyTemplate': HtmlTemplateClass;
|
|
61
|
+
/**
|
|
62
|
+
* Template Layout
|
|
63
|
+
* @type {LayoutClass}
|
|
64
|
+
* @memberof DocTemplateClass
|
|
65
|
+
*/
|
|
66
|
+
'layout': LayoutClass;
|
|
67
|
+
/**
|
|
68
|
+
* Template created at
|
|
69
|
+
* @type {object}
|
|
70
|
+
* @memberof DocTemplateClass
|
|
71
|
+
*/
|
|
72
|
+
'createdAt': object;
|
|
73
|
+
/**
|
|
74
|
+
* Template updated at
|
|
75
|
+
* @type {object}
|
|
76
|
+
* @memberof DocTemplateClass
|
|
77
|
+
*/
|
|
78
|
+
'updatedAt': object;
|
|
79
|
+
/**
|
|
80
|
+
* Template updated at
|
|
81
|
+
* @type {object}
|
|
82
|
+
* @memberof DocTemplateClass
|
|
83
|
+
*/
|
|
84
|
+
'deletedAt': object;
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -0,0 +1,161 @@
|
|
|
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
|
+
*
|
|
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 DocumentClass
|
|
21
|
+
*/
|
|
22
|
+
export interface DocumentClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof DocumentClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof DocumentClass
|
|
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. In this case, the template used for this document.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof DocumentClass
|
|
39
|
+
*/
|
|
40
|
+
'templateSlug': string;
|
|
41
|
+
/**
|
|
42
|
+
* Document entity type
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof DocumentClass
|
|
45
|
+
*/
|
|
46
|
+
'entityType': DocumentClassEntityTypeEnum;
|
|
47
|
+
/**
|
|
48
|
+
* Payload used to replace variables in the template.
|
|
49
|
+
* @type {object}
|
|
50
|
+
* @memberof DocumentClass
|
|
51
|
+
*/
|
|
52
|
+
'payload': object;
|
|
53
|
+
/**
|
|
54
|
+
* Unique identifier of the policy that the document belongs to
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof DocumentClass
|
|
57
|
+
*/
|
|
58
|
+
'policyCode'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Unique identifier of the account that the document belongs to
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof DocumentClass
|
|
63
|
+
*/
|
|
64
|
+
'accountCode'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Unique identifier referencing the entity on the service the document belongs to.
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof DocumentClass
|
|
69
|
+
*/
|
|
70
|
+
'entityId'?: number;
|
|
71
|
+
/**
|
|
72
|
+
* Identifier of the service that requested the creation of this document.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof DocumentClass
|
|
75
|
+
*/
|
|
76
|
+
'requester': DocumentClassRequesterEnum;
|
|
77
|
+
/**
|
|
78
|
+
* Metadata can contain extra information that the document would need for specific cases.
|
|
79
|
+
* @type {object}
|
|
80
|
+
* @memberof DocumentClass
|
|
81
|
+
*/
|
|
82
|
+
'metadata': object;
|
|
83
|
+
/**
|
|
84
|
+
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof DocumentClass
|
|
87
|
+
*/
|
|
88
|
+
'description': string;
|
|
89
|
+
/**
|
|
90
|
+
* The unique key used by Amazon Simple Storage Service (S3).
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof DocumentClass
|
|
93
|
+
*/
|
|
94
|
+
's3Key': string;
|
|
95
|
+
/**
|
|
96
|
+
* Type of the document expressed with its file extension.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof DocumentClass
|
|
99
|
+
*/
|
|
100
|
+
'contentType': DocumentClassContentTypeEnum;
|
|
101
|
+
/**
|
|
102
|
+
* Time at which the object was created.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof DocumentClass
|
|
105
|
+
*/
|
|
106
|
+
'createdAt': string;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export const DocumentClassEntityTypeEnum = {
|
|
110
|
+
PolicyApplication: 'policy_application',
|
|
111
|
+
PolicyContract: 'policy_contract',
|
|
112
|
+
PolicyAddendum: 'policy_addendum',
|
|
113
|
+
InitialInvoice: 'initial_invoice',
|
|
114
|
+
CorrectionInvoice: 'correction_invoice',
|
|
115
|
+
RecurringInvoice: 'recurring_invoice',
|
|
116
|
+
SepaMandate: 'sepa_mandate',
|
|
117
|
+
Static: 'static'
|
|
118
|
+
} as const;
|
|
119
|
+
|
|
120
|
+
export type DocumentClassEntityTypeEnum = typeof DocumentClassEntityTypeEnum[keyof typeof DocumentClassEntityTypeEnum];
|
|
121
|
+
export const DocumentClassRequesterEnum = {
|
|
122
|
+
Accountservice: 'accountservice',
|
|
123
|
+
Insuranceservice: 'insuranceservice',
|
|
124
|
+
Billingservice: 'billingservice',
|
|
125
|
+
Tenantservice: 'tenantservice',
|
|
126
|
+
BookingFunnel: 'bookingFunnel',
|
|
127
|
+
Publicapi: 'publicapi',
|
|
128
|
+
Admin: 'admin',
|
|
129
|
+
Claimservice: 'claimservice',
|
|
130
|
+
Customerservice: 'customerservice',
|
|
131
|
+
Notificationservice: 'notificationservice',
|
|
132
|
+
Paymentservice: 'paymentservice',
|
|
133
|
+
Processmanager: 'processmanager',
|
|
134
|
+
Gdvservice: 'gdvservice'
|
|
135
|
+
} as const;
|
|
136
|
+
|
|
137
|
+
export type DocumentClassRequesterEnum = typeof DocumentClassRequesterEnum[keyof typeof DocumentClassRequesterEnum];
|
|
138
|
+
export const DocumentClassContentTypeEnum = {
|
|
139
|
+
Pdf: 'pdf',
|
|
140
|
+
Jpg: 'jpg',
|
|
141
|
+
Png: 'png',
|
|
142
|
+
Gz: 'gz',
|
|
143
|
+
Csv: 'csv',
|
|
144
|
+
Doc: 'doc',
|
|
145
|
+
Docx: 'docx',
|
|
146
|
+
Html: 'html',
|
|
147
|
+
Json: 'json',
|
|
148
|
+
Xml: 'xml',
|
|
149
|
+
Txt: 'txt',
|
|
150
|
+
Zip: 'zip',
|
|
151
|
+
Tar: 'tar',
|
|
152
|
+
Rar: 'rar',
|
|
153
|
+
Mp4: 'MP4',
|
|
154
|
+
Mov: 'MOV',
|
|
155
|
+
Wmv: 'WMV',
|
|
156
|
+
Avi: 'AVI'
|
|
157
|
+
} as const;
|
|
158
|
+
|
|
159
|
+
export type DocumentClassContentTypeEnum = typeof DocumentClassContentTypeEnum[keyof typeof DocumentClassContentTypeEnum];
|
|
160
|
+
|
|
161
|
+
|
|
@@ -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
|
+
*
|
|
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 DownloadDocumentRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface DownloadDocumentRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Document code
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DownloadDocumentRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* Document key
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof DownloadDocumentRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'documentKey': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -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
|
+
*
|
|
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 GetDocTemplateRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDocTemplateRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Template id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof GetDocTemplateRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof GetDocTemplateRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'expand'?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -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
|
+
*
|
|
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 { DocTemplateClass } from './doc-template-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetDocTemplateResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetDocTemplateResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Template
|
|
26
|
+
* @type {DocTemplateClass}
|
|
27
|
+
* @memberof GetDocTemplateResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'template': DocTemplateClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
*
|
|
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 GetDocumentDownloadUrlResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDocumentDownloadUrlResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Pre-signed Url
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof GetDocumentDownloadUrlResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'url': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
*
|
|
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 GetLayoutRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface GetLayoutRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Layout id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof GetLayoutRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -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
|
+
*
|
|
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 { LayoutClass } from './layout-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetLayoutResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetLayoutResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Layout
|
|
26
|
+
* @type {LayoutClass}
|
|
27
|
+
* @memberof GetLayoutResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'layout': LayoutClass;
|
|
30
|
+
}
|
|
31
|
+
|