@emilgroup/public-api-sdk 1.0.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 +63 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +51 -0
- package/api/documents-api.ts +438 -0
- package/api/leads-api.ts +478 -0
- package/api/notifications-api.ts +165 -0
- package/api/payments-setup-api.ts +300 -0
- package/api/products-api.ts +713 -0
- package/api.ts +40 -0
- package/base.ts +247 -0
- package/common.ts +198 -0
- package/configuration.ts +101 -0
- package/dist/api/documents-api.d.ts +252 -0
- package/dist/api/documents-api.js +439 -0
- package/dist/api/leads-api.d.ts +266 -0
- package/dist/api/leads-api.js +502 -0
- package/dist/api/notifications-api.d.ts +97 -0
- package/dist/api/notifications-api.js +224 -0
- package/dist/api/payments-setup-api.d.ts +172 -0
- package/dist/api/payments-setup-api.js +329 -0
- package/dist/api/products-api.d.ts +396 -0
- package/dist/api/products-api.js +700 -0
- package/dist/api.d.ts +20 -0
- package/dist/api.js +40 -0
- package/dist/base.d.ts +72 -0
- package/dist/base.js +293 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +83 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +35 -0
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
- package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
- package/dist/models/complete-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
- package/dist/models/complete-payment-setup-response-class.js +15 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
- package/dist/models/create-account-request-dto.d.ts +115 -0
- package/dist/models/create-account-request-dto.js +27 -0
- package/dist/models/create-bank-account-request-dto.d.ts +30 -0
- package/dist/models/create-bank-account-request-dto.js +15 -0
- package/dist/models/create-custom-application-request-dto.d.ts +35 -0
- package/dist/models/create-custom-application-request-dto.js +20 -0
- package/dist/models/create-custom-application-response-class.d.ts +24 -0
- package/dist/models/create-custom-application-response-class.js +15 -0
- package/dist/models/create-document-request-dto.d.ts +101 -0
- package/dist/models/create-document-request-dto.js +31 -0
- package/dist/models/create-estimated-invoice-request-dto.d.ts +49 -0
- package/dist/models/create-estimated-invoice-request-dto.js +20 -0
- package/dist/models/create-estimated-invoice-response-class.d.ts +31 -0
- package/dist/models/create-estimated-invoice-response-class.js +15 -0
- package/dist/models/create-lead-request-dto.d.ts +84 -0
- package/dist/models/create-lead-request-dto.js +22 -0
- package/dist/models/create-lead-response-class.d.ts +25 -0
- package/dist/models/create-lead-response-class.js +15 -0
- package/dist/models/document-class.d.ts +130 -0
- package/dist/models/document-class.js +41 -0
- package/dist/models/get-custom-css-response-class.d.ts +24 -0
- package/dist/models/get-custom-css-response-class.js +15 -0
- package/dist/models/get-lead-response-class.d.ts +25 -0
- package/dist/models/get-lead-response-class.js +15 -0
- package/dist/models/index.d.ts +45 -0
- package/dist/models/index.js +61 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
- package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-lead-response-class.d.ts +24 -0
- package/dist/models/initiate-lead-response-class.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +32 -0
- package/dist/models/initiate-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
- package/dist/models/initiate-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
- package/dist/models/insured-object-class.d.ts +67 -0
- package/dist/models/insured-object-class.js +15 -0
- package/dist/models/insured-object-type-class.d.ts +48 -0
- package/dist/models/insured-object-type-class.js +15 -0
- package/dist/models/invoice-class.d.ts +128 -0
- package/dist/models/invoice-class.js +15 -0
- package/dist/models/invoice-item-class.d.ts +108 -0
- package/dist/models/invoice-item-class.js +15 -0
- package/dist/models/invoice-status-class.d.ts +42 -0
- package/dist/models/invoice-status-class.js +15 -0
- package/dist/models/lead-account-class.d.ts +109 -0
- package/dist/models/lead-account-class.js +22 -0
- package/dist/models/lead-bank-account-class.d.ts +30 -0
- package/dist/models/lead-bank-account-class.js +15 -0
- package/dist/models/lead-class.d.ts +77 -0
- package/dist/models/lead-class.js +15 -0
- package/dist/models/lead-policy-class.d.ts +43 -0
- package/dist/models/lead-policy-class.js +15 -0
- package/dist/models/lead-policy-object-class.d.ts +30 -0
- package/dist/models/lead-policy-object-class.js +15 -0
- package/dist/models/list-documents-response-class.d.ts +31 -0
- package/dist/models/list-documents-response-class.js +15 -0
- package/dist/models/payment-method-class.d.ts +60 -0
- package/dist/models/payment-method-class.js +15 -0
- package/dist/models/policy-object-request-dto.d.ts +30 -0
- package/dist/models/policy-object-request-dto.js +15 -0
- package/dist/models/premium-override-dto.d.ts +53 -0
- package/dist/models/premium-override-dto.js +25 -0
- package/dist/models/premium-override-request-dto.d.ts +25 -0
- package/dist/models/premium-override-request-dto.js +15 -0
- package/dist/models/product-factor-class.d.ts +60 -0
- package/dist/models/product-factor-class.js +15 -0
- package/dist/models/product-field-class.d.ts +120 -0
- package/dist/models/product-field-class.js +15 -0
- package/dist/models/send-notification-request-dto.d.ts +36 -0
- package/dist/models/send-notification-request-dto.js +15 -0
- package/dist/models/send-notification-response-class.d.ts +24 -0
- package/dist/models/send-notification-response-class.js +15 -0
- package/dist/models/update-lead-request-dto.d.ts +84 -0
- package/dist/models/update-lead-request-dto.js +22 -0
- package/dist/models/update-lead-response-class.d.ts +25 -0
- package/dist/models/update-lead-response-class.js +15 -0
- package/dist/models/uploaded-document-dto.d.ts +24 -0
- package/dist/models/uploaded-document-dto.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
- package/models/complete-payment-setup-request-dto.ts +38 -0
- package/models/complete-payment-setup-response-class.ts +31 -0
- package/models/complete-stripe-payment-setup-request-dto.ts +66 -0
- package/models/create-account-request-dto.ts +125 -0
- package/models/create-bank-account-request-dto.ts +36 -0
- package/models/create-custom-application-request-dto.ts +44 -0
- package/models/create-custom-application-response-class.ts +30 -0
- package/models/create-document-request-dto.ts +111 -0
- package/models/create-estimated-invoice-request-dto.ts +58 -0
- package/models/create-estimated-invoice-response-class.ts +37 -0
- package/models/create-lead-request-dto.ts +93 -0
- package/models/create-lead-response-class.ts +31 -0
- package/models/document-class.ts +141 -0
- package/models/get-custom-css-response-class.ts +30 -0
- package/models/get-lead-response-class.ts +31 -0
- package/models/index.ts +45 -0
- package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
- package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
- package/models/initiate-lead-response-class.ts +30 -0
- package/models/initiate-payment-setup-request-dto.ts +38 -0
- package/models/initiate-payment-setup-response-class.ts +38 -0
- package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
- package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
- package/models/insured-object-class.ts +73 -0
- package/models/insured-object-type-class.ts +54 -0
- package/models/invoice-class.ts +134 -0
- package/models/invoice-item-class.ts +114 -0
- package/models/invoice-status-class.ts +48 -0
- package/models/lead-account-class.ts +118 -0
- package/models/lead-bank-account-class.ts +36 -0
- package/models/lead-class.ts +83 -0
- package/models/lead-policy-class.ts +49 -0
- package/models/lead-policy-object-class.ts +36 -0
- package/models/list-documents-response-class.ts +37 -0
- package/models/payment-method-class.ts +66 -0
- package/models/policy-object-request-dto.ts +36 -0
- package/models/premium-override-dto.ts +63 -0
- package/models/premium-override-request-dto.ts +31 -0
- package/models/product-factor-class.ts +66 -0
- package/models/product-field-class.ts +126 -0
- package/models/send-notification-request-dto.ts +42 -0
- package/models/send-notification-response-class.ts +30 -0
- package/models/update-lead-request-dto.ts +93 -0
- package/models/update-lead-response-class.ts +31 -0
- package/models/uploaded-document-dto.ts +30 -0
- package/package.json +27 -0
- package/tsconfig.json +22 -0
|
@@ -0,0 +1,66 @@
|
|
|
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 PaymentMethodClass
|
|
21
|
+
*/
|
|
22
|
+
export interface PaymentMethodClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof PaymentMethodClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PaymentMethodClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* A unique identifier generated by the payment service provider for this payment method.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PaymentMethodClass
|
|
39
|
+
*/
|
|
40
|
+
'providerToken': string;
|
|
41
|
+
/**
|
|
42
|
+
* Customer identifier for the payment service provider.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PaymentMethodClass
|
|
45
|
+
*/
|
|
46
|
+
'pspCustomerId': string;
|
|
47
|
+
/**
|
|
48
|
+
* The payment service provider used by this payment method.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PaymentMethodClass
|
|
51
|
+
*/
|
|
52
|
+
'psp': string;
|
|
53
|
+
/**
|
|
54
|
+
* The payment method type.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PaymentMethodClass
|
|
57
|
+
*/
|
|
58
|
+
'type': string;
|
|
59
|
+
/**
|
|
60
|
+
* Time at which the object was created.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PaymentMethodClass
|
|
63
|
+
*/
|
|
64
|
+
'createdAt': string;
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -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 PolicyObjectRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface PolicyObjectRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier referencing the insured object.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof PolicyObjectRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'insuredObjectId': number;
|
|
29
|
+
/**
|
|
30
|
+
* Insured object data.
|
|
31
|
+
* @type {object}
|
|
32
|
+
* @memberof PolicyObjectRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'data': object;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
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 PremiumOverrideDto
|
|
21
|
+
*/
|
|
22
|
+
export interface PremiumOverrideDto {
|
|
23
|
+
/**
|
|
24
|
+
* Name of Premium.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PremiumOverrideDto
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
* Type of Premium that is based on time.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PremiumOverrideDto
|
|
33
|
+
*/
|
|
34
|
+
'type': PremiumOverrideDtoTypeEnum;
|
|
35
|
+
/**
|
|
36
|
+
* This is unit of Premium. Premium units are determined based on day, week, month and year.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PremiumOverrideDto
|
|
39
|
+
*/
|
|
40
|
+
'unit': PremiumOverrideDtoUnitEnum;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof PremiumOverrideDto
|
|
45
|
+
*/
|
|
46
|
+
'netPremium': number;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export const PremiumOverrideDtoTypeEnum = {
|
|
50
|
+
Time: 'time'
|
|
51
|
+
} as const;
|
|
52
|
+
|
|
53
|
+
export type PremiumOverrideDtoTypeEnum = typeof PremiumOverrideDtoTypeEnum[keyof typeof PremiumOverrideDtoTypeEnum];
|
|
54
|
+
export const PremiumOverrideDtoUnitEnum = {
|
|
55
|
+
Day: 'day',
|
|
56
|
+
Week: 'week',
|
|
57
|
+
Month: 'month',
|
|
58
|
+
Year: 'year'
|
|
59
|
+
} as const;
|
|
60
|
+
|
|
61
|
+
export type PremiumOverrideDtoUnitEnum = typeof PremiumOverrideDtoUnitEnum[keyof typeof PremiumOverrideDtoUnitEnum];
|
|
62
|
+
|
|
63
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
import { PremiumOverrideDto } from './premium-override-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PremiumOverrideRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface PremiumOverrideRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* Premium Override.
|
|
26
|
+
* @type {Array<PremiumOverrideDto>}
|
|
27
|
+
* @memberof PremiumOverrideRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'premiumOverrides': Array<PremiumOverrideDto>;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 ProductFactorClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ProductFactorClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof ProductFactorClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier referencing the version of the product on which this product factor is used.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof ProductFactorClass
|
|
33
|
+
*/
|
|
34
|
+
'productVersionId': number;
|
|
35
|
+
/**
|
|
36
|
+
* Product factor group.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ProductFactorClass
|
|
39
|
+
*/
|
|
40
|
+
'group': string;
|
|
41
|
+
/**
|
|
42
|
+
* Product factor label.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ProductFactorClass
|
|
45
|
+
*/
|
|
46
|
+
'label': string;
|
|
47
|
+
/**
|
|
48
|
+
* Time at which the object was created.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ProductFactorClass
|
|
51
|
+
*/
|
|
52
|
+
'createdAt': string;
|
|
53
|
+
/**
|
|
54
|
+
* Time at which the object was updated.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ProductFactorClass
|
|
57
|
+
*/
|
|
58
|
+
'updatedAt': string;
|
|
59
|
+
/**
|
|
60
|
+
* Factor values.
|
|
61
|
+
* @type {Array<string>}
|
|
62
|
+
* @memberof ProductFactorClass
|
|
63
|
+
*/
|
|
64
|
+
'values': Array<string>;
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,126 @@
|
|
|
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 ProductFieldClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ProductFieldClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof ProductFieldClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Product field name.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ProductFieldClass
|
|
33
|
+
*/
|
|
34
|
+
'name': string;
|
|
35
|
+
/**
|
|
36
|
+
* Product field group.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ProductFieldClass
|
|
39
|
+
*/
|
|
40
|
+
'group': string;
|
|
41
|
+
/**
|
|
42
|
+
* Product field label.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ProductFieldClass
|
|
45
|
+
*/
|
|
46
|
+
'label': string;
|
|
47
|
+
/**
|
|
48
|
+
* Product field type.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ProductFieldClass
|
|
51
|
+
*/
|
|
52
|
+
'typeEntity': string;
|
|
53
|
+
/**
|
|
54
|
+
* Unique identifier referencing the product type.
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof ProductFieldClass
|
|
57
|
+
*/
|
|
58
|
+
'typeId': number;
|
|
59
|
+
/**
|
|
60
|
+
* Unique identifier referencing the insured object.
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof ProductFieldClass
|
|
63
|
+
*/
|
|
64
|
+
'insuredObjectId': number;
|
|
65
|
+
/**
|
|
66
|
+
* Is field required?
|
|
67
|
+
* @type {boolean}
|
|
68
|
+
* @memberof ProductFieldClass
|
|
69
|
+
*/
|
|
70
|
+
'isRequired': boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Is field hidden on the booking funnel?
|
|
73
|
+
* @type {boolean}
|
|
74
|
+
* @memberof ProductFieldClass
|
|
75
|
+
*/
|
|
76
|
+
'isHidden': boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Is this a system field? - System fields can neither be deleted nor modified
|
|
79
|
+
* @type {boolean}
|
|
80
|
+
* @memberof ProductFieldClass
|
|
81
|
+
*/
|
|
82
|
+
'isSystem': boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Should the field value be unique across policies?
|
|
85
|
+
* @type {boolean}
|
|
86
|
+
* @memberof ProductFieldClass
|
|
87
|
+
*/
|
|
88
|
+
'isUnique': boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
|
|
91
|
+
* @type {object}
|
|
92
|
+
* @memberof ProductFieldClass
|
|
93
|
+
*/
|
|
94
|
+
'defaultValue': object;
|
|
95
|
+
/**
|
|
96
|
+
* Minimum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
|
|
97
|
+
* @type {object}
|
|
98
|
+
* @memberof ProductFieldClass
|
|
99
|
+
*/
|
|
100
|
+
'minValue': object;
|
|
101
|
+
/**
|
|
102
|
+
* Maximum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
|
|
103
|
+
* @type {object}
|
|
104
|
+
* @memberof ProductFieldClass
|
|
105
|
+
*/
|
|
106
|
+
'maxValue': object;
|
|
107
|
+
/**
|
|
108
|
+
* Time at which the object was created.
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof ProductFieldClass
|
|
111
|
+
*/
|
|
112
|
+
'createdAt': string;
|
|
113
|
+
/**
|
|
114
|
+
* Time at which the object was updated.
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof ProductFieldClass
|
|
117
|
+
*/
|
|
118
|
+
'updatedAt': string;
|
|
119
|
+
/**
|
|
120
|
+
* Order
|
|
121
|
+
* @type {number}
|
|
122
|
+
* @memberof ProductFieldClass
|
|
123
|
+
*/
|
|
124
|
+
'order': number;
|
|
125
|
+
}
|
|
126
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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 SendNotificationRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface SendNotificationRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. In this case, the template used for the email.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SendNotificationRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'templateSlug': string;
|
|
29
|
+
/**
|
|
30
|
+
* Subject of the email.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof SendNotificationRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'emailSubject'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Payload is used by the template engine to replace all template variables with proper data. For more information, please go to https://github.com/flosch/pongo2.
|
|
37
|
+
* @type {object}
|
|
38
|
+
* @memberof SendNotificationRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'payload'?: object;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
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 SendNotificationResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface SendNotificationResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier for the object.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SendNotificationResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
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
|
+
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
17
|
+
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
18
|
+
import { PolicyObjectRequestDto } from './policy-object-request-dto';
|
|
19
|
+
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
20
|
+
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
* @interface UpdateLeadRequestDto
|
|
26
|
+
*/
|
|
27
|
+
export interface UpdateLeadRequestDto {
|
|
28
|
+
/**
|
|
29
|
+
* Unique identifier for the object.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateLeadRequestDto
|
|
32
|
+
*/
|
|
33
|
+
'code': string;
|
|
34
|
+
/**
|
|
35
|
+
* Unique identifier of the product that this object belongs to.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UpdateLeadRequestDto
|
|
38
|
+
*/
|
|
39
|
+
'productCode': string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Array<PolicyObjectRequestDto>}
|
|
43
|
+
* @memberof UpdateLeadRequestDto
|
|
44
|
+
*/
|
|
45
|
+
'policyObjects': Array<PolicyObjectRequestDto>;
|
|
46
|
+
/**
|
|
47
|
+
* Bank account details
|
|
48
|
+
* @type {CreateBankAccountRequestDto}
|
|
49
|
+
* @memberof UpdateLeadRequestDto
|
|
50
|
+
*/
|
|
51
|
+
'bankAccount'?: CreateBankAccountRequestDto;
|
|
52
|
+
/**
|
|
53
|
+
* Custom data.
|
|
54
|
+
* @type {object}
|
|
55
|
+
* @memberof UpdateLeadRequestDto
|
|
56
|
+
*/
|
|
57
|
+
'customData'?: object;
|
|
58
|
+
/**
|
|
59
|
+
* Codes for documents to be uploaded.
|
|
60
|
+
* @type {UploadedDocumentDto}
|
|
61
|
+
* @memberof UpdateLeadRequestDto
|
|
62
|
+
*/
|
|
63
|
+
'uploadedDocument'?: UploadedDocumentDto;
|
|
64
|
+
/**
|
|
65
|
+
* Premium Override
|
|
66
|
+
* @type {PremiumOverrideRequestDto}
|
|
67
|
+
* @memberof UpdateLeadRequestDto
|
|
68
|
+
*/
|
|
69
|
+
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {CreateAccountRequestDto}
|
|
73
|
+
* @memberof UpdateLeadRequestDto
|
|
74
|
+
*/
|
|
75
|
+
'account': CreateAccountRequestDto;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof UpdateLeadRequestDto
|
|
80
|
+
*/
|
|
81
|
+
'status': UpdateLeadRequestDtoStatusEnum;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export const UpdateLeadRequestDtoStatusEnum = {
|
|
85
|
+
Created: 'created',
|
|
86
|
+
Approved: 'approved',
|
|
87
|
+
Activated: 'activated',
|
|
88
|
+
Declined: 'declined'
|
|
89
|
+
} as const;
|
|
90
|
+
|
|
91
|
+
export type UpdateLeadRequestDtoStatusEnum = typeof UpdateLeadRequestDtoStatusEnum[keyof typeof UpdateLeadRequestDtoStatusEnum];
|
|
92
|
+
|
|
93
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
import { LeadClass } from './lead-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface UpdateLeadResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdateLeadResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of leads.
|
|
26
|
+
* @type {LeadClass}
|
|
27
|
+
* @memberof UpdateLeadResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'lead': LeadClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
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 UploadedDocumentDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UploadedDocumentDto {
|
|
23
|
+
/**
|
|
24
|
+
* Uploaded document codes.
|
|
25
|
+
* @type {Array<string>}
|
|
26
|
+
* @memberof UploadedDocumentDto
|
|
27
|
+
*/
|
|
28
|
+
'codes': Array<string>;
|
|
29
|
+
}
|
|
30
|
+
|
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@emilgroup/public-api-sdk",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "OpenAPI client for @emilgroup/public-api-sdk",
|
|
5
|
+
"author": "OpenAPI-Generator Contributors",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"axios",
|
|
8
|
+
"typescript",
|
|
9
|
+
"openapi-client",
|
|
10
|
+
"openapi-generator",
|
|
11
|
+
"@emilgroup/public-api-sdk"
|
|
12
|
+
],
|
|
13
|
+
"license": "Unlicense",
|
|
14
|
+
"main": "./dist/index.js",
|
|
15
|
+
"typings": "./dist/index.d.ts",
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsc --outDir dist/",
|
|
18
|
+
"prepare": "npm run build"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"axios": "^0.27.2"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
|
|
25
|
+
"typescript": "^4.0"
|
|
26
|
+
}
|
|
27
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"declaration": true,
|
|
4
|
+
"target": "ES5",
|
|
5
|
+
"module": "CommonJS",
|
|
6
|
+
"noImplicitAny": true,
|
|
7
|
+
"esModuleInterop": true,
|
|
8
|
+
"outDir": "dist",
|
|
9
|
+
"rootDir": ".",
|
|
10
|
+
"lib": [
|
|
11
|
+
"es6",
|
|
12
|
+
"dom"
|
|
13
|
+
],
|
|
14
|
+
"typeRoots": [
|
|
15
|
+
"node_modules/@types"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"exclude": [
|
|
19
|
+
"dist",
|
|
20
|
+
"node_modules"
|
|
21
|
+
]
|
|
22
|
+
}
|