@emilgroup/document-sdk 1.12.3 → 1.16.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 +0 -1
- package/README.md +2 -2
- package/api/docx-templates-api.ts +4 -4
- package/api/product-documents-api.ts +4 -4
- package/dist/api/docx-templates-api.d.ts +4 -4
- package/dist/api/product-documents-api.d.ts +4 -4
- 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 +2 -13
- 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/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 +2 -16
- package/models/index.ts +0 -1
- 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
package/.openapi-generator/FILES
CHANGED
|
@@ -77,7 +77,6 @@ models/update-html-template-dto.ts
|
|
|
77
77
|
models/update-layout-request-dto.ts
|
|
78
78
|
models/update-layout-response-class.ts
|
|
79
79
|
models/upload-docx-template-request-dto.ts
|
|
80
|
-
models/upload-docx-template-response-class.ts
|
|
81
80
|
models/upload-product-document-request-dto.ts
|
|
82
81
|
package.json
|
|
83
82
|
tsconfig.json
|
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@1.
|
|
20
|
+
npm install @emilgroup/document-sdk@1.16.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/document-sdk@1.
|
|
24
|
+
yarn add @emilgroup/document-sdk@1.16.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `DocumentsApi`.
|
|
@@ -21,6 +21,8 @@ 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';
|
|
@@ -34,8 +36,6 @@ import { SharedUpdateDocxTemplateRequestDto } from '../models';
|
|
|
34
36
|
import { UpdateDocxTemplateResponseClass } from '../models';
|
|
35
37
|
// @ts-ignore
|
|
36
38
|
import { UploadDocxTemplateRequestDto } from '../models';
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
import { UploadDocxTemplateResponseClass } from '../models';
|
|
39
39
|
/**
|
|
40
40
|
* DocxTemplatesApi - axios parameter creator
|
|
41
41
|
* @export
|
|
@@ -430,7 +430,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
430
430
|
* @param {*} [options] Override http request option.
|
|
431
431
|
* @throws {RequiredError}
|
|
432
432
|
*/
|
|
433
|
-
async uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
433
|
+
async uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePresignedPostResponseClass>> {
|
|
434
434
|
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadDocxTemplate(uploadDocxTemplateRequestDto, authorization, options);
|
|
435
435
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
436
436
|
},
|
|
@@ -513,7 +513,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
513
513
|
* @param {*} [options] Override http request option.
|
|
514
514
|
* @throws {RequiredError}
|
|
515
515
|
*/
|
|
516
|
-
uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
516
|
+
uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePresignedPostResponseClass> {
|
|
517
517
|
return localVarFp.uploadDocxTemplate(uploadDocxTemplateRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
518
518
|
},
|
|
519
519
|
};
|
|
@@ -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
|
/**
|
|
34
34
|
* ProductDocumentsApi - axios parameter creator
|
|
@@ -380,7 +380,7 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
380
380
|
* @param {*} [options] Override http request option.
|
|
381
381
|
* @throws {RequiredError}
|
|
382
382
|
*/
|
|
383
|
-
async uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
383
|
+
async uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePresignedPostResponseClass>> {
|
|
384
384
|
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadProductDocument(productSlug, uploadProductDocumentRequestDto, authorization, options);
|
|
385
385
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
386
386
|
},
|
|
@@ -455,7 +455,7 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
455
455
|
* @param {*} [options] Override http request option.
|
|
456
456
|
* @throws {RequiredError}
|
|
457
457
|
*/
|
|
458
|
-
uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
458
|
+
uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePresignedPostResponseClass> {
|
|
459
459
|
return localVarFp.uploadProductDocument(productSlug, uploadProductDocumentRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
460
460
|
},
|
|
461
461
|
};
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreatePresignedPostResponseClass } from '../models';
|
|
15
16
|
import { DeleteResponseClass } from '../models';
|
|
16
17
|
import { GetDocxTemplateDownloadUrlResponseClass } from '../models';
|
|
17
18
|
import { GetDocxTemplateResponseClass } from '../models';
|
|
@@ -19,7 +20,6 @@ import { ListDocxTemplatesResponseClass } from '../models';
|
|
|
19
20
|
import { SharedUpdateDocxTemplateRequestDto } from '../models';
|
|
20
21
|
import { UpdateDocxTemplateResponseClass } from '../models';
|
|
21
22
|
import { UploadDocxTemplateRequestDto } from '../models';
|
|
22
|
-
import { UploadDocxTemplateResponseClass } from '../models';
|
|
23
23
|
/**
|
|
24
24
|
* DocxTemplatesApi - axios parameter creator
|
|
25
25
|
* @export
|
|
@@ -150,7 +150,7 @@ export declare const DocxTemplatesApiFp: (configuration?: Configuration) => {
|
|
|
150
150
|
* @param {*} [options] Override http request option.
|
|
151
151
|
* @throws {RequiredError}
|
|
152
152
|
*/
|
|
153
|
-
uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
153
|
+
uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePresignedPostResponseClass>>;
|
|
154
154
|
};
|
|
155
155
|
/**
|
|
156
156
|
* DocxTemplatesApi - factory interface
|
|
@@ -216,7 +216,7 @@ export declare const DocxTemplatesApiFactory: (configuration?: Configuration, ba
|
|
|
216
216
|
* @param {*} [options] Override http request option.
|
|
217
217
|
* @throws {RequiredError}
|
|
218
218
|
*/
|
|
219
|
-
uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
219
|
+
uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePresignedPostResponseClass>;
|
|
220
220
|
};
|
|
221
221
|
/**
|
|
222
222
|
* Request parameters for deleteDocxTemplate operation in DocxTemplatesApi.
|
|
@@ -428,5 +428,5 @@ export declare class DocxTemplatesApi extends BaseAPI {
|
|
|
428
428
|
* @throws {RequiredError}
|
|
429
429
|
* @memberof DocxTemplatesApi
|
|
430
430
|
*/
|
|
431
|
-
uploadDocxTemplate(requestParameters: DocxTemplatesApiUploadDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
431
|
+
uploadDocxTemplate(requestParameters: DocxTemplatesApiUploadDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any>>;
|
|
432
432
|
}
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreatePresignedPostResponseClass } from '../models';
|
|
15
16
|
import { GetProductDocumentDownloadUrlResponseClass } from '../models';
|
|
16
17
|
import { GetProductDocumentResponseClass } from '../models';
|
|
17
18
|
import { ListProductDocumentsResponseClass } from '../models';
|
|
18
|
-
import { ProductDocumentClass } from '../models';
|
|
19
19
|
import { UploadProductDocumentRequestDto } from '../models';
|
|
20
20
|
/**
|
|
21
21
|
* ProductDocumentsApi - axios parameter creator
|
|
@@ -135,7 +135,7 @@ export declare const ProductDocumentsApiFp: (configuration?: Configuration) => {
|
|
|
135
135
|
* @param {*} [options] Override http request option.
|
|
136
136
|
* @throws {RequiredError}
|
|
137
137
|
*/
|
|
138
|
-
uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
138
|
+
uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePresignedPostResponseClass>>;
|
|
139
139
|
};
|
|
140
140
|
/**
|
|
141
141
|
* ProductDocumentsApi - factory interface
|
|
@@ -195,7 +195,7 @@ export declare const ProductDocumentsApiFactory: (configuration?: Configuration,
|
|
|
195
195
|
* @param {*} [options] Override http request option.
|
|
196
196
|
* @throws {RequiredError}
|
|
197
197
|
*/
|
|
198
|
-
uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
198
|
+
uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePresignedPostResponseClass>;
|
|
199
199
|
};
|
|
200
200
|
/**
|
|
201
201
|
* Request parameters for deleteProductDocument operation in ProductDocumentsApi.
|
|
@@ -397,5 +397,5 @@ export declare class ProductDocumentsApi extends BaseAPI {
|
|
|
397
397
|
* @throws {RequiredError}
|
|
398
398
|
* @memberof ProductDocumentsApi
|
|
399
399
|
*/
|
|
400
|
-
uploadProductDocument(requestParameters: ProductDocumentsApiUploadProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
400
|
+
uploadProductDocument(requestParameters: ProductDocumentsApiUploadProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any>>;
|
|
401
401
|
}
|
|
@@ -32,7 +32,7 @@ export interface CreateDocumentRequestDto {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreateDocumentRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'entityType':
|
|
35
|
+
'entityType': string;
|
|
36
36
|
/**
|
|
37
37
|
* Specifies the document creation strategy to be used, either synchronous or asynchronous.
|
|
38
38
|
* @type {string}
|
|
@@ -112,17 +112,6 @@ export interface CreateDocumentRequestDto {
|
|
|
112
112
|
*/
|
|
113
113
|
'engine'?: CreateDocumentRequestDtoEngineEnum;
|
|
114
114
|
}
|
|
115
|
-
export declare const CreateDocumentRequestDtoEntityTypeEnum: {
|
|
116
|
-
readonly PolicyApplication: "policy_application";
|
|
117
|
-
readonly PolicyContract: "policy_contract";
|
|
118
|
-
readonly PolicyAddendum: "policy_addendum";
|
|
119
|
-
readonly InitialInvoice: "initial_invoice";
|
|
120
|
-
readonly CorrectionInvoice: "correction_invoice";
|
|
121
|
-
readonly RecurringInvoice: "recurring_invoice";
|
|
122
|
-
readonly SepaMandate: "sepa_mandate";
|
|
123
|
-
readonly Static: "static";
|
|
124
|
-
};
|
|
125
|
-
export type CreateDocumentRequestDtoEntityTypeEnum = typeof CreateDocumentRequestDtoEntityTypeEnum[keyof typeof CreateDocumentRequestDtoEntityTypeEnum];
|
|
126
115
|
export declare const CreateDocumentRequestDtoStrategyEnum: {
|
|
127
116
|
readonly Sync: "Sync";
|
|
128
117
|
readonly Async: "Async";
|
|
@@ -13,17 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CreateDocumentRequestDtoEngineEnum = exports.CreateDocumentRequestDtoContentTypeEnum = exports.CreateDocumentRequestDtoRequesterEnum = exports.CreateDocumentRequestDtoStrategyEnum =
|
|
17
|
-
exports.CreateDocumentRequestDtoEntityTypeEnum = {
|
|
18
|
-
PolicyApplication: 'policy_application',
|
|
19
|
-
PolicyContract: 'policy_contract',
|
|
20
|
-
PolicyAddendum: 'policy_addendum',
|
|
21
|
-
InitialInvoice: 'initial_invoice',
|
|
22
|
-
CorrectionInvoice: 'correction_invoice',
|
|
23
|
-
RecurringInvoice: 'recurring_invoice',
|
|
24
|
-
SepaMandate: 'sepa_mandate',
|
|
25
|
-
Static: 'static'
|
|
26
|
-
};
|
|
16
|
+
exports.CreateDocumentRequestDtoEngineEnum = exports.CreateDocumentRequestDtoContentTypeEnum = exports.CreateDocumentRequestDtoRequesterEnum = exports.CreateDocumentRequestDtoStrategyEnum = void 0;
|
|
27
17
|
exports.CreateDocumentRequestDtoStrategyEnum = {
|
|
28
18
|
Sync: 'Sync',
|
|
29
19
|
Async: 'Async'
|
|
@@ -38,7 +38,7 @@ export interface DocumentClass {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof DocumentClass
|
|
40
40
|
*/
|
|
41
|
-
'entityType':
|
|
41
|
+
'entityType': string;
|
|
42
42
|
/**
|
|
43
43
|
* Payload used to replace variables in the template.
|
|
44
44
|
* @type {object}
|
|
@@ -118,17 +118,6 @@ export interface DocumentClass {
|
|
|
118
118
|
*/
|
|
119
119
|
'ern': string;
|
|
120
120
|
}
|
|
121
|
-
export declare const DocumentClassEntityTypeEnum: {
|
|
122
|
-
readonly PolicyApplication: "policy_application";
|
|
123
|
-
readonly PolicyContract: "policy_contract";
|
|
124
|
-
readonly PolicyAddendum: "policy_addendum";
|
|
125
|
-
readonly InitialInvoice: "initial_invoice";
|
|
126
|
-
readonly CorrectionInvoice: "correction_invoice";
|
|
127
|
-
readonly RecurringInvoice: "recurring_invoice";
|
|
128
|
-
readonly SepaMandate: "sepa_mandate";
|
|
129
|
-
readonly Static: "static";
|
|
130
|
-
};
|
|
131
|
-
export type DocumentClassEntityTypeEnum = typeof DocumentClassEntityTypeEnum[keyof typeof DocumentClassEntityTypeEnum];
|
|
132
121
|
export declare const DocumentClassRequesterEnum: {
|
|
133
122
|
readonly Accountservice: "accountservice";
|
|
134
123
|
readonly Insuranceservice: "insuranceservice";
|
|
@@ -13,17 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.DocumentClassContentTypeEnum = exports.DocumentClassRequesterEnum =
|
|
17
|
-
exports.DocumentClassEntityTypeEnum = {
|
|
18
|
-
PolicyApplication: 'policy_application',
|
|
19
|
-
PolicyContract: 'policy_contract',
|
|
20
|
-
PolicyAddendum: 'policy_addendum',
|
|
21
|
-
InitialInvoice: 'initial_invoice',
|
|
22
|
-
CorrectionInvoice: 'correction_invoice',
|
|
23
|
-
RecurringInvoice: 'recurring_invoice',
|
|
24
|
-
SepaMandate: 'sepa_mandate',
|
|
25
|
-
Static: 'static'
|
|
26
|
-
};
|
|
16
|
+
exports.DocumentClassContentTypeEnum = exports.DocumentClassRequesterEnum = void 0;
|
|
27
17
|
exports.DocumentClassRequesterEnum = {
|
|
28
18
|
Accountservice: 'accountservice',
|
|
29
19
|
Insuranceservice: 'insuranceservice',
|
|
@@ -62,9 +62,9 @@ export interface DocxTemplateClass {
|
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof DocxTemplateClass
|
|
64
64
|
*/
|
|
65
|
-
'entityType':
|
|
65
|
+
'entityType': string;
|
|
66
66
|
/**
|
|
67
|
-
* Name of the file the end user will see when
|
|
67
|
+
* Name of the file the end user will see when they downloads it.
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof DocxTemplateClass
|
|
70
70
|
*/
|
|
@@ -88,14 +88,3 @@ export interface DocxTemplateClass {
|
|
|
88
88
|
*/
|
|
89
89
|
'updatedAt': string;
|
|
90
90
|
}
|
|
91
|
-
export declare const DocxTemplateClassEntityTypeEnum: {
|
|
92
|
-
readonly PolicyApplication: "policy_application";
|
|
93
|
-
readonly PolicyContract: "policy_contract";
|
|
94
|
-
readonly PolicyAddendum: "policy_addendum";
|
|
95
|
-
readonly InitialInvoice: "initial_invoice";
|
|
96
|
-
readonly CorrectionInvoice: "correction_invoice";
|
|
97
|
-
readonly RecurringInvoice: "recurring_invoice";
|
|
98
|
-
readonly SepaMandate: "sepa_mandate";
|
|
99
|
-
readonly Static: "static";
|
|
100
|
-
};
|
|
101
|
-
export type DocxTemplateClassEntityTypeEnum = typeof DocxTemplateClassEntityTypeEnum[keyof typeof DocxTemplateClassEntityTypeEnum];
|
|
@@ -13,14 +13,3 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.DocxTemplateClassEntityTypeEnum = void 0;
|
|
17
|
-
exports.DocxTemplateClassEntityTypeEnum = {
|
|
18
|
-
PolicyApplication: 'policy_application',
|
|
19
|
-
PolicyContract: 'policy_contract',
|
|
20
|
-
PolicyAddendum: 'policy_addendum',
|
|
21
|
-
InitialInvoice: 'initial_invoice',
|
|
22
|
-
CorrectionInvoice: 'correction_invoice',
|
|
23
|
-
RecurringInvoice: 'recurring_invoice',
|
|
24
|
-
SepaMandate: 'sepa_mandate',
|
|
25
|
-
Static: 'static'
|
|
26
|
-
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -57,5 +57,4 @@ 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';
|
|
61
60
|
export * from './upload-product-document-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -73,5 +73,4 @@ __exportStar(require("./update-html-template-dto"), exports);
|
|
|
73
73
|
__exportStar(require("./update-layout-request-dto"), exports);
|
|
74
74
|
__exportStar(require("./update-layout-response-class"), exports);
|
|
75
75
|
__exportStar(require("./upload-docx-template-request-dto"), exports);
|
|
76
|
-
__exportStar(require("./upload-docx-template-response-class"), exports);
|
|
77
76
|
__exportStar(require("./upload-product-document-request-dto"), exports);
|
|
@@ -64,7 +64,7 @@ export interface ProductDocumentClass {
|
|
|
64
64
|
*/
|
|
65
65
|
's3Key': string;
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* Extension of the file.
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof ProductDocumentClass
|
|
70
70
|
*/
|
|
@@ -74,7 +74,13 @@ export interface ProductDocumentClass {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof ProductDocumentClass
|
|
76
76
|
*/
|
|
77
|
-
'entityType':
|
|
77
|
+
'entityType': string;
|
|
78
|
+
/**
|
|
79
|
+
* Name of the file the end user will see when they downloads it.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof ProductDocumentClass
|
|
82
|
+
*/
|
|
83
|
+
'filename': string;
|
|
78
84
|
/**
|
|
79
85
|
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
80
86
|
* @type {string}
|
|
@@ -104,31 +110,8 @@ export declare const ProductDocumentClassContentTypeEnum: {
|
|
|
104
110
|
readonly Pdf: "pdf";
|
|
105
111
|
readonly Jpg: "jpg";
|
|
106
112
|
readonly Png: "png";
|
|
107
|
-
readonly Gz: "gz";
|
|
108
113
|
readonly Csv: "csv";
|
|
109
114
|
readonly Doc: "doc";
|
|
110
115
|
readonly Docx: "docx";
|
|
111
|
-
readonly Html: "html";
|
|
112
|
-
readonly Json: "json";
|
|
113
|
-
readonly Xml: "xml";
|
|
114
|
-
readonly Txt: "txt";
|
|
115
|
-
readonly Zip: "zip";
|
|
116
|
-
readonly Tar: "tar";
|
|
117
|
-
readonly Rar: "rar";
|
|
118
|
-
readonly Mp4: "MP4";
|
|
119
|
-
readonly Mov: "MOV";
|
|
120
|
-
readonly Wmv: "WMV";
|
|
121
|
-
readonly Avi: "AVI";
|
|
122
116
|
};
|
|
123
117
|
export type ProductDocumentClassContentTypeEnum = typeof ProductDocumentClassContentTypeEnum[keyof typeof ProductDocumentClassContentTypeEnum];
|
|
124
|
-
export declare const ProductDocumentClassEntityTypeEnum: {
|
|
125
|
-
readonly PolicyApplication: "policy_application";
|
|
126
|
-
readonly PolicyContract: "policy_contract";
|
|
127
|
-
readonly PolicyAddendum: "policy_addendum";
|
|
128
|
-
readonly InitialInvoice: "initial_invoice";
|
|
129
|
-
readonly CorrectionInvoice: "correction_invoice";
|
|
130
|
-
readonly RecurringInvoice: "recurring_invoice";
|
|
131
|
-
readonly SepaMandate: "sepa_mandate";
|
|
132
|
-
readonly Static: "static";
|
|
133
|
-
};
|
|
134
|
-
export type ProductDocumentClassEntityTypeEnum = typeof ProductDocumentClassEntityTypeEnum[keyof typeof ProductDocumentClassEntityTypeEnum];
|
|
@@ -13,34 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.ProductDocumentClassContentTypeEnum = void 0;
|
|
17
17
|
exports.ProductDocumentClassContentTypeEnum = {
|
|
18
18
|
Pdf: 'pdf',
|
|
19
19
|
Jpg: 'jpg',
|
|
20
20
|
Png: 'png',
|
|
21
|
-
Gz: 'gz',
|
|
22
21
|
Csv: 'csv',
|
|
23
22
|
Doc: 'doc',
|
|
24
|
-
Docx: 'docx'
|
|
25
|
-
Html: 'html',
|
|
26
|
-
Json: 'json',
|
|
27
|
-
Xml: 'xml',
|
|
28
|
-
Txt: 'txt',
|
|
29
|
-
Zip: 'zip',
|
|
30
|
-
Tar: 'tar',
|
|
31
|
-
Rar: 'rar',
|
|
32
|
-
Mp4: 'MP4',
|
|
33
|
-
Mov: 'MOV',
|
|
34
|
-
Wmv: 'WMV',
|
|
35
|
-
Avi: 'AVI'
|
|
36
|
-
};
|
|
37
|
-
exports.ProductDocumentClassEntityTypeEnum = {
|
|
38
|
-
PolicyApplication: 'policy_application',
|
|
39
|
-
PolicyContract: 'policy_contract',
|
|
40
|
-
PolicyAddendum: 'policy_addendum',
|
|
41
|
-
InitialInvoice: 'initial_invoice',
|
|
42
|
-
CorrectionInvoice: 'correction_invoice',
|
|
43
|
-
RecurringInvoice: 'recurring_invoice',
|
|
44
|
-
SepaMandate: 'sepa_mandate',
|
|
45
|
-
Static: 'static'
|
|
23
|
+
Docx: 'docx'
|
|
46
24
|
};
|
|
@@ -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',
|
|
@@ -67,9 +67,9 @@ export interface DocxTemplateClass {
|
|
|
67
67
|
* @type {string}
|
|
68
68
|
* @memberof DocxTemplateClass
|
|
69
69
|
*/
|
|
70
|
-
'entityType':
|
|
70
|
+
'entityType': string;
|
|
71
71
|
/**
|
|
72
|
-
* Name of the file the end user will see when
|
|
72
|
+
* Name of the file the end user will see when they downloads it.
|
|
73
73
|
* @type {string}
|
|
74
74
|
* @memberof DocxTemplateClass
|
|
75
75
|
*/
|
|
@@ -94,17 +94,3 @@ export interface DocxTemplateClass {
|
|
|
94
94
|
'updatedAt': string;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
export const DocxTemplateClassEntityTypeEnum = {
|
|
98
|
-
PolicyApplication: 'policy_application',
|
|
99
|
-
PolicyContract: 'policy_contract',
|
|
100
|
-
PolicyAddendum: 'policy_addendum',
|
|
101
|
-
InitialInvoice: 'initial_invoice',
|
|
102
|
-
CorrectionInvoice: 'correction_invoice',
|
|
103
|
-
RecurringInvoice: 'recurring_invoice',
|
|
104
|
-
SepaMandate: 'sepa_mandate',
|
|
105
|
-
Static: 'static'
|
|
106
|
-
} as const;
|
|
107
|
-
|
|
108
|
-
export type DocxTemplateClassEntityTypeEnum = typeof DocxTemplateClassEntityTypeEnum[keyof typeof DocxTemplateClassEntityTypeEnum];
|
|
109
|
-
|
|
110
|
-
|
package/models/index.ts
CHANGED
|
@@ -57,5 +57,4 @@ 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';
|
|
61
60
|
export * from './upload-product-document-request-dto';
|
|
@@ -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
|
+
* Name of the file the end user will see when they downloads 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
|
-
|