@emilgroup/document-sdk-node 1.11.1 → 1.11.2

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 (150) hide show
  1. package/.openapi-generator/FILES +0 -4
  2. package/api/docx-templates-api.ts +8 -16
  3. package/api/product-documents-api.ts +4 -4
  4. package/dist/api/default-api.d.ts +66 -0
  5. package/dist/api/default-api.js +200 -0
  6. package/dist/api/document-templates-api.d.ts +385 -0
  7. package/dist/api/document-templates-api.js +640 -0
  8. package/dist/api/documents-api.d.ts +488 -0
  9. package/dist/api/documents-api.js +821 -0
  10. package/dist/api/docx-templates-api.d.ts +428 -0
  11. package/dist/api/docx-templates-api.js +726 -0
  12. package/dist/api/layouts-api.d.ts +385 -0
  13. package/dist/api/layouts-api.js +642 -0
  14. package/dist/api/product-documents-api.d.ts +401 -0
  15. package/dist/api/product-documents-api.js +651 -0
  16. package/dist/api/search-keywords-api.d.ts +96 -0
  17. package/dist/api/search-keywords-api.js +229 -0
  18. package/dist/api/searchable-document-owners-api.d.ts +141 -0
  19. package/dist/api/searchable-document-owners-api.js +258 -0
  20. package/dist/api/searchable-documents-api.d.ts +114 -0
  21. package/dist/api/searchable-documents-api.js +243 -0
  22. package/dist/api.d.ts +20 -0
  23. package/dist/api.js +38 -0
  24. package/dist/base.d.ts +78 -0
  25. package/dist/base.js +394 -0
  26. package/dist/common.d.ts +92 -0
  27. package/dist/common.js +277 -0
  28. package/dist/configuration.d.ts +90 -0
  29. package/dist/configuration.js +44 -0
  30. package/dist/index.d.ts +15 -0
  31. package/dist/index.js +36 -0
  32. package/dist/models/create-doc-template-request-dto.d.ts +55 -0
  33. package/dist/models/create-doc-template-request-dto.js +15 -0
  34. package/dist/models/create-doc-template-response-class.d.ts +25 -0
  35. package/dist/models/create-doc-template-response-class.js +15 -0
  36. package/dist/models/create-document-request-dto.d.ts +173 -0
  37. package/dist/models/create-document-request-dto.js +70 -0
  38. package/{models/update-docx-template-response-class.ts → dist/models/create-document-sync-response-class.d.ts} +7 -13
  39. package/dist/models/create-document-sync-response-class.js +15 -0
  40. package/dist/models/create-html-template-dto.d.ts +24 -0
  41. package/dist/models/create-html-template-dto.js +15 -0
  42. package/dist/models/create-layout-request-dto.d.ts +49 -0
  43. package/dist/models/create-layout-request-dto.js +15 -0
  44. package/dist/models/create-layout-response-class.d.ts +25 -0
  45. package/dist/models/create-layout-response-class.js +15 -0
  46. package/dist/models/create-presigned-post-request-dto.d.ts +134 -0
  47. package/dist/models/create-presigned-post-request-dto.js +52 -0
  48. package/dist/models/create-presigned-post-response-class.d.ts +30 -0
  49. package/dist/models/create-presigned-post-response-class.js +15 -0
  50. package/dist/models/delete-layout-request-dto.d.ts +24 -0
  51. package/dist/models/delete-layout-request-dto.js +15 -0
  52. package/dist/models/delete-product-document-request-dto.d.ts +30 -0
  53. package/dist/models/delete-product-document-request-dto.js +15 -0
  54. package/dist/models/delete-request-dto.d.ts +24 -0
  55. package/dist/models/delete-request-dto.js +15 -0
  56. package/dist/models/delete-response-class.d.ts +24 -0
  57. package/dist/models/delete-response-class.js +15 -0
  58. package/{models/docx-template-class.ts → dist/models/doc-template-class.d.ts} +41 -45
  59. package/dist/models/doc-template-class.js +15 -0
  60. package/dist/models/document-class.d.ts +169 -0
  61. package/dist/models/document-class.js +62 -0
  62. package/dist/models/download-document-request-dto.d.ts +30 -0
  63. package/dist/models/download-document-request-dto.js +15 -0
  64. package/dist/models/get-doc-template-request-dto.d.ts +30 -0
  65. package/dist/models/get-doc-template-request-dto.js +15 -0
  66. package/dist/models/get-doc-template-response-class.d.ts +25 -0
  67. package/dist/models/get-doc-template-response-class.js +15 -0
  68. package/dist/models/get-document-download-url-response-class.d.ts +24 -0
  69. package/dist/models/get-document-download-url-response-class.js +15 -0
  70. package/dist/models/get-docx-template-download-url-response-class.d.ts +24 -0
  71. package/dist/models/get-docx-template-download-url-response-class.js +15 -0
  72. package/dist/models/get-layout-request-dto.d.ts +24 -0
  73. package/dist/models/get-layout-request-dto.js +15 -0
  74. package/dist/models/get-layout-response-class.d.ts +25 -0
  75. package/dist/models/get-layout-response-class.js +15 -0
  76. package/dist/models/get-product-document-download-url-response-class.d.ts +24 -0
  77. package/dist/models/get-product-document-download-url-response-class.js +15 -0
  78. package/dist/models/get-product-document-response-class.d.ts +25 -0
  79. package/dist/models/get-product-document-response-class.js +15 -0
  80. package/dist/models/get-signed-s3-key-url-response-class.d.ts +24 -0
  81. package/dist/models/get-signed-s3-key-url-response-class.js +15 -0
  82. package/dist/models/grpc-create-doc-template-request-dto.d.ts +55 -0
  83. package/dist/models/grpc-create-doc-template-request-dto.js +15 -0
  84. package/dist/models/grpc-update-doc-template-request-dto.d.ts +61 -0
  85. package/dist/models/grpc-update-doc-template-request-dto.js +15 -0
  86. package/dist/models/html-template-class.d.ts +66 -0
  87. package/dist/models/html-template-class.js +21 -0
  88. package/dist/models/index.d.ts +56 -0
  89. package/dist/models/index.js +72 -0
  90. package/dist/models/inline-response200.d.ts +54 -0
  91. package/dist/models/inline-response200.js +15 -0
  92. package/dist/models/inline-response503.d.ts +54 -0
  93. package/dist/models/inline-response503.js +15 -0
  94. package/dist/models/layout-class.d.ts +79 -0
  95. package/dist/models/layout-class.js +15 -0
  96. package/dist/models/list-doc-template-request-dto.d.ts +54 -0
  97. package/dist/models/list-doc-template-request-dto.js +15 -0
  98. package/dist/models/list-doc-templates-response-class.d.ts +31 -0
  99. package/dist/models/list-doc-templates-response-class.js +15 -0
  100. package/dist/models/list-documents-response-class.d.ts +31 -0
  101. package/dist/models/list-documents-response-class.js +15 -0
  102. package/dist/models/list-layouts-response-class.d.ts +31 -0
  103. package/dist/models/list-layouts-response-class.js +15 -0
  104. package/{models/list-docx-templates-response-class.ts → dist/models/list-product-documents-response-class.d.ts} +9 -15
  105. package/dist/models/list-product-documents-response-class.js +15 -0
  106. package/dist/models/list-request-dto.d.ts +54 -0
  107. package/dist/models/list-request-dto.js +15 -0
  108. package/dist/models/list-search-keywords-request-dto.d.ts +24 -0
  109. package/dist/models/list-search-keywords-request-dto.js +15 -0
  110. package/dist/models/list-search-keywords-response-class.d.ts +24 -0
  111. package/dist/models/list-search-keywords-response-class.js +15 -0
  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 +25 -0
  115. package/dist/models/list-searchable-document-owners-response-class.js +15 -0
  116. package/dist/models/list-searchable-documents-request-dto.d.ts +43 -0
  117. package/dist/models/list-searchable-documents-request-dto.js +22 -0
  118. package/dist/models/list-searchable-documents-response-class.d.ts +31 -0
  119. package/dist/models/list-searchable-documents-response-class.js +15 -0
  120. package/dist/models/product-document-class.d.ts +134 -0
  121. package/dist/models/product-document-class.js +46 -0
  122. package/dist/models/searchable-document-class.d.ts +66 -0
  123. package/dist/models/searchable-document-class.js +15 -0
  124. package/dist/models/searchable-document-owner-class.d.ts +30 -0
  125. package/dist/models/searchable-document-owner-class.js +15 -0
  126. package/dist/models/shared-update-docx-template-request-dto.d.ts +36 -0
  127. package/dist/models/shared-update-docx-template-request-dto.js +15 -0
  128. package/dist/models/update-doc-template-request-dto.d.ts +61 -0
  129. package/dist/models/update-doc-template-request-dto.js +15 -0
  130. package/dist/models/update-doc-template-response-class.d.ts +25 -0
  131. package/dist/models/update-doc-template-response-class.js +15 -0
  132. package/dist/models/update-document-request-dto.d.ts +54 -0
  133. package/dist/models/update-document-request-dto.js +15 -0
  134. package/dist/models/update-document-response-class.d.ts +25 -0
  135. package/dist/models/update-document-response-class.js +15 -0
  136. package/dist/models/update-html-template-dto.d.ts +42 -0
  137. package/dist/models/update-html-template-dto.js +21 -0
  138. package/dist/models/update-layout-request-dto.d.ts +55 -0
  139. package/dist/models/update-layout-request-dto.js +15 -0
  140. package/dist/models/update-layout-response-class.d.ts +25 -0
  141. package/dist/models/update-layout-response-class.js +15 -0
  142. package/dist/models/upload-docx-template-request-dto.d.ts +54 -0
  143. package/dist/models/upload-docx-template-request-dto.js +15 -0
  144. package/dist/models/upload-product-document-request-dto.d.ts +75 -0
  145. package/{models/get-docx-template-response-class.ts → dist/models/upload-product-document-request-dto.js} +11 -18
  146. package/models/create-document-request-dto.ts +13 -1
  147. package/models/document-class.ts +13 -1
  148. package/models/index.ts +0 -4
  149. package/models/product-document-class.ts +13 -1
  150. package/package.json +2 -2
@@ -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 DeleteLayoutRequestDto
16
+ */
17
+ export interface DeleteLayoutRequestDto {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof DeleteLayoutRequestDto
22
+ */
23
+ 'id': number;
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,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 DeleteProductDocumentRequestDto
16
+ */
17
+ export interface DeleteProductDocumentRequestDto {
18
+ /**
19
+ * Unique identifier for the object.
20
+ * @type {string}
21
+ * @memberof DeleteProductDocumentRequestDto
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
26
+ * @type {string}
27
+ * @memberof DeleteProductDocumentRequestDto
28
+ */
29
+ 'productSlug': string;
30
+ }
@@ -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 DeleteRequestDto
16
+ */
17
+ export interface DeleteRequestDto {
18
+ /**
19
+ * Unique identifier for the object.
20
+ * @type {string}
21
+ * @memberof DeleteRequestDto
22
+ */
23
+ 'code': 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 DeleteResponseClass
16
+ */
17
+ export interface DeleteResponseClass {
18
+ /**
19
+ *
20
+ * @type {object}
21
+ * @memberof DeleteResponseClass
22
+ */
23
+ 'response': object;
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 });
@@ -1,5 +1,3 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
1
  /**
4
2
  * EMIL DocumentService
5
3
  * The EMIL DocumentService API description
@@ -11,86 +9,84 @@
11
9
  * https://openapi-generator.tech
12
10
  * Do not edit the class manually.
13
11
  */
14
-
15
-
16
-
12
+ import { HtmlTemplateClass } from './html-template-class';
13
+ import { LayoutClass } from './layout-class';
17
14
  /**
18
- *
15
+ *
19
16
  * @export
20
- * @interface DocxTemplateClass
17
+ * @interface DocTemplateClass
21
18
  */
22
- export interface DocxTemplateClass {
19
+ export interface DocTemplateClass {
23
20
  /**
24
21
  * Internal unique identifier for the object. You should not have to use this, use code instead.
25
22
  * @type {number}
26
- * @memberof DocxTemplateClass
23
+ * @memberof DocTemplateClass
27
24
  */
28
25
  'id': number;
29
26
  /**
30
- * Unique identifier for the object.
27
+ * Record owner.
31
28
  * @type {string}
32
- * @memberof DocxTemplateClass
29
+ * @memberof DocTemplateClass
33
30
  */
34
- 'code': string;
31
+ 'owner'?: string;
35
32
  /**
36
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
33
+ * Template name.
37
34
  * @type {string}
38
- * @memberof DocxTemplateClass
35
+ * @memberof DocTemplateClass
39
36
  */
40
- 'slug': string;
41
- /**
42
- *
43
- * @type {number}
44
- * @memberof DocxTemplateClass
45
- */
46
- 'productVersionId': number;
37
+ 'name': string;
47
38
  /**
48
39
  * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
49
40
  * @type {string}
50
- * @memberof DocxTemplateClass
41
+ * @memberof DocTemplateClass
51
42
  */
52
- 'productSlug': string;
43
+ 'slug': string;
53
44
  /**
54
- * Description of the document. Usually a short summary about the context in which the document is being used.
45
+ * The filename of the document template as it appears when sent to customers.
55
46
  * @type {string}
56
- * @memberof DocxTemplateClass
47
+ * @memberof DocTemplateClass
57
48
  */
58
- 'description': string;
49
+ 'label'?: string;
59
50
  /**
60
- * The unique key used by Amazon Simple Storage Service (S3).
61
- * @type {string}
62
- * @memberof DocxTemplateClass
51
+ * Unique identifier referencing the layout.
52
+ * @type {number}
53
+ * @memberof DocTemplateClass
63
54
  */
64
- 's3Key': string;
55
+ 'layoutId': number;
65
56
  /**
66
- * Document entity type.
67
- * @type {string}
68
- * @memberof DocxTemplateClass
57
+ * Body Template.
58
+ * @type {HtmlTemplateClass}
59
+ * @memberof DocTemplateClass
69
60
  */
70
- 'entityType': string;
61
+ 'bodyTemplate'?: HtmlTemplateClass;
71
62
  /**
72
- * Name of the file the end user will see when he downloads it.
73
- * @type {string}
74
- * @memberof DocxTemplateClass
63
+ * Template Layout.
64
+ * @type {LayoutClass}
65
+ * @memberof DocTemplateClass
75
66
  */
76
- 'filename': string;
67
+ 'layout'?: LayoutClass;
77
68
  /**
78
- * Version number of the template, incremented each time a new version is uploaded.
79
- * @type {number}
80
- * @memberof DocxTemplateClass
69
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
70
+ * @type {string}
71
+ * @memberof DocTemplateClass
81
72
  */
82
- 'versionNumber': number;
73
+ 'productSlug'?: string;
83
74
  /**
84
75
  * Time at which the object was created.
85
76
  * @type {string}
86
- * @memberof DocxTemplateClass
77
+ * @memberof DocTemplateClass
87
78
  */
88
79
  'createdAt': string;
89
80
  /**
90
81
  * Time at which the object was updated.
91
82
  * @type {string}
92
- * @memberof DocxTemplateClass
83
+ * @memberof DocTemplateClass
93
84
  */
94
85
  'updatedAt': string;
86
+ /**
87
+ * Time at which the object was deleted.
88
+ * @type {string}
89
+ * @memberof DocTemplateClass
90
+ */
91
+ 'deletedAt'?: string;
95
92
  }
96
-
@@ -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,169 @@
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 DocumentClass
16
+ */
17
+ export interface DocumentClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof DocumentClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof DocumentClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
32
+ * @type {string}
33
+ * @memberof DocumentClass
34
+ */
35
+ 'templateSlug': string;
36
+ /**
37
+ * Document entity type.
38
+ * @type {string}
39
+ * @memberof DocumentClass
40
+ */
41
+ 'entityType': DocumentClassEntityTypeEnum;
42
+ /**
43
+ * Payload used to replace variables in the template.
44
+ * @type {object}
45
+ * @memberof DocumentClass
46
+ */
47
+ 'payload'?: object;
48
+ /**
49
+ * Unique identifier of the policy that this object belongs to.
50
+ * @type {string}
51
+ * @memberof DocumentClass
52
+ */
53
+ 'policyCode'?: string;
54
+ /**
55
+ * Unique identifier of the account that this object belongs to.
56
+ * @type {string}
57
+ * @memberof DocumentClass
58
+ */
59
+ 'accountCode'?: string;
60
+ /**
61
+ * Unique identifier of the lead that this object belongs to.
62
+ * @type {string}
63
+ * @memberof DocumentClass
64
+ */
65
+ 'leadCode'?: string;
66
+ /**
67
+ * Unique identifier referencing the entity.
68
+ * @type {number}
69
+ * @memberof DocumentClass
70
+ */
71
+ 'entityId'?: number;
72
+ /**
73
+ * Identifier of the service that requested the creation of this document.
74
+ * @type {string}
75
+ * @memberof DocumentClass
76
+ */
77
+ 'requester': DocumentClassRequesterEnum;
78
+ /**
79
+ * Metadata contains extra information that the object would need for specific cases.
80
+ * @type {object}
81
+ * @memberof DocumentClass
82
+ */
83
+ 'metadata'?: object;
84
+ /**
85
+ * Description of the document. Usually a short summary about the context in which the document is being used.
86
+ * @type {string}
87
+ * @memberof DocumentClass
88
+ */
89
+ 'description': string;
90
+ /**
91
+ * The unique key used by Amazon Simple Storage Service (S3).
92
+ * @type {string}
93
+ * @memberof DocumentClass
94
+ */
95
+ 's3Key': string;
96
+ /**
97
+ * Type of the document expressed with its file extension.
98
+ * @type {string}
99
+ * @memberof DocumentClass
100
+ */
101
+ 'contentType': DocumentClassContentTypeEnum;
102
+ /**
103
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
104
+ * @type {string}
105
+ * @memberof DocumentClass
106
+ */
107
+ 'productSlug'?: string;
108
+ /**
109
+ * Time at which the object was created.
110
+ * @type {string}
111
+ * @memberof DocumentClass
112
+ */
113
+ 'createdAt': string;
114
+ /**
115
+ * Emil Resources Names (ERN) identifies the most specific owner of a resource.
116
+ * @type {string}
117
+ * @memberof DocumentClass
118
+ */
119
+ 'ern': string;
120
+ }
121
+ export declare const DocumentClassEntityTypeEnum: {
122
+ readonly PolicyApplication: "policy_application";
123
+ readonly PolicyContract: "policy_contract";
124
+ readonly PolicyAddendum: "policy_addendum";
125
+ readonly InitialInvoice: "initial_invoice";
126
+ readonly CorrectionInvoice: "correction_invoice";
127
+ readonly RecurringInvoice: "recurring_invoice";
128
+ readonly SepaMandate: "sepa_mandate";
129
+ readonly Static: "static";
130
+ };
131
+ export type DocumentClassEntityTypeEnum = typeof DocumentClassEntityTypeEnum[keyof typeof DocumentClassEntityTypeEnum];
132
+ export declare const DocumentClassRequesterEnum: {
133
+ readonly Accountservice: "accountservice";
134
+ readonly Insuranceservice: "insuranceservice";
135
+ readonly Billingservice: "billingservice";
136
+ readonly Tenantservice: "tenantservice";
137
+ readonly BookingFunnel: "bookingFunnel";
138
+ readonly Publicapi: "publicapi";
139
+ readonly Admin: "admin";
140
+ readonly Claimservice: "claimservice";
141
+ readonly Customerservice: "customerservice";
142
+ readonly Notificationservice: "notificationservice";
143
+ readonly Paymentservice: "paymentservice";
144
+ readonly Processmanager: "processmanager";
145
+ readonly Gdvservice: "gdvservice";
146
+ readonly Documentservice: "documentservice";
147
+ };
148
+ export type DocumentClassRequesterEnum = typeof DocumentClassRequesterEnum[keyof typeof DocumentClassRequesterEnum];
149
+ export declare const DocumentClassContentTypeEnum: {
150
+ readonly Pdf: "pdf";
151
+ readonly Jpg: "jpg";
152
+ readonly Png: "png";
153
+ readonly Gz: "gz";
154
+ readonly Csv: "csv";
155
+ readonly Doc: "doc";
156
+ readonly Docx: "docx";
157
+ readonly Html: "html";
158
+ readonly Json: "json";
159
+ readonly Xml: "xml";
160
+ readonly Txt: "txt";
161
+ readonly Zip: "zip";
162
+ readonly Tar: "tar";
163
+ readonly Rar: "rar";
164
+ readonly Mp4: "MP4";
165
+ readonly Mov: "MOV";
166
+ readonly Wmv: "WMV";
167
+ readonly Avi: "AVI";
168
+ };
169
+ export type DocumentClassContentTypeEnum = typeof DocumentClassContentTypeEnum[keyof typeof DocumentClassContentTypeEnum];
@@ -0,0 +1,62 @@
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.DocumentClassContentTypeEnum = exports.DocumentClassRequesterEnum = exports.DocumentClassEntityTypeEnum = void 0;
17
+ exports.DocumentClassEntityTypeEnum = {
18
+ PolicyApplication: 'policy_application',
19
+ PolicyContract: 'policy_contract',
20
+ PolicyAddendum: 'policy_addendum',
21
+ InitialInvoice: 'initial_invoice',
22
+ CorrectionInvoice: 'correction_invoice',
23
+ RecurringInvoice: 'recurring_invoice',
24
+ SepaMandate: 'sepa_mandate',
25
+ Static: 'static'
26
+ };
27
+ exports.DocumentClassRequesterEnum = {
28
+ Accountservice: 'accountservice',
29
+ Insuranceservice: 'insuranceservice',
30
+ Billingservice: 'billingservice',
31
+ Tenantservice: 'tenantservice',
32
+ BookingFunnel: 'bookingFunnel',
33
+ Publicapi: 'publicapi',
34
+ Admin: 'admin',
35
+ Claimservice: 'claimservice',
36
+ Customerservice: 'customerservice',
37
+ Notificationservice: 'notificationservice',
38
+ Paymentservice: 'paymentservice',
39
+ Processmanager: 'processmanager',
40
+ Gdvservice: 'gdvservice',
41
+ Documentservice: 'documentservice'
42
+ };
43
+ exports.DocumentClassContentTypeEnum = {
44
+ Pdf: 'pdf',
45
+ Jpg: 'jpg',
46
+ Png: 'png',
47
+ Gz: 'gz',
48
+ Csv: 'csv',
49
+ Doc: 'doc',
50
+ Docx: 'docx',
51
+ Html: 'html',
52
+ Json: 'json',
53
+ Xml: 'xml',
54
+ Txt: 'txt',
55
+ Zip: 'zip',
56
+ Tar: 'tar',
57
+ Rar: 'rar',
58
+ Mp4: 'MP4',
59
+ Mov: 'MOV',
60
+ Wmv: 'WMV',
61
+ Avi: 'AVI'
62
+ };
@@ -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 DownloadDocumentRequestDto
16
+ */
17
+ export interface DownloadDocumentRequestDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof DownloadDocumentRequestDto
22
+ */
23
+ 'code': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof DownloadDocumentRequestDto
28
+ */
29
+ 'documentKey': string;
30
+ }
@@ -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 GetDocTemplateRequestDto
16
+ */
17
+ export interface GetDocTemplateRequestDto {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof GetDocTemplateRequestDto
22
+ */
23
+ 'id': number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GetDocTemplateRequestDto
28
+ */
29
+ 'expand'?: string;
30
+ }
@@ -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,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 { DocTemplateClass } from './doc-template-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetDocTemplateResponseClass
17
+ */
18
+ export interface GetDocTemplateResponseClass {
19
+ /**
20
+ * Document template.
21
+ * @type {DocTemplateClass}
22
+ * @memberof GetDocTemplateResponseClass
23
+ */
24
+ 'template': DocTemplateClass;
25
+ }