@emilgroup/document-sdk-node 1.22.0 → 1.22.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/.openapi-generator/FILES +0 -38
  2. package/README.md +2 -2
  3. package/api/default-api.ts +8 -4
  4. package/api/document-templates-api.ts +79 -75
  5. package/api/documents-api.ts +18 -30
  6. package/api/docx-templates-api.ts +16 -28
  7. package/api/layouts-api.ts +18 -28
  8. package/api/product-documents-api.ts +19 -226
  9. package/api/search-keywords-api.ts +2 -4
  10. package/api/searchable-document-owners-api.ts +2 -4
  11. package/api/searchable-documents-api.ts +20 -20
  12. package/dist/api/default-api.d.ts +8 -4
  13. package/dist/api/default-api.js +8 -4
  14. package/dist/api/document-templates-api.d.ts +62 -67
  15. package/dist/api/document-templates-api.js +55 -42
  16. package/dist/api/documents-api.d.ts +25 -31
  17. package/dist/api/documents-api.js +4 -4
  18. package/dist/api/docx-templates-api.d.ts +22 -28
  19. package/dist/api/docx-templates-api.js +4 -4
  20. package/dist/api/layouts-api.d.ts +23 -28
  21. package/dist/api/layouts-api.js +8 -8
  22. package/dist/api/product-documents-api.d.ts +19 -141
  23. package/dist/api/product-documents-api.js +9 -143
  24. package/dist/api/search-keywords-api.d.ts +3 -4
  25. package/dist/api/searchable-document-owners-api.d.ts +3 -4
  26. package/dist/api/searchable-documents-api.d.ts +16 -17
  27. package/dist/api/searchable-documents-api.js +15 -13
  28. package/dist/models/create-doc-template-request-dto.d.ts +2 -2
  29. package/dist/models/create-document-request-dto.d.ts +10 -10
  30. package/dist/models/create-presigned-post-request-dto.d.ts +4 -4
  31. package/dist/models/index.d.ts +0 -38
  32. package/dist/models/index.js +0 -38
  33. package/dist/models/list-searchable-document-owners-request-dto.d.ts +1 -8
  34. package/dist/models/list-searchable-document-owners-request-dto.js +0 -7
  35. package/dist/models/list-searchable-documents-request-dto.d.ts +1 -8
  36. package/dist/models/list-searchable-documents-request-dto.js +0 -7
  37. package/dist/models/update-doc-template-request-dto.d.ts +2 -2
  38. package/dist/models/update-document-request-dto.d.ts +5 -5
  39. package/dist/models/upload-docx-template-request-dto.d.ts +1 -1
  40. package/dist/models/upload-product-document-request-dto.d.ts +2 -2
  41. package/models/create-doc-template-request-dto.ts +2 -2
  42. package/models/create-document-request-dto.ts +10 -10
  43. package/models/create-presigned-post-request-dto.ts +4 -4
  44. package/models/index.ts +0 -38
  45. package/models/list-searchable-document-owners-request-dto.ts +1 -11
  46. package/models/list-searchable-documents-request-dto.ts +1 -11
  47. package/models/update-doc-template-request-dto.ts +2 -2
  48. package/models/update-document-request-dto.ts +5 -5
  49. package/models/upload-docx-template-request-dto.ts +1 -1
  50. package/models/upload-product-document-request-dto.ts +2 -2
  51. package/package.json +1 -1
  52. package/dist/models/create-doc-template-response-class.d.ts +0 -25
  53. package/dist/models/create-doc-template-response-class.js +0 -15
  54. package/dist/models/create-document-sync-response-class.d.ts +0 -25
  55. package/dist/models/create-document-sync-response-class.js +0 -15
  56. package/dist/models/create-layout-response-class.d.ts +0 -25
  57. package/dist/models/create-layout-response-class.js +0 -15
  58. package/dist/models/create-presigned-post-response-class.d.ts +0 -30
  59. package/dist/models/create-presigned-post-response-class.js +0 -15
  60. package/dist/models/delete-response-class.d.ts +0 -24
  61. package/dist/models/delete-response-class.js +0 -15
  62. package/dist/models/doc-template-class.d.ts +0 -92
  63. package/dist/models/doc-template-class.js +0 -15
  64. package/dist/models/document-class.d.ts +0 -165
  65. package/dist/models/document-class.js +0 -53
  66. package/dist/models/docx-template-class.d.ts +0 -90
  67. package/dist/models/docx-template-class.js +0 -15
  68. package/dist/models/download-document-request-dto.d.ts +0 -30
  69. package/dist/models/download-document-request-dto.js +0 -15
  70. package/dist/models/get-doc-template-request-dto.d.ts +0 -30
  71. package/dist/models/get-doc-template-request-dto.js +0 -15
  72. package/dist/models/get-doc-template-response-class.d.ts +0 -25
  73. package/dist/models/get-doc-template-response-class.js +0 -15
  74. package/dist/models/get-document-download-url-response-class.d.ts +0 -24
  75. package/dist/models/get-document-download-url-response-class.js +0 -15
  76. package/dist/models/get-docx-template-download-url-response-class.d.ts +0 -24
  77. package/dist/models/get-docx-template-download-url-response-class.js +0 -15
  78. package/dist/models/get-docx-template-response-class.d.ts +0 -25
  79. package/dist/models/get-docx-template-response-class.js +0 -15
  80. package/dist/models/get-layout-response-class.d.ts +0 -25
  81. package/dist/models/get-layout-response-class.js +0 -15
  82. package/dist/models/get-product-document-download-url-response-class.d.ts +0 -24
  83. package/dist/models/get-product-document-download-url-response-class.js +0 -15
  84. package/dist/models/get-product-document-response-class.d.ts +0 -25
  85. package/dist/models/get-product-document-response-class.js +0 -15
  86. package/dist/models/get-signed-s3-key-url-response-class.d.ts +0 -24
  87. package/dist/models/get-signed-s3-key-url-response-class.js +0 -15
  88. package/dist/models/grpc-create-doc-template-request-dto.d.ts +0 -55
  89. package/dist/models/grpc-create-doc-template-request-dto.js +0 -15
  90. package/dist/models/grpc-update-doc-template-request-dto.d.ts +0 -61
  91. package/dist/models/grpc-update-doc-template-request-dto.js +0 -15
  92. package/dist/models/html-template-class.d.ts +0 -66
  93. package/dist/models/html-template-class.js +0 -21
  94. package/dist/models/layout-class.d.ts +0 -79
  95. package/dist/models/layout-class.js +0 -15
  96. package/dist/models/list-doc-template-request-dto.d.ts +0 -54
  97. package/dist/models/list-doc-template-request-dto.js +0 -15
  98. package/dist/models/list-doc-templates-response-class.d.ts +0 -31
  99. package/dist/models/list-doc-templates-response-class.js +0 -15
  100. package/dist/models/list-documents-response-class.d.ts +0 -31
  101. package/dist/models/list-documents-response-class.js +0 -15
  102. package/dist/models/list-docx-templates-response-class.d.ts +0 -31
  103. package/dist/models/list-docx-templates-response-class.js +0 -15
  104. package/dist/models/list-layouts-response-class.d.ts +0 -31
  105. package/dist/models/list-layouts-response-class.js +0 -15
  106. package/dist/models/list-product-documents-response-class.d.ts +0 -31
  107. package/dist/models/list-product-documents-response-class.js +0 -15
  108. package/dist/models/list-search-keywords-response-class.d.ts +0 -24
  109. package/dist/models/list-search-keywords-response-class.js +0 -15
  110. package/dist/models/list-searchable-document-owners-response-class.d.ts +0 -25
  111. package/dist/models/list-searchable-document-owners-response-class.js +0 -15
  112. package/dist/models/list-searchable-documents-response-class.d.ts +0 -31
  113. package/dist/models/list-searchable-documents-response-class.js +0 -15
  114. package/dist/models/product-document-class.d.ts +0 -117
  115. package/dist/models/product-document-class.js +0 -24
  116. package/dist/models/searchable-document-class.d.ts +0 -66
  117. package/dist/models/searchable-document-class.js +0 -15
  118. package/dist/models/searchable-document-owner-class.d.ts +0 -30
  119. package/dist/models/searchable-document-owner-class.js +0 -15
  120. package/dist/models/update-doc-template-response-class.d.ts +0 -25
  121. package/dist/models/update-doc-template-response-class.js +0 -15
  122. package/dist/models/update-document-response-class.d.ts +0 -25
  123. package/dist/models/update-document-response-class.js +0 -15
  124. package/dist/models/update-docx-template-response-class.d.ts +0 -25
  125. package/dist/models/update-docx-template-response-class.js +0 -15
  126. package/dist/models/update-layout-response-class.d.ts +0 -25
  127. package/dist/models/update-layout-response-class.js +0 -15
  128. package/models/create-doc-template-response-class.ts +0 -31
  129. package/models/create-document-sync-response-class.ts +0 -31
  130. package/models/create-layout-response-class.ts +0 -31
  131. package/models/create-presigned-post-response-class.ts +0 -36
  132. package/models/delete-response-class.ts +0 -30
  133. package/models/doc-template-class.ts +0 -98
  134. package/models/document-class.ts +0 -175
  135. package/models/docx-template-class.ts +0 -96
  136. package/models/download-document-request-dto.ts +0 -36
  137. package/models/get-doc-template-request-dto.ts +0 -36
  138. package/models/get-doc-template-response-class.ts +0 -31
  139. package/models/get-document-download-url-response-class.ts +0 -30
  140. package/models/get-docx-template-download-url-response-class.ts +0 -30
  141. package/models/get-docx-template-response-class.ts +0 -31
  142. package/models/get-layout-response-class.ts +0 -31
  143. package/models/get-product-document-download-url-response-class.ts +0 -30
  144. package/models/get-product-document-response-class.ts +0 -31
  145. package/models/get-signed-s3-key-url-response-class.ts +0 -30
  146. package/models/grpc-create-doc-template-request-dto.ts +0 -61
  147. package/models/grpc-update-doc-template-request-dto.ts +0 -67
  148. package/models/html-template-class.ts +0 -75
  149. package/models/layout-class.ts +0 -85
  150. package/models/list-doc-template-request-dto.ts +0 -60
  151. package/models/list-doc-templates-response-class.ts +0 -37
  152. package/models/list-documents-response-class.ts +0 -37
  153. package/models/list-docx-templates-response-class.ts +0 -37
  154. package/models/list-layouts-response-class.ts +0 -37
  155. package/models/list-product-documents-response-class.ts +0 -37
  156. package/models/list-search-keywords-response-class.ts +0 -30
  157. package/models/list-searchable-document-owners-response-class.ts +0 -31
  158. package/models/list-searchable-documents-response-class.ts +0 -37
  159. package/models/product-document-class.ts +0 -126
  160. package/models/searchable-document-class.ts +0 -72
  161. package/models/searchable-document-owner-class.ts +0 -36
  162. package/models/update-doc-template-response-class.ts +0 -31
  163. package/models/update-document-response-class.ts +0 -31
  164. package/models/update-docx-template-response-class.ts +0 -31
  165. package/models/update-layout-response-class.ts +0 -31
@@ -1,30 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,25 +0,0 @@
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 { DocTemplateClass } from './doc-template-class';
13
- /**
14
- *
15
- * @export
16
- * @interface UpdateDocTemplateResponseClass
17
- */
18
- export interface UpdateDocTemplateResponseClass {
19
- /**
20
- * Document template.
21
- * @type {DocTemplateClass}
22
- * @memberof UpdateDocTemplateResponseClass
23
- */
24
- 'template': DocTemplateClass;
25
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,25 +0,0 @@
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 { DocumentClass } from './document-class';
13
- /**
14
- *
15
- * @export
16
- * @interface UpdateDocumentResponseClass
17
- */
18
- export interface UpdateDocumentResponseClass {
19
- /**
20
- * Document
21
- * @type {DocumentClass}
22
- * @memberof UpdateDocumentResponseClass
23
- */
24
- 'document': DocumentClass;
25
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,25 +0,0 @@
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 { DocxTemplateClass } from './docx-template-class';
13
- /**
14
- *
15
- * @export
16
- * @interface UpdateDocxTemplateResponseClass
17
- */
18
- export interface UpdateDocxTemplateResponseClass {
19
- /**
20
- * Document
21
- * @type {DocxTemplateClass}
22
- * @memberof UpdateDocxTemplateResponseClass
23
- */
24
- 'docxTemplate': DocxTemplateClass;
25
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,25 +0,0 @@
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 { LayoutClass } from './layout-class';
13
- /**
14
- *
15
- * @export
16
- * @interface UpdateLayoutResponseClass
17
- */
18
- export interface UpdateLayoutResponseClass {
19
- /**
20
- * Layout
21
- * @type {LayoutClass}
22
- * @memberof UpdateLayoutResponseClass
23
- */
24
- 'layout': LayoutClass;
25
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,31 +0,0 @@
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
- * Contact: kontakt@emil.de
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 { DocTemplateClass } from './doc-template-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface CreateDocTemplateResponseClass
22
- */
23
- export interface CreateDocTemplateResponseClass {
24
- /**
25
- * Document template.
26
- * @type {DocTemplateClass}
27
- * @memberof CreateDocTemplateResponseClass
28
- */
29
- 'template': DocTemplateClass;
30
- }
31
-
@@ -1,31 +0,0 @@
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
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import { DocumentClass } from './document-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface CreateDocumentSyncResponseClass
22
- */
23
- export interface CreateDocumentSyncResponseClass {
24
- /**
25
- * Document
26
- * @type {DocumentClass}
27
- * @memberof CreateDocumentSyncResponseClass
28
- */
29
- 'document': DocumentClass;
30
- }
31
-
@@ -1,31 +0,0 @@
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
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import { LayoutClass } from './layout-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface CreateLayoutResponseClass
22
- */
23
- export interface CreateLayoutResponseClass {
24
- /**
25
- * Layout
26
- * @type {LayoutClass}
27
- * @memberof CreateLayoutResponseClass
28
- */
29
- 'layout': LayoutClass;
30
- }
31
-
@@ -1,36 +0,0 @@
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
- * Contact: kontakt@emil.de
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 CreatePresignedPostResponseClass
21
- */
22
- export interface CreatePresignedPostResponseClass {
23
- /**
24
- * Upload document fields.
25
- * @type {object}
26
- * @memberof CreatePresignedPostResponseClass
27
- */
28
- 'fields': object;
29
- /**
30
- * Pre-signed Url.
31
- * @type {string}
32
- * @memberof CreatePresignedPostResponseClass
33
- */
34
- 'url': string;
35
- }
36
-
@@ -1,30 +0,0 @@
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
- * Contact: kontakt@emil.de
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
-
@@ -1,98 +0,0 @@
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
- * Contact: kontakt@emil.de
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 { HtmlTemplateClass } from './html-template-class';
17
- import { LayoutClass } from './layout-class';
18
-
19
- /**
20
- *
21
- * @export
22
- * @interface DocTemplateClass
23
- */
24
- export interface DocTemplateClass {
25
- /**
26
- * Internal unique identifier for the object. You should not have to use this, use code instead.
27
- * @type {number}
28
- * @memberof DocTemplateClass
29
- */
30
- 'id': number;
31
- /**
32
- * Record owner.
33
- * @type {string}
34
- * @memberof DocTemplateClass
35
- */
36
- 'owner'?: string;
37
- /**
38
- * Template name.
39
- * @type {string}
40
- * @memberof DocTemplateClass
41
- */
42
- 'name': string;
43
- /**
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
- * @type {string}
46
- * @memberof DocTemplateClass
47
- */
48
- 'slug': string;
49
- /**
50
- * The filename of the document template as it appears when sent to customers.
51
- * @type {string}
52
- * @memberof DocTemplateClass
53
- */
54
- 'label'?: string;
55
- /**
56
- * Unique identifier referencing the layout.
57
- * @type {number}
58
- * @memberof DocTemplateClass
59
- */
60
- 'layoutId': number;
61
- /**
62
- * Body Template.
63
- * @type {HtmlTemplateClass}
64
- * @memberof DocTemplateClass
65
- */
66
- 'bodyTemplate'?: HtmlTemplateClass;
67
- /**
68
- * Template Layout.
69
- * @type {LayoutClass}
70
- * @memberof DocTemplateClass
71
- */
72
- 'layout'?: LayoutClass;
73
- /**
74
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
75
- * @type {string}
76
- * @memberof DocTemplateClass
77
- */
78
- 'productSlug'?: string;
79
- /**
80
- * Time at which the object was created.
81
- * @type {string}
82
- * @memberof DocTemplateClass
83
- */
84
- 'createdAt': string;
85
- /**
86
- * Time at which the object was updated.
87
- * @type {string}
88
- * @memberof DocTemplateClass
89
- */
90
- 'updatedAt': string;
91
- /**
92
- * Time at which the object was deleted.
93
- * @type {string}
94
- * @memberof DocTemplateClass
95
- */
96
- 'deletedAt'?: string;
97
- }
98
-
@@ -1,175 +0,0 @@
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
- * Contact: kontakt@emil.de
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 DocumentClass
21
- */
22
- export interface DocumentClass {
23
- /**
24
- * Internal unique identifier for the object. You should not have to use this, use code instead.
25
- * @type {number}
26
- * @memberof DocumentClass
27
- */
28
- 'id': number;
29
- /**
30
- * Unique identifier for the object.
31
- * @type {string}
32
- * @memberof DocumentClass
33
- */
34
- 'code': string;
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.
37
- * @type {string}
38
- * @memberof DocumentClass
39
- */
40
- 'templateSlug': string;
41
- /**
42
- * Document entity type.
43
- * @type {string}
44
- * @memberof DocumentClass
45
- */
46
- 'entityType': string;
47
- /**
48
- * Payload used to replace variables in the template.
49
- * @type {object}
50
- * @memberof DocumentClass
51
- */
52
- 'payload'?: object;
53
- /**
54
- * Unique identifier of the policy that this object belongs to.
55
- * @type {string}
56
- * @memberof DocumentClass
57
- */
58
- 'policyCode'?: string;
59
- /**
60
- * Unique identifier of the account that this object belongs to.
61
- * @type {string}
62
- * @memberof DocumentClass
63
- */
64
- 'accountCode'?: string;
65
- /**
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.
73
- * @type {number}
74
- * @memberof DocumentClass
75
- */
76
- 'entityId'?: number;
77
- /**
78
- * Identifier of the service that requested the creation of this document.
79
- * @type {string}
80
- * @memberof DocumentClass
81
- */
82
- 'requester': DocumentClassRequesterEnum;
83
- /**
84
- * Metadata contains extra information that the object would need for specific cases.
85
- * @type {object}
86
- * @memberof DocumentClass
87
- */
88
- 'metadata'?: object;
89
- /**
90
- * Description of the document. Usually a short summary about the context in which the document is being used.
91
- * @type {string}
92
- * @memberof DocumentClass
93
- */
94
- 'description': string;
95
- /**
96
- * The unique key used by Amazon Simple Storage Service (S3).
97
- * @type {string}
98
- * @memberof DocumentClass
99
- */
100
- 's3Key': string;
101
- /**
102
- * Type of the document expressed with its file extension.
103
- * @type {string}
104
- * @memberof DocumentClass
105
- */
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;
113
- /**
114
- * User who created the document.
115
- * @type {string}
116
- * @memberof DocumentClass
117
- */
118
- 'createdBy': string;
119
- /**
120
- * Time at which the object was created.
121
- * @type {string}
122
- * @memberof DocumentClass
123
- */
124
- 'createdAt': string;
125
- /**
126
- * Emil Resources Names (ERN) identifies the most specific owner of a resource.
127
- * @type {string}
128
- * @memberof DocumentClass
129
- */
130
- 'ern': string;
131
- }
132
-
133
- export const DocumentClassRequesterEnum = {
134
- Accountservice: 'accountservice',
135
- Insuranceservice: 'insuranceservice',
136
- Billingservice: 'billingservice',
137
- Tenantservice: 'tenantservice',
138
- BookingFunnel: 'bookingFunnel',
139
- Publicapi: 'publicapi',
140
- Admin: 'admin',
141
- Claimservice: 'claimservice',
142
- Customerservice: 'customerservice',
143
- Notificationservice: 'notificationservice',
144
- Paymentservice: 'paymentservice',
145
- Processmanager: 'processmanager',
146
- Gdvservice: 'gdvservice',
147
- Documentservice: 'documentservice',
148
- Partnerservice: 'partnerservice'
149
- } as const;
150
-
151
- export type DocumentClassRequesterEnum = typeof DocumentClassRequesterEnum[keyof typeof DocumentClassRequesterEnum];
152
- export const DocumentClassContentTypeEnum = {
153
- Pdf: 'pdf',
154
- Jpg: 'jpg',
155
- Png: 'png',
156
- Gz: 'gz',
157
- Csv: 'csv',
158
- Doc: 'doc',
159
- Docx: 'docx',
160
- Html: 'html',
161
- Json: 'json',
162
- Xml: 'xml',
163
- Txt: 'txt',
164
- Zip: 'zip',
165
- Tar: 'tar',
166
- Rar: 'rar',
167
- Mp4: 'MP4',
168
- Mov: 'MOV',
169
- Wmv: 'WMV',
170
- Avi: 'AVI'
171
- } as const;
172
-
173
- export type DocumentClassContentTypeEnum = typeof DocumentClassContentTypeEnum[keyof typeof DocumentClassContentTypeEnum];
174
-
175
-