@emilgroup/customer-sdk-node 1.11.3 → 1.13.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 +3 -0
- package/README.md +2 -2
- package/api/authentication-api.ts +8 -8
- package/api/claims-api.ts +138 -12
- package/api/documents-api.ts +4 -4
- package/api/invites-api.ts +16 -14
- package/api/payments-api.ts +14 -28
- package/api/policies-api.ts +16 -16
- package/api/products-api.ts +4 -4
- package/base.ts +1 -1
- package/dist/api/authentication-api.d.ts +8 -8
- package/dist/api/authentication-api.js +8 -8
- package/dist/api/claims-api.d.ts +86 -12
- package/dist/api/claims-api.js +106 -12
- package/dist/api/documents-api.d.ts +4 -4
- package/dist/api/documents-api.js +4 -4
- package/dist/api/invites-api.d.ts +9 -8
- package/dist/api/invites-api.js +12 -12
- package/dist/api/payments-api.d.ts +11 -20
- package/dist/api/payments-api.js +14 -20
- package/dist/api/policies-api.d.ts +16 -16
- package/dist/api/policies-api.js +16 -16
- package/dist/api/products-api.d.ts +4 -4
- package/dist/api/products-api.js +4 -4
- package/dist/base.js +1 -1
- package/dist/models/currency-class.d.ts +48 -0
- package/dist/models/currency-class.js +15 -0
- package/dist/models/get-customer-claim-response-class.d.ts +25 -0
- package/dist/models/get-customer-claim-response-class.js +15 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/invite-by-tenant-request-dto.d.ts +24 -0
- package/dist/models/invite-by-tenant-request-dto.js +15 -0
- package/dist/models/invoice-class.d.ts +7 -0
- package/dist/models/policy-object-class.d.ts +18 -0
- package/dist/models/shared-customer-policy-object-request-dto.d.ts +7 -1
- package/dist/models/terminate-customer-policy-request-dto.d.ts +1 -1
- package/models/currency-class.ts +54 -0
- package/models/get-customer-claim-response-class.ts +31 -0
- package/models/index.ts +3 -0
- package/models/invite-by-tenant-request-dto.ts +30 -0
- package/models/invoice-class.ts +7 -0
- package/models/policy-object-class.ts +18 -0
- package/models/shared-customer-policy-object-request-dto.ts +7 -1
- package/models/terminate-customer-policy-request-dto.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService 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 InviteByTenantRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface InviteByTenantRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* User\'s email address
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InviteByTenantRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'email': string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService 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 });
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { CurrencyClass } from './currency-class';
|
|
12
13
|
import { SharedInvoiceItemClass } from './shared-invoice-item-class';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -118,6 +119,12 @@ export interface InvoiceClass {
|
|
|
118
119
|
* @memberof InvoiceClass
|
|
119
120
|
*/
|
|
120
121
|
'invoiceItems': Array<SharedInvoiceItemClass>;
|
|
122
|
+
/**
|
|
123
|
+
* Currency. Set to EUR by default
|
|
124
|
+
* @type {CurrencyClass}
|
|
125
|
+
* @memberof InvoiceClass
|
|
126
|
+
*/
|
|
127
|
+
'currency': CurrencyClass;
|
|
121
128
|
}
|
|
122
129
|
export declare const InvoiceClassTypeEnum: {
|
|
123
130
|
readonly Initial: "initial";
|
|
@@ -27,4 +27,22 @@ export interface PolicyObjectClass {
|
|
|
27
27
|
* @memberof PolicyObjectClass
|
|
28
28
|
*/
|
|
29
29
|
'data': object;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier referencing the insured object.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PolicyObjectClass
|
|
34
|
+
*/
|
|
35
|
+
'insuredObjectId': number;
|
|
36
|
+
/**
|
|
37
|
+
* Time at which the object was created.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PolicyObjectClass
|
|
40
|
+
*/
|
|
41
|
+
'createdAt': string;
|
|
42
|
+
/**
|
|
43
|
+
* Time at which the object was updated.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PolicyObjectClass
|
|
46
|
+
*/
|
|
47
|
+
'updatedAt': string;
|
|
30
48
|
}
|
|
@@ -20,7 +20,13 @@ export interface SharedCustomerPolicyObjectRequestDto {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof SharedCustomerPolicyObjectRequestDto
|
|
22
22
|
*/
|
|
23
|
-
'insuredObjectName'
|
|
23
|
+
'insuredObjectName'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Insured object id
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SharedCustomerPolicyObjectRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'insuredObjectId'?: number;
|
|
24
30
|
/**
|
|
25
31
|
* Insured object data
|
|
26
32
|
* @type {object}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CustomerService
|
|
5
|
+
* The EMIL CustomerService 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 CurrencyClass
|
|
21
|
+
*/
|
|
22
|
+
export interface CurrencyClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof CurrencyClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Name of currency in English.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CurrencyClass
|
|
33
|
+
*/
|
|
34
|
+
'name': string;
|
|
35
|
+
/**
|
|
36
|
+
* Name of currency in native language.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CurrencyClass
|
|
39
|
+
*/
|
|
40
|
+
'nativeName': string;
|
|
41
|
+
/**
|
|
42
|
+
* Code defined by ISO 4217 standard.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CurrencyClass
|
|
45
|
+
*/
|
|
46
|
+
'code': string;
|
|
47
|
+
/**
|
|
48
|
+
* Currency symbols are graphical representations used to denote a particular currency in written or printed form.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CurrencyClass
|
|
51
|
+
*/
|
|
52
|
+
'symbol': string;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CustomerService
|
|
5
|
+
* The EMIL CustomerService 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 { ClaimClass } from './claim-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetCustomerClaimResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetCustomerClaimResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Claim
|
|
26
|
+
* @type {ClaimClass}
|
|
27
|
+
* @memberof GetCustomerClaimResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'claim': ClaimClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -12,10 +12,12 @@ export * from './create-customer-claim-response-class';
|
|
|
12
12
|
export * from './create-customer-request-dto';
|
|
13
13
|
export * from './create-customer-response-class';
|
|
14
14
|
export * from './create-presigned-post-response-class';
|
|
15
|
+
export * from './currency-class';
|
|
15
16
|
export * from './customer-class';
|
|
16
17
|
export * from './customer-document-class';
|
|
17
18
|
export * from './customer-product-class';
|
|
18
19
|
export * from './forgot-password-request-dto';
|
|
20
|
+
export * from './get-customer-claim-response-class';
|
|
19
21
|
export * from './get-customer-document-download-url-response-class';
|
|
20
22
|
export * from './get-customer-response-class';
|
|
21
23
|
export * from './get-policy-response-class';
|
|
@@ -27,6 +29,7 @@ export * from './initiate-payment-setup-response-class';
|
|
|
27
29
|
export * from './initiate-stripe-payment-setup-response-class';
|
|
28
30
|
export * from './invite-by-customer-request-dto';
|
|
29
31
|
export * from './invite-by-customer-response-class';
|
|
32
|
+
export * from './invite-by-tenant-request-dto';
|
|
30
33
|
export * from './invite-by-tenant-response-class';
|
|
31
34
|
export * from './invite-class';
|
|
32
35
|
export * from './invoice-class';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CustomerService
|
|
5
|
+
* The EMIL CustomerService 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 InviteByTenantRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface InviteByTenantRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* User\'s email address
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InviteByTenantRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'email': string;
|
|
29
|
+
}
|
|
30
|
+
|
package/models/invoice-class.ts
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { CurrencyClass } from './currency-class';
|
|
16
17
|
import { SharedInvoiceItemClass } from './shared-invoice-item-class';
|
|
17
18
|
|
|
18
19
|
/**
|
|
@@ -123,6 +124,12 @@ export interface InvoiceClass {
|
|
|
123
124
|
* @memberof InvoiceClass
|
|
124
125
|
*/
|
|
125
126
|
'invoiceItems': Array<SharedInvoiceItemClass>;
|
|
127
|
+
/**
|
|
128
|
+
* Currency. Set to EUR by default
|
|
129
|
+
* @type {CurrencyClass}
|
|
130
|
+
* @memberof InvoiceClass
|
|
131
|
+
*/
|
|
132
|
+
'currency': CurrencyClass;
|
|
126
133
|
}
|
|
127
134
|
|
|
128
135
|
export const InvoiceClassTypeEnum = {
|
|
@@ -32,5 +32,23 @@ export interface PolicyObjectClass {
|
|
|
32
32
|
* @memberof PolicyObjectClass
|
|
33
33
|
*/
|
|
34
34
|
'data': object;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier referencing the insured object.
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof PolicyObjectClass
|
|
39
|
+
*/
|
|
40
|
+
'insuredObjectId': number;
|
|
41
|
+
/**
|
|
42
|
+
* Time at which the object was created.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PolicyObjectClass
|
|
45
|
+
*/
|
|
46
|
+
'createdAt': string;
|
|
47
|
+
/**
|
|
48
|
+
* Time at which the object was updated.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PolicyObjectClass
|
|
51
|
+
*/
|
|
52
|
+
'updatedAt': string;
|
|
35
53
|
}
|
|
36
54
|
|
|
@@ -25,7 +25,13 @@ export interface SharedCustomerPolicyObjectRequestDto {
|
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof SharedCustomerPolicyObjectRequestDto
|
|
27
27
|
*/
|
|
28
|
-
'insuredObjectName'
|
|
28
|
+
'insuredObjectName'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Insured object id
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof SharedCustomerPolicyObjectRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'insuredObjectId'?: number;
|
|
29
35
|
/**
|
|
30
36
|
* Insured object data
|
|
31
37
|
* @type {object}
|