@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.
Files changed (111) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +2 -2
  3. package/api/document-templates-api.ts +84 -92
  4. package/api/documents-api.ts +16 -107
  5. package/api/layouts-api.ts +52 -28
  6. package/api/search-keywords-api.ts +12 -8
  7. package/api/searchable-document-owners-api.ts +8 -4
  8. package/api/searchable-documents-api.ts +16 -12
  9. package/base.ts +3 -3
  10. package/dist/api/document-templates-api.d.ts +78 -75
  11. package/dist/api/document-templates-api.js +73 -67
  12. package/dist/api/documents-api.d.ts +16 -61
  13. package/dist/api/documents-api.js +8 -93
  14. package/dist/api/layouts-api.d.ts +52 -30
  15. package/dist/api/layouts-api.js +43 -23
  16. package/dist/api/search-keywords-api.d.ts +12 -8
  17. package/dist/api/search-keywords-api.js +11 -7
  18. package/dist/api/searchable-document-owners-api.d.ts +8 -4
  19. package/dist/api/searchable-document-owners-api.js +8 -4
  20. package/dist/api/searchable-documents-api.d.ts +16 -12
  21. package/dist/api/searchable-documents-api.js +14 -10
  22. package/dist/base.d.ts +1 -1
  23. package/dist/base.js +3 -3
  24. package/dist/models/create-doc-template-request-dto.d.ts +3 -3
  25. package/dist/models/create-doc-template-response-class.d.ts +1 -1
  26. package/dist/models/create-document-request-dto.d.ts +11 -11
  27. package/dist/models/create-document-sync-response-class.d.ts +25 -0
  28. package/dist/models/create-document-sync-response-class.js +15 -0
  29. package/dist/models/create-layout-request-dto.d.ts +10 -10
  30. package/dist/models/create-layout-response-class.d.ts +25 -0
  31. package/dist/models/create-layout-response-class.js +15 -0
  32. package/dist/models/create-presigned-post-request-dto.d.ts +10 -10
  33. package/dist/models/create-presigned-post-response-class.d.ts +2 -2
  34. package/dist/models/delete-layout-request-dto.d.ts +1 -1
  35. package/dist/models/delete-request-dto.d.ts +1 -1
  36. package/dist/models/delete-response-class.d.ts +24 -0
  37. package/dist/models/delete-response-class.js +15 -0
  38. package/dist/models/doc-template-class.d.ts +2 -2
  39. package/dist/models/document-class.d.ts +8 -8
  40. package/dist/models/download-document-request-dto.d.ts +2 -2
  41. package/dist/models/get-doc-template-request-dto.d.ts +1 -1
  42. package/dist/models/get-doc-template-response-class.d.ts +1 -1
  43. package/dist/models/get-document-download-url-response-class.d.ts +1 -1
  44. package/dist/models/get-layout-request-dto.d.ts +1 -1
  45. package/dist/models/html-template-class.d.ts +1 -1
  46. package/dist/models/index.d.ts +8 -0
  47. package/dist/models/index.js +8 -0
  48. package/dist/models/layout-class.d.ts +1 -1
  49. package/dist/models/list-doc-template-request-dto.d.ts +48 -0
  50. package/dist/models/list-doc-template-request-dto.js +15 -0
  51. package/dist/models/list-doc-templates-response-class.d.ts +1 -1
  52. package/dist/models/list-documents-response-class.d.ts +1 -1
  53. package/dist/models/list-layouts-response-class.d.ts +1 -1
  54. package/dist/models/list-search-keywords-request-dto.d.ts +1 -1
  55. package/dist/models/list-search-keywords-response-class.d.ts +1 -1
  56. package/dist/models/list-searchable-document-owners-response-class.d.ts +3 -2
  57. package/dist/models/list-searchable-documents-request-dto.d.ts +2 -2
  58. package/dist/models/list-searchable-documents-response-class.d.ts +5 -4
  59. package/dist/models/searchable-document-class.d.ts +66 -0
  60. package/dist/models/searchable-document-class.js +15 -0
  61. package/dist/models/searchable-document-owner-class.d.ts +30 -0
  62. package/dist/models/searchable-document-owner-class.js +15 -0
  63. package/dist/models/update-doc-template-request-dto.d.ts +7 -7
  64. package/dist/models/update-doc-template-response-class.d.ts +1 -1
  65. package/dist/models/update-document-request-dto.d.ts +5 -5
  66. package/dist/models/update-document-response-class.d.ts +25 -0
  67. package/dist/models/update-document-response-class.js +15 -0
  68. package/dist/models/update-html-template-dto.d.ts +42 -0
  69. package/dist/models/update-html-template-dto.js +21 -0
  70. package/dist/models/update-layout-request-dto.d.ts +15 -15
  71. package/dist/models/update-layout-response-class.d.ts +1 -1
  72. package/models/create-doc-template-request-dto.ts +3 -3
  73. package/models/create-doc-template-response-class.ts +1 -1
  74. package/models/create-document-request-dto.ts +11 -11
  75. package/models/create-document-sync-response-class.ts +31 -0
  76. package/models/create-layout-request-dto.ts +10 -10
  77. package/models/create-layout-response-class.ts +31 -0
  78. package/models/create-presigned-post-request-dto.ts +10 -10
  79. package/models/create-presigned-post-response-class.ts +2 -2
  80. package/models/delete-layout-request-dto.ts +1 -1
  81. package/models/delete-request-dto.ts +1 -1
  82. package/models/delete-response-class.ts +30 -0
  83. package/models/doc-template-class.ts +2 -2
  84. package/models/document-class.ts +8 -8
  85. package/models/download-document-request-dto.ts +2 -2
  86. package/models/get-doc-template-request-dto.ts +1 -1
  87. package/models/get-doc-template-response-class.ts +1 -1
  88. package/models/get-document-download-url-response-class.ts +1 -1
  89. package/models/get-layout-request-dto.ts +1 -1
  90. package/models/html-template-class.ts +1 -1
  91. package/models/index.ts +8 -0
  92. package/models/layout-class.ts +1 -1
  93. package/models/list-doc-template-request-dto.ts +54 -0
  94. package/models/list-doc-templates-response-class.ts +1 -1
  95. package/models/list-documents-response-class.ts +1 -1
  96. package/models/list-layouts-response-class.ts +1 -1
  97. package/models/list-search-keywords-request-dto.ts +1 -1
  98. package/models/list-search-keywords-response-class.ts +1 -1
  99. package/models/list-searchable-document-owners-response-class.ts +3 -2
  100. package/models/list-searchable-documents-request-dto.ts +2 -2
  101. package/models/list-searchable-documents-response-class.ts +5 -4
  102. package/models/searchable-document-class.ts +72 -0
  103. package/models/searchable-document-owner-class.ts +36 -0
  104. package/models/update-doc-template-request-dto.ts +7 -7
  105. package/models/update-doc-template-response-class.ts +1 -1
  106. package/models/update-document-request-dto.ts +5 -5
  107. package/models/update-document-response-class.ts +31 -0
  108. package/models/update-html-template-dto.ts +51 -0
  109. package/models/update-layout-request-dto.ts +15 -15
  110. package/models/update-layout-response-class.ts +1 -1
  111. 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 { CreateHtmlTemplateDto } from './create-html-template-dto';
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
- * Layout slug
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
- * Layout style
33
- * @type {string}
32
+ * Header template.
33
+ * @type {UpdateHtmlTemplateDto}
34
34
  * @memberof UpdateLayoutRequestDto
35
35
  */
36
- 'style': string;
36
+ 'headerTemplate': UpdateHtmlTemplateDto;
37
37
  /**
38
- * Layout id
39
- * @type {number}
38
+ * Footer template.
39
+ * @type {UpdateHtmlTemplateDto}
40
40
  * @memberof UpdateLayoutRequestDto
41
41
  */
42
- 'id': number;
42
+ 'footerTemplate': UpdateHtmlTemplateDto;
43
43
  /**
44
- *
45
- * @type {CreateHtmlTemplateDto}
44
+ * Layout style.
45
+ * @type {string}
46
46
  * @memberof UpdateLayoutRequestDto
47
47
  */
48
- 'headerTemplate': CreateHtmlTemplateDto;
48
+ 'style': string;
49
49
  /**
50
- *
51
- * @type {CreateHtmlTemplateDto}
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
- 'footerTemplate': CreateHtmlTemplateDto;
54
+ 'id': number;
55
55
  }
@@ -17,7 +17,7 @@ import { LayoutClass } from './layout-class';
17
17
  */
18
18
  export interface UpdateLayoutResponseClass {
19
19
  /**
20
- * Layout id
20
+ * Layout
21
21
  * @type {LayoutClass}
22
22
  * @memberof UpdateLayoutResponseClass
23
23
  */
@@ -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
- * Product slug
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 | null;
53
+ 'productSlug'?: string;
54
54
  }
