@emilgroup/customer-sdk-node 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 +15 -1
- package/README.md +2 -2
- package/api/customers-api.ts +798 -82
- package/base.ts +56 -13
- package/dist/api/customers-api.d.ts +456 -36
- package/dist/api/customers-api.js +579 -40
- package/dist/base.d.ts +1 -0
- package/dist/base.js +46 -8
- package/dist/models/account-class.d.ts +132 -0
- package/dist/models/account-class.js +15 -0
- package/dist/models/create-customer-request-dto.d.ts +0 -7
- package/dist/models/create-customer-response-class.d.ts +3 -2
- package/dist/models/customer-class.d.ts +67 -0
- package/dist/models/customer-class.js +15 -0
- package/dist/models/customer-document-class.d.ts +99 -0
- package/dist/models/customer-document-class.js +36 -0
- package/dist/models/get-customer-document-download-url-response-class.d.ts +24 -0
- package/dist/models/get-customer-document-download-url-response-class.js +15 -0
- package/dist/models/get-customer-response-class.d.ts +25 -0
- package/dist/models/get-customer-response-class.js +15 -0
- package/dist/models/index.d.ts +15 -1
- package/dist/models/index.js +15 -1
- package/dist/models/invoice-class.d.ts +135 -0
- package/dist/models/invoice-class.js +28 -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/list-invoices-response-class.d.ts +3 -2
- 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/reset-password-by-customer-request-dto.d.ts +1 -1
- package/dist/models/shared-invoice-item-class.d.ts +102 -0
- package/dist/models/shared-invoice-item-class.js +15 -0
- package/dist/models/terminate-customer-policy-request-dto.d.ts +24 -0
- package/dist/models/terminate-customer-policy-request-dto.js +15 -0
- package/dist/models/terminate-customer-policy-response-class.d.ts +25 -0
- package/dist/models/terminate-customer-policy-response-class.js +15 -0
- package/dist/models/{create-account-request-dto.d.ts → update-account-request-dto.d.ts} +26 -32
- package/dist/models/{create-account-request-dto.js → update-account-request-dto.js} +2 -2
- 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 +25 -0
- package/dist/models/update-customer-response-class.js +15 -0
- package/dist/models/withdraw-customer-policy-response-class.d.ts +25 -0
- package/dist/models/withdraw-customer-policy-response-class.js +15 -0
- package/models/account-class.ts +138 -0
- package/models/create-customer-request-dto.ts +0 -7
- package/models/create-customer-response-class.ts +3 -2
- package/models/customer-class.ts +73 -0
- package/models/customer-document-class.ts +108 -0
- package/models/get-customer-document-download-url-response-class.ts +30 -0
- package/models/get-customer-response-class.ts +31 -0
- package/models/index.ts +15 -1
- package/models/invoice-class.ts +145 -0
- package/models/list-documents-response-class.ts +37 -0
- package/models/list-invoices-response-class.ts +3 -2
- package/models/request-policy-update-request-dto.ts +48 -0
- package/models/reset-password-by-customer-request-dto.ts +1 -1
- package/models/shared-invoice-item-class.ts +108 -0
- package/models/terminate-customer-policy-request-dto.ts +30 -0
- package/models/terminate-customer-policy-response-class.ts +31 -0
- package/models/{create-account-request-dto.ts → update-account-request-dto.ts} +26 -32
- package/models/update-customer-request-dto.ts +37 -0
- package/models/update-customer-response-class.ts +31 -0
- package/models/withdraw-customer-policy-response-class.ts +31 -0
- package/package.json +1 -1
|
@@ -0,0 +1,145 @@
|
|
|
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 { SharedInvoiceItemClass } from './shared-invoice-item-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface InvoiceClass
|
|
22
|
+
*/
|
|
23
|
+
export interface InvoiceClass {
|
|
24
|
+
/**
|
|
25
|
+
* policy code
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InvoiceClass
|
|
28
|
+
*/
|
|
29
|
+
'policyCode': string;
|
|
30
|
+
/**
|
|
31
|
+
* Account number
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InvoiceClass
|
|
34
|
+
*/
|
|
35
|
+
'accountNumber': string;
|
|
36
|
+
/**
|
|
37
|
+
* Invoice code
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof InvoiceClass
|
|
40
|
+
*/
|
|
41
|
+
'code': string;
|
|
42
|
+
/**
|
|
43
|
+
* Invoice type
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof InvoiceClass
|
|
46
|
+
*/
|
|
47
|
+
'type': InvoiceClassTypeEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Invoice number
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof InvoiceClass
|
|
52
|
+
*/
|
|
53
|
+
'invoiceNumber': string;
|
|
54
|
+
/**
|
|
55
|
+
* Net amount
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof InvoiceClass
|
|
58
|
+
*/
|
|
59
|
+
'netAmount': number;
|
|
60
|
+
/**
|
|
61
|
+
* Tax amount
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof InvoiceClass
|
|
64
|
+
*/
|
|
65
|
+
'taxAmount': number;
|
|
66
|
+
/**
|
|
67
|
+
* Credit amount
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof InvoiceClass
|
|
70
|
+
*/
|
|
71
|
+
'creditAmount': number;
|
|
72
|
+
/**
|
|
73
|
+
* Surcharge amount
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof InvoiceClass
|
|
76
|
+
*/
|
|
77
|
+
'surcharge': number;
|
|
78
|
+
/**
|
|
79
|
+
* Gross amount
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof InvoiceClass
|
|
82
|
+
*/
|
|
83
|
+
'grossAmount': number;
|
|
84
|
+
/**
|
|
85
|
+
* Invoice status
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof InvoiceClass
|
|
88
|
+
*/
|
|
89
|
+
'status': InvoiceClassStatusEnum;
|
|
90
|
+
/**
|
|
91
|
+
* Invoice due date
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof InvoiceClass
|
|
94
|
+
*/
|
|
95
|
+
'dueDate': string;
|
|
96
|
+
/**
|
|
97
|
+
* Invoice metadata
|
|
98
|
+
* @type {object}
|
|
99
|
+
* @memberof InvoiceClass
|
|
100
|
+
*/
|
|
101
|
+
'metadata': object;
|
|
102
|
+
/**
|
|
103
|
+
* Invoice billing interval from
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof InvoiceClass
|
|
106
|
+
*/
|
|
107
|
+
'billingIntervalFrom': string;
|
|
108
|
+
/**
|
|
109
|
+
* Invoice billing interval to
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof InvoiceClass
|
|
112
|
+
*/
|
|
113
|
+
'billingIntervalTo': string;
|
|
114
|
+
/**
|
|
115
|
+
* Invoice created at
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof InvoiceClass
|
|
118
|
+
*/
|
|
119
|
+
'createdAt': string;
|
|
120
|
+
/**
|
|
121
|
+
* Invoice items
|
|
122
|
+
* @type {Array<SharedInvoiceItemClass>}
|
|
123
|
+
* @memberof InvoiceClass
|
|
124
|
+
*/
|
|
125
|
+
'invoiceItems': Array<SharedInvoiceItemClass>;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export const InvoiceClassTypeEnum = {
|
|
129
|
+
Initial: 'initial',
|
|
130
|
+
Recurring: 'recurring',
|
|
131
|
+
Correction: 'correction',
|
|
132
|
+
Estimated: 'estimated',
|
|
133
|
+
Penalty: 'penalty',
|
|
134
|
+
Other: 'other'
|
|
135
|
+
} as const;
|
|
136
|
+
|
|
137
|
+
export type InvoiceClassTypeEnum = typeof InvoiceClassTypeEnum[keyof typeof InvoiceClassTypeEnum];
|
|
138
|
+
export const InvoiceClassStatusEnum = {
|
|
139
|
+
Open: 'open',
|
|
140
|
+
Paid: 'paid'
|
|
141
|
+
} as const;
|
|
142
|
+
|
|
143
|
+
export type InvoiceClassStatusEnum = typeof InvoiceClassStatusEnum[keyof typeof InvoiceClassStatusEnum];
|
|
144
|
+
|
|
145
|
+
|
|
@@ -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 { CustomerDocumentClass } from './customer-document-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListDocumentsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListDocumentsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* documents list items
|
|
26
|
+
* @type {Array<CustomerDocumentClass>}
|
|
27
|
+
* @memberof ListDocumentsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<CustomerDocumentClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListDocumentsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { InvoiceClass } from './invoice-class';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -22,10 +23,10 @@
|
|
|
22
23
|
export interface ListInvoicesResponseClass {
|
|
23
24
|
/**
|
|
24
25
|
* Invoices list items
|
|
25
|
-
* @type {Array<
|
|
26
|
+
* @type {Array<InvoiceClass>}
|
|
26
27
|
* @memberof ListInvoicesResponseClass
|
|
27
28
|
*/
|
|
28
|
-
'items': Array<
|
|
29
|
+
'items': Array<InvoiceClass>;
|
|
29
30
|
/**
|
|
30
31
|
* Next page token
|
|
31
32
|
* @type {string}
|
|
@@ -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,108 @@
|
|
|
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 SharedInvoiceItemClass
|
|
21
|
+
*/
|
|
22
|
+
export interface SharedInvoiceItemClass {
|
|
23
|
+
/**
|
|
24
|
+
* product name
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SharedInvoiceItemClass
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
* tax code
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof SharedInvoiceItemClass
|
|
33
|
+
*/
|
|
34
|
+
'taxCode': string;
|
|
35
|
+
/**
|
|
36
|
+
* Invoice type
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof SharedInvoiceItemClass
|
|
39
|
+
*/
|
|
40
|
+
'unit': string;
|
|
41
|
+
/**
|
|
42
|
+
* group
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof SharedInvoiceItemClass
|
|
45
|
+
*/
|
|
46
|
+
'group': string;
|
|
47
|
+
/**
|
|
48
|
+
* Item quantity
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof SharedInvoiceItemClass
|
|
51
|
+
*/
|
|
52
|
+
'quantity': number;
|
|
53
|
+
/**
|
|
54
|
+
* Item price per unit
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof SharedInvoiceItemClass
|
|
57
|
+
*/
|
|
58
|
+
'pricePerUnit': number;
|
|
59
|
+
/**
|
|
60
|
+
* Item tax rate
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof SharedInvoiceItemClass
|
|
63
|
+
*/
|
|
64
|
+
'taxRate': number;
|
|
65
|
+
/**
|
|
66
|
+
* Net amount
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof SharedInvoiceItemClass
|
|
69
|
+
*/
|
|
70
|
+
'netAmount': number;
|
|
71
|
+
/**
|
|
72
|
+
* Net tax amount
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof SharedInvoiceItemClass
|
|
75
|
+
*/
|
|
76
|
+
'taxAmount': number;
|
|
77
|
+
/**
|
|
78
|
+
* Gross amount
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof SharedInvoiceItemClass
|
|
81
|
+
*/
|
|
82
|
+
'grossAmount': number;
|
|
83
|
+
/**
|
|
84
|
+
* Credit amount
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof SharedInvoiceItemClass
|
|
87
|
+
*/
|
|
88
|
+
'creditAmount': number;
|
|
89
|
+
/**
|
|
90
|
+
* Surcharge amount
|
|
91
|
+
* @type {number}
|
|
92
|
+
* @memberof SharedInvoiceItemClass
|
|
93
|
+
*/
|
|
94
|
+
'surcharge': number;
|
|
95
|
+
/**
|
|
96
|
+
* Invoice item interval from
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof SharedInvoiceItemClass
|
|
99
|
+
*/
|
|
100
|
+
'billingIntervalFrom': string;
|
|
101
|
+
/**
|
|
102
|
+
* Invoice item interval to
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof SharedInvoiceItemClass
|
|
105
|
+
*/
|
|
106
|
+
'billingIntervalTo': string;
|
|
107
|
+
}
|
|
108
|
+
|
|
@@ -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 TerminateCustomerPolicyRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface TerminateCustomerPolicyRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Terminate from
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof TerminateCustomerPolicyRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'from': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -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
|
+
*
|
|
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 { PolicyClass } from './policy-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface TerminateCustomerPolicyResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface TerminateCustomerPolicyResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Policy
|
|
26
|
+
* @type {PolicyClass}
|
|
27
|
+
* @memberof TerminateCustomerPolicyResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'policy': PolicyClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -17,95 +17,89 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface UpdateAccountRequestDto
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface UpdateAccountRequestDto {
|
|
23
23
|
/**
|
|
24
24
|
* The account\'s first name.
|
|
25
25
|
* @type {string}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof UpdateAccountRequestDto
|
|
27
27
|
*/
|
|
28
|
-
'firstName'
|
|
28
|
+
'firstName'?: string;
|
|
29
29
|
/**
|
|
30
30
|
* The account\'s last name.
|
|
31
31
|
* @type {string}
|
|
32
|
-
* @memberof
|
|
32
|
+
* @memberof UpdateAccountRequestDto
|
|
33
33
|
*/
|
|
34
|
-
'lastName'
|
|
34
|
+
'lastName'?: string;
|
|
35
35
|
/**
|
|
36
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
37
|
* @type {string}
|
|
38
|
-
* @memberof
|
|
38
|
+
* @memberof UpdateAccountRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'email'
|
|
40
|
+
'email'?: string;
|
|
41
41
|
/**
|
|
42
42
|
* The account\'s gender.
|
|
43
43
|
* @type {string}
|
|
44
|
-
* @memberof
|
|
44
|
+
* @memberof UpdateAccountRequestDto
|
|
45
45
|
*/
|
|
46
|
-
'gender'
|
|
46
|
+
'gender'?: UpdateAccountRequestDtoGenderEnum;
|
|
47
47
|
/**
|
|
48
48
|
* The account\'s street name.
|
|
49
49
|
* @type {string}
|
|
50
|
-
* @memberof
|
|
50
|
+
* @memberof UpdateAccountRequestDto
|
|
51
51
|
*/
|
|
52
|
-
'street'
|
|
52
|
+
'street'?: string;
|
|
53
53
|
/**
|
|
54
54
|
* The account\'s ZIP or postal code.
|
|
55
55
|
* @type {string}
|
|
56
|
-
* @memberof
|
|
56
|
+
* @memberof UpdateAccountRequestDto
|
|
57
57
|
*/
|
|
58
|
-
'zipCode'
|
|
58
|
+
'zipCode'?: string;
|
|
59
59
|
/**
|
|
60
60
|
* The account\'s city, district, suburb, town, or village.
|
|
61
61
|
* @type {string}
|
|
62
|
-
* @memberof
|
|
62
|
+
* @memberof UpdateAccountRequestDto
|
|
63
63
|
*/
|
|
64
|
-
'city'
|
|
64
|
+
'city'?: string;
|
|
65
65
|
/**
|
|
66
66
|
* The account\'s house number.
|
|
67
67
|
* @type {string}
|
|
68
|
-
* @memberof
|
|
68
|
+
* @memberof UpdateAccountRequestDto
|
|
69
69
|
*/
|
|
70
|
-
'houseNumber'
|
|
70
|
+
'houseNumber'?: string;
|
|
71
71
|
/**
|
|
72
72
|
* Account\'s birth date.
|
|
73
73
|
* @type {string}
|
|
74
|
-
* @memberof
|
|
74
|
+
* @memberof UpdateAccountRequestDto
|
|
75
75
|
*/
|
|
76
|
-
'birthDate'
|
|
76
|
+
'birthDate'?: string;
|
|
77
77
|
/**
|
|
78
78
|
* The account\'s phone number.
|
|
79
79
|
* @type {string}
|
|
80
|
-
* @memberof
|
|
80
|
+
* @memberof UpdateAccountRequestDto
|
|
81
81
|
*/
|
|
82
|
-
'phone'
|
|
83
|
-
/**
|
|
84
|
-
* Optional field to enter your own account number.
|
|
85
|
-
* @type {string}
|
|
86
|
-
* @memberof CreateAccountRequestDto
|
|
87
|
-
*/
|
|
88
|
-
'accountNumber'?: string;
|
|
82
|
+
'phone'?: string;
|
|
89
83
|
/**
|
|
90
84
|
* Optional field to enter extra information.
|
|
91
85
|
* @type {object}
|
|
92
|
-
* @memberof
|
|
86
|
+
* @memberof UpdateAccountRequestDto
|
|
93
87
|
*/
|
|
94
88
|
'metadata'?: object;
|
|
95
89
|
/**
|
|
96
90
|
* Optional field to add predefined custom fields.
|
|
97
91
|
* @type {object}
|
|
98
|
-
* @memberof
|
|
92
|
+
* @memberof UpdateAccountRequestDto
|
|
99
93
|
*/
|
|
100
94
|
'customFields'?: object;
|
|
101
95
|
}
|
|
102
96
|
|
|
103
|
-
export const
|
|
97
|
+
export const UpdateAccountRequestDtoGenderEnum = {
|
|
104
98
|
Male: 'male',
|
|
105
99
|
Female: 'female',
|
|
106
100
|
Unspecified: 'unspecified'
|
|
107
101
|
} as const;
|
|
108
102
|
|
|
109
|
-
export type
|
|
103
|
+
export type UpdateAccountRequestDtoGenderEnum = typeof UpdateAccountRequestDtoGenderEnum[keyof typeof UpdateAccountRequestDtoGenderEnum];
|
|
110
104
|
|
|
111
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,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
|
+
*
|
|
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 { CustomerClass } from './customer-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface UpdateCustomerResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdateCustomerResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Customer object
|
|
26
|
+
* @type {CustomerClass}
|
|
27
|
+
* @memberof UpdateCustomerResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'customer': CustomerClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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
|
+
*
|
|
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 { PolicyClass } from './policy-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface WithdrawCustomerPolicyResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface WithdrawCustomerPolicyResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Policy
|
|
26
|
+
* @type {PolicyClass}
|
|
27
|
+
* @memberof WithdrawCustomerPolicyResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'policy': PolicyClass;
|
|
30
|
+
}
|
|
31
|
+
|