@emilgroup/customer-sdk-node 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 +35 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +51 -0
- package/api/customers-api.ts +1284 -0
- package/api.ts +36 -0
- package/base.ts +187 -0
- package/common.ts +139 -0
- package/configuration.ts +118 -0
- package/dist/api/customers-api.d.ts +730 -0
- package/dist/api/customers-api.js +1095 -0
- package/dist/api.d.ts +16 -0
- package/dist/api.js +36 -0
- package/dist/base.d.ts +68 -0
- package/dist/base.js +251 -0
- package/dist/common.d.ts +66 -0
- package/dist/common.js +244 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +45 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +35 -0
- package/dist/models/create-account-request-dto.d.ts +102 -0
- package/dist/models/create-account-request-dto.js +21 -0
- package/dist/models/create-customer-request-dto.d.ts +43 -0
- package/dist/models/create-customer-request-dto.js +15 -0
- package/dist/models/create-customer-response-class.d.ts +24 -0
- package/dist/models/create-customer-response-class.js +15 -0
- package/dist/models/forgot-password-request-dto.d.ts +30 -0
- package/dist/models/forgot-password-request-dto.js +15 -0
- package/dist/models/get-policy-response-class.d.ts +25 -0
- package/dist/models/get-policy-response-class.js +15 -0
- package/dist/models/index.d.ts +21 -0
- package/dist/models/index.js +37 -0
- package/dist/models/invite-class.d.ts +54 -0
- package/dist/models/invite-class.js +15 -0
- package/dist/models/invite-customer-request-dto.d.ts +30 -0
- package/dist/models/invite-customer-request-dto.js +15 -0
- package/dist/models/invite-customer-response-class.d.ts +25 -0
- package/dist/models/invite-customer-response-class.js +15 -0
- package/dist/models/list-invoices-response-class.d.ts +30 -0
- package/dist/models/list-invoices-response-class.js +15 -0
- package/dist/models/list-policies-response-class.d.ts +31 -0
- package/dist/models/list-policies-response-class.js +15 -0
- package/dist/models/login-request-dto.d.ts +36 -0
- package/dist/models/login-request-dto.js +15 -0
- package/dist/models/login-response-class.d.ts +30 -0
- package/dist/models/login-response-class.js +15 -0
- package/dist/models/policy-class.d.ts +55 -0
- package/dist/models/policy-class.js +15 -0
- package/dist/models/policy-object-class.d.ts +30 -0
- package/dist/models/policy-object-class.js +15 -0
- package/dist/models/policy-premium-class.d.ts +43 -0
- package/dist/models/policy-premium-class.js +15 -0
- package/dist/models/policy-premium-item-class.d.ts +36 -0
- package/dist/models/policy-premium-item-class.js +15 -0
- package/dist/models/policy-version-class.d.ts +49 -0
- package/dist/models/policy-version-class.js +15 -0
- package/dist/models/refresh-token-dto.d.ts +30 -0
- package/dist/models/refresh-token-dto.js +15 -0
- package/dist/models/reset-password-by-customer-request-dto.d.ts +36 -0
- package/dist/models/reset-password-by-customer-request-dto.js +15 -0
- package/dist/models/timeslice-class.d.ts +56 -0
- package/dist/models/timeslice-class.js +15 -0
- package/dist/models/verify-customer-invite-response-class.d.ts +36 -0
- package/dist/models/verify-customer-invite-response-class.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/create-account-request-dto.ts +111 -0
- package/models/create-customer-request-dto.ts +49 -0
- package/models/create-customer-response-class.ts +30 -0
- package/models/forgot-password-request-dto.ts +36 -0
- package/models/get-policy-response-class.ts +31 -0
- package/models/index.ts +21 -0
- package/models/invite-class.ts +60 -0
- package/models/invite-customer-request-dto.ts +36 -0
- package/models/invite-customer-response-class.ts +31 -0
- package/models/list-invoices-response-class.ts +36 -0
- package/models/list-policies-response-class.ts +37 -0
- package/models/login-request-dto.ts +42 -0
- package/models/login-response-class.ts +36 -0
- package/models/policy-class.ts +61 -0
- package/models/policy-object-class.ts +36 -0
- package/models/policy-premium-class.ts +49 -0
- package/models/policy-premium-item-class.ts +42 -0
- package/models/policy-version-class.ts +55 -0
- package/models/refresh-token-dto.ts +36 -0
- package/models/reset-password-by-customer-request-dto.ts +42 -0
- package/models/timeslice-class.ts +62 -0
- package/models/verify-customer-invite-response-class.ts +42 -0
- package/package.json +29 -0
- package/tsconfig.json +22 -0
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
*
|
|
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 LoginRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface LoginRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof LoginRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'username': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof LoginRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'password': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof LoginRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'tenantSlug': string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
*
|
|
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 LoginResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface LoginResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Access token containing identity information of the customer; needs to be sent as Authorization header for other customer api end points
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof LoginResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'accessToken': string;
|
|
29
|
+
/**
|
|
30
|
+
* MFA Challenge
|
|
31
|
+
* @type {object}
|
|
32
|
+
* @memberof LoginResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'mfaChallenge': object;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
*
|
|
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 { PolicyVersionClass } from './policy-version-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PolicyClass
|
|
22
|
+
*/
|
|
23
|
+
export interface PolicyClass {
|
|
24
|
+
/**
|
|
25
|
+
* Policy code
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PolicyClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* Policy number
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PolicyClass
|
|
34
|
+
*/
|
|
35
|
+
'policyNumber': string;
|
|
36
|
+
/**
|
|
37
|
+
* Policy account code
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PolicyClass
|
|
40
|
+
*/
|
|
41
|
+
'accountCode': string;
|
|
42
|
+
/**
|
|
43
|
+
* Policy versions
|
|
44
|
+
* @type {Array<PolicyVersionClass>}
|
|
45
|
+
* @memberof PolicyClass
|
|
46
|
+
*/
|
|
47
|
+
'versions': Array<PolicyVersionClass>;
|
|
48
|
+
/**
|
|
49
|
+
* Date created
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PolicyClass
|
|
52
|
+
*/
|
|
53
|
+
'createdAt': string;
|
|
54
|
+
/**
|
|
55
|
+
* Date updated
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PolicyClass
|
|
58
|
+
*/
|
|
59
|
+
'updatedAt': string;
|
|
60
|
+
}
|
|
61
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
*
|
|
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 PolicyObjectClass
|
|
21
|
+
*/
|
|
22
|
+
export interface PolicyObjectClass {
|
|
23
|
+
/**
|
|
24
|
+
* Insured object name
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PolicyObjectClass
|
|
27
|
+
*/
|
|
28
|
+
'insuredObjectName': string;
|
|
29
|
+
/**
|
|
30
|
+
* Insured object data
|
|
31
|
+
* @type {object}
|
|
32
|
+
* @memberof PolicyObjectClass
|
|
33
|
+
*/
|
|
34
|
+
'data': object;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
*
|
|
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 { PolicyPremiumItemClass } from './policy-premium-item-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PolicyPremiumClass
|
|
22
|
+
*/
|
|
23
|
+
export interface PolicyPremiumClass {
|
|
24
|
+
/**
|
|
25
|
+
* Premium Items
|
|
26
|
+
* @type {Array<PolicyPremiumItemClass>}
|
|
27
|
+
* @memberof PolicyPremiumClass
|
|
28
|
+
*/
|
|
29
|
+
'premiumItems': Array<PolicyPremiumItemClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Policy premium grand total
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PolicyPremiumClass
|
|
34
|
+
*/
|
|
35
|
+
'grandTotal': number;
|
|
36
|
+
/**
|
|
37
|
+
* Date created
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PolicyPremiumClass
|
|
40
|
+
*/
|
|
41
|
+
'createdAt': string;
|
|
42
|
+
/**
|
|
43
|
+
* Date updated
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PolicyPremiumClass
|
|
46
|
+
*/
|
|
47
|
+
'updatedAt': string;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
*
|
|
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 PolicyPremiumItemClass
|
|
21
|
+
*/
|
|
22
|
+
export interface PolicyPremiumItemClass {
|
|
23
|
+
/**
|
|
24
|
+
* Item total
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof PolicyPremiumItemClass
|
|
27
|
+
*/
|
|
28
|
+
'total': number;
|
|
29
|
+
/**
|
|
30
|
+
* Date created
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PolicyPremiumItemClass
|
|
33
|
+
*/
|
|
34
|
+
'createdAt': string;
|
|
35
|
+
/**
|
|
36
|
+
* Date updated
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PolicyPremiumItemClass
|
|
39
|
+
*/
|
|
40
|
+
'updatedAt': string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
*
|
|
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 { TimesliceClass } from './timeslice-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PolicyVersionClass
|
|
22
|
+
*/
|
|
23
|
+
export interface PolicyVersionClass {
|
|
24
|
+
/**
|
|
25
|
+
* Policy timeline
|
|
26
|
+
* @type {Array<TimesliceClass>}
|
|
27
|
+
* @memberof PolicyVersionClass
|
|
28
|
+
*/
|
|
29
|
+
'timeline': Array<TimesliceClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Policy version metadata
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @memberof PolicyVersionClass
|
|
34
|
+
*/
|
|
35
|
+
'metadata': object;
|
|
36
|
+
/**
|
|
37
|
+
* Is this the current policy version?
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof PolicyVersionClass
|
|
40
|
+
*/
|
|
41
|
+
'isCurrent': boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Date created
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PolicyVersionClass
|
|
46
|
+
*/
|
|
47
|
+
'createdAt': string;
|
|
48
|
+
/**
|
|
49
|
+
* Date updated
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PolicyVersionClass
|
|
52
|
+
*/
|
|
53
|
+
'updatedAt': string;
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
*
|
|
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 RefreshTokenDto
|
|
21
|
+
*/
|
|
22
|
+
export interface RefreshTokenDto {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof RefreshTokenDto
|
|
27
|
+
*/
|
|
28
|
+
'username': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof RefreshTokenDto
|
|
33
|
+
*/
|
|
34
|
+
'tenantSlug': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
*
|
|
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 ResetPasswordByCustomerRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface ResetPasswordByCustomerRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Customer\'s email address
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ResetPasswordByCustomerRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'email': string;
|
|
29
|
+
/**
|
|
30
|
+
* Customer\'s reset token
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ResetPasswordByCustomerRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'resetToken': string;
|
|
35
|
+
/**
|
|
36
|
+
* Customer\'s new password
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ResetPasswordByCustomerRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'newPassword': string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
*
|
|
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 { PolicyObjectClass } from './policy-object-class';
|
|
17
|
+
import { PolicyPremiumClass } from './policy-premium-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface TimesliceClass
|
|
23
|
+
*/
|
|
24
|
+
export interface TimesliceClass {
|
|
25
|
+
/**
|
|
26
|
+
* Timeslice policy data
|
|
27
|
+
* @type {Array<PolicyObjectClass>}
|
|
28
|
+
* @memberof TimesliceClass
|
|
29
|
+
*/
|
|
30
|
+
'policyObjects': Array<PolicyObjectClass>;
|
|
31
|
+
/**
|
|
32
|
+
* Timeslice validity start
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof TimesliceClass
|
|
35
|
+
*/
|
|
36
|
+
'from': string;
|
|
37
|
+
/**
|
|
38
|
+
* Timeslice validity end
|
|
39
|
+
* @type {object}
|
|
40
|
+
* @memberof TimesliceClass
|
|
41
|
+
*/
|
|
42
|
+
'to': object;
|
|
43
|
+
/**
|
|
44
|
+
* Timeslice premium
|
|
45
|
+
* @type {PolicyPremiumClass}
|
|
46
|
+
* @memberof TimesliceClass
|
|
47
|
+
*/
|
|
48
|
+
'premium': PolicyPremiumClass;
|
|
49
|
+
/**
|
|
50
|
+
* Date created
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof TimesliceClass
|
|
53
|
+
*/
|
|
54
|
+
'createdAt': string;
|
|
55
|
+
/**
|
|
56
|
+
* Date updated
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof TimesliceClass
|
|
59
|
+
*/
|
|
60
|
+
'updatedAt': string;
|
|
61
|
+
}
|
|
62
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
*
|
|
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 VerifyCustomerInviteResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface VerifyCustomerInviteResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Invite token sent to the customer
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof VerifyCustomerInviteResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'inviteToken': string;
|
|
29
|
+
/**
|
|
30
|
+
* Customer\'s email address
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof VerifyCustomerInviteResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'email': string;
|
|
35
|
+
/**
|
|
36
|
+
* Tenant\'s unique slug
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof VerifyCustomerInviteResponseClass
|
|
39
|
+
*/
|
|
40
|
+
'tenantSlug': string;
|
|
41
|
+
}
|
|
42
|
+
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@emilgroup/customer-sdk-node",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "OpenAPI client for @emilgroup/customer-sdk-node",
|
|
5
|
+
"author": "OpenAPI-Generator Contributors",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"axios",
|
|
8
|
+
"typescript",
|
|
9
|
+
"openapi-client",
|
|
10
|
+
"openapi-generator",
|
|
11
|
+
"@emilgroup/customer-sdk-node"
|
|
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.26.1",
|
|
22
|
+
"form-data": "^4.0.0",
|
|
23
|
+
"url": "^0.11.0"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@types/node": "^12.11.5",
|
|
27
|
+
"typescript": "^4.0"
|
|
28
|
+
}
|
|
29
|
+
}
|
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
|
+
}
|