@emilgroup/document-sdk-node 1.28.0 → 1.28.2-beta.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 (153) hide show
  1. package/.openapi-generator/FILES +36 -0
  2. package/README.md +2 -2
  3. package/api/document-templates-api.ts +67 -71
  4. package/api/documents-api.ts +39 -29
  5. package/api/docx-templates-api.ts +24 -12
  6. package/api/layouts-api.ts +20 -10
  7. package/api/product-documents-api.ts +14 -8
  8. package/api/search-keywords-api.ts +4 -2
  9. package/api/searchable-document-owners-api.ts +4 -2
  10. package/api/searchable-documents-api.ts +16 -16
  11. package/dist/api/document-templates-api.d.ts +59 -54
  12. package/dist/api/document-templates-api.js +34 -47
  13. package/dist/api/documents-api.d.ts +37 -31
  14. package/dist/api/documents-api.js +9 -11
  15. package/dist/api/docx-templates-api.d.ts +24 -18
  16. package/dist/api/layouts-api.d.ts +20 -15
  17. package/dist/api/product-documents-api.d.ts +15 -12
  18. package/dist/api/search-keywords-api.d.ts +4 -3
  19. package/dist/api/searchable-document-owners-api.d.ts +4 -3
  20. package/dist/api/searchable-documents-api.d.ts +13 -12
  21. package/dist/api/searchable-documents-api.js +9 -11
  22. package/dist/models/create-doc-template-request-dto.d.ts +2 -2
  23. package/dist/models/create-doc-template-response-class.d.ts +25 -0
  24. package/dist/models/create-doc-template-response-class.js +15 -0
  25. package/dist/models/create-document-request-dto.d.ts +10 -10
  26. package/dist/models/create-document-sync-response-class.d.ts +25 -0
  27. package/dist/models/create-document-sync-response-class.js +15 -0
  28. package/dist/models/create-layout-response-class.d.ts +25 -0
  29. package/dist/models/create-layout-response-class.js +15 -0
  30. package/dist/models/create-presigned-post-request-dto.d.ts +4 -4
  31. package/dist/models/create-presigned-post-response-class.d.ts +30 -0
  32. package/dist/models/create-presigned-post-response-class.js +15 -0
  33. package/dist/models/delete-response-class.d.ts +24 -0
  34. package/dist/models/delete-response-class.js +15 -0
  35. package/dist/models/doc-template-class.d.ts +104 -0
  36. package/dist/models/doc-template-class.js +15 -0
  37. package/dist/models/document-class.d.ts +171 -0
  38. package/dist/models/document-class.js +53 -0
  39. package/dist/models/docx-template-class.d.ts +102 -0
  40. package/dist/models/docx-template-class.js +15 -0
  41. package/dist/models/download-document-request-dto.d.ts +30 -0
  42. package/dist/models/download-document-request-dto.js +15 -0
  43. package/dist/models/get-doc-template-request-dto.d.ts +30 -0
  44. package/dist/models/get-doc-template-request-dto.js +15 -0
  45. package/dist/models/get-doc-template-response-class.d.ts +25 -0
  46. package/dist/models/get-doc-template-response-class.js +15 -0
  47. package/dist/models/get-document-download-url-response-class.d.ts +24 -0
  48. package/dist/models/get-document-download-url-response-class.js +15 -0
  49. package/dist/models/get-docx-template-download-url-response-class.d.ts +24 -0
  50. package/dist/models/get-docx-template-download-url-response-class.js +15 -0
  51. package/dist/models/get-docx-template-response-class.d.ts +25 -0
  52. package/dist/models/get-docx-template-response-class.js +15 -0
  53. package/dist/models/get-layout-response-class.d.ts +25 -0
  54. package/dist/models/get-layout-response-class.js +15 -0
  55. package/dist/models/get-product-document-download-url-response-class.d.ts +24 -0
  56. package/dist/models/get-product-document-download-url-response-class.js +15 -0
  57. package/dist/models/get-product-document-response-class.d.ts +25 -0
  58. package/dist/models/get-product-document-response-class.js +15 -0
  59. package/dist/models/get-signed-s3-key-url-response-class.d.ts +24 -0
  60. package/dist/models/get-signed-s3-key-url-response-class.js +15 -0
  61. package/dist/models/grpc-create-doc-template-request-dto.d.ts +55 -0
  62. package/dist/models/grpc-create-doc-template-request-dto.js +15 -0
  63. package/dist/models/grpc-update-doc-template-request-dto.d.ts +61 -0
  64. package/dist/models/grpc-update-doc-template-request-dto.js +15 -0
  65. package/dist/models/html-template-class.d.ts +78 -0
  66. package/dist/models/html-template-class.js +21 -0
  67. package/dist/models/index.d.ts +36 -0
  68. package/dist/models/index.js +36 -0
  69. package/dist/models/layout-class.d.ts +91 -0
  70. package/dist/models/layout-class.js +15 -0
  71. package/dist/models/list-doc-template-request-dto.d.ts +54 -0
  72. package/dist/models/list-doc-template-request-dto.js +15 -0
  73. package/dist/models/list-doc-templates-response-class.d.ts +31 -0
  74. package/dist/models/list-doc-templates-response-class.js +15 -0
  75. package/dist/models/list-documents-response-class.d.ts +31 -0
  76. package/dist/models/list-documents-response-class.js +15 -0
  77. package/dist/models/list-docx-templates-response-class.d.ts +31 -0
  78. package/dist/models/list-docx-templates-response-class.js +15 -0
  79. package/dist/models/list-layouts-response-class.d.ts +31 -0
  80. package/dist/models/list-layouts-response-class.js +15 -0
  81. package/dist/models/list-search-keywords-response-class.d.ts +24 -0
  82. package/dist/models/list-search-keywords-response-class.js +15 -0
  83. package/dist/models/list-searchable-document-owners-request-dto.d.ts +8 -1
  84. package/dist/models/list-searchable-document-owners-request-dto.js +7 -0
  85. package/dist/models/list-searchable-document-owners-response-class.d.ts +25 -0
  86. package/dist/models/list-searchable-document-owners-response-class.js +15 -0
  87. package/dist/models/list-searchable-documents-request-dto.d.ts +8 -1
  88. package/dist/models/list-searchable-documents-request-dto.js +7 -0
  89. package/dist/models/list-searchable-documents-response-class.d.ts +31 -0
  90. package/dist/models/list-searchable-documents-response-class.js +15 -0
  91. package/dist/models/searchable-document-class.d.ts +78 -0
  92. package/dist/models/searchable-document-class.js +15 -0
  93. package/dist/models/searchable-document-owner-class.d.ts +42 -0
  94. package/dist/models/searchable-document-owner-class.js +15 -0
  95. package/dist/models/update-doc-template-request-dto.d.ts +2 -2
  96. package/dist/models/update-doc-template-response-class.d.ts +25 -0
  97. package/dist/models/update-doc-template-response-class.js +15 -0
  98. package/dist/models/update-document-request-dto.d.ts +5 -5
  99. package/dist/models/update-document-response-class.d.ts +25 -0
  100. package/dist/models/update-document-response-class.js +15 -0
  101. package/dist/models/update-docx-template-response-class.d.ts +25 -0
  102. package/dist/models/update-docx-template-response-class.js +15 -0
  103. package/dist/models/update-layout-response-class.d.ts +25 -0
  104. package/dist/models/update-layout-response-class.js +15 -0
  105. package/dist/models/upload-docx-template-request-dto.d.ts +1 -1
  106. package/dist/models/upload-product-document-request-dto.d.ts +2 -2
  107. package/models/create-doc-template-request-dto.ts +2 -2
  108. package/models/create-doc-template-response-class.ts +31 -0
  109. package/models/create-document-request-dto.ts +10 -10
  110. package/models/create-document-sync-response-class.ts +31 -0
  111. package/models/create-layout-response-class.ts +31 -0
  112. package/models/create-presigned-post-request-dto.ts +4 -4
  113. package/models/create-presigned-post-response-class.ts +36 -0
  114. package/models/delete-response-class.ts +30 -0
  115. package/models/doc-template-class.ts +110 -0
  116. package/models/document-class.ts +181 -0
  117. package/models/docx-template-class.ts +108 -0
  118. package/models/download-document-request-dto.ts +36 -0
  119. package/models/get-doc-template-request-dto.ts +36 -0
  120. package/models/get-doc-template-response-class.ts +31 -0
  121. package/models/get-document-download-url-response-class.ts +30 -0
  122. package/models/get-docx-template-download-url-response-class.ts +30 -0
  123. package/models/get-docx-template-response-class.ts +31 -0
  124. package/models/get-layout-response-class.ts +31 -0
  125. package/models/get-product-document-download-url-response-class.ts +30 -0
  126. package/models/get-product-document-response-class.ts +31 -0
  127. package/models/get-signed-s3-key-url-response-class.ts +30 -0
  128. package/models/grpc-create-doc-template-request-dto.ts +61 -0
  129. package/models/grpc-update-doc-template-request-dto.ts +67 -0
  130. package/models/html-template-class.ts +87 -0
  131. package/models/index.ts +36 -0
  132. package/models/layout-class.ts +97 -0
  133. package/models/list-doc-template-request-dto.ts +60 -0
  134. package/models/list-doc-templates-response-class.ts +37 -0
  135. package/models/list-documents-response-class.ts +37 -0
  136. package/models/list-docx-templates-response-class.ts +37 -0
  137. package/models/list-layouts-response-class.ts +37 -0
  138. package/models/list-search-keywords-response-class.ts +30 -0
  139. package/models/list-searchable-document-owners-request-dto.ts +11 -1
  140. package/models/list-searchable-document-owners-response-class.ts +31 -0
  141. package/models/list-searchable-documents-request-dto.ts +11 -1
  142. package/models/list-searchable-documents-response-class.ts +37 -0
  143. package/models/searchable-document-class.ts +84 -0
  144. package/models/searchable-document-owner-class.ts +48 -0
  145. package/models/update-doc-template-request-dto.ts +2 -2
  146. package/models/update-doc-template-response-class.ts +31 -0
  147. package/models/update-document-request-dto.ts +5 -5
  148. package/models/update-document-response-class.ts +31 -0
  149. package/models/update-docx-template-response-class.ts +31 -0
  150. package/models/update-layout-response-class.ts +31 -0
  151. package/models/upload-docx-template-request-dto.ts +1 -1
  152. package/models/upload-product-document-request-dto.ts +2 -2
  153. package/package.json +1 -1
@@ -0,0 +1,42 @@
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
+ /**
31
+ * Identifier of the user who created the record.
32
+ * @type {string}
33
+ * @memberof SearchableDocumentOwnerClass
34
+ */
35
+ 'createdBy': string;
36
+ /**
37
+ * Identifier of the user who last updated the record.
38
+ * @type {string}
39
+ * @memberof SearchableDocumentOwnerClass
40
+ */
41
+ 'updatedBy': string;
42
+ }
@@ -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 });
@@ -45,13 +45,13 @@ export interface UpdateDocTemplateRequestDto {
45
45
  * @type {string}
46
46
  * @memberof UpdateDocTemplateRequestDto
47
47
  */
48
- 'productSlug': string;
48
+ 'productSlug'?: string;
49
49
  /**
50
50
  * The filename of the document template as it appears when sent to customers.
51
51
  * @type {string}
52
52
  * @memberof UpdateDocTemplateRequestDto
53
53
  */
54
- 'label': string;
54
+ 'label'?: string;
55
55
  /**
56
56
  * Internal unique identifier for the object. You should not have to use this, use code instead.
57
57
  * @type {number}
@@ -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 UpdateDocTemplateResponseClass
17
+ */
18
+ export interface UpdateDocTemplateResponseClass {
19
+ /**
20
+ * Document template.
21
+ * @type {DocTemplateClass}
22
+ * @memberof UpdateDocTemplateResponseClass
23
+ */
24
+ 'template': DocTemplateClass;
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 });
@@ -20,31 +20,31 @@ export interface UpdateDocumentRequestDto {
20
20
  * @type {string}
21
21
  * @memberof UpdateDocumentRequestDto
22
22
  */
23
- 'description': string;
23
+ 'description'?: string;
24
24
  /**
25
25
  * Unique identifier of the policy that this object belongs to.
26
26
  * @type {string}
27
27
  * @memberof UpdateDocumentRequestDto
28
28
  */
29
- 'policyCode': string;
29
+ 'policyCode'?: string;
30
30
  /**
31
31
  * Unique identifier of the account that this object belongs to.
32
32
  * @type {string}
33
33
  * @memberof UpdateDocumentRequestDto
34
34
  */
35
- 'accountCode': string;
35
+ 'accountCode'?: string;
36
36
  /**
37
37
  * Unique identifier of the lead that this object belongs to.
38
38
  * @type {string}
39
39
  * @memberof UpdateDocumentRequestDto
40
40
  */
41
- 'leadCode': string;
41
+ 'leadCode'?: string;
42
42
  /**
43
43
  * Unique identifier referencing the entity.
44
44
  * @type {number}
45
45
  * @memberof UpdateDocumentRequestDto
46
46
  */
47
- 'entityId': number;
47
+ 'entityId'?: number;
48
48
  /**
49
49
  * Document code
50
50
  * @type {string}
@@ -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 { 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
+ }
@@ -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 { 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
+ }
@@ -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 { 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
+ }
@@ -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 });
@@ -50,5 +50,5 @@ export interface UploadDocxTemplateRequestDto {
50
50
  * @type {number}
51
51
  * @memberof UploadDocxTemplateRequestDto
52
52
  */
53
- 'productVersionId': number;
53
+ 'productVersionId'?: number;
54
54
  }
