@emilgroup/customer-sdk-node 1.3.0 → 1.4.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 +6 -0
- package/README.md +2 -2
- package/api/customers-api.ts +431 -68
- package/dist/api/customers-api.d.ts +251 -36
- package/dist/api/customers-api.js +308 -40
- package/dist/models/get-customer-response-class.d.ts +24 -0
- package/dist/models/get-customer-response-class.js +15 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/models/list-documents-response-class.d.ts +30 -0
- package/dist/models/list-documents-response-class.js +15 -0
- package/dist/models/request-policy-update-request-dto.d.ts +42 -0
- package/dist/models/request-policy-update-request-dto.js +15 -0
- package/dist/models/update-account-request-dto.d.ts +96 -0
- package/dist/models/update-account-request-dto.js +21 -0
- package/dist/models/update-customer-request-dto.d.ts +31 -0
- package/dist/models/update-customer-request-dto.js +15 -0
- package/dist/models/update-customer-response-class.d.ts +24 -0
- package/dist/models/update-customer-response-class.js +15 -0
- package/models/get-customer-response-class.ts +30 -0
- package/models/index.ts +6 -0
- package/models/list-documents-response-class.ts +36 -0
- package/models/request-policy-update-request-dto.ts +48 -0
- package/models/update-account-request-dto.ts +105 -0
- package/models/update-customer-request-dto.ts +37 -0
- package/models/update-customer-response-class.ts +30 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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 RequestPolicyUpdateRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface RequestPolicyUpdateRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Policy code
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RequestPolicyUpdateRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
/**
|
|
25
|
+
* Policy objects
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof RequestPolicyUpdateRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'policyObjects': Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Update from
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RequestPolicyUpdateRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'from': string;
|
|
36
|
+
/**
|
|
37
|
+
* Update to
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RequestPolicyUpdateRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'to'?: string;
|
|
42
|
+
}
|
|
@@ -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
|
+
*
|
|
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 });
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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 UpdateAccountRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateAccountRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* The account\'s first name.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateAccountRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'firstName': string;
|
|
24
|
+
/**
|
|
25
|
+
* The account\'s last name.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateAccountRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'lastName': string;
|
|
30
|
+
/**
|
|
31
|
+
* The account\'s email address. It is displayed alongside the account in the admin dashboard and can be useful for searching and tracking.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateAccountRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'email': string;
|
|
36
|
+
/**
|
|
37
|
+
* The account\'s gender.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateAccountRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'gender': UpdateAccountRequestDtoGenderEnum;
|
|
42
|
+
/**
|
|
43
|
+
* The account\'s street name.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UpdateAccountRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'street': string;
|
|
48
|
+
/**
|
|
49
|
+
* The account\'s ZIP or postal code.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UpdateAccountRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'zipCode': string;
|
|
54
|
+
/**
|
|
55
|
+
* The account\'s city, district, suburb, town, or village.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UpdateAccountRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'city': string;
|
|
60
|
+
/**
|
|
61
|
+
* The account\'s house number.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof UpdateAccountRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'houseNumber': string;
|
|
66
|
+
/**
|
|
67
|
+
* Account\'s birth date.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof UpdateAccountRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'birthDate': string;
|
|
72
|
+
/**
|
|
73
|
+
* The account\'s phone number.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof UpdateAccountRequestDto
|
|
76
|
+
*/
|
|
77
|
+
'phone': string;
|
|
78
|
+
/**
|
|
79
|
+
* Optional field to enter extra information.
|
|
80
|
+
* @type {object}
|
|
81
|
+
* @memberof UpdateAccountRequestDto
|
|
82
|
+
*/
|
|
83
|
+
'metadata'?: object;
|
|
84
|
+
/**
|
|
85
|
+
* Optional field to add predefined custom fields.
|
|
86
|
+
* @type {object}
|
|
87
|
+
* @memberof UpdateAccountRequestDto
|
|
88
|
+
*/
|
|
89
|
+
'customFields'?: object;
|
|
90
|
+
}
|
|
91
|
+
export declare const UpdateAccountRequestDtoGenderEnum: {
|
|
92
|
+
readonly Male: "male";
|
|
93
|
+
readonly Female: "female";
|
|
94
|
+
readonly Unspecified: "unspecified";
|
|
95
|
+
};
|
|
96
|
+
export declare type UpdateAccountRequestDtoGenderEnum = typeof UpdateAccountRequestDtoGenderEnum[keyof typeof UpdateAccountRequestDtoGenderEnum];
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
*
|
|
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 });
|
|
16
|
+
exports.UpdateAccountRequestDtoGenderEnum = void 0;
|
|
17
|
+
exports.UpdateAccountRequestDtoGenderEnum = {
|
|
18
|
+
Male: 'male',
|
|
19
|
+
Female: 'female',
|
|
20
|
+
Unspecified: 'unspecified'
|
|
21
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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
|
+
import { UpdateAccountRequestDto } from './update-account-request-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateCustomerRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateCustomerRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
* Optional account data
|
|
21
|
+
* @type {UpdateAccountRequestDto}
|
|
22
|
+
* @memberof UpdateCustomerRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'account'?: UpdateAccountRequestDto;
|
|
25
|
+
/**
|
|
26
|
+
* Customer code
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof UpdateCustomerRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'customerCode': string;
|
|
31
|
+
}
|
|
@@ -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
|
+
*
|
|
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 });
|
|
@@ -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
|
+
*
|
|
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 UpdateCustomerResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateCustomerResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Customer object
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof UpdateCustomerResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'customer': object;
|
|
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
|
+
*
|
|
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 });
|
|
@@ -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
|
+
*
|
|
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 GetCustomerResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface GetCustomerResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Customer object
|
|
25
|
+
* @type {object}
|
|
26
|
+
* @memberof GetCustomerResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'customer': object;
|
|
29
|
+
}
|
|
30
|
+
|
package/models/index.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './create-account-request-dto';
|
|
|
3
3
|
export * from './create-customer-request-dto';
|
|
4
4
|
export * from './create-customer-response-class';
|
|
5
5
|
export * from './forgot-password-request-dto';
|
|
6
|
+
export * from './get-customer-response-class';
|
|
6
7
|
export * from './get-policy-response-class';
|
|
7
8
|
export * from './initiate-auth-request-dto';
|
|
8
9
|
export * from './initiate-auth-response-class';
|
|
@@ -10,6 +11,7 @@ export * from './invite-by-customer-request-dto';
|
|
|
10
11
|
export * from './invite-by-customer-response-class';
|
|
11
12
|
export * from './invite-by-tenant-response-class';
|
|
12
13
|
export * from './invite-class';
|
|
14
|
+
export * from './list-documents-response-class';
|
|
13
15
|
export * from './list-invoices-response-class';
|
|
14
16
|
export * from './list-policies-response-class';
|
|
15
17
|
export * from './policy-class';
|
|
@@ -18,9 +20,13 @@ export * from './policy-premium-class';
|
|
|
18
20
|
export * from './policy-premium-item-class';
|
|
19
21
|
export * from './policy-version-class';
|
|
20
22
|
export * from './refresh-token-dto';
|
|
23
|
+
export * from './request-policy-update-request-dto';
|
|
21
24
|
export * from './request-policy-update-response-class';
|
|
22
25
|
export * from './reset-password-by-customer-request-dto';
|
|
23
26
|
export * from './respond-to-auth-challenge-class';
|
|
24
27
|
export * from './respond-to-auth-challenge-request-dto';
|
|
25
28
|
export * from './timeslice-class';
|
|
29
|
+
export * from './update-account-request-dto';
|
|
30
|
+
export * from './update-customer-request-dto';
|
|
31
|
+
export * from './update-customer-response-class';
|
|
26
32
|
export * from './verify-customer-invite-response-class';
|
|
@@ -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 ListDocumentsResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDocumentsResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* documents list items
|
|
25
|
+
* @type {Array<string>}
|
|
26
|
+
* @memberof ListDocumentsResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'items': Array<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Next page token
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ListDocumentsResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'nextPageToken': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
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 RequestPolicyUpdateRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface RequestPolicyUpdateRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Policy code
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof RequestPolicyUpdateRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* Policy objects
|
|
31
|
+
* @type {Array<string>}
|
|
32
|
+
* @memberof RequestPolicyUpdateRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'policyObjects': Array<string>;
|
|
35
|
+
/**
|
|
36
|
+
* Update from
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof RequestPolicyUpdateRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'from': string;
|
|
41
|
+
/**
|
|
42
|
+
* Update to
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof RequestPolicyUpdateRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'to'?: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,105 @@
|
|
|
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 UpdateAccountRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateAccountRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* The account\'s first name.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdateAccountRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'firstName': string;
|
|
29
|
+
/**
|
|
30
|
+
* The account\'s last name.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdateAccountRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'lastName': string;
|
|
35
|
+
/**
|
|
36
|
+
* The account\'s email address. It is displayed alongside the account in the admin dashboard and can be useful for searching and tracking.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof UpdateAccountRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'email': string;
|
|
41
|
+
/**
|
|
42
|
+
* The account\'s gender.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UpdateAccountRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'gender': UpdateAccountRequestDtoGenderEnum;
|
|
47
|
+
/**
|
|
48
|
+
* The account\'s street name.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof UpdateAccountRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'street': string;
|
|
53
|
+
/**
|
|
54
|
+
* The account\'s ZIP or postal code.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof UpdateAccountRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'zipCode': string;
|
|
59
|
+
/**
|
|
60
|
+
* The account\'s city, district, suburb, town, or village.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof UpdateAccountRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'city': string;
|
|
65
|
+
/**
|
|
66
|
+
* The account\'s house number.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof UpdateAccountRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'houseNumber': string;
|
|
71
|
+
/**
|
|
72
|
+
* Account\'s birth date.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof UpdateAccountRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'birthDate': string;
|
|
77
|
+
/**
|
|
78
|
+
* The account\'s phone number.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof UpdateAccountRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'phone': string;
|
|
83
|
+
/**
|
|
84
|
+
* Optional field to enter extra information.
|
|
85
|
+
* @type {object}
|
|
86
|
+
* @memberof UpdateAccountRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'metadata'?: object;
|
|
89
|
+
/**
|
|
90
|
+
* Optional field to add predefined custom fields.
|
|
91
|
+
* @type {object}
|
|
92
|
+
* @memberof UpdateAccountRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'customFields'?: object;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export const UpdateAccountRequestDtoGenderEnum = {
|
|
98
|
+
Male: 'male',
|
|
99
|
+
Female: 'female',
|
|
100
|
+
Unspecified: 'unspecified'
|
|
101
|
+
} as const;
|
|
102
|
+
|
|
103
|
+
export type UpdateAccountRequestDtoGenderEnum = typeof UpdateAccountRequestDtoGenderEnum[keyof typeof UpdateAccountRequestDtoGenderEnum];
|
|
104
|
+
|
|
105
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { UpdateAccountRequestDto } from './update-account-request-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface UpdateCustomerRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdateCustomerRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* Optional account data
|
|
26
|
+
* @type {UpdateAccountRequestDto}
|
|
27
|
+
* @memberof UpdateCustomerRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'account'?: UpdateAccountRequestDto;
|
|
30
|
+
/**
|
|
31
|
+
* Customer code
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateCustomerRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'customerCode': string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -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
|
+
*
|
|
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 UpdateCustomerResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateCustomerResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Customer object
|
|
25
|
+
* @type {object}
|
|
26
|
+
* @memberof UpdateCustomerResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'customer': object;
|
|
29
|
+
}
|
|
30
|
+
|