@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.
Files changed (66) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +2 -2
  3. package/api/document-templates-api.ts +4 -2
  4. package/api/documents-api.ts +213 -4
  5. package/api/search-keywords-api.ts +164 -0
  6. package/api/searchable-document-owners-api.ts +18 -18
  7. package/api.ts +2 -5
  8. package/base.ts +271 -242
  9. package/common.ts +61 -0
  10. package/dist/api/document-templates-api.d.ts +4 -3
  11. package/dist/api/document-templates-api.js +1 -1
  12. package/dist/api/documents-api.d.ts +113 -4
  13. package/dist/api/documents-api.js +188 -5
  14. package/dist/api/layouts-api.js +1 -1
  15. package/dist/api/search-keywords-api.d.ts +92 -0
  16. package/dist/api/search-keywords-api.js +225 -0
  17. package/dist/api/searchable-document-owners-api.d.ts +15 -15
  18. package/dist/api/searchable-document-owners-api.js +9 -9
  19. package/dist/api/searchable-documents-api.js +1 -1
  20. package/dist/api.d.ts +1 -4
  21. package/dist/api.js +1 -6
  22. package/dist/base.d.ts +5 -4
  23. package/dist/base.js +42 -13
  24. package/dist/common.d.ts +26 -0
  25. package/dist/common.js +35 -2
  26. package/dist/index.d.ts +1 -1
  27. package/dist/index.js +2 -1
  28. package/dist/models/create-doc-template-request-dto.d.ts +9 -3
  29. package/dist/models/create-doc-template-response-class.d.ts +25 -0
  30. package/dist/models/create-doc-template-response-class.js +15 -0
  31. package/dist/models/create-document-request-dto.d.ts +16 -4
  32. package/dist/models/create-html-template-dto.d.ts +1 -1
  33. package/dist/models/create-presigned-post-request-dto.d.ts +33 -9
  34. package/dist/models/doc-template-class.d.ts +24 -18
  35. package/dist/models/document-class.d.ts +17 -5
  36. package/dist/models/get-signed-s3-key-url-response-class.d.ts +24 -0
  37. package/dist/models/get-signed-s3-key-url-response-class.js +15 -0
  38. package/dist/models/html-template-class.d.ts +8 -8
  39. package/dist/models/index.d.ts +6 -0
  40. package/dist/models/index.js +6 -0
  41. package/dist/models/layout-class.d.ts +10 -10
  42. package/dist/models/list-search-keywords-request-dto.d.ts +24 -0
  43. package/dist/models/list-search-keywords-request-dto.js +15 -0
  44. package/dist/models/list-search-keywords-response-class.d.ts +24 -0
  45. package/dist/models/list-search-keywords-response-class.js +15 -0
  46. package/dist/models/list-searchable-documents-response-class.d.ts +1 -1
  47. package/dist/models/update-doc-template-request-dto.d.ts +12 -6
  48. package/dist/models/update-document-request-dto.d.ts +6 -0
  49. package/index.ts +1 -1
  50. package/models/create-doc-template-request-dto.ts +9 -3
  51. package/models/create-doc-template-response-class.ts +31 -0
  52. package/models/create-document-request-dto.ts +12 -0
  53. package/models/create-html-template-dto.ts +1 -1
  54. package/models/create-presigned-post-request-dto.ts +31 -7
  55. package/models/doc-template-class.ts +24 -18
  56. package/models/document-class.ts +14 -2
  57. package/models/get-signed-s3-key-url-response-class.ts +30 -0
  58. package/models/html-template-class.ts +7 -7
  59. package/models/index.ts +6 -0
  60. package/models/layout-class.ts +10 -10
  61. package/models/list-search-keywords-request-dto.ts +30 -0
  62. package/models/list-search-keywords-response-class.ts +30 -0
  63. package/models/list-searchable-documents-response-class.ts +1 -1
  64. package/models/update-doc-template-request-dto.ts +12 -6
  65. package/models/update-document-request-dto.ts +6 -0
  66. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export { BaseAPI } from "./base";
12
+ export { Environment, BaseAPI } from "./base";
13
13
  export * from "./api";
14
14
  export * from "./configuration";
15
15
  export * from "./models";
package/dist/index.js CHANGED
@@ -27,8 +27,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
- exports.BaseAPI = void 0;
30
+ exports.BaseAPI = exports.Environment = void 0;
31
31
  var base_1 = require("./base");
32
+ Object.defineProperty(exports, "Environment", { enumerable: true, get: function () { return base_1.Environment; } });
32
33
  Object.defineProperty(exports, "BaseAPI", { enumerable: true, get: function () { return base_1.BaseAPI; } });
33
34
  __exportStar(require("./api"), exports);
34
35
  __exportStar(require("./configuration"), exports);
@@ -17,19 +17,19 @@ import { CreateHtmlTemplateDto } from './create-html-template-dto';
17
17
  */
18
18
  export interface CreateDocTemplateRequestDto {
19
19
  /**
20
- * Template name
20
+ * Template name.
21
21
  * @type {string}
22
22
  * @memberof CreateDocTemplateRequestDto
23
23
  */
24
24
  'name': string;
25
25
  /**
26
- * Template 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 CreateDocTemplateRequestDto
29
29
  */
30
30
  'slug': string;
31
31
  /**
32
- *
32
+ * Unique identifier referencing the layout.
33
33
  * @type {number}
34
34
  * @memberof CreateDocTemplateRequestDto
35
35
  */
@@ -40,4 +40,10 @@ export interface CreateDocTemplateRequestDto {
40
40
  * @memberof CreateDocTemplateRequestDto
41
41
  */
42
42
  'bodyTemplate': CreateHtmlTemplateDto;
43
+ /**
44
+ * Product slug
45
+ * @type {string}
46
+ * @memberof CreateDocTemplateRequestDto
47
+ */
48
+ 'productSlug'?: string | null;
43
49
  }
@@ -0,0 +1,25 @@
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
+ import { DocTemplateClass } from './doc-template-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateDocTemplateResponseClass
17
+ */
18
+ export interface CreateDocTemplateResponseClass {
19
+ /**
20
+ *
21
+ * @type {DocTemplateClass}
22
+ * @memberof CreateDocTemplateResponseClass
23
+ */
24
+ 'template': DocTemplateClass;
25
+ }
@@ -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 });
@@ -57,6 +57,12 @@ export interface CreateDocumentRequestDto {
57
57
  * @memberof CreateDocumentRequestDto
58
58
  */
59
59
  'accountCode'?: string;
60
+ /**
61
+ * Unique identifier of the lead that the document belongs to
62
+ * @type {string}
63
+ * @memberof CreateDocumentRequestDto
64
+ */
65
+ 'leadCode'?: string;
60
66
  /**
61
67
  * Unique identifier referencing the entity on the service the document belongs to.
62
68
  * @type {number}
@@ -87,6 +93,12 @@ export interface CreateDocumentRequestDto {
87
93
  * @memberof CreateDocumentRequestDto
88
94
  */
89
95
  'filename'?: string;
96
+ /**
97
+ * The product slug that this file belong to.
98
+ * @type {string}
99
+ * @memberof CreateDocumentRequestDto
100
+ */
101
+ 'productSlug'?: string | null;
90
102
  }
91
103
  export declare const CreateDocumentRequestDtoEntityTypeEnum: {
92
104
  readonly PolicyApplication: "policy_application";
@@ -98,12 +110,12 @@ export declare const CreateDocumentRequestDtoEntityTypeEnum: {
98
110
  readonly SepaMandate: "sepa_mandate";
99
111
  readonly Static: "static";
100
112
  };
101
- export declare type CreateDocumentRequestDtoEntityTypeEnum = typeof CreateDocumentRequestDtoEntityTypeEnum[keyof typeof CreateDocumentRequestDtoEntityTypeEnum];
113
+ export type CreateDocumentRequestDtoEntityTypeEnum = typeof CreateDocumentRequestDtoEntityTypeEnum[keyof typeof CreateDocumentRequestDtoEntityTypeEnum];
102
114
  export declare const CreateDocumentRequestDtoStrategyEnum: {
103
115
  readonly Sync: "Sync";
104
116
  readonly Async: "Async";
105
117
  };
106
- export declare type CreateDocumentRequestDtoStrategyEnum = typeof CreateDocumentRequestDtoStrategyEnum[keyof typeof CreateDocumentRequestDtoStrategyEnum];
118
+ export type CreateDocumentRequestDtoStrategyEnum = typeof CreateDocumentRequestDtoStrategyEnum[keyof typeof CreateDocumentRequestDtoStrategyEnum];
107
119
  export declare const CreateDocumentRequestDtoRequesterEnum: {
108
120
  readonly Accountservice: "accountservice";
109
121
  readonly Insuranceservice: "insuranceservice";
@@ -119,7 +131,7 @@ export declare const CreateDocumentRequestDtoRequesterEnum: {
119
131
  readonly Processmanager: "processmanager";
120
132
  readonly Gdvservice: "gdvservice";
121
133
  };
122
- export declare type CreateDocumentRequestDtoRequesterEnum = typeof CreateDocumentRequestDtoRequesterEnum[keyof typeof CreateDocumentRequestDtoRequesterEnum];
134
+ export type CreateDocumentRequestDtoRequesterEnum = typeof CreateDocumentRequestDtoRequesterEnum[keyof typeof CreateDocumentRequestDtoRequesterEnum];
123
135
  export declare const CreateDocumentRequestDtoContentTypeEnum: {
124
136
  readonly Pdf: "pdf";
125
137
  readonly Jpg: "jpg";
@@ -140,4 +152,4 @@ export declare const CreateDocumentRequestDtoContentTypeEnum: {
140
152
  readonly Wmv: "WMV";
141
153
  readonly Avi: "AVI";
142
154
  };
143
- export declare type CreateDocumentRequestDtoContentTypeEnum = typeof CreateDocumentRequestDtoContentTypeEnum[keyof typeof CreateDocumentRequestDtoContentTypeEnum];
155
+ export type CreateDocumentRequestDtoContentTypeEnum = typeof CreateDocumentRequestDtoContentTypeEnum[keyof typeof CreateDocumentRequestDtoContentTypeEnum];
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface CreateHtmlTemplateDto {
18
18
  /**
19
- * Template draft content
19
+ * Template draft content.
20
20
  * @type {string}
21
21
  * @memberof CreateHtmlTemplateDto
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface CreatePresignedPostRequestDto {
18
18
  /**
19
- * Document template slug
19
+ * 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.
20
20
  * @type {string}
21
21
  * @memberof CreatePresignedPostRequestDto
22
22
  */
@@ -28,41 +28,65 @@ export interface CreatePresignedPostRequestDto {
28
28
  */
29
29
  'entityType': string;
30
30
  /**
31
- * Document description
31
+ * Identifier of the entity that the document is related to
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.
32
38
  * @type {string}
33
39
  * @memberof CreatePresignedPostRequestDto
34
40
  */
35
41
  'description': string;
36
42
  /**
37
- * Unique identifier for policy
43
+ * Unique identifier of the policy that the document belongs to
38
44
  * @type {string}
39
45
  * @memberof CreatePresignedPostRequestDto
40
46
  */
41
47
  'policyCode'?: string;
42
48
  /**
43
- * Unique identifier for account
49
+ * Unique identifier of the account that the document belongs to
44
50
  * @type {string}
45
51
  * @memberof CreatePresignedPostRequestDto
46
52
  */
47
53
  'accountCode'?: string;
48
54
  /**
49
- * Document requester
55
+ * Unique identifier of the lead that the document 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.
50
62
  * @type {string}
51
63
  * @memberof CreatePresignedPostRequestDto
52
64
  */
53
65
  'requester': CreatePresignedPostRequestDtoRequesterEnum;
54
66
  /**
55
- * Document content type
67
+ * Extension of the file
56
68
  * @type {string}
57
69
  * @memberof CreatePresignedPostRequestDto
58
70
  */
59
71
  'contentType': CreatePresignedPostRequestDtoContentTypeEnum;
60
72
  /**
61
- *
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.
62
80
  * @type {string}
63
81
  * @memberof CreatePresignedPostRequestDto
64
82
  */
65
83
  'filename': string;
84
+ /**
85
+ * The product slug that this file belong to.
86
+ * @type {string}
87
+ * @memberof CreatePresignedPostRequestDto
88
+ */
89
+ 'productSlug'?: string | null;
66
90
  }
67
91
  export declare const CreatePresignedPostRequestDtoRequesterEnum: {
68
92
  readonly Accountservice: "accountservice";
@@ -79,7 +103,7 @@ export declare const CreatePresignedPostRequestDtoRequesterEnum: {
79
103
  readonly Processmanager: "processmanager";
80
104
  readonly Gdvservice: "gdvservice";
81
105
  };
82
- export declare type CreatePresignedPostRequestDtoRequesterEnum = typeof CreatePresignedPostRequestDtoRequesterEnum[keyof typeof CreatePresignedPostRequestDtoRequesterEnum];
106
+ export type CreatePresignedPostRequestDtoRequesterEnum = typeof CreatePresignedPostRequestDtoRequesterEnum[keyof typeof CreatePresignedPostRequestDtoRequesterEnum];
83
107
  export declare const CreatePresignedPostRequestDtoContentTypeEnum: {
84
108
  readonly Pdf: "pdf";
85
109
  readonly Jpg: "jpg";
@@ -100,4 +124,4 @@ export declare const CreatePresignedPostRequestDtoContentTypeEnum: {
100
124
  readonly Wmv: "WMV";
101
125
  readonly Avi: "AVI";
102
126
  };
103
- export declare type CreatePresignedPostRequestDtoContentTypeEnum = typeof CreatePresignedPostRequestDtoContentTypeEnum[keyof typeof CreatePresignedPostRequestDtoContentTypeEnum];
127
+ export type CreatePresignedPostRequestDtoContentTypeEnum = typeof CreatePresignedPostRequestDtoContentTypeEnum[keyof typeof CreatePresignedPostRequestDtoContentTypeEnum];
@@ -18,63 +18,69 @@ import { LayoutClass } from './layout-class';
18
18
  */
19
19
  export interface DocTemplateClass {
20
20
  /**
21
- * Template id
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': string;
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
- * Template slug
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
- * Layout id
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': HtmlTemplateClass;
55
+ 'bodyTemplate'?: HtmlTemplateClass;
56
56
  /**
57
- * Template Layout
57
+ * Template Layout.
58
58
  * @type {LayoutClass}
59
59
  * @memberof DocTemplateClass
60
60
  */
61
- 'layout': LayoutClass;
61
+ 'layout'?: LayoutClass;
62
62
  /**
63
- * Template created at
64
- * @type {object}
63
+ * Product slug.
64
+ * @type {string}
65
65
  * @memberof DocTemplateClass
66
66
  */
67
- 'createdAt': object;
67
+ 'productSlug'?: string;
68
68
  /**
69
- * Template updated at
70
- * @type {object}
69
+ * Time at which the object was created.
70
+ * @type {string}
71
+ * @memberof DocTemplateClass
72
+ */
73
+ 'createdAt': string;
74
+ /**
75
+ * Time at which the object was updated.
76
+ * @type {string}
71
77
  * @memberof DocTemplateClass
72
78
  */
73
- 'updatedAt': object;
79
+ 'updatedAt': string;
74
80
  /**
75
81
  * Template updated at
76
- * @type {object}
82
+ * @type {string}
77
83
  * @memberof DocTemplateClass
78
84
  */
79
- 'deletedAt': object;
85
+ 'deletedAt'?: string;
80
86
  }
@@ -44,7 +44,7 @@ export interface DocumentClass {
44
44
  * @type {object}
45
45
  * @memberof DocumentClass
46
46
  */
47
- 'payload': object;
47
+ 'payload'?: object;
48
48
  /**
49
49
  * Unique identifier of the policy that the document belongs to
50
50
  * @type {string}
@@ -57,6 +57,12 @@ export interface DocumentClass {
57
57
  * @memberof DocumentClass
58
58
  */
59
59
  'accountCode'?: string;
60
+ /**
61
+ * Unique identifier of the lead that the document belongs to
62
+ * @type {string}
63
+ * @memberof DocumentClass
64
+ */
65
+ 'leadCode'?: string;
60
66
  /**
61
67
  * Unique identifier referencing the entity on the service the document belongs to.
62
68
  * @type {number}
@@ -74,7 +80,7 @@ export interface DocumentClass {
74
80
  * @type {object}
75
81
  * @memberof DocumentClass
76
82
  */
77
- 'metadata': object;
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
+ * Product that this document belong to
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}
@@ -110,7 +122,7 @@ export declare const DocumentClassEntityTypeEnum: {
110
122
  readonly SepaMandate: "sepa_mandate";
111
123
  readonly Static: "static";
112
124
  };
113
- export declare type DocumentClassEntityTypeEnum = typeof DocumentClassEntityTypeEnum[keyof typeof DocumentClassEntityTypeEnum];
125
+ export type DocumentClassEntityTypeEnum = typeof DocumentClassEntityTypeEnum[keyof typeof DocumentClassEntityTypeEnum];
114
126
  export declare const DocumentClassRequesterEnum: {
115
127
  readonly Accountservice: "accountservice";
116
128
  readonly Insuranceservice: "insuranceservice";
@@ -126,7 +138,7 @@ export declare const DocumentClassRequesterEnum: {
126
138
  readonly Processmanager: "processmanager";
127
139
  readonly Gdvservice: "gdvservice";
128
140
  };
129
- export declare type DocumentClassRequesterEnum = typeof DocumentClassRequesterEnum[keyof typeof DocumentClassRequesterEnum];
141
+ export type DocumentClassRequesterEnum = typeof DocumentClassRequesterEnum[keyof typeof DocumentClassRequesterEnum];
130
142
  export declare const DocumentClassContentTypeEnum: {
131
143
  readonly Pdf: "pdf";
132
144
  readonly Jpg: "jpg";
@@ -147,4 +159,4 @@ export declare const DocumentClassContentTypeEnum: {
147
159
  readonly Wmv: "WMV";
148
160
  readonly Avi: "AVI";
149
161
  };
150
- export declare type DocumentClassContentTypeEnum = typeof DocumentClassContentTypeEnum[keyof typeof DocumentClassContentTypeEnum];
162
+ export type DocumentClassContentTypeEnum = typeof DocumentClassContentTypeEnum[keyof typeof DocumentClassContentTypeEnum];
@@ -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
- * Template id
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
- * Template created at
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
- * Template updated at
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
- * Template updated at
55
+ * Template deleted at.
56
56
  * @type {string}
57
57
  * @memberof HtmlTemplateClass
58
58
  */
@@ -63,4 +63,4 @@ export declare const HtmlTemplateClassTypeEnum: {
63
63
  readonly Footer: "footer";
64
64
  readonly Body: "body";
65
65
  };
66
- export declare type HtmlTemplateClassTypeEnum = typeof HtmlTemplateClassTypeEnum[keyof typeof HtmlTemplateClassTypeEnum];
66
+ export type HtmlTemplateClassTypeEnum = typeof HtmlTemplateClassTypeEnum[keyof typeof HtmlTemplateClassTypeEnum];
@@ -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';
@@ -15,9 +15,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./create-doc-template-request-dto"), exports);
18
+ __exportStar(require("./create-doc-template-response-class"), exports);
18
19
  __exportStar(require("./create-document-request-dto"), exports);
19
20
  __exportStar(require("./create-html-template-dto"), exports);
20
21
  __exportStar(require("./create-layout-request-dto"), exports);
22
+ __exportStar(require("./create-presigned-post-request-dto"), exports);
23
+ __exportStar(require("./create-presigned-post-response-class"), exports);
21
24
  __exportStar(require("./delete-layout-request-dto"), exports);
22
25
  __exportStar(require("./delete-request-dto"), exports);
23
26
  __exportStar(require("./doc-template-class"), exports);
@@ -28,12 +31,15 @@ __exportStar(require("./get-doc-template-response-class"), exports);
28
31
  __exportStar(require("./get-document-download-url-response-class"), exports);
29
32
  __exportStar(require("./get-layout-request-dto"), exports);
30
33
  __exportStar(require("./get-layout-response-class"), exports);
34
+ __exportStar(require("./get-signed-s3-key-url-response-class"), exports);
31
35
  __exportStar(require("./html-template-class"), exports);
32
36
  __exportStar(require("./layout-class"), exports);
33
37
  __exportStar(require("./list-doc-templates-response-class"), exports);
34
38
  __exportStar(require("./list-documents-response-class"), exports);
35
39
  __exportStar(require("./list-layouts-response-class"), exports);
36
40
  __exportStar(require("./list-request-dto"), exports);
41
+ __exportStar(require("./list-search-keywords-request-dto"), exports);
42
+ __exportStar(require("./list-search-keywords-response-class"), exports);
37
43
  __exportStar(require("./list-searchable-document-owners-response-class"), exports);
38
44
  __exportStar(require("./list-searchable-documents-request-dto"), exports);
39
45
  __exportStar(require("./list-searchable-documents-response-class"), exports);
@@ -17,55 +17,55 @@ import { HtmlTemplateClass } from './html-template-class';
17
17
  */
18
18
  export interface LayoutClass {
19
19
  /**
20
- * Layout id
20
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
21
21
  * @type {number}
22
22
  * @memberof LayoutClass
23
23
  */
24
24
  'id': number;
25
25
  /**
26
- * Record owner
26
+ * Record owner.
27
27
  * @type {string}
28
28
  * @memberof LayoutClass
29
29
  */
30
30
  'owner': string;
31
31
  /**
32
- * Layout name
32
+ * Layout name.
33
33
  * @type {string}
34
34
  * @memberof LayoutClass
35
35
  */
36
36
  'name': string;
37
37
  /**
38
- * Layout slug
38
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
39
39
  * @type {string}
40
40
  * @memberof LayoutClass
41
41
  */
42
42
  'slug': string;
43
43
  /**
44
- * Layout style
44
+ * Layout style.
45
45
  * @type {string}
46
46
  * @memberof LayoutClass
47
47
  */
48
48
  'style': string;
49
49
  /**
50
- * Header Template
50
+ * Header Template.
51
51
  * @type {HtmlTemplateClass}
52
52
  * @memberof LayoutClass
53
53
  */
54
54
  'headerTemplate': HtmlTemplateClass;
55
55
  /**
56
- * Footer Template
56
+ * Footer Template.
57
57
  * @type {HtmlTemplateClass}
58
58
  * @memberof LayoutClass
59
59
  */
60
60
  'footerTemplate': HtmlTemplateClass;
61
61
  /**
62
- * Layout created at
62
+ * Time at which the object was created.
63
63
  * @type {string}
64
64
  * @memberof LayoutClass
65
65
  */
66
66
  'createdAt': string;
67
67
  /**
68
- * Layout updated at
68
+ * Time at which the object was updated.
69
69
  * @type {string}
70
70
  * @memberof LayoutClass
71
71
  */
@@ -75,5 +75,5 @@ export interface LayoutClass {
75
75
  * @type {string}
76
76
  * @memberof LayoutClass
77
77
  */
78
- 'deletedAt': string;
78
+ 'deletedAt'?: string;
79
79
  }
@@ -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 ListSearchKeywordsRequestDto
16
+ */
17
+ export interface ListSearchKeywordsRequestDto {
18
+ /**
19
+ * Text to search in the documents
20
+ * @type {string}
21
+ * @memberof ListSearchKeywordsRequestDto
22
+ */
23
+ 'searchText': string;
24
+ }