@emilgroup/document-sdk-node 1.21.0 → 1.22.1-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 (167) 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 +42 -38
  6. package/api/docx-templates-api.ts +16 -28
  7. package/api/layouts-api.ts +18 -28
  8. package/api/product-documents-api.ts +47 -238
  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 +39 -36
  17. package/dist/api/documents-api.js +21 -13
  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 +37 -150
  23. package/dist/api/product-documents-api.js +29 -155
  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 +11 -10
  30. package/dist/models/create-document-request-dto.js +2 -1
  31. package/dist/models/create-presigned-post-request-dto.d.ts +5 -4
  32. package/dist/models/create-presigned-post-request-dto.js +2 -1
  33. package/dist/models/index.d.ts +0 -38
  34. package/dist/models/index.js +0 -38
  35. package/dist/models/list-searchable-document-owners-request-dto.d.ts +1 -8
  36. package/dist/models/list-searchable-document-owners-request-dto.js +0 -7
  37. package/dist/models/list-searchable-documents-request-dto.d.ts +1 -8
  38. package/dist/models/list-searchable-documents-request-dto.js +0 -7
  39. package/dist/models/update-doc-template-request-dto.d.ts +2 -2
  40. package/dist/models/update-document-request-dto.d.ts +5 -5
  41. package/dist/models/upload-docx-template-request-dto.d.ts +1 -1
  42. package/dist/models/upload-product-document-request-dto.d.ts +2 -2
  43. package/models/create-doc-template-request-dto.ts +2 -2
  44. package/models/create-document-request-dto.ts +12 -11
  45. package/models/create-presigned-post-request-dto.ts +6 -5
  46. package/models/index.ts +0 -38
  47. package/models/list-searchable-document-owners-request-dto.ts +1 -11
  48. package/models/list-searchable-documents-request-dto.ts +1 -11
  49. package/models/update-doc-template-request-dto.ts +2 -2
  50. package/models/update-document-request-dto.ts +5 -5
  51. package/models/upload-docx-template-request-dto.ts +1 -1
  52. package/models/upload-product-document-request-dto.ts +2 -2
  53. package/package.json +1 -1
  54. package/dist/models/create-doc-template-response-class.d.ts +0 -25
  55. package/dist/models/create-doc-template-response-class.js +0 -15
  56. package/dist/models/create-document-sync-response-class.d.ts +0 -25
  57. package/dist/models/create-document-sync-response-class.js +0 -15
  58. package/dist/models/create-layout-response-class.d.ts +0 -25
  59. package/dist/models/create-layout-response-class.js +0 -15
  60. package/dist/models/create-presigned-post-response-class.d.ts +0 -30
  61. package/dist/models/create-presigned-post-response-class.js +0 -15
  62. package/dist/models/delete-response-class.d.ts +0 -24
  63. package/dist/models/delete-response-class.js +0 -15
  64. package/dist/models/doc-template-class.d.ts +0 -92
  65. package/dist/models/doc-template-class.js +0 -15
  66. package/dist/models/document-class.d.ts +0 -158
  67. package/dist/models/document-class.js +0 -52
  68. package/dist/models/docx-template-class.d.ts +0 -90
  69. package/dist/models/docx-template-class.js +0 -15
  70. package/dist/models/download-document-request-dto.d.ts +0 -30
  71. package/dist/models/download-document-request-dto.js +0 -15
  72. package/dist/models/get-doc-template-request-dto.d.ts +0 -30
  73. package/dist/models/get-doc-template-request-dto.js +0 -15
  74. package/dist/models/get-doc-template-response-class.d.ts +0 -25
  75. package/dist/models/get-doc-template-response-class.js +0 -15
  76. package/dist/models/get-document-download-url-response-class.d.ts +0 -24
  77. package/dist/models/get-document-download-url-response-class.js +0 -15
  78. package/dist/models/get-docx-template-download-url-response-class.d.ts +0 -24
  79. package/dist/models/get-docx-template-download-url-response-class.js +0 -15
  80. package/dist/models/get-docx-template-response-class.d.ts +0 -25
  81. package/dist/models/get-docx-template-response-class.js +0 -15
  82. package/dist/models/get-layout-response-class.d.ts +0 -25
  83. package/dist/models/get-layout-response-class.js +0 -15
  84. package/dist/models/get-product-document-download-url-response-class.d.ts +0 -24
  85. package/dist/models/get-product-document-download-url-response-class.js +0 -15
  86. package/dist/models/get-product-document-response-class.d.ts +0 -25
  87. package/dist/models/get-product-document-response-class.js +0 -15
  88. package/dist/models/get-signed-s3-key-url-response-class.d.ts +0 -24
  89. package/dist/models/get-signed-s3-key-url-response-class.js +0 -15
  90. package/dist/models/grpc-create-doc-template-request-dto.d.ts +0 -55
  91. package/dist/models/grpc-create-doc-template-request-dto.js +0 -15
  92. package/dist/models/grpc-update-doc-template-request-dto.d.ts +0 -61
  93. package/dist/models/grpc-update-doc-template-request-dto.js +0 -15
  94. package/dist/models/html-template-class.d.ts +0 -66
  95. package/dist/models/html-template-class.js +0 -21
  96. package/dist/models/layout-class.d.ts +0 -79
  97. package/dist/models/layout-class.js +0 -15
  98. package/dist/models/list-doc-template-request-dto.d.ts +0 -54
  99. package/dist/models/list-doc-template-request-dto.js +0 -15
  100. package/dist/models/list-doc-templates-response-class.d.ts +0 -31
  101. package/dist/models/list-doc-templates-response-class.js +0 -15
  102. package/dist/models/list-documents-response-class.d.ts +0 -31
  103. package/dist/models/list-documents-response-class.js +0 -15
  104. package/dist/models/list-docx-templates-response-class.d.ts +0 -31
  105. package/dist/models/list-docx-templates-response-class.js +0 -15
  106. package/dist/models/list-layouts-response-class.d.ts +0 -31
  107. package/dist/models/list-layouts-response-class.js +0 -15
  108. package/dist/models/list-product-documents-response-class.d.ts +0 -31
  109. package/dist/models/list-product-documents-response-class.js +0 -15
  110. package/dist/models/list-search-keywords-response-class.d.ts +0 -24
  111. package/dist/models/list-search-keywords-response-class.js +0 -15
  112. package/dist/models/list-searchable-document-owners-response-class.d.ts +0 -25
  113. package/dist/models/list-searchable-document-owners-response-class.js +0 -15
  114. package/dist/models/list-searchable-documents-response-class.d.ts +0 -31
  115. package/dist/models/list-searchable-documents-response-class.js +0 -15
  116. package/dist/models/product-document-class.d.ts +0 -117
  117. package/dist/models/product-document-class.js +0 -24
  118. package/dist/models/searchable-document-class.d.ts +0 -66
  119. package/dist/models/searchable-document-class.js +0 -15
  120. package/dist/models/searchable-document-owner-class.d.ts +0 -30
  121. package/dist/models/searchable-document-owner-class.js +0 -15
  122. package/dist/models/update-doc-template-response-class.d.ts +0 -25
  123. package/dist/models/update-doc-template-response-class.js +0 -15
  124. package/dist/models/update-document-response-class.d.ts +0 -25
  125. package/dist/models/update-document-response-class.js +0 -15
  126. package/dist/models/update-docx-template-response-class.d.ts +0 -25
  127. package/dist/models/update-docx-template-response-class.js +0 -15
  128. package/dist/models/update-layout-response-class.d.ts +0 -25
  129. package/dist/models/update-layout-response-class.js +0 -15
  130. package/models/create-doc-template-response-class.ts +0 -31
  131. package/models/create-document-sync-response-class.ts +0 -31
  132. package/models/create-layout-response-class.ts +0 -31
  133. package/models/create-presigned-post-response-class.ts +0 -36
  134. package/models/delete-response-class.ts +0 -30
  135. package/models/doc-template-class.ts +0 -98
  136. package/models/document-class.ts +0 -168
  137. package/models/docx-template-class.ts +0 -96
  138. package/models/download-document-request-dto.ts +0 -36
  139. package/models/get-doc-template-request-dto.ts +0 -36
  140. package/models/get-doc-template-response-class.ts +0 -31
  141. package/models/get-document-download-url-response-class.ts +0 -30
  142. package/models/get-docx-template-download-url-response-class.ts +0 -30
  143. package/models/get-docx-template-response-class.ts +0 -31
  144. package/models/get-layout-response-class.ts +0 -31
  145. package/models/get-product-document-download-url-response-class.ts +0 -30
  146. package/models/get-product-document-response-class.ts +0 -31
  147. package/models/get-signed-s3-key-url-response-class.ts +0 -30
  148. package/models/grpc-create-doc-template-request-dto.ts +0 -61
  149. package/models/grpc-update-doc-template-request-dto.ts +0 -67
  150. package/models/html-template-class.ts +0 -75
  151. package/models/layout-class.ts +0 -85
  152. package/models/list-doc-template-request-dto.ts +0 -60
  153. package/models/list-doc-templates-response-class.ts +0 -37
  154. package/models/list-documents-response-class.ts +0 -37
  155. package/models/list-docx-templates-response-class.ts +0 -37
  156. package/models/list-layouts-response-class.ts +0 -37
  157. package/models/list-product-documents-response-class.ts +0 -37
  158. package/models/list-search-keywords-response-class.ts +0 -30
  159. package/models/list-searchable-document-owners-response-class.ts +0 -31
  160. package/models/list-searchable-documents-response-class.ts +0 -37
  161. package/models/product-document-class.ts +0 -126
  162. package/models/searchable-document-class.ts +0 -72
  163. package/models/searchable-document-owner-class.ts +0 -36
  164. package/models/update-doc-template-response-class.ts +0 -31
  165. package/models/update-document-response-class.ts +0 -31
  166. package/models/update-docx-template-response-class.ts +0 -31
  167. package/models/update-layout-response-class.ts +0 -31
@@ -50,13 +50,13 @@ export interface UpdateDocTemplateRequestDto {
50
50
  * @type {string}
51
51
  * @memberof UpdateDocTemplateRequestDto
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 UpdateDocTemplateRequestDto
58
58
  */
59
- 'label'?: string;
59
+ 'label': string;
60
60
  /**
61
61
  * Internal unique identifier for the object. You should not have to use this, use code instead.
62
62
  * @type {number}
@@ -25,31 +25,31 @@ export interface UpdateDocumentRequestDto {
25
25
  * @type {string}
26
26
  * @memberof UpdateDocumentRequestDto
27
27
  */
28
- 'description'?: string;
28
+ 'description': string;
29
29
  /**
30
30
  * Unique identifier of the policy that this object belongs to.
31
31
  * @type {string}
32
32
  * @memberof UpdateDocumentRequestDto
33
33
  */
34
- 'policyCode'?: string;
34
+ 'policyCode': string;
35
35
  /**
36
36
  * Unique identifier of the account that this object belongs to.
37
37
  * @type {string}
38
38
  * @memberof UpdateDocumentRequestDto
39
39
  */
40
- 'accountCode'?: string;
40
+ 'accountCode': string;
41
41
  /**
42
42
  * Unique identifier of the lead that this object belongs to.
43
43
  * @type {string}
44
44
  * @memberof UpdateDocumentRequestDto
45
45
  */
46
- 'leadCode'?: string;
46
+ 'leadCode': string;
47
47
  /**
48
48
  * Unique identifier referencing the entity.
49
49
  * @type {number}
50
50
  * @memberof UpdateDocumentRequestDto
51
51
  */
52
- 'entityId'?: number;
52
+ 'entityId': number;
53
53
  /**
54
54
  * Document code
55
55
  * @type {string}
@@ -55,6 +55,6 @@ export interface UploadDocxTemplateRequestDto {
55
55
  * @type {number}
56
56
  * @memberof UploadDocxTemplateRequestDto
57
57
  */
58
- 'productVersionId'?: number;
58
+ 'productVersionId': number;
59
59
  }
60
60
 
@@ -25,7 +25,7 @@ export interface UploadProductDocumentRequestDto {
25
25
  * @type {string}
26
26
  * @memberof UploadProductDocumentRequestDto
27
27
  */
28
- 'productSlug'?: string;
28
+ 'productSlug': string;
29
29
  /**
30
30
  * Extension of the file.
31
31
  * @type {string}
@@ -67,7 +67,7 @@ export interface UploadProductDocumentRequestDto {
67
67
  * @type {number}
68
68
  * @memberof UploadProductDocumentRequestDto
69
69
  */
70
- 'productVersionId'?: number;
70
+ 'productVersionId': number;
71
71
  }
72
72
 
73
73
  export const UploadProductDocumentRequestDtoContentTypeEnum = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/document-sdk-node",
3
- "version": "1.21.0",
3
+ "version": "1.22.1-beta.0",
4
4
  "description": "OpenAPI client for @emilgroup/document-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -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 CreateDocTemplateResponseClass
17
- */
18
- export interface CreateDocTemplateResponseClass {
19
- /**
20
- * Document template.
21
- * @type {DocTemplateClass}
22
- * @memberof CreateDocTemplateResponseClass
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 CreateDocumentSyncResponseClass
17
- */
18
- export interface CreateDocumentSyncResponseClass {
19
- /**
20
- * Document
21
- * @type {DocumentClass}
22
- * @memberof CreateDocumentSyncResponseClass
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 { LayoutClass } from './layout-class';
13
- /**
14
- *
15
- * @export
16
- * @interface CreateLayoutResponseClass
17
- */
18
- export interface CreateLayoutResponseClass {
19
- /**
20
- * Layout
21
- * @type {LayoutClass}
22
- * @memberof CreateLayoutResponseClass
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,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 CreatePresignedPostResponseClass
16
- */
17
- export interface CreatePresignedPostResponseClass {
18
- /**
19
- * Upload document fields.
20
- * @type {object}
21
- * @memberof CreatePresignedPostResponseClass
22
- */
23
- 'fields': object;
24
- /**
25
- * Pre-signed Url.
26
- * @type {string}
27
- * @memberof CreatePresignedPostResponseClass
28
- */
29
- 'url': 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,24 +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 DeleteResponseClass
16
- */
17
- export interface DeleteResponseClass {
18
- /**
19
- *
20
- * @type {object}
21
- * @memberof DeleteResponseClass
22
- */
23
- 'response': object;
24
- }
@@ -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,92 +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 { HtmlTemplateClass } from './html-template-class';
13
- import { LayoutClass } from './layout-class';
14
- /**
15
- *
16
- * @export
17
- * @interface DocTemplateClass
18
- */
19
- export interface DocTemplateClass {
20
- /**
21
- * Internal unique identifier for the object. You should not have to use this, use code instead.
22
- * @type {number}
23
- * @memberof DocTemplateClass
24
- */
25
- 'id': number;
26
- /**
27
- * Record owner.
28
- * @type {string}
29
- * @memberof DocTemplateClass
30
- */
31
- 'owner'?: string;
32
- /**
33
- * Template name.
34
- * @type {string}
35
- * @memberof DocTemplateClass
36
- */
37
- 'name': string;
38
- /**
39
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
40
- * @type {string}
41
- * @memberof DocTemplateClass
42
- */
43
- 'slug': string;
44
- /**
45
- * The filename of the document template as it appears when sent to customers.
46
- * @type {string}
47
- * @memberof DocTemplateClass
48
- */
49
- 'label'?: string;
50
- /**
51
- * Unique identifier referencing the layout.
52
- * @type {number}
53
- * @memberof DocTemplateClass
54
- */
55
- 'layoutId': number;
56
- /**
57
- * Body Template.
58
- * @type {HtmlTemplateClass}
59
- * @memberof DocTemplateClass
60
- */
61
- 'bodyTemplate'?: HtmlTemplateClass;
62
- /**
63
- * Template Layout.
64
- * @type {LayoutClass}
65
- * @memberof DocTemplateClass
66
- */
67
- 'layout'?: LayoutClass;
68
- /**
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
72
- */
73
- 'productSlug'?: string;
74
- /**
75
- * Time at which the object was created.
76
- * @type {string}
77
- * @memberof DocTemplateClass
78
- */
79
- 'createdAt': string;
80
- /**
81
- * Time at which the object was updated.
82
- * @type {string}
83
- * @memberof DocTemplateClass
84
- */
85
- 'updatedAt': string;
86
- /**
87
- * Time at which the object was deleted.
88
- * @type {string}
89
- * @memberof DocTemplateClass
90
- */
91
- 'deletedAt'?: string;
92
- }
@@ -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,158 +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 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': string;
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 DocumentClassRequesterEnum: {
122
- readonly Accountservice: "accountservice";
123
- readonly Insuranceservice: "insuranceservice";
124
- readonly Billingservice: "billingservice";
125
- readonly Tenantservice: "tenantservice";
126
- readonly BookingFunnel: "bookingFunnel";
127
- readonly Publicapi: "publicapi";
128
- readonly Admin: "admin";
129
- readonly Claimservice: "claimservice";
130
- readonly Customerservice: "customerservice";
131
- readonly Notificationservice: "notificationservice";
132
- readonly Paymentservice: "paymentservice";
133
- readonly Processmanager: "processmanager";
134
- readonly Gdvservice: "gdvservice";
135
- readonly Documentservice: "documentservice";
136
- };
137
- export type DocumentClassRequesterEnum = typeof DocumentClassRequesterEnum[keyof typeof DocumentClassRequesterEnum];
138
- export declare const DocumentClassContentTypeEnum: {
139
- readonly Pdf: "pdf";
140
- readonly Jpg: "jpg";
141
- readonly Png: "png";
142
- readonly Gz: "gz";
143
- readonly Csv: "csv";
144
- readonly Doc: "doc";
145
- readonly Docx: "docx";
146
- readonly Html: "html";
147
- readonly Json: "json";
148
- readonly Xml: "xml";
149
- readonly Txt: "txt";
150
- readonly Zip: "zip";
151
- readonly Tar: "tar";
152
- readonly Rar: "rar";
153
- readonly Mp4: "MP4";
154
- readonly Mov: "MOV";
155
- readonly Wmv: "WMV";
156
- readonly Avi: "AVI";
157
- };
158
- export type DocumentClassContentTypeEnum = typeof DocumentClassContentTypeEnum[keyof typeof DocumentClassContentTypeEnum];
@@ -1,52 +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 });
16
- exports.DocumentClassContentTypeEnum = exports.DocumentClassRequesterEnum = void 0;
17
- exports.DocumentClassRequesterEnum = {
18
- Accountservice: 'accountservice',
19
- Insuranceservice: 'insuranceservice',
20
- Billingservice: 'billingservice',
21
- Tenantservice: 'tenantservice',
22
- BookingFunnel: 'bookingFunnel',
23
- Publicapi: 'publicapi',
24
- Admin: 'admin',
25
- Claimservice: 'claimservice',
26
- Customerservice: 'customerservice',
27
- Notificationservice: 'notificationservice',
28
- Paymentservice: 'paymentservice',
29
- Processmanager: 'processmanager',
30
- Gdvservice: 'gdvservice',
31
- Documentservice: 'documentservice'
32
- };
33
- exports.DocumentClassContentTypeEnum = {
34
- Pdf: 'pdf',
35
- Jpg: 'jpg',
36
- Png: 'png',
37
- Gz: 'gz',
38
- Csv: 'csv',
39
- Doc: 'doc',
40
- Docx: 'docx',
41
- Html: 'html',
42
- Json: 'json',
43
- Xml: 'xml',
44
- Txt: 'txt',
45
- Zip: 'zip',
46
- Tar: 'tar',
47
- Rar: 'rar',
48
- Mp4: 'MP4',
49
- Mov: 'MOV',
50
- Wmv: 'WMV',
51
- Avi: 'AVI'
52
- };