@emilgroup/public-api-sdk 1.3.0 → 1.6.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/documents-api.ts +16 -16
- package/api/payments-setup-api.ts +104 -0
- package/api/products-api.ts +12 -12
- package/base.ts +5 -3
- package/dist/api/documents-api.d.ts +16 -16
- package/dist/api/documents-api.js +12 -12
- package/dist/api/payments-setup-api.d.ts +56 -0
- package/dist/api/payments-setup-api.js +93 -0
- package/dist/api/products-api.d.ts +12 -12
- package/dist/api/products-api.js +9 -9
- package/dist/base.d.ts +1 -1
- package/dist/base.js +6 -3
- package/dist/models/create-lead-request-dto.d.ts +9 -10
- package/dist/models/create-lead-request-dto.js +0 -7
- package/dist/models/get-public-psp-settings-response-class.d.ts +30 -0
- package/dist/models/get-public-psp-settings-response-class.js +15 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/insured-object-class.d.ts +18 -0
- package/dist/models/lead-class.d.ts +7 -0
- package/dist/models/update-lead-request-dto.d.ts +3 -17
- package/dist/models/update-lead-request-dto.js +0 -7
- package/models/create-lead-request-dto.ts +9 -13
- package/models/get-public-psp-settings-response-class.ts +36 -0
- package/models/index.ts +1 -0
- package/models/insured-object-class.ts +18 -0
- package/models/lead-class.ts +7 -0
- package/models/update-lead-request-dto.ts +3 -20
- package/package.json +2 -1
|
@@ -68,11 +68,11 @@ export interface CreateLeadRequestDto {
|
|
|
68
68
|
*/
|
|
69
69
|
'uploadedDocument'?: UploadedDocumentDto;
|
|
70
70
|
/**
|
|
71
|
-
* Lead status
|
|
71
|
+
* Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
|
|
72
72
|
* @type {string}
|
|
73
73
|
* @memberof CreateLeadRequestDto
|
|
74
74
|
*/
|
|
75
|
-
'status'?:
|
|
75
|
+
'status'?: string;
|
|
76
76
|
/**
|
|
77
77
|
* Premium Override.
|
|
78
78
|
* @type {PremiumOverrideRequestDto}
|
|
@@ -84,16 +84,12 @@ export interface CreateLeadRequestDto {
|
|
|
84
84
|
* @type {CreateAccountRequestDto}
|
|
85
85
|
* @memberof CreateLeadRequestDto
|
|
86
86
|
*/
|
|
87
|
-
'account'
|
|
87
|
+
'account'?: CreateAccountRequestDto;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof CreateLeadRequestDto
|
|
92
|
+
*/
|
|
93
|
+
'accountCode': string;
|
|
88
94
|
}
|
|
89
95
|
|
|
90
|
-
export const CreateLeadRequestDtoStatusEnum = {
|
|
91
|
-
Created: 'created',
|
|
92
|
-
Approved: 'approved',
|
|
93
|
-
Activated: 'activated',
|
|
94
|
-
Declined: 'declined'
|
|
95
|
-
} as const;
|
|
96
|
-
|
|
97
|
-
export type CreateLeadRequestDtoStatusEnum = typeof CreateLeadRequestDtoStatusEnum[keyof typeof CreateLeadRequestDtoStatusEnum];
|
|
98
|
-
|
|
99
|
-
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil PublicAPI
|
|
5
|
+
* The Emil Public 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 GetPublicPspSettingsResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface GetPublicPspSettingsResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Public key. Used on frontend to load the payment form component.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof GetPublicPspSettingsResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'publicKey': string;
|
|
29
|
+
/**
|
|
30
|
+
* Name of payment system provider.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof GetPublicPspSettingsResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'psp': string;
|
|
35
|
+
}
|
|
36
|
+
|
package/models/index.ts
CHANGED
|
@@ -14,6 +14,7 @@ export * from './create-lead-response-class';
|
|
|
14
14
|
export * from './document-class';
|
|
15
15
|
export * from './get-custom-css-response-class';
|
|
16
16
|
export * from './get-lead-response-class';
|
|
17
|
+
export * from './get-public-psp-settings-response-class';
|
|
17
18
|
export * from './initiate-braintree-payment-setup-request-dto';
|
|
18
19
|
export * from './initiate-braintree-payment-setup-response-class';
|
|
19
20
|
export * from './initiate-lead-response-class';
|
|
@@ -57,6 +57,24 @@ export interface InsuredObjectClass {
|
|
|
57
57
|
* @memberof InsuredObjectClass
|
|
58
58
|
*/
|
|
59
59
|
'productFields': Array<ProductFieldClass>;
|
|
60
|
+
/**
|
|
61
|
+
* Insured object count default to 1.
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof InsuredObjectClass
|
|
64
|
+
*/
|
|
65
|
+
'count': number;
|
|
66
|
+
/**
|
|
67
|
+
* Minimum insured object count default to 0.
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof InsuredObjectClass
|
|
70
|
+
*/
|
|
71
|
+
'min': number;
|
|
72
|
+
/**
|
|
73
|
+
* Maximum insured object count default to 1.
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof InsuredObjectClass
|
|
76
|
+
*/
|
|
77
|
+
'max': number;
|
|
60
78
|
/**
|
|
61
79
|
* Time at which the object was created.
|
|
62
80
|
* @type {string}
|
package/models/lead-class.ts
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { InvoiceClass } from './invoice-class';
|
|
16
17
|
import { LeadAccountClass } from './lead-account-class';
|
|
17
18
|
import { LeadBankAccountClass } from './lead-bank-account-class';
|
|
18
19
|
import { LeadPolicyClass } from './lead-policy-class';
|
|
@@ -79,6 +80,12 @@ export interface LeadClass {
|
|
|
79
80
|
* @memberof LeadClass
|
|
80
81
|
*/
|
|
81
82
|
'customData'?: object;
|
|
83
|
+
/**
|
|
84
|
+
* Quote or price details.
|
|
85
|
+
* @type {InvoiceClass}
|
|
86
|
+
* @memberof LeadClass
|
|
87
|
+
*/
|
|
88
|
+
'quote': InvoiceClass;
|
|
82
89
|
/**
|
|
83
90
|
* Time at which the object was created.
|
|
84
91
|
* @type {string}
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
17
17
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
18
18
|
import { PolicyObjectRequestDto } from './policy-object-request-dto';
|
|
19
|
-
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
20
19
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
21
20
|
|
|
22
21
|
/**
|
|
@@ -68,32 +67,16 @@ export interface UpdateLeadRequestDto {
|
|
|
68
67
|
*/
|
|
69
68
|
'uploadedDocument'?: UploadedDocumentDto;
|
|
70
69
|
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {
|
|
70
|
+
* Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
|
|
71
|
+
* @type {string}
|
|
73
72
|
* @memberof UpdateLeadRequestDto
|
|
74
73
|
*/
|
|
75
|
-
'
|
|
74
|
+
'status': string;
|
|
76
75
|
/**
|
|
77
76
|
*
|
|
78
77
|
* @type {CreateAccountRequestDto}
|
|
79
78
|
* @memberof UpdateLeadRequestDto
|
|
80
79
|
*/
|
|
81
80
|
'account': CreateAccountRequestDto;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {string}
|
|
85
|
-
* @memberof UpdateLeadRequestDto
|
|
86
|
-
*/
|
|
87
|
-
'status': UpdateLeadRequestDtoStatusEnum;
|
|
88
81
|
}
|
|
89
82
|
|
|
90
|
-
export const UpdateLeadRequestDtoStatusEnum = {
|
|
91
|
-
Created: 'created',
|
|
92
|
-
Approved: 'approved',
|
|
93
|
-
Activated: 'activated',
|
|
94
|
-
Declined: 'declined'
|
|
95
|
-
} as const;
|
|
96
|
-
|
|
97
|
-
export type UpdateLeadRequestDtoStatusEnum = typeof UpdateLeadRequestDtoStatusEnum[keyof typeof UpdateLeadRequestDtoStatusEnum];
|
|
98
|
-
|
|
99
|
-
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/public-api-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/public-api-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"axios": "^0.27.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
+
|
|
24
25
|
"typescript": "^4.0"
|
|
25
26
|
}
|
|
26
27
|
}
|