@emilgroup/document-sdk 1.12.2 → 1.12.3

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 (165) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/README.md +2 -2
  3. package/api/docx-templates-api.ts +4 -4
  4. package/api/product-documents-api.ts +12 -210
  5. package/dist/api/default-api.d.ts +66 -0
  6. package/dist/api/default-api.js +196 -0
  7. package/dist/api/document-templates-api.d.ts +385 -0
  8. package/dist/api/document-templates-api.js +636 -0
  9. package/dist/api/documents-api.d.ts +488 -0
  10. package/dist/api/documents-api.js +817 -0
  11. package/dist/api/docx-templates-api.d.ts +432 -0
  12. package/dist/api/docx-templates-api.js +722 -0
  13. package/dist/api/layouts-api.d.ts +385 -0
  14. package/dist/api/layouts-api.js +638 -0
  15. package/dist/api/product-documents-api.d.ts +401 -0
  16. package/dist/api/product-documents-api.js +647 -0
  17. package/dist/api/search-keywords-api.d.ts +96 -0
  18. package/dist/api/search-keywords-api.js +225 -0
  19. package/dist/api/searchable-document-owners-api.d.ts +141 -0
  20. package/dist/api/searchable-document-owners-api.js +254 -0
  21. package/dist/api/searchable-documents-api.d.ts +114 -0
  22. package/dist/api/searchable-documents-api.js +239 -0
  23. package/dist/api.d.ts +20 -0
  24. package/dist/api.js +38 -0
  25. package/dist/base.d.ts +74 -0
  26. package/dist/base.js +298 -0
  27. package/dist/common.d.ts +91 -0
  28. package/dist/common.js +276 -0
  29. package/dist/configuration.d.ts +83 -0
  30. package/dist/configuration.js +44 -0
  31. package/dist/index.d.ts +15 -0
  32. package/dist/index.js +36 -0
  33. package/dist/models/create-doc-template-request-dto.d.ts +55 -0
  34. package/dist/models/create-doc-template-request-dto.js +15 -0
  35. package/dist/models/create-doc-template-response-class.d.ts +25 -0
  36. package/dist/models/create-doc-template-response-class.js +15 -0
  37. package/dist/models/create-document-request-dto.d.ts +173 -0
  38. package/dist/models/create-document-request-dto.js +70 -0
  39. package/dist/models/create-document-sync-response-class.d.ts +25 -0
  40. package/dist/models/create-document-sync-response-class.js +15 -0
  41. package/dist/models/create-html-template-dto.d.ts +24 -0
  42. package/dist/models/create-html-template-dto.js +15 -0
  43. package/dist/models/create-layout-request-dto.d.ts +49 -0
  44. package/dist/models/create-layout-request-dto.js +15 -0
  45. package/dist/models/create-layout-response-class.d.ts +25 -0
  46. package/dist/models/create-layout-response-class.js +15 -0
  47. package/dist/models/create-presigned-post-request-dto.d.ts +134 -0
  48. package/dist/models/create-presigned-post-request-dto.js +52 -0
  49. package/dist/models/create-presigned-post-response-class.d.ts +30 -0
  50. package/dist/models/create-presigned-post-response-class.js +15 -0
  51. package/dist/models/delete-layout-request-dto.d.ts +24 -0
  52. package/dist/models/delete-layout-request-dto.js +15 -0
  53. package/dist/models/delete-product-document-request-dto.d.ts +30 -0
  54. package/dist/models/delete-product-document-request-dto.js +15 -0
  55. package/dist/models/delete-request-dto.d.ts +24 -0
  56. package/dist/models/delete-request-dto.js +15 -0
  57. package/dist/models/delete-response-class.d.ts +24 -0
  58. package/dist/models/delete-response-class.js +15 -0
  59. package/dist/models/doc-template-class.d.ts +92 -0
  60. package/dist/models/doc-template-class.js +15 -0
  61. package/dist/models/document-class.d.ts +169 -0
  62. package/dist/models/document-class.js +62 -0
  63. package/dist/models/docx-template-class.d.ts +101 -0
  64. package/dist/models/docx-template-class.js +26 -0
  65. package/dist/models/download-document-request-dto.d.ts +30 -0
  66. package/dist/models/download-document-request-dto.js +15 -0
  67. package/dist/models/get-doc-template-request-dto.d.ts +30 -0
  68. package/dist/models/get-doc-template-request-dto.js +15 -0
  69. package/dist/models/get-doc-template-response-class.d.ts +25 -0
  70. package/dist/models/get-doc-template-response-class.js +15 -0
  71. package/dist/models/get-document-download-url-response-class.d.ts +24 -0
  72. package/dist/models/get-document-download-url-response-class.js +15 -0
  73. package/dist/models/get-docx-template-download-url-response-class.d.ts +24 -0
  74. package/dist/models/get-docx-template-download-url-response-class.js +15 -0
  75. package/dist/models/get-docx-template-response-class.d.ts +25 -0
  76. package/dist/models/get-docx-template-response-class.js +15 -0
  77. package/dist/models/get-layout-request-dto.d.ts +24 -0
  78. package/dist/models/get-layout-request-dto.js +15 -0
  79. package/dist/models/get-layout-response-class.d.ts +25 -0
  80. package/dist/models/get-layout-response-class.js +15 -0
  81. package/dist/models/get-product-document-download-url-response-class.d.ts +24 -0
  82. package/dist/models/get-product-document-download-url-response-class.js +15 -0
  83. package/dist/models/get-product-document-response-class.d.ts +25 -0
  84. package/dist/models/get-product-document-response-class.js +15 -0
  85. package/dist/models/get-signed-s3-key-url-response-class.d.ts +24 -0
  86. package/dist/models/get-signed-s3-key-url-response-class.js +15 -0
  87. package/dist/models/grpc-create-doc-template-request-dto.d.ts +55 -0
  88. package/dist/models/grpc-create-doc-template-request-dto.js +15 -0
  89. package/dist/models/grpc-update-doc-template-request-dto.d.ts +61 -0
  90. package/dist/models/grpc-update-doc-template-request-dto.js +15 -0
  91. package/dist/models/html-template-class.d.ts +66 -0
  92. package/dist/models/html-template-class.js +21 -0
  93. package/dist/models/index.d.ts +61 -0
  94. package/dist/models/index.js +77 -0
  95. package/dist/models/inline-response200.d.ts +54 -0
  96. package/dist/models/inline-response200.js +15 -0
  97. package/dist/models/inline-response503.d.ts +54 -0
  98. package/dist/models/inline-response503.js +15 -0
  99. package/dist/models/layout-class.d.ts +79 -0
  100. package/dist/models/layout-class.js +15 -0
  101. package/dist/models/list-doc-template-request-dto.d.ts +54 -0
  102. package/dist/models/list-doc-template-request-dto.js +15 -0
  103. package/dist/models/list-doc-templates-response-class.d.ts +31 -0
  104. package/dist/models/list-doc-templates-response-class.js +15 -0
  105. package/dist/models/list-documents-response-class.d.ts +31 -0
  106. package/dist/models/list-documents-response-class.js +15 -0
  107. package/dist/models/list-docx-templates-response-class.d.ts +31 -0
  108. package/dist/models/list-docx-templates-response-class.js +15 -0
  109. package/dist/models/list-layouts-response-class.d.ts +31 -0
  110. package/dist/models/list-layouts-response-class.js +15 -0
  111. package/dist/models/list-product-documents-response-class.d.ts +31 -0
  112. package/dist/models/list-product-documents-response-class.js +15 -0
  113. package/dist/models/list-request-dto.d.ts +54 -0
  114. package/dist/models/list-request-dto.js +15 -0
  115. package/dist/models/list-search-keywords-request-dto.d.ts +24 -0
  116. package/dist/models/list-search-keywords-request-dto.js +15 -0
  117. package/dist/models/list-search-keywords-response-class.d.ts +24 -0
  118. package/dist/models/list-search-keywords-response-class.js +15 -0
  119. package/dist/models/list-searchable-document-owners-request-dto.d.ts +31 -0
  120. package/dist/models/list-searchable-document-owners-request-dto.js +22 -0
  121. package/dist/models/list-searchable-document-owners-response-class.d.ts +25 -0
  122. package/dist/models/list-searchable-document-owners-response-class.js +15 -0
  123. package/dist/models/list-searchable-documents-request-dto.d.ts +43 -0
  124. package/dist/models/list-searchable-documents-request-dto.js +22 -0
  125. package/dist/models/list-searchable-documents-response-class.d.ts +31 -0
  126. package/dist/models/list-searchable-documents-response-class.js +15 -0
  127. package/dist/models/product-document-class.d.ts +134 -0
  128. package/dist/models/product-document-class.js +46 -0
  129. package/dist/models/searchable-document-class.d.ts +66 -0
  130. package/dist/models/searchable-document-class.js +15 -0
  131. package/dist/models/searchable-document-owner-class.d.ts +30 -0
  132. package/dist/models/searchable-document-owner-class.js +15 -0
  133. package/dist/models/shared-update-docx-template-request-dto.d.ts +36 -0
  134. package/dist/models/shared-update-docx-template-request-dto.js +15 -0
  135. package/dist/models/update-doc-template-request-dto.d.ts +61 -0
  136. package/dist/models/update-doc-template-request-dto.js +15 -0
  137. package/dist/models/update-doc-template-response-class.d.ts +25 -0
  138. package/dist/models/update-doc-template-response-class.js +15 -0
  139. package/dist/models/update-document-request-dto.d.ts +54 -0
  140. package/dist/models/update-document-request-dto.js +15 -0
  141. package/dist/models/update-document-response-class.d.ts +25 -0
  142. package/dist/models/update-document-response-class.js +15 -0
  143. package/dist/models/update-docx-template-response-class.d.ts +25 -0
  144. package/dist/models/update-docx-template-response-class.js +15 -0
  145. package/dist/models/update-html-template-dto.d.ts +42 -0
  146. package/dist/models/update-html-template-dto.js +21 -0
  147. package/dist/models/update-layout-request-dto.d.ts +55 -0
  148. package/dist/models/update-layout-request-dto.js +15 -0
  149. package/dist/models/update-layout-response-class.d.ts +25 -0
  150. package/dist/models/update-layout-response-class.js +15 -0
  151. package/dist/models/upload-docx-template-request-dto.d.ts +54 -0
  152. package/dist/models/upload-docx-template-request-dto.js +15 -0
  153. package/dist/models/upload-docx-template-response-class.d.ts +30 -0
  154. package/dist/models/upload-docx-template-response-class.js +15 -0
  155. package/dist/models/upload-product-document-request-dto.d.ts +75 -0
  156. package/dist/models/upload-product-document-request-dto.js +24 -0
  157. package/models/create-document-request-dto.ts +13 -1
  158. package/models/document-class.ts +13 -1
  159. package/models/docx-template-class.ts +15 -1
  160. package/models/index.ts +1 -0
  161. package/models/inline-response200.ts +6 -6
  162. package/models/inline-response503.ts +6 -6
  163. package/models/product-document-class.ts +27 -9
  164. package/models/upload-docx-template-response-class.ts +36 -0
  165. package/package.json +1 -1
