@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,127 @@
|
|
|
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 CreatePresignedPostRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePresignedPostRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreatePresignedPostRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'templateSlug': string;
|
|
24
|
+
/**
|
|
25
|
+
* Document entity type.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePresignedPostRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'entityType': string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier referencing the entity.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof CreatePresignedPostRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'entityId': number;
|
|
36
|
+
/**
|
|
37
|
+
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePresignedPostRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'description': string;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier of the policy that this object belongs to.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreatePresignedPostRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'policyCode'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Unique identifier of the account that this object belongs to.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreatePresignedPostRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'accountCode'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Unique identifier of the lead that this object belongs to.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreatePresignedPostRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'leadCode'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Identifier of the service that requested the creation of this document.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreatePresignedPostRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'requester': CreatePresignedPostRequestDtoRequesterEnum;
|
|
66
|
+
/**
|
|
67
|
+
* Extension of the file.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreatePresignedPostRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'contentType': CreatePresignedPostRequestDtoContentTypeEnum;
|
|
72
|
+
/**
|
|
73
|
+
* Content type of the file.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof CreatePresignedPostRequestDto
|
|
76
|
+
*/
|
|
77
|
+
'isoContentType': string;
|
|
78
|
+
/**
|
|
79
|
+
* Name of the file the end user will see when he downloads it.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CreatePresignedPostRequestDto
|
|
82
|
+
*/
|
|
83
|
+
'filename': string;
|
|
84
|
+
/**
|
|
85
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof CreatePresignedPostRequestDto
|
|
88
|
+
*/
|
|
89
|
+
'productSlug'?: string;
|
|
90
|
+
}
|
|
91
|
+
export declare const CreatePresignedPostRequestDtoRequesterEnum: {
|
|
92
|
+
readonly Accountservice: "accountservice";
|
|
93
|
+
readonly Insuranceservice: "insuranceservice";
|
|
94
|
+
readonly Billingservice: "billingservice";
|
|
95
|
+
readonly Tenantservice: "tenantservice";
|
|
96
|
+
readonly BookingFunnel: "bookingFunnel";
|
|
97
|
+
readonly Publicapi: "publicapi";
|
|
98
|
+
readonly Admin: "admin";
|
|
99
|
+
readonly Claimservice: "claimservice";
|
|
100
|
+
readonly Customerservice: "customerservice";
|
|
101
|
+
readonly Notificationservice: "notificationservice";
|
|
102
|
+
readonly Paymentservice: "paymentservice";
|
|
103
|
+
readonly Processmanager: "processmanager";
|
|
104
|
+
readonly Gdvservice: "gdvservice";
|
|
105
|
+
};
|
|
106
|
+
export type CreatePresignedPostRequestDtoRequesterEnum = typeof CreatePresignedPostRequestDtoRequesterEnum[keyof typeof CreatePresignedPostRequestDtoRequesterEnum];
|
|
107
|
+
export declare const CreatePresignedPostRequestDtoContentTypeEnum: {
|
|
108
|
+
readonly Pdf: "pdf";
|
|
109
|
+
readonly Jpg: "jpg";
|
|
110
|
+
readonly Png: "png";
|
|
111
|
+
readonly Gz: "gz";
|
|
112
|
+
readonly Csv: "csv";
|
|
113
|
+
readonly Doc: "doc";
|
|
114
|
+
readonly Docx: "docx";
|
|
115
|
+
readonly Html: "html";
|
|
116
|
+
readonly Json: "json";
|
|
117
|
+
readonly Xml: "xml";
|
|
118
|
+
readonly Txt: "txt";
|
|
119
|
+
readonly Zip: "zip";
|
|
120
|
+
readonly Tar: "tar";
|
|
121
|
+
readonly Rar: "rar";
|
|
122
|
+
readonly Mp4: "MP4";
|
|
123
|
+
readonly Mov: "MOV";
|
|
124
|
+
readonly Wmv: "WMV";
|
|
125
|
+
readonly Avi: "AVI";
|
|
126
|
+
};
|
|
127
|
+
export type CreatePresignedPostRequestDtoContentTypeEnum = typeof CreatePresignedPostRequestDtoContentTypeEnum[keyof typeof CreatePresignedPostRequestDtoContentTypeEnum];
|
|
@@ -0,0 +1,51 @@
|
|
|
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.CreatePresignedPostRequestDtoContentTypeEnum = exports.CreatePresignedPostRequestDtoRequesterEnum = void 0;
|
|
17
|
+
exports.CreatePresignedPostRequestDtoRequesterEnum = {
|
|
18
|
+
Accountservice: 'accountservice',
|
|
19
|
+
Insuranceservice: 'insuranceservice',
|
|
20
|
+
Billingservice: 'billingservice',
|
|
21
|
+
Tenantservice: 'tenantservice',
|
|
22
|
+
BookingFunnel: 'bookingFunnel',
|
|
23
|
+
Publicapi: 'publicapi',
|
|
24
|
+
Admin: 'admin',
|
|
25
|
+
Claimservice: 'claimservice',
|
|
26
|
+
Customerservice: 'customerservice',
|
|
27
|
+
Notificationservice: 'notificationservice',
|
|
28
|
+
Paymentservice: 'paymentservice',
|
|
29
|
+
Processmanager: 'processmanager',
|
|
30
|
+
Gdvservice: 'gdvservice'
|
|
31
|
+
};
|
|
32
|
+
exports.CreatePresignedPostRequestDtoContentTypeEnum = {
|
|
33
|
+
Pdf: 'pdf',
|
|
34
|
+
Jpg: 'jpg',
|
|
35
|
+
Png: 'png',
|
|
36
|
+
Gz: 'gz',
|
|
37
|
+
Csv: 'csv',
|
|
38
|
+
Doc: 'doc',
|
|
39
|
+
Docx: 'docx',
|
|
40
|
+
Html: 'html',
|
|
41
|
+
Json: 'json',
|
|
42
|
+
Xml: 'xml',
|
|
43
|
+
Txt: 'txt',
|
|
44
|
+
Zip: 'zip',
|
|
45
|
+
Tar: 'tar',
|
|
46
|
+
Rar: 'rar',
|
|
47
|
+
Mp4: 'MP4',
|
|
48
|
+
Mov: 'MOV',
|
|
49
|
+
Wmv: 'WMV',
|
|
50
|
+
Avi: 'AVI'
|
|
51
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL DocumentService
|
|
3
|
+
* The EMIL DocumentService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreatePresignedPostResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePresignedPostResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Upload document fields.
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof CreatePresignedPostResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'fields': object;
|
|
24
|
+
/**
|
|
25
|
+
* Pre-signed Url.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePresignedPostResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'url': string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL DocumentService
|
|
6
|
+
* The EMIL DocumentService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL DocumentService
|
|
3
|
+
* The EMIL DocumentService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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 DeleteResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface DeleteResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof DeleteResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'response': object;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL DocumentService
|
|
6
|
+
* The EMIL DocumentService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
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 });
|
|
@@ -18,63 +18,69 @@ import { LayoutClass } from './layout-class';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface DocTemplateClass {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
22
22
|
* @type {number}
|
|
23
23
|
* @memberof DocTemplateClass
|
|
24
24
|
*/
|
|
25
25
|
'id': number;
|
|
26
26
|
/**
|
|
27
|
-
* Record owner
|
|
27
|
+
* Record owner.
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof DocTemplateClass
|
|
30
30
|
*/
|
|
31
|
-
'owner'
|
|
31
|
+
'owner'?: string;
|
|
32
32
|
/**
|
|
33
|
-
* Template name
|
|
33
|
+
* Template name.
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof DocTemplateClass
|
|
36
36
|
*/
|
|
37
37
|
'name': string;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof DocTemplateClass
|
|
42
42
|
*/
|
|
43
43
|
'slug': string;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Unique identifier referencing the layout.
|
|
46
46
|
* @type {number}
|
|
47
47
|
* @memberof DocTemplateClass
|
|
48
48
|
*/
|
|
49
49
|
'layoutId': number;
|
|
50
50
|
/**
|
|
51
|
-
* Body Template
|
|
51
|
+
* Body Template.
|
|
52
52
|
* @type {HtmlTemplateClass}
|
|
53
53
|
* @memberof DocTemplateClass
|
|
54
54
|
*/
|
|
55
|
-
'bodyTemplate'
|
|
55
|
+
'bodyTemplate'?: HtmlTemplateClass;
|
|
56
56
|
/**
|
|
57
|
-
* Template Layout
|
|
57
|
+
* Template Layout.
|
|
58
58
|
* @type {LayoutClass}
|
|
59
59
|
* @memberof DocTemplateClass
|
|
60
60
|
*/
|
|
61
|
-
'layout'
|
|
61
|
+
'layout'?: LayoutClass;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {
|
|
63
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
64
|
+
* @type {string}
|
|
65
65
|
* @memberof DocTemplateClass
|
|
66
66
|
*/
|
|
67
|
-
'
|
|
67
|
+
'productSlug'?: string;
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {
|
|
69
|
+
* Time at which the object was created.
|
|
70
|
+
* @type {string}
|
|
71
71
|
* @memberof DocTemplateClass
|
|
72
72
|
*/
|
|
73
|
-
'
|
|
73
|
+
'createdAt': string;
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {
|
|
75
|
+
* Time at which the object was updated.
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof DocTemplateClass
|
|
78
|
+
*/
|
|
79
|
+
'updatedAt': string;
|
|
80
|
+
/**
|
|
81
|
+
* Time at which the object was deleted.
|
|
82
|
+
* @type {string}
|
|
77
83
|
* @memberof DocTemplateClass
|
|
78
84
|
*/
|
|
79
|
-
'deletedAt'
|
|
85
|
+
'deletedAt'?: string;
|
|
80
86
|
}
|
|
@@ -28,13 +28,13 @@ export interface DocumentClass {
|
|
|
28
28
|
*/
|
|
29
29
|
'code': string;
|
|
30
30
|
/**
|
|
31
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
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 DocumentClass
|
|
34
34
|
*/
|
|
35
35
|
'templateSlug': string;
|
|
36
36
|
/**
|
|
37
|
-
* Document entity type
|
|
37
|
+
* Document entity type.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof DocumentClass
|
|
40
40
|
*/
|
|
@@ -44,21 +44,27 @@ export interface DocumentClass {
|
|
|
44
44
|
* @type {object}
|
|
45
45
|
* @memberof DocumentClass
|
|
46
46
|
*/
|
|
47
|
-
'payload'
|
|
47
|
+
'payload'?: object;
|
|
48
48
|
/**
|
|
49
|
-
* Unique identifier of the policy that
|
|
49
|
+
* Unique identifier of the policy that this object belongs to.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof DocumentClass
|
|
52
52
|
*/
|
|
53
53
|
'policyCode'?: string;
|
|
54
54
|
/**
|
|
55
|
-
* Unique identifier of the account that
|
|
55
|
+
* Unique identifier of the account that this object belongs to.
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof DocumentClass
|
|
58
58
|
*/
|
|
59
59
|
'accountCode'?: string;
|
|
60
60
|
/**
|
|
61
|
-
* Unique identifier
|
|
61
|
+
* Unique identifier of the lead that this object belongs to.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof DocumentClass
|
|
64
|
+
*/
|
|
65
|
+
'leadCode'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Unique identifier referencing the entity.
|
|
62
68
|
* @type {number}
|
|
63
69
|
* @memberof DocumentClass
|
|
64
70
|
*/
|
|
@@ -70,11 +76,11 @@ export interface DocumentClass {
|
|
|
70
76
|
*/
|
|
71
77
|
'requester': DocumentClassRequesterEnum;
|
|
72
78
|
/**
|
|
73
|
-
* Metadata
|
|
79
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
74
80
|
* @type {object}
|
|
75
81
|
* @memberof DocumentClass
|
|
76
82
|
*/
|
|
77
|
-
'metadata'
|
|
83
|
+
'metadata'?: object;
|
|
78
84
|
/**
|
|
79
85
|
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
80
86
|
* @type {string}
|
|
@@ -93,6 +99,12 @@ export interface DocumentClass {
|
|
|
93
99
|
* @memberof DocumentClass
|
|
94
100
|
*/
|
|
95
101
|
'contentType': DocumentClassContentTypeEnum;
|
|
102
|
+
/**
|
|
103
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof DocumentClass
|
|
106
|
+
*/
|
|
107
|
+
'productSlug'?: string;
|
|
96
108
|
/**
|
|
97
109
|
* Time at which the object was created.
|
|
98
110
|
* @type {string}
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface DownloadDocumentRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
*
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof DownloadDocumentRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'code': string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof DownloadDocumentRequestDto
|
|
28
28
|
*/
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL DocumentService
|
|
3
|
+
* The EMIL DocumentService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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 GetSignedS3KeyUrlResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface GetSignedS3KeyUrlResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Pre-signed Url
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetSignedS3KeyUrlResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'url': string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL DocumentService
|
|
6
|
+
* The EMIL DocumentService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
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,43 +16,43 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface HtmlTemplateClass {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof HtmlTemplateClass
|
|
22
22
|
*/
|
|
23
23
|
'id': number;
|
|
24
24
|
/**
|
|
25
|
-
* Template type
|
|
25
|
+
* Template type of HTML layout elements: Header,Body and Footer.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof HtmlTemplateClass
|
|
28
28
|
*/
|
|
29
29
|
'type': HtmlTemplateClassTypeEnum;
|
|
30
30
|
/**
|
|
31
|
-
* Template content
|
|
31
|
+
* Template content.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof HtmlTemplateClass
|
|
34
34
|
*/
|
|
35
35
|
'content': string;
|
|
36
36
|
/**
|
|
37
|
-
* Template draft content
|
|
37
|
+
* Template draft content.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof HtmlTemplateClass
|
|
40
40
|
*/
|
|
41
41
|
'draftContent': string;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Time at which the object was created.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof HtmlTemplateClass
|
|
46
46
|
*/
|
|
47
47
|
'createdAt': string;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Time at which the object was updated.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof HtmlTemplateClass
|
|
52
52
|
*/
|
|
53
53
|
'updatedAt': string;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* Time at which the template was deleted.
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof HtmlTemplateClass
|
|
58
58
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
export * from './create-doc-template-request-dto';
|
|
2
|
+
export * from './create-doc-template-response-class';
|
|
2
3
|
export * from './create-document-request-dto';
|
|
4
|
+
export * from './create-document-sync-response-class';
|
|
3
5
|
export * from './create-html-template-dto';
|
|
4
6
|
export * from './create-layout-request-dto';
|
|
7
|
+
export * from './create-layout-response-class';
|
|
8
|
+
export * from './create-presigned-post-request-dto';
|
|
9
|
+
export * from './create-presigned-post-response-class';
|
|
5
10
|
export * from './delete-layout-request-dto';
|
|
6
11
|
export * from './delete-request-dto';
|
|
12
|
+
export * from './delete-response-class';
|
|
7
13
|
export * from './doc-template-class';
|
|
8
14
|
export * from './document-class';
|
|
9
15
|
export * from './download-document-request-dto';
|
|
@@ -12,17 +18,25 @@ export * from './get-doc-template-response-class';
|
|
|
12
18
|
export * from './get-document-download-url-response-class';
|
|
13
19
|
export * from './get-layout-request-dto';
|
|
14
20
|
export * from './get-layout-response-class';
|
|
21
|
+
export * from './get-signed-s3-key-url-response-class';
|
|
15
22
|
export * from './html-template-class';
|
|
16
23
|
export * from './layout-class';
|
|
24
|
+
export * from './list-doc-template-request-dto';
|
|
17
25
|
export * from './list-doc-templates-response-class';
|
|
18
26
|
export * from './list-documents-response-class';
|
|
19
27
|
export * from './list-layouts-response-class';
|
|
20
28
|
export * from './list-request-dto';
|
|
29
|
+
export * from './list-search-keywords-request-dto';
|
|
30
|
+
export * from './list-search-keywords-response-class';
|
|
21
31
|
export * from './list-searchable-document-owners-response-class';
|
|
22
32
|
export * from './list-searchable-documents-request-dto';
|
|
23
33
|
export * from './list-searchable-documents-response-class';
|
|
34
|
+
export * from './searchable-document-class';
|
|
35
|
+
export * from './searchable-document-owner-class';
|
|
24
36
|
export * from './update-doc-template-request-dto';
|
|
25
37
|
export * from './update-doc-template-response-class';
|
|
26
38
|
export * from './update-document-request-dto';
|
|
39
|
+
export * from './update-document-response-class';
|
|
40
|
+
export * from './update-html-template-dto';
|
|
27
41
|
export * from './update-layout-request-dto';
|
|
28
42
|
export * from './update-layout-response-class';
|