@emilgroup/document-sdk-node 1.11.3-beta.0 → 1.11.3-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/README.md +2 -2
  3. package/api/docx-templates-api.ts +16 -8
  4. package/api/product-documents-api.ts +210 -12
  5. package/dist/api/docx-templates-api.d.ts +16 -12
  6. package/dist/api/product-documents-api.d.ts +126 -8
  7. package/dist/api/product-documents-api.js +141 -8
  8. package/dist/models/create-document-request-dto.d.ts +1 -12
  9. package/dist/models/create-document-request-dto.js +1 -11
  10. package/dist/models/document-class.d.ts +1 -12
  11. package/dist/models/document-class.js +1 -11
  12. package/dist/models/docx-template-class.d.ts +90 -0
  13. package/dist/models/docx-template-class.js +15 -0
  14. package/dist/models/get-docx-template-response-class.d.ts +25 -0
  15. package/dist/models/get-docx-template-response-class.js +15 -0
  16. package/dist/models/index.d.ts +4 -0
  17. package/dist/models/index.js +4 -0
  18. package/dist/models/inline-response200.d.ts +6 -6
  19. package/dist/models/inline-response503.d.ts +6 -6
  20. package/dist/models/list-docx-templates-response-class.d.ts +31 -0
  21. package/dist/models/list-docx-templates-response-class.js +15 -0
  22. package/dist/models/product-document-class.d.ts +2 -25
  23. package/dist/models/product-document-class.js +2 -24
  24. package/dist/models/update-docx-template-response-class.d.ts +25 -0
  25. package/dist/models/update-docx-template-response-class.js +15 -0
  26. package/models/create-document-request-dto.ts +1 -13
  27. package/models/document-class.ts +1 -13
  28. package/models/docx-template-class.ts +96 -0
  29. package/models/get-docx-template-response-class.ts +31 -0
  30. package/models/index.ts +4 -0
  31. package/models/inline-response200.ts +6 -6
  32. package/models/inline-response503.ts +6 -6
  33. package/models/list-docx-templates-response-class.ts +37 -0
  34. package/models/product-document-class.ts +3 -27
  35. package/models/update-docx-template-response-class.ts +31 -0
  36. package/package.json +1 -1
@@ -69,7 +69,7 @@ export interface ProductDocumentClass {
69
69
  */
70
70
  's3Key': string;
71
71
  /**
72
- * Type of the document expressed with its file extension.
72
+ * Extension of the file.
73
73
  * @type {string}
74
74
  * @memberof ProductDocumentClass
75
75
  */
@@ -79,7 +79,7 @@ export interface ProductDocumentClass {
79
79
  * @type {string}
80
80
  * @memberof ProductDocumentClass
81
81
  */
82
- 'entityType': ProductDocumentClassEntityTypeEnum;
82
+ 'entityType': string;
83
83
  /**
84
84
  * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
85
85
  * @type {string}
@@ -110,35 +110,11 @@ export const ProductDocumentClassContentTypeEnum = {
110
110
  Pdf: 'pdf',
111
111
  Jpg: 'jpg',
112
112
  Png: 'png',
113
- Gz: 'gz',
114
113
  Csv: 'csv',
115
114
  Doc: 'doc',
116
- Docx: 'docx',
117
- Html: 'html',
118
- Json: 'json',
119
- Xml: 'xml',
120
- Txt: 'txt',
121
- Zip: 'zip',
122
- Tar: 'tar',
123
- Rar: 'rar',
124
- Mp4: 'MP4',
125
- Mov: 'MOV',
126
- Wmv: 'WMV',
127
- Avi: 'AVI'
115
+ Docx: 'docx'
128
116
  } as const;
129
117
 
130
118
  export type ProductDocumentClassContentTypeEnum = typeof ProductDocumentClassContentTypeEnum[keyof typeof ProductDocumentClassContentTypeEnum];
131
- export const ProductDocumentClassEntityTypeEnum = {
132
- PolicyApplication: 'policy_application',
133
- PolicyContract: 'policy_contract',
134
- PolicyAddendum: 'policy_addendum',
135
- InitialInvoice: 'initial_invoice',
136
- CorrectionInvoice: 'correction_invoice',
137
- RecurringInvoice: 'recurring_invoice',
138
- SepaMandate: 'sepa_mandate',
139
- Static: 'static'
140
- } as const;
141
-
142
- export type ProductDocumentClassEntityTypeEnum = typeof ProductDocumentClassEntityTypeEnum[keyof typeof ProductDocumentClassEntityTypeEnum];
143
119
 
144
120
 
@@ -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 { DocxTemplateClass } from './docx-template-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdateDocxTemplateResponseClass
22
+ */
23
+ export interface UpdateDocxTemplateResponseClass {
24
+ /**
25
+ * Document
26
+ * @type {DocxTemplateClass}
27
+ * @memberof UpdateDocxTemplateResponseClass
28
+ */
29
+ 'docxTemplate': DocxTemplateClass;
30
+ }
31
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/document-sdk-node",
3
- "version": "1.11.3-beta.0",
3
+ "version": "1.11.3-beta.2",
4
4
  "description": "OpenAPI client for @emilgroup/document-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [