@emilgroup/document-sdk-node 1.11.0 → 1.11.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.
- package/.openapi-generator/FILES +4 -0
- package/README.md +2 -2
- package/api/docx-templates-api.ts +16 -8
- package/api/product-documents-api.ts +4 -4
- package/models/create-document-request-dto.ts +1 -13
- package/models/document-class.ts +1 -13
- package/models/docx-template-class.ts +96 -0
- package/models/get-docx-template-response-class.ts +31 -0
- package/models/index.ts +4 -0
- package/models/list-docx-templates-response-class.ts +37 -0
- package/models/product-document-class.ts +1 -13
- package/models/update-docx-template-response-class.ts +31 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -32,11 +32,13 @@ models/delete-request-dto.ts
|
|
|
32
32
|
models/delete-response-class.ts
|
|
33
33
|
models/doc-template-class.ts
|
|
34
34
|
models/document-class.ts
|
|
35
|
+
models/docx-template-class.ts
|
|
35
36
|
models/download-document-request-dto.ts
|
|
36
37
|
models/get-doc-template-request-dto.ts
|
|
37
38
|
models/get-doc-template-response-class.ts
|
|
38
39
|
models/get-document-download-url-response-class.ts
|
|
39
40
|
models/get-docx-template-download-url-response-class.ts
|
|
41
|
+
models/get-docx-template-response-class.ts
|
|
40
42
|
models/get-layout-request-dto.ts
|
|
41
43
|
models/get-layout-response-class.ts
|
|
42
44
|
models/get-product-document-download-url-response-class.ts
|
|
@@ -52,6 +54,7 @@ models/layout-class.ts
|
|
|
52
54
|
models/list-doc-template-request-dto.ts
|
|
53
55
|
models/list-doc-templates-response-class.ts
|
|
54
56
|
models/list-documents-response-class.ts
|
|
57
|
+
models/list-docx-templates-response-class.ts
|
|
55
58
|
models/list-layouts-response-class.ts
|
|
56
59
|
models/list-product-documents-response-class.ts
|
|
57
60
|
models/list-request-dto.ts
|
|
@@ -69,6 +72,7 @@ models/update-doc-template-request-dto.ts
|
|
|
69
72
|
models/update-doc-template-response-class.ts
|
|
70
73
|
models/update-document-request-dto.ts
|
|
71
74
|
models/update-document-response-class.ts
|
|
75
|
+
models/update-docx-template-response-class.ts
|
|
72
76
|
models/update-html-template-dto.ts
|
|
73
77
|
models/update-layout-request-dto.ts
|
|
74
78
|
models/update-layout-response-class.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/document-sdk-node@1.11.
|
|
20
|
+
npm install @emilgroup/document-sdk-node@1.11.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/document-sdk-node@1.11.
|
|
24
|
+
yarn add @emilgroup/document-sdk-node@1.11.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `DocumentsApi`.
|
|
@@ -21,12 +21,20 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { CreatePresignedPostResponseClass } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
24
26
|
import { DeleteResponseClass } from '../models';
|
|
25
27
|
// @ts-ignore
|
|
26
28
|
import { GetDocxTemplateDownloadUrlResponseClass } from '../models';
|
|
27
29
|
// @ts-ignore
|
|
30
|
+
import { GetDocxTemplateResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { ListDocxTemplatesResponseClass } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
28
34
|
import { SharedUpdateDocxTemplateRequestDto } from '../models';
|
|
29
35
|
// @ts-ignore
|
|
36
|
+
import { UpdateDocxTemplateResponseClass } from '../models';
|
|
37
|
+
// @ts-ignore
|
|
30
38
|
import { UploadDocxTemplateRequestDto } from '../models';
|
|
31
39
|
// URLSearchParams not necessarily used
|
|
32
40
|
// @ts-ignore
|
|
@@ -384,7 +392,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
384
392
|
* @param {*} [options] Override http request option.
|
|
385
393
|
* @throws {RequiredError}
|
|
386
394
|
*/
|
|
387
|
-
async getDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
395
|
+
async getDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDocxTemplateResponseClass>> {
|
|
388
396
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDocxTemplate(code, authorization, options);
|
|
389
397
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
390
398
|
},
|
|
@@ -401,7 +409,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
401
409
|
* @param {*} [options] Override http request option.
|
|
402
410
|
* @throws {RequiredError}
|
|
403
411
|
*/
|
|
404
|
-
async listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
412
|
+
async listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocxTemplatesResponseClass>> {
|
|
405
413
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
406
414
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
407
415
|
},
|
|
@@ -414,7 +422,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
414
422
|
* @param {*} [options] Override http request option.
|
|
415
423
|
* @throws {RequiredError}
|
|
416
424
|
*/
|
|
417
|
-
async updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
425
|
+
async updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateDocxTemplateResponseClass>> {
|
|
418
426
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDocxTemplate(code, sharedUpdateDocxTemplateRequestDto, authorization, options);
|
|
419
427
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
420
428
|
},
|
|
@@ -426,7 +434,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
426
434
|
* @param {*} [options] Override http request option.
|
|
427
435
|
* @throws {RequiredError}
|
|
428
436
|
*/
|
|
429
|
-
async uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
437
|
+
async uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePresignedPostResponseClass>> {
|
|
430
438
|
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadDocxTemplate(uploadDocxTemplateRequestDto, authorization, options);
|
|
431
439
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
432
440
|
},
|
|
@@ -470,7 +478,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
470
478
|
* @param {*} [options] Override http request option.
|
|
471
479
|
* @throws {RequiredError}
|
|
472
480
|
*/
|
|
473
|
-
getDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
481
|
+
getDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<GetDocxTemplateResponseClass> {
|
|
474
482
|
return localVarFp.getDocxTemplate(code, authorization, options).then((request) => request(axios, basePath));
|
|
475
483
|
},
|
|
476
484
|
/**
|
|
@@ -486,7 +494,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
486
494
|
* @param {*} [options] Override http request option.
|
|
487
495
|
* @throws {RequiredError}
|
|
488
496
|
*/
|
|
489
|
-
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<
|
|
497
|
+
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListDocxTemplatesResponseClass> {
|
|
490
498
|
return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
491
499
|
},
|
|
492
500
|
/**
|
|
@@ -498,7 +506,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
498
506
|
* @param {*} [options] Override http request option.
|
|
499
507
|
* @throws {RequiredError}
|
|
500
508
|
*/
|
|
501
|
-
updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
509
|
+
updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateDocxTemplateResponseClass> {
|
|
502
510
|
return localVarFp.updateDocxTemplate(code, sharedUpdateDocxTemplateRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
503
511
|
},
|
|
504
512
|
/**
|
|
@@ -509,7 +517,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
509
517
|
* @param {*} [options] Override http request option.
|
|
510
518
|
* @throws {RequiredError}
|
|
511
519
|
*/
|
|
512
|
-
uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
520
|
+
uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePresignedPostResponseClass> {
|
|
513
521
|
return localVarFp.uploadDocxTemplate(uploadDocxTemplateRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
514
522
|
},
|
|
515
523
|
};
|
|
@@ -21,14 +21,14 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { CreatePresignedPostResponseClass } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
24
26
|
import { GetProductDocumentDownloadUrlResponseClass } from '../models';
|
|
25
27
|
// @ts-ignore
|
|
26
28
|
import { GetProductDocumentResponseClass } from '../models';
|
|
27
29
|
// @ts-ignore
|
|
28
30
|
import { ListProductDocumentsResponseClass } from '../models';
|
|
29
31
|
// @ts-ignore
|
|
30
|
-
import { ProductDocumentClass } from '../models';
|
|
31
|
-
// @ts-ignore
|
|
32
32
|
import { UploadProductDocumentRequestDto } from '../models';
|
|
33
33
|
// URLSearchParams not necessarily used
|
|
34
34
|
// @ts-ignore
|
|
@@ -384,7 +384,7 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
384
384
|
* @param {*} [options] Override http request option.
|
|
385
385
|
* @throws {RequiredError}
|
|
386
386
|
*/
|
|
387
|
-
async uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
387
|
+
async uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePresignedPostResponseClass>> {
|
|
388
388
|
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadProductDocument(productSlug, uploadProductDocumentRequestDto, authorization, options);
|
|
389
389
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
390
390
|
},
|
|
@@ -459,7 +459,7 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
459
459
|
* @param {*} [options] Override http request option.
|
|
460
460
|
* @throws {RequiredError}
|
|
461
461
|
*/
|
|
462
|
-
uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
462
|
+
uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePresignedPostResponseClass> {
|
|
463
463
|
return localVarFp.uploadProductDocument(productSlug, uploadProductDocumentRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
464
464
|
},
|
|
465
465
|
};
|
|
@@ -37,7 +37,7 @@ export interface CreateDocumentRequestDto {
|
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof CreateDocumentRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'entityType':
|
|
40
|
+
'entityType': string;
|
|
41
41
|
/**
|
|
42
42
|
* Specifies the document creation strategy to be used, either synchronous or asynchronous.
|
|
43
43
|
* @type {string}
|
|
@@ -118,18 +118,6 @@ export interface CreateDocumentRequestDto {
|
|
|
118
118
|
'engine'?: CreateDocumentRequestDtoEngineEnum;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
export const CreateDocumentRequestDtoEntityTypeEnum = {
|
|
122
|
-
PolicyApplication: 'policy_application',
|
|
123
|
-
PolicyContract: 'policy_contract',
|
|
124
|
-
PolicyAddendum: 'policy_addendum',
|
|
125
|
-
InitialInvoice: 'initial_invoice',
|
|
126
|
-
CorrectionInvoice: 'correction_invoice',
|
|
127
|
-
RecurringInvoice: 'recurring_invoice',
|
|
128
|
-
SepaMandate: 'sepa_mandate',
|
|
129
|
-
Static: 'static'
|
|
130
|
-
} as const;
|
|
131
|
-
|
|
132
|
-
export type CreateDocumentRequestDtoEntityTypeEnum = typeof CreateDocumentRequestDtoEntityTypeEnum[keyof typeof CreateDocumentRequestDtoEntityTypeEnum];
|
|
133
121
|
export const CreateDocumentRequestDtoStrategyEnum = {
|
|
134
122
|
Sync: 'Sync',
|
|
135
123
|
Async: 'Async'
|
package/models/document-class.ts
CHANGED
|
@@ -43,7 +43,7 @@ export interface DocumentClass {
|
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof DocumentClass
|
|
45
45
|
*/
|
|
46
|
-
'entityType':
|
|
46
|
+
'entityType': string;
|
|
47
47
|
/**
|
|
48
48
|
* Payload used to replace variables in the template.
|
|
49
49
|
* @type {object}
|
|
@@ -124,18 +124,6 @@ export interface DocumentClass {
|
|
|
124
124
|
'ern': string;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
export const DocumentClassEntityTypeEnum = {
|
|
128
|
-
PolicyApplication: 'policy_application',
|
|
129
|
-
PolicyContract: 'policy_contract',
|
|
130
|
-
PolicyAddendum: 'policy_addendum',
|
|
131
|
-
InitialInvoice: 'initial_invoice',
|
|
132
|
-
CorrectionInvoice: 'correction_invoice',
|
|
133
|
-
RecurringInvoice: 'recurring_invoice',
|
|
134
|
-
SepaMandate: 'sepa_mandate',
|
|
135
|
-
Static: 'static'
|
|
136
|
-
} as const;
|
|
137
|
-
|
|
138
|
-
export type DocumentClassEntityTypeEnum = typeof DocumentClassEntityTypeEnum[keyof typeof DocumentClassEntityTypeEnum];
|
|
139
127
|
export const DocumentClassRequesterEnum = {
|
|
140
128
|
Accountservice: 'accountservice',
|
|
141
129
|
Insuranceservice: 'insuranceservice',
|
|
@@ -0,0 +1,96 @@
|
|
|
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 DocxTemplateClass
|
|
21
|
+
*/
|
|
22
|
+
export interface DocxTemplateClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof DocxTemplateClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof DocxTemplateClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof DocxTemplateClass
|
|
39
|
+
*/
|
|
40
|
+
'slug': string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof DocxTemplateClass
|
|
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 DocxTemplateClass
|
|
51
|
+
*/
|
|
52
|
+
'productSlug': string;
|
|
53
|
+
/**
|
|
54
|
+
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof DocxTemplateClass
|
|
57
|
+
*/
|
|
58
|
+
'description': string;
|
|
59
|
+
/**
|
|
60
|
+
* The unique key used by Amazon Simple Storage Service (S3).
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof DocxTemplateClass
|
|
63
|
+
*/
|
|
64
|
+
's3Key': string;
|
|
65
|
+
/**
|
|
66
|
+
* Document entity type.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof DocxTemplateClass
|
|
69
|
+
*/
|
|
70
|
+
'entityType': string;
|
|
71
|
+
/**
|
|
72
|
+
* Name of the file the end user will see when he downloads it.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof DocxTemplateClass
|
|
75
|
+
*/
|
|
76
|
+
'filename': string;
|
|
77
|
+
/**
|
|
78
|
+
* Version number of the template, incremented each time a new version is uploaded.
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof DocxTemplateClass
|
|
81
|
+
*/
|
|
82
|
+
'versionNumber': number;
|
|
83
|
+
/**
|
|
84
|
+
* Time at which the object was created.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof DocxTemplateClass
|
|
87
|
+
*/
|
|
88
|
+
'createdAt': string;
|
|
89
|
+
/**
|
|
90
|
+
* Time at which the object was updated.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof DocxTemplateClass
|
|
93
|
+
*/
|
|
94
|
+
'updatedAt': string;
|
|
95
|
+
}
|
|
96
|
+
|
|
@@ -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 GetDocxTemplateResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetDocxTemplateResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Docx Template
|
|
26
|
+
* @type {DocxTemplateClass}
|
|
27
|
+
* @memberof GetDocxTemplateResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'docxTemplate': DocxTemplateClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -13,11 +13,13 @@ export * from './delete-request-dto';
|
|
|
13
13
|
export * from './delete-response-class';
|
|
14
14
|
export * from './doc-template-class';
|
|
15
15
|
export * from './document-class';
|
|
16
|
+
export * from './docx-template-class';
|
|
16
17
|
export * from './download-document-request-dto';
|
|
17
18
|
export * from './get-doc-template-request-dto';
|
|
18
19
|
export * from './get-doc-template-response-class';
|
|
19
20
|
export * from './get-document-download-url-response-class';
|
|
20
21
|
export * from './get-docx-template-download-url-response-class';
|
|
22
|
+
export * from './get-docx-template-response-class';
|
|
21
23
|
export * from './get-layout-request-dto';
|
|
22
24
|
export * from './get-layout-response-class';
|
|
23
25
|
export * from './get-product-document-download-url-response-class';
|
|
@@ -32,6 +34,7 @@ export * from './layout-class';
|
|
|
32
34
|
export * from './list-doc-template-request-dto';
|
|
33
35
|
export * from './list-doc-templates-response-class';
|
|
34
36
|
export * from './list-documents-response-class';
|
|
37
|
+
export * from './list-docx-templates-response-class';
|
|
35
38
|
export * from './list-layouts-response-class';
|
|
36
39
|
export * from './list-product-documents-response-class';
|
|
37
40
|
export * from './list-request-dto';
|
|
@@ -49,6 +52,7 @@ export * from './update-doc-template-request-dto';
|
|
|
49
52
|
export * from './update-doc-template-response-class';
|
|
50
53
|
export * from './update-document-request-dto';
|
|
51
54
|
export * from './update-document-response-class';
|
|
55
|
+
export * from './update-docx-template-response-class';
|
|
52
56
|
export * from './update-html-template-dto';
|
|
53
57
|
export * from './update-layout-request-dto';
|
|
54
58
|
export * from './update-layout-response-class';
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
|
|
@@ -79,7 +79,7 @@ export interface ProductDocumentClass {
|
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof ProductDocumentClass
|
|
81
81
|
*/
|
|
82
|
-
'entityType':
|
|
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}
|
|
@@ -128,17 +128,5 @@ export const ProductDocumentClassContentTypeEnum = {
|
|
|
128
128
|
} as const;
|
|
129
129
|
|
|
130
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];
|
|
143
131
|
|
|
144
132
|
|
|
@@ -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
|
+
|