@emilgroup/document-sdk-node 1.1.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 +8 -0
- package/README.md +2 -2
- package/api/document-templates-api.ts +84 -92
- package/api/documents-api.ts +16 -107
- package/api/layouts-api.ts +52 -28
- package/api/search-keywords-api.ts +12 -8
- package/api/searchable-document-owners-api.ts +8 -4
- package/api/searchable-documents-api.ts +16 -12
- package/base.ts +3 -3
- package/dist/api/document-templates-api.d.ts +78 -75
- package/dist/api/document-templates-api.js +73 -67
- package/dist/api/documents-api.d.ts +16 -61
- package/dist/api/documents-api.js +8 -93
- 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 +12 -8
- package/dist/api/search-keywords-api.js +11 -7
- package/dist/api/searchable-document-owners-api.d.ts +8 -4
- package/dist/api/searchable-document-owners-api.js +8 -4
- package/dist/api/searchable-documents-api.d.ts +16 -12
- package/dist/api/searchable-documents-api.js +14 -10
- package/dist/base.d.ts +1 -1
- package/dist/base.js +3 -3
- package/dist/models/create-doc-template-request-dto.d.ts +3 -3
- package/dist/models/create-doc-template-response-class.d.ts +1 -1
- package/dist/models/create-document-request-dto.d.ts +11 -11
- 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-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 +10 -10
- package/dist/models/create-presigned-post-response-class.d.ts +2 -2
- 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 +2 -2
- package/dist/models/document-class.d.ts +8 -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/html-template-class.d.ts +1 -1
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/layout-class.d.ts +1 -1
- 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 +1 -1
- package/dist/models/list-search-keywords-response-class.d.ts +1 -1
- 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 +7 -7
- package/dist/models/update-doc-template-response-class.d.ts +1 -1
- package/dist/models/update-document-request-dto.d.ts +5 -5
- 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 +3 -3
- package/models/create-doc-template-response-class.ts +1 -1
- package/models/create-document-request-dto.ts +11 -11
- package/models/create-document-sync-response-class.ts +31 -0
- 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 +10 -10
- package/models/create-presigned-post-response-class.ts +2 -2
- 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 +2 -2
- package/models/document-class.ts +8 -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/html-template-class.ts +1 -1
- package/models/index.ts +8 -0
- package/models/layout-class.ts +1 -1
- 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 +1 -1
- package/models/list-search-keywords-response-class.ts +1 -1
- 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 +7 -7
- package/models/update-doc-template-response-class.ts +1 -1
- package/models/update-document-request-dto.ts +5 -5
- 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 +2 -2
|
@@ -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
|
}
|
|
@@ -40,16 +40,16 @@ export interface 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
48
|
/**
|
|
49
|
-
*
|
|
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
50
|
* @type {string}
|
|
51
51
|
* @memberof CreateDocTemplateRequestDto
|
|
52
52
|
*/
|
|
53
|
-
'productSlug'?: string
|
|
53
|
+
'productSlug'?: string;
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -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,25 +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 of the lead that
|
|
66
|
+
* Unique identifier of the lead that this object belongs to.
|
|
67
67
|
* @type {string}
|
|
68
68
|
* @memberof CreateDocumentRequestDto
|
|
69
69
|
*/
|
|
70
70
|
'leadCode'?: string;
|
|
71
71
|
/**
|
|
72
|
-
* Unique identifier referencing the entity
|
|
72
|
+
* Unique identifier referencing the entity.
|
|
73
73
|
* @type {number}
|
|
74
74
|
* @memberof CreateDocumentRequestDto
|
|
75
75
|
*/
|
|
@@ -81,7 +81,7 @@ export interface CreateDocumentRequestDto {
|
|
|
81
81
|
*/
|
|
82
82
|
'requester': CreateDocumentRequestDtoRequesterEnum;
|
|
83
83
|
/**
|
|
84
|
-
* Metadata
|
|
84
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
85
85
|
* @type {object}
|
|
86
86
|
* @memberof CreateDocumentRequestDto
|
|
87
87
|
*/
|
|
@@ -91,7 +91,7 @@ export interface CreateDocumentRequestDto {
|
|
|
91
91
|
* @type {string}
|
|
92
92
|
* @memberof CreateDocumentRequestDto
|
|
93
93
|
*/
|
|
94
|
-
'contentType'
|
|
94
|
+
'contentType': CreateDocumentRequestDtoContentTypeEnum;
|
|
95
95
|
/**
|
|
96
96
|
* Name of the file the end user will see when he downloads it.
|
|
97
97
|
* @type {string}
|
|
@@ -99,11 +99,11 @@ export interface CreateDocumentRequestDto {
|
|
|
99
99
|
*/
|
|
100
100
|
'filename'?: string;
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
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
103
|
* @type {string}
|
|
104
104
|
* @memberof CreateDocumentRequestDto
|
|
105
105
|
*/
|
|
106
|
-
'productSlug'?: string
|
|
106
|
+
'productSlug'?: string;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
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
|
+
|
|
@@ -21,19 +21,19 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface CreatePresignedPostRequestDto {
|
|
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 CreatePresignedPostRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'templateSlug': string;
|
|
29
29
|
/**
|
|
30
|
-
* Document entity type
|
|
30
|
+
* Document entity type.
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof CreatePresignedPostRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'entityType': string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Unique identifier referencing the entity.
|
|
37
37
|
* @type {number}
|
|
38
38
|
* @memberof CreatePresignedPostRequestDto
|
|
39
39
|
*/
|
|
@@ -45,19 +45,19 @@ export interface CreatePresignedPostRequestDto {
|
|
|
45
45
|
*/
|
|
46
46
|
'description': string;
|
|
47
47
|
/**
|
|
48
|
-
* Unique identifier of the policy that
|
|
48
|
+
* Unique identifier of the policy that this object belongs to.
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof CreatePresignedPostRequestDto
|
|
51
51
|
*/
|
|
52
52
|
'policyCode'?: string;
|
|
53
53
|
/**
|
|
54
|
-
* Unique identifier of the account that
|
|
54
|
+
* Unique identifier of the account that this object belongs to.
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof CreatePresignedPostRequestDto
|
|
57
57
|
*/
|
|
58
58
|
'accountCode'?: string;
|
|
59
59
|
/**
|
|
60
|
-
* Unique identifier of the lead that
|
|
60
|
+
* Unique identifier of the lead that this object belongs to.
|
|
61
61
|
* @type {string}
|
|
62
62
|
* @memberof CreatePresignedPostRequestDto
|
|
63
63
|
*/
|
|
@@ -69,13 +69,13 @@ export interface CreatePresignedPostRequestDto {
|
|
|
69
69
|
*/
|
|
70
70
|
'requester': CreatePresignedPostRequestDtoRequesterEnum;
|
|
71
71
|
/**
|
|
72
|
-
* Extension of the file
|
|
72
|
+
* Extension of the file.
|
|
73
73
|
* @type {string}
|
|
74
74
|
* @memberof CreatePresignedPostRequestDto
|
|
75
75
|
*/
|
|
76
76
|
'contentType': CreatePresignedPostRequestDtoContentTypeEnum;
|
|
77
77
|
/**
|
|
78
|
-
* Content type of the file
|
|
78
|
+
* Content type of the file.
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof CreatePresignedPostRequestDto
|
|
81
81
|
*/
|
|
@@ -87,11 +87,11 @@ export interface CreatePresignedPostRequestDto {
|
|
|
87
87
|
*/
|
|
88
88
|
'filename': string;
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
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
91
|
* @type {string}
|
|
92
92
|
* @memberof CreatePresignedPostRequestDto
|
|
93
93
|
*/
|
|
94
|
-
'productSlug'?: string
|
|
94
|
+
'productSlug'?: string;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
export const CreatePresignedPostRequestDtoRequesterEnum = {
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface CreatePresignedPostResponseClass {
|
|
23
23
|
/**
|
|
24
|
-
* Upload document fields
|
|
24
|
+
* Upload document fields.
|
|
25
25
|
* @type {object}
|
|
26
26
|
* @memberof CreatePresignedPostResponseClass
|
|
27
27
|
*/
|
|
28
28
|
'fields': object;
|
|
29
29
|
/**
|
|
30
|
-
* Pre-signed Url
|
|
30
|
+
* Pre-signed Url.
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof CreatePresignedPostResponseClass
|
|
33
33
|
*/
|
|
@@ -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
|
+
|
|
@@ -65,7 +65,7 @@ export interface DocTemplateClass {
|
|
|
65
65
|
*/
|
|
66
66
|
'layout'?: LayoutClass;
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
69
69
|
* @type {string}
|
|
70
70
|
* @memberof DocTemplateClass
|
|
71
71
|
*/
|
|
@@ -83,7 +83,7 @@ export interface DocTemplateClass {
|
|
|
83
83
|
*/
|
|
84
84
|
'updatedAt': string;
|
|
85
85
|
/**
|
|
86
|
-
*
|
|
86
|
+
* Time at which the object was deleted.
|
|
87
87
|
* @type {string}
|
|
88
88
|
* @memberof DocTemplateClass
|
|
89
89
|
*/
|
package/models/document-class.ts
CHANGED
|
@@ -33,13 +33,13 @@ export interface DocumentClass {
|
|
|
33
33
|
*/
|
|
34
34
|
'code': string;
|
|
35
35
|
/**
|
|
36
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
36
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof DocumentClass
|
|
39
39
|
*/
|
|
40
40
|
'templateSlug': string;
|
|
41
41
|
/**
|
|
42
|
-
* Document entity type
|
|
42
|
+
* Document entity type.
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof DocumentClass
|
|
45
45
|
*/
|
|
@@ -51,25 +51,25 @@ export interface DocumentClass {
|
|
|
51
51
|
*/
|
|
52
52
|
'payload'?: object;
|
|
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 DocumentClass
|
|
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 DocumentClass
|
|
63
63
|
*/
|
|
64
64
|
'accountCode'?: string;
|
|
65
65
|
/**
|
|
66
|
-
* Unique identifier of the lead that
|
|
66
|
+
* Unique identifier of the lead that this object belongs to.
|
|
67
67
|
* @type {string}
|
|
68
68
|
* @memberof DocumentClass
|
|
69
69
|
*/
|
|
70
70
|
'leadCode'?: string;
|
|
71
71
|
/**
|
|
72
|
-
* Unique identifier referencing the entity
|
|
72
|
+
* Unique identifier referencing the entity.
|
|
73
73
|
* @type {number}
|
|
74
74
|
* @memberof DocumentClass
|
|
75
75
|
*/
|
|
@@ -81,7 +81,7 @@ export interface DocumentClass {
|
|
|
81
81
|
*/
|
|
82
82
|
'requester': DocumentClassRequesterEnum;
|
|
83
83
|
/**
|
|
84
|
-
* Metadata
|
|
84
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
85
85
|
* @type {object}
|
|
86
86
|
* @memberof DocumentClass
|
|
87
87
|
*/
|
|
@@ -105,7 +105,7 @@ export interface DocumentClass {
|
|
|
105
105
|
*/
|
|
106
106
|
'contentType': DocumentClassContentTypeEnum;
|
|
107
107
|
/**
|
|
108
|
-
*
|
|
108
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
109
109
|
* @type {string}
|
|
110
110
|
* @memberof DocumentClass
|
|
111
111
|
*/
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface DownloadDocumentRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
*
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof DownloadDocumentRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'code': string;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
*
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof DownloadDocumentRequestDto
|
|
33
33
|
*/
|
package/models/index.ts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
export * from './create-doc-template-request-dto';
|
|
2
2
|
export * from './create-doc-template-response-class';
|
|
3
3
|
export * from './create-document-request-dto';
|
|
4
|
+
export * from './create-document-sync-response-class';
|
|
4
5
|
export * from './create-html-template-dto';
|
|
5
6
|
export * from './create-layout-request-dto';
|
|
7
|
+
export * from './create-layout-response-class';
|
|
6
8
|
export * from './create-presigned-post-request-dto';
|
|
7
9
|
export * from './create-presigned-post-response-class';
|
|
8
10
|
export * from './delete-layout-request-dto';
|
|
9
11
|
export * from './delete-request-dto';
|
|
12
|
+
export * from './delete-response-class';
|
|
10
13
|
export * from './doc-template-class';
|
|
11
14
|
export * from './document-class';
|
|
12
15
|
export * from './download-document-request-dto';
|
|
@@ -18,6 +21,7 @@ export * from './get-layout-response-class';
|
|
|
18
21
|
export * from './get-signed-s3-key-url-response-class';
|
|
19
22
|
export * from './html-template-class';
|
|
20
23
|
export * from './layout-class';
|
|
24
|
+
export * from './list-doc-template-request-dto';
|
|
21
25
|
export * from './list-doc-templates-response-class';
|
|
22
26
|
export * from './list-documents-response-class';
|
|
23
27
|
export * from './list-layouts-response-class';
|
|
@@ -27,8 +31,12 @@ export * from './list-search-keywords-response-class';
|
|
|
27
31
|
export * from './list-searchable-document-owners-response-class';
|
|
28
32
|
export * from './list-searchable-documents-request-dto';
|
|
29
33
|
export * from './list-searchable-documents-response-class';
|
|
34
|
+
export * from './searchable-document-class';
|
|
35
|
+
export * from './searchable-document-owner-class';
|
|
30
36
|
export * from './update-doc-template-request-dto';
|
|
31
37
|
export * from './update-doc-template-response-class';
|
|
32
38
|
export * from './update-document-request-dto';
|
|
39
|
+
export * from './update-document-response-class';
|
|
40
|
+
export * from './update-html-template-dto';
|
|
33
41
|
export * from './update-layout-request-dto';
|
|
34
42
|
export * from './update-layout-response-class';
|