@emilgroup/document-sdk-node 1.2.0 → 1.2.1
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 +15 -0
- package/README.md +2 -2
- package/api/document-templates-api.ts +88 -94
- package/api/documents-api.ts +152 -34
- package/api/layouts-api.ts +52 -28
- package/api/search-keywords-api.ts +168 -0
- package/api/searchable-document-owners-api.ts +26 -22
- package/api/searchable-documents-api.ts +16 -12
- package/api.ts +2 -0
- package/base.ts +1 -1
- package/dist/api/document-templates-api.d.ts +82 -78
- package/dist/api/document-templates-api.js +73 -67
- package/dist/api/documents-api.d.ts +93 -29
- package/dist/api/documents-api.js +121 -23
- package/dist/api/layouts-api.d.ts +52 -30
- package/dist/api/layouts-api.js +43 -23
- 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 +23 -19
- package/dist/api/searchable-document-owners-api.js +16 -12
- package/dist/api/searchable-documents-api.d.ts +16 -12
- package/dist/api/searchable-documents-api.js +14 -10
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.js +1 -1
- package/dist/models/create-doc-template-request-dto.d.ts +10 -4
- 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 +20 -8
- 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 +1 -1
- package/dist/models/create-layout-request-dto.d.ts +10 -10
- 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 +1 -1
- package/dist/models/delete-request-dto.d.ts +1 -1
- 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 +25 -19
- package/dist/models/document-class.d.ts +20 -8
- package/dist/models/download-document-request-dto.d.ts +2 -2
- package/dist/models/get-doc-template-request-dto.d.ts +1 -1
- package/dist/models/get-doc-template-response-class.d.ts +1 -1
- package/dist/models/get-document-download-url-response-class.d.ts +1 -1
- package/dist/models/get-layout-request-dto.d.ts +1 -1
- 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 +7 -7
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/dist/models/layout-class.d.ts +11 -11
- 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 +1 -1
- package/dist/models/list-documents-response-class.d.ts +1 -1
- package/dist/models/list-layouts-response-class.d.ts +1 -1
- 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 +3 -2
- package/dist/models/list-searchable-documents-request-dto.d.ts +2 -2
- package/dist/models/list-searchable-documents-response-class.d.ts +5 -4
- 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 +16 -10
- package/dist/models/update-doc-template-response-class.d.ts +1 -1
- package/dist/models/update-document-request-dto.d.ts +10 -4
- 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 +15 -15
- package/dist/models/update-layout-response-class.d.ts +1 -1
- package/models/create-doc-template-request-dto.ts +10 -4
- package/models/create-doc-template-response-class.ts +31 -0
- package/models/create-document-request-dto.ts +20 -8
- package/models/create-document-sync-response-class.ts +31 -0
- package/models/create-html-template-dto.ts +1 -1
- package/models/create-layout-request-dto.ts +10 -10
- 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 +1 -1
- package/models/delete-request-dto.ts +1 -1
- package/models/delete-response-class.ts +30 -0
- package/models/doc-template-class.ts +25 -19
- package/models/document-class.ts +20 -8
- package/models/download-document-request-dto.ts +2 -2
- package/models/get-doc-template-request-dto.ts +1 -1
- package/models/get-doc-template-response-class.ts +1 -1
- package/models/get-document-download-url-response-class.ts +1 -1
- package/models/get-layout-request-dto.ts +1 -1
- package/models/get-signed-s3-key-url-response-class.ts +30 -0
- package/models/html-template-class.ts +7 -7
- package/models/index.ts +14 -0
- package/models/layout-class.ts +11 -11
- package/models/list-doc-template-request-dto.ts +54 -0
- package/models/list-doc-templates-response-class.ts +1 -1
- package/models/list-documents-response-class.ts +1 -1
- package/models/list-layouts-response-class.ts +1 -1
- 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 +3 -2
- package/models/list-searchable-documents-request-dto.ts +2 -2
- package/models/list-searchable-documents-response-class.ts +5 -4
- 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 +16 -10
- package/models/update-doc-template-response-class.ts +1 -1
- package/models/update-document-request-dto.ts +10 -4
- 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 +15 -15
- package/models/update-layout-response-class.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL DocumentService
|
|
3
|
+
* The EMIL DocumentService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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 UpdateHtmlTemplateDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateHtmlTemplateDto {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof UpdateHtmlTemplateDto
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Template type based on HTML layout elements: Header,Body and Footer.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateHtmlTemplateDto
|
|
28
|
+
*/
|
|
29
|
+
'type': UpdateHtmlTemplateDtoTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Template draft content.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateHtmlTemplateDto
|
|
34
|
+
*/
|
|
35
|
+
'draftContent': string;
|
|
36
|
+
}
|
|
37
|
+
export declare const UpdateHtmlTemplateDtoTypeEnum: {
|
|
38
|
+
readonly Header: "header";
|
|
39
|
+
readonly Footer: "footer";
|
|
40
|
+
readonly Body: "body";
|
|
41
|
+
};
|
|
42
|
+
export type UpdateHtmlTemplateDtoTypeEnum = typeof UpdateHtmlTemplateDtoTypeEnum[keyof typeof UpdateHtmlTemplateDtoTypeEnum];
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
*
|
|
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.UpdateHtmlTemplateDtoTypeEnum = void 0;
|
|
17
|
+
exports.UpdateHtmlTemplateDtoTypeEnum = {
|
|
18
|
+
Header: 'header',
|
|
19
|
+
Footer: 'footer',
|
|
20
|
+
Body: 'body'
|
|
21
|
+
};
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { UpdateHtmlTemplateDto } from './update-html-template-dto';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -17,39 +17,39 @@ import { CreateHtmlTemplateDto } from './create-html-template-dto';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface UpdateLayoutRequestDto {
|
|
19
19
|
/**
|
|
20
|
-
* Layout name
|
|
20
|
+
* Layout name.
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof UpdateLayoutRequestDto
|
|
23
23
|
*/
|
|
24
24
|
'name': string;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
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
27
|
* @type {string}
|
|
28
28
|
* @memberof UpdateLayoutRequestDto
|
|
29
29
|
*/
|
|
30
30
|
'slug': string;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {
|
|
32
|
+
* Header template.
|
|
33
|
+
* @type {UpdateHtmlTemplateDto}
|
|
34
34
|
* @memberof UpdateLayoutRequestDto
|
|
35
35
|
*/
|
|
36
|
-
'
|
|
36
|
+
'headerTemplate': UpdateHtmlTemplateDto;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {
|
|
38
|
+
* Footer template.
|
|
39
|
+
* @type {UpdateHtmlTemplateDto}
|
|
40
40
|
* @memberof UpdateLayoutRequestDto
|
|
41
41
|
*/
|
|
42
|
-
'
|
|
42
|
+
'footerTemplate': UpdateHtmlTemplateDto;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {
|
|
44
|
+
* Layout style.
|
|
45
|
+
* @type {string}
|
|
46
46
|
* @memberof UpdateLayoutRequestDto
|
|
47
47
|
*/
|
|
48
|
-
'
|
|
48
|
+
'style': string;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {
|
|
50
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
51
|
+
* @type {number}
|
|
52
52
|
* @memberof UpdateLayoutRequestDto
|
|
53
53
|
*/
|
|
54
|
-
'
|
|
54
|
+
'id': number;
|
|
55
55
|
}
|
|
@@ -22,28 +22,34 @@ import { CreateHtmlTemplateDto } from './create-html-template-dto';
|
|
|
22
22
|
*/
|
|
23
23
|
export interface CreateDocTemplateRequestDto {
|
|
24
24
|
/**
|
|
25
|
-
* Template name
|
|
25
|
+
* Template name.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateDocTemplateRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'name': string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
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
32
|
* @type {string}
|
|
33
33
|
* @memberof CreateDocTemplateRequestDto
|
|
34
34
|
*/
|
|
35
35
|
'slug': string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Unique identifier referencing the layout.
|
|
38
38
|
* @type {number}
|
|
39
39
|
* @memberof CreateDocTemplateRequestDto
|
|
40
40
|
*/
|
|
41
41
|
'layoutId': number;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Body template.
|
|
44
44
|
* @type {CreateHtmlTemplateDto}
|
|
45
45
|
* @memberof CreateDocTemplateRequestDto
|
|
46
46
|
*/
|
|
47
47
|
'bodyTemplate': CreateHtmlTemplateDto;
|
|
48
|
+
/**
|
|
49
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateDocTemplateRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'productSlug'?: string;
|
|
48
54
|
}
|
|
49
55
|
|
|
@@ -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 CreateDocTemplateResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateDocTemplateResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Document template.
|
|
26
|
+
* @type {DocTemplateClass}
|
|
27
|
+
* @memberof CreateDocTemplateResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'template': DocTemplateClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface CreateDocumentRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
24
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof CreateDocumentRequestDto
|
|
27
27
|
*/
|
|
@@ -33,13 +33,13 @@ export interface CreateDocumentRequestDto {
|
|
|
33
33
|
*/
|
|
34
34
|
'payload': object;
|
|
35
35
|
/**
|
|
36
|
-
* Document entity type
|
|
36
|
+
* Document entity type.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof CreateDocumentRequestDto
|
|
39
39
|
*/
|
|
40
40
|
'entityType': CreateDocumentRequestDtoEntityTypeEnum;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Specifies the document creation strategy to be used, either synchronous or asynchronous.
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof CreateDocumentRequestDto
|
|
45
45
|
*/
|
|
@@ -51,19 +51,25 @@ export interface CreateDocumentRequestDto {
|
|
|
51
51
|
*/
|
|
52
52
|
'description': string;
|
|
53
53
|
/**
|
|
54
|
-
* Unique identifier of the policy that
|
|
54
|
+
* Unique identifier of the policy that this object belongs to.
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof CreateDocumentRequestDto
|
|
57
57
|
*/
|
|
58
58
|
'policyCode'?: string;
|
|
59
59
|
/**
|
|
60
|
-
* Unique identifier of the account that
|
|
60
|
+
* Unique identifier of the account that this object belongs to.
|
|
61
61
|
* @type {string}
|
|
62
62
|
* @memberof CreateDocumentRequestDto
|
|
63
63
|
*/
|
|
64
64
|
'accountCode'?: string;
|
|
65
65
|
/**
|
|
66
|
-
* Unique identifier
|
|
66
|
+
* Unique identifier of the lead that this object belongs to.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreateDocumentRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'leadCode'?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Unique identifier referencing the entity.
|
|
67
73
|
* @type {number}
|
|
68
74
|
* @memberof CreateDocumentRequestDto
|
|
69
75
|
*/
|
|
@@ -75,7 +81,7 @@ export interface CreateDocumentRequestDto {
|
|
|
75
81
|
*/
|
|
76
82
|
'requester': CreateDocumentRequestDtoRequesterEnum;
|
|
77
83
|
/**
|
|
78
|
-
* Metadata
|
|
84
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
79
85
|
* @type {object}
|
|
80
86
|
* @memberof CreateDocumentRequestDto
|
|
81
87
|
*/
|
|
@@ -85,13 +91,19 @@ export interface CreateDocumentRequestDto {
|
|
|
85
91
|
* @type {string}
|
|
86
92
|
* @memberof CreateDocumentRequestDto
|
|
87
93
|
*/
|
|
88
|
-
'contentType'
|
|
94
|
+
'contentType': CreateDocumentRequestDtoContentTypeEnum;
|
|
89
95
|
/**
|
|
90
96
|
* Name of the file the end user will see when he downloads it.
|
|
91
97
|
* @type {string}
|
|
92
98
|
* @memberof CreateDocumentRequestDto
|
|
93
99
|
*/
|
|
94
100
|
'filename'?: string;
|
|
101
|
+
/**
|
|
102
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof CreateDocumentRequestDto
|
|
105
|
+
*/
|
|
106
|
+
'productSlug'?: string;
|
|
95
107
|
}
|
|
96
108
|
|
|
97
109
|
export const CreateDocumentRequestDtoEntityTypeEnum = {
|
|
@@ -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 { DocumentClass } from './document-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateDocumentSyncResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateDocumentSyncResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Document
|
|
26
|
+
* @type {DocumentClass}
|
|
27
|
+
* @memberof CreateDocumentSyncResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'document': DocumentClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -22,34 +22,34 @@ import { CreateHtmlTemplateDto } from './create-html-template-dto';
|
|
|
22
22
|
*/
|
|
23
23
|
export interface CreateLayoutRequestDto {
|
|
24
24
|
/**
|
|
25
|
-
* Layout name
|
|
25
|
+
* Layout name.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateLayoutRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'name': string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
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
32
|
* @type {string}
|
|
33
33
|
* @memberof CreateLayoutRequestDto
|
|
34
34
|
*/
|
|
35
35
|
'slug': string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof CreateLayoutRequestDto
|
|
40
|
-
*/
|
|
41
|
-
'style': string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
37
|
+
* Header template.
|
|
44
38
|
* @type {CreateHtmlTemplateDto}
|
|
45
39
|
* @memberof CreateLayoutRequestDto
|
|
46
40
|
*/
|
|
47
41
|
'headerTemplate': CreateHtmlTemplateDto;
|
|
48
42
|
/**
|
|
49
|
-
*
|
|
43
|
+
* Footer template.
|
|
50
44
|
* @type {CreateHtmlTemplateDto}
|
|
51
45
|
* @memberof CreateLayoutRequestDto
|
|
52
46
|
*/
|
|
53
47
|
'footerTemplate': CreateHtmlTemplateDto;
|
|
48
|
+
/**
|
|
49
|
+
* Layout style.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateLayoutRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'style': string;
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -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 CreateLayoutResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateLayoutResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Layout
|
|
26
|
+
* @type {LayoutClass}
|
|
27
|
+
* @memberof CreateLayoutResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'layout': LayoutClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,137 @@
|
|
|
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
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
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
|
+
* Unique identifier referencing the entity.
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof CreatePresignedPostRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'entityId': number;
|
|
41
|
+
/**
|
|
42
|
+
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePresignedPostRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'description': string;
|
|
47
|
+
/**
|
|
48
|
+
* Unique identifier of the policy that this object belongs to.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreatePresignedPostRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'policyCode'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Unique identifier of the account that this object belongs to.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreatePresignedPostRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'accountCode'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Unique identifier of the lead that this object belongs to.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreatePresignedPostRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'leadCode'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Identifier of the service that requested the creation of this document.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreatePresignedPostRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'requester': CreatePresignedPostRequestDtoRequesterEnum;
|
|
71
|
+
/**
|
|
72
|
+
* Extension of the file.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof CreatePresignedPostRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'contentType': CreatePresignedPostRequestDtoContentTypeEnum;
|
|
77
|
+
/**
|
|
78
|
+
* Content type of the file.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof CreatePresignedPostRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'isoContentType': string;
|
|
83
|
+
/**
|
|
84
|
+
* Name of the file the end user will see when he downloads it.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof CreatePresignedPostRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'filename': string;
|
|
89
|
+
/**
|
|
90
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof CreatePresignedPostRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'productSlug'?: string;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export const CreatePresignedPostRequestDtoRequesterEnum = {
|
|
98
|
+
Accountservice: 'accountservice',
|
|
99
|
+
Insuranceservice: 'insuranceservice',
|
|
100
|
+
Billingservice: 'billingservice',
|
|
101
|
+
Tenantservice: 'tenantservice',
|
|
102
|
+
BookingFunnel: 'bookingFunnel',
|
|
103
|
+
Publicapi: 'publicapi',
|
|
104
|
+
Admin: 'admin',
|
|
105
|
+
Claimservice: 'claimservice',
|
|
106
|
+
Customerservice: 'customerservice',
|
|
107
|
+
Notificationservice: 'notificationservice',
|
|
108
|
+
Paymentservice: 'paymentservice',
|
|
109
|
+
Processmanager: 'processmanager',
|
|
110
|
+
Gdvservice: 'gdvservice'
|
|
111
|
+
} as const;
|
|
112
|
+
|
|
113
|
+
export type CreatePresignedPostRequestDtoRequesterEnum = typeof CreatePresignedPostRequestDtoRequesterEnum[keyof typeof CreatePresignedPostRequestDtoRequesterEnum];
|
|
114
|
+
export const CreatePresignedPostRequestDtoContentTypeEnum = {
|
|
115
|
+
Pdf: 'pdf',
|
|
116
|
+
Jpg: 'jpg',
|
|
117
|
+
Png: 'png',
|
|
118
|
+
Gz: 'gz',
|
|
119
|
+
Csv: 'csv',
|
|
120
|
+
Doc: 'doc',
|
|
121
|
+
Docx: 'docx',
|
|
122
|
+
Html: 'html',
|
|
123
|
+
Json: 'json',
|
|
124
|
+
Xml: 'xml',
|
|
125
|
+
Txt: 'txt',
|
|
126
|
+
Zip: 'zip',
|
|
127
|
+
Tar: 'tar',
|
|
128
|
+
Rar: 'rar',
|
|
129
|
+
Mp4: 'MP4',
|
|
130
|
+
Mov: 'MOV',
|
|
131
|
+
Wmv: 'WMV',
|
|
132
|
+
Avi: 'AVI'
|
|
133
|
+
} as const;
|
|
134
|
+
|
|
135
|
+
export type CreatePresignedPostRequestDtoContentTypeEnum = typeof CreatePresignedPostRequestDtoContentTypeEnum[keyof typeof CreatePresignedPostRequestDtoContentTypeEnum];
|
|
136
|
+
|
|
137
|
+
|
|
@@ -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 DeleteResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {object}
|
|
26
|
+
* @memberof DeleteResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'response': object;
|
|
29
|
+
}
|
|
30
|
+
|