@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/.openapi-generator/FILES +1 -0
- package/README.md +2 -2
- package/api/docx-templates-api.ts +4 -4
- package/api/product-documents-api.ts +12 -210
- package/dist/api/docx-templates-api.d.ts +4 -4
- package/dist/api/product-documents-api.d.ts +8 -126
- package/dist/api/product-documents-api.js +8 -141
- package/dist/models/create-document-request-dto.d.ts +12 -1
- package/dist/models/create-document-request-dto.js +11 -1
- package/dist/models/document-class.d.ts +12 -1
- package/dist/models/document-class.js +11 -1
- package/dist/models/docx-template-class.d.ts +12 -1
- package/dist/models/docx-template-class.js +11 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/inline-response200.d.ts +6 -6
- package/dist/models/inline-response503.d.ts +6 -6
- package/dist/models/product-document-class.d.ts +25 -2
- package/dist/models/product-document-class.js +24 -2
- package/dist/models/upload-docx-template-response-class.d.ts +30 -0
- package/dist/models/upload-docx-template-response-class.js +15 -0
- package/models/create-document-request-dto.ts +13 -1
- package/models/document-class.ts +13 -1
- package/models/docx-template-class.ts +15 -1
- package/models/index.ts +1 -0
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/product-document-class.ts +27 -3
- package/models/upload-docx-template-response-class.ts +36 -0
- package/package.json +2 -2
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]:
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
32
32
|
* @memberof InlineResponse200
|
|
33
33
|
*/
|
|
34
|
-
'info'?: { [key: string]: { [key: string]:
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: string; }; } | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {{ [key: string]: { [key: string]:
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
38
38
|
* @memberof InlineResponse200
|
|
39
39
|
*/
|
|
40
|
-
'error'?: { [key: string]: { [key: string]:
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: string; }; } | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {{ [key: string]: { [key: string]:
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
44
44
|
* @memberof InlineResponse200
|
|
45
45
|
*/
|
|
46
|
-
'details'?: { [key: string]: { [key: string]:
|
|
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]:
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
32
32
|
* @memberof InlineResponse503
|
|
33
33
|
*/
|
|
34
|
-
'info'?: { [key: string]: { [key: string]:
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: string; }; } | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {{ [key: string]: { [key: string]:
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
38
38
|
* @memberof InlineResponse503
|
|
39
39
|
*/
|
|
40
|
-
'error'?: { [key: string]: { [key: string]:
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: string; }; } | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {{ [key: string]: { [key: string]:
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
44
44
|
* @memberof InlineResponse503
|
|
45
45
|
*/
|
|
46
|
-
'details'?: { [key: string]: { [key: string]:
|
|
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
|
-
*
|
|
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':
|
|
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.
|
|
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
|
-
|
|
26
|
+
"@types/node": "^12.11.5",
|
|
27
27
|
"typescript": "^4.0"
|
|
28
28
|
}
|
|
29
29
|
}
|