@emilgroup/document-sdk-node 1.2.0 → 1.3.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 (141) hide show
  1. package/.openapi-generator/FILES +21 -0
  2. package/README.md +2 -2
  3. package/api/document-templates-api.ts +88 -94
  4. package/api/documents-api.ts +152 -34
  5. package/api/layouts-api.ts +52 -28
  6. package/api/product-documents-api.ts +599 -0
  7. package/api/search-keywords-api.ts +168 -0
  8. package/api/searchable-document-owners-api.ts +26 -22
  9. package/api/searchable-documents-api.ts +16 -12
  10. package/api.ts +4 -0
  11. package/dist/api/document-templates-api.d.ts +82 -78
  12. package/dist/api/document-templates-api.js +73 -67
  13. package/dist/api/documents-api.d.ts +93 -29
  14. package/dist/api/documents-api.js +121 -23
  15. package/dist/api/layouts-api.d.ts +52 -30
  16. package/dist/api/layouts-api.js +43 -23
  17. package/dist/api/product-documents-api.d.ts +345 -0
  18. package/dist/api/product-documents-api.js +558 -0
  19. package/dist/api/search-keywords-api.d.ts +96 -0
  20. package/dist/api/search-keywords-api.js +229 -0
  21. package/dist/api/searchable-document-owners-api.d.ts +23 -19
  22. package/dist/api/searchable-document-owners-api.js +16 -12
  23. package/dist/api/searchable-documents-api.d.ts +16 -12
  24. package/dist/api/searchable-documents-api.js +14 -10
  25. package/dist/api.d.ts +2 -0
  26. package/dist/api.js +2 -0
  27. package/dist/models/create-doc-template-request-dto.d.ts +10 -4
  28. package/dist/models/create-doc-template-response-class.d.ts +25 -0
  29. package/dist/models/create-doc-template-response-class.js +15 -0
  30. package/dist/models/create-document-request-dto.d.ts +21 -8
  31. package/dist/models/create-document-request-dto.js +2 -1
  32. package/dist/models/create-document-sync-response-class.d.ts +25 -0
  33. package/dist/models/create-document-sync-response-class.js +15 -0
  34. package/dist/models/create-html-template-dto.d.ts +1 -1
  35. package/dist/models/create-layout-request-dto.d.ts +10 -10
  36. package/dist/models/create-layout-response-class.d.ts +25 -0
  37. package/dist/models/create-layout-response-class.js +15 -0
  38. package/dist/models/create-presigned-post-request-dto.d.ts +128 -0
  39. package/dist/models/create-presigned-post-request-dto.js +52 -0
  40. package/dist/models/create-presigned-post-response-class.d.ts +30 -0
  41. package/dist/models/create-presigned-post-response-class.js +15 -0
  42. package/dist/models/delete-layout-request-dto.d.ts +1 -1
  43. package/dist/models/delete-product-document-request-dto.d.ts +30 -0
  44. package/dist/models/delete-product-document-request-dto.js +15 -0
  45. package/dist/models/delete-request-dto.d.ts +1 -1
  46. package/dist/models/delete-response-class.d.ts +24 -0
  47. package/dist/models/delete-response-class.js +15 -0
  48. package/dist/models/doc-template-class.d.ts +25 -19
  49. package/dist/models/document-class.d.ts +21 -8
  50. package/dist/models/document-class.js +2 -1
  51. package/dist/models/download-document-request-dto.d.ts +2 -2
  52. package/dist/models/get-doc-template-request-dto.d.ts +1 -1
  53. package/dist/models/get-doc-template-response-class.d.ts +1 -1
  54. package/dist/models/get-document-download-url-response-class.d.ts +1 -1
  55. package/dist/models/get-layout-request-dto.d.ts +1 -1
  56. package/dist/models/get-product-document-response-class.d.ts +25 -0
  57. package/dist/models/get-product-document-response-class.js +15 -0
  58. package/dist/models/get-signed-s3-key-url-response-class.d.ts +24 -0
  59. package/dist/models/get-signed-s3-key-url-response-class.js +15 -0
  60. package/dist/models/html-template-class.d.ts +7 -7
  61. package/dist/models/index.d.ts +19 -0
  62. package/dist/models/index.js +19 -0
  63. package/dist/models/layout-class.d.ts +11 -11
  64. package/dist/models/list-doc-template-request-dto.d.ts +48 -0
  65. package/dist/models/list-doc-template-request-dto.js +15 -0
  66. package/dist/models/list-doc-templates-response-class.d.ts +1 -1
  67. package/dist/models/list-documents-response-class.d.ts +1 -1
  68. package/dist/models/list-layouts-response-class.d.ts +1 -1
  69. package/dist/models/list-product-documents-response-class.d.ts +31 -0
  70. package/dist/models/list-product-documents-response-class.js +15 -0
  71. package/dist/models/list-search-keywords-request-dto.d.ts +24 -0
  72. package/dist/models/list-search-keywords-request-dto.js +15 -0
  73. package/dist/models/list-search-keywords-response-class.d.ts +24 -0
  74. package/dist/models/list-search-keywords-response-class.js +15 -0
  75. package/dist/models/list-searchable-document-owners-response-class.d.ts +3 -2
  76. package/dist/models/list-searchable-documents-request-dto.d.ts +2 -2
  77. package/dist/models/list-searchable-documents-response-class.d.ts +5 -4
  78. package/dist/models/product-document-class.d.ts +99 -0
  79. package/dist/models/product-document-class.js +36 -0
  80. package/dist/models/searchable-document-class.d.ts +66 -0
  81. package/dist/models/searchable-document-class.js +15 -0
  82. package/dist/models/searchable-document-owner-class.d.ts +30 -0
  83. package/dist/models/searchable-document-owner-class.js +15 -0
  84. package/dist/models/update-doc-template-request-dto.d.ts +16 -10
  85. package/dist/models/update-doc-template-response-class.d.ts +1 -1
  86. package/dist/models/update-document-request-dto.d.ts +10 -4
  87. package/dist/models/update-document-response-class.d.ts +25 -0
  88. package/dist/models/update-document-response-class.js +15 -0
  89. package/dist/models/update-html-template-dto.d.ts +42 -0
  90. package/dist/models/update-html-template-dto.js +21 -0
  91. package/dist/models/update-layout-request-dto.d.ts +15 -15
  92. package/dist/models/update-layout-response-class.d.ts +1 -1
  93. package/dist/models/upload-product-document-request-dto.d.ts +63 -0
  94. package/dist/models/upload-product-document-request-dto.js +24 -0
  95. package/models/create-doc-template-request-dto.ts +10 -4
  96. package/models/create-doc-template-response-class.ts +31 -0
  97. package/models/create-document-request-dto.ts +22 -9
  98. package/models/create-document-sync-response-class.ts +31 -0
  99. package/models/create-html-template-dto.ts +1 -1
  100. package/models/create-layout-request-dto.ts +10 -10
  101. package/models/create-layout-response-class.ts +31 -0
  102. package/models/create-presigned-post-request-dto.ts +138 -0
  103. package/models/create-presigned-post-response-class.ts +36 -0
  104. package/models/delete-layout-request-dto.ts +1 -1
  105. package/models/delete-product-document-request-dto.ts +36 -0
  106. package/models/delete-request-dto.ts +1 -1
  107. package/models/delete-response-class.ts +30 -0
  108. package/models/doc-template-class.ts +25 -19
  109. package/models/document-class.ts +22 -9
  110. package/models/download-document-request-dto.ts +2 -2
  111. package/models/get-doc-template-request-dto.ts +1 -1
  112. package/models/get-doc-template-response-class.ts +1 -1
  113. package/models/get-document-download-url-response-class.ts +1 -1
  114. package/models/get-layout-request-dto.ts +1 -1
  115. package/models/get-product-document-response-class.ts +31 -0
  116. package/models/get-signed-s3-key-url-response-class.ts +30 -0
  117. package/models/html-template-class.ts +7 -7
  118. package/models/index.ts +19 -0
  119. package/models/layout-class.ts +11 -11
  120. package/models/list-doc-template-request-dto.ts +54 -0
  121. package/models/list-doc-templates-response-class.ts +1 -1
  122. package/models/list-documents-response-class.ts +1 -1
  123. package/models/list-layouts-response-class.ts +1 -1
  124. package/models/list-product-documents-response-class.ts +37 -0
  125. package/models/list-search-keywords-request-dto.ts +30 -0
  126. package/models/list-search-keywords-response-class.ts +30 -0
  127. package/models/list-searchable-document-owners-response-class.ts +3 -2
  128. package/models/list-searchable-documents-request-dto.ts +2 -2
  129. package/models/list-searchable-documents-response-class.ts +5 -4
  130. package/models/product-document-class.ts +108 -0
  131. package/models/searchable-document-class.ts +72 -0
  132. package/models/searchable-document-owner-class.ts +36 -0
  133. package/models/update-doc-template-request-dto.ts +16 -10
  134. package/models/update-doc-template-response-class.ts +1 -1
  135. package/models/update-document-request-dto.ts +10 -4
  136. package/models/update-document-response-class.ts +31 -0
  137. package/models/update-html-template-dto.ts +51 -0
  138. package/models/update-layout-request-dto.ts +15 -15
  139. package/models/update-layout-response-class.ts +1 -1
  140. package/models/upload-product-document-request-dto.ts +72 -0
  141. package/package.json +2 -2
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { CreateHtmlTemplateDto } from './create-html-template-dto';
12
+ import { UpdateHtmlTemplateDto } from './update-html-template-dto';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -17,39 +17,39 @@ import { CreateHtmlTemplateDto } from './create-html-template-dto';
17
17
  */
18
18
  export interface UpdateLayoutRequestDto {
19
19
  /**
20
- * Layout name
20
+ * Layout name.
21
21
  * @type {string}
22
22
  * @memberof UpdateLayoutRequestDto
23
23
  */
24
24
  'name': string;
25
25
  /**
26
- * Layout slug
26
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
27
27
  * @type {string}
28
28
  * @memberof UpdateLayoutRequestDto
29
29
  */
30
30
  'slug': string;
31
31
  /**
32
- * Layout style
33
- * @type {string}
32
+ * Header template.
33
+ * @type {UpdateHtmlTemplateDto}
34
34
  * @memberof UpdateLayoutRequestDto
35
35
  */
36
- 'style': string;
36
+ 'headerTemplate': UpdateHtmlTemplateDto;
37
37
  /**
38
- * Layout id
39
- * @type {number}
38
+ * Footer template.
39
+ * @type {UpdateHtmlTemplateDto}
40
40
  * @memberof UpdateLayoutRequestDto
41
41
  */
42
- 'id': number;
42
+ 'footerTemplate': UpdateHtmlTemplateDto;
43
43
  /**
44
- *
45
- * @type {CreateHtmlTemplateDto}
44
+ * Layout style.
45
+ * @type {string}
46
46
  * @memberof UpdateLayoutRequestDto
47
47
  */
48
- 'headerTemplate': CreateHtmlTemplateDto;
48
+ 'style': string;
49
49
  /**
50
- *
51
- * @type {CreateHtmlTemplateDto}
50
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
51
+ * @type {number}
52
52
  * @memberof UpdateLayoutRequestDto
53
53
  */
54
- 'footerTemplate': CreateHtmlTemplateDto;
54
+ 'id': number;
55
55
  }
