@emilgroup/document-sdk 1.1.0 → 1.5.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 (195) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/README.md +5 -22
  3. package/api/document-templates-api.ts +29 -19
  4. package/api/documents-api.ts +1 -5
  5. package/api/layouts-api.ts +1 -5
  6. package/api/product-documents-api.ts +113 -5
  7. package/api/search-keywords-api.ts +1 -5
  8. package/api/searchable-document-owners-api.ts +1 -5
  9. package/api/searchable-documents-api.ts +21 -11
  10. package/api.ts +1 -5
  11. package/base.ts +60 -94
  12. package/common.ts +2 -3
  13. package/configuration.ts +1 -9
  14. package/dist/api/document-templates-api.d.ts +21 -12
  15. package/dist/api/document-templates-api.js +24 -22
  16. package/dist/api/documents-api.d.ts +1 -1
  17. package/dist/api/documents-api.js +8 -12
  18. package/dist/api/layouts-api.d.ts +1 -1
  19. package/dist/api/layouts-api.js +6 -10
  20. package/dist/api/product-documents-api.d.ts +62 -1
  21. package/dist/api/product-documents-api.js +99 -9
  22. package/dist/api/search-keywords-api.d.ts +1 -1
  23. package/dist/api/search-keywords-api.js +2 -6
  24. package/dist/api/searchable-document-owners-api.d.ts +1 -1
  25. package/dist/api/searchable-document-owners-api.js +2 -6
  26. package/dist/api/searchable-documents-api.d.ts +13 -4
  27. package/dist/api/searchable-documents-api.js +14 -12
  28. package/dist/api.d.ts +1 -1
  29. package/dist/api.js +1 -1
  30. package/dist/base.d.ts +6 -10
  31. package/dist/base.js +41 -137
  32. package/dist/common.d.ts +2 -3
  33. package/dist/common.js +2 -3
  34. package/dist/configuration.d.ts +1 -8
  35. package/dist/configuration.js +1 -1
  36. package/dist/index.d.ts +1 -1
  37. package/dist/index.js +1 -1
  38. package/dist/models/create-doc-template-request-dto.d.ts +7 -1
  39. package/dist/models/create-doc-template-request-dto.js +1 -1
  40. package/dist/models/create-doc-template-response-class.d.ts +1 -1
  41. package/dist/models/create-doc-template-response-class.js +1 -1
  42. package/dist/models/create-document-request-dto.d.ts +1 -1
  43. package/dist/models/create-document-request-dto.js +1 -1
  44. package/dist/models/create-document-sync-response-class.d.ts +1 -1
  45. package/dist/models/create-document-sync-response-class.js +1 -1
  46. package/dist/models/create-html-template-dto.d.ts +1 -1
  47. package/dist/models/create-html-template-dto.js +1 -1
  48. package/dist/models/create-layout-request-dto.d.ts +1 -1
  49. package/dist/models/create-layout-request-dto.js +1 -1
  50. package/dist/models/create-layout-response-class.d.ts +1 -1
  51. package/dist/models/create-layout-response-class.js +1 -1
  52. package/dist/models/create-presigned-post-request-dto.d.ts +1 -1
  53. package/dist/models/create-presigned-post-request-dto.js +1 -1
  54. package/dist/models/create-presigned-post-response-class.d.ts +1 -1
  55. package/dist/models/create-presigned-post-response-class.js +1 -1
  56. package/dist/models/delete-layout-request-dto.d.ts +1 -1
  57. package/dist/models/delete-layout-request-dto.js +1 -1
  58. package/dist/models/delete-product-document-request-dto.d.ts +1 -1
  59. package/dist/models/delete-product-document-request-dto.js +1 -1
  60. package/dist/models/delete-request-dto.d.ts +1 -1
  61. package/dist/models/delete-request-dto.js +1 -1
  62. package/dist/models/delete-response-class.d.ts +1 -1
  63. package/dist/models/delete-response-class.js +1 -1
  64. package/dist/models/doc-template-class.d.ts +7 -1
  65. package/dist/models/doc-template-class.js +1 -1
  66. package/dist/models/document-class.d.ts +1 -1
  67. package/dist/models/document-class.js +1 -1
  68. package/dist/models/download-document-request-dto.d.ts +1 -1
  69. package/dist/models/download-document-request-dto.js +1 -1
  70. package/dist/models/get-doc-template-request-dto.d.ts +1 -1
  71. package/dist/models/get-doc-template-request-dto.js +1 -1
  72. package/dist/models/get-doc-template-response-class.d.ts +1 -1
  73. package/dist/models/get-doc-template-response-class.js +1 -1
  74. package/dist/models/get-document-download-url-response-class.d.ts +1 -1
  75. package/dist/models/get-document-download-url-response-class.js +1 -1
  76. package/dist/models/get-layout-request-dto.d.ts +1 -1
  77. package/dist/models/get-layout-request-dto.js +1 -1
  78. package/dist/models/get-layout-response-class.d.ts +1 -1
  79. package/dist/models/get-layout-response-class.js +1 -1
  80. package/dist/models/get-product-document-download-url-response-class.d.ts +24 -0
  81. package/dist/models/get-product-document-download-url-response-class.js +15 -0
  82. package/dist/models/get-product-document-response-class.d.ts +1 -1
  83. package/dist/models/get-product-document-response-class.js +1 -1
  84. package/dist/models/get-signed-s3-key-url-response-class.d.ts +1 -1
  85. package/dist/models/get-signed-s3-key-url-response-class.js +1 -1
  86. package/dist/models/grpc-create-doc-template-request-dto.d.ts +55 -0
  87. package/dist/models/grpc-create-doc-template-request-dto.js +15 -0
  88. package/dist/models/grpc-update-doc-template-request-dto.d.ts +61 -0
  89. package/dist/models/grpc-update-doc-template-request-dto.js +15 -0
  90. package/dist/models/html-template-class.d.ts +1 -1
  91. package/dist/models/html-template-class.js +1 -1
  92. package/dist/models/index.d.ts +4 -0
  93. package/dist/models/index.js +4 -0
  94. package/dist/models/layout-class.d.ts +1 -1
  95. package/dist/models/layout-class.js +1 -1
  96. package/dist/models/list-doc-template-request-dto.d.ts +7 -1
  97. package/dist/models/list-doc-template-request-dto.js +1 -1
  98. package/dist/models/list-doc-templates-response-class.d.ts +1 -1
  99. package/dist/models/list-doc-templates-response-class.js +1 -1
  100. package/dist/models/list-documents-response-class.d.ts +1 -1
  101. package/dist/models/list-documents-response-class.js +1 -1
  102. package/dist/models/list-layouts-response-class.d.ts +1 -1
  103. package/dist/models/list-layouts-response-class.js +1 -1
  104. package/dist/models/list-product-documents-response-class.d.ts +1 -1
  105. package/dist/models/list-product-documents-response-class.js +1 -1
  106. package/dist/models/list-request-dto.d.ts +1 -1
  107. package/dist/models/list-request-dto.js +1 -1
  108. package/dist/models/list-search-keywords-request-dto.d.ts +1 -1
  109. package/dist/models/list-search-keywords-request-dto.js +1 -1
  110. package/dist/models/list-search-keywords-response-class.d.ts +1 -1
  111. package/dist/models/list-search-keywords-response-class.js +1 -1
  112. package/dist/models/list-searchable-document-owners-request-dto.d.ts +31 -0
  113. package/dist/models/list-searchable-document-owners-request-dto.js +22 -0
  114. package/dist/models/list-searchable-document-owners-response-class.d.ts +1 -1
  115. package/dist/models/list-searchable-document-owners-response-class.js +1 -1
  116. package/dist/models/list-searchable-documents-request-dto.d.ts +14 -1
  117. package/dist/models/list-searchable-documents-request-dto.js +8 -1
  118. package/dist/models/list-searchable-documents-response-class.d.ts +1 -1
  119. package/dist/models/list-searchable-documents-response-class.js +1 -1
  120. package/dist/models/product-document-class.d.ts +18 -1
  121. package/dist/models/product-document-class.js +12 -2
  122. package/dist/models/searchable-document-class.d.ts +1 -1
  123. package/dist/models/searchable-document-class.js +1 -1
  124. package/dist/models/searchable-document-owner-class.d.ts +1 -1
  125. package/dist/models/searchable-document-owner-class.js +1 -1
  126. package/dist/models/update-doc-template-request-dto.d.ts +7 -1
  127. package/dist/models/update-doc-template-request-dto.js +1 -1
  128. package/dist/models/update-doc-template-response-class.d.ts +1 -1
  129. package/dist/models/update-doc-template-response-class.js +1 -1
  130. package/dist/models/update-document-request-dto.d.ts +1 -1
  131. package/dist/models/update-document-request-dto.js +1 -1
  132. package/dist/models/update-document-response-class.d.ts +1 -1
  133. package/dist/models/update-document-response-class.js +1 -1
  134. package/dist/models/update-html-template-dto.d.ts +1 -1
  135. package/dist/models/update-html-template-dto.js +1 -1
  136. package/dist/models/update-layout-request-dto.d.ts +1 -1
  137. package/dist/models/update-layout-request-dto.js +1 -1
  138. package/dist/models/update-layout-response-class.d.ts +1 -1
  139. package/dist/models/update-layout-response-class.js +1 -1
  140. package/dist/models/upload-product-document-request-dto.d.ts +7 -1
  141. package/dist/models/upload-product-document-request-dto.js +1 -1
  142. package/index.ts +1 -1
  143. package/models/create-doc-template-request-dto.ts +7 -1
  144. package/models/create-doc-template-response-class.ts +1 -1
  145. package/models/create-document-request-dto.ts +1 -1
  146. package/models/create-document-sync-response-class.ts +1 -1
  147. package/models/create-html-template-dto.ts +1 -1
  148. package/models/create-layout-request-dto.ts +1 -1
  149. package/models/create-layout-response-class.ts +1 -1
  150. package/models/create-presigned-post-request-dto.ts +1 -1
  151. package/models/create-presigned-post-response-class.ts +1 -1
  152. package/models/delete-layout-request-dto.ts +1 -1
  153. package/models/delete-product-document-request-dto.ts +1 -1
  154. package/models/delete-request-dto.ts +1 -1
  155. package/models/delete-response-class.ts +1 -1
  156. package/models/doc-template-class.ts +7 -1
  157. package/models/document-class.ts +1 -1
  158. package/models/download-document-request-dto.ts +1 -1
  159. package/models/get-doc-template-request-dto.ts +1 -1
  160. package/models/get-doc-template-response-class.ts +1 -1
  161. package/models/get-document-download-url-response-class.ts +1 -1
  162. package/models/get-layout-request-dto.ts +1 -1
  163. package/models/get-layout-response-class.ts +1 -1
  164. package/models/get-product-document-download-url-response-class.ts +30 -0
  165. package/models/get-product-document-response-class.ts +1 -1
  166. package/models/get-signed-s3-key-url-response-class.ts +1 -1
  167. package/models/grpc-create-doc-template-request-dto.ts +61 -0
  168. package/models/grpc-update-doc-template-request-dto.ts +67 -0
  169. package/models/html-template-class.ts +1 -1
  170. package/models/index.ts +4 -0
  171. package/models/layout-class.ts +1 -1
  172. package/models/list-doc-template-request-dto.ts +7 -1
  173. package/models/list-doc-templates-response-class.ts +1 -1
  174. package/models/list-documents-response-class.ts +1 -1
  175. package/models/list-layouts-response-class.ts +1 -1
  176. package/models/list-product-documents-response-class.ts +1 -1
  177. package/models/list-request-dto.ts +1 -1
  178. package/models/list-search-keywords-request-dto.ts +1 -1
  179. package/models/list-search-keywords-response-class.ts +1 -1
  180. package/models/list-searchable-document-owners-request-dto.ts +40 -0
  181. package/models/list-searchable-document-owners-response-class.ts +1 -1
  182. package/models/list-searchable-documents-request-dto.ts +17 -1
  183. package/models/list-searchable-documents-response-class.ts +1 -1
  184. package/models/product-document-class.ts +19 -1
  185. package/models/searchable-document-class.ts +1 -1
  186. package/models/searchable-document-owner-class.ts +1 -1
  187. package/models/update-doc-template-request-dto.ts +7 -1
  188. package/models/update-doc-template-response-class.ts +1 -1
  189. package/models/update-document-request-dto.ts +1 -1
  190. package/models/update-document-response-class.ts +1 -1
  191. package/models/update-html-template-dto.ts +1 -1
  192. package/models/update-layout-request-dto.ts +1 -1
  193. package/models/update-layout-response-class.ts +1 -1
  194. package/models/upload-product-document-request-dto.ts +7 -1
  195. package/package.json +2 -5
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -33,6 +33,12 @@ export interface ListDocTemplateRequestDto {
33
33
  * @memberof ListDocTemplateRequestDto
34
34
  */
35
35
  'filter'?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ListDocTemplateRequestDto
40
+ */
41
+ 'search'?: string;
36
42
  /**
37
43
  *
38
44
  * @type {string}
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -0,0 +1,31 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
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 ListSearchableDocumentOwnersRequestDto
16
+ */
17
+ export interface ListSearchableDocumentOwnersRequestDto {
18
+ /**
19
+ * PBM product the documents belongs to.
20
+ * @type {string}
21
+ * @memberof ListSearchableDocumentOwnersRequestDto
22
+ */
23
+ 'product'?: ListSearchableDocumentOwnersRequestDtoProductEnum;
24
+ }
25
+ export declare const ListSearchableDocumentOwnersRequestDtoProductEnum: {
26
+ readonly Car: "car";
27
+ readonly Homeowner: "homeowner";
28
+ readonly Household: "household";
29
+ readonly PrivateLiability: "privateLiability";
30
+ };
31
+ export type ListSearchableDocumentOwnersRequestDtoProductEnum = typeof ListSearchableDocumentOwnersRequestDtoProductEnum[keyof typeof ListSearchableDocumentOwnersRequestDtoProductEnum];
@@ -0,0 +1,22 @@
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
+ * Contact: kontakt@emil.de
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
+ exports.ListSearchableDocumentOwnersRequestDtoProductEnum = void 0;
17
+ exports.ListSearchableDocumentOwnersRequestDtoProductEnum = {
18
+ Car: 'car',
19
+ Homeowner: 'homeowner',
20
+ Household: 'household',
21
+ PrivateLiability: 'privateLiability'
22
+ };
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -27,4 +27,17 @@ export interface ListSearchableDocumentsRequestDto {
27
27
  * @memberof ListSearchableDocumentsRequestDto
28
28
  */
29
29
  'ownerIds': string;
30
+ /**
31
+ * PBM product the documents belongs to.
32
+ * @type {string}
33
+ * @memberof ListSearchableDocumentsRequestDto
34
+ */
35
+ 'product'?: ListSearchableDocumentsRequestDtoProductEnum;
30
36
  }
37
+ export declare const ListSearchableDocumentsRequestDtoProductEnum: {
38
+ readonly Car: "car";
39
+ readonly Homeowner: "homeowner";
40
+ readonly Household: "household";
41
+ readonly PrivateLiability: "privateLiability";
42
+ };
43
+ export type ListSearchableDocumentsRequestDtoProductEnum = typeof ListSearchableDocumentsRequestDtoProductEnum[keyof typeof ListSearchableDocumentsRequestDtoProductEnum];
@@ -6,10 +6,17 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ListSearchableDocumentsRequestDtoProductEnum = void 0;
17
+ exports.ListSearchableDocumentsRequestDtoProductEnum = {
18
+ Car: 'car',
19
+ Homeowner: 'homeowner',
20
+ Household: 'household',
21
+ PrivateLiability: 'privateLiability'
22
+ };
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -63,6 +63,12 @@ export interface ProductDocumentClass {
63
63
  * @memberof ProductDocumentClass
64
64
  */
65
65
  'contentType': ProductDocumentClassContentTypeEnum;
66
+ /**
67
+ * Product Document entity type.
68
+ * @type {string}
69
+ * @memberof ProductDocumentClass
70
+ */
71
+ 'entityType': ProductDocumentClassEntityTypeEnum;
66
72
  /**
67
73
  * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
68
74
  * @type {string}
@@ -97,3 +103,14 @@ export declare const ProductDocumentClassContentTypeEnum: {
97
103
  readonly Avi: "AVI";
98
104
  };
99
105
  export type ProductDocumentClassContentTypeEnum = typeof ProductDocumentClassContentTypeEnum[keyof typeof ProductDocumentClassContentTypeEnum];
106
+ export declare const ProductDocumentClassEntityTypeEnum: {
107
+ readonly PolicyApplication: "policy_application";
108
+ readonly PolicyContract: "policy_contract";
109
+ readonly PolicyAddendum: "policy_addendum";
110
+ readonly InitialInvoice: "initial_invoice";
111
+ readonly CorrectionInvoice: "correction_invoice";
112
+ readonly RecurringInvoice: "recurring_invoice";
113
+ readonly SepaMandate: "sepa_mandate";
114
+ readonly Static: "static";
115
+ };
116
+ export type ProductDocumentClassEntityTypeEnum = typeof ProductDocumentClassEntityTypeEnum[keyof typeof ProductDocumentClassEntityTypeEnum];
@@ -6,14 +6,14 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ProductDocumentClassContentTypeEnum = void 0;
16
+ exports.ProductDocumentClassEntityTypeEnum = exports.ProductDocumentClassContentTypeEnum = void 0;
17
17
  exports.ProductDocumentClassContentTypeEnum = {
18
18
  Pdf: 'pdf',
19
19
  Jpg: 'jpg',
@@ -34,3 +34,13 @@ exports.ProductDocumentClassContentTypeEnum = {
34
34
  Wmv: 'WMV',
35
35
  Avi: 'AVI'
36
36
  };
37
+ exports.ProductDocumentClassEntityTypeEnum = {
38
+ PolicyApplication: 'policy_application',
39
+ PolicyContract: 'policy_contract',
40
+ PolicyAddendum: 'policy_addendum',
41
+ InitialInvoice: 'initial_invoice',
42
+ CorrectionInvoice: 'correction_invoice',
43
+ RecurringInvoice: 'recurring_invoice',
44
+ SepaMandate: 'sepa_mandate',
45
+ Static: 'static'
46
+ };
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -46,6 +46,12 @@ export interface UpdateDocTemplateRequestDto {
46
46
  * @memberof UpdateDocTemplateRequestDto
47
47
  */
48
48
  'productSlug'?: string;
49
+ /**
50
+ * The filename of the document template as it appears when sent to customers.
51
+ * @type {string}
52
+ * @memberof UpdateDocTemplateRequestDto
53
+ */
54
+ 'label'?: string;
49
55
  /**
50
56
  * Internal unique identifier for the object. You should not have to use this, use code instead.
51
57
  * @type {number}
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -45,6 +45,12 @@ export interface UploadProductDocumentRequestDto {
45
45
  * @memberof UploadProductDocumentRequestDto
46
46
  */
47
47
  'type': string;
48
+ /**
49
+ * Entity type of the product document.
50
+ * @type {string}
51
+ * @memberof UploadProductDocumentRequestDto
52
+ */
53
+ 'entityType': string;
48
54
  /**
49
55
  * Id of the product version, and is optional. If not provided, the document will be attached to the latest version of the product.
50
56
  * @type {number}
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
package/index.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * The EMIL DocumentService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech