@emilgroup/document-sdk-node 1.12.0 → 1.12.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.
- package/.openapi-generator/FILES +0 -1
- package/README.md +2 -2
- package/api/docx-templates-api.ts +4 -4
- package/api/product-documents-api.ts +210 -12
- package/dist/api/docx-templates-api.d.ts +4 -4
- package/dist/api/product-documents-api.d.ts +126 -8
- package/dist/api/product-documents-api.js +141 -8
- package/dist/models/create-document-request-dto.d.ts +1 -12
- package/dist/models/create-document-request-dto.js +1 -11
- package/dist/models/document-class.d.ts +1 -12
- package/dist/models/document-class.js +1 -11
- package/dist/models/docx-template-class.d.ts +1 -12
- package/dist/models/docx-template-class.js +0 -11
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- 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 +8 -25
- package/dist/models/product-document-class.js +2 -24
- package/models/create-document-request-dto.ts +1 -13
- package/models/document-class.ts +1 -13
- package/models/docx-template-class.ts +1 -15
- package/models/index.ts +0 -1
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/product-document-class.ts +9 -27
- package/package.json +1 -1
- package/dist/models/upload-docx-template-response-class.d.ts +0 -30
- package/dist/models/upload-docx-template-response-class.js +0 -15
- package/models/upload-docx-template-response-class.ts +0 -36
|
@@ -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]: object; }; }}
|
|
32
32
|
* @memberof InlineResponse503
|
|
33
33
|
*/
|
|
34
|
-
'info'?: { [key: string]: { [key: string]:
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {{ [key: string]: { [key: string]:
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
38
38
|
* @memberof InlineResponse503
|
|
39
39
|
*/
|
|
40
|
-
'error'?: { [key: string]: { [key: string]:
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {{ [key: string]: { [key: string]:
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
44
44
|
* @memberof InlineResponse503
|
|
45
45
|
*/
|
|
46
|
-
'details'?: { [key: string]: { [key: string]:
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: object; }; };
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -69,7 +69,7 @@ export interface ProductDocumentClass {
|
|
|
69
69
|
*/
|
|
70
70
|
's3Key': string;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* Extension of the file.
|
|
73
73
|
* @type {string}
|
|
74
74
|
* @memberof ProductDocumentClass
|
|
75
75
|
*/
|
|
@@ -79,7 +79,13 @@ export interface ProductDocumentClass {
|
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof ProductDocumentClass
|
|
81
81
|
*/
|
|
82
|
-
'entityType':
|
|
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;
|
|
83
89
|
/**
|
|
84
90
|
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
85
91
|
* @type {string}
|
|
@@ -110,35 +116,11 @@ export const ProductDocumentClassContentTypeEnum = {
|
|
|
110
116
|
Pdf: 'pdf',
|
|
111
117
|
Jpg: 'jpg',
|
|
112
118
|
Png: 'png',
|
|
113
|
-
Gz: 'gz',
|
|
114
119
|
Csv: 'csv',
|
|
115
120
|
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'
|
|
121
|
+
Docx: 'docx'
|
|
128
122
|
} as const;
|
|
129
123
|
|
|
130
124
|
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
125
|
|
|
144
126
|
|
package/package.json
CHANGED
|
@@ -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 UploadDocxTemplateResponseClass
|
|
16
|
-
*/
|
|
17
|
-
export interface UploadDocxTemplateResponseClass {
|
|
18
|
-
/**
|
|
19
|
-
* Pre-signed url for uploading the docx template.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UploadDocxTemplateResponseClass
|
|
22
|
-
*/
|
|
23
|
-
'url': string;
|
|
24
|
-
/**
|
|
25
|
-
* Upload document fields.
|
|
26
|
-
* @type {object}
|
|
27
|
-
* @memberof UploadDocxTemplateResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'fields': object;
|
|
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,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 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
|
-
|