campaigning 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.bnsignore +16 -0
- data/.gitignore +5 -0
- data/LICENSE +20 -0
- data/README.rdoc +65 -0
- data/Rakefile +59 -0
- data/VERSION.yml +4 -0
- data/campaigning.gemspec +77 -0
- data/lib/campaigning.rb +1 -0
- data/lib/campaigning/campaign.rb +218 -0
- data/lib/campaigning/campaigning.rb +53 -0
- data/lib/campaigning/client.rb +335 -0
- data/lib/campaigning/list.rb +276 -0
- data/lib/campaigning/module_mixin.rb +31 -0
- data/lib/campaigning/soap/generated/default.rb +1715 -0
- data/lib/campaigning/soap/generated/defaultDriver.rb +413 -0
- data/lib/campaigning/soap/generated/defaultMappingRegistry.rb +1526 -0
- data/lib/campaigning/subscriber.rb +158 -0
- data/lib/campaigning/template.rb +124 -0
- data/sample/campaign_sample.rb +116 -0
- data/sample/campaigning_sample.rb +25 -0
- data/sample/client_sample.rb +139 -0
- data/sample/list_sample.rb +159 -0
- data/sample/subscriber_sample.rb +88 -0
- data/test/campaign_test.rb +102 -0
- data/test/campaigning_test.rb +34 -0
- data/test/client_test.rb +130 -0
- data/test/list_test.rb +113 -0
- data/test/subscriber_test.rb +55 -0
- data/test/template_test.rb +62 -0
- data/test/test_helper.rb +10 -0
- metadata +100 -0
@@ -0,0 +1,413 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__)) + '/default.rb'
|
2
|
+
require File.expand_path(File.dirname(__FILE__)) + '/defaultMappingRegistry.rb'
|
3
|
+
require 'soap/rpc/driver'
|
4
|
+
|
5
|
+
module Campaigning
|
6
|
+
|
7
|
+
class ApiSoap < ::SOAP::RPC::Driver
|
8
|
+
DefaultEndpointUrl = "http://api.createsend.com/api/api.asmx"
|
9
|
+
|
10
|
+
Methods = [
|
11
|
+
[ "http://api.createsend.com/api/User.GetApiKey",
|
12
|
+
"getApiKey",
|
13
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "User.GetApiKey"]],
|
14
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "User.GetApiKeyResponse"]] ],
|
15
|
+
{ :request_style => :document, :request_use => :literal,
|
16
|
+
:response_style => :document, :response_use => :literal,
|
17
|
+
:faults => {} }
|
18
|
+
],
|
19
|
+
[ "http://api.createsend.com/api/Subscriber.AddWithCustomFields",
|
20
|
+
"addSubscriberWithCustomFields",
|
21
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscriber.AddWithCustomFields"]],
|
22
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscriber.AddWithCustomFieldsResponse"]] ],
|
23
|
+
{ :request_style => :document, :request_use => :literal,
|
24
|
+
:response_style => :document, :response_use => :literal,
|
25
|
+
:faults => {} }
|
26
|
+
],
|
27
|
+
[ "http://api.createsend.com/api/Subscriber.AddAndResubscribeWithCustomFields",
|
28
|
+
"addAndResubscribeWithCustomFields",
|
29
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscriber.AddAndResubscribeWithCustomFields"]],
|
30
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscriber.AddAndResubscribeWithCustomFieldsResponse"]] ],
|
31
|
+
{ :request_style => :document, :request_use => :literal,
|
32
|
+
:response_style => :document, :response_use => :literal,
|
33
|
+
:faults => {} }
|
34
|
+
],
|
35
|
+
[ "http://api.createsend.com/api/Subscriber.Add",
|
36
|
+
"addSubscriber",
|
37
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscriber.Add"]],
|
38
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscriber.AddResponse"]] ],
|
39
|
+
{ :request_style => :document, :request_use => :literal,
|
40
|
+
:response_style => :document, :response_use => :literal,
|
41
|
+
:faults => {} }
|
42
|
+
],
|
43
|
+
[ "http://api.createsend.com/api/Subscriber.AddAndResubscribe",
|
44
|
+
"addAndResubscribe",
|
45
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscriber.AddAndResubscribe"]],
|
46
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscriber.AddAndResubscribeResponse"]] ],
|
47
|
+
{ :request_style => :document, :request_use => :literal,
|
48
|
+
:response_style => :document, :response_use => :literal,
|
49
|
+
:faults => {} }
|
50
|
+
],
|
51
|
+
[ "http://api.createsend.com/api/Subscriber.Unsubscribe",
|
52
|
+
"unsubscribe",
|
53
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscriber.Unsubscribe"]],
|
54
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscriber.UnsubscribeResponse"]] ],
|
55
|
+
{ :request_style => :document, :request_use => :literal,
|
56
|
+
:response_style => :document, :response_use => :literal,
|
57
|
+
:faults => {} }
|
58
|
+
],
|
59
|
+
[ "http://api.createsend.com/api/Subscribers.GetActive",
|
60
|
+
"getSubscribers",
|
61
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscribers.GetActive"]],
|
62
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscribers.GetActiveResponse"]] ],
|
63
|
+
{ :request_style => :document, :request_use => :literal,
|
64
|
+
:response_style => :document, :response_use => :literal,
|
65
|
+
:faults => {} }
|
66
|
+
],
|
67
|
+
[ "http://api.createsend.com/api/Subscribers.GetUnsubscribed",
|
68
|
+
"getUnsubscribed",
|
69
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscribers.GetUnsubscribed"]],
|
70
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscribers.GetUnsubscribedResponse"]] ],
|
71
|
+
{ :request_style => :document, :request_use => :literal,
|
72
|
+
:response_style => :document, :response_use => :literal,
|
73
|
+
:faults => {} }
|
74
|
+
],
|
75
|
+
[ "http://api.createsend.com/api/Subscribers.GetBounced",
|
76
|
+
"getBounced",
|
77
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscribers.GetBounced"]],
|
78
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscribers.GetBouncedResponse"]] ],
|
79
|
+
{ :request_style => :document, :request_use => :literal,
|
80
|
+
:response_style => :document, :response_use => :literal,
|
81
|
+
:faults => {} }
|
82
|
+
],
|
83
|
+
[ "http://api.createsend.com/api/Subscribers.GetSingleSubscriber",
|
84
|
+
"getSingleSubscriber",
|
85
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscribers.GetSingleSubscriber"]],
|
86
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscribers.GetSingleSubscriberResponse"]] ],
|
87
|
+
{ :request_style => :document, :request_use => :literal,
|
88
|
+
:response_style => :document, :response_use => :literal,
|
89
|
+
:faults => {} }
|
90
|
+
],
|
91
|
+
[ "http://api.createsend.com/api/Subscribers.GetIsSubscribed",
|
92
|
+
"getIsSubscribed",
|
93
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscribers.GetIsSubscribed"]],
|
94
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Subscribers.GetIsSubscribedResponse"]] ],
|
95
|
+
{ :request_style => :document, :request_use => :literal,
|
96
|
+
:response_style => :document, :response_use => :literal,
|
97
|
+
:faults => {} }
|
98
|
+
],
|
99
|
+
[ "http://api.createsend.com/api/List.Create",
|
100
|
+
"createList",
|
101
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "List.Create"]],
|
102
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "List.CreateResponse"]] ],
|
103
|
+
{ :request_style => :document, :request_use => :literal,
|
104
|
+
:response_style => :document, :response_use => :literal,
|
105
|
+
:faults => {} }
|
106
|
+
],
|
107
|
+
[ "http://api.createsend.com/api/List.Update",
|
108
|
+
"updateList",
|
109
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "List.Update"]],
|
110
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "List.UpdateResponse"]] ],
|
111
|
+
{ :request_style => :document, :request_use => :literal,
|
112
|
+
:response_style => :document, :response_use => :literal,
|
113
|
+
:faults => {} }
|
114
|
+
],
|
115
|
+
[ "http://api.createsend.com/api/List.GetDetail",
|
116
|
+
"getListDetail",
|
117
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "List.GetDetail"]],
|
118
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "List.GetDetailResponse"]] ],
|
119
|
+
{ :request_style => :document, :request_use => :literal,
|
120
|
+
:response_style => :document, :response_use => :literal,
|
121
|
+
:faults => {} }
|
122
|
+
],
|
123
|
+
[ "http://api.createsend.com/api/List.Delete",
|
124
|
+
"deleteList",
|
125
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "List.Delete"]],
|
126
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "List.DeleteResponse"]] ],
|
127
|
+
{ :request_style => :document, :request_use => :literal,
|
128
|
+
:response_style => :document, :response_use => :literal,
|
129
|
+
:faults => {} }
|
130
|
+
],
|
131
|
+
[ "http://api.createsend.com/api/List.GetCustomFields",
|
132
|
+
"getListCustomFields",
|
133
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "List.GetCustomFields"]],
|
134
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "List.GetCustomFieldsResponse"]] ],
|
135
|
+
{ :request_style => :document, :request_use => :literal,
|
136
|
+
:response_style => :document, :response_use => :literal,
|
137
|
+
:faults => {} }
|
138
|
+
],
|
139
|
+
[ "http://api.createsend.com/api/List.DeleteCustomField",
|
140
|
+
"deleteListCustomField",
|
141
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "List.DeleteCustomField"]],
|
142
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "List.DeleteCustomFieldResponse"]] ],
|
143
|
+
{ :request_style => :document, :request_use => :literal,
|
144
|
+
:response_style => :document, :response_use => :literal,
|
145
|
+
:faults => {} }
|
146
|
+
],
|
147
|
+
[ "http://api.createsend.com/api/List.CreateCustomField",
|
148
|
+
"createListCustomField",
|
149
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "List.CreateCustomField"]],
|
150
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "List.CreateCustomFieldResponse"]] ],
|
151
|
+
{ :request_style => :document, :request_use => :literal,
|
152
|
+
:response_style => :document, :response_use => :literal,
|
153
|
+
:faults => {} }
|
154
|
+
],
|
155
|
+
[ "http://api.createsend.com/api/List.GetStats",
|
156
|
+
"getListStats",
|
157
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "List.GetStats"]],
|
158
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "List.GetStatsResponse"]] ],
|
159
|
+
{ :request_style => :document, :request_use => :literal,
|
160
|
+
:response_style => :document, :response_use => :literal,
|
161
|
+
:faults => {} }
|
162
|
+
],
|
163
|
+
[ "http://api.createsend.com/api/Client.GetCampaigns",
|
164
|
+
"getClientCampaigns",
|
165
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.GetCampaigns"]],
|
166
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.GetCampaignsResponse"]] ],
|
167
|
+
{ :request_style => :document, :request_use => :literal,
|
168
|
+
:response_style => :document, :response_use => :literal,
|
169
|
+
:faults => {} }
|
170
|
+
],
|
171
|
+
[ "http://api.createsend.com/api/Client.GetLists",
|
172
|
+
"getClientLists",
|
173
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.GetLists"]],
|
174
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.GetListsResponse"]] ],
|
175
|
+
{ :request_style => :document, :request_use => :literal,
|
176
|
+
:response_style => :document, :response_use => :literal,
|
177
|
+
:faults => {} }
|
178
|
+
],
|
179
|
+
[ "http://api.createsend.com/api/Client.GetSegments",
|
180
|
+
"getClientSegments",
|
181
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.GetSegments"]],
|
182
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.GetSegmentsResponse"]] ],
|
183
|
+
{ :request_style => :document, :request_use => :literal,
|
184
|
+
:response_style => :document, :response_use => :literal,
|
185
|
+
:faults => {} }
|
186
|
+
],
|
187
|
+
[ "http://api.createsend.com/api/Client.GetSuppressionList",
|
188
|
+
"getClientSuppressionList",
|
189
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.GetSuppressionList"]],
|
190
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.GetSuppressionListResponse"]] ],
|
191
|
+
{ :request_style => :document, :request_use => :literal,
|
192
|
+
:response_style => :document, :response_use => :literal,
|
193
|
+
:faults => {} }
|
194
|
+
],
|
195
|
+
[ "http://api.createsend.com/api/Client.GetTemplates",
|
196
|
+
"getClientTemplates",
|
197
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.GetTemplates"]],
|
198
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.GetTemplatesResponse"]] ],
|
199
|
+
{ :request_style => :document, :request_use => :literal,
|
200
|
+
:response_style => :document, :response_use => :literal,
|
201
|
+
:faults => {} }
|
202
|
+
],
|
203
|
+
[ "http://api.createsend.com/api/Client.Create",
|
204
|
+
"createClient",
|
205
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.Create"]],
|
206
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.CreateResponse"]] ],
|
207
|
+
{ :request_style => :document, :request_use => :literal,
|
208
|
+
:response_style => :document, :response_use => :literal,
|
209
|
+
:faults => {} }
|
210
|
+
],
|
211
|
+
[ "http://api.createsend.com/api/Client.UpdateBasics",
|
212
|
+
"updateClientBasics",
|
213
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.UpdateBasics"]],
|
214
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.UpdateBasicsResponse"]] ],
|
215
|
+
{ :request_style => :document, :request_use => :literal,
|
216
|
+
:response_style => :document, :response_use => :literal,
|
217
|
+
:faults => {} }
|
218
|
+
],
|
219
|
+
[ "http://api.createsend.com/api/Client.UpdateAccessAndBilling",
|
220
|
+
"updateClientAccessAndBilling",
|
221
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.UpdateAccessAndBilling"]],
|
222
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.UpdateAccessAndBillingResponse"]] ],
|
223
|
+
{ :request_style => :document, :request_use => :literal,
|
224
|
+
:response_style => :document, :response_use => :literal,
|
225
|
+
:faults => {} }
|
226
|
+
],
|
227
|
+
[ "http://api.createsend.com/api/Client.GetDetail",
|
228
|
+
"getClientDetail",
|
229
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.GetDetail"]],
|
230
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.GetDetailResponse"]] ],
|
231
|
+
{ :request_style => :document, :request_use => :literal,
|
232
|
+
:response_style => :document, :response_use => :literal,
|
233
|
+
:faults => {} }
|
234
|
+
],
|
235
|
+
[ "http://api.createsend.com/api/Client.Delete",
|
236
|
+
"deleteClient",
|
237
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.Delete"]],
|
238
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Client.DeleteResponse"]] ],
|
239
|
+
{ :request_style => :document, :request_use => :literal,
|
240
|
+
:response_style => :document, :response_use => :literal,
|
241
|
+
:faults => {} }
|
242
|
+
],
|
243
|
+
[ "http://api.createsend.com/api/Campaign.GetSubscriberClicks",
|
244
|
+
"getSubscriberClicks",
|
245
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Campaign.GetSubscriberClicks"]],
|
246
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Campaign.GetSubscriberClicksResponse"]] ],
|
247
|
+
{ :request_style => :document, :request_use => :literal,
|
248
|
+
:response_style => :document, :response_use => :literal,
|
249
|
+
:faults => {} }
|
250
|
+
],
|
251
|
+
[ "http://api.createsend.com/api/Campaign.GetOpens",
|
252
|
+
"getCampaignOpens",
|
253
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Campaign.GetOpens"]],
|
254
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Campaign.GetOpensResponse"]] ],
|
255
|
+
{ :request_style => :document, :request_use => :literal,
|
256
|
+
:response_style => :document, :response_use => :literal,
|
257
|
+
:faults => {} }
|
258
|
+
],
|
259
|
+
[ "http://api.createsend.com/api/Campaign.GetBounces",
|
260
|
+
"getCampaignBounces",
|
261
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Campaign.GetBounces"]],
|
262
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Campaign.GetBouncesResponse"]] ],
|
263
|
+
{ :request_style => :document, :request_use => :literal,
|
264
|
+
:response_style => :document, :response_use => :literal,
|
265
|
+
:faults => {} }
|
266
|
+
],
|
267
|
+
[ "http://api.createsend.com/api/Campaign.GetUnsubscribes",
|
268
|
+
"getCampaignUnsubscribes",
|
269
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Campaign.GetUnsubscribes"]],
|
270
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Campaign.GetUnsubscribesResponse"]] ],
|
271
|
+
{ :request_style => :document, :request_use => :literal,
|
272
|
+
:response_style => :document, :response_use => :literal,
|
273
|
+
:faults => {} }
|
274
|
+
],
|
275
|
+
[ "http://api.createsend.com/api/Campaign.GetSummary",
|
276
|
+
"getCampaignSummary",
|
277
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Campaign.GetSummary"]],
|
278
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Campaign.GetSummaryResponse"]] ],
|
279
|
+
{ :request_style => :document, :request_use => :literal,
|
280
|
+
:response_style => :document, :response_use => :literal,
|
281
|
+
:faults => {} }
|
282
|
+
],
|
283
|
+
[ "http://api.createsend.com/api/Campaign.GetLists",
|
284
|
+
"getCampaignLists",
|
285
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Campaign.GetLists"]],
|
286
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Campaign.GetListsResponse"]] ],
|
287
|
+
{ :request_style => :document, :request_use => :literal,
|
288
|
+
:response_style => :document, :response_use => :literal,
|
289
|
+
:faults => {} }
|
290
|
+
],
|
291
|
+
[ "http://api.createsend.com/api/User.GetClients",
|
292
|
+
"getClients",
|
293
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "User.GetClients"]],
|
294
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "User.GetClientsResponse"]] ],
|
295
|
+
{ :request_style => :document, :request_use => :literal,
|
296
|
+
:response_style => :document, :response_use => :literal,
|
297
|
+
:faults => {} }
|
298
|
+
],
|
299
|
+
[ "http://api.createsend.com/api/User.GetSystemDate",
|
300
|
+
"getSystemDate",
|
301
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "User.GetSystemDate"]],
|
302
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "User.GetSystemDateResponse"]] ],
|
303
|
+
{ :request_style => :document, :request_use => :literal,
|
304
|
+
:response_style => :document, :response_use => :literal,
|
305
|
+
:faults => {} }
|
306
|
+
],
|
307
|
+
[ "http://api.createsend.com/api/User.GetTimezones",
|
308
|
+
"getTimezones",
|
309
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "User.GetTimezones"]],
|
310
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "User.GetTimezonesResponse"]] ],
|
311
|
+
{ :request_style => :document, :request_use => :literal,
|
312
|
+
:response_style => :document, :response_use => :literal,
|
313
|
+
:faults => {} }
|
314
|
+
],
|
315
|
+
[ "http://api.createsend.com/api/User.GetCountries",
|
316
|
+
"getCountries",
|
317
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "User.GetCountries"]],
|
318
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "User.GetCountriesResponse"]] ],
|
319
|
+
{ :request_style => :document, :request_use => :literal,
|
320
|
+
:response_style => :document, :response_use => :literal,
|
321
|
+
:faults => {} }
|
322
|
+
],
|
323
|
+
[ "http://api.createsend.com/api/Campaign.Create",
|
324
|
+
"createCampaign",
|
325
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Campaign.Create"]],
|
326
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Campaign.CreateResponse"]] ],
|
327
|
+
{ :request_style => :document, :request_use => :literal,
|
328
|
+
:response_style => :document, :response_use => :literal,
|
329
|
+
:faults => {} }
|
330
|
+
],
|
331
|
+
[ "http://api.createsend.com/api/Campaign.Send",
|
332
|
+
"sendCampaign",
|
333
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Campaign.Send"]],
|
334
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Campaign.SendResponse"]] ],
|
335
|
+
{ :request_style => :document, :request_use => :literal,
|
336
|
+
:response_style => :document, :response_use => :literal,
|
337
|
+
:faults => {} }
|
338
|
+
],
|
339
|
+
[ "http://api.createsend.com/api/Campaign.Delete",
|
340
|
+
"deleteCampaign",
|
341
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Campaign.Delete"]],
|
342
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Campaign.DeleteResponse"]] ],
|
343
|
+
{ :request_style => :document, :request_use => :literal,
|
344
|
+
:response_style => :document, :response_use => :literal,
|
345
|
+
:faults => {} }
|
346
|
+
],
|
347
|
+
[ "http://api.createsend.com/api/Template.Create",
|
348
|
+
"createTemplate",
|
349
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Template.Create"]],
|
350
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Template.CreateResponse"]] ],
|
351
|
+
{ :request_style => :document, :request_use => :literal,
|
352
|
+
:response_style => :document, :response_use => :literal,
|
353
|
+
:faults => {} }
|
354
|
+
],
|
355
|
+
[ "http://api.createsend.com/api/Template.GetDetail",
|
356
|
+
"getTemplateDetail",
|
357
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Template.GetDetail"]],
|
358
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Template.GetDetailResponse"]] ],
|
359
|
+
{ :request_style => :document, :request_use => :literal,
|
360
|
+
:response_style => :document, :response_use => :literal,
|
361
|
+
:faults => {} }
|
362
|
+
],
|
363
|
+
[ "http://api.createsend.com/api/Template.Update",
|
364
|
+
"updateTemplate",
|
365
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Template.Update"]],
|
366
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Template.UpdateResponse"]] ],
|
367
|
+
{ :request_style => :document, :request_use => :literal,
|
368
|
+
:response_style => :document, :response_use => :literal,
|
369
|
+
:faults => {} }
|
370
|
+
],
|
371
|
+
[ "http://api.createsend.com/api/Template.Delete",
|
372
|
+
"deleteTemplate",
|
373
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Template.Delete"]],
|
374
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.createsend.com/api/", "Template.DeleteResponse"]] ],
|
375
|
+
{ :request_style => :document, :request_use => :literal,
|
376
|
+
:response_style => :document, :response_use => :literal,
|
377
|
+
:faults => {} }
|
378
|
+
]
|
379
|
+
]
|
380
|
+
|
381
|
+
def initialize(endpoint_url = nil)
|
382
|
+
endpoint_url ||= DefaultEndpointUrl
|
383
|
+
super(endpoint_url, nil)
|
384
|
+
self.mapping_registry = DefaultMappingRegistry::EncodedRegistry
|
385
|
+
self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry
|
386
|
+
init_methods
|
387
|
+
end
|
388
|
+
|
389
|
+
private
|
390
|
+
|
391
|
+
def init_methods
|
392
|
+
Methods.each do |definitions|
|
393
|
+
opt = definitions.last
|
394
|
+
if opt[:request_style] == :document
|
395
|
+
add_document_operation(*definitions)
|
396
|
+
else
|
397
|
+
add_rpc_operation(*definitions)
|
398
|
+
qname = definitions[0]
|
399
|
+
name = definitions[2]
|
400
|
+
if qname.name != name and qname.name.capitalize == name.capitalize
|
401
|
+
::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
|
402
|
+
__send__(name, *arg)
|
403
|
+
end
|
404
|
+
end
|
405
|
+
end
|
406
|
+
end
|
407
|
+
end
|
408
|
+
end
|
409
|
+
|
410
|
+
|
411
|
+
|
412
|
+
|
413
|
+
end
|
@@ -0,0 +1,1526 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__)) + '/default.rb'
|
2
|
+
require 'soap/mapping'
|
3
|
+
|
4
|
+
module Campaigning
|
5
|
+
|
6
|
+
module DefaultMappingRegistry
|
7
|
+
EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
|
8
|
+
LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
|
9
|
+
NsApi = "http://api.createsend.com/api/"
|
10
|
+
|
11
|
+
EncodedRegistry.register(
|
12
|
+
:class => Campaigning::Result,
|
13
|
+
:schema_type => XSD::QName.new(NsApi, "Result"),
|
14
|
+
:schema_element => [
|
15
|
+
["code", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "Code")]],
|
16
|
+
["message", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Message")], [0, 1]]
|
17
|
+
]
|
18
|
+
)
|
19
|
+
|
20
|
+
EncodedRegistry.register(
|
21
|
+
:class => Campaigning::Client,
|
22
|
+
:schema_type => XSD::QName.new(NsApi, "Client"),
|
23
|
+
:schema_element => [
|
24
|
+
["clientID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ClientID")], [0, 1]],
|
25
|
+
["name", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name")], [0, 1]]
|
26
|
+
]
|
27
|
+
)
|
28
|
+
|
29
|
+
EncodedRegistry.register(
|
30
|
+
:class => Campaigning::CampaignSummary,
|
31
|
+
:schema_type => XSD::QName.new(NsApi, "CampaignSummary"),
|
32
|
+
:schema_element => [
|
33
|
+
["recipients", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "Recipients")]],
|
34
|
+
["totalOpened", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "TotalOpened")]],
|
35
|
+
["clicks", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "Clicks")]],
|
36
|
+
["unsubscribed", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "Unsubscribed")]],
|
37
|
+
["bounced", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "Bounced")]]
|
38
|
+
]
|
39
|
+
)
|
40
|
+
|
41
|
+
EncodedRegistry.register(
|
42
|
+
:class => Campaigning::SubscriberUnsubscribe,
|
43
|
+
:schema_type => XSD::QName.new(NsApi, "SubscriberUnsubscribe"),
|
44
|
+
:schema_element => [
|
45
|
+
["emailAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "EmailAddress")], [0, 1]],
|
46
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]]
|
47
|
+
]
|
48
|
+
)
|
49
|
+
|
50
|
+
EncodedRegistry.register(
|
51
|
+
:class => Campaigning::SubscriberBounce,
|
52
|
+
:schema_type => XSD::QName.new(NsApi, "SubscriberBounce"),
|
53
|
+
:schema_element => [
|
54
|
+
["emailAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "EmailAddress")], [0, 1]],
|
55
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
56
|
+
["bounceType", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BounceType")], [0, 1]]
|
57
|
+
]
|
58
|
+
)
|
59
|
+
|
60
|
+
EncodedRegistry.register(
|
61
|
+
:class => Campaigning::SubscriberOpen,
|
62
|
+
:schema_type => XSD::QName.new(NsApi, "SubscriberOpen"),
|
63
|
+
:schema_element => [
|
64
|
+
["emailAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "EmailAddress")], [0, 1]],
|
65
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
66
|
+
["numberOfOpens", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "NumberOfOpens")]]
|
67
|
+
]
|
68
|
+
)
|
69
|
+
|
70
|
+
EncodedRegistry.register(
|
71
|
+
:class => Campaigning::SubscriberClick,
|
72
|
+
:schema_type => XSD::QName.new(NsApi, "SubscriberClick"),
|
73
|
+
:schema_element => [
|
74
|
+
["emailAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "EmailAddress")], [0, 1]],
|
75
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
76
|
+
["clickedLinks", ["Campaigning::ArrayOfSubscriberClickedLink", XSD::QName.new(NsApi, "ClickedLinks")], [0, 1]]
|
77
|
+
]
|
78
|
+
)
|
79
|
+
|
80
|
+
EncodedRegistry.register(
|
81
|
+
:class => Campaigning::ArrayOfSubscriberClickedLink,
|
82
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfSubscriberClickedLink"),
|
83
|
+
:schema_element => [
|
84
|
+
["subscriberClickedLink", ["Campaigning::SubscriberClickedLink[]", XSD::QName.new(NsApi, "SubscriberClickedLink")], [0, nil]]
|
85
|
+
]
|
86
|
+
)
|
87
|
+
|
88
|
+
EncodedRegistry.register(
|
89
|
+
:class => Campaigning::SubscriberClickedLink,
|
90
|
+
:schema_type => XSD::QName.new(NsApi, "SubscriberClickedLink"),
|
91
|
+
:schema_element => [
|
92
|
+
["link", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Link")], [0, 1]],
|
93
|
+
["clicks", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Clicks")], [0, 1]]
|
94
|
+
]
|
95
|
+
)
|
96
|
+
|
97
|
+
EncodedRegistry.register(
|
98
|
+
:class => Campaigning::ClientDetail,
|
99
|
+
:schema_type => XSD::QName.new(NsApi, "ClientDetail"),
|
100
|
+
:schema_element => [
|
101
|
+
["basicDetails", ["Campaigning::ClientBasicDetails", XSD::QName.new(NsApi, "BasicDetails")], [0, 1]],
|
102
|
+
["accessAndBilling", ["Campaigning::ClientAccessAndBilling", XSD::QName.new(NsApi, "AccessAndBilling")], [0, 1]]
|
103
|
+
]
|
104
|
+
)
|
105
|
+
|
106
|
+
EncodedRegistry.register(
|
107
|
+
:class => Campaigning::ClientBasicDetails,
|
108
|
+
:schema_type => XSD::QName.new(NsApi, "ClientBasicDetails"),
|
109
|
+
:schema_element => [
|
110
|
+
["clientID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ClientID")], [0, 1]],
|
111
|
+
["companyName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CompanyName")], [0, 1]],
|
112
|
+
["contactName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ContactName")], [0, 1]],
|
113
|
+
["emailAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "EmailAddress")], [0, 1]],
|
114
|
+
["country", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Country")], [0, 1]],
|
115
|
+
["timezone", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Timezone")], [0, 1]]
|
116
|
+
]
|
117
|
+
)
|
118
|
+
|
119
|
+
EncodedRegistry.register(
|
120
|
+
:class => Campaigning::ClientAccessAndBilling,
|
121
|
+
:schema_type => XSD::QName.new(NsApi, "ClientAccessAndBilling"),
|
122
|
+
:schema_element => [
|
123
|
+
["username", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Username")], [0, 1]],
|
124
|
+
["password", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Password")], [0, 1]],
|
125
|
+
["billingType", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BillingType")], [0, 1]],
|
126
|
+
["currency", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Currency")], [0, 1]],
|
127
|
+
["deliveryFee", ["SOAP::SOAPString", XSD::QName.new(NsApi, "DeliveryFee")], [0, 1]],
|
128
|
+
["costPerRecipient", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CostPerRecipient")], [0, 1]],
|
129
|
+
["designAndSpamTestFee", ["SOAP::SOAPString", XSD::QName.new(NsApi, "DesignAndSpamTestFee")], [0, 1]],
|
130
|
+
["accessLevel", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "AccessLevel")]]
|
131
|
+
]
|
132
|
+
)
|
133
|
+
|
134
|
+
EncodedRegistry.register(
|
135
|
+
:class => Campaigning::Template,
|
136
|
+
:schema_type => XSD::QName.new(NsApi, "Template"),
|
137
|
+
:schema_element => [
|
138
|
+
["templateID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "TemplateID")], [0, 1]],
|
139
|
+
["name", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name")], [0, 1]],
|
140
|
+
["previewURL", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PreviewURL")], [0, 1]],
|
141
|
+
["screenshotURL", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ScreenshotURL")], [0, 1]]
|
142
|
+
]
|
143
|
+
)
|
144
|
+
|
145
|
+
EncodedRegistry.register(
|
146
|
+
:class => Campaigning::List,
|
147
|
+
:schema_type => XSD::QName.new(NsApi, "List"),
|
148
|
+
:schema_element => [
|
149
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
150
|
+
["name", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name")], [0, 1]]
|
151
|
+
]
|
152
|
+
)
|
153
|
+
|
154
|
+
EncodedRegistry.register(
|
155
|
+
:class => Campaigning::Campaign,
|
156
|
+
:schema_type => XSD::QName.new(NsApi, "Campaign"),
|
157
|
+
:schema_element => [
|
158
|
+
["campaignID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CampaignID")], [0, 1]],
|
159
|
+
["subject", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Subject")], [0, 1]],
|
160
|
+
["name", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name")], [0, 1]],
|
161
|
+
["sentDate", ["SOAP::SOAPString", XSD::QName.new(NsApi, "SentDate")], [0, 1]],
|
162
|
+
["totalRecipients", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "TotalRecipients")]]
|
163
|
+
]
|
164
|
+
)
|
165
|
+
|
166
|
+
EncodedRegistry.register(
|
167
|
+
:class => Campaigning::ListStatistics,
|
168
|
+
:schema_type => XSD::QName.new(NsApi, "ListStatistics"),
|
169
|
+
:schema_element => [
|
170
|
+
["totalActiveSubscribers", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "TotalActiveSubscribers")]],
|
171
|
+
["newActiveSubscribersToday", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "NewActiveSubscribersToday")]],
|
172
|
+
["newActiveSubscribersYesterday", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "NewActiveSubscribersYesterday")]],
|
173
|
+
["newActiveSubscribersThisWeek", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "NewActiveSubscribersThisWeek")]],
|
174
|
+
["newActiveSubscribersThisMonth", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "NewActiveSubscribersThisMonth")]],
|
175
|
+
["newActiveSubscribersThisYear", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "NewActiveSubscribersThisYear")]],
|
176
|
+
["totalUnsubscribes", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "TotalUnsubscribes")]],
|
177
|
+
["unsubscribesToday", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "UnsubscribesToday")]],
|
178
|
+
["unsubscribesYesterday", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "UnsubscribesYesterday")]],
|
179
|
+
["unsubscribesThisWeek", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "UnsubscribesThisWeek")]],
|
180
|
+
["unsubscribesThisMonth", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "UnsubscribesThisMonth")]],
|
181
|
+
["unsubscribesThisYear", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "UnsubscribesThisYear")]],
|
182
|
+
["totalDeleted", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "TotalDeleted")]],
|
183
|
+
["deletedToday", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "DeletedToday")]],
|
184
|
+
["deletedYesterday", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "DeletedYesterday")]],
|
185
|
+
["deletedThisWeek", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "DeletedThisWeek")]],
|
186
|
+
["deletedThisMonth", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "DeletedThisMonth")]],
|
187
|
+
["deletedThisYear", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "DeletedThisYear")]],
|
188
|
+
["totalBounces", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "TotalBounces")]],
|
189
|
+
["bouncesToday", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "BouncesToday")]],
|
190
|
+
["bouncesYesterday", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "BouncesYesterday")]],
|
191
|
+
["bouncesThisWeek", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "BouncesThisWeek")]],
|
192
|
+
["bouncesThisMonth", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "BouncesThisMonth")]],
|
193
|
+
["bouncesThisYear", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "BouncesThisYear")]]
|
194
|
+
]
|
195
|
+
)
|
196
|
+
|
197
|
+
EncodedRegistry.register(
|
198
|
+
:class => Campaigning::ListCustomField,
|
199
|
+
:schema_type => XSD::QName.new(NsApi, "ListCustomField"),
|
200
|
+
:schema_element => [
|
201
|
+
["fieldName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "FieldName")], [0, 1]],
|
202
|
+
["key", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Key")], [0, 1]],
|
203
|
+
["dataType", ["Campaigning::SubscriberFieldDataType", XSD::QName.new(NsApi, "DataType")]],
|
204
|
+
["fieldOptions", ["Campaigning::ArrayOfString", XSD::QName.new(NsApi, "FieldOptions")], [0, 1]]
|
205
|
+
]
|
206
|
+
)
|
207
|
+
|
208
|
+
EncodedRegistry.register(
|
209
|
+
:class => Campaigning::ArrayOfString,
|
210
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfString"),
|
211
|
+
:schema_element => [
|
212
|
+
["string", "SOAP::SOAPString[]", [0, nil]]
|
213
|
+
]
|
214
|
+
)
|
215
|
+
|
216
|
+
EncodedRegistry.register(
|
217
|
+
:class => Campaigning::ListDetail,
|
218
|
+
:schema_type => XSD::QName.new(NsApi, "ListDetail"),
|
219
|
+
:schema_element => [
|
220
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
221
|
+
["title", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Title")], [0, 1]],
|
222
|
+
["unsubscribePage", ["SOAP::SOAPString", XSD::QName.new(NsApi, "UnsubscribePage")], [0, 1]],
|
223
|
+
["confirmOptIn", ["SOAP::SOAPBoolean", XSD::QName.new(NsApi, "ConfirmOptIn")]],
|
224
|
+
["confirmationSuccessPage", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ConfirmationSuccessPage")], [0, 1]]
|
225
|
+
]
|
226
|
+
)
|
227
|
+
|
228
|
+
EncodedRegistry.register(
|
229
|
+
:class => Campaigning::Subscriber,
|
230
|
+
:schema_type => XSD::QName.new(NsApi, "Subscriber"),
|
231
|
+
:schema_element => [
|
232
|
+
["emailAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "EmailAddress")], [0, 1]],
|
233
|
+
["name", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name")], [0, 1]],
|
234
|
+
["date", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Date")], [0, 1]],
|
235
|
+
["state", ["SOAP::SOAPString", XSD::QName.new(NsApi, "State")], [0, 1]],
|
236
|
+
["customFields", ["Campaigning::ArrayOfSubscriberCustomField", XSD::QName.new(NsApi, "CustomFields")], [0, 1]]
|
237
|
+
]
|
238
|
+
)
|
239
|
+
|
240
|
+
EncodedRegistry.register(
|
241
|
+
:class => Campaigning::ArrayOfSubscriberCustomField,
|
242
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfSubscriberCustomField"),
|
243
|
+
:schema_element => [
|
244
|
+
["subscriberCustomField", ["Campaigning::SubscriberCustomField[]", XSD::QName.new(NsApi, "SubscriberCustomField")], [0, nil]]
|
245
|
+
]
|
246
|
+
)
|
247
|
+
|
248
|
+
EncodedRegistry.register(
|
249
|
+
:class => Campaigning::SubscriberCustomField,
|
250
|
+
:schema_type => XSD::QName.new(NsApi, "SubscriberCustomField"),
|
251
|
+
:schema_element => [
|
252
|
+
["key", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Key")], [0, 1]],
|
253
|
+
["value", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Value")], [0, 1]]
|
254
|
+
]
|
255
|
+
)
|
256
|
+
|
257
|
+
EncodedRegistry.register(
|
258
|
+
:class => Campaigning::ArrayOfSubscriber,
|
259
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfSubscriber"),
|
260
|
+
:schema_element => [
|
261
|
+
["subscriber", ["Campaigning::Subscriber[]", XSD::QName.new(NsApi, "Subscriber")], [0, nil]]
|
262
|
+
]
|
263
|
+
)
|
264
|
+
|
265
|
+
EncodedRegistry.register(
|
266
|
+
:class => Campaigning::ArrayOfListCustomField,
|
267
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfListCustomField"),
|
268
|
+
:schema_element => [
|
269
|
+
["listCustomField", ["Campaigning::ListCustomField[]", XSD::QName.new(NsApi, "ListCustomField")], [0, nil]]
|
270
|
+
]
|
271
|
+
)
|
272
|
+
|
273
|
+
EncodedRegistry.register(
|
274
|
+
:class => Campaigning::ArrayOfCampaign,
|
275
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfCampaign"),
|
276
|
+
:schema_element => [
|
277
|
+
["campaign", ["Campaigning::Campaign[]", XSD::QName.new(NsApi, "Campaign")], [0, nil]]
|
278
|
+
]
|
279
|
+
)
|
280
|
+
|
281
|
+
EncodedRegistry.register(
|
282
|
+
:class => Campaigning::ArrayOfList,
|
283
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfList"),
|
284
|
+
:schema_element => [
|
285
|
+
["list", ["Campaigning::List[]", XSD::QName.new(NsApi, "List")], [0, nil]]
|
286
|
+
]
|
287
|
+
)
|
288
|
+
|
289
|
+
EncodedRegistry.register(
|
290
|
+
:class => Campaigning::ArrayOfTemplate,
|
291
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfTemplate"),
|
292
|
+
:schema_element => [
|
293
|
+
["template", ["Campaigning::Template[]", XSD::QName.new(NsApi, "Template")], [0, nil]]
|
294
|
+
]
|
295
|
+
)
|
296
|
+
|
297
|
+
EncodedRegistry.register(
|
298
|
+
:class => Campaigning::ArrayOfSubscriberClick,
|
299
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfSubscriberClick"),
|
300
|
+
:schema_element => [
|
301
|
+
["subscriberClick", ["Campaigning::SubscriberClick[]", XSD::QName.new(NsApi, "SubscriberClick")], [0, nil]]
|
302
|
+
]
|
303
|
+
)
|
304
|
+
|
305
|
+
EncodedRegistry.register(
|
306
|
+
:class => Campaigning::ArrayOfSubscriberOpen,
|
307
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfSubscriberOpen"),
|
308
|
+
:schema_element => [
|
309
|
+
["subscriberOpen", ["Campaigning::SubscriberOpen[]", XSD::QName.new(NsApi, "SubscriberOpen")], [0, nil]]
|
310
|
+
]
|
311
|
+
)
|
312
|
+
|
313
|
+
EncodedRegistry.register(
|
314
|
+
:class => Campaigning::ArrayOfSubscriberBounce,
|
315
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfSubscriberBounce"),
|
316
|
+
:schema_element => [
|
317
|
+
["subscriberBounce", ["Campaigning::SubscriberBounce[]", XSD::QName.new(NsApi, "SubscriberBounce")], [0, nil]]
|
318
|
+
]
|
319
|
+
)
|
320
|
+
|
321
|
+
EncodedRegistry.register(
|
322
|
+
:class => Campaigning::ArrayOfSubscriberUnsubscribe,
|
323
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfSubscriberUnsubscribe"),
|
324
|
+
:schema_element => [
|
325
|
+
["subscriberUnsubscribe", ["Campaigning::SubscriberUnsubscribe[]", XSD::QName.new(NsApi, "SubscriberUnsubscribe")], [0, nil]]
|
326
|
+
]
|
327
|
+
)
|
328
|
+
|
329
|
+
EncodedRegistry.register(
|
330
|
+
:class => Campaigning::ArrayOfClient,
|
331
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfClient"),
|
332
|
+
:schema_element => [
|
333
|
+
["client", ["Campaigning::Client[]", XSD::QName.new(NsApi, "Client")], [0, nil]]
|
334
|
+
]
|
335
|
+
)
|
336
|
+
|
337
|
+
EncodedRegistry.register(
|
338
|
+
:class => Campaigning::SubscriberFieldDataType,
|
339
|
+
:schema_type => XSD::QName.new(NsApi, "SubscriberFieldDataType")
|
340
|
+
)
|
341
|
+
|
342
|
+
LiteralRegistry.register(
|
343
|
+
:class => Campaigning::Result,
|
344
|
+
:schema_type => XSD::QName.new(NsApi, "Result"),
|
345
|
+
:schema_element => [
|
346
|
+
["code", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "Code")]],
|
347
|
+
["message", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Message")], [0, 1]]
|
348
|
+
]
|
349
|
+
)
|
350
|
+
|
351
|
+
LiteralRegistry.register(
|
352
|
+
:class => Campaigning::Client,
|
353
|
+
:schema_type => XSD::QName.new(NsApi, "Client"),
|
354
|
+
:schema_element => [
|
355
|
+
["clientID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ClientID")], [0, 1]],
|
356
|
+
["name", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name")], [0, 1]]
|
357
|
+
]
|
358
|
+
)
|
359
|
+
|
360
|
+
LiteralRegistry.register(
|
361
|
+
:class => Campaigning::CampaignSummary,
|
362
|
+
:schema_type => XSD::QName.new(NsApi, "CampaignSummary"),
|
363
|
+
:schema_element => [
|
364
|
+
["recipients", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "Recipients")]],
|
365
|
+
["totalOpened", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "TotalOpened")]],
|
366
|
+
["clicks", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "Clicks")]],
|
367
|
+
["unsubscribed", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "Unsubscribed")]],
|
368
|
+
["bounced", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "Bounced")]]
|
369
|
+
]
|
370
|
+
)
|
371
|
+
|
372
|
+
LiteralRegistry.register(
|
373
|
+
:class => Campaigning::SubscriberUnsubscribe,
|
374
|
+
:schema_type => XSD::QName.new(NsApi, "SubscriberUnsubscribe"),
|
375
|
+
:schema_element => [
|
376
|
+
["emailAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "EmailAddress")], [0, 1]],
|
377
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]]
|
378
|
+
]
|
379
|
+
)
|
380
|
+
|
381
|
+
LiteralRegistry.register(
|
382
|
+
:class => Campaigning::SubscriberBounce,
|
383
|
+
:schema_type => XSD::QName.new(NsApi, "SubscriberBounce"),
|
384
|
+
:schema_element => [
|
385
|
+
["emailAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "EmailAddress")], [0, 1]],
|
386
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
387
|
+
["bounceType", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BounceType")], [0, 1]]
|
388
|
+
]
|
389
|
+
)
|
390
|
+
|
391
|
+
LiteralRegistry.register(
|
392
|
+
:class => Campaigning::SubscriberOpen,
|
393
|
+
:schema_type => XSD::QName.new(NsApi, "SubscriberOpen"),
|
394
|
+
:schema_element => [
|
395
|
+
["emailAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "EmailAddress")], [0, 1]],
|
396
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
397
|
+
["numberOfOpens", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "NumberOfOpens")]]
|
398
|
+
]
|
399
|
+
)
|
400
|
+
|
401
|
+
LiteralRegistry.register(
|
402
|
+
:class => Campaigning::SubscriberClick,
|
403
|
+
:schema_type => XSD::QName.new(NsApi, "SubscriberClick"),
|
404
|
+
:schema_element => [
|
405
|
+
["emailAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "EmailAddress")], [0, 1]],
|
406
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
407
|
+
["clickedLinks", ["Campaigning::ArrayOfSubscriberClickedLink", XSD::QName.new(NsApi, "ClickedLinks")], [0, 1]]
|
408
|
+
]
|
409
|
+
)
|
410
|
+
|
411
|
+
LiteralRegistry.register(
|
412
|
+
:class => Campaigning::ArrayOfSubscriberClickedLink,
|
413
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfSubscriberClickedLink"),
|
414
|
+
:schema_element => [
|
415
|
+
["subscriberClickedLink", ["Campaigning::SubscriberClickedLink[]", XSD::QName.new(NsApi, "SubscriberClickedLink")], [0, nil]]
|
416
|
+
]
|
417
|
+
)
|
418
|
+
|
419
|
+
LiteralRegistry.register(
|
420
|
+
:class => Campaigning::SubscriberClickedLink,
|
421
|
+
:schema_type => XSD::QName.new(NsApi, "SubscriberClickedLink"),
|
422
|
+
:schema_element => [
|
423
|
+
["link", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Link")], [0, 1]],
|
424
|
+
["clicks", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Clicks")], [0, 1]]
|
425
|
+
]
|
426
|
+
)
|
427
|
+
|
428
|
+
LiteralRegistry.register(
|
429
|
+
:class => Campaigning::ClientDetail,
|
430
|
+
:schema_type => XSD::QName.new(NsApi, "ClientDetail"),
|
431
|
+
:schema_element => [
|
432
|
+
["basicDetails", ["Campaigning::ClientBasicDetails", XSD::QName.new(NsApi, "BasicDetails")], [0, 1]],
|
433
|
+
["accessAndBilling", ["Campaigning::ClientAccessAndBilling", XSD::QName.new(NsApi, "AccessAndBilling")], [0, 1]]
|
434
|
+
]
|
435
|
+
)
|
436
|
+
|
437
|
+
LiteralRegistry.register(
|
438
|
+
:class => Campaigning::ClientBasicDetails,
|
439
|
+
:schema_type => XSD::QName.new(NsApi, "ClientBasicDetails"),
|
440
|
+
:schema_element => [
|
441
|
+
["clientID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ClientID")], [0, 1]],
|
442
|
+
["companyName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CompanyName")], [0, 1]],
|
443
|
+
["contactName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ContactName")], [0, 1]],
|
444
|
+
["emailAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "EmailAddress")], [0, 1]],
|
445
|
+
["country", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Country")], [0, 1]],
|
446
|
+
["timezone", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Timezone")], [0, 1]]
|
447
|
+
]
|
448
|
+
)
|
449
|
+
|
450
|
+
LiteralRegistry.register(
|
451
|
+
:class => Campaigning::ClientAccessAndBilling,
|
452
|
+
:schema_type => XSD::QName.new(NsApi, "ClientAccessAndBilling"),
|
453
|
+
:schema_element => [
|
454
|
+
["username", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Username")], [0, 1]],
|
455
|
+
["password", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Password")], [0, 1]],
|
456
|
+
["billingType", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BillingType")], [0, 1]],
|
457
|
+
["currency", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Currency")], [0, 1]],
|
458
|
+
["deliveryFee", ["SOAP::SOAPString", XSD::QName.new(NsApi, "DeliveryFee")], [0, 1]],
|
459
|
+
["costPerRecipient", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CostPerRecipient")], [0, 1]],
|
460
|
+
["designAndSpamTestFee", ["SOAP::SOAPString", XSD::QName.new(NsApi, "DesignAndSpamTestFee")], [0, 1]],
|
461
|
+
["accessLevel", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "AccessLevel")]]
|
462
|
+
]
|
463
|
+
)
|
464
|
+
|
465
|
+
LiteralRegistry.register(
|
466
|
+
:class => Campaigning::Template,
|
467
|
+
:schema_type => XSD::QName.new(NsApi, "Template"),
|
468
|
+
:schema_element => [
|
469
|
+
["templateID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "TemplateID")], [0, 1]],
|
470
|
+
["name", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name")], [0, 1]],
|
471
|
+
["previewURL", ["SOAP::SOAPString", XSD::QName.new(NsApi, "PreviewURL")], [0, 1]],
|
472
|
+
["screenshotURL", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ScreenshotURL")], [0, 1]]
|
473
|
+
]
|
474
|
+
)
|
475
|
+
|
476
|
+
LiteralRegistry.register(
|
477
|
+
:class => Campaigning::List,
|
478
|
+
:schema_type => XSD::QName.new(NsApi, "List"),
|
479
|
+
:schema_element => [
|
480
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
481
|
+
["name", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name")], [0, 1]]
|
482
|
+
]
|
483
|
+
)
|
484
|
+
|
485
|
+
LiteralRegistry.register(
|
486
|
+
:class => Campaigning::Campaign,
|
487
|
+
:schema_type => XSD::QName.new(NsApi, "Campaign"),
|
488
|
+
:schema_element => [
|
489
|
+
["campaignID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CampaignID")], [0, 1]],
|
490
|
+
["subject", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Subject")], [0, 1]],
|
491
|
+
["name", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name")], [0, 1]],
|
492
|
+
["sentDate", ["SOAP::SOAPString", XSD::QName.new(NsApi, "SentDate")], [0, 1]],
|
493
|
+
["totalRecipients", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "TotalRecipients")]]
|
494
|
+
]
|
495
|
+
)
|
496
|
+
|
497
|
+
LiteralRegistry.register(
|
498
|
+
:class => Campaigning::ListStatistics,
|
499
|
+
:schema_type => XSD::QName.new(NsApi, "ListStatistics"),
|
500
|
+
:schema_element => [
|
501
|
+
["totalActiveSubscribers", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "TotalActiveSubscribers")]],
|
502
|
+
["newActiveSubscribersToday", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "NewActiveSubscribersToday")]],
|
503
|
+
["newActiveSubscribersYesterday", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "NewActiveSubscribersYesterday")]],
|
504
|
+
["newActiveSubscribersThisWeek", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "NewActiveSubscribersThisWeek")]],
|
505
|
+
["newActiveSubscribersThisMonth", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "NewActiveSubscribersThisMonth")]],
|
506
|
+
["newActiveSubscribersThisYear", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "NewActiveSubscribersThisYear")]],
|
507
|
+
["totalUnsubscribes", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "TotalUnsubscribes")]],
|
508
|
+
["unsubscribesToday", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "UnsubscribesToday")]],
|
509
|
+
["unsubscribesYesterday", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "UnsubscribesYesterday")]],
|
510
|
+
["unsubscribesThisWeek", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "UnsubscribesThisWeek")]],
|
511
|
+
["unsubscribesThisMonth", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "UnsubscribesThisMonth")]],
|
512
|
+
["unsubscribesThisYear", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "UnsubscribesThisYear")]],
|
513
|
+
["totalDeleted", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "TotalDeleted")]],
|
514
|
+
["deletedToday", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "DeletedToday")]],
|
515
|
+
["deletedYesterday", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "DeletedYesterday")]],
|
516
|
+
["deletedThisWeek", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "DeletedThisWeek")]],
|
517
|
+
["deletedThisMonth", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "DeletedThisMonth")]],
|
518
|
+
["deletedThisYear", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "DeletedThisYear")]],
|
519
|
+
["totalBounces", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "TotalBounces")]],
|
520
|
+
["bouncesToday", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "BouncesToday")]],
|
521
|
+
["bouncesYesterday", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "BouncesYesterday")]],
|
522
|
+
["bouncesThisWeek", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "BouncesThisWeek")]],
|
523
|
+
["bouncesThisMonth", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "BouncesThisMonth")]],
|
524
|
+
["bouncesThisYear", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "BouncesThisYear")]]
|
525
|
+
]
|
526
|
+
)
|
527
|
+
|
528
|
+
LiteralRegistry.register(
|
529
|
+
:class => Campaigning::ListCustomField,
|
530
|
+
:schema_type => XSD::QName.new(NsApi, "ListCustomField"),
|
531
|
+
:schema_element => [
|
532
|
+
["fieldName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "FieldName")], [0, 1]],
|
533
|
+
["key", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Key")], [0, 1]],
|
534
|
+
["dataType", ["Campaigning::SubscriberFieldDataType", XSD::QName.new(NsApi, "DataType")]],
|
535
|
+
["fieldOptions", ["Campaigning::ArrayOfString", XSD::QName.new(NsApi, "FieldOptions")], [0, 1]]
|
536
|
+
]
|
537
|
+
)
|
538
|
+
|
539
|
+
LiteralRegistry.register(
|
540
|
+
:class => Campaigning::ArrayOfString,
|
541
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfString"),
|
542
|
+
:schema_element => [
|
543
|
+
["string", "SOAP::SOAPString[]", [0, nil]]
|
544
|
+
]
|
545
|
+
)
|
546
|
+
|
547
|
+
LiteralRegistry.register(
|
548
|
+
:class => Campaigning::ListDetail,
|
549
|
+
:schema_type => XSD::QName.new(NsApi, "ListDetail"),
|
550
|
+
:schema_element => [
|
551
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
552
|
+
["title", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Title")], [0, 1]],
|
553
|
+
["unsubscribePage", ["SOAP::SOAPString", XSD::QName.new(NsApi, "UnsubscribePage")], [0, 1]],
|
554
|
+
["confirmOptIn", ["SOAP::SOAPBoolean", XSD::QName.new(NsApi, "ConfirmOptIn")]],
|
555
|
+
["confirmationSuccessPage", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ConfirmationSuccessPage")], [0, 1]]
|
556
|
+
]
|
557
|
+
)
|
558
|
+
|
559
|
+
LiteralRegistry.register(
|
560
|
+
:class => Campaigning::Subscriber,
|
561
|
+
:schema_type => XSD::QName.new(NsApi, "Subscriber"),
|
562
|
+
:schema_element => [
|
563
|
+
["emailAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "EmailAddress")], [0, 1]],
|
564
|
+
["name", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name")], [0, 1]],
|
565
|
+
["date", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Date")], [0, 1]],
|
566
|
+
["state", ["SOAP::SOAPString", XSD::QName.new(NsApi, "State")], [0, 1]],
|
567
|
+
["customFields", ["Campaigning::ArrayOfSubscriberCustomField", XSD::QName.new(NsApi, "CustomFields")], [0, 1]]
|
568
|
+
]
|
569
|
+
)
|
570
|
+
|
571
|
+
LiteralRegistry.register(
|
572
|
+
:class => Campaigning::ArrayOfSubscriberCustomField,
|
573
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfSubscriberCustomField"),
|
574
|
+
:schema_element => [
|
575
|
+
["subscriberCustomField", ["Campaigning::SubscriberCustomField[]", XSD::QName.new(NsApi, "SubscriberCustomField")], [0, nil]]
|
576
|
+
]
|
577
|
+
)
|
578
|
+
|
579
|
+
LiteralRegistry.register(
|
580
|
+
:class => Campaigning::SubscriberCustomField,
|
581
|
+
:schema_type => XSD::QName.new(NsApi, "SubscriberCustomField"),
|
582
|
+
:schema_element => [
|
583
|
+
["key", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Key")], [0, 1]],
|
584
|
+
["value", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Value")], [0, 1]]
|
585
|
+
]
|
586
|
+
)
|
587
|
+
|
588
|
+
LiteralRegistry.register(
|
589
|
+
:class => Campaigning::ArrayOfSubscriber,
|
590
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfSubscriber"),
|
591
|
+
:schema_element => [
|
592
|
+
["subscriber", ["Campaigning::Subscriber[]", XSD::QName.new(NsApi, "Subscriber")], [0, nil]]
|
593
|
+
]
|
594
|
+
)
|
595
|
+
|
596
|
+
LiteralRegistry.register(
|
597
|
+
:class => Campaigning::ArrayOfListCustomField,
|
598
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfListCustomField"),
|
599
|
+
:schema_element => [
|
600
|
+
["listCustomField", ["Campaigning::ListCustomField[]", XSD::QName.new(NsApi, "ListCustomField")], [0, nil]]
|
601
|
+
]
|
602
|
+
)
|
603
|
+
|
604
|
+
LiteralRegistry.register(
|
605
|
+
:class => Campaigning::ArrayOfCampaign,
|
606
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfCampaign"),
|
607
|
+
:schema_element => [
|
608
|
+
["campaign", ["Campaigning::Campaign[]", XSD::QName.new(NsApi, "Campaign")], [0, nil]]
|
609
|
+
]
|
610
|
+
)
|
611
|
+
|
612
|
+
LiteralRegistry.register(
|
613
|
+
:class => Campaigning::ArrayOfList,
|
614
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfList"),
|
615
|
+
:schema_element => [
|
616
|
+
["list", ["Campaigning::List[]", XSD::QName.new(NsApi, "List")], [0, nil]]
|
617
|
+
]
|
618
|
+
)
|
619
|
+
|
620
|
+
LiteralRegistry.register(
|
621
|
+
:class => Campaigning::ArrayOfTemplate,
|
622
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfTemplate"),
|
623
|
+
:schema_element => [
|
624
|
+
["template", ["Campaigning::Template[]", XSD::QName.new(NsApi, "Template")], [0, nil]]
|
625
|
+
]
|
626
|
+
)
|
627
|
+
|
628
|
+
LiteralRegistry.register(
|
629
|
+
:class => Campaigning::ArrayOfSubscriberClick,
|
630
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfSubscriberClick"),
|
631
|
+
:schema_element => [
|
632
|
+
["subscriberClick", ["Campaigning::SubscriberClick[]", XSD::QName.new(NsApi, "SubscriberClick")], [0, nil]]
|
633
|
+
]
|
634
|
+
)
|
635
|
+
|
636
|
+
LiteralRegistry.register(
|
637
|
+
:class => Campaigning::ArrayOfSubscriberOpen,
|
638
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfSubscriberOpen"),
|
639
|
+
:schema_element => [
|
640
|
+
["subscriberOpen", ["Campaigning::SubscriberOpen[]", XSD::QName.new(NsApi, "SubscriberOpen")], [0, nil]]
|
641
|
+
]
|
642
|
+
)
|
643
|
+
|
644
|
+
LiteralRegistry.register(
|
645
|
+
:class => Campaigning::ArrayOfSubscriberBounce,
|
646
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfSubscriberBounce"),
|
647
|
+
:schema_element => [
|
648
|
+
["subscriberBounce", ["Campaigning::SubscriberBounce[]", XSD::QName.new(NsApi, "SubscriberBounce")], [0, nil]]
|
649
|
+
]
|
650
|
+
)
|
651
|
+
|
652
|
+
LiteralRegistry.register(
|
653
|
+
:class => Campaigning::ArrayOfSubscriberUnsubscribe,
|
654
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfSubscriberUnsubscribe"),
|
655
|
+
:schema_element => [
|
656
|
+
["subscriberUnsubscribe", ["Campaigning::SubscriberUnsubscribe[]", XSD::QName.new(NsApi, "SubscriberUnsubscribe")], [0, nil]]
|
657
|
+
]
|
658
|
+
)
|
659
|
+
|
660
|
+
LiteralRegistry.register(
|
661
|
+
:class => Campaigning::ArrayOfClient,
|
662
|
+
:schema_type => XSD::QName.new(NsApi, "ArrayOfClient"),
|
663
|
+
:schema_element => [
|
664
|
+
["client", ["Campaigning::Client[]", XSD::QName.new(NsApi, "Client")], [0, nil]]
|
665
|
+
]
|
666
|
+
)
|
667
|
+
|
668
|
+
LiteralRegistry.register(
|
669
|
+
:class => Campaigning::SubscriberFieldDataType,
|
670
|
+
:schema_type => XSD::QName.new(NsApi, "SubscriberFieldDataType")
|
671
|
+
)
|
672
|
+
|
673
|
+
LiteralRegistry.register(
|
674
|
+
:class => Campaigning::UserGetApiKey,
|
675
|
+
:schema_name => XSD::QName.new(NsApi, "User.GetApiKey"),
|
676
|
+
:schema_element => [
|
677
|
+
["siteUrl", ["SOAP::SOAPString", XSD::QName.new(NsApi, "SiteUrl")], [0, 1]],
|
678
|
+
["username", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Username")], [0, 1]],
|
679
|
+
["password", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Password")], [0, 1]]
|
680
|
+
]
|
681
|
+
)
|
682
|
+
|
683
|
+
LiteralRegistry.register(
|
684
|
+
:class => Campaigning::UserGetApiKeyResponse,
|
685
|
+
:schema_name => XSD::QName.new(NsApi, "User.GetApiKeyResponse"),
|
686
|
+
:schema_element => [
|
687
|
+
["user_GetApiKeyResult", [nil, XSD::QName.new(NsApi, "User.GetApiKeyResult")], [0, 1]]
|
688
|
+
]
|
689
|
+
)
|
690
|
+
|
691
|
+
LiteralRegistry.register(
|
692
|
+
:class => Campaigning::SubscriberAddWithCustomFields,
|
693
|
+
:schema_name => XSD::QName.new(NsApi, "Subscriber.AddWithCustomFields"),
|
694
|
+
:schema_element => [
|
695
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
696
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
697
|
+
["email", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Email")], [0, 1]],
|
698
|
+
["name", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name")], [0, 1]],
|
699
|
+
["customFields", ["Campaigning::ArrayOfSubscriberCustomField", XSD::QName.new(NsApi, "CustomFields")], [0, 1]]
|
700
|
+
]
|
701
|
+
)
|
702
|
+
|
703
|
+
LiteralRegistry.register(
|
704
|
+
:class => Campaigning::SubscriberAddWithCustomFieldsResponse,
|
705
|
+
:schema_name => XSD::QName.new(NsApi, "Subscriber.AddWithCustomFieldsResponse"),
|
706
|
+
:schema_element => [
|
707
|
+
["subscriber_AddWithCustomFieldsResult", ["Campaigning::Result", XSD::QName.new(NsApi, "Subscriber.AddWithCustomFieldsResult")], [0, 1]]
|
708
|
+
]
|
709
|
+
)
|
710
|
+
|
711
|
+
LiteralRegistry.register(
|
712
|
+
:class => Campaigning::SubscriberAddAndResubscribeWithCustomFields,
|
713
|
+
:schema_name => XSD::QName.new(NsApi, "Subscriber.AddAndResubscribeWithCustomFields"),
|
714
|
+
:schema_element => [
|
715
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
716
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
717
|
+
["email", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Email")], [0, 1]],
|
718
|
+
["name", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name")], [0, 1]],
|
719
|
+
["customFields", ["Campaigning::ArrayOfSubscriberCustomField", XSD::QName.new(NsApi, "CustomFields")], [0, 1]]
|
720
|
+
]
|
721
|
+
)
|
722
|
+
|
723
|
+
LiteralRegistry.register(
|
724
|
+
:class => Campaigning::SubscriberAddAndResubscribeWithCustomFieldsResponse,
|
725
|
+
:schema_name => XSD::QName.new(NsApi, "Subscriber.AddAndResubscribeWithCustomFieldsResponse"),
|
726
|
+
:schema_element => [
|
727
|
+
["subscriber_AddAndResubscribeWithCustomFieldsResult", ["Campaigning::Result", XSD::QName.new(NsApi, "Subscriber.AddAndResubscribeWithCustomFieldsResult")], [0, 1]]
|
728
|
+
]
|
729
|
+
)
|
730
|
+
|
731
|
+
LiteralRegistry.register(
|
732
|
+
:class => Campaigning::SubscriberAdd,
|
733
|
+
:schema_name => XSD::QName.new(NsApi, "Subscriber.Add"),
|
734
|
+
:schema_element => [
|
735
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
736
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
737
|
+
["email", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Email")], [0, 1]],
|
738
|
+
["name", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name")], [0, 1]]
|
739
|
+
]
|
740
|
+
)
|
741
|
+
|
742
|
+
LiteralRegistry.register(
|
743
|
+
:class => Campaigning::SubscriberAddResponse,
|
744
|
+
:schema_name => XSD::QName.new(NsApi, "Subscriber.AddResponse"),
|
745
|
+
:schema_element => [
|
746
|
+
["subscriber_AddResult", ["Campaigning::Result", XSD::QName.new(NsApi, "Subscriber.AddResult")], [0, 1]]
|
747
|
+
]
|
748
|
+
)
|
749
|
+
|
750
|
+
LiteralRegistry.register(
|
751
|
+
:class => Campaigning::SubscriberAddAndResubscribe,
|
752
|
+
:schema_name => XSD::QName.new(NsApi, "Subscriber.AddAndResubscribe"),
|
753
|
+
:schema_element => [
|
754
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
755
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
756
|
+
["email", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Email")], [0, 1]],
|
757
|
+
["name", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Name")], [0, 1]]
|
758
|
+
]
|
759
|
+
)
|
760
|
+
|
761
|
+
LiteralRegistry.register(
|
762
|
+
:class => Campaigning::SubscriberAddAndResubscribeResponse,
|
763
|
+
:schema_name => XSD::QName.new(NsApi, "Subscriber.AddAndResubscribeResponse"),
|
764
|
+
:schema_element => [
|
765
|
+
["subscriber_AddAndResubscribeResult", ["Campaigning::Result", XSD::QName.new(NsApi, "Subscriber.AddAndResubscribeResult")], [0, 1]]
|
766
|
+
]
|
767
|
+
)
|
768
|
+
|
769
|
+
LiteralRegistry.register(
|
770
|
+
:class => Campaigning::SubscriberUnsubscribe_,
|
771
|
+
:schema_name => XSD::QName.new(NsApi, "Subscriber.Unsubscribe"),
|
772
|
+
:schema_element => [
|
773
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
774
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
775
|
+
["email", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Email")], [0, 1]]
|
776
|
+
]
|
777
|
+
)
|
778
|
+
|
779
|
+
LiteralRegistry.register(
|
780
|
+
:class => Campaigning::SubscriberUnsubscribeResponse,
|
781
|
+
:schema_name => XSD::QName.new(NsApi, "Subscriber.UnsubscribeResponse"),
|
782
|
+
:schema_element => [
|
783
|
+
["subscriber_UnsubscribeResult", ["Campaigning::Result", XSD::QName.new(NsApi, "Subscriber.UnsubscribeResult")], [0, 1]]
|
784
|
+
]
|
785
|
+
)
|
786
|
+
|
787
|
+
LiteralRegistry.register(
|
788
|
+
:class => Campaigning::SubscribersGetActive,
|
789
|
+
:schema_name => XSD::QName.new(NsApi, "Subscribers.GetActive"),
|
790
|
+
:schema_element => [
|
791
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
792
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
793
|
+
["date", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Date")], [0, 1]]
|
794
|
+
]
|
795
|
+
)
|
796
|
+
|
797
|
+
LiteralRegistry.register(
|
798
|
+
:class => Campaigning::SubscribersGetActiveResponse,
|
799
|
+
:schema_name => XSD::QName.new(NsApi, "Subscribers.GetActiveResponse"),
|
800
|
+
:schema_element => [
|
801
|
+
["subscribers_GetActiveResult", [nil, XSD::QName.new(NsApi, "Subscribers.GetActiveResult")], [0, 1]]
|
802
|
+
]
|
803
|
+
)
|
804
|
+
|
805
|
+
LiteralRegistry.register(
|
806
|
+
:class => Campaigning::SubscribersGetUnsubscribed,
|
807
|
+
:schema_name => XSD::QName.new(NsApi, "Subscribers.GetUnsubscribed"),
|
808
|
+
:schema_element => [
|
809
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
810
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
811
|
+
["date", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Date")], [0, 1]]
|
812
|
+
]
|
813
|
+
)
|
814
|
+
|
815
|
+
LiteralRegistry.register(
|
816
|
+
:class => Campaigning::SubscribersGetUnsubscribedResponse,
|
817
|
+
:schema_name => XSD::QName.new(NsApi, "Subscribers.GetUnsubscribedResponse"),
|
818
|
+
:schema_element => [
|
819
|
+
["subscribers_GetUnsubscribedResult", [nil, XSD::QName.new(NsApi, "Subscribers.GetUnsubscribedResult")], [0, 1]]
|
820
|
+
]
|
821
|
+
)
|
822
|
+
|
823
|
+
LiteralRegistry.register(
|
824
|
+
:class => Campaigning::SubscribersGetBounced,
|
825
|
+
:schema_name => XSD::QName.new(NsApi, "Subscribers.GetBounced"),
|
826
|
+
:schema_element => [
|
827
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
828
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
829
|
+
["date", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Date")], [0, 1]]
|
830
|
+
]
|
831
|
+
)
|
832
|
+
|
833
|
+
LiteralRegistry.register(
|
834
|
+
:class => Campaigning::SubscribersGetBouncedResponse,
|
835
|
+
:schema_name => XSD::QName.new(NsApi, "Subscribers.GetBouncedResponse"),
|
836
|
+
:schema_element => [
|
837
|
+
["subscribers_GetBouncedResult", [nil, XSD::QName.new(NsApi, "Subscribers.GetBouncedResult")], [0, 1]]
|
838
|
+
]
|
839
|
+
)
|
840
|
+
|
841
|
+
LiteralRegistry.register(
|
842
|
+
:class => Campaigning::SubscribersGetSingleSubscriber,
|
843
|
+
:schema_name => XSD::QName.new(NsApi, "Subscribers.GetSingleSubscriber"),
|
844
|
+
:schema_element => [
|
845
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
846
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
847
|
+
["emailAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "EmailAddress")], [0, 1]]
|
848
|
+
]
|
849
|
+
)
|
850
|
+
|
851
|
+
LiteralRegistry.register(
|
852
|
+
:class => Campaigning::SubscribersGetSingleSubscriberResponse,
|
853
|
+
:schema_name => XSD::QName.new(NsApi, "Subscribers.GetSingleSubscriberResponse"),
|
854
|
+
:schema_element => [
|
855
|
+
["subscribers_GetSingleSubscriberResult", [nil, XSD::QName.new(NsApi, "Subscribers.GetSingleSubscriberResult")], [0, 1]]
|
856
|
+
]
|
857
|
+
)
|
858
|
+
|
859
|
+
LiteralRegistry.register(
|
860
|
+
:class => Campaigning::SubscribersGetIsSubscribed,
|
861
|
+
:schema_name => XSD::QName.new(NsApi, "Subscribers.GetIsSubscribed"),
|
862
|
+
:schema_element => [
|
863
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
864
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
865
|
+
["email", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Email")], [0, 1]]
|
866
|
+
]
|
867
|
+
)
|
868
|
+
|
869
|
+
LiteralRegistry.register(
|
870
|
+
:class => Campaigning::SubscribersGetIsSubscribedResponse,
|
871
|
+
:schema_name => XSD::QName.new(NsApi, "Subscribers.GetIsSubscribedResponse"),
|
872
|
+
:schema_element => [
|
873
|
+
["subscribers_GetIsSubscribedResult", [nil, XSD::QName.new(NsApi, "Subscribers.GetIsSubscribedResult")], [0, 1]]
|
874
|
+
]
|
875
|
+
)
|
876
|
+
|
877
|
+
LiteralRegistry.register(
|
878
|
+
:class => Campaigning::ListCreate,
|
879
|
+
:schema_name => XSD::QName.new(NsApi, "List.Create"),
|
880
|
+
:schema_element => [
|
881
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
882
|
+
["clientID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ClientID")], [0, 1]],
|
883
|
+
["title", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Title")], [0, 1]],
|
884
|
+
["unsubscribePage", ["SOAP::SOAPString", XSD::QName.new(NsApi, "UnsubscribePage")], [0, 1]],
|
885
|
+
["confirmOptIn", ["SOAP::SOAPBoolean", XSD::QName.new(NsApi, "ConfirmOptIn")]],
|
886
|
+
["confirmationSuccessPage", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ConfirmationSuccessPage")], [0, 1]]
|
887
|
+
]
|
888
|
+
)
|
889
|
+
|
890
|
+
LiteralRegistry.register(
|
891
|
+
:class => Campaigning::ListCreateResponse,
|
892
|
+
:schema_name => XSD::QName.new(NsApi, "List.CreateResponse"),
|
893
|
+
:schema_element => [
|
894
|
+
["list_CreateResult", [nil, XSD::QName.new(NsApi, "List.CreateResult")], [0, 1]]
|
895
|
+
]
|
896
|
+
)
|
897
|
+
|
898
|
+
LiteralRegistry.register(
|
899
|
+
:class => Campaigning::ListUpdate,
|
900
|
+
:schema_name => XSD::QName.new(NsApi, "List.Update"),
|
901
|
+
:schema_element => [
|
902
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
903
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
904
|
+
["title", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Title")], [0, 1]],
|
905
|
+
["unsubscribePage", ["SOAP::SOAPString", XSD::QName.new(NsApi, "UnsubscribePage")], [0, 1]],
|
906
|
+
["confirmOptIn", ["SOAP::SOAPBoolean", XSD::QName.new(NsApi, "ConfirmOptIn")]],
|
907
|
+
["confirmationSuccessPage", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ConfirmationSuccessPage")], [0, 1]]
|
908
|
+
]
|
909
|
+
)
|
910
|
+
|
911
|
+
LiteralRegistry.register(
|
912
|
+
:class => Campaigning::ListUpdateResponse,
|
913
|
+
:schema_name => XSD::QName.new(NsApi, "List.UpdateResponse"),
|
914
|
+
:schema_element => [
|
915
|
+
["list_UpdateResult", ["Campaigning::Result", XSD::QName.new(NsApi, "List.UpdateResult")], [0, 1]]
|
916
|
+
]
|
917
|
+
)
|
918
|
+
|
919
|
+
LiteralRegistry.register(
|
920
|
+
:class => Campaigning::ListGetDetail,
|
921
|
+
:schema_name => XSD::QName.new(NsApi, "List.GetDetail"),
|
922
|
+
:schema_element => [
|
923
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
924
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]]
|
925
|
+
]
|
926
|
+
)
|
927
|
+
|
928
|
+
LiteralRegistry.register(
|
929
|
+
:class => Campaigning::ListGetDetailResponse,
|
930
|
+
:schema_name => XSD::QName.new(NsApi, "List.GetDetailResponse"),
|
931
|
+
:schema_element => [
|
932
|
+
["list_GetDetailResult", [nil, XSD::QName.new(NsApi, "List.GetDetailResult")], [0, 1]]
|
933
|
+
]
|
934
|
+
)
|
935
|
+
|
936
|
+
LiteralRegistry.register(
|
937
|
+
:class => Campaigning::ListDelete,
|
938
|
+
:schema_name => XSD::QName.new(NsApi, "List.Delete"),
|
939
|
+
:schema_element => [
|
940
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
941
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]]
|
942
|
+
]
|
943
|
+
)
|
944
|
+
|
945
|
+
LiteralRegistry.register(
|
946
|
+
:class => Campaigning::ListDeleteResponse,
|
947
|
+
:schema_name => XSD::QName.new(NsApi, "List.DeleteResponse"),
|
948
|
+
:schema_element => [
|
949
|
+
["list_DeleteResult", ["Campaigning::Result", XSD::QName.new(NsApi, "List.DeleteResult")], [0, 1]]
|
950
|
+
]
|
951
|
+
)
|
952
|
+
|
953
|
+
LiteralRegistry.register(
|
954
|
+
:class => Campaigning::ListGetCustomFields,
|
955
|
+
:schema_name => XSD::QName.new(NsApi, "List.GetCustomFields"),
|
956
|
+
:schema_element => [
|
957
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
958
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]]
|
959
|
+
]
|
960
|
+
)
|
961
|
+
|
962
|
+
LiteralRegistry.register(
|
963
|
+
:class => Campaigning::ListGetCustomFieldsResponse,
|
964
|
+
:schema_name => XSD::QName.new(NsApi, "List.GetCustomFieldsResponse"),
|
965
|
+
:schema_element => [
|
966
|
+
["list_GetCustomFieldsResult", [nil, XSD::QName.new(NsApi, "List.GetCustomFieldsResult")], [0, 1]]
|
967
|
+
]
|
968
|
+
)
|
969
|
+
|
970
|
+
LiteralRegistry.register(
|
971
|
+
:class => Campaigning::ListDeleteCustomField,
|
972
|
+
:schema_name => XSD::QName.new(NsApi, "List.DeleteCustomField"),
|
973
|
+
:schema_element => [
|
974
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
975
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
976
|
+
["key", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Key")], [0, 1]]
|
977
|
+
]
|
978
|
+
)
|
979
|
+
|
980
|
+
LiteralRegistry.register(
|
981
|
+
:class => Campaigning::ListDeleteCustomFieldResponse,
|
982
|
+
:schema_name => XSD::QName.new(NsApi, "List.DeleteCustomFieldResponse"),
|
983
|
+
:schema_element => [
|
984
|
+
["list_DeleteCustomFieldResult", ["Campaigning::Result", XSD::QName.new(NsApi, "List.DeleteCustomFieldResult")], [0, 1]]
|
985
|
+
]
|
986
|
+
)
|
987
|
+
|
988
|
+
LiteralRegistry.register(
|
989
|
+
:class => Campaigning::ListCreateCustomField,
|
990
|
+
:schema_name => XSD::QName.new(NsApi, "List.CreateCustomField"),
|
991
|
+
:schema_element => [
|
992
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
993
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]],
|
994
|
+
["fieldName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "FieldName")], [0, 1]],
|
995
|
+
["dataType", ["Campaigning::SubscriberFieldDataType", XSD::QName.new(NsApi, "DataType")]],
|
996
|
+
["options", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Options")], [0, 1]]
|
997
|
+
]
|
998
|
+
)
|
999
|
+
|
1000
|
+
LiteralRegistry.register(
|
1001
|
+
:class => Campaigning::ListCreateCustomFieldResponse,
|
1002
|
+
:schema_name => XSD::QName.new(NsApi, "List.CreateCustomFieldResponse"),
|
1003
|
+
:schema_element => [
|
1004
|
+
["list_CreateCustomFieldResult", ["Campaigning::Result", XSD::QName.new(NsApi, "List.CreateCustomFieldResult")], [0, 1]]
|
1005
|
+
]
|
1006
|
+
)
|
1007
|
+
|
1008
|
+
LiteralRegistry.register(
|
1009
|
+
:class => Campaigning::ListGetStats,
|
1010
|
+
:schema_name => XSD::QName.new(NsApi, "List.GetStats"),
|
1011
|
+
:schema_element => [
|
1012
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1013
|
+
["listID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ListID")], [0, 1]]
|
1014
|
+
]
|
1015
|
+
)
|
1016
|
+
|
1017
|
+
LiteralRegistry.register(
|
1018
|
+
:class => Campaigning::ListGetStatsResponse,
|
1019
|
+
:schema_name => XSD::QName.new(NsApi, "List.GetStatsResponse"),
|
1020
|
+
:schema_element => [
|
1021
|
+
["list_GetStatsResult", [nil, XSD::QName.new(NsApi, "List.GetStatsResult")], [0, 1]]
|
1022
|
+
]
|
1023
|
+
)
|
1024
|
+
|
1025
|
+
LiteralRegistry.register(
|
1026
|
+
:class => Campaigning::ClientGetCampaigns,
|
1027
|
+
:schema_name => XSD::QName.new(NsApi, "Client.GetCampaigns"),
|
1028
|
+
:schema_element => [
|
1029
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1030
|
+
["clientID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ClientID")], [0, 1]]
|
1031
|
+
]
|
1032
|
+
)
|
1033
|
+
|
1034
|
+
LiteralRegistry.register(
|
1035
|
+
:class => Campaigning::ClientGetCampaignsResponse,
|
1036
|
+
:schema_name => XSD::QName.new(NsApi, "Client.GetCampaignsResponse"),
|
1037
|
+
:schema_element => [
|
1038
|
+
["client_GetCampaignsResult", [nil, XSD::QName.new(NsApi, "Client.GetCampaignsResult")], [0, 1]]
|
1039
|
+
]
|
1040
|
+
)
|
1041
|
+
|
1042
|
+
LiteralRegistry.register(
|
1043
|
+
:class => Campaigning::ClientGetLists,
|
1044
|
+
:schema_name => XSD::QName.new(NsApi, "Client.GetLists"),
|
1045
|
+
:schema_element => [
|
1046
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1047
|
+
["clientID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ClientID")], [0, 1]]
|
1048
|
+
]
|
1049
|
+
)
|
1050
|
+
|
1051
|
+
LiteralRegistry.register(
|
1052
|
+
:class => Campaigning::ClientGetListsResponse,
|
1053
|
+
:schema_name => XSD::QName.new(NsApi, "Client.GetListsResponse"),
|
1054
|
+
:schema_element => [
|
1055
|
+
["client_GetListsResult", [nil, XSD::QName.new(NsApi, "Client.GetListsResult")], [0, 1]]
|
1056
|
+
]
|
1057
|
+
)
|
1058
|
+
|
1059
|
+
LiteralRegistry.register(
|
1060
|
+
:class => Campaigning::ClientGetSegments,
|
1061
|
+
:schema_name => XSD::QName.new(NsApi, "Client.GetSegments"),
|
1062
|
+
:schema_element => [
|
1063
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1064
|
+
["clientID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ClientID")], [0, 1]]
|
1065
|
+
]
|
1066
|
+
)
|
1067
|
+
|
1068
|
+
LiteralRegistry.register(
|
1069
|
+
:class => Campaigning::ClientGetSegmentsResponse,
|
1070
|
+
:schema_name => XSD::QName.new(NsApi, "Client.GetSegmentsResponse"),
|
1071
|
+
:schema_element => [
|
1072
|
+
["client_GetSegmentsResult", [nil, XSD::QName.new(NsApi, "Client.GetSegmentsResult")], [0, 1]]
|
1073
|
+
]
|
1074
|
+
)
|
1075
|
+
|
1076
|
+
LiteralRegistry.register(
|
1077
|
+
:class => Campaigning::ClientGetSuppressionList,
|
1078
|
+
:schema_name => XSD::QName.new(NsApi, "Client.GetSuppressionList"),
|
1079
|
+
:schema_element => [
|
1080
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1081
|
+
["clientID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ClientID")], [0, 1]]
|
1082
|
+
]
|
1083
|
+
)
|
1084
|
+
|
1085
|
+
LiteralRegistry.register(
|
1086
|
+
:class => Campaigning::ClientGetSuppressionListResponse,
|
1087
|
+
:schema_name => XSD::QName.new(NsApi, "Client.GetSuppressionListResponse"),
|
1088
|
+
:schema_element => [
|
1089
|
+
["client_GetSuppressionListResult", [nil, XSD::QName.new(NsApi, "Client.GetSuppressionListResult")], [0, 1]]
|
1090
|
+
]
|
1091
|
+
)
|
1092
|
+
|
1093
|
+
LiteralRegistry.register(
|
1094
|
+
:class => Campaigning::ClientGetTemplates,
|
1095
|
+
:schema_name => XSD::QName.new(NsApi, "Client.GetTemplates"),
|
1096
|
+
:schema_element => [
|
1097
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1098
|
+
["clientID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ClientID")], [0, 1]]
|
1099
|
+
]
|
1100
|
+
)
|
1101
|
+
|
1102
|
+
LiteralRegistry.register(
|
1103
|
+
:class => Campaigning::ClientGetTemplatesResponse,
|
1104
|
+
:schema_name => XSD::QName.new(NsApi, "Client.GetTemplatesResponse"),
|
1105
|
+
:schema_element => [
|
1106
|
+
["client_GetTemplatesResult", [nil, XSD::QName.new(NsApi, "Client.GetTemplatesResult")], [0, 1]]
|
1107
|
+
]
|
1108
|
+
)
|
1109
|
+
|
1110
|
+
LiteralRegistry.register(
|
1111
|
+
:class => Campaigning::ClientCreate,
|
1112
|
+
:schema_name => XSD::QName.new(NsApi, "Client.Create"),
|
1113
|
+
:schema_element => [
|
1114
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1115
|
+
["companyName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CompanyName")], [0, 1]],
|
1116
|
+
["contactName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ContactName")], [0, 1]],
|
1117
|
+
["emailAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "EmailAddress")], [0, 1]],
|
1118
|
+
["country", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Country")], [0, 1]],
|
1119
|
+
["timezone", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Timezone")], [0, 1]]
|
1120
|
+
]
|
1121
|
+
)
|
1122
|
+
|
1123
|
+
LiteralRegistry.register(
|
1124
|
+
:class => Campaigning::ClientCreateResponse,
|
1125
|
+
:schema_name => XSD::QName.new(NsApi, "Client.CreateResponse"),
|
1126
|
+
:schema_element => [
|
1127
|
+
["client_CreateResult", [nil, XSD::QName.new(NsApi, "Client.CreateResult")], [0, 1]]
|
1128
|
+
]
|
1129
|
+
)
|
1130
|
+
|
1131
|
+
LiteralRegistry.register(
|
1132
|
+
:class => Campaigning::ClientUpdateBasics,
|
1133
|
+
:schema_name => XSD::QName.new(NsApi, "Client.UpdateBasics"),
|
1134
|
+
:schema_element => [
|
1135
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1136
|
+
["clientID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ClientID")], [0, 1]],
|
1137
|
+
["companyName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CompanyName")], [0, 1]],
|
1138
|
+
["contactName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ContactName")], [0, 1]],
|
1139
|
+
["emailAddress", ["SOAP::SOAPString", XSD::QName.new(NsApi, "EmailAddress")], [0, 1]],
|
1140
|
+
["country", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Country")], [0, 1]],
|
1141
|
+
["timezone", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Timezone")], [0, 1]]
|
1142
|
+
]
|
1143
|
+
)
|
1144
|
+
|
1145
|
+
LiteralRegistry.register(
|
1146
|
+
:class => Campaigning::ClientUpdateBasicsResponse,
|
1147
|
+
:schema_name => XSD::QName.new(NsApi, "Client.UpdateBasicsResponse"),
|
1148
|
+
:schema_element => [
|
1149
|
+
["client_UpdateBasicsResult", [nil, XSD::QName.new(NsApi, "Client.UpdateBasicsResult")], [0, 1]]
|
1150
|
+
]
|
1151
|
+
)
|
1152
|
+
|
1153
|
+
LiteralRegistry.register(
|
1154
|
+
:class => Campaigning::ClientUpdateAccessAndBilling,
|
1155
|
+
:schema_name => XSD::QName.new(NsApi, "Client.UpdateAccessAndBilling"),
|
1156
|
+
:schema_element => [
|
1157
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1158
|
+
["clientID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ClientID")], [0, 1]],
|
1159
|
+
["accessLevel", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "AccessLevel")]],
|
1160
|
+
["username", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Username")], [0, 1]],
|
1161
|
+
["password", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Password")], [0, 1]],
|
1162
|
+
["billingType", ["SOAP::SOAPString", XSD::QName.new(NsApi, "BillingType")], [0, 1]],
|
1163
|
+
["currency", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Currency")], [0, 1]],
|
1164
|
+
["deliveryFee", ["SOAP::SOAPString", XSD::QName.new(NsApi, "DeliveryFee")], [0, 1]],
|
1165
|
+
["costPerRecipient", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CostPerRecipient")], [0, 1]],
|
1166
|
+
["designAndSpamTestFee", ["SOAP::SOAPString", XSD::QName.new(NsApi, "DesignAndSpamTestFee")], [0, 1]]
|
1167
|
+
]
|
1168
|
+
)
|
1169
|
+
|
1170
|
+
LiteralRegistry.register(
|
1171
|
+
:class => Campaigning::ClientUpdateAccessAndBillingResponse,
|
1172
|
+
:schema_name => XSD::QName.new(NsApi, "Client.UpdateAccessAndBillingResponse"),
|
1173
|
+
:schema_element => [
|
1174
|
+
["client_UpdateAccessAndBillingResult", ["Campaigning::Result", XSD::QName.new(NsApi, "Client.UpdateAccessAndBillingResult")], [0, 1]]
|
1175
|
+
]
|
1176
|
+
)
|
1177
|
+
|
1178
|
+
LiteralRegistry.register(
|
1179
|
+
:class => Campaigning::ClientGetDetail,
|
1180
|
+
:schema_name => XSD::QName.new(NsApi, "Client.GetDetail"),
|
1181
|
+
:schema_element => [
|
1182
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1183
|
+
["clientID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ClientID")], [0, 1]]
|
1184
|
+
]
|
1185
|
+
)
|
1186
|
+
|
1187
|
+
LiteralRegistry.register(
|
1188
|
+
:class => Campaigning::ClientGetDetailResponse,
|
1189
|
+
:schema_name => XSD::QName.new(NsApi, "Client.GetDetailResponse"),
|
1190
|
+
:schema_element => [
|
1191
|
+
["client_GetDetailResult", [nil, XSD::QName.new(NsApi, "Client.GetDetailResult")], [0, 1]]
|
1192
|
+
]
|
1193
|
+
)
|
1194
|
+
|
1195
|
+
LiteralRegistry.register(
|
1196
|
+
:class => Campaigning::ClientDelete,
|
1197
|
+
:schema_name => XSD::QName.new(NsApi, "Client.Delete"),
|
1198
|
+
:schema_element => [
|
1199
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1200
|
+
["clientID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ClientID")], [0, 1]]
|
1201
|
+
]
|
1202
|
+
)
|
1203
|
+
|
1204
|
+
LiteralRegistry.register(
|
1205
|
+
:class => Campaigning::ClientDeleteResponse,
|
1206
|
+
:schema_name => XSD::QName.new(NsApi, "Client.DeleteResponse"),
|
1207
|
+
:schema_element => [
|
1208
|
+
["client_DeleteResult", ["Campaigning::Result", XSD::QName.new(NsApi, "Client.DeleteResult")], [0, 1]]
|
1209
|
+
]
|
1210
|
+
)
|
1211
|
+
|
1212
|
+
LiteralRegistry.register(
|
1213
|
+
:class => Campaigning::CampaignGetSubscriberClicks,
|
1214
|
+
:schema_name => XSD::QName.new(NsApi, "Campaign.GetSubscriberClicks"),
|
1215
|
+
:schema_element => [
|
1216
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1217
|
+
["campaignID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CampaignID")], [0, 1]]
|
1218
|
+
]
|
1219
|
+
)
|
1220
|
+
|
1221
|
+
LiteralRegistry.register(
|
1222
|
+
:class => Campaigning::CampaignGetSubscriberClicksResponse,
|
1223
|
+
:schema_name => XSD::QName.new(NsApi, "Campaign.GetSubscriberClicksResponse"),
|
1224
|
+
:schema_element => [
|
1225
|
+
["campaign_GetSubscriberClicksResult", [nil, XSD::QName.new(NsApi, "Campaign.GetSubscriberClicksResult")], [0, 1]]
|
1226
|
+
]
|
1227
|
+
)
|
1228
|
+
|
1229
|
+
LiteralRegistry.register(
|
1230
|
+
:class => Campaigning::CampaignGetOpens,
|
1231
|
+
:schema_name => XSD::QName.new(NsApi, "Campaign.GetOpens"),
|
1232
|
+
:schema_element => [
|
1233
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1234
|
+
["campaignID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CampaignID")], [0, 1]]
|
1235
|
+
]
|
1236
|
+
)
|
1237
|
+
|
1238
|
+
LiteralRegistry.register(
|
1239
|
+
:class => Campaigning::CampaignGetOpensResponse,
|
1240
|
+
:schema_name => XSD::QName.new(NsApi, "Campaign.GetOpensResponse"),
|
1241
|
+
:schema_element => [
|
1242
|
+
["campaign_GetOpensResult", [nil, XSD::QName.new(NsApi, "Campaign.GetOpensResult")], [0, 1]]
|
1243
|
+
]
|
1244
|
+
)
|
1245
|
+
|
1246
|
+
LiteralRegistry.register(
|
1247
|
+
:class => Campaigning::CampaignGetBounces,
|
1248
|
+
:schema_name => XSD::QName.new(NsApi, "Campaign.GetBounces"),
|
1249
|
+
:schema_element => [
|
1250
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1251
|
+
["campaignID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CampaignID")], [0, 1]]
|
1252
|
+
]
|
1253
|
+
)
|
1254
|
+
|
1255
|
+
LiteralRegistry.register(
|
1256
|
+
:class => Campaigning::CampaignGetBouncesResponse,
|
1257
|
+
:schema_name => XSD::QName.new(NsApi, "Campaign.GetBouncesResponse"),
|
1258
|
+
:schema_element => [
|
1259
|
+
["campaign_GetBouncesResult", [nil, XSD::QName.new(NsApi, "Campaign.GetBouncesResult")], [0, 1]]
|
1260
|
+
]
|
1261
|
+
)
|
1262
|
+
|
1263
|
+
LiteralRegistry.register(
|
1264
|
+
:class => Campaigning::CampaignGetUnsubscribes,
|
1265
|
+
:schema_name => XSD::QName.new(NsApi, "Campaign.GetUnsubscribes"),
|
1266
|
+
:schema_element => [
|
1267
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1268
|
+
["campaignID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CampaignID")], [0, 1]]
|
1269
|
+
]
|
1270
|
+
)
|
1271
|
+
|
1272
|
+
LiteralRegistry.register(
|
1273
|
+
:class => Campaigning::CampaignGetUnsubscribesResponse,
|
1274
|
+
:schema_name => XSD::QName.new(NsApi, "Campaign.GetUnsubscribesResponse"),
|
1275
|
+
:schema_element => [
|
1276
|
+
["campaign_GetUnsubscribesResult", [nil, XSD::QName.new(NsApi, "Campaign.GetUnsubscribesResult")], [0, 1]]
|
1277
|
+
]
|
1278
|
+
)
|
1279
|
+
|
1280
|
+
LiteralRegistry.register(
|
1281
|
+
:class => Campaigning::CampaignGetSummary,
|
1282
|
+
:schema_name => XSD::QName.new(NsApi, "Campaign.GetSummary"),
|
1283
|
+
:schema_element => [
|
1284
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1285
|
+
["campaignID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CampaignID")], [0, 1]]
|
1286
|
+
]
|
1287
|
+
)
|
1288
|
+
|
1289
|
+
LiteralRegistry.register(
|
1290
|
+
:class => Campaigning::CampaignGetSummaryResponse,
|
1291
|
+
:schema_name => XSD::QName.new(NsApi, "Campaign.GetSummaryResponse"),
|
1292
|
+
:schema_element => [
|
1293
|
+
["campaign_GetSummaryResult", [nil, XSD::QName.new(NsApi, "Campaign.GetSummaryResult")], [0, 1]]
|
1294
|
+
]
|
1295
|
+
)
|
1296
|
+
|
1297
|
+
LiteralRegistry.register(
|
1298
|
+
:class => Campaigning::CampaignGetLists,
|
1299
|
+
:schema_name => XSD::QName.new(NsApi, "Campaign.GetLists"),
|
1300
|
+
:schema_element => [
|
1301
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1302
|
+
["campaignID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CampaignID")], [0, 1]]
|
1303
|
+
]
|
1304
|
+
)
|
1305
|
+
|
1306
|
+
LiteralRegistry.register(
|
1307
|
+
:class => Campaigning::CampaignGetListsResponse,
|
1308
|
+
:schema_name => XSD::QName.new(NsApi, "Campaign.GetListsResponse"),
|
1309
|
+
:schema_element => [
|
1310
|
+
["campaign_GetListsResult", [nil, XSD::QName.new(NsApi, "Campaign.GetListsResult")], [0, 1]]
|
1311
|
+
]
|
1312
|
+
)
|
1313
|
+
|
1314
|
+
LiteralRegistry.register(
|
1315
|
+
:class => Campaigning::UserGetClients,
|
1316
|
+
:schema_name => XSD::QName.new(NsApi, "User.GetClients"),
|
1317
|
+
:schema_element => [
|
1318
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]]
|
1319
|
+
]
|
1320
|
+
)
|
1321
|
+
|
1322
|
+
LiteralRegistry.register(
|
1323
|
+
:class => Campaigning::UserGetClientsResponse,
|
1324
|
+
:schema_name => XSD::QName.new(NsApi, "User.GetClientsResponse"),
|
1325
|
+
:schema_element => [
|
1326
|
+
["user_GetClientsResult", [nil, XSD::QName.new(NsApi, "User.GetClientsResult")], [0, 1]]
|
1327
|
+
]
|
1328
|
+
)
|
1329
|
+
|
1330
|
+
LiteralRegistry.register(
|
1331
|
+
:class => Campaigning::UserGetSystemDate,
|
1332
|
+
:schema_name => XSD::QName.new(NsApi, "User.GetSystemDate"),
|
1333
|
+
:schema_element => [
|
1334
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]]
|
1335
|
+
]
|
1336
|
+
)
|
1337
|
+
|
1338
|
+
LiteralRegistry.register(
|
1339
|
+
:class => Campaigning::UserGetSystemDateResponse,
|
1340
|
+
:schema_name => XSD::QName.new(NsApi, "User.GetSystemDateResponse"),
|
1341
|
+
:schema_element => [
|
1342
|
+
["user_GetSystemDateResult", [nil, XSD::QName.new(NsApi, "User.GetSystemDateResult")], [0, 1]]
|
1343
|
+
]
|
1344
|
+
)
|
1345
|
+
|
1346
|
+
LiteralRegistry.register(
|
1347
|
+
:class => Campaigning::UserGetTimezones,
|
1348
|
+
:schema_name => XSD::QName.new(NsApi, "User.GetTimezones"),
|
1349
|
+
:schema_element => [
|
1350
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]]
|
1351
|
+
]
|
1352
|
+
)
|
1353
|
+
|
1354
|
+
LiteralRegistry.register(
|
1355
|
+
:class => Campaigning::UserGetTimezonesResponse,
|
1356
|
+
:schema_name => XSD::QName.new(NsApi, "User.GetTimezonesResponse"),
|
1357
|
+
:schema_element => [
|
1358
|
+
["user_GetTimezonesResult", [nil, XSD::QName.new(NsApi, "User.GetTimezonesResult")], [0, 1]]
|
1359
|
+
]
|
1360
|
+
)
|
1361
|
+
|
1362
|
+
LiteralRegistry.register(
|
1363
|
+
:class => Campaigning::UserGetCountries,
|
1364
|
+
:schema_name => XSD::QName.new(NsApi, "User.GetCountries"),
|
1365
|
+
:schema_element => [
|
1366
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]]
|
1367
|
+
]
|
1368
|
+
)
|
1369
|
+
|
1370
|
+
LiteralRegistry.register(
|
1371
|
+
:class => Campaigning::UserGetCountriesResponse,
|
1372
|
+
:schema_name => XSD::QName.new(NsApi, "User.GetCountriesResponse"),
|
1373
|
+
:schema_element => [
|
1374
|
+
["user_GetCountriesResult", [nil, XSD::QName.new(NsApi, "User.GetCountriesResult")], [0, 1]]
|
1375
|
+
]
|
1376
|
+
)
|
1377
|
+
|
1378
|
+
LiteralRegistry.register(
|
1379
|
+
:class => Campaigning::CampaignCreate,
|
1380
|
+
:schema_name => XSD::QName.new(NsApi, "Campaign.Create"),
|
1381
|
+
:schema_element => [
|
1382
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1383
|
+
["clientID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ClientID")], [0, 1]],
|
1384
|
+
["campaignName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CampaignName")], [0, 1]],
|
1385
|
+
["campaignSubject", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CampaignSubject")], [0, 1]],
|
1386
|
+
["fromName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "FromName")], [0, 1]],
|
1387
|
+
["fromEmail", ["SOAP::SOAPString", XSD::QName.new(NsApi, "FromEmail")], [0, 1]],
|
1388
|
+
["replyTo", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ReplyTo")], [0, 1]],
|
1389
|
+
["htmlUrl", ["SOAP::SOAPString", XSD::QName.new(NsApi, "HtmlUrl")], [0, 1]],
|
1390
|
+
["textUrl", ["SOAP::SOAPString", XSD::QName.new(NsApi, "TextUrl")], [0, 1]],
|
1391
|
+
["subscriberListIDs", ["Campaigning::ArrayOfString", XSD::QName.new(NsApi, "SubscriberListIDs")], [0, 1]],
|
1392
|
+
["listSegments", ["Campaigning::ArrayOfList", XSD::QName.new(NsApi, "ListSegments")], [0, 1]]
|
1393
|
+
]
|
1394
|
+
)
|
1395
|
+
|
1396
|
+
LiteralRegistry.register(
|
1397
|
+
:class => Campaigning::CampaignCreateResponse,
|
1398
|
+
:schema_name => XSD::QName.new(NsApi, "Campaign.CreateResponse"),
|
1399
|
+
:schema_element => [
|
1400
|
+
["campaign_CreateResult", [nil, XSD::QName.new(NsApi, "Campaign.CreateResult")], [0, 1]]
|
1401
|
+
]
|
1402
|
+
)
|
1403
|
+
|
1404
|
+
LiteralRegistry.register(
|
1405
|
+
:class => Campaigning::CampaignSend,
|
1406
|
+
:schema_name => XSD::QName.new(NsApi, "Campaign.Send"),
|
1407
|
+
:schema_element => [
|
1408
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1409
|
+
["campaignID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CampaignID")], [0, 1]],
|
1410
|
+
["confirmationEmail", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ConfirmationEmail")], [0, 1]],
|
1411
|
+
["sendDate", ["SOAP::SOAPString", XSD::QName.new(NsApi, "SendDate")], [0, 1]]
|
1412
|
+
]
|
1413
|
+
)
|
1414
|
+
|
1415
|
+
LiteralRegistry.register(
|
1416
|
+
:class => Campaigning::CampaignSendResponse,
|
1417
|
+
:schema_name => XSD::QName.new(NsApi, "Campaign.SendResponse"),
|
1418
|
+
:schema_element => [
|
1419
|
+
["campaign_SendResult", ["Campaigning::Result", XSD::QName.new(NsApi, "Campaign.SendResult")], [0, 1]]
|
1420
|
+
]
|
1421
|
+
)
|
1422
|
+
|
1423
|
+
LiteralRegistry.register(
|
1424
|
+
:class => Campaigning::CampaignDelete,
|
1425
|
+
:schema_name => XSD::QName.new(NsApi, "Campaign.Delete"),
|
1426
|
+
:schema_element => [
|
1427
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1428
|
+
["campaignID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "CampaignID")], [0, 1]]
|
1429
|
+
]
|
1430
|
+
)
|
1431
|
+
|
1432
|
+
LiteralRegistry.register(
|
1433
|
+
:class => Campaigning::CampaignDeleteResponse,
|
1434
|
+
:schema_name => XSD::QName.new(NsApi, "Campaign.DeleteResponse"),
|
1435
|
+
:schema_element => [
|
1436
|
+
["campaign_DeleteResult", ["Campaigning::Result", XSD::QName.new(NsApi, "Campaign.DeleteResult")], [0, 1]]
|
1437
|
+
]
|
1438
|
+
)
|
1439
|
+
|
1440
|
+
LiteralRegistry.register(
|
1441
|
+
:class => Campaigning::TemplateCreate,
|
1442
|
+
:schema_name => XSD::QName.new(NsApi, "Template.Create"),
|
1443
|
+
:schema_element => [
|
1444
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1445
|
+
["clientID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ClientID")], [0, 1]],
|
1446
|
+
["templateName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "TemplateName")], [0, 1]],
|
1447
|
+
["hTMLPageURL", ["SOAP::SOAPString", XSD::QName.new(NsApi, "HTMLPageURL")], [0, 1]],
|
1448
|
+
["zipFileURL", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ZipFileURL")], [0, 1]],
|
1449
|
+
["screenshotURL", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ScreenshotURL")], [0, 1]]
|
1450
|
+
]
|
1451
|
+
)
|
1452
|
+
|
1453
|
+
LiteralRegistry.register(
|
1454
|
+
:class => Campaigning::TemplateCreateResponse,
|
1455
|
+
:schema_name => XSD::QName.new(NsApi, "Template.CreateResponse"),
|
1456
|
+
:schema_element => [
|
1457
|
+
["template_CreateResult", [nil, XSD::QName.new(NsApi, "Template.CreateResult")], [0, 1]]
|
1458
|
+
]
|
1459
|
+
)
|
1460
|
+
|
1461
|
+
LiteralRegistry.register(
|
1462
|
+
:class => Campaigning::TemplateGetDetail,
|
1463
|
+
:schema_name => XSD::QName.new(NsApi, "Template.GetDetail"),
|
1464
|
+
:schema_element => [
|
1465
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1466
|
+
["templateID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "TemplateID")], [0, 1]]
|
1467
|
+
]
|
1468
|
+
)
|
1469
|
+
|
1470
|
+
LiteralRegistry.register(
|
1471
|
+
:class => Campaigning::TemplateGetDetailResponse,
|
1472
|
+
:schema_name => XSD::QName.new(NsApi, "Template.GetDetailResponse"),
|
1473
|
+
:schema_element => [
|
1474
|
+
["template_GetDetailResult", [nil, XSD::QName.new(NsApi, "Template.GetDetailResult")], [0, 1]]
|
1475
|
+
]
|
1476
|
+
)
|
1477
|
+
|
1478
|
+
LiteralRegistry.register(
|
1479
|
+
:class => Campaigning::TemplateUpdate,
|
1480
|
+
:schema_name => XSD::QName.new(NsApi, "Template.Update"),
|
1481
|
+
:schema_element => [
|
1482
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1483
|
+
["templateID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "TemplateID")], [0, 1]],
|
1484
|
+
["templateName", ["SOAP::SOAPString", XSD::QName.new(NsApi, "TemplateName")], [0, 1]],
|
1485
|
+
["hTMLPageURL", ["SOAP::SOAPString", XSD::QName.new(NsApi, "HTMLPageURL")], [0, 1]],
|
1486
|
+
["zipFileURL", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ZipFileURL")], [0, 1]],
|
1487
|
+
["screenshotURL", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ScreenshotURL")], [0, 1]]
|
1488
|
+
]
|
1489
|
+
)
|
1490
|
+
|
1491
|
+
LiteralRegistry.register(
|
1492
|
+
:class => Campaigning::TemplateUpdateResponse,
|
1493
|
+
:schema_name => XSD::QName.new(NsApi, "Template.UpdateResponse"),
|
1494
|
+
:schema_element => [
|
1495
|
+
["template_UpdateResult", ["Campaigning::Result", XSD::QName.new(NsApi, "Template.UpdateResult")], [0, 1]]
|
1496
|
+
]
|
1497
|
+
)
|
1498
|
+
|
1499
|
+
LiteralRegistry.register(
|
1500
|
+
:class => Campaigning::TemplateDelete,
|
1501
|
+
:schema_name => XSD::QName.new(NsApi, "Template.Delete"),
|
1502
|
+
:schema_element => [
|
1503
|
+
["apiKey", ["SOAP::SOAPString", XSD::QName.new(NsApi, "ApiKey")], [0, 1]],
|
1504
|
+
["templateID", ["SOAP::SOAPString", XSD::QName.new(NsApi, "TemplateID")], [0, 1]]
|
1505
|
+
]
|
1506
|
+
)
|
1507
|
+
|
1508
|
+
LiteralRegistry.register(
|
1509
|
+
:class => Campaigning::TemplateDeleteResponse,
|
1510
|
+
:schema_name => XSD::QName.new(NsApi, "Template.DeleteResponse"),
|
1511
|
+
:schema_element => [
|
1512
|
+
["template_DeleteResult", ["Campaigning::Result", XSD::QName.new(NsApi, "Template.DeleteResult")], [0, 1]]
|
1513
|
+
]
|
1514
|
+
)
|
1515
|
+
|
1516
|
+
LiteralRegistry.register(
|
1517
|
+
:class => Campaigning::Result,
|
1518
|
+
:schema_name => XSD::QName.new(NsApi, "Result"),
|
1519
|
+
:schema_element => [
|
1520
|
+
["code", ["SOAP::SOAPInt", XSD::QName.new(NsApi, "Code")]],
|
1521
|
+
["message", ["SOAP::SOAPString", XSD::QName.new(NsApi, "Message")], [0, 1]]
|
1522
|
+
]
|
1523
|
+
)
|
1524
|
+
end
|
1525
|
+
|
1526
|
+
end
|