@emilgroup/document-sdk-node 1.11.3-beta.2 → 1.12.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.
package/models/index.ts CHANGED
@@ -57,4 +57,5 @@ export * from './update-html-template-dto';
57
57
  export * from './update-layout-request-dto';
58
58
  export * from './update-layout-response-class';
59
59
  export * from './upload-docx-template-request-dto';
60
+ export * from './upload-docx-template-response-class';
60
61
  export * from './upload-product-document-request-dto';
@@ -28,21 +28,21 @@ export interface InlineResponse200 {
28
28
  'status'?: string;
29
29
  /**
30
30
  *
31
- * @type {{ [key: string]: { [key: string]: object; }; }}
31
+ * @type {{ [key: string]: { [key: string]: string; }; }}
32
32
  * @memberof InlineResponse200
33
33
  */
34
- 'info'?: { [key: string]: { [key: string]: object; }; } | null;
34
+ 'info'?: { [key: string]: { [key: string]: string; }; } | null;
35
35
  /**
36
36
  *
37
- * @type {{ [key: string]: { [key: string]: object; }; }}
37
+ * @type {{ [key: string]: { [key: string]: string; }; }}
38
38
  * @memberof InlineResponse200
39
39
  */
40
- 'error'?: { [key: string]: { [key: string]: object; }; } | null;
40
+ 'error'?: { [key: string]: { [key: string]: string; }; } | null;
41
41
  /**
42
42
  *
43
- * @type {{ [key: string]: { [key: string]: object; }; }}
43
+ * @type {{ [key: string]: { [key: string]: string; }; }}
44
44
  * @memberof InlineResponse200
45
45
  */
46
- 'details'?: { [key: string]: { [key: string]: object; }; };
46
+ 'details'?: { [key: string]: { [key: string]: string; }; };
47
47
  }
48
48
 
@@ -28,21 +28,21 @@ export interface InlineResponse503 {
28
28
  'status'?: string;
29
29
  /**
30
30
  *
31
- * @type {{ [key: string]: { [key: string]: object; }; }}
31
+ * @type {{ [key: string]: { [key: string]: string; }; }}
32
32
  * @memberof InlineResponse503
33
33
  */
34
- 'info'?: { [key: string]: { [key: string]: object; }; } | null;
34
+ 'info'?: { [key: string]: { [key: string]: string; }; } | null;
35
35
  /**
36
36
  *
37
- * @type {{ [key: string]: { [key: string]: object; }; }}
37
+ * @type {{ [key: string]: { [key: string]: string; }; }}
38
38
  * @memberof InlineResponse503
39
39
  */
40
- 'error'?: { [key: string]: { [key: string]: object; }; } | null;
40
+ 'error'?: { [key: string]: { [key: string]: string; }; } | null;
41
41
  /**
42
42
  *
43
- * @type {{ [key: string]: { [key: string]: object; }; }}
43
+ * @type {{ [key: string]: { [key: string]: string; }; }}
44
44
  * @memberof InlineResponse503
45
45
  */
46
- 'details'?: { [key: string]: { [key: string]: object; }; };
46
+ 'details'?: { [key: string]: { [key: string]: string; }; };
47
47
  }
48
48
 
@@ -69,7 +69,7 @@ export interface ProductDocumentClass {
69
69
  */
70
70
  's3Key': string;
71
71
  /**
72
- * Extension of the file.
72
+ * Type of the document expressed with its file extension.
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': string;
82
+ 'entityType': ProductDocumentClassEntityTypeEnum;
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,11 +110,35 @@ export const ProductDocumentClassContentTypeEnum = {
110
110
  Pdf: 'pdf',
111
111
  Jpg: 'jpg',
112
112
  Png: 'png',
113
+ Gz: 'gz',
113
114
  Csv: 'csv',
114
115
  Doc: 'doc',
115
- Docx: 'docx'
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'
116
128
  } as const;
117
129
 
118
130
  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];
119
143
 
120
144
 
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL DocumentService
5
+ * The EMIL DocumentService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface UploadDocxTemplateResponseClass
21
+ */
22
+ export interface UploadDocxTemplateResponseClass {
23
+ /**
24
+ * Pre-signed url for uploading the docx template.
25
+ * @type {string}
26
+ * @memberof UploadDocxTemplateResponseClass
27
+ */
28
+ 'url': string;
29
+ /**
30
+ * Upload document fields.
31
+ * @type {object}
32
+ * @memberof UploadDocxTemplateResponseClass
33
+ */
34
+ 'fields': object;
35
+ }
36
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/document-sdk-node",
3
- "version": "1.11.3-beta.2",
3
+ "version": "1.12.0",
4
4
  "description": "OpenAPI client for @emilgroup/document-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -23,7 +23,7 @@
23
23
  "url": "^0.11.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/node": "^12.11.5",
26
+ "@types/node": "^12.11.5",
27
27
  "typescript": "^4.0"
28
28
  }
29
29
  }