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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/.openapi-generator/FILES +0 -38
  2. package/README.md +2 -2
  3. package/api/default-api.ts +8 -4
  4. package/api/document-templates-api.ts +79 -75
  5. package/api/documents-api.ts +18 -30
  6. package/api/docx-templates-api.ts +16 -28
  7. package/api/layouts-api.ts +18 -28
  8. package/api/product-documents-api.ts +19 -226
  9. package/api/search-keywords-api.ts +2 -4
  10. package/api/searchable-document-owners-api.ts +2 -4
  11. package/api/searchable-documents-api.ts +20 -20
  12. package/dist/api/default-api.d.ts +8 -4
  13. package/dist/api/default-api.js +8 -4
  14. package/dist/api/document-templates-api.d.ts +62 -67
  15. package/dist/api/document-templates-api.js +55 -42
  16. package/dist/api/documents-api.d.ts +25 -31
  17. package/dist/api/documents-api.js +4 -4
  18. package/dist/api/docx-templates-api.d.ts +22 -28
  19. package/dist/api/docx-templates-api.js +4 -4
  20. package/dist/api/layouts-api.d.ts +23 -28
  21. package/dist/api/layouts-api.js +8 -8
  22. package/dist/api/product-documents-api.d.ts +19 -141
  23. package/dist/api/product-documents-api.js +9 -143
  24. package/dist/api/search-keywords-api.d.ts +3 -4
  25. package/dist/api/searchable-document-owners-api.d.ts +3 -4
  26. package/dist/api/searchable-documents-api.d.ts +16 -17
  27. package/dist/api/searchable-documents-api.js +15 -13
  28. package/dist/models/create-doc-template-request-dto.d.ts +2 -2
  29. package/dist/models/create-document-request-dto.d.ts +10 -10
  30. package/dist/models/create-presigned-post-request-dto.d.ts +4 -4
  31. package/dist/models/index.d.ts +0 -38
  32. package/dist/models/index.js +0 -38
  33. package/dist/models/list-searchable-document-owners-request-dto.d.ts +1 -8
  34. package/dist/models/list-searchable-document-owners-request-dto.js +0 -7
  35. package/dist/models/list-searchable-documents-request-dto.d.ts +1 -8
  36. package/dist/models/list-searchable-documents-request-dto.js +0 -7
  37. package/dist/models/update-doc-template-request-dto.d.ts +2 -2
  38. package/dist/models/update-document-request-dto.d.ts +5 -5
  39. package/dist/models/upload-docx-template-request-dto.d.ts +1 -1
  40. package/dist/models/upload-product-document-request-dto.d.ts +2 -2
  41. package/models/create-doc-template-request-dto.ts +2 -2
  42. package/models/create-document-request-dto.ts +10 -10
  43. package/models/create-presigned-post-request-dto.ts +4 -4
  44. package/models/index.ts +0 -38
  45. package/models/list-searchable-document-owners-request-dto.ts +1 -11
  46. package/models/list-searchable-documents-request-dto.ts +1 -11
  47. package/models/update-doc-template-request-dto.ts +2 -2
  48. package/models/update-document-request-dto.ts +5 -5
  49. package/models/upload-docx-template-request-dto.ts +1 -1
  50. package/models/upload-product-document-request-dto.ts +2 -2
  51. package/package.json +1 -1
  52. package/dist/models/create-doc-template-response-class.d.ts +0 -25
  53. package/dist/models/create-doc-template-response-class.js +0 -15
  54. package/dist/models/create-document-sync-response-class.d.ts +0 -25
  55. package/dist/models/create-document-sync-response-class.js +0 -15
  56. package/dist/models/create-layout-response-class.d.ts +0 -25
  57. package/dist/models/create-layout-response-class.js +0 -15
  58. package/dist/models/create-presigned-post-response-class.d.ts +0 -30
  59. package/dist/models/create-presigned-post-response-class.js +0 -15
  60. package/dist/models/delete-response-class.d.ts +0 -24
  61. package/dist/models/delete-response-class.js +0 -15
  62. package/dist/models/doc-template-class.d.ts +0 -92
  63. package/dist/models/doc-template-class.js +0 -15
  64. package/dist/models/document-class.d.ts +0 -165
  65. package/dist/models/document-class.js +0 -53
  66. package/dist/models/docx-template-class.d.ts +0 -90
  67. package/dist/models/docx-template-class.js +0 -15
  68. package/dist/models/download-document-request-dto.d.ts +0 -30
  69. package/dist/models/download-document-request-dto.js +0 -15
  70. package/dist/models/get-doc-template-request-dto.d.ts +0 -30
  71. package/dist/models/get-doc-template-request-dto.js +0 -15
  72. package/dist/models/get-doc-template-response-class.d.ts +0 -25
  73. package/dist/models/get-doc-template-response-class.js +0 -15
  74. package/dist/models/get-document-download-url-response-class.d.ts +0 -24
  75. package/dist/models/get-document-download-url-response-class.js +0 -15
  76. package/dist/models/get-docx-template-download-url-response-class.d.ts +0 -24
  77. package/dist/models/get-docx-template-download-url-response-class.js +0 -15
  78. package/dist/models/get-docx-template-response-class.d.ts +0 -25
  79. package/dist/models/get-docx-template-response-class.js +0 -15
  80. package/dist/models/get-layout-response-class.d.ts +0 -25
  81. package/dist/models/get-layout-response-class.js +0 -15
  82. package/dist/models/get-product-document-download-url-response-class.d.ts +0 -24
  83. package/dist/models/get-product-document-download-url-response-class.js +0 -15
  84. package/dist/models/get-product-document-response-class.d.ts +0 -25
  85. package/dist/models/get-product-document-response-class.js +0 -15
  86. package/dist/models/get-signed-s3-key-url-response-class.d.ts +0 -24
  87. package/dist/models/get-signed-s3-key-url-response-class.js +0 -15
  88. package/dist/models/grpc-create-doc-template-request-dto.d.ts +0 -55
  89. package/dist/models/grpc-create-doc-template-request-dto.js +0 -15
  90. package/dist/models/grpc-update-doc-template-request-dto.d.ts +0 -61
  91. package/dist/models/grpc-update-doc-template-request-dto.js +0 -15
  92. package/dist/models/html-template-class.d.ts +0 -66
  93. package/dist/models/html-template-class.js +0 -21
  94. package/dist/models/layout-class.d.ts +0 -79
  95. package/dist/models/layout-class.js +0 -15
  96. package/dist/models/list-doc-template-request-dto.d.ts +0 -54
  97. package/dist/models/list-doc-template-request-dto.js +0 -15
  98. package/dist/models/list-doc-templates-response-class.d.ts +0 -31
  99. package/dist/models/list-doc-templates-response-class.js +0 -15
  100. package/dist/models/list-documents-response-class.d.ts +0 -31
  101. package/dist/models/list-documents-response-class.js +0 -15
  102. package/dist/models/list-docx-templates-response-class.d.ts +0 -31
  103. package/dist/models/list-docx-templates-response-class.js +0 -15
  104. package/dist/models/list-layouts-response-class.d.ts +0 -31
  105. package/dist/models/list-layouts-response-class.js +0 -15
  106. package/dist/models/list-product-documents-response-class.d.ts +0 -31
  107. package/dist/models/list-product-documents-response-class.js +0 -15
  108. package/dist/models/list-search-keywords-response-class.d.ts +0 -24
  109. package/dist/models/list-search-keywords-response-class.js +0 -15
  110. package/dist/models/list-searchable-document-owners-response-class.d.ts +0 -25
  111. package/dist/models/list-searchable-document-owners-response-class.js +0 -15
  112. package/dist/models/list-searchable-documents-response-class.d.ts +0 -31
  113. package/dist/models/list-searchable-documents-response-class.js +0 -15
  114. package/dist/models/product-document-class.d.ts +0 -117
  115. package/dist/models/product-document-class.js +0 -24
  116. package/dist/models/searchable-document-class.d.ts +0 -66
  117. package/dist/models/searchable-document-class.js +0 -15
  118. package/dist/models/searchable-document-owner-class.d.ts +0 -30
  119. package/dist/models/searchable-document-owner-class.js +0 -15
  120. package/dist/models/update-doc-template-response-class.d.ts +0 -25
  121. package/dist/models/update-doc-template-response-class.js +0 -15
  122. package/dist/models/update-document-response-class.d.ts +0 -25
  123. package/dist/models/update-document-response-class.js +0 -15
  124. package/dist/models/update-docx-template-response-class.d.ts +0 -25
  125. package/dist/models/update-docx-template-response-class.js +0 -15
  126. package/dist/models/update-layout-response-class.d.ts +0 -25
  127. package/dist/models/update-layout-response-class.js +0 -15
  128. package/models/create-doc-template-response-class.ts +0 -31
  129. package/models/create-document-sync-response-class.ts +0 -31
  130. package/models/create-layout-response-class.ts +0 -31
  131. package/models/create-presigned-post-response-class.ts +0 -36
  132. package/models/delete-response-class.ts +0 -30
  133. package/models/doc-template-class.ts +0 -98
  134. package/models/document-class.ts +0 -175
  135. package/models/docx-template-class.ts +0 -96
  136. package/models/download-document-request-dto.ts +0 -36
  137. package/models/get-doc-template-request-dto.ts +0 -36
  138. package/models/get-doc-template-response-class.ts +0 -31
  139. package/models/get-document-download-url-response-class.ts +0 -30
  140. package/models/get-docx-template-download-url-response-class.ts +0 -30
  141. package/models/get-docx-template-response-class.ts +0 -31
  142. package/models/get-layout-response-class.ts +0 -31
  143. package/models/get-product-document-download-url-response-class.ts +0 -30
  144. package/models/get-product-document-response-class.ts +0 -31
  145. package/models/get-signed-s3-key-url-response-class.ts +0 -30
  146. package/models/grpc-create-doc-template-request-dto.ts +0 -61
  147. package/models/grpc-update-doc-template-request-dto.ts +0 -67
  148. package/models/html-template-class.ts +0 -75
  149. package/models/layout-class.ts +0 -85
  150. package/models/list-doc-template-request-dto.ts +0 -60
  151. package/models/list-doc-templates-response-class.ts +0 -37
  152. package/models/list-documents-response-class.ts +0 -37
  153. package/models/list-docx-templates-response-class.ts +0 -37
  154. package/models/list-layouts-response-class.ts +0 -37
  155. package/models/list-product-documents-response-class.ts +0 -37
  156. package/models/list-search-keywords-response-class.ts +0 -30
  157. package/models/list-searchable-document-owners-response-class.ts +0 -31
  158. package/models/list-searchable-documents-response-class.ts +0 -37
  159. package/models/product-document-class.ts +0 -126
  160. package/models/searchable-document-class.ts +0 -72
  161. package/models/searchable-document-owner-class.ts +0 -36
  162. package/models/update-doc-template-response-class.ts +0 -31
  163. package/models/update-document-response-class.ts +0 -31
  164. package/models/update-docx-template-response-class.ts +0 -31
  165. package/models/update-layout-response-class.ts +0 -31
@@ -1,85 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL DocumentService
5
- * The EMIL DocumentService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import { HtmlTemplateClass } from './html-template-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface LayoutClass
22
- */
23
- export interface LayoutClass {
24
- /**
25
- * Internal unique identifier for the object. You should not have to use this, use code instead.
26
- * @type {number}
27
- * @memberof LayoutClass
28
- */
29
- 'id': number;
30
- /**
31
- * Record owner.
32
- * @type {string}
33
- * @memberof LayoutClass
34
- */
35
- 'owner': string;
36
- /**
37
- * Layout name.
38
- * @type {string}
39
- * @memberof LayoutClass
40
- */
41
- 'name': string;
42
- /**
43
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
44
- * @type {string}
45
- * @memberof LayoutClass
46
- */
47
- 'slug': string;
48
- /**
49
- * Layout style.
50
- * @type {string}
51
- * @memberof LayoutClass
52
- */
53
- 'style': string;
54
- /**
55
- * Header Template.
56
- * @type {HtmlTemplateClass}
57
- * @memberof LayoutClass
58
- */
59
- 'headerTemplate': HtmlTemplateClass;
60
- /**
61
- * Footer Template.
62
- * @type {HtmlTemplateClass}
63
- * @memberof LayoutClass
64
- */
65
- 'footerTemplate': HtmlTemplateClass;
66
- /**
67
- * Time at which the object was created.
68
- * @type {string}
69
- * @memberof LayoutClass
70
- */
71
- 'createdAt': string;
72
- /**
73
- * Time at which the object was updated.
74
- * @type {string}
75
- * @memberof LayoutClass
76
- */
77
- 'updatedAt': string;
78
- /**
79
- * Time at which the layout was deleted.
80
- * @type {string}
81
- * @memberof LayoutClass
82
- */
83
- 'deletedAt'?: string;
84
- }
85
-
@@ -1,60 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL DocumentService
5
- * The EMIL DocumentService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface ListDocTemplateRequestDto
21
- */
22
- export interface ListDocTemplateRequestDto {
23
- /**
24
- *
25
- * @type {number}
26
- * @memberof ListDocTemplateRequestDto
27
- */
28
- 'pageSize'?: number;
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof ListDocTemplateRequestDto
33
- */
34
- 'pageToken'?: string;
35
- /**
36
- *
37
- * @type {string}
38
- * @memberof ListDocTemplateRequestDto
39
- */
40
- 'filter'?: string;
41
- /**
42
- *
43
- * @type {string}
44
- * @memberof ListDocTemplateRequestDto
45
- */
46
- 'search'?: string;
47
- /**
48
- *
49
- * @type {string}
50
- * @memberof ListDocTemplateRequestDto
51
- */
52
- 'order'?: string;
53
- /**
54
- *
55
- * @type {string}
56
- * @memberof ListDocTemplateRequestDto
57
- */
58
- 'expand'?: string;
59
- }
60
-
@@ -1,37 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL DocumentService
5
- * The EMIL DocumentService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import { DocTemplateClass } from './doc-template-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface ListDocTemplatesResponseClass
22
- */
23
- export interface ListDocTemplatesResponseClass {
24
- /**
25
- * The list of document templates.
26
- * @type {Array<DocTemplateClass>}
27
- * @memberof ListDocTemplatesResponseClass
28
- */
29
- 'templates': Array<DocTemplateClass>;
30
- /**
31
- * Next page token.
32
- * @type {string}
33
- * @memberof ListDocTemplatesResponseClass
34
- */
35
- 'nextPageToken': string;
36
- }
37
-
@@ -1,37 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL DocumentService
5
- * The EMIL DocumentService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import { DocumentClass } from './document-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface ListDocumentsResponseClass
22
- */
23
- export interface ListDocumentsResponseClass {
24
- /**
25
- * The list of documents.
26
- * @type {Array<DocumentClass>}
27
- * @memberof ListDocumentsResponseClass
28
- */
29
- 'items': Array<DocumentClass>;
30
- /**
31
- * Next page token.
32
- * @type {string}
33
- * @memberof ListDocumentsResponseClass
34
- */
35
- 'nextPageToken': string;
36
- }
37
-
@@ -1,37 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL DocumentService
5
- * The EMIL DocumentService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import { DocxTemplateClass } from './docx-template-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface ListDocxTemplatesResponseClass
22
- */
23
- export interface ListDocxTemplatesResponseClass {
24
- /**
25
- * The list of docx templates.
26
- * @type {Array<DocxTemplateClass>}
27
- * @memberof ListDocxTemplatesResponseClass
28
- */
29
- 'items': Array<DocxTemplateClass>;
30
- /**
31
- * Next page token.
32
- * @type {string}
33
- * @memberof ListDocxTemplatesResponseClass
34
- */
35
- 'nextPageToken': string;
36
- }
37
-
@@ -1,37 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL DocumentService
5
- * The EMIL DocumentService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import { LayoutClass } from './layout-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface ListLayoutsResponseClass
22
- */
23
- export interface ListLayoutsResponseClass {
24
- /**
25
- * The list of layouts.
26
- * @type {Array<LayoutClass>}
27
- * @memberof ListLayoutsResponseClass
28
- */
29
- 'layouts': Array<LayoutClass>;
30
- /**
31
- * Next page token.
32
- * @type {string}
33
- * @memberof ListLayoutsResponseClass
34
- */
35
- 'nextPageToken': string;
36
- }
37
-
@@ -1,37 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL DocumentService
5
- * The EMIL DocumentService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import { ProductDocumentClass } from './product-document-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface ListProductDocumentsResponseClass
22
- */
23
- export interface ListProductDocumentsResponseClass {
24
- /**
25
- * The list of documents.
26
- * @type {Array<ProductDocumentClass>}
27
- * @memberof ListProductDocumentsResponseClass
28
- */
29
- 'items': Array<ProductDocumentClass>;
30
- /**
31
- * Next page token.
32
- * @type {string}
33
- * @memberof ListProductDocumentsResponseClass
34
- */
35
- 'nextPageToken': string;
36
- }
37
-
@@ -1,30 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL DocumentService
5
- * The EMIL DocumentService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface ListSearchKeywordsResponseClass
21
- */
22
- export interface ListSearchKeywordsResponseClass {
23
- /**
24
- * Keywords used for search and to be highlighted in the document preview.
25
- * @type {Array<string>}
26
- * @memberof ListSearchKeywordsResponseClass
27
- */
28
- 'keywords': Array<string>;
29
- }
30
-
@@ -1,31 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL DocumentService
5
- * The EMIL DocumentService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import { SearchableDocumentOwnerClass } from './searchable-document-owner-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface ListSearchableDocumentOwnersResponseClass
22
- */
23
- export interface ListSearchableDocumentOwnersResponseClass {
24
- /**
25
- * Searchable document owners
26
- * @type {Array<SearchableDocumentOwnerClass>}
27
- * @memberof ListSearchableDocumentOwnersResponseClass
28
- */
29
- 'owners': Array<SearchableDocumentOwnerClass>;
30
- }
31
-
@@ -1,37 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL DocumentService
5
- * The EMIL DocumentService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import { SearchableDocumentClass } from './searchable-document-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface ListSearchableDocumentsResponseClass
22
- */
23
- export interface ListSearchableDocumentsResponseClass {
24
- /**
25
- * Searchable documents that match the search criteria.
26
- * @type {Array<SearchableDocumentClass>}
27
- * @memberof ListSearchableDocumentsResponseClass
28
- */
29
- 'documents': Array<SearchableDocumentClass>;
30
- /**
31
- * Keywords used for search and to be highlighted in the document preview.
32
- * @type {Array<string>}
33
- * @memberof ListSearchableDocumentsResponseClass
34
- */
35
- 'keywords': Array<string>;
36
- }
37
-
@@ -1,126 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL DocumentService
5
- * The EMIL DocumentService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface ProductDocumentClass
21
- */
22
- export interface ProductDocumentClass {
23
- /**
24
- * Internal unique identifier for the object. You should not have to use this, use code instead.
25
- * @type {number}
26
- * @memberof ProductDocumentClass
27
- */
28
- 'id': number;
29
- /**
30
- * Unique identifier for the object.
31
- * @type {string}
32
- * @memberof ProductDocumentClass
33
- */
34
- 'code': string;
35
- /**
36
- * Unique identifier of the product that this object belongs to.
37
- * @type {string}
38
- * @memberof ProductDocumentClass
39
- */
40
- 'productCode': string;
41
- /**
42
- * Unique identifier referencing the product.
43
- * @type {number}
44
- * @memberof ProductDocumentClass
45
- */
46
- 'productVersionId': number;
47
- /**
48
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
49
- * @type {string}
50
- * @memberof ProductDocumentClass
51
- */
52
- 'slug': string;
53
- /**
54
- * Type of the product document.
55
- * @type {string}
56
- * @memberof ProductDocumentClass
57
- */
58
- 'type': string;
59
- /**
60
- * Description of the document. Usually a short summary about the context in which the document is being used.
61
- * @type {string}
62
- * @memberof ProductDocumentClass
63
- */
64
- 'description': string;
65
- /**
66
- * The unique key used by Amazon Simple Storage Service (S3).
67
- * @type {string}
68
- * @memberof ProductDocumentClass
69
- */
70
- 's3Key': string;
71
- /**
72
- * Extension of the file.
73
- * @type {string}
74
- * @memberof ProductDocumentClass
75
- */
76
- 'contentType': ProductDocumentClassContentTypeEnum;
77
- /**
78
- * Product Document entity type.
79
- * @type {string}
80
- * @memberof ProductDocumentClass
81
- */
82
- 'entityType': string;
83
- /**
84
- * The file name the end user will see when downloading it.
85
- * @type {string}
86
- * @memberof ProductDocumentClass
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 ProductDocumentClass
93
- */
94
- 'productSlug': string;
95
- /**
96
- * The current version number of the product document.
97
- * @type {number}
98
- * @memberof ProductDocumentClass
99
- */
100
- 'versionNumber': number;
101
- /**
102
- * Time at which the object was created.
103
- * @type {string}
104
- * @memberof ProductDocumentClass
105
- */
106
- 'createdAt': string;
107
- /**
108
- * Time at which the object was created.
109
- * @type {string}
110
- * @memberof ProductDocumentClass
111
- */
112
- 'updated': string;
113
- }
114
-
115
- export const ProductDocumentClassContentTypeEnum = {
116
- Pdf: 'pdf',
117
- Jpg: 'jpg',
118
- Png: 'png',
119
- Csv: 'csv',
120
- Doc: 'doc',
121
- Docx: 'docx'
122
- } as const;
123
-
124
- export type ProductDocumentClassContentTypeEnum = typeof ProductDocumentClassContentTypeEnum[keyof typeof ProductDocumentClassContentTypeEnum];
125
-
126
-
@@ -1,72 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL DocumentService
5
- * The EMIL DocumentService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface SearchableDocumentClass
21
- */
22
- export interface SearchableDocumentClass {
23
- /**
24
- * Internal unique identifier for the object. You should not have to use this, use code instead.
25
- * @type {number}
26
- * @memberof SearchableDocumentClass
27
- */
28
- 'id': number;
29
- /**
30
- * Searchable document name.
31
- * @type {string}
32
- * @memberof SearchableDocumentClass
33
- */
34
- 'name': string;
35
- /**
36
- * Internal unique identifier for the object. You should not have to use this, use code instead.
37
- * @type {number}
38
- * @memberof SearchableDocumentClass
39
- */
40
- 'ownerId': number;
41
- /**
42
- * Searchable document owner name.
43
- * @type {string}
44
- * @memberof SearchableDocumentClass
45
- */
46
- 'ownerName': string;
47
- /**
48
- * Headlines (snippets) from the document.
49
- * @type {Array<string>}
50
- * @memberof SearchableDocumentClass
51
- */
52
- 'headlines': Array<string>;
53
- /**
54
- * S3 key of the searchable document file.
55
- * @type {string}
56
- * @memberof SearchableDocumentClass
57
- */
58
- 's3Key': string;
59
- /**
60
- * Signed URL to download the document file from S3.
61
- * @type {string}
62
- * @memberof SearchableDocumentClass
63
- */
64
- 'signedS3Url': string;
65
- /**
66
- * Rank of the document in the search.
67
- * @type {number}
68
- * @memberof SearchableDocumentClass
69
- */
70
- 'rank': number;
71
- }
72
-
@@ -1,36 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL DocumentService
5
- * The EMIL DocumentService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface SearchableDocumentOwnerClass
21
- */
22
- export interface SearchableDocumentOwnerClass {
23
- /**
24
- * Internal unique identifier for the object. You should not have to use this, use code instead.
25
- * @type {number}
26
- * @memberof SearchableDocumentOwnerClass
27
- */
28
- 'id': number;
29
- /**
30
- * Searchable document owner name.
31
- * @type {string}
32
- * @memberof SearchableDocumentOwnerClass
33
- */
34
- 'name': string;
35
- }
36
-
@@ -1,31 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL DocumentService
5
- * The EMIL DocumentService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import { DocTemplateClass } from './doc-template-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface UpdateDocTemplateResponseClass
22
- */
23
- export interface UpdateDocTemplateResponseClass {
24
- /**
25
- * Document template.
26
- * @type {DocTemplateClass}
27
- * @memberof UpdateDocTemplateResponseClass
28
- */
29
- 'template': DocTemplateClass;
30
- }
31
-