@@ -20,7 +20,7 @@ export interface UploadProductDocumentRequestDto {
20
20
  * @type {string}
21
21
  * @memberof UploadProductDocumentRequestDto
22
22
  */
23
- 'productSlug': string;
23
+ 'productSlug'?: string;
24
24
  /**
25
25
  * Extension of the file.
26
26
  * @type {string}
@@ -62,7 +62,7 @@ export interface UploadProductDocumentRequestDto {
62
62
  * @type {number}
63
63
  * @memberof UploadProductDocumentRequestDto
64
64
  */
65
- 'productVersionId': number;
65
+ 'productVersionId'?: number;
66
66
  }
67
67
  export declare const UploadProductDocumentRequestDtoContentTypeEnum: {
68
68
  readonly Pdf: "pdf";
@@ -50,12 +50,12 @@ export interface CreateDocTemplateRequestDto {
50
50
  * @type {string}
51
51
  * @memberof CreateDocTemplateRequestDto
52
52
  */
53
- 'productSlug': string;
53
+ 'productSlug'?: string;
54
54
  /**
55
55
  * The filename of the document template as it appears when sent to customers.
56
56
  * @type {string}
57
57
  * @memberof CreateDocTemplateRequestDto
58
58
  */
59
- 'label': string;
59
+ 'label'?: string;
60
60
  }
61
61
 
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL DocumentService
5
+ * The EMIL DocumentService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * 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
+
@@ -43,7 +43,7 @@ export interface CreateDocumentRequestDto {
43
43
  * @type {string}
44
44
  * @memberof CreateDocumentRequestDto
45
45
  */
46
- 'strategy': CreateDocumentRequestDtoStrategyEnum;
46
+ 'strategy'?: CreateDocumentRequestDtoStrategyEnum;
47
47
  /**
48
48
  * Description of the document. Usually a short summary about the context in which the document is being used.
49
49
  * @type {string}
@@ -55,25 +55,25 @@ export interface CreateDocumentRequestDto {
55
55
  * @type {string}
56
56
  * @memberof CreateDocumentRequestDto
57
57
  */
58
- 'policyCode': string;
58
+ 'policyCode'?: string;
59
59
  /**
60
60
  * Unique identifier of the account that this object belongs to.
61
61
  * @type {string}
62
62
  * @memberof CreateDocumentRequestDto
63
63
  */
64
- 'accountCode': string;
64
+ 'accountCode'?: string;
65
65
  /**
66
66
  * Unique identifier of the lead that this object belongs to.
67
67
  * @type {string}
68
68
  * @memberof CreateDocumentRequestDto
69
69
  */
70
- 'leadCode': string;
70
+ 'leadCode'?: string;
71
71
  /**
72
72
  * Unique identifier referencing the entity.
73
73
  * @type {number}
74
74
  * @memberof CreateDocumentRequestDto
75
75
  */
76
- 'entityId': number;
76
+ 'entityId'?: number;
77
77
  /**
78
78
  * Identifier of the service that requested the creation of this document.
79
79
  * @type {string}
@@ -85,7 +85,7 @@ export interface CreateDocumentRequestDto {
85
85
  * @type {object}
86
86
  * @memberof CreateDocumentRequestDto
87
87
  */
88
- 'metadata': object;
88
+ 'metadata'?: object;
89
89
  /**
90
90
  * Type of the document expressed with its file extension.
91
91
  * @type {string}
@@ -97,25 +97,25 @@ export interface CreateDocumentRequestDto {
97
97
  * @type {string}
98
98
  * @memberof CreateDocumentRequestDto
99
99
  */
100
- 'filename': string;
100
+ 'filename'?: string;
101
101
  /**
102
102
  * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
103
103
  * @type {string}
104
104
  * @memberof CreateDocumentRequestDto
105
105
  */
106
- 'productSlug': string;
106
+ 'productSlug'?: string;
107
107
  /**
108
108
  * If true, the default margins will be skipped when generating the document.
109
109
  * @type {boolean}
110
110
  * @memberof CreateDocumentRequestDto
111
111
  */
112
- 'shouldSkipDefaultMargins': boolean;
112
+ 'shouldSkipDefaultMargins'?: boolean;
113
113
  /**
114
114
  * Type of the document engine to use to generate the document. Defaults to HTML.
115
115
  * @type {string}
116
116
  * @memberof CreateDocumentRequestDto
117
117
  */
118
- 'engine': CreateDocumentRequestDtoEngineEnum;
118
+ 'engine'?: CreateDocumentRequestDtoEngineEnum;
119
119
  }
120
120
 
121
121
  export const CreateDocumentRequestDtoStrategyEnum = {
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL DocumentService
5
+ * The EMIL DocumentService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * 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
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL DocumentService
5
+ * The EMIL DocumentService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * 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
+
@@ -49,19 +49,19 @@ export interface CreatePresignedPostRequestDto {
49
49
  * @type {string}
50
50
  * @memberof CreatePresignedPostRequestDto
51
51
  */
52
- 'policyCode': string;
52
+ 'policyCode'?: string;
53
53
  /**
54
54
  * Unique identifier of the account that this object belongs to.
55
55
  * @type {string}
56
56
  * @memberof CreatePresignedPostRequestDto
57
57
  */
58
- 'accountCode': string;
58
+ 'accountCode'?: string;
59
59
  /**
60
60
  * Unique identifier of the lead that this object belongs to.
61
61
  * @type {string}
62
62
  * @memberof CreatePresignedPostRequestDto
63
63
  */
64
- 'leadCode': string;
64
+ 'leadCode'?: string;
65
65
  /**
66
66
  * Identifier of the service that requested the creation of this document.
67
67
  * @type {string}
@@ -91,7 +91,7 @@ export interface CreatePresignedPostRequestDto {
91
91
  * @type {string}
92
92
  * @memberof CreatePresignedPostRequestDto
93
93
  */
94
- 'productSlug': string;
94
+ 'productSlug'?: string;
95
95
  /**
96
96
  * ERN under which the document will be uploaded. This is useful when uploading documents on behalf of a child organization
97
97
  * @type {string}
@@ -0,0 +1,36 @@
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
+
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL DocumentService
5
+ * The EMIL DocumentService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * 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
+