@@ -17,7 +17,7 @@ import { LayoutClass } from './layout-class';
17
17
  */
18
18
  export interface UpdateLayoutResponseClass {
19
19
  /**
20
- * Layout id
20
+ * Layout
21
21
  * @type {LayoutClass}
22
22
  * @memberof UpdateLayoutResponseClass
23
23
  */
@@ -0,0 +1,63 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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 UploadProductDocumentRequestDto
16
+ */
17
+ export interface UploadProductDocumentRequestDto {
18
+ /**
19
+ * Slug of the product.
20
+ * @type {string}
21
+ * @memberof UploadProductDocumentRequestDto
22
+ */
23
+ 'productSlug'?: string;
24
+ /**
25
+ * Extension of the file.
26
+ * @type {string}
27
+ * @memberof UploadProductDocumentRequestDto
28
+ */
29
+ 'contentType': UploadProductDocumentRequestDtoContentTypeEnum;
30
+ /**
31
+ * Description of the document. Usually a short summary about the context in which the document is being used.
32
+ * @type {string}
33
+ * @memberof UploadProductDocumentRequestDto
34
+ */
35
+ 'description': string;
36
+ /**
37
+ * Name of the file the end user will see when he downloads it.
38
+ * @type {string}
39
+ * @memberof UploadProductDocumentRequestDto
40
+ */
41
+ 'filename': string;
42
+ /**
43
+ * Type of the product document.
44
+ * @type {string}
45
+ * @memberof UploadProductDocumentRequestDto
46
+ */
47
+ 'type': string;
48
+ /**
49
+ * Id of the product version, and is optional. If not provided, the document will be attached to the latest version of the product.
50
+ * @type {number}
51
+ * @memberof UploadProductDocumentRequestDto
52
+ */
53
+ 'productVersionId'?: number;
54
+ }
55
+ export declare const UploadProductDocumentRequestDtoContentTypeEnum: {
56
+ readonly Pdf: "pdf";
57
+ readonly Jpg: "jpg";
58
+ readonly Png: "png";
59
+ readonly Csv: "csv";
60
+ readonly Doc: "doc";
61
+ readonly Docx: "docx";
62
+ };
63
+ export type UploadProductDocumentRequestDtoContentTypeEnum = typeof UploadProductDocumentRequestDtoContentTypeEnum[keyof typeof UploadProductDocumentRequestDtoContentTypeEnum];
@@ -0,0 +1,24 @@
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
+ *
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.UploadProductDocumentRequestDtoContentTypeEnum = void 0;
17
+ exports.UploadProductDocumentRequestDtoContentTypeEnum = {
18
+ Pdf: 'pdf',
19
+ Jpg: 'jpg',
20
+ Png: 'png',
21
+ Csv: 'csv',
22
+ Doc: 'doc',
23
+ Docx: 'docx'
24
+ };
@@ -22,28 +22,34 @@ import { CreateHtmlTemplateDto } from './create-html-template-dto';
22
22
  */
23
23
  export interface CreateDocTemplateRequestDto {
24
24
  /**
25
- * Template name
25
+ * Template name.
26
26
  * @type {string}
27
27
  * @memberof CreateDocTemplateRequestDto
28
28
  */
29
29
  'name': string;
30
30
  /**
31
- * Template slug
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
32
  * @type {string}
33
33
  * @memberof CreateDocTemplateRequestDto
34
34
  */
35
35
  'slug': string;
36
36
  /**
37
- *
37
+ * Unique identifier referencing the layout.
38
38
  * @type {number}
39
39
  * @memberof CreateDocTemplateRequestDto
40
40
  */
41
41
  'layoutId': number;
42
42
  /**
43
- *
43
+ * Body template.
44
44
  * @type {CreateHtmlTemplateDto}
45
45
  * @memberof CreateDocTemplateRequestDto
46
46
  */
47
47
  'bodyTemplate': CreateHtmlTemplateDto;
48
+ /**
49
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
50
+ * @type {string}
51
+ * @memberof CreateDocTemplateRequestDto
52
+ */
53
+ 'productSlug'?: string;
48
54
  }
49
55
 
@@ -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
+ *
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
+
@@ -21,7 +21,7 @@
21
21
  */
22
22
  export interface CreateDocumentRequestDto {
23
23
  /**
24
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. In this case, the template used for this document.
24
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
25
25
  * @type {string}
26
26
  * @memberof CreateDocumentRequestDto
27
27
  */
@@ -33,13 +33,13 @@ export interface CreateDocumentRequestDto {
33
33
  */
34
34
  'payload': object;
35
35
  /**
36
- * Document entity type
36
+ * Document entity type.
37
37
  * @type {string}
38
38
  * @memberof CreateDocumentRequestDto
39
39
  */
40
40
  'entityType': CreateDocumentRequestDtoEntityTypeEnum;
41
41
  /**
42
- * Description of the document. Usually a short summary about the context in which the document is being used.
42
+ * Specifies the document creation strategy to be used, either synchronous or asynchronous.
43
43
  * @type {string}
44
44
  * @memberof CreateDocumentRequestDto
45
45
  */
@@ -51,19 +51,25 @@ export interface CreateDocumentRequestDto {
51
51
  */
52
52
  'description': string;
53
53
  /**
54
- * Unique identifier of the policy that the document belongs to
54
+ * Unique identifier of the policy that this object belongs to.
55
55
  * @type {string}
56
56
  * @memberof CreateDocumentRequestDto
57
57
  */
58
58
  'policyCode'?: string;
59
59
  /**
60
- * Unique identifier of the account that the document belongs to
60
+ * Unique identifier of the account that this object belongs to.
61
61
  * @type {string}
62
62
  * @memberof CreateDocumentRequestDto
63
63
  */
64
64
  'accountCode'?: string;
65
65
  /**
66
- * Unique identifier referencing the entity on the service the document belongs to.
66
+ * Unique identifier of the lead that this object belongs to.
67
+ * @type {string}
68
+ * @memberof CreateDocumentRequestDto
69
+ */
70
+ 'leadCode'?: string;
71
+ /**
72
+ * Unique identifier referencing the entity.
67
73
  * @type {number}
68
74
  * @memberof CreateDocumentRequestDto
69
75
  */
@@ -75,7 +81,7 @@ export interface CreateDocumentRequestDto {
75
81
  */
76
82
  'requester': CreateDocumentRequestDtoRequesterEnum;
77
83
  /**
78
- * Metadata can contain extra information that the document would need for specific cases.
84
+ * Metadata contains extra information that the object would need for specific cases.
79
85
  * @type {object}
80
86
  * @memberof CreateDocumentRequestDto
81
87
  */
@@ -85,13 +91,19 @@ export interface CreateDocumentRequestDto {
85
91
  * @type {string}
86
92
  * @memberof CreateDocumentRequestDto
87
93
  */
88
- 'contentType'?: CreateDocumentRequestDtoContentTypeEnum;
94
+ 'contentType': CreateDocumentRequestDtoContentTypeEnum;
89
95
  /**
90
96
  * Name of the file the end user will see when he downloads it.
91
97
  * @type {string}
92
98
  * @memberof CreateDocumentRequestDto
93
99
  */
94
100
  'filename'?: string;
101
+ /**
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
+ * @type {string}
104
+ * @memberof CreateDocumentRequestDto
105
+ */
106
+ 'productSlug'?: string;
95
107
  }
96
108
 
97
109
  export const CreateDocumentRequestDtoEntityTypeEnum = {
@@ -125,7 +137,8 @@ export const CreateDocumentRequestDtoRequesterEnum = {
125
137
  Notificationservice: 'notificationservice',
126
138
  Paymentservice: 'paymentservice',
127
139
  Processmanager: 'processmanager',
128
- Gdvservice: 'gdvservice'
140
+ Gdvservice: 'gdvservice',
141
+ Documentservice: 'documentservice'
129
142
  } as const;
130
143
 
131
144
  export type CreateDocumentRequestDtoRequesterEnum = typeof CreateDocumentRequestDtoRequesterEnum[keyof typeof CreateDocumentRequestDtoRequesterEnum];
@@ -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
+ *
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
+
@@ -21,7 +21,7 @@
21
21
  */
22
22
  export interface CreateHtmlTemplateDto {
23
23
  /**
24
- * Template draft content
24
+ * Template draft content.
25
25
  * @type {string}
26
26
  * @memberof CreateHtmlTemplateDto
27
27
  */
@@ -22,34 +22,34 @@ import { CreateHtmlTemplateDto } from './create-html-template-dto';
22
22
  */
23
23
  export interface CreateLayoutRequestDto {
24
24
  /**
25
- * Layout name
25
+ * Layout name.
26
26
  * @type {string}
27
27
  * @memberof CreateLayoutRequestDto
28
28
  */
29
29
  'name': string;
30
30
  /**
31
- * Layout slug
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
32
  * @type {string}
33
33
  * @memberof CreateLayoutRequestDto
34
34
  */
35
35
  'slug': string;
36
36
  /**
37
- * Layout style
38
- * @type {string}
39
- * @memberof CreateLayoutRequestDto
40
- */
41
- 'style': string;
42
- /**
43
- *
37
+ * Header template.
44
38
  * @type {CreateHtmlTemplateDto}
45
39
  * @memberof CreateLayoutRequestDto
46
40
  */
47
41
  'headerTemplate': CreateHtmlTemplateDto;
48
42
  /**
49
- *
43
+ * Footer template.
50
44
  * @type {CreateHtmlTemplateDto}
51
45
  * @memberof CreateLayoutRequestDto
52
46
  */
53
47
  'footerTemplate': CreateHtmlTemplateDto;
48
+ /**
49
+ * Layout style.
50
+ * @type {string}
51
+ * @memberof CreateLayoutRequestDto
52
+ */
53
+ 'style': string;
54
54
  }
55
55
 
@@ -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
+ *
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
+
@@ -0,0 +1,138 @@
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
+ *
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 CreatePresignedPostRequestDto
21
+ */
22
+ export interface CreatePresignedPostRequestDto {
23
+ /**
24
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
25
+ * @type {string}
26
+ * @memberof CreatePresignedPostRequestDto
27
+ */
28
+ 'templateSlug': string;
29
+ /**
30
+ * Document entity type.
31
+ * @type {string}
32
+ * @memberof CreatePresignedPostRequestDto
33
+ */
34
+ 'entityType': string;
35
+ /**
36
+ * Unique identifier referencing the entity.
37
+ * @type {number}
38
+ * @memberof CreatePresignedPostRequestDto
39
+ */
40
+ 'entityId': number;
41
+ /**
42
+ * Description of the document. Usually a short summary about the context in which the document is being used.
43
+ * @type {string}
44
+ * @memberof CreatePresignedPostRequestDto
45
+ */
46
+ 'description': string;
47
+ /**
48
+ * Unique identifier of the policy that this object belongs to.
49
+ * @type {string}
50
+ * @memberof CreatePresignedPostRequestDto
51
+ */
52
+ 'policyCode'?: string;
53
+ /**
54
+ * Unique identifier of the account that this object belongs to.
55
+ * @type {string}
56
+ * @memberof CreatePresignedPostRequestDto
57
+ */
58
+ 'accountCode'?: string;
59
+ /**
60
+ * Unique identifier of the lead that this object belongs to.
61
+ * @type {string}
62
+ * @memberof CreatePresignedPostRequestDto
63
+ */
64
+ 'leadCode'?: string;
65
+ /**
66
+ * Identifier of the service that requested the creation of this document.
67
+ * @type {string}
68
+ * @memberof CreatePresignedPostRequestDto
69
+ */
70
+ 'requester': CreatePresignedPostRequestDtoRequesterEnum;
71
+ /**
72
+ * Extension of the file.
73
+ * @type {string}
74
+ * @memberof CreatePresignedPostRequestDto
75
+ */
76
+ 'contentType': CreatePresignedPostRequestDtoContentTypeEnum;
77
+ /**
78
+ * Content type of the file.
79
+ * @type {string}
80
+ * @memberof CreatePresignedPostRequestDto
81
+ */
82
+ 'isoContentType': string;
83
+ /**
84
+ * Name of the file the end user will see when he downloads it.
85
+ * @type {string}
86
+ * @memberof CreatePresignedPostRequestDto
87
+ */
88
+ 'filename': string;
89
+ /**
90
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
91
+ * @type {string}
92
+ * @memberof CreatePresignedPostRequestDto
93
+ */
94
+ 'productSlug'?: string;
95
+ }
96
+
97
+ export const CreatePresignedPostRequestDtoRequesterEnum = {
98
+ Accountservice: 'accountservice',
99
+ Insuranceservice: 'insuranceservice',
100
+ Billingservice: 'billingservice',
101
+ Tenantservice: 'tenantservice',
102
+ BookingFunnel: 'bookingFunnel',
103
+ Publicapi: 'publicapi',
104
+ Admin: 'admin',
105
+ Claimservice: 'claimservice',
106
+ Customerservice: 'customerservice',
107
+ Notificationservice: 'notificationservice',
108
+ Paymentservice: 'paymentservice',
109
+ Processmanager: 'processmanager',
110
+ Gdvservice: 'gdvservice',
111
+ Documentservice: 'documentservice'
112
+ } as const;
113
+
114
+ export type CreatePresignedPostRequestDtoRequesterEnum = typeof CreatePresignedPostRequestDtoRequesterEnum[keyof typeof CreatePresignedPostRequestDtoRequesterEnum];
115
+ export const CreatePresignedPostRequestDtoContentTypeEnum = {
116
+ Pdf: 'pdf',
117
+ Jpg: 'jpg',
118
+ Png: 'png',
119
+ Gz: 'gz',
120
+ Csv: 'csv',
121
+ Doc: 'doc',
122
+ Docx: 'docx',
123
+ Html: 'html',
124
+ Json: 'json',
125
+ Xml: 'xml',
126
+ Txt: 'txt',
127
+ Zip: 'zip',
128
+ Tar: 'tar',
129
+ Rar: 'rar',
130
+ Mp4: 'MP4',
131
+ Mov: 'MOV',
132
+ Wmv: 'WMV',
133
+ Avi: 'AVI'
134
+ } as const;
135
+
136
+ export type CreatePresignedPostRequestDtoContentTypeEnum = typeof CreatePresignedPostRequestDtoContentTypeEnum[keyof typeof CreatePresignedPostRequestDtoContentTypeEnum];
137
+
138
+
@@ -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
+ *
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
+
@@ -21,7 +21,7 @@
21
21
  */
22
22
  export interface DeleteLayoutRequestDto {
23
23
  /**
24
- * Layout id
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
25
  * @type {number}
26
26
  * @memberof DeleteLayoutRequestDto
27
27
  */
@@ -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
+ *
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 DeleteProductDocumentRequestDto
21
+ */
22
+ export interface DeleteProductDocumentRequestDto {
23
+ /**
24
+ * Unique identifier for the object.
25
+ * @type {string}
26
+ * @memberof DeleteProductDocumentRequestDto
27
+ */
28
+ 'code': string;
29
+ /**
30
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
31
+ * @type {string}
32
+ * @memberof DeleteProductDocumentRequestDto
33
+ */
34
+ 'productSlug': string;
35
+ }
36
+
@@ -21,7 +21,7 @@
21
21
  */
22
22
  export interface DeleteRequestDto {
23
23
  /**
24
- * Resource id
24
+ * Unique identifier for the object.
25
25
  * @type {string}
26
26
  * @memberof DeleteRequestDto
27
27
  */