@emilgroup/document-sdk-node 1.0.0 → 1.1.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 +8 -0
- package/README.md +2 -2
- package/api/document-templates-api.ts +4 -2
- package/api/documents-api.ts +213 -4
- package/api/search-keywords-api.ts +164 -0
- package/api/searchable-document-owners-api.ts +18 -18
- package/api.ts +2 -5
- package/base.ts +271 -242
- package/common.ts +61 -0
- package/dist/api/document-templates-api.d.ts +4 -3
- package/dist/api/document-templates-api.js +1 -1
- package/dist/api/documents-api.d.ts +113 -4
- package/dist/api/documents-api.js +188 -5
- package/dist/api/layouts-api.js +1 -1
- package/dist/api/search-keywords-api.d.ts +92 -0
- package/dist/api/search-keywords-api.js +225 -0
- package/dist/api/searchable-document-owners-api.d.ts +15 -15
- package/dist/api/searchable-document-owners-api.js +9 -9
- package/dist/api/searchable-documents-api.js +1 -1
- package/dist/api.d.ts +1 -4
- package/dist/api.js +1 -6
- package/dist/base.d.ts +5 -4
- package/dist/base.js +42 -13
- package/dist/common.d.ts +26 -0
- package/dist/common.js +35 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/models/create-doc-template-request-dto.d.ts +9 -3
- 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 +16 -4
- package/dist/models/create-html-template-dto.d.ts +1 -1
- package/dist/models/create-presigned-post-request-dto.d.ts +33 -9
- package/dist/models/doc-template-class.d.ts +24 -18
- package/dist/models/document-class.d.ts +17 -5
- 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 +8 -8
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/models/layout-class.d.ts +10 -10
- 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-documents-response-class.d.ts +1 -1
- package/dist/models/update-doc-template-request-dto.d.ts +12 -6
- package/dist/models/update-document-request-dto.d.ts +6 -0
- package/index.ts +1 -1
- package/models/create-doc-template-request-dto.ts +9 -3
- package/models/create-doc-template-response-class.ts +31 -0
- package/models/create-document-request-dto.ts +12 -0
- package/models/create-html-template-dto.ts +1 -1
- package/models/create-presigned-post-request-dto.ts +31 -7
- package/models/doc-template-class.ts +24 -18
- package/models/document-class.ts +14 -2
- package/models/get-signed-s3-key-url-response-class.ts +30 -0
- package/models/html-template-class.ts +7 -7
- package/models/index.ts +6 -0
- package/models/layout-class.ts +10 -10
- package/models/list-search-keywords-request-dto.ts +30 -0
- package/models/list-search-keywords-response-class.ts +30 -0
- package/models/list-searchable-documents-response-class.ts +1 -1
- package/models/update-doc-template-request-dto.ts +12 -6
- package/models/update-document-request-dto.ts +6 -0
- package/package.json +2 -2
|
@@ -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 ListSearchKeywordsResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface ListSearchKeywordsResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Keywords used for search and to be highlighted in the document preview
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof ListSearchKeywordsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'keywords': Array<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 });
|
|
@@ -22,7 +22,7 @@ export interface ListSearchableDocumentsResponseClass {
|
|
|
22
22
|
*/
|
|
23
23
|
'documents': Array<string>;
|
|
24
24
|
/**
|
|
25
|
-
* Keywords used for search and to be highlighted in
|
|
25
|
+
* Keywords used for search and to be highlighted in the document preview
|
|
26
26
|
* @type {Array<string>}
|
|
27
27
|
* @memberof ListSearchableDocumentsResponseClass
|
|
28
28
|
*/
|
|
@@ -17,23 +17,23 @@ import { CreateHtmlTemplateDto } from './create-html-template-dto';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface UpdateDocTemplateRequestDto {
|
|
19
19
|
/**
|
|
20
|
-
* Template name
|
|
20
|
+
* Template name.
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof UpdateDocTemplateRequestDto
|
|
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 UpdateDocTemplateRequestDto
|
|
29
29
|
*/
|
|
30
30
|
'slug': string;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Unique identifier referencing the layout.
|
|
33
33
|
* @type {number}
|
|
34
34
|
* @memberof UpdateDocTemplateRequestDto
|
|
35
35
|
*/
|
|
36
|
-
'
|
|
36
|
+
'layoutId': number;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {CreateHtmlTemplateDto}
|
|
@@ -41,9 +41,15 @@ export interface UpdateDocTemplateRequestDto {
|
|
|
41
41
|
*/
|
|
42
42
|
'bodyTemplate': CreateHtmlTemplateDto;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Product slug
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UpdateDocTemplateRequestDto
|
|
47
|
+
*/
|
|
48
|
+
'productSlug'?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Template id
|
|
45
51
|
* @type {number}
|
|
46
52
|
* @memberof UpdateDocTemplateRequestDto
|
|
47
53
|
*/
|
|
48
|
-
'
|
|
54
|
+
'id': number;
|
|
49
55
|
}
|
|
@@ -33,6 +33,12 @@ export interface UpdateDocumentRequestDto {
|
|
|
33
33
|
* @memberof UpdateDocumentRequestDto
|
|
34
34
|
*/
|
|
35
35
|
'accountCode'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Lead code
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateDocumentRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'leadCode'?: string;
|
|
36
42
|
/**
|
|
37
43
|
* Entity id
|
|
38
44
|
* @type {number}
|
package/index.ts
CHANGED
|
@@ -22,19 +22,19 @@ 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
|
*/
|
|
@@ -45,5 +45,11 @@ export interface CreateDocTemplateRequestDto {
|
|
|
45
45
|
* @memberof CreateDocTemplateRequestDto
|
|
46
46
|
*/
|
|
47
47
|
'bodyTemplate': CreateHtmlTemplateDto;
|
|
48
|
+
/**
|
|
49
|
+
* Product slug
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateDocTemplateRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'productSlug'?: string | null;
|
|
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
|
+
*
|
|
26
|
+
* @type {DocTemplateClass}
|
|
27
|
+
* @memberof CreateDocTemplateResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'template': DocTemplateClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -62,6 +62,12 @@ export interface CreateDocumentRequestDto {
|
|
|
62
62
|
* @memberof CreateDocumentRequestDto
|
|
63
63
|
*/
|
|
64
64
|
'accountCode'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Unique identifier of the lead that the document belongs to
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreateDocumentRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'leadCode'?: string;
|
|
65
71
|
/**
|
|
66
72
|
* Unique identifier referencing the entity on the service the document belongs to.
|
|
67
73
|
* @type {number}
|
|
@@ -92,6 +98,12 @@ export interface CreateDocumentRequestDto {
|
|
|
92
98
|
* @memberof CreateDocumentRequestDto
|
|
93
99
|
*/
|
|
94
100
|
'filename'?: string;
|
|
101
|
+
/**
|
|
102
|
+
* The product slug that this file belong to.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof CreateDocumentRequestDto
|
|
105
|
+
*/
|
|
106
|
+
'productSlug'?: string | null;
|
|
95
107
|
}
|
|
96
108
|
|
|
97
109
|
export const CreateDocumentRequestDtoEntityTypeEnum = {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface CreatePresignedPostRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
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
25
|
* @type {string}
|
|
26
26
|
* @memberof CreatePresignedPostRequestDto
|
|
27
27
|
*/
|
|
@@ -33,41 +33,65 @@ export interface CreatePresignedPostRequestDto {
|
|
|
33
33
|
*/
|
|
34
34
|
'entityType': string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
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.
|
|
37
43
|
* @type {string}
|
|
38
44
|
* @memberof CreatePresignedPostRequestDto
|
|
39
45
|
*/
|
|
40
46
|
'description': string;
|
|
41
47
|
/**
|
|
42
|
-
* Unique identifier
|
|
48
|
+
* Unique identifier of the policy that the document belongs to
|
|
43
49
|
* @type {string}
|
|
44
50
|
* @memberof CreatePresignedPostRequestDto
|
|
45
51
|
*/
|
|
46
52
|
'policyCode'?: string;
|
|
47
53
|
/**
|
|
48
|
-
* Unique identifier
|
|
54
|
+
* Unique identifier of the account that the document belongs to
|
|
49
55
|
* @type {string}
|
|
50
56
|
* @memberof CreatePresignedPostRequestDto
|
|
51
57
|
*/
|
|
52
58
|
'accountCode'?: string;
|
|
53
59
|
/**
|
|
54
|
-
*
|
|
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.
|
|
55
67
|
* @type {string}
|
|
56
68
|
* @memberof CreatePresignedPostRequestDto
|
|
57
69
|
*/
|
|
58
70
|
'requester': CreatePresignedPostRequestDtoRequesterEnum;
|
|
59
71
|
/**
|
|
60
|
-
*
|
|
72
|
+
* Extension of the file
|
|
61
73
|
* @type {string}
|
|
62
74
|
* @memberof CreatePresignedPostRequestDto
|
|
63
75
|
*/
|
|
64
76
|
'contentType': CreatePresignedPostRequestDtoContentTypeEnum;
|
|
65
77
|
/**
|
|
66
|
-
*
|
|
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.
|
|
67
85
|
* @type {string}
|
|
68
86
|
* @memberof CreatePresignedPostRequestDto
|
|
69
87
|
*/
|
|
70
88
|
'filename': string;
|
|
89
|
+
/**
|
|
90
|
+
* The product slug that this file belong to.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof CreatePresignedPostRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'productSlug'?: string | null;
|
|
71
95
|
}
|
|
72
96
|
|
|
73
97
|
export const CreatePresignedPostRequestDtoRequesterEnum = {
|
|
@@ -23,64 +23,70 @@ import { LayoutClass } from './layout-class';
|
|
|
23
23
|
*/
|
|
24
24
|
export interface DocTemplateClass {
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
27
27
|
* @type {number}
|
|
28
28
|
* @memberof DocTemplateClass
|
|
29
29
|
*/
|
|
30
30
|
'id': number;
|
|
31
31
|
/**
|
|
32
|
-
* Record owner
|
|
32
|
+
* Record owner.
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof DocTemplateClass
|
|
35
35
|
*/
|
|
36
|
-
'owner'
|
|
36
|
+
'owner'?: string;
|
|
37
37
|
/**
|
|
38
|
-
* Template name
|
|
38
|
+
* Template name.
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof DocTemplateClass
|
|
41
41
|
*/
|
|
42
42
|
'name': string;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
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
45
|
* @type {string}
|
|
46
46
|
* @memberof DocTemplateClass
|
|
47
47
|
*/
|
|
48
48
|
'slug': string;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Unique identifier referencing the layout.
|
|
51
51
|
* @type {number}
|
|
52
52
|
* @memberof DocTemplateClass
|
|
53
53
|
*/
|
|
54
54
|
'layoutId': number;
|
|
55
55
|
/**
|
|
56
|
-
* Body Template
|
|
56
|
+
* Body Template.
|
|
57
57
|
* @type {HtmlTemplateClass}
|
|
58
58
|
* @memberof DocTemplateClass
|
|
59
59
|
*/
|
|
60
|
-
'bodyTemplate'
|
|
60
|
+
'bodyTemplate'?: HtmlTemplateClass;
|
|
61
61
|
/**
|
|
62
|
-
* Template Layout
|
|
62
|
+
* Template Layout.
|
|
63
63
|
* @type {LayoutClass}
|
|
64
64
|
* @memberof DocTemplateClass
|
|
65
65
|
*/
|
|
66
|
-
'layout'
|
|
66
|
+
'layout'?: LayoutClass;
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {
|
|
68
|
+
* Product slug.
|
|
69
|
+
* @type {string}
|
|
70
70
|
* @memberof DocTemplateClass
|
|
71
71
|
*/
|
|
72
|
-
'
|
|
72
|
+
'productSlug'?: string;
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {
|
|
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}
|
|
76
82
|
* @memberof DocTemplateClass
|
|
77
83
|
*/
|
|
78
|
-
'updatedAt':
|
|
84
|
+
'updatedAt': string;
|
|
79
85
|
/**
|
|
80
86
|
* Template updated at
|
|
81
|
-
* @type {
|
|
87
|
+
* @type {string}
|
|
82
88
|
* @memberof DocTemplateClass
|
|
83
89
|
*/
|
|
84
|
-
'deletedAt'
|
|
90
|
+
'deletedAt'?: string;
|
|
85
91
|
}
|
|
86
92
|
|
package/models/document-class.ts
CHANGED
|
@@ -49,7 +49,7 @@ export interface DocumentClass {
|
|
|
49
49
|
* @type {object}
|
|
50
50
|
* @memberof DocumentClass
|
|
51
51
|
*/
|
|
52
|
-
'payload'
|
|
52
|
+
'payload'?: object;
|
|
53
53
|
/**
|
|
54
54
|
* Unique identifier of the policy that the document belongs to
|
|
55
55
|
* @type {string}
|
|
@@ -62,6 +62,12 @@ export interface DocumentClass {
|
|
|
62
62
|
* @memberof DocumentClass
|
|
63
63
|
*/
|
|
64
64
|
'accountCode'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Unique identifier of the lead that the document belongs to
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof DocumentClass
|
|
69
|
+
*/
|
|
70
|
+
'leadCode'?: string;
|
|
65
71
|
/**
|
|
66
72
|
* Unique identifier referencing the entity on the service the document belongs to.
|
|
67
73
|
* @type {number}
|
|
@@ -79,7 +85,7 @@ export interface DocumentClass {
|
|
|
79
85
|
* @type {object}
|
|
80
86
|
* @memberof DocumentClass
|
|
81
87
|
*/
|
|
82
|
-
'metadata'
|
|
88
|
+
'metadata'?: object;
|
|
83
89
|
/**
|
|
84
90
|
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
85
91
|
* @type {string}
|
|
@@ -98,6 +104,12 @@ export interface DocumentClass {
|
|
|
98
104
|
* @memberof DocumentClass
|
|
99
105
|
*/
|
|
100
106
|
'contentType': DocumentClassContentTypeEnum;
|
|
107
|
+
/**
|
|
108
|
+
* Product that this document belong to
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof DocumentClass
|
|
111
|
+
*/
|
|
112
|
+
'productSlug'?: string;
|
|
101
113
|
/**
|
|
102
114
|
* Time at which the object was created.
|
|
103
115
|
* @type {string}
|
|
@@ -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
|
+
|
|
@@ -21,43 +21,43 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface HtmlTemplateClass {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
25
|
* @type {number}
|
|
26
26
|
* @memberof HtmlTemplateClass
|
|
27
27
|
*/
|
|
28
28
|
'id': number;
|
|
29
29
|
/**
|
|
30
|
-
* Template type
|
|
30
|
+
* Template type of HTML layout elements: Header,Body and Footer.
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof HtmlTemplateClass
|
|
33
33
|
*/
|
|
34
34
|
'type': HtmlTemplateClassTypeEnum;
|
|
35
35
|
/**
|
|
36
|
-
* Template content
|
|
36
|
+
* Template content.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof HtmlTemplateClass
|
|
39
39
|
*/
|
|
40
40
|
'content': string;
|
|
41
41
|
/**
|
|
42
|
-
* Template draft content
|
|
42
|
+
* Template draft content.
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof HtmlTemplateClass
|
|
45
45
|
*/
|
|
46
46
|
'draftContent': string;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Time at which the object was created.
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof HtmlTemplateClass
|
|
51
51
|
*/
|
|
52
52
|
'createdAt': string;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Time at which the object was updated.
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof HtmlTemplateClass
|
|
57
57
|
*/
|
|
58
58
|
'updatedAt': string;
|
|
59
59
|
/**
|
|
60
|
-
* Template
|
|
60
|
+
* Template deleted at.
|
|
61
61
|
* @type {string}
|
|
62
62
|
* @memberof HtmlTemplateClass
|
|
63
63
|
*/
|
package/models/index.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
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';
|
|
3
4
|
export * from './create-html-template-dto';
|
|
4
5
|
export * from './create-layout-request-dto';
|
|
6
|
+
export * from './create-presigned-post-request-dto';
|
|
7
|
+
export * from './create-presigned-post-response-class';
|
|
5
8
|
export * from './delete-layout-request-dto';
|
|
6
9
|
export * from './delete-request-dto';
|
|
7
10
|
export * from './doc-template-class';
|
|
@@ -12,12 +15,15 @@ export * from './get-doc-template-response-class';
|
|
|
12
15
|
export * from './get-document-download-url-response-class';
|
|
13
16
|
export * from './get-layout-request-dto';
|
|
14
17
|
export * from './get-layout-response-class';
|
|
18
|
+
export * from './get-signed-s3-key-url-response-class';
|
|
15
19
|
export * from './html-template-class';
|
|
16
20
|
export * from './layout-class';
|
|
17
21
|
export * from './list-doc-templates-response-class';
|
|
18
22
|
export * from './list-documents-response-class';
|
|
19
23
|
export * from './list-layouts-response-class';
|
|
20
24
|
export * from './list-request-dto';
|
|
25
|
+
export * from './list-search-keywords-request-dto';
|
|
26
|
+
export * from './list-search-keywords-response-class';
|
|
21
27
|
export * from './list-searchable-document-owners-response-class';
|
|
22
28
|
export * from './list-searchable-documents-request-dto';
|
|
23
29
|
export * from './list-searchable-documents-response-class';
|
package/models/layout-class.ts
CHANGED
|
@@ -22,55 +22,55 @@ import { HtmlTemplateClass } from './html-template-class';
|
|
|
22
22
|
*/
|
|
23
23
|
export interface LayoutClass {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof LayoutClass
|
|
28
28
|
*/
|
|
29
29
|
'id': number;
|
|
30
30
|
/**
|
|
31
|
-
* Record owner
|
|
31
|
+
* Record owner.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof LayoutClass
|
|
34
34
|
*/
|
|
35
35
|
'owner': string;
|
|
36
36
|
/**
|
|
37
|
-
* Layout name
|
|
37
|
+
* Layout name.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof LayoutClass
|
|
40
40
|
*/
|
|
41
41
|
'name': string;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof LayoutClass
|
|
46
46
|
*/
|
|
47
47
|
'slug': string;
|
|
48
48
|
/**
|
|
49
|
-
* Layout style
|
|
49
|
+
* Layout style.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof LayoutClass
|
|
52
52
|
*/
|
|
53
53
|
'style': string;
|
|
54
54
|
/**
|
|
55
|
-
* Header Template
|
|
55
|
+
* Header Template.
|
|
56
56
|
* @type {HtmlTemplateClass}
|
|
57
57
|
* @memberof LayoutClass
|
|
58
58
|
*/
|
|
59
59
|
'headerTemplate': HtmlTemplateClass;
|
|
60
60
|
/**
|
|
61
|
-
* Footer Template
|
|
61
|
+
* Footer Template.
|
|
62
62
|
* @type {HtmlTemplateClass}
|
|
63
63
|
* @memberof LayoutClass
|
|
64
64
|
*/
|
|
65
65
|
'footerTemplate': HtmlTemplateClass;
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* Time at which the object was created.
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof LayoutClass
|
|
70
70
|
*/
|
|
71
71
|
'createdAt': string;
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* Time at which the object was updated.
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof LayoutClass
|
|
76
76
|
*/
|
|
@@ -80,6 +80,6 @@ export interface LayoutClass {
|
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof LayoutClass
|
|
82
82
|
*/
|
|
83
|
-
'deletedAt'
|
|
83
|
+
'deletedAt'?: string;
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -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 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
|
+
|