@@ -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
+ * 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 });
@@ -0,0 +1,54 @@
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 ListRequestDto
16
+ */
17
+ export interface ListRequestDto {
18
+ /**
19
+ * Page size
20
+ * @type {number}
21
+ * @memberof ListRequestDto
22
+ */
23
+ 'pageSize'?: number;
24
+ /**
25
+ * Page token
26
+ * @type {string}
27
+ * @memberof ListRequestDto
28
+ */
29
+ 'pageToken'?: string;
30
+ /**
31
+ * List filter
32
+ * @type {string}
33
+ * @memberof ListRequestDto
34
+ */
35
+ 'filter'?: string;
36
+ /**
37
+ * Search query
38
+ * @type {string}
39
+ * @memberof ListRequestDto
40
+ */
41
+ 'search'?: string;
42
+ /**
43
+ * Ordering criteria
44
+ * @type {string}
45
+ * @memberof ListRequestDto
46
+ */
47
+ 'order'?: string;
48
+ /**
49
+ * Extra fields to fetch
50
+ * @type {string}
51
+ * @memberof ListRequestDto
52
+ */
53
+ 'expand'?: string;
54
+ }
@@ -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
+ * 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 });
@@ -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
+ * 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 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
+ }
@@ -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
+ * 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 });
@@ -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
+ * 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 ListSearchKeywordsResponseClass
16
+ */
17
+ export interface ListSearchKeywordsResponseClass {
18
+ /**
19
+ * Keywords used for search and to be highlighted in the document preview.
20
+ * @type {Array<string>}
21
+ * @memberof ListSearchKeywordsResponseClass
22
+ */
23
+ 'keywords': Array<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
+ * 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 });
@@ -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
+ };
@@ -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
+ * 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
+ import { SearchableDocumentOwnerClass } from './searchable-document-owner-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListSearchableDocumentOwnersResponseClass
17
+ */
18
+ export interface ListSearchableDocumentOwnersResponseClass {
19
+ /**
20
+ * Searchable document owners
21
+ * @type {Array<SearchableDocumentOwnerClass>}
22
+ * @memberof ListSearchableDocumentOwnersResponseClass
23
+ */
24
+ 'owners': Array<SearchableDocumentOwnerClass>;
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
+ * 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 });
@@ -0,0 +1,43 @@
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 ListSearchableDocumentsRequestDto
16
+ */
17
+ export interface ListSearchableDocumentsRequestDto {
18
+ /**
19
+ * Text to search in the documents.
20
+ * @type {string}
21
+ * @memberof ListSearchableDocumentsRequestDto
22
+ */
23
+ 'searchText': string;
24
+ /**
25
+ * List of searched document owner IDs separated with | (search in all documents if an \'*\' list provided).
26
+ * @type {string}
27
+ * @memberof ListSearchableDocumentsRequestDto
28
+ */
29
+ 'ownerIds': string;
30
+ /**
31
+ * PBM product the documents belongs to.
32
+ * @type {string}
33
+ * @memberof ListSearchableDocumentsRequestDto
34
+ */
35
+ 'product'?: ListSearchableDocumentsRequestDtoProductEnum;
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];
@@ -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.ListSearchableDocumentsRequestDtoProductEnum = void 0;
17
+ exports.ListSearchableDocumentsRequestDtoProductEnum = {
18
+ Car: 'car',
19
+ Homeowner: 'homeowner',
20
+ Household: 'household',
21
+ PrivateLiability: 'privateLiability'
22
+ };
@@ -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
+ import { SearchableDocumentClass } from './searchable-document-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListSearchableDocumentsResponseClass
17
+ */
18
+ export interface ListSearchableDocumentsResponseClass {
19
+ /**
20
+ * Searchable documents that match the search criteria.
21
+ * @type {Array<SearchableDocumentClass>}
22
+ * @memberof ListSearchableDocumentsResponseClass
23
+ */
24
+ 'documents': Array<SearchableDocumentClass>;
25
+ /**
26
+ * Keywords used for search and to be highlighted in the document preview.
27
+ * @type {Array<string>}
28
+ * @memberof ListSearchableDocumentsResponseClass
29
+ */
30
+ 'keywords': Array<string>;
31
+ }
@@ -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
+ * 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 });
@@ -0,0 +1,134 @@
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 ProductDocumentClass
16
+ */
17
+ export interface ProductDocumentClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof ProductDocumentClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof ProductDocumentClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Unique identifier of the product that this object belongs to.
32
+ * @type {string}
33
+ * @memberof ProductDocumentClass
34
+ */
35
+ 'productCode': string;
36
+ /**
37
+ * Unique identifier referencing the product.
38
+ * @type {number}
39
+ * @memberof ProductDocumentClass
40
+ */
41
+ 'productVersionId': number;
42
+ /**
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
+ * @type {string}
45
+ * @memberof ProductDocumentClass
46
+ */
47
+ 'slug': string;
48
+ /**
49
+ * Type of the product document.
50
+ * @type {string}
51
+ * @memberof ProductDocumentClass
52
+ */
53
+ 'type': string;
54
+ /**
55
+ * Description of the document. Usually a short summary about the context in which the document is being used.
56
+ * @type {string}
57
+ * @memberof ProductDocumentClass
58
+ */
59
+ 'description': string;
60
+ /**
61
+ * The unique key used by Amazon Simple Storage Service (S3).
62
+ * @type {string}
63
+ * @memberof ProductDocumentClass
64
+ */
65
+ 's3Key': string;
66
+ /**
67
+ * Type of the document expressed with its file extension.
68
+ * @type {string}
69
+ * @memberof ProductDocumentClass
70
+ */
71
+ 'contentType': ProductDocumentClassContentTypeEnum;
72
+ /**
73
+ * Product Document entity type.
74
+ * @type {string}
75
+ * @memberof ProductDocumentClass
76
+ */
77
+ 'entityType': ProductDocumentClassEntityTypeEnum;
78
+ /**
79
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
80
+ * @type {string}
81
+ * @memberof ProductDocumentClass
82
+ */
83
+ 'productSlug': string;
84
+ /**
85
+ * The current version number of the product document.
86
+ * @type {number}
87
+ * @memberof ProductDocumentClass
88
+ */
89
+ 'versionNumber': number;
90
+ /**
91
+ * Time at which the object was created.
92
+ * @type {string}
93
+ * @memberof ProductDocumentClass
94
+ */
95
+ 'createdAt': string;
96
+ /**
97
+ * Time at which the object was created.
98
+ * @type {string}
99
+ * @memberof ProductDocumentClass
100
+ */
101
+ 'updated': string;
102
+ }
103
+ export declare const ProductDocumentClassContentTypeEnum: {
104
+ readonly Pdf: "pdf";
105
+ readonly Jpg: "jpg";
106
+ readonly Png: "png";
107
+ readonly Gz: "gz";
108
+ readonly Csv: "csv";
109
+ readonly Doc: "doc";
110
+ readonly Docx: "docx";
111
+ readonly Html: "html";
112
+ readonly Json: "json";
113
+ readonly Xml: "xml";
114
+ readonly Txt: "txt";
115
+ readonly Zip: "zip";
116
+ readonly Tar: "tar";
117
+ readonly Rar: "rar";
118
+ readonly Mp4: "MP4";
119
+ readonly Mov: "MOV";
120
+ readonly Wmv: "WMV";
121
+ readonly Avi: "AVI";
122
+ };
123
+ export type ProductDocumentClassContentTypeEnum = typeof ProductDocumentClassContentTypeEnum[keyof typeof ProductDocumentClassContentTypeEnum];
124
+ export declare const ProductDocumentClassEntityTypeEnum: {
125
+ readonly PolicyApplication: "policy_application";
126
+ readonly PolicyContract: "policy_contract";
127
+ readonly PolicyAddendum: "policy_addendum";
128
+ readonly InitialInvoice: "initial_invoice";
129
+ readonly CorrectionInvoice: "correction_invoice";
130
+ readonly RecurringInvoice: "recurring_invoice";
131
+ readonly SepaMandate: "sepa_mandate";
132
+ readonly Static: "static";
133
+ };
134
+ export type ProductDocumentClassEntityTypeEnum = typeof ProductDocumentClassEntityTypeEnum[keyof typeof ProductDocumentClassEntityTypeEnum];
@@ -0,0 +1,46 @@
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.ProductDocumentClassEntityTypeEnum = exports.ProductDocumentClassContentTypeEnum = void 0;
17
+ exports.ProductDocumentClassContentTypeEnum = {
18
+ Pdf: 'pdf',
19
+ Jpg: 'jpg',
20
+ Png: 'png',
21
+ Gz: 'gz',
22
+ Csv: 'csv',
23
+ Doc: 'doc',
24
+ Docx: 'docx',
25
+ Html: 'html',
26
+ Json: 'json',
27
+ Xml: 'xml',
28
+ Txt: 'txt',
29
+ Zip: 'zip',
30
+ Tar: 'tar',
31
+ Rar: 'rar',
32
+ Mp4: 'MP4',
33
+ Mov: 'MOV',
34
+ Wmv: 'WMV',
35
+ Avi: 'AVI'
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
+ };
@@ -0,0 +1,66 @@
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 SearchableDocumentClass
16
+ */
17
+ export interface SearchableDocumentClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof SearchableDocumentClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Searchable document name.
26
+ * @type {string}
27
+ * @memberof SearchableDocumentClass
28
+ */
29
+ 'name': string;
30
+ /**
31
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
32
+ * @type {number}
33
+ * @memberof SearchableDocumentClass
34
+ */
35
+ 'ownerId': number;
36
+ /**
37
+ * Searchable document owner name.
38
+ * @type {string}
39
+ * @memberof SearchableDocumentClass
40
+ */
41
+ 'ownerName': string;
42
+ /**
43
+ * Headlines (snippets) from the document.
44
+ * @type {Array<string>}
45
+ * @memberof SearchableDocumentClass
46
+ */
47
+ 'headlines': Array<string>;
48
+ /**
49
+ * S3 key of the searchable document file.
50
+ * @type {string}
51
+ * @memberof SearchableDocumentClass
52
+ */
53
+ 's3Key': string;
54
+ /**
55
+ * Signed URL to download the document file from S3.
56
+ * @type {string}
57
+ * @memberof SearchableDocumentClass
58
+ */
59
+ 'signedS3Url': string;
60
+ /**
61
+ * Rank of the document in the search.
62
+ * @type {number}
63
+ * @memberof SearchableDocumentClass
64
+ */
65
+ 'rank': number;
66
+ }
@@ -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
+ * 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 });
@@ -0,0 +1,30 @@
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 SearchableDocumentOwnerClass
16
+ */
17
+ export interface SearchableDocumentOwnerClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof SearchableDocumentOwnerClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Searchable document owner name.
26
+ * @type {string}
27
+ * @memberof SearchableDocumentOwnerClass
28
+ */
29
+ 'name': string;
30
+ }