55
55
 
@@ -22,7 +22,7 @@ import { DocTemplateClass } from './doc-template-class';
22
22
  */
23
23
  export interface CreateDocTemplateResponseClass {
24
24
  /**
25
- *
25
+ * Document template.
26
26
  * @type {DocTemplateClass}
27
27
  * @memberof CreateDocTemplateResponseClass
28
28
  */
@@ -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 instead of a less human-readable identifier like an id. In this case, the template used for this document.
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
- * Description of the document. Usually a short summary about the context in which the document is being used.
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 the document belongs to
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 the document belongs to
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 the document belongs to
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 on the service the document belongs to.
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 can contain extra information that the document would need for specific cases.
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'?: CreateDocumentRequestDtoContentTypeEnum;
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
- * The product slug that this file belong to.
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 | null;
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
- * Layout slug
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
- * Layout style
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 instead of a less human-readable identifier like an id. In this case, the template used for this document.
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
- * Identifier of the entity that the document is related to
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 the document belongs to
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 the document belongs to
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 the document belongs to
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
- * The product slug that this file belong to.
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 | null;
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
  */
@@ -21,7 +21,7 @@
21
21
  */
22
22
  export interface DeleteLayoutRequestDto {
23
23
  /**
24
- * Layout id
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
25
  * @type {number}
26
26
  * @memberof DeleteLayoutRequestDto
27
27
  */
@@ -21,7 +21,7 @@
21
21
  */
22
22
  export interface DeleteRequestDto {
23
23
  /**
24
- * Resource id
24
+ * Unique identifier for the object.
25
25
  * @type {string}
26
26
  * @memberof DeleteRequestDto
27
27
  */
@@ -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
- * Product slug.
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
- * Template updated at
86
+ * Time at which the object was deleted.
87
87
  * @type {string}
88
88
  * @memberof DocTemplateClass
89
89
  */
@@ -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 instead of a less human-readable identifier like an id. In this case, the template used for this document.
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 the document belongs to
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 the document belongs to
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 the document belongs to
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 on the service the document belongs to.
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 can contain extra information that the document would need for specific cases.
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
- * Product that this document belong to
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
- * Document code
24
+ *
25
25
  * @type {string}
26
26
  * @memberof DownloadDocumentRequestDto
27
27
  */
28
28
  'code': string;
29
29
  /**
30
- * Document key
30
+ *
31
31
  * @type {string}
32
32
  * @memberof DownloadDocumentRequestDto
33
33
  */
@@ -21,7 +21,7 @@
21
21
  */
22
22
  export interface GetDocTemplateRequestDto {
23
23
  /**
24
- * Template id
24
+ *
25
25
  * @type {number}
26
26
  * @memberof GetDocTemplateRequestDto
27
27
  */
@@ -22,7 +22,7 @@ import { DocTemplateClass } from './doc-template-class';
22
22
  */
23
23
  export interface GetDocTemplateResponseClass {
24
24
  /**
25
- * Template
25
+ * Document template.
26
26
  * @type {DocTemplateClass}
27
27
  * @memberof GetDocTemplateResponseClass
28
28
  */
@@ -21,7 +21,7 @@
21
21
  */
22
22
  export interface GetDocumentDownloadUrlResponseClass {
23
23
  /**
24
- * Pre-signed Url
24
+ * Pre-signed Url.
25
25
  * @type {string}
26
26
  * @memberof GetDocumentDownloadUrlResponseClass
27
27
  */
@@ -21,7 +21,7 @@
21
21
  */
22
22
  export interface GetLayoutRequestDto {
23
23
  /**
24
- * Layout id
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
25
  * @type {number}
26
26
  * @memberof GetLayoutRequestDto
27
27
  */
@@ -57,7 +57,7 @@ export interface HtmlTemplateClass {
57
57
  */
58
58
  'updatedAt': string;
59
59
  /**
60
- * Template deleted at.
60
+ * Time at which the template was deleted.
61
61
  * @type {string}
62
62
  * @memberof HtmlTemplateClass
63
63
  */
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';
@@ -76,7 +76,7 @@ export interface LayoutClass {
76
76
  */
77
77
  'updatedAt': string;
78
78
  /**
79
- * Layout deleted at
79
+ * Time at which the layout was deleted.
80
80
  * @type {string}
81
81
  * @memberof LayoutClass
82
82
  */