@emilgroup/document-sdk-node 1.2.0 → 1.3.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 (141) hide show
  1. package/.openapi-generator/FILES +21 -0
  2. package/README.md +2 -2
  3. package/api/document-templates-api.ts +88 -94
  4. package/api/documents-api.ts +152 -34
  5. package/api/layouts-api.ts +52 -28
  6. package/api/product-documents-api.ts +599 -0
  7. package/api/search-keywords-api.ts +168 -0
  8. package/api/searchable-document-owners-api.ts +26 -22
  9. package/api/searchable-documents-api.ts +16 -12
  10. package/api.ts +4 -0
  11. package/dist/api/document-templates-api.d.ts +82 -78
  12. package/dist/api/document-templates-api.js +73 -67
  13. package/dist/api/documents-api.d.ts +93 -29
  14. package/dist/api/documents-api.js +121 -23
  15. package/dist/api/layouts-api.d.ts +52 -30
  16. package/dist/api/layouts-api.js +43 -23
  17. package/dist/api/product-documents-api.d.ts +345 -0
  18. package/dist/api/product-documents-api.js +558 -0
  19. package/dist/api/search-keywords-api.d.ts +96 -0
  20. package/dist/api/search-keywords-api.js +229 -0
  21. package/dist/api/searchable-document-owners-api.d.ts +23 -19
  22. package/dist/api/searchable-document-owners-api.js +16 -12
  23. package/dist/api/searchable-documents-api.d.ts +16 -12
  24. package/dist/api/searchable-documents-api.js +14 -10
  25. package/dist/api.d.ts +2 -0
  26. package/dist/api.js +2 -0
  27. package/dist/models/create-doc-template-request-dto.d.ts +10 -4
  28. package/dist/models/create-doc-template-response-class.d.ts +25 -0
  29. package/dist/models/create-doc-template-response-class.js +15 -0
  30. package/dist/models/create-document-request-dto.d.ts +21 -8
  31. package/dist/models/create-document-request-dto.js +2 -1
  32. package/dist/models/create-document-sync-response-class.d.ts +25 -0
  33. package/dist/models/create-document-sync-response-class.js +15 -0
  34. package/dist/models/create-html-template-dto.d.ts +1 -1
  35. package/dist/models/create-layout-request-dto.d.ts +10 -10
  36. package/dist/models/create-layout-response-class.d.ts +25 -0
  37. package/dist/models/create-layout-response-class.js +15 -0
  38. package/dist/models/create-presigned-post-request-dto.d.ts +128 -0
  39. package/dist/models/create-presigned-post-request-dto.js +52 -0
  40. package/dist/models/create-presigned-post-response-class.d.ts +30 -0
  41. package/dist/models/create-presigned-post-response-class.js +15 -0
  42. package/dist/models/delete-layout-request-dto.d.ts +1 -1
  43. package/dist/models/delete-product-document-request-dto.d.ts +30 -0
  44. package/dist/models/delete-product-document-request-dto.js +15 -0
  45. package/dist/models/delete-request-dto.d.ts +1 -1
  46. package/dist/models/delete-response-class.d.ts +24 -0
  47. package/dist/models/delete-response-class.js +15 -0
  48. package/dist/models/doc-template-class.d.ts +25 -19
  49. package/dist/models/document-class.d.ts +21 -8
  50. package/dist/models/document-class.js +2 -1
  51. package/dist/models/download-document-request-dto.d.ts +2 -2
  52. package/dist/models/get-doc-template-request-dto.d.ts +1 -1
  53. package/dist/models/get-doc-template-response-class.d.ts +1 -1
  54. package/dist/models/get-document-download-url-response-class.d.ts +1 -1
  55. package/dist/models/get-layout-request-dto.d.ts +1 -1
  56. package/dist/models/get-product-document-response-class.d.ts +25 -0
  57. package/dist/models/get-product-document-response-class.js +15 -0
  58. package/dist/models/get-signed-s3-key-url-response-class.d.ts +24 -0
  59. package/dist/models/get-signed-s3-key-url-response-class.js +15 -0
  60. package/dist/models/html-template-class.d.ts +7 -7
  61. package/dist/models/index.d.ts +19 -0
  62. package/dist/models/index.js +19 -0
  63. package/dist/models/layout-class.d.ts +11 -11
  64. package/dist/models/list-doc-template-request-dto.d.ts +48 -0
  65. package/dist/models/list-doc-template-request-dto.js +15 -0
  66. package/dist/models/list-doc-templates-response-class.d.ts +1 -1
  67. package/dist/models/list-documents-response-class.d.ts +1 -1
  68. package/dist/models/list-layouts-response-class.d.ts +1 -1
  69. package/dist/models/list-product-documents-response-class.d.ts +31 -0
  70. package/dist/models/list-product-documents-response-class.js +15 -0
  71. package/dist/models/list-search-keywords-request-dto.d.ts +24 -0
  72. package/dist/models/list-search-keywords-request-dto.js +15 -0
  73. package/dist/models/list-search-keywords-response-class.d.ts +24 -0
  74. package/dist/models/list-search-keywords-response-class.js +15 -0
  75. package/dist/models/list-searchable-document-owners-response-class.d.ts +3 -2
  76. package/dist/models/list-searchable-documents-request-dto.d.ts +2 -2
  77. package/dist/models/list-searchable-documents-response-class.d.ts +5 -4
  78. package/dist/models/product-document-class.d.ts +99 -0
  79. package/dist/models/product-document-class.js +36 -0
  80. package/dist/models/searchable-document-class.d.ts +66 -0
  81. package/dist/models/searchable-document-class.js +15 -0
  82. package/dist/models/searchable-document-owner-class.d.ts +30 -0
  83. package/dist/models/searchable-document-owner-class.js +15 -0
  84. package/dist/models/update-doc-template-request-dto.d.ts +16 -10
  85. package/dist/models/update-doc-template-response-class.d.ts +1 -1
  86. package/dist/models/update-document-request-dto.d.ts +10 -4
  87. package/dist/models/update-document-response-class.d.ts +25 -0
  88. package/dist/models/update-document-response-class.js +15 -0
  89. package/dist/models/update-html-template-dto.d.ts +42 -0
  90. package/dist/models/update-html-template-dto.js +21 -0
  91. package/dist/models/update-layout-request-dto.d.ts +15 -15
  92. package/dist/models/update-layout-response-class.d.ts +1 -1
  93. package/dist/models/upload-product-document-request-dto.d.ts +63 -0
  94. package/dist/models/upload-product-document-request-dto.js +24 -0
  95. package/models/create-doc-template-request-dto.ts +10 -4
  96. package/models/create-doc-template-response-class.ts +31 -0
  97. package/models/create-document-request-dto.ts +22 -9
  98. package/models/create-document-sync-response-class.ts +31 -0
  99. package/models/create-html-template-dto.ts +1 -1
  100. package/models/create-layout-request-dto.ts +10 -10
  101. package/models/create-layout-response-class.ts +31 -0
  102. package/models/create-presigned-post-request-dto.ts +138 -0
  103. package/models/create-presigned-post-response-class.ts +36 -0
  104. package/models/delete-layout-request-dto.ts +1 -1
  105. package/models/delete-product-document-request-dto.ts +36 -0
  106. package/models/delete-request-dto.ts +1 -1
  107. package/models/delete-response-class.ts +30 -0
  108. package/models/doc-template-class.ts +25 -19
  109. package/models/document-class.ts +22 -9
  110. package/models/download-document-request-dto.ts +2 -2
  111. package/models/get-doc-template-request-dto.ts +1 -1
  112. package/models/get-doc-template-response-class.ts +1 -1
  113. package/models/get-document-download-url-response-class.ts +1 -1
  114. package/models/get-layout-request-dto.ts +1 -1
  115. package/models/get-product-document-response-class.ts +31 -0
  116. package/models/get-signed-s3-key-url-response-class.ts +30 -0
  117. package/models/html-template-class.ts +7 -7
  118. package/models/index.ts +19 -0
  119. package/models/layout-class.ts +11 -11
  120. package/models/list-doc-template-request-dto.ts +54 -0
  121. package/models/list-doc-templates-response-class.ts +1 -1
  122. package/models/list-documents-response-class.ts +1 -1
  123. package/models/list-layouts-response-class.ts +1 -1
  124. package/models/list-product-documents-response-class.ts +37 -0
  125. package/models/list-search-keywords-request-dto.ts +30 -0
  126. package/models/list-search-keywords-response-class.ts +30 -0
  127. package/models/list-searchable-document-owners-response-class.ts +3 -2
  128. package/models/list-searchable-documents-request-dto.ts +2 -2
  129. package/models/list-searchable-documents-response-class.ts +5 -4
  130. package/models/product-document-class.ts +108 -0
  131. package/models/searchable-document-class.ts +72 -0
  132. package/models/searchable-document-owner-class.ts +36 -0
  133. package/models/update-doc-template-request-dto.ts +16 -10
  134. package/models/update-doc-template-response-class.ts +1 -1
  135. package/models/update-document-request-dto.ts +10 -4
  136. package/models/update-document-response-class.ts +31 -0
  137. package/models/update-html-template-dto.ts +51 -0
  138. package/models/update-layout-request-dto.ts +15 -15
  139. package/models/update-layout-response-class.ts +1 -1
  140. package/models/upload-product-document-request-dto.ts +72 -0
  141. package/package.json +2 -2
@@ -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
+
@@ -23,64 +23,70 @@ import { LayoutClass } from './layout-class';
23
23
  */
24
24
  export interface DocTemplateClass {
25
25
  /**
26
- * Template id
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': string;
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
- * Template slug
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
- * Layout id
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': HtmlTemplateClass;
60
+ 'bodyTemplate'?: HtmlTemplateClass;
61
61
  /**
62
- * Template Layout
62
+ * Template Layout.
63
63
  * @type {LayoutClass}
64
64
  * @memberof DocTemplateClass
65
65
  */
66
- 'layout': LayoutClass;
66
+ 'layout'?: LayoutClass;
67
67
  /**
68
- * Template created at
69
- * @type {object}
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
+ * @type {string}
70
70
  * @memberof DocTemplateClass
71
71
  */
72
- 'createdAt': object;
72
+ 'productSlug'?: string;
73
73
  /**
74
- * Template updated at
75
- * @type {object}
74
+ * Time at which the object was created.
75
+ * @type {string}
76
76
  * @memberof DocTemplateClass
77
77
  */
78
- 'updatedAt': object;
78
+ 'createdAt': string;
79
79
  /**
80
- * Template updated at
81
- * @type {object}
80
+ * Time at which the object was updated.
81
+ * @type {string}
82
+ * @memberof DocTemplateClass
83
+ */
84
+ 'updatedAt': string;
85
+ /**
86
+ * Time at which the object was deleted.
87
+ * @type {string}
82
88
  * @memberof DocTemplateClass
83
89
  */
84
- 'deletedAt': object;
90
+ 'deletedAt'?: string;
85
91
  }
86
92
 
@@ -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
  */
@@ -49,21 +49,27 @@ export interface DocumentClass {
49
49
  * @type {object}
50
50
  * @memberof DocumentClass
51
51
  */
52
- 'payload': object;
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 referencing the entity on the service the document belongs to.
66
+ * Unique identifier of the lead that this object belongs to.
67
+ * @type {string}
68
+ * @memberof DocumentClass
69
+ */
70
+ 'leadCode'?: string;
71
+ /**
72
+ * Unique identifier referencing the entity.
67
73
  * @type {number}
68
74
  * @memberof DocumentClass
69
75
  */
@@ -75,11 +81,11 @@ export interface DocumentClass {
75
81
  */
76
82
  'requester': DocumentClassRequesterEnum;
77
83
  /**
78
- * 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.
79
85
  * @type {object}
80
86
  * @memberof DocumentClass
81
87
  */
82
- 'metadata': object;
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
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
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}
@@ -131,7 +143,8 @@ export const DocumentClassRequesterEnum = {
131
143
  Notificationservice: 'notificationservice',
132
144
  Paymentservice: 'paymentservice',
133
145
  Processmanager: 'processmanager',
134
- Gdvservice: 'gdvservice'
146
+ Gdvservice: 'gdvservice',
147
+ Documentservice: 'documentservice'
135
148
  } as const;
136
149
 
137
150
  export type DocumentClassRequesterEnum = typeof DocumentClassRequesterEnum[keyof typeof DocumentClassRequesterEnum];
@@ -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
  */
@@ -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 { ProductDocumentClass } from './product-document-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetProductDocumentResponseClass
22
+ */
23
+ export interface GetProductDocumentResponseClass {
24
+ /**
25
+ * Product Document
26
+ * @type {ProductDocumentClass}
27
+ * @memberof GetProductDocumentResponseClass
28
+ */
29
+ 'productDocument': ProductDocumentClass;
30
+ }
31
+
@@ -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
- * Template 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 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
- * Template created at
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
- * Template updated at
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 updated 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,9 +1,16 @@
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';
4
+ export * from './create-document-sync-response-class';
3
5
  export * from './create-html-template-dto';
4
6
  export * from './create-layout-request-dto';
7
+ export * from './create-layout-response-class';
8
+ export * from './create-presigned-post-request-dto';
9
+ export * from './create-presigned-post-response-class';
5
10
  export * from './delete-layout-request-dto';
11
+ export * from './delete-product-document-request-dto';
6
12
  export * from './delete-request-dto';
13
+ export * from './delete-response-class';
7
14
  export * from './doc-template-class';
8
15
  export * from './document-class';
9
16
  export * from './download-document-request-dto';
@@ -12,17 +19,29 @@ export * from './get-doc-template-response-class';
12
19
  export * from './get-document-download-url-response-class';
13
20
  export * from './get-layout-request-dto';
14
21
  export * from './get-layout-response-class';
22
+ export * from './get-product-document-response-class';
23
+ export * from './get-signed-s3-key-url-response-class';
15
24
  export * from './html-template-class';
16
25
  export * from './layout-class';
26
+ export * from './list-doc-template-request-dto';
17
27
  export * from './list-doc-templates-response-class';
18
28
  export * from './list-documents-response-class';
19
29
  export * from './list-layouts-response-class';
30
+ export * from './list-product-documents-response-class';
20
31
  export * from './list-request-dto';
32
+ export * from './list-search-keywords-request-dto';
33
+ export * from './list-search-keywords-response-class';
21
34
  export * from './list-searchable-document-owners-response-class';
22
35
  export * from './list-searchable-documents-request-dto';
23
36
  export * from './list-searchable-documents-response-class';
37
+ export * from './product-document-class';
38
+ export * from './searchable-document-class';
39
+ export * from './searchable-document-owner-class';
24
40
  export * from './update-doc-template-request-dto';
25
41
  export * from './update-doc-template-response-class';
26
42
  export * from './update-document-request-dto';
43
+ export * from './update-document-response-class';
44
+ export * from './update-html-template-dto';
27
45
  export * from './update-layout-request-dto';
28
46
  export * from './update-layout-response-class';
47
+ export * from './upload-product-document-request-dto';
@@ -22,64 +22,64 @@ import { HtmlTemplateClass } from './html-template-class';
22
22
  */
23
23
  export interface LayoutClass {
24
24
  /**
25
- * Layout id
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
- * Layout slug
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
- * Layout created at
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
- * Layout updated at
73
+ * Time at which the object was updated.
74
74
  * @type {string}
75
75
  * @memberof 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
  */
83
- 'deletedAt': string;
83
+ 'deletedAt'?: string;
84
84
  }
85
85
 
@@ -0,0 +1,54 @@
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 ListDocTemplateRequestDto
21
+ */
22
+ export interface ListDocTemplateRequestDto {
23
+ /**
24
+ *
25
+ * @type {number}
26
+ * @memberof ListDocTemplateRequestDto
27
+ */
28
+ 'pageSize'?: number;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof ListDocTemplateRequestDto
33
+ */
34
+ 'pageToken'?: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof ListDocTemplateRequestDto
39
+ */
40
+ 'filter'?: string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof ListDocTemplateRequestDto
45
+ */
46
+ 'order'?: string;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof ListDocTemplateRequestDto
51
+ */
52
+ 'expand'?: string;
53
+ }
54
+
@@ -28,7 +28,7 @@ export interface ListDocTemplatesResponseClass {
28
28
  */
29
29
  'templates': Array<DocTemplateClass>;
30
30
  /**
31
- * Next page token
31
+ * Next page token.
32
32
  * @type {string}
33
33
  * @memberof ListDocTemplatesResponseClass
34
34
  */
@@ -28,7 +28,7 @@ export interface ListDocumentsResponseClass {
28
28
  */
29
29
  'items': Array<DocumentClass>;
30
30
  /**
31
- * Next page token
31
+ * Next page token.
32
32
  * @type {string}
33
33
  * @memberof ListDocumentsResponseClass
34
34
  */
@@ -28,7 +28,7 @@ export interface ListLayoutsResponseClass {
28
28
  */
29
29
  'layouts': Array<LayoutClass>;
30
30
  /**
31
- * Next page token
31
+ * Next page token.
32
32
  * @type {string}
33
33
  * @memberof ListLayoutsResponseClass
34
34
  */
@@ -0,0 +1,37 @@
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 { ProductDocumentClass } from './product-document-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListProductDocumentsResponseClass
22
+ */
23
+ export interface ListProductDocumentsResponseClass {
24
+ /**
25
+ * The list of documents.
26
+ * @type {Array<ProductDocumentClass>}
27
+ * @memberof ListProductDocumentsResponseClass
28
+ */
29
+ 'items': Array<ProductDocumentClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListProductDocumentsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -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
+