@emilgroup/document-sdk 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 +61 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +68 -0
- package/api/document-templates-api.ts +669 -0
- package/api/documents-api.ts +880 -0
- package/api/layouts-api.ts +685 -0
- package/api/search-keywords-api.ts +168 -0
- package/api/searchable-document-owners-api.ts +236 -0
- package/api/searchable-documents-api.ts +184 -0
- package/api.ts +41 -0
- package/base.ts +284 -0
- package/common.ts +199 -0
- package/configuration.ts +109 -0
- package/dist/api/document-templates-api.d.ts +376 -0
- package/dist/api/document-templates-api.js +634 -0
- package/dist/api/documents-api.d.ts +488 -0
- package/dist/api/documents-api.js +821 -0
- package/dist/api/layouts-api.d.ts +385 -0
- package/dist/api/layouts-api.js +642 -0
- package/dist/api/search-keywords-api.d.ts +96 -0
- package/dist/api/search-keywords-api.js +229 -0
- package/dist/api/searchable-document-owners-api.d.ts +141 -0
- package/dist/api/searchable-document-owners-api.js +258 -0
- package/dist/api/searchable-documents-api.d.ts +105 -0
- package/dist/api/searchable-documents-api.js +237 -0
- package/dist/api.d.ts +17 -0
- package/dist/api.js +35 -0
- package/dist/base.d.ts +77 -0
- package/dist/base.js +393 -0
- package/dist/common.d.ts +92 -0
- package/dist/common.js +277 -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 +36 -0
- package/dist/models/create-doc-template-request-dto.d.ts +49 -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 +155 -0
- package/dist/models/create-document-request-dto.js +65 -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 +127 -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/delete-response-class.d.ts +24 -0
- package/dist/models/delete-response-class.js +15 -0
- package/dist/models/doc-template-class.d.ts +86 -0
- package/dist/models/doc-template-class.js +15 -0
- package/dist/models/document-class.d.ts +162 -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/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/html-template-class.d.ts +66 -0
- package/dist/models/html-template-class.js +21 -0
- package/dist/models/index.d.ts +42 -0
- package/dist/models/index.js +58 -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 +48 -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-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-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-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 +30 -0
- package/dist/models/list-searchable-documents-request-dto.js +15 -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/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/update-doc-template-request-dto.d.ts +55 -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-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/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/create-doc-template-request-dto.ts +55 -0
- package/models/create-doc-template-response-class.ts +31 -0
- package/models/create-document-request-dto.ts +167 -0
- package/models/create-document-sync-response-class.ts +31 -0
- package/models/create-html-template-dto.ts +30 -0
- package/models/create-layout-request-dto.ts +55 -0
- package/models/create-layout-response-class.ts +31 -0
- package/models/create-presigned-post-request-dto.ts +137 -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/delete-response-class.ts +30 -0
- package/models/doc-template-class.ts +92 -0
- package/models/document-class.ts +173 -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/get-signed-s3-key-url-response-class.ts +30 -0
- package/models/html-template-class.ts +75 -0
- package/models/index.ts +42 -0
- package/models/layout-class.ts +85 -0
- package/models/list-doc-template-request-dto.ts +54 -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-search-keywords-request-dto.ts +30 -0
- package/models/list-search-keywords-response-class.ts +30 -0
- package/models/list-searchable-document-owners-response-class.ts +31 -0
- package/models/list-searchable-documents-request-dto.ts +36 -0
- package/models/list-searchable-documents-response-class.ts +37 -0
- package/models/searchable-document-class.ts +72 -0
- package/models/searchable-document-owner-class.ts +36 -0
- package/models/update-doc-template-request-dto.ts +61 -0
- package/models/update-doc-template-response-class.ts +31 -0
- package/models/update-document-request-dto.ts +60 -0
- package/models/update-document-response-class.ts +31 -0
- package/models/update-html-template-dto.ts +51 -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,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
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
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
|
+
* Unique identifier for the object.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DeleteRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'code': 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 DeleteResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {object}
|
|
26
|
+
* @memberof DeleteResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'response': object;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
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
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof DocTemplateClass
|
|
47
|
+
*/
|
|
48
|
+
'slug': string;
|
|
49
|
+
/**
|
|
50
|
+
* Unique identifier referencing the layout.
|
|
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
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof DocTemplateClass
|
|
71
|
+
*/
|
|
72
|
+
'productSlug'?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Time at which the object was created.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof DocTemplateClass
|
|
77
|
+
*/
|
|
78
|
+
'createdAt': string;
|
|
79
|
+
/**
|
|
80
|
+
* Time at which the object was updated.
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof DocTemplateClass
|
|
83
|
+
*/
|
|
84
|
+
'updatedAt': string;
|
|
85
|
+
/**
|
|
86
|
+
* Time at which the object was deleted.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof DocTemplateClass
|
|
89
|
+
*/
|
|
90
|
+
'deletedAt'?: string;
|
|
91
|
+
}
|
|
92
|
+
|
|
@@ -0,0 +1,173 @@
|
|
|
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.
|
|
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 this object belongs to.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof DocumentClass
|
|
57
|
+
*/
|
|
58
|
+
'policyCode'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Unique identifier of the account that this object belongs to.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof DocumentClass
|
|
63
|
+
*/
|
|
64
|
+
'accountCode'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Unique identifier of the lead that this object belongs to.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof DocumentClass
|
|
69
|
+
*/
|
|
70
|
+
'leadCode'?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Unique identifier referencing the entity.
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof DocumentClass
|
|
75
|
+
*/
|
|
76
|
+
'entityId'?: number;
|
|
77
|
+
/**
|
|
78
|
+
* Identifier of the service that requested the creation of this document.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof DocumentClass
|
|
81
|
+
*/
|
|
82
|
+
'requester': DocumentClassRequesterEnum;
|
|
83
|
+
/**
|
|
84
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
85
|
+
* @type {object}
|
|
86
|
+
* @memberof DocumentClass
|
|
87
|
+
*/
|
|
88
|
+
'metadata'?: object;
|
|
89
|
+
/**
|
|
90
|
+
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof DocumentClass
|
|
93
|
+
*/
|
|
94
|
+
'description': string;
|
|
95
|
+
/**
|
|
96
|
+
* The unique key used by Amazon Simple Storage Service (S3).
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof DocumentClass
|
|
99
|
+
*/
|
|
100
|
+
's3Key': string;
|
|
101
|
+
/**
|
|
102
|
+
* Type of the document expressed with its file extension.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof DocumentClass
|
|
105
|
+
*/
|
|
106
|
+
'contentType': DocumentClassContentTypeEnum;
|
|
107
|
+
/**
|
|
108
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof DocumentClass
|
|
111
|
+
*/
|
|
112
|
+
'productSlug'?: string;
|
|
113
|
+
/**
|
|
114
|
+
* Time at which the object was created.
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof DocumentClass
|
|
117
|
+
*/
|
|
118
|
+
'createdAt': string;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export const DocumentClassEntityTypeEnum = {
|
|
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 DocumentClassEntityTypeEnum = typeof DocumentClassEntityTypeEnum[keyof typeof DocumentClassEntityTypeEnum];
|
|
133
|
+
export const DocumentClassRequesterEnum = {
|
|
134
|
+
Accountservice: 'accountservice',
|
|
135
|
+
Insuranceservice: 'insuranceservice',
|
|
136
|
+
Billingservice: 'billingservice',
|
|
137
|
+
Tenantservice: 'tenantservice',
|
|
138
|
+
BookingFunnel: 'bookingFunnel',
|
|
139
|
+
Publicapi: 'publicapi',
|
|
140
|
+
Admin: 'admin',
|
|
141
|
+
Claimservice: 'claimservice',
|
|
142
|
+
Customerservice: 'customerservice',
|
|
143
|
+
Notificationservice: 'notificationservice',
|
|
144
|
+
Paymentservice: 'paymentservice',
|
|
145
|
+
Processmanager: 'processmanager',
|
|
146
|
+
Gdvservice: 'gdvservice'
|
|
147
|
+
} as const;
|
|
148
|
+
|
|
149
|
+
export type DocumentClassRequesterEnum = typeof DocumentClassRequesterEnum[keyof typeof DocumentClassRequesterEnum];
|
|
150
|
+
export const DocumentClassContentTypeEnum = {
|
|
151
|
+
Pdf: 'pdf',
|
|
152
|
+
Jpg: 'jpg',
|
|
153
|
+
Png: 'png',
|
|
154
|
+
Gz: 'gz',
|
|
155
|
+
Csv: 'csv',
|
|
156
|
+
Doc: 'doc',
|
|
157
|
+
Docx: 'docx',
|
|
158
|
+
Html: 'html',
|
|
159
|
+
Json: 'json',
|
|
160
|
+
Xml: 'xml',
|
|
161
|
+
Txt: 'txt',
|
|
162
|
+
Zip: 'zip',
|
|
163
|
+
Tar: 'tar',
|
|
164
|
+
Rar: 'rar',
|
|
165
|
+
Mp4: 'MP4',
|
|
166
|
+
Mov: 'MOV',
|
|
167
|
+
Wmv: 'WMV',
|
|
168
|
+
Avi: 'AVI'
|
|
169
|
+
} as const;
|
|
170
|
+
|
|
171
|
+
export type DocumentClassContentTypeEnum = typeof DocumentClassContentTypeEnum[keyof typeof DocumentClassContentTypeEnum];
|
|
172
|
+
|
|
173
|
+
|
|
@@ -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
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DownloadDocumentRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
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
|
+
*
|
|
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
|
+
* Document 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
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
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
|
+
|
|
@@ -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 GetSignedS3KeyUrlResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSignedS3KeyUrlResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Pre-signed Url
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof GetSignedS3KeyUrlResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'url': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
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 HtmlTemplateClass
|
|
21
|
+
*/
|
|
22
|
+
export interface HtmlTemplateClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof HtmlTemplateClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Template type of HTML layout elements: Header,Body and Footer.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof HtmlTemplateClass
|
|
33
|
+
*/
|
|
34
|
+
'type': HtmlTemplateClassTypeEnum;
|
|
35
|
+
/**
|
|
36
|
+
* Template content.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof HtmlTemplateClass
|
|
39
|
+
*/
|
|
40
|
+
'content': string;
|
|
41
|
+
/**
|
|
42
|
+
* Template draft content.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof HtmlTemplateClass
|
|
45
|
+
*/
|
|
46
|
+
'draftContent': string;
|
|
47
|
+
/**
|
|
48
|
+
* Time at which the object was created.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof HtmlTemplateClass
|
|
51
|
+
*/
|
|
52
|
+
'createdAt': string;
|
|
53
|
+
/**
|
|
54
|
+
* Time at which the object was updated.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof HtmlTemplateClass
|
|
57
|
+
*/
|
|
58
|
+
'updatedAt': string;
|
|
59
|
+
/**
|
|
60
|
+
* Time at which the template was deleted.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof HtmlTemplateClass
|
|
63
|
+
*/
|
|
64
|
+
'deletedAt': string;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export const HtmlTemplateClassTypeEnum = {
|
|
68
|
+
Header: 'header',
|
|
69
|
+
Footer: 'footer',
|
|
70
|
+
Body: 'body'
|
|
71
|
+
} as const;
|
|
72
|
+
|
|
73
|
+
export type HtmlTemplateClassTypeEnum = typeof HtmlTemplateClassTypeEnum[keyof typeof HtmlTemplateClassTypeEnum];
|
|
74
|
+
|
|
75
|
+
|