@emilgroup/document-sdk-node 1.1.0 → 1.2.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 +0 -7
- package/README.md +2 -2
- package/api/document-templates-api.ts +2 -4
- package/api/documents-api.ts +4 -213
- package/api/searchable-document-owners-api.ts +18 -18
- package/api.ts +0 -2
- package/base.ts +4 -4
- package/dist/api/document-templates-api.d.ts +3 -4
- package/dist/api/documents-api.d.ts +4 -113
- package/dist/api/documents-api.js +4 -187
- package/dist/api/searchable-document-owners-api.d.ts +15 -15
- package/dist/api/searchable-document-owners-api.js +8 -8
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +4 -4
- package/dist/models/create-doc-template-request-dto.d.ts +3 -9
- package/dist/models/create-document-request-dto.d.ts +0 -12
- package/dist/models/create-html-template-dto.d.ts +1 -1
- package/dist/models/doc-template-class.d.ts +18 -24
- package/dist/models/document-class.d.ts +2 -14
- package/dist/models/html-template-class.d.ts +7 -7
- package/dist/models/index.d.ts +0 -6
- package/dist/models/index.js +0 -6
- package/dist/models/layout-class.d.ts +10 -10
- package/dist/models/list-searchable-documents-response-class.d.ts +1 -1
- package/dist/models/update-doc-template-request-dto.d.ts +6 -12
- package/dist/models/update-document-request-dto.d.ts +0 -6
- package/models/create-doc-template-request-dto.ts +3 -9
- package/models/create-document-request-dto.ts +0 -12
- package/models/create-html-template-dto.ts +1 -1
- package/models/doc-template-class.ts +18 -24
- package/models/document-class.ts +2 -14
- package/models/html-template-class.ts +7 -7
- package/models/index.ts +0 -6
- package/models/layout-class.ts +10 -10
- package/models/list-searchable-documents-response-class.ts +1 -1
- package/models/update-doc-template-request-dto.ts +6 -12
- package/models/update-document-request-dto.ts +0 -6
- package/package.json +2 -2
- package/api/search-keywords-api.ts +0 -164
- package/dist/api/search-keywords-api.d.ts +0 -92
- package/dist/api/search-keywords-api.js +0 -225
- package/dist/models/create-doc-template-response-class.d.ts +0 -25
- package/dist/models/create-doc-template-response-class.js +0 -15
- package/dist/models/create-presigned-post-request-dto.d.ts +0 -127
- package/dist/models/create-presigned-post-request-dto.js +0 -51
- package/dist/models/create-presigned-post-response-class.d.ts +0 -30
- package/dist/models/create-presigned-post-response-class.js +0 -15
- package/dist/models/get-signed-s3-key-url-response-class.d.ts +0 -24
- package/dist/models/get-signed-s3-key-url-response-class.js +0 -15
- package/dist/models/list-search-keywords-request-dto.d.ts +0 -24
- package/dist/models/list-search-keywords-request-dto.js +0 -15
- package/dist/models/list-search-keywords-response-class.d.ts +0 -24
- package/dist/models/list-search-keywords-response-class.js +0 -15
- package/models/create-doc-template-response-class.ts +0 -31
- package/models/create-presigned-post-request-dto.ts +0 -137
- package/models/create-presigned-post-response-class.ts +0 -36
- package/models/get-signed-s3-key-url-response-class.ts +0 -30
- package/models/list-search-keywords-request-dto.ts +0 -30
- package/models/list-search-keywords-response-class.ts +0 -30
|
@@ -1,137 +0,0 @@
|
|
|
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. In this case, the template used for this document.
|
|
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
|
-
* Identifier of the entity that the document is related to
|
|
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 the document belongs to
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof CreatePresignedPostRequestDto
|
|
51
|
-
*/
|
|
52
|
-
'policyCode'?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Unique identifier of the account that the document belongs to
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof CreatePresignedPostRequestDto
|
|
57
|
-
*/
|
|
58
|
-
'accountCode'?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Unique identifier of the lead that the document 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
|
-
* The product slug that this file belong to.
|
|
91
|
-
* @type {string}
|
|
92
|
-
* @memberof CreatePresignedPostRequestDto
|
|
93
|
-
*/
|
|
94
|
-
'productSlug'?: string | null;
|
|
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
|
-
|
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,30 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,30 +0,0 @@
|
|
|
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 ListSearchKeywordsRequestDto
|
|
21
|
-
*/
|
|
22
|
-
export interface ListSearchKeywordsRequestDto {
|
|
23
|
-
/**
|
|
24
|
-
* Text to search in the documents
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof ListSearchKeywordsRequestDto
|
|
27
|
-
*/
|
|
28
|
-
'searchText': string;
|
|
29
|
-
}
|
|
30
|
-
|
|
@@ -1,30 +0,0 @@
|
|
|
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 ListSearchKeywordsResponseClass
|
|
21
|
-
*/
|
|
22
|
-
export interface ListSearchKeywordsResponseClass {
|
|
23
|
-
/**
|
|
24
|
-
* Keywords used for search and to be highlighted in the document preview
|
|
25
|
-
* @type {Array<string>}
|
|
26
|
-
* @memberof ListSearchKeywordsResponseClass
|
|
27
|
-
*/
|
|
28
|
-
'keywords': Array<string>;
|
|
29
|
-
}
|
|
30
|
-
|