railsware-telesign 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,105 @@
1
+ require 'soap/rpc/driver'
2
+
3
+ module Telesign::API
4
+
5
+ class TelesignAPISoap < ::SOAP::RPC::Driver
6
+ DefaultEndpointUrl = "https://api.telesign.com/1.x/soap.asmx"
7
+
8
+ Methods = [
9
+ [ "https://www.telesign.com/api/RequestAPIversion",
10
+ "requestAPIversion",
11
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestAPIversion"]],
12
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestAPIversionResponse"]] ],
13
+ { :request_style => :document, :request_use => :literal,
14
+ :response_style => :document, :response_use => :literal,
15
+ :faults => {} }
16
+ ],
17
+ [ "https://www.telesign.com/api/RequestSMS",
18
+ "requestSMS",
19
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestSMS"]],
20
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestSMSResponse"]] ],
21
+ { :request_style => :document, :request_use => :literal,
22
+ :response_style => :document, :response_use => :literal,
23
+ :faults => {} }
24
+ ],
25
+ [ "https://www.telesign.com/api/RequestPhoneID",
26
+ "requestPhoneID",
27
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestPhoneID"]],
28
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestPhoneIDResponse"]] ],
29
+ { :request_style => :document, :request_use => :literal,
30
+ :response_style => :document, :response_use => :literal,
31
+ :faults => {} }
32
+ ],
33
+ [ "https://www.telesign.com/api/RequestSTATUS",
34
+ "requestSTATUS",
35
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestSTATUS"]],
36
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestSTATUSResponse"]] ],
37
+ { :request_style => :document, :request_use => :literal,
38
+ :response_style => :document, :response_use => :literal,
39
+ :faults => {} }
40
+ ],
41
+ [ "https://www.telesign.com/api/RequestCALL",
42
+ "requestCALL",
43
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestCALL"]],
44
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestCALLResponse"]] ],
45
+ { :request_style => :document, :request_use => :literal,
46
+ :response_style => :document, :response_use => :literal,
47
+ :faults => {} }
48
+ ],
49
+ [ "https://www.telesign.com/api/RequestPhoneIDPlatinum",
50
+ "requestPhoneIDPlatinum",
51
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestPhoneIDPlatinum"]],
52
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestPhoneIDPlatinumResponse"]] ],
53
+ { :request_style => :document, :request_use => :literal,
54
+ :response_style => :document, :response_use => :literal,
55
+ :faults => {} }
56
+ ],
57
+ [ "https://www.telesign.com/api/RequestInformationQualityScore",
58
+ "requestInformationQualityScore",
59
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestInformationQualityScore"]],
60
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestInformationQualityScoreResponse"]] ],
61
+ { :request_style => :document, :request_use => :literal,
62
+ :response_style => :document, :response_use => :literal,
63
+ :faults => {} }
64
+ ],
65
+ [ "https://www.telesign.com/api/RequestFraudAnalyzer",
66
+ "requestFraudAnalyzer",
67
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestFraudAnalyzer"]],
68
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestFraudAnalyzerResponse"]] ],
69
+ { :request_style => :document, :request_use => :literal,
70
+ :response_style => :document, :response_use => :literal,
71
+ :faults => {} }
72
+ ]
73
+ ]
74
+
75
+ def initialize(endpoint_url = nil)
76
+ endpoint_url ||= DefaultEndpointUrl
77
+ super(endpoint_url, nil)
78
+ self.mapping_registry = DefaultMappingRegistry::EncodedRegistry
79
+ self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry
80
+ init_methods
81
+ end
82
+
83
+ private
84
+
85
+ def init_methods
86
+ Methods.each do |definitions|
87
+ opt = definitions.last
88
+ if opt[:request_style] == :document
89
+ add_document_operation(*definitions)
90
+ else
91
+ add_rpc_operation(*definitions)
92
+ qname = definitions[0]
93
+ name = definitions[2]
94
+ if qname.name != name and qname.name.capitalize == name.capitalize
95
+ ::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
96
+ __send__(name, *arg)
97
+ end
98
+ end
99
+ end
100
+ end
101
+ end
102
+ end
103
+
104
+
105
+ end
@@ -0,0 +1,661 @@
1
+ require 'soap/mapping'
2
+
3
+ module Telesign; module API
4
+
5
+ module DefaultMappingRegistry
6
+ EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
7
+ LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
8
+ NsApi = "https://www.telesign.com/api/"
9
+
10
+ EncodedRegistry.register(
11
+ :class => Telesign::API::Version,
12
+ :schema_type => XSD::QName.new(NsApi, "Version"),
13
+ :schema_element => [
14
+ ["number", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Number")], [0, 1]]
15
+ ]
16
+ )
17
+
18
+ EncodedRegistry.register(
19
+ :class => Telesign::API::SMS,
20
+ :schema_type => XSD::QName.new(NsApi, "SMS"),
21
+ :schema_element => [
22
+ ["referenceID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ReferenceID")], [0, 1]],
23
+ ["aPIError", ["Telesign::API::APIErrorResponse", XSD::QName.new(NsApi, "APIError")], [0, 1]]
24
+ ]
25
+ )
26
+
27
+ EncodedRegistry.register(
28
+ :class => Telesign::API::APIErrorResponse,
29
+ :schema_type => XSD::QName.new(NsApi, "APIErrorResponse"),
30
+ :schema_element => [
31
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "Code")]],
32
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Message")], [0, 1]]
33
+ ]
34
+ )
35
+
36
+ EncodedRegistry.register(
37
+ :class => Telesign::API::PhoneID,
38
+ :schema_type => XSD::QName.new(NsApi, "PhoneID"),
39
+ :schema_element => [
40
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CountryCode")], [0, 1]],
41
+ ["originalPhoneNumber", ["SOAP::SOAPString", XSD::QName.new(NsApi, "OriginalPhoneNumber")], [0, 1]],
42
+ ["cleansedPhoneNumber", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CleansedPhoneNumber")], [0, 1]],
43
+ ["cleansedCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CleansedCode")], [0, 1]],
44
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsApi, "City")], [0, 1]],
45
+ ["state", ["SOAP::SOAPString", XSD::QName.new(NsApi, "State")], [0, 1]],
46
+ ["zip", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Zip")], [0, 1]],
47
+ ["primaryMetroCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PrimaryMetroCode")], [0, 1]],
48
+ ["county", ["SOAP::SOAPString", XSD::QName.new(NsApi, "County")], [0, 1]],
49
+ ["timeZone", ["SOAP::SOAPString", XSD::QName.new(NsApi, "TimeZone")], [0, 1]],
50
+ ["timeZoneUTCMin", ["SOAP::SOAPString", XSD::QName.new(NsApi, "TimeZoneUTCMin")], [0, 1]],
51
+ ["timeZoneUTCMax", ["SOAP::SOAPString", XSD::QName.new(NsApi, "TimeZoneUTCMax")], [0, 1]],
52
+ ["latitude", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Latitude")], [0, 1]],
53
+ ["longitude", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Longitude")], [0, 1]],
54
+ ["country", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Country")], [0, 1]],
55
+ ["countryName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CountryName")], [0, 1]],
56
+ ["minNumLength", ["SOAP::SOAPString", XSD::QName.new(NsApi, "MinNumLength")], [0, 1]],
57
+ ["maxNumLength", ["SOAP::SOAPString", XSD::QName.new(NsApi, "MaxNumLength")], [0, 1]],
58
+ ["referenceID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ReferenceID")], [0, 1]],
59
+ ["typeofPhone", ["SOAP::SOAPString", XSD::QName.new(NsApi, "TypeofPhone")], [0, 1]],
60
+ ["aPIError", ["Telesign::API::APIErrorResponse", XSD::QName.new(NsApi, "APIError")], [0, 1]]
61
+ ]
62
+ )
63
+
64
+ EncodedRegistry.register(
65
+ :class => Telesign::API::STATUS,
66
+ :schema_type => XSD::QName.new(NsApi, "STATUS"),
67
+ :schema_element => [
68
+ ["statusCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "StatusCode")], [0, 1]],
69
+ ["verificationCodeValid", ["SOAP::SOAPString", XSD::QName.new(NsApi, "VerificationCodeValid")], [0, 1]],
70
+ ["additional", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Additional")], [0, 1]],
71
+ ["keyPress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "KeyPress")], [0, 1]],
72
+ ["aPIError", ["Telesign::API::APIErrorResponse", XSD::QName.new(NsApi, "APIError")], [0, 1]]
73
+ ]
74
+ )
75
+
76
+ EncodedRegistry.register(
77
+ :class => Telesign::API::Call,
78
+ :schema_type => XSD::QName.new(NsApi, "Call"),
79
+ :schema_element => [
80
+ ["referenceID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ReferenceID")], [0, 1]],
81
+ ["aPIError", ["Telesign::API::APIErrorResponse", XSD::QName.new(NsApi, "APIError")], [0, 1]]
82
+ ]
83
+ )
84
+
85
+ EncodedRegistry.register(
86
+ :class => Telesign::API::PhoneIDPlatinum,
87
+ :schema_type => XSD::QName.new(NsApi, "PhoneIDPlatinum"),
88
+ :schema_element => [
89
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CountryCode")], [0, 1]],
90
+ ["originalPhoneNumber", ["SOAP::SOAPString", XSD::QName.new(NsApi, "OriginalPhoneNumber")], [0, 1]],
91
+ ["cleansedPhoneNumber", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CleansedPhoneNumber")], [0, 1]],
92
+ ["cleansedCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CleansedCode")], [0, 1]],
93
+ ["phoneCity", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneCity")], [0, 1]],
94
+ ["phoneState", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneState")], [0, 1]],
95
+ ["phoneZip", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneZip")], [0, 1]],
96
+ ["primaryMetroCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PrimaryMetroCode")], [0, 1]],
97
+ ["phoneCounty", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneCounty")], [0, 1]],
98
+ ["phoneLatitude", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneLatitude")], [0, 1]],
99
+ ["phoneLongitude", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneLongitude")], [0, 1]],
100
+ ["phoneCountry", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneCountry")], [0, 1]],
101
+ ["phoneCountryName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneCountryName")], [0, 1]],
102
+ ["minNumLength", ["SOAP::SOAPString", XSD::QName.new(NsApi, "MinNumLength")], [0, 1]],
103
+ ["maxNumLength", ["SOAP::SOAPString", XSD::QName.new(NsApi, "MaxNumLength")], [0, 1]],
104
+ ["referenceID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ReferenceID")], [0, 1]],
105
+ ["typeofPhone", ["SOAP::SOAPString", XSD::QName.new(NsApi, "TypeofPhone")], [0, 1]],
106
+ ["newAreaCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "NewAreaCode")], [0, 1]],
107
+ ["dialable", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Dialable")], [0, 1]],
108
+ ["pointCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PointCode")], [0, 1]],
109
+ ["nameType", ["SOAP::SOAPString", XSD::QName.new(NsApi, "NameType")], [0, 1]],
110
+ ["name1", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name1")], [0, 1]],
111
+ ["name2", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name2")], [0, 1]],
112
+ ["name3", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name3")], [0, 1]],
113
+ ["addressStatus", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressStatus")], [0, 1]],
114
+ ["addressType", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressType")], [0, 1]],
115
+ ["buildingName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BuildingName")], [0, 1]],
116
+ ["address1Number", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Address1Number")], [0, 1]],
117
+ ["streetPreDirection", ["SOAP::SOAPString", XSD::QName.new(NsApi, "StreetPreDirection")], [0, 1]],
118
+ ["streetName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "StreetName")], [0, 1]],
119
+ ["streetType", ["SOAP::SOAPString", XSD::QName.new(NsApi, "StreetType")], [0, 1]],
120
+ ["streetPostDirection", ["SOAP::SOAPString", XSD::QName.new(NsApi, "StreetPostDirection")], [0, 1]],
121
+ ["address2Number", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Address2Number")], [0, 1]],
122
+ ["address2Type", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Address2Type")], [0, 1]],
123
+ ["addressCity", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressCity")], [0, 1]],
124
+ ["addressState", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressState")], [0, 1]],
125
+ ["addressZip", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressZip")], [0, 1]],
126
+ ["addressZipPlus4", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressZipPlus4")], [0, 1]],
127
+ ["addressCountryCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressCountryCode")], [0, 1]],
128
+ ["addressCountryName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressCountryName")], [0, 1]],
129
+ ["streetNameAccent", ["SOAP::SOAPString", XSD::QName.new(NsApi, "StreetNameAccent")], [0, 1]],
130
+ ["addressCityAccent", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressCityAccent")], [0, 1]],
131
+ ["addressStateAccent", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressStateAccent")], [0, 1]],
132
+ ["fIPSCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "FIPSCode")], [0, 1]],
133
+ ["deliveryPointCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "DeliveryPointCode")], [0, 1]],
134
+ ["carrierRoute", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CarrierRoute")], [0, 1]],
135
+ ["routeTypeDesc", ["SOAP::SOAPString", XSD::QName.new(NsApi, "RouteTypeDesc")], [0, 1]],
136
+ ["routeTypeNum", ["SOAP::SOAPString", XSD::QName.new(NsApi, "RouteTypeNum")], [0, 1]],
137
+ ["addressTimeZoneCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressTimeZoneCode")], [0, 1]],
138
+ ["addressTimeZoneUTCMin", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressTimeZoneUTCMin")], [0, 1]],
139
+ ["addressTimeZoneUTCMax", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressTimeZoneUTCMax")], [0, 1]],
140
+ ["dSTObserved", ["SOAP::SOAPString", XSD::QName.new(NsApi, "DSTObserved")], [0, 1]],
141
+ ["spatiallyInconsistent", ["SOAP::SOAPString", XSD::QName.new(NsApi, "SpatiallyInconsistent")], [0, 1]],
142
+ ["uniqueSource", ["SOAP::SOAPString", XSD::QName.new(NsApi, "UniqueSource")], [0, 1]],
143
+ ["aPIError", ["Telesign::API::APIErrorResponse", XSD::QName.new(NsApi, "APIError")], [0, 1]]
144
+ ]
145
+ )
146
+
147
+ EncodedRegistry.register(
148
+ :class => Telesign::API::InformationQualityScore,
149
+ :schema_type => XSD::QName.new(NsApi, "InformationQualityScore"),
150
+ :schema_element => [
151
+ ["referenceID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ReferenceID")], [0, 1]],
152
+ ["score", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Score")], [0, 1]],
153
+ ["phoneVerify", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneVerify")], [0, 1]],
154
+ ["listingType", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListingType")], [0, 1]],
155
+ ["validAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ValidAddress")], [0, 1]],
156
+ ["validPhoneNumber", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ValidPhoneNumber")], [0, 1]],
157
+ ["inService6M", ["SOAP::SOAPString", XSD::QName.new(NsApi, "InService6M")], [0, 1]],
158
+ ["onDoNotCall", ["SOAP::SOAPString", XSD::QName.new(NsApi, "OnDoNotCall")], [0, 1]],
159
+ ["nearAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "NearAddress")], [0, 1]],
160
+ ["recentChange", ["SOAP::SOAPString", XSD::QName.new(NsApi, "RecentChange")], [0, 1]],
161
+ ["addressType", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressType")], [0, 1]],
162
+ ["basedOnPhoneNumber", ["Telesign::API::BasedOnPhoneNumberResponse", XSD::QName.new(NsApi, "BasedOnPhoneNumber")], [0, 1]],
163
+ ["basedOnAddress", ["Telesign::API::BasedOnAddressResponse", XSD::QName.new(NsApi, "BasedOnAddress")], [0, 1]],
164
+ ["standardizedAddress", ["Telesign::API::StandardizedAddressResponse", XSD::QName.new(NsApi, "StandardizedAddress")], [0, 1]],
165
+ ["aPIError", ["Telesign::API::APIErrorResponse", XSD::QName.new(NsApi, "APIError")], [0, 1]]
166
+ ]
167
+ )
168
+
169
+ EncodedRegistry.register(
170
+ :class => Telesign::API::BasedOnPhoneNumberResponse,
171
+ :schema_type => XSD::QName.new(NsApi, "BasedOnPhoneNumberResponse"),
172
+ :schema_element => [
173
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name")], [0, 1]],
174
+ ["street", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Street")], [0, 1]],
175
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsApi, "City")], [0, 1]],
176
+ ["state", ["SOAP::SOAPString", XSD::QName.new(NsApi, "State")], [0, 1]],
177
+ ["zip", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Zip")], [0, 1]]
178
+ ]
179
+ )
180
+
181
+ EncodedRegistry.register(
182
+ :class => Telesign::API::BasedOnAddressResponse,
183
+ :schema_type => XSD::QName.new(NsApi, "BasedOnAddressResponse"),
184
+ :schema_element => [
185
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name")], [0, 1]],
186
+ ["street", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Street")], [0, 1]],
187
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsApi, "City")], [0, 1]],
188
+ ["state", ["SOAP::SOAPString", XSD::QName.new(NsApi, "State")], [0, 1]],
189
+ ["zip", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Zip")], [0, 1]],
190
+ ["phoneNumber", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneNumber")], [0, 1]]
191
+ ]
192
+ )
193
+
194
+ EncodedRegistry.register(
195
+ :class => Telesign::API::StandardizedAddressResponse,
196
+ :schema_type => XSD::QName.new(NsApi, "StandardizedAddressResponse"),
197
+ :schema_element => [
198
+ ["line1", "SOAP::SOAPString", [0, 1]],
199
+ ["line2", "SOAP::SOAPString", [0, 1]]
200
+ ]
201
+ )
202
+
203
+ EncodedRegistry.register(
204
+ :class => Telesign::API::FraudAnalyzer,
205
+ :schema_type => XSD::QName.new(NsApi, "FraudAnalyzer"),
206
+ :schema_element => [
207
+ ["referenceID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ReferenceID")], [0, 1]],
208
+ ["countryMatch", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CountryMatch")], [0, 1]],
209
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CountryCode")], [0, 1]],
210
+ ["highRiskCountry", ["SOAP::SOAPString", XSD::QName.new(NsApi, "HighRiskCountry")], [0, 1]],
211
+ ["iPBillingDistance", ["SOAP::SOAPString", XSD::QName.new(NsApi, "IPBillingDistance")], [0, 1]],
212
+ ["iPRegion", ["SOAP::SOAPString", XSD::QName.new(NsApi, "IPRegion")], [0, 1]],
213
+ ["iPCity", ["SOAP::SOAPString", XSD::QName.new(NsApi, "IPCity")], [0, 1]],
214
+ ["iPLatitude", ["SOAP::SOAPString", XSD::QName.new(NsApi, "IPLatitude")], [0, 1]],
215
+ ["iPLongitude", ["SOAP::SOAPString", XSD::QName.new(NsApi, "IPLongitude")], [0, 1]],
216
+ ["iPISP", ["SOAP::SOAPString", XSD::QName.new(NsApi, "IPISP")], [0, 1]],
217
+ ["iPOrg", ["SOAP::SOAPString", XSD::QName.new(NsApi, "IPOrg")], [0, 1]],
218
+ ["anonymousProxy", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AnonymousProxy")], [0, 1]],
219
+ ["proxyScore", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ProxyScore")], [0, 1]],
220
+ ["isTransparentProxy", ["SOAP::SOAPString", XSD::QName.new(NsApi, "IsTransparentProxy")], [0, 1]],
221
+ ["freeEmail", ["SOAP::SOAPString", XSD::QName.new(NsApi, "FreeEmail")], [0, 1]],
222
+ ["highRiskEmail", ["SOAP::SOAPString", XSD::QName.new(NsApi, "HighRiskEmail")], [0, 1]],
223
+ ["highRiskPassword", ["SOAP::SOAPString", XSD::QName.new(NsApi, "HighRiskPassword")], [0, 1]],
224
+ ["highRiskUsername", ["SOAP::SOAPString", XSD::QName.new(NsApi, "HighRiskUsername")], [0, 1]],
225
+ ["binMatch", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BinMatch")], [0, 1]],
226
+ ["binCountry", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BinCountry")], [0, 1]],
227
+ ["binNameMatch", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BinNameMatch")], [0, 1]],
228
+ ["binName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BinName")], [0, 1]],
229
+ ["binPhoneMatch", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BinPhoneMatch")], [0, 1]],
230
+ ["binPhone", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BinPhone")], [0, 1]],
231
+ ["phoneNumberInBillingLocation", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneNumberInBillingLocation")], [0, 1]],
232
+ ["shipForward", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ShipForward")], [0, 1]],
233
+ ["cityZipMatch", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CityZipMatch")], [0, 1]],
234
+ ["shipCityZipMatch", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ShipCityZipMatch")], [0, 1]],
235
+ ["fraudScore", ["SOAP::SOAPString", XSD::QName.new(NsApi, "FraudScore")], [0, 1]],
236
+ ["fraudScoreDescription", ["SOAP::SOAPString", XSD::QName.new(NsApi, "FraudScoreDescription")], [0, 1]],
237
+ ["aPIError", ["Telesign::API::APIErrorResponse", XSD::QName.new(NsApi, "APIError")], [0, 1]]
238
+ ]
239
+ )
240
+
241
+ LiteralRegistry.register(
242
+ :class => Telesign::API::Version,
243
+ :schema_type => XSD::QName.new(NsApi, "Version"),
244
+ :schema_element => [
245
+ ["number", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Number")], [0, 1]]
246
+ ]
247
+ )
248
+
249
+ LiteralRegistry.register(
250
+ :class => Telesign::API::SMS,
251
+ :schema_type => XSD::QName.new(NsApi, "SMS"),
252
+ :schema_element => [
253
+ ["referenceID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ReferenceID")], [0, 1]],
254
+ ["aPIError", ["Telesign::API::APIErrorResponse", XSD::QName.new(NsApi, "APIError")], [0, 1]]
255
+ ]
256
+ )
257
+
258
+ LiteralRegistry.register(
259
+ :class => Telesign::API::APIErrorResponse,
260
+ :schema_type => XSD::QName.new(NsApi, "APIErrorResponse"),
261
+ :schema_element => [
262
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "Code")]],
263
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Message")], [0, 1]]
264
+ ]
265
+ )
266
+
267
+ LiteralRegistry.register(
268
+ :class => Telesign::API::PhoneID,
269
+ :schema_type => XSD::QName.new(NsApi, "PhoneID"),
270
+ :schema_element => [
271
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CountryCode")], [0, 1]],
272
+ ["originalPhoneNumber", ["SOAP::SOAPString", XSD::QName.new(NsApi, "OriginalPhoneNumber")], [0, 1]],
273
+ ["cleansedPhoneNumber", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CleansedPhoneNumber")], [0, 1]],
274
+ ["cleansedCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CleansedCode")], [0, 1]],
275
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsApi, "City")], [0, 1]],
276
+ ["state", ["SOAP::SOAPString", XSD::QName.new(NsApi, "State")], [0, 1]],
277
+ ["zip", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Zip")], [0, 1]],
278
+ ["primaryMetroCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PrimaryMetroCode")], [0, 1]],
279
+ ["county", ["SOAP::SOAPString", XSD::QName.new(NsApi, "County")], [0, 1]],
280
+ ["timeZone", ["SOAP::SOAPString", XSD::QName.new(NsApi, "TimeZone")], [0, 1]],
281
+ ["timeZoneUTCMin", ["SOAP::SOAPString", XSD::QName.new(NsApi, "TimeZoneUTCMin")], [0, 1]],
282
+ ["timeZoneUTCMax", ["SOAP::SOAPString", XSD::QName.new(NsApi, "TimeZoneUTCMax")], [0, 1]],
283
+ ["latitude", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Latitude")], [0, 1]],
284
+ ["longitude", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Longitude")], [0, 1]],
285
+ ["country", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Country")], [0, 1]],
286
+ ["countryName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CountryName")], [0, 1]],
287
+ ["minNumLength", ["SOAP::SOAPString", XSD::QName.new(NsApi, "MinNumLength")], [0, 1]],
288
+ ["maxNumLength", ["SOAP::SOAPString", XSD::QName.new(NsApi, "MaxNumLength")], [0, 1]],
289
+ ["referenceID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ReferenceID")], [0, 1]],
290
+ ["typeofPhone", ["SOAP::SOAPString", XSD::QName.new(NsApi, "TypeofPhone")], [0, 1]],
291
+ ["aPIError", ["Telesign::API::APIErrorResponse", XSD::QName.new(NsApi, "APIError")], [0, 1]]
292
+ ]
293
+ )
294
+
295
+ LiteralRegistry.register(
296
+ :class => Telesign::API::STATUS,
297
+ :schema_type => XSD::QName.new(NsApi, "STATUS"),
298
+ :schema_element => [
299
+ ["statusCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "StatusCode")], [0, 1]],
300
+ ["verificationCodeValid", ["SOAP::SOAPString", XSD::QName.new(NsApi, "VerificationCodeValid")], [0, 1]],
301
+ ["additional", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Additional")], [0, 1]],
302
+ ["keyPress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "KeyPress")], [0, 1]],
303
+ ["aPIError", ["Telesign::API::APIErrorResponse", XSD::QName.new(NsApi, "APIError")], [0, 1]]
304
+ ]
305
+ )
306
+
307
+ LiteralRegistry.register(
308
+ :class => Telesign::API::Call,
309
+ :schema_type => XSD::QName.new(NsApi, "Call"),
310
+ :schema_element => [
311
+ ["referenceID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ReferenceID")], [0, 1]],
312
+ ["aPIError", ["Telesign::API::APIErrorResponse", XSD::QName.new(NsApi, "APIError")], [0, 1]]
313
+ ]
314
+ )
315
+
316
+ LiteralRegistry.register(
317
+ :class => Telesign::API::PhoneIDPlatinum,
318
+ :schema_type => XSD::QName.new(NsApi, "PhoneIDPlatinum"),
319
+ :schema_element => [
320
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CountryCode")], [0, 1]],
321
+ ["originalPhoneNumber", ["SOAP::SOAPString", XSD::QName.new(NsApi, "OriginalPhoneNumber")], [0, 1]],
322
+ ["cleansedPhoneNumber", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CleansedPhoneNumber")], [0, 1]],
323
+ ["cleansedCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CleansedCode")], [0, 1]],
324
+ ["phoneCity", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneCity")], [0, 1]],
325
+ ["phoneState", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneState")], [0, 1]],
326
+ ["phoneZip", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneZip")], [0, 1]],
327
+ ["primaryMetroCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PrimaryMetroCode")], [0, 1]],
328
+ ["phoneCounty", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneCounty")], [0, 1]],
329
+ ["phoneLatitude", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneLatitude")], [0, 1]],
330
+ ["phoneLongitude", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneLongitude")], [0, 1]],
331
+ ["phoneCountry", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneCountry")], [0, 1]],
332
+ ["phoneCountryName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneCountryName")], [0, 1]],
333
+ ["minNumLength", ["SOAP::SOAPString", XSD::QName.new(NsApi, "MinNumLength")], [0, 1]],
334
+ ["maxNumLength", ["SOAP::SOAPString", XSD::QName.new(NsApi, "MaxNumLength")], [0, 1]],
335
+ ["referenceID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ReferenceID")], [0, 1]],
336
+ ["typeofPhone", ["SOAP::SOAPString", XSD::QName.new(NsApi, "TypeofPhone")], [0, 1]],
337
+ ["newAreaCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "NewAreaCode")], [0, 1]],
338
+ ["dialable", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Dialable")], [0, 1]],
339
+ ["pointCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PointCode")], [0, 1]],
340
+ ["nameType", ["SOAP::SOAPString", XSD::QName.new(NsApi, "NameType")], [0, 1]],
341
+ ["name1", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name1")], [0, 1]],
342
+ ["name2", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name2")], [0, 1]],
343
+ ["name3", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name3")], [0, 1]],
344
+ ["addressStatus", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressStatus")], [0, 1]],
345
+ ["addressType", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressType")], [0, 1]],
346
+ ["buildingName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BuildingName")], [0, 1]],
347
+ ["address1Number", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Address1Number")], [0, 1]],
348
+ ["streetPreDirection", ["SOAP::SOAPString", XSD::QName.new(NsApi, "StreetPreDirection")], [0, 1]],
349
+ ["streetName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "StreetName")], [0, 1]],
350
+ ["streetType", ["SOAP::SOAPString", XSD::QName.new(NsApi, "StreetType")], [0, 1]],
351
+ ["streetPostDirection", ["SOAP::SOAPString", XSD::QName.new(NsApi, "StreetPostDirection")], [0, 1]],
352
+ ["address2Number", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Address2Number")], [0, 1]],
353
+ ["address2Type", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Address2Type")], [0, 1]],
354
+ ["addressCity", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressCity")], [0, 1]],
355
+ ["addressState", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressState")], [0, 1]],
356
+ ["addressZip", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressZip")], [0, 1]],
357
+ ["addressZipPlus4", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressZipPlus4")], [0, 1]],
358
+ ["addressCountryCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressCountryCode")], [0, 1]],
359
+ ["addressCountryName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressCountryName")], [0, 1]],
360
+ ["streetNameAccent", ["SOAP::SOAPString", XSD::QName.new(NsApi, "StreetNameAccent")], [0, 1]],
361
+ ["addressCityAccent", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressCityAccent")], [0, 1]],
362
+ ["addressStateAccent", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressStateAccent")], [0, 1]],
363
+ ["fIPSCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "FIPSCode")], [0, 1]],
364
+ ["deliveryPointCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "DeliveryPointCode")], [0, 1]],
365
+ ["carrierRoute", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CarrierRoute")], [0, 1]],
366
+ ["routeTypeDesc", ["SOAP::SOAPString", XSD::QName.new(NsApi, "RouteTypeDesc")], [0, 1]],
367
+ ["routeTypeNum", ["SOAP::SOAPString", XSD::QName.new(NsApi, "RouteTypeNum")], [0, 1]],
368
+ ["addressTimeZoneCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressTimeZoneCode")], [0, 1]],
369
+ ["addressTimeZoneUTCMin", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressTimeZoneUTCMin")], [0, 1]],
370
+ ["addressTimeZoneUTCMax", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressTimeZoneUTCMax")], [0, 1]],
371
+ ["dSTObserved", ["SOAP::SOAPString", XSD::QName.new(NsApi, "DSTObserved")], [0, 1]],
372
+ ["spatiallyInconsistent", ["SOAP::SOAPString", XSD::QName.new(NsApi, "SpatiallyInconsistent")], [0, 1]],
373
+ ["uniqueSource", ["SOAP::SOAPString", XSD::QName.new(NsApi, "UniqueSource")], [0, 1]],
374
+ ["aPIError", ["Telesign::API::APIErrorResponse", XSD::QName.new(NsApi, "APIError")], [0, 1]]
375
+ ]
376
+ )
377
+
378
+ LiteralRegistry.register(
379
+ :class => Telesign::API::InformationQualityScore,
380
+ :schema_type => XSD::QName.new(NsApi, "InformationQualityScore"),
381
+ :schema_element => [
382
+ ["referenceID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ReferenceID")], [0, 1]],
383
+ ["score", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Score")], [0, 1]],
384
+ ["phoneVerify", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneVerify")], [0, 1]],
385
+ ["listingType", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListingType")], [0, 1]],
386
+ ["validAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ValidAddress")], [0, 1]],
387
+ ["validPhoneNumber", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ValidPhoneNumber")], [0, 1]],
388
+ ["inService6M", ["SOAP::SOAPString", XSD::QName.new(NsApi, "InService6M")], [0, 1]],
389
+ ["onDoNotCall", ["SOAP::SOAPString", XSD::QName.new(NsApi, "OnDoNotCall")], [0, 1]],
390
+ ["nearAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "NearAddress")], [0, 1]],
391
+ ["recentChange", ["SOAP::SOAPString", XSD::QName.new(NsApi, "RecentChange")], [0, 1]],
392
+ ["addressType", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AddressType")], [0, 1]],
393
+ ["basedOnPhoneNumber", ["Telesign::API::BasedOnPhoneNumberResponse", XSD::QName.new(NsApi, "BasedOnPhoneNumber")], [0, 1]],
394
+ ["basedOnAddress", ["Telesign::API::BasedOnAddressResponse", XSD::QName.new(NsApi, "BasedOnAddress")], [0, 1]],
395
+ ["standardizedAddress", ["Telesign::API::StandardizedAddressResponse", XSD::QName.new(NsApi, "StandardizedAddress")], [0, 1]],
396
+ ["aPIError", ["Telesign::API::APIErrorResponse", XSD::QName.new(NsApi, "APIError")], [0, 1]]
397
+ ]
398
+ )
399
+
400
+ LiteralRegistry.register(
401
+ :class => Telesign::API::BasedOnPhoneNumberResponse,
402
+ :schema_type => XSD::QName.new(NsApi, "BasedOnPhoneNumberResponse"),
403
+ :schema_element => [
404
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name")], [0, 1]],
405
+ ["street", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Street")], [0, 1]],
406
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsApi, "City")], [0, 1]],
407
+ ["state", ["SOAP::SOAPString", XSD::QName.new(NsApi, "State")], [0, 1]],
408
+ ["zip", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Zip")], [0, 1]]
409
+ ]
410
+ )
411
+
412
+ LiteralRegistry.register(
413
+ :class => Telesign::API::BasedOnAddressResponse,
414
+ :schema_type => XSD::QName.new(NsApi, "BasedOnAddressResponse"),
415
+ :schema_element => [
416
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name")], [0, 1]],
417
+ ["street", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Street")], [0, 1]],
418
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsApi, "City")], [0, 1]],
419
+ ["state", ["SOAP::SOAPString", XSD::QName.new(NsApi, "State")], [0, 1]],
420
+ ["zip", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Zip")], [0, 1]],
421
+ ["phoneNumber", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneNumber")], [0, 1]]
422
+ ]
423
+ )
424
+
425
+ LiteralRegistry.register(
426
+ :class => Telesign::API::StandardizedAddressResponse,
427
+ :schema_type => XSD::QName.new(NsApi, "StandardizedAddressResponse"),
428
+ :schema_element => [
429
+ ["line1", "SOAP::SOAPString", [0, 1]],
430
+ ["line2", "SOAP::SOAPString", [0, 1]]
431
+ ]
432
+ )
433
+
434
+ LiteralRegistry.register(
435
+ :class => Telesign::API::FraudAnalyzer,
436
+ :schema_type => XSD::QName.new(NsApi, "FraudAnalyzer"),
437
+ :schema_element => [
438
+ ["referenceID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ReferenceID")], [0, 1]],
439
+ ["countryMatch", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CountryMatch")], [0, 1]],
440
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CountryCode")], [0, 1]],
441
+ ["highRiskCountry", ["SOAP::SOAPString", XSD::QName.new(NsApi, "HighRiskCountry")], [0, 1]],
442
+ ["iPBillingDistance", ["SOAP::SOAPString", XSD::QName.new(NsApi, "IPBillingDistance")], [0, 1]],
443
+ ["iPRegion", ["SOAP::SOAPString", XSD::QName.new(NsApi, "IPRegion")], [0, 1]],
444
+ ["iPCity", ["SOAP::SOAPString", XSD::QName.new(NsApi, "IPCity")], [0, 1]],
445
+ ["iPLatitude", ["SOAP::SOAPString", XSD::QName.new(NsApi, "IPLatitude")], [0, 1]],
446
+ ["iPLongitude", ["SOAP::SOAPString", XSD::QName.new(NsApi, "IPLongitude")], [0, 1]],
447
+ ["iPISP", ["SOAP::SOAPString", XSD::QName.new(NsApi, "IPISP")], [0, 1]],
448
+ ["iPOrg", ["SOAP::SOAPString", XSD::QName.new(NsApi, "IPOrg")], [0, 1]],
449
+ ["anonymousProxy", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AnonymousProxy")], [0, 1]],
450
+ ["proxyScore", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ProxyScore")], [0, 1]],
451
+ ["isTransparentProxy", ["SOAP::SOAPString", XSD::QName.new(NsApi, "IsTransparentProxy")], [0, 1]],
452
+ ["freeEmail", ["SOAP::SOAPString", XSD::QName.new(NsApi, "FreeEmail")], [0, 1]],
453
+ ["highRiskEmail", ["SOAP::SOAPString", XSD::QName.new(NsApi, "HighRiskEmail")], [0, 1]],
454
+ ["highRiskPassword", ["SOAP::SOAPString", XSD::QName.new(NsApi, "HighRiskPassword")], [0, 1]],
455
+ ["highRiskUsername", ["SOAP::SOAPString", XSD::QName.new(NsApi, "HighRiskUsername")], [0, 1]],
456
+ ["binMatch", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BinMatch")], [0, 1]],
457
+ ["binCountry", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BinCountry")], [0, 1]],
458
+ ["binNameMatch", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BinNameMatch")], [0, 1]],
459
+ ["binName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BinName")], [0, 1]],
460
+ ["binPhoneMatch", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BinPhoneMatch")], [0, 1]],
461
+ ["binPhone", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BinPhone")], [0, 1]],
462
+ ["phoneNumberInBillingLocation", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneNumberInBillingLocation")], [0, 1]],
463
+ ["shipForward", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ShipForward")], [0, 1]],
464
+ ["cityZipMatch", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CityZipMatch")], [0, 1]],
465
+ ["shipCityZipMatch", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ShipCityZipMatch")], [0, 1]],
466
+ ["fraudScore", ["SOAP::SOAPString", XSD::QName.new(NsApi, "FraudScore")], [0, 1]],
467
+ ["fraudScoreDescription", ["SOAP::SOAPString", XSD::QName.new(NsApi, "FraudScoreDescription")], [0, 1]],
468
+ ["aPIError", ["Telesign::API::APIErrorResponse", XSD::QName.new(NsApi, "APIError")], [0, 1]]
469
+ ]
470
+ )
471
+
472
+ LiteralRegistry.register(
473
+ :class => Telesign::API::RequestAPIversion,
474
+ :schema_name => XSD::QName.new(NsApi, "RequestAPIversion"),
475
+ :schema_element => []
476
+ )
477
+
478
+ LiteralRegistry.register(
479
+ :class => Telesign::API::RequestAPIversionResponse,
480
+ :schema_name => XSD::QName.new(NsApi, "RequestAPIversionResponse"),
481
+ :schema_element => [
482
+ ["requestAPIversionResult", ["Telesign::API::Version", XSD::QName.new(NsApi, "RequestAPIversionResult")], [0, 1]]
483
+ ]
484
+ )
485
+
486
+ LiteralRegistry.register(
487
+ :class => Telesign::API::RequestSMS,
488
+ :schema_name => XSD::QName.new(NsApi, "RequestSMS"),
489
+ :schema_element => [
490
+ ["customerID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CustomerID")], [0, 1]],
491
+ ["authenticationID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AuthenticationID")], [0, 1]],
492
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CountryCode")], [0, 1]],
493
+ ["phoneNumber", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneNumber")], [0, 1]],
494
+ ["language", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Language")], [0, 1]],
495
+ ["verificationCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "VerificationCode")], [0, 1]],
496
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Message")], [0, 1]]
497
+ ]
498
+ )
499
+
500
+ LiteralRegistry.register(
501
+ :class => Telesign::API::RequestSMSResponse,
502
+ :schema_name => XSD::QName.new(NsApi, "RequestSMSResponse"),
503
+ :schema_element => [
504
+ ["requestSMSResult", ["Telesign::API::SMS", XSD::QName.new(NsApi, "RequestSMSResult")], [0, 1]]
505
+ ]
506
+ )
507
+
508
+ LiteralRegistry.register(
509
+ :class => Telesign::API::RequestPhoneID,
510
+ :schema_name => XSD::QName.new(NsApi, "RequestPhoneID"),
511
+ :schema_element => [
512
+ ["customerID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CustomerID")], [0, 1]],
513
+ ["authenticationID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AuthenticationID")], [0, 1]],
514
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CountryCode")], [0, 1]],
515
+ ["phoneNumber", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneNumber")], [0, 1]]
516
+ ]
517
+ )
518
+
519
+ LiteralRegistry.register(
520
+ :class => Telesign::API::RequestPhoneIDResponse,
521
+ :schema_name => XSD::QName.new(NsApi, "RequestPhoneIDResponse"),
522
+ :schema_element => [
523
+ ["requestPhoneIDResult", ["Telesign::API::PhoneID", XSD::QName.new(NsApi, "RequestPhoneIDResult")], [0, 1]]
524
+ ]
525
+ )
526
+
527
+ LiteralRegistry.register(
528
+ :class => Telesign::API::RequestSTATUS,
529
+ :schema_name => XSD::QName.new(NsApi, "RequestSTATUS"),
530
+ :schema_element => [
531
+ ["customerID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CustomerID")], [0, 1]],
532
+ ["authenticationID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AuthenticationID")], [0, 1]],
533
+ ["referenceID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ReferenceID")], [0, 1]],
534
+ ["verificationCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "VerificationCode")], [0, 1]]
535
+ ]
536
+ )
537
+
538
+ LiteralRegistry.register(
539
+ :class => Telesign::API::RequestSTATUSResponse,
540
+ :schema_name => XSD::QName.new(NsApi, "RequestSTATUSResponse"),
541
+ :schema_element => [
542
+ ["requestSTATUSResult", ["Telesign::API::STATUS", XSD::QName.new(NsApi, "RequestSTATUSResult")], [0, 1]]
543
+ ]
544
+ )
545
+
546
+ LiteralRegistry.register(
547
+ :class => Telesign::API::RequestCALL,
548
+ :schema_name => XSD::QName.new(NsApi, "RequestCALL"),
549
+ :schema_element => [
550
+ ["customerID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CustomerID")], [0, 1]],
551
+ ["authenticationID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AuthenticationID")], [0, 1]],
552
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CountryCode")], [0, 1]],
553
+ ["phoneNumber", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneNumber")], [0, 1]],
554
+ ["language", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Language")], [0, 1]],
555
+ ["verificationCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "VerificationCode")], [0, 1]],
556
+ ["priority", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Priority")], [0, 1]],
557
+ ["delayTime", ["SOAP::SOAPString", XSD::QName.new(NsApi, "DelayTime")], [0, 1]],
558
+ ["redialCount", ["SOAP::SOAPString", XSD::QName.new(NsApi, "RedialCount")], [0, 1]],
559
+ ["extensionContent", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ExtensionContent")], [0, 1]],
560
+ ["extensionType", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ExtensionType")], [0, 1]],
561
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Message")], [0, 1]],
562
+ ["callType", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CallType")], [0, 1]],
563
+ ["callerID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CallerID")], [0, 1]],
564
+ ["project", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Project")], [0, 1]],
565
+ ["additional", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Additional")], [0, 1]]
566
+ ]
567
+ )
568
+
569
+ LiteralRegistry.register(
570
+ :class => Telesign::API::RequestCALLResponse,
571
+ :schema_name => XSD::QName.new(NsApi, "RequestCALLResponse"),
572
+ :schema_element => [
573
+ ["requestCALLResult", ["Telesign::API::Call", XSD::QName.new(NsApi, "RequestCALLResult")], [0, 1]]
574
+ ]
575
+ )
576
+
577
+ LiteralRegistry.register(
578
+ :class => Telesign::API::RequestPhoneIDPlatinum,
579
+ :schema_name => XSD::QName.new(NsApi, "RequestPhoneIDPlatinum"),
580
+ :schema_element => [
581
+ ["customerID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CustomerID")], [0, 1]],
582
+ ["authenticationID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AuthenticationID")], [0, 1]],
583
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CountryCode")], [0, 1]],
584
+ ["phoneNumber", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneNumber")], [0, 1]]
585
+ ]
586
+ )
587
+
588
+ LiteralRegistry.register(
589
+ :class => Telesign::API::RequestPhoneIDPlatinumResponse,
590
+ :schema_name => XSD::QName.new(NsApi, "RequestPhoneIDPlatinumResponse"),
591
+ :schema_element => [
592
+ ["requestPhoneIDPlatinumResult", ["Telesign::API::PhoneIDPlatinum", XSD::QName.new(NsApi, "RequestPhoneIDPlatinumResult")], [0, 1]]
593
+ ]
594
+ )
595
+
596
+ LiteralRegistry.register(
597
+ :class => Telesign::API::RequestInformationQualityScore,
598
+ :schema_name => XSD::QName.new(NsApi, "RequestInformationQualityScore"),
599
+ :schema_element => [
600
+ ["customerID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CustomerID")], [0, 1]],
601
+ ["authenticationID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AuthenticationID")], [0, 1]],
602
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CountryCode")], [0, 1]],
603
+ ["phoneNumber", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneNumber")], [0, 1]],
604
+ ["nameType", ["SOAP::SOAPString", XSD::QName.new(NsApi, "NameType")], [0, 1]],
605
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name")], [0, 1]],
606
+ ["street", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Street")], [0, 1]],
607
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsApi, "City")], [0, 1]],
608
+ ["state", ["SOAP::SOAPString", XSD::QName.new(NsApi, "State")], [0, 1]],
609
+ ["zip", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Zip")], [0, 1]]
610
+ ]
611
+ )
612
+
613
+ LiteralRegistry.register(
614
+ :class => Telesign::API::RequestInformationQualityScoreResponse,
615
+ :schema_name => XSD::QName.new(NsApi, "RequestInformationQualityScoreResponse"),
616
+ :schema_element => [
617
+ ["requestInformationQualityScoreResult", ["Telesign::API::InformationQualityScore", XSD::QName.new(NsApi, "RequestInformationQualityScoreResult")], [0, 1]]
618
+ ]
619
+ )
620
+
621
+ LiteralRegistry.register(
622
+ :class => Telesign::API::RequestFraudAnalyzer,
623
+ :schema_name => XSD::QName.new(NsApi, "RequestFraudAnalyzer"),
624
+ :schema_element => [
625
+ ["customerID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CustomerID")], [0, 1]],
626
+ ["authenticationID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "AuthenticationID")], [0, 1]],
627
+ ["iPAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "IPAddress")], [0, 1]],
628
+ ["country", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Country")], [0, 1]],
629
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsApi, "City")], [0, 1]],
630
+ ["region", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Region")], [0, 1]],
631
+ ["zip", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Zip")], [0, 1]],
632
+ ["domain", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Domain")], [0, 1]],
633
+ ["bin", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Bin")], [0, 1]],
634
+ ["binName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BinName")], [0, 1]],
635
+ ["binPhone", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BinPhone")], [0, 1]],
636
+ ["phoneNumber", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PhoneNumber")], [0, 1]],
637
+ ["forwardedIP", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ForwardedIP")], [0, 1]],
638
+ ["emailMD5", ["SOAP::SOAPString", XSD::QName.new(NsApi, "EmailMD5")], [0, 1]],
639
+ ["usernameMD5", ["SOAP::SOAPString", XSD::QName.new(NsApi, "UsernameMD5")], [0, 1]],
640
+ ["passwordMD5", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PasswordMD5")], [0, 1]],
641
+ ["shipAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ShipAddress")], [0, 1]],
642
+ ["shipCity", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ShipCity")], [0, 1]],
643
+ ["shipRegion", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ShipRegion")], [0, 1]],
644
+ ["shipZip", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ShipZip")], [0, 1]],
645
+ ["shipCountry", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ShipCountry")], [0, 1]],
646
+ ["sessionID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "SessionID")], [0, 1]],
647
+ ["userAgent", ["SOAP::SOAPString", XSD::QName.new(NsApi, "UserAgent")], [0, 1]],
648
+ ["browserLanguage", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BrowserLanguage")], [0, 1]]
649
+ ]
650
+ )
651
+
652
+ LiteralRegistry.register(
653
+ :class => Telesign::API::RequestFraudAnalyzerResponse,
654
+ :schema_name => XSD::QName.new(NsApi, "RequestFraudAnalyzerResponse"),
655
+ :schema_element => [
656
+ ["requestFraudAnalyzerResult", ["Telesign::API::FraudAnalyzer", XSD::QName.new(NsApi, "RequestFraudAnalyzerResult")], [0, 1]]
657
+ ]
658
+ )
659
+ end
660
+
661
+ end; end