-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathContactResponse.js
More file actions
49 lines (46 loc) · 893 Bytes
/
ContactResponse.js
File metadata and controls
49 lines (46 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import Schema from './Schema'
import BankAccount from './BankAccount'
import Address from './Address'
class ContactResponse extends Schema {}
ContactResponse.schema = {
title: 'ContactResponse',
type: 'object',
properties: {
bankAccount: {
type: 'object',
properties: BankAccount.schema.properties,
},
businessAddress: {
type: 'object',
properties: Address.schema.properties,
},
businessName: {
type: 'string',
},
email: {
type: 'string',
},
externalBusinessId: {
type: 'string',
},
firstName: {
type: 'string',
},
isoCountryCode: {
type: 'string',
},
lastName: {
type: 'string',
},
phoneDialCode: {
type: 'string',
},
phoneNumber: {
type: 'string',
},
type: {
type: 'string',
},
},
}
export default ContactResponse