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|
|
2
|
|
|
|
|
4048
|
|
4
|
|
|
|
|
|
|
extends Types::Standard |
5
|
|
|
|
|
|
|
declares CustomAttributeNameType, |
6
|
|
|
|
|
|
|
CustomAttributeValueType, |
7
|
|
|
|
|
|
|
IPAddressType, |
8
|
|
|
|
|
|
|
CustomAttributesType, |
9
|
|
|
|
|
|
|
EventNameType, |
10
|
|
|
|
|
|
|
EventMetadataURLValueType, |
11
|
|
|
|
|
|
|
EventMetadataPriceValueType, |
12
|
|
|
|
|
|
|
EventMetadataType, |
13
|
|
|
|
|
|
|
SocialProfileListType, |
14
|
|
|
|
|
|
|
SocialProfileType, |
15
|
|
|
|
|
|
|
AvatarType, |
16
|
|
|
|
|
|
|
LocationDataType, |
17
|
|
|
|
|
|
|
CompaniesListType, |
18
|
|
|
|
|
|
|
SegmentsListType, |
19
|
|
|
|
|
|
|
SegmentType, |
20
|
|
|
|
|
|
|
TagsListType, |
21
|
|
|
|
|
|
|
TagUserIdentifierType, |
22
|
|
|
|
|
|
|
TagCompanyIdentifierType, |
23
|
|
|
|
|
|
|
MessagePersonType |
24
|
|
|
|
|
|
|
{ |
25
|
|
|
|
|
|
|
|
26
|
2
|
|
|
|
|
36
|
declare "MessagePersonType", as Dict[ |
27
|
|
|
|
|
|
|
type => StrMatch[qr/^(admin|user)$/], |
28
|
|
|
|
|
|
|
user_id => Optional[Str], |
29
|
|
|
|
|
|
|
email => Optional[Str], |
30
|
|
|
|
|
|
|
id => Optional[Str] |
31
|
|
|
|
|
|
|
]; |
32
|
|
|
|
|
|
|
coerce MessagePersonType, from HashRef, via { |
33
|
0
|
|
|
|
|
0
|
MessagePersonType->new($_); |
34
|
2
|
|
|
|
|
19836
|
}; |
35
|
|
|
|
|
|
|
|
36
|
2
|
|
|
|
|
1044
|
declare "CustomAttributeNameType", as StrMatch[qr/^[^[.\$]+$/]; |
37
|
2
|
|
|
|
|
2718
|
declare "IPAddressType", as StrMatch[qr/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/]; |
38
|
|
|
|
|
|
|
coerce IPAddressType, from Str, via { |
39
|
0
|
|
|
|
|
0
|
IPAddressType->new($_); |
40
|
2
|
|
|
|
|
2284
|
}; |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
2
|
|
|
|
|
300
|
declare "CustomAttributeValueType", as Value|Bool; |
44
|
|
|
|
|
|
|
|
45
|
2
|
|
|
|
|
8769
|
declare "CustomAttributesType", as Map[CustomAttributeNameType, CustomAttributeValueType]; |
46
|
|
|
|
|
|
|
coerce CustomAttributesType, from HashRef, via { |
47
|
0
|
|
|
|
|
0
|
CustomAttributesType->new($_); |
48
|
2
|
|
|
|
|
8057
|
}; |
49
|
|
|
|
|
|
|
|
50
|
2
|
|
|
|
|
340
|
declare "SocialProfileType", as Dict[type => Str, |
51
|
|
|
|
|
|
|
name => Maybe[Str], |
52
|
|
|
|
|
|
|
username => Maybe[Str], |
53
|
|
|
|
|
|
|
url => Maybe[Str], |
54
|
|
|
|
|
|
|
id => Maybe[Str] |
55
|
|
|
|
|
|
|
]; |
56
|
|
|
|
|
|
|
coerce SocialProfileType, from HashRef, via { |
57
|
0
|
|
|
|
|
0
|
SocialProfileType->new($_); |
58
|
2
|
|
|
|
|
12608
|
}; |
59
|
|
|
|
|
|
|
|
60
|
2
|
|
|
|
|
433
|
declare "SocialProfileListType", as Dict[type => Str, |
61
|
|
|
|
|
|
|
social_profiles => ArrayRef[SocialProfileType] |
62
|
|
|
|
|
|
|
]; |
63
|
|
|
|
|
|
|
coerce SocialProfileListType, from HashRef, via { |
64
|
0
|
|
|
|
|
0
|
SocialProfileListType->new($_); |
65
|
2
|
|
|
|
|
21043
|
}; |
66
|
|
|
|
|
|
|
|
67
|
2
|
|
|
|
|
334
|
declare "EventNameType", as StrMatch[qr/^[^[.\$]+$/]; |
68
|
|
|
|
|
|
|
|
69
|
2
|
|
|
|
|
2302
|
declare "EventMetadataURLValueType", as Dict[url => Str, |
70
|
|
|
|
|
|
|
value => Optional[Str]]; |
71
|
|
|
|
|
|
|
coerce EventMetadataURLValueType, from HashRef, via { |
72
|
0
|
|
|
|
|
0
|
EventMetadataURLValueType->new($_); |
73
|
2
|
|
|
|
|
6032
|
}; |
74
|
|
|
|
|
|
|
|
75
|
2
|
|
|
|
|
306
|
declare "EventMetadataPriceValueType", as Dict[amount => Int, |
76
|
|
|
|
|
|
|
currency => Str]; |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
coerce EventMetadataPriceValueType, from HashRef, via { |
79
|
0
|
|
|
|
|
0
|
EventMetadataPriceValueType->new($_); |
80
|
2
|
|
|
|
|
8075
|
}; |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
|
83
|
2
|
|
|
|
|
383
|
declare "EventMetadataType", as Map[Str, Value|EventMetadataURLValueType|EventMetadataPriceValueType]; |
84
|
|
|
|
|
|
|
coerce EventMetadataType from HashRef, via { |
85
|
0
|
|
|
|
|
0
|
EventMetadataType->new($_); |
86
|
2
|
|
|
|
|
12577
|
}; |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
|
89
|
2
|
|
|
|
|
301
|
declare "TagUserIdentifierType", as Dict[id => Optional[Str], |
90
|
|
|
|
|
|
|
email => Optional[Str], |
91
|
|
|
|
|
|
|
user_id => Optional[Str], |
92
|
|
|
|
|
|
|
untag => Optional[Bool], |
93
|
|
|
|
|
|
|
]; |
94
|
|
|
|
|
|
|
coerce TagUserIdentifierType, from HashRef, via { |
95
|
0
|
|
|
|
|
0
|
TagUserIdentifierType->new($_) |
96
|
2
|
|
|
|
|
8862
|
}; |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
|
99
|
2
|
|
|
|
|
307
|
declare "TagCompanyIdentifierType", as Dict[id => Optional[Str], |
100
|
|
|
|
|
|
|
company_id => Optional[Str], |
101
|
|
|
|
|
|
|
untag => Optional[Bool], |
102
|
|
|
|
|
|
|
]; |
103
|
|
|
|
|
|
|
coerce TagCompanyIdentifierType, from HashRef, via { |
104
|
0
|
|
|
|
|
0
|
TagCompanyIdentifierType->new($_) |
105
|
2
|
|
|
|
|
6765
|
}; |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
|
109
|
2
|
|
|
|
|
302
|
declare "AvatarType", as Dict[type => Str, |
110
|
|
|
|
|
|
|
image_url => Maybe[Str]]; |
111
|
|
|
|
|
|
|
|
112
|
2
|
|
|
|
|
6933
|
declare "LocationDataType", as Dict[type => Str, |
113
|
|
|
|
|
|
|
city_name => Maybe[Str], |
114
|
|
|
|
|
|
|
continent_code => Maybe[Str], |
115
|
|
|
|
|
|
|
country_code => Maybe[Str], |
116
|
|
|
|
|
|
|
country_name => Maybe[Str], |
117
|
|
|
|
|
|
|
latitude => Maybe[Num], |
118
|
|
|
|
|
|
|
longitude => Maybe[Num], |
119
|
|
|
|
|
|
|
postal_code => Maybe[Str], |
120
|
|
|
|
|
|
|
region_name => Maybe[Str], |
121
|
|
|
|
|
|
|
timezone => Maybe[Str] |
122
|
|
|
|
|
|
|
]; |
123
|
|
|
|
|
|
|
|
124
|
2
|
|
|
|
|
22570
|
declare "CompaniesListType", as Dict[type => Str, |
125
|
|
|
|
|
|
|
companies => ArrayRef[Dict[id => Str]]]; |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
|
128
|
2
|
|
|
|
|
14570
|
declare "SegmentType", as Dict[type => Str, |
129
|
|
|
|
|
|
|
id => Str, |
130
|
|
|
|
|
|
|
name => Str, |
131
|
|
|
|
|
|
|
created_at => Int, |
132
|
|
|
|
|
|
|
updated_at => Int]; |
133
|
|
|
|
|
|
|
|
134
|
2
|
|
|
|
|
14525
|
declare "SegmentsListType", as Dict[type => Str, |
135
|
|
|
|
|
|
|
segments => ArrayRef[Dict[type => Str, id => Str]]]; |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
|
138
|
2
|
|
|
|
|
15745
|
declare "TagsListType", as Dict[type => Str, |
139
|
|
|
|
|
|
|
tags => ArrayRef[Dict[id => Str, |
140
|
|
|
|
|
|
|
type => Str, |
141
|
|
|
|
|
|
|
name => Optional[Str] |
142
|
|
|
|
|
|
|
]]]; |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
}; |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
1; |