adcenter-client 7.0.2 → 7.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. data/History.txt +6 -0
  2. data/Manifest.txt +5 -16
  3. data/README.txt +14 -10
  4. data/Rakefile.rb +2 -2
  5. data/VERSION +1 -0
  6. data/bin/get_adcenter_account_info.rb +45 -0
  7. data/{bin → devel}/gen_wsdl_drivers.rb +1 -1
  8. data/{bin → devel}/wsdl.yml +0 -0
  9. data/lib/AdministrationServiceDriver.rb +7 -3
  10. data/lib/AdministrationServiceMappingRegistry.rb +27 -23
  11. data/lib/CampaignManagementServiceDriver.rb +90 -86
  12. data/lib/CampaignManagementServiceMappingRegistry.rb +1213 -1209
  13. data/lib/CustomerBillingServiceDriver.rb +12 -8
  14. data/lib/CustomerBillingServiceMappingRegistry.rb +123 -119
  15. data/lib/CustomerManagementServiceDriver.rb +22 -18
  16. data/lib/CustomerManagementServiceMappingRegistry.rb +318 -314
  17. data/lib/ReportingServiceDriver.rb +7 -3
  18. data/lib/ReportingServiceMappingRegistry.rb +926 -922
  19. data/lib/SecureDataManagementServiceDriver.rb +6 -2
  20. data/lib/SecureDataManagementServiceMappingRegistry.rb +62 -58
  21. data/lib/adcenter_client.rb +6 -3
  22. data/lib/adcenter_service.rb +6 -2
  23. data/lib/adcenter_wrapper_entities.rb +8170 -0
  24. data/lib/administration_service.rb +3 -1
  25. data/lib/campaign_management_service.rb +1 -1
  26. data/lib/customer_billing_service.rb +1 -1
  27. data/lib/customer_management_service.rb +1 -1
  28. data/lib/defaultDriver.rb +5 -1
  29. data/lib/defaultMappingRegistry.rb +68 -64
  30. data/lib/notification_management.rb +1 -1
  31. data/lib/reporting_service.rb +1 -1
  32. data/lib/secure_data_management_service.rb +1 -1
  33. data/test/customer_management_service_test.rb +4 -4
  34. data/test/test_helper.rb +1 -0
  35. metadata +19 -27
  36. data/lib/AdministrationService.rb +0 -79
  37. data/lib/AdministrationServiceClient.rb +0 -40
  38. data/lib/CampaignManagementService.rb +0 -3458
  39. data/lib/CampaignManagementServiceClient.rb +0 -1370
  40. data/lib/CustomerBillingService.rb +0 -390
  41. data/lib/CustomerBillingServiceClient.rb +0 -126
  42. data/lib/CustomerManagementService.rb +0 -1284
  43. data/lib/CustomerManagementServiceClient.rb +0 -282
  44. data/lib/NotificationManagementClient.rb +0 -89
  45. data/lib/ReportingService.rb +0 -2121
  46. data/lib/ReportingServiceClient.rb +0 -42
  47. data/lib/SecureDataManagementService.rb +0 -203
  48. data/lib/SecureDataManagementServiceClient.rb +0 -26
  49. data/lib/default.rb +0 -636
@@ -1,7 +1,9 @@
1
1
  require 'adcenter_service'
2
+ require 'adcenter_wrapper_entities'
2
3
  require 'AdministrationServiceDriver'
4
+
3
5
  class AdministrationService < AdCenterService
4
6
  def initialize_service(endpoint)
5
- @service = IAdministrationService.new(endpoint)
7
+ @service = AdCenterWrapper::IAdministrationService.new(endpoint)
6
8
  end
7
9
  end
@@ -2,6 +2,6 @@ require 'adcenter_service'
2
2
  require 'CampaignManagementServiceDriver'
3
3
  class CampaignManagementService < AdCenterService
4
4
  def initialize_service(endpoint)
5
- @service = ICampaignManagementService.new(endpoint)
5
+ @service = AdCenterWrapper::ICampaignManagementService.new(endpoint)
6
6
  end
7
7
  end
@@ -2,6 +2,6 @@ require 'adcenter_service'
2
2
  require 'CustomerBillingServiceDriver'
3
3
  class CustomerBillingService < AdCenterService
4
4
  def initialize_service(endpoint)
5
- @service = ICustomerBillingService.new(endpoint)
5
+ @service = AdCenterWrapper::ICustomerBillingService.new(endpoint)
6
6
  end
7
7
  end
@@ -4,6 +4,6 @@ class CustomerManagementService < AdCenterService
4
4
  def initialize_service(endpoint)
5
5
  @service_namespace = 'https://adcenter.microsoft.com/api/customermanagement'
6
6
  @required_credentials = %w[ ApplicationToken UserName Password DeveloperToken ]
7
- @service = ICustomerManagementService.new(endpoint)
7
+ @service = AdCenterWrapper::ICustomerManagementService.new(endpoint)
8
8
  end
9
9
  end
data/lib/defaultDriver.rb CHANGED
@@ -1,7 +1,9 @@
1
- require 'default.rb'
1
+ require 'adcenter_wrapper_entities'
2
2
  require 'defaultMappingRegistry.rb'
3
3
  require 'soap/rpc/driver'
4
4
 
5
+ module AdCenterWrapper
6
+
5
7
  class NotificationManagementSoap < ::SOAP::RPC::Driver
6
8
  DefaultEndpointUrl = "https://adcenterapi.microsoft.com/Api/Advertiser/v6/NotificationManagement/NotificationManagement.asmx"
7
9
 
@@ -61,3 +63,5 @@ private
61
63
  end
62
64
  end
63
65
 
66
+
67
+ end
@@ -1,25 +1,27 @@
1
- require 'default.rb'
1
+ require 'adcenter_wrapper_entities'
2
2
  require 'soap/mapping'
3
3
 
4
+ module AdCenterWrapper
5
+
4
6
  module DefaultMappingRegistry
5
7
  EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
6
8
  LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
7
9
  NsSyncapis = "http://adcenter.microsoft.com/syncapis"
8
10
 
9
11
  EncodedRegistry.register(
10
- :class => ArrayOfNotification,
12
+ :class => AdCenterWrapper::ArrayOfNotification,
11
13
  :schema_type => XSD::QName.new(NsSyncapis, "ArrayOfNotification"),
12
14
  :schema_element => [
13
- ["notification", ["Notification[]", XSD::QName.new(NsSyncapis, "Notification")], [0, nil]]
15
+ ["notification", ["AdCenterWrapper::Notification[]", XSD::QName.new(NsSyncapis, "Notification")], [0, nil]]
14
16
  ]
15
17
  )
16
18
 
17
19
  EncodedRegistry.register(
18
- :class => EditorialRejectionNotification,
20
+ :class => AdCenterWrapper::EditorialRejectionNotification,
19
21
  :schema_type => XSD::QName.new(NsSyncapis, "EditorialRejectionNotification"),
20
22
  :schema_basetype => XSD::QName.new(NsSyncapis, "Notification"),
21
23
  :schema_element => [
22
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
24
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
23
25
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
24
26
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
25
27
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
@@ -54,11 +56,11 @@ module DefaultMappingRegistry
54
56
  )
55
57
 
56
58
  EncodedRegistry.register(
57
- :class => AccountSignupPaymentReceiptNotification,
59
+ :class => AdCenterWrapper::AccountSignupPaymentReceiptNotification,
58
60
  :schema_type => XSD::QName.new(NsSyncapis, "AccountSignupPaymentReceiptNotification"),
59
61
  :schema_basetype => XSD::QName.new(NsSyncapis, "Notification"),
60
62
  :schema_element => [
61
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
63
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
62
64
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
63
65
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
64
66
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
@@ -76,11 +78,11 @@ module DefaultMappingRegistry
76
78
  )
77
79
 
78
80
  EncodedRegistry.register(
79
- :class => AccountClosedNotification,
81
+ :class => AdCenterWrapper::AccountClosedNotification,
80
82
  :schema_type => XSD::QName.new(NsSyncapis, "AccountClosedNotification"),
81
83
  :schema_basetype => XSD::QName.new(NsSyncapis, "Notification"),
82
84
  :schema_element => [
83
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
85
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
84
86
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
85
87
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
86
88
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
@@ -93,18 +95,18 @@ module DefaultMappingRegistry
93
95
  )
94
96
 
95
97
  EncodedRegistry.register(
96
- :class => UnableToChargeCreditCardNotification,
98
+ :class => AdCenterWrapper::UnableToChargeCreditCardNotification,
97
99
  :schema_type => XSD::QName.new(NsSyncapis, "UnableToChargeCreditCardNotification"),
98
100
  :schema_basetype => XSD::QName.new(NsSyncapis, "Notification"),
99
101
  :schema_element => [
100
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
102
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
101
103
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
102
104
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
103
105
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
104
106
  ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
105
107
  ["accountId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "AccountId")]],
106
108
  ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AccountNumber")], [0, 1]],
107
- ["accountFinancialStatus", ["AccountFinancialStatusType", XSD::QName.new(NsSyncapis, "AccountFinancialStatus")]],
109
+ ["accountFinancialStatus", ["AdCenterWrapper::AccountFinancialStatusType", XSD::QName.new(NsSyncapis, "AccountFinancialStatus")]],
108
110
  ["creditCardTypeName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardTypeName")], [0, 1]],
109
111
  ["creditCardLastFour", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardLastFour")], [0, 1]],
110
112
  ["preferredCurrencyCode", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "PreferredCurrencyCode")], [0, 1]],
@@ -113,11 +115,11 @@ module DefaultMappingRegistry
113
115
  )
114
116
 
115
117
  EncodedRegistry.register(
116
- :class => CreditCardExpiredNotification,
118
+ :class => AdCenterWrapper::CreditCardExpiredNotification,
117
119
  :schema_type => XSD::QName.new(NsSyncapis, "CreditCardExpiredNotification"),
118
120
  :schema_basetype => XSD::QName.new(NsSyncapis, "CreditCardNotification"),
119
121
  :schema_element => [
120
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
122
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
121
123
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
122
124
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
123
125
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
@@ -132,11 +134,11 @@ module DefaultMappingRegistry
132
134
  )
133
135
 
134
136
  EncodedRegistry.register(
135
- :class => ApproachingCreditCardExpirationNotification,
137
+ :class => AdCenterWrapper::ApproachingCreditCardExpirationNotification,
136
138
  :schema_type => XSD::QName.new(NsSyncapis, "ApproachingCreditCardExpirationNotification"),
137
139
  :schema_basetype => XSD::QName.new(NsSyncapis, "CreditCardNotification"),
138
140
  :schema_element => [
139
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
141
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
140
142
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
141
143
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
142
144
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
@@ -151,11 +153,11 @@ module DefaultMappingRegistry
151
153
  )
152
154
 
153
155
  EncodedRegistry.register(
154
- :class => UserNameReminderNotification,
156
+ :class => AdCenterWrapper::UserNameReminderNotification,
155
157
  :schema_type => XSD::QName.new(NsSyncapis, "UserNameReminderNotification"),
156
158
  :schema_basetype => XSD::QName.new(NsSyncapis, "UserNotification"),
157
159
  :schema_element => [
158
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
160
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
159
161
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
160
162
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
161
163
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
@@ -167,11 +169,11 @@ module DefaultMappingRegistry
167
169
  )
168
170
 
169
171
  EncodedRegistry.register(
170
- :class => UserPasswordResetNotification,
172
+ :class => AdCenterWrapper::UserPasswordResetNotification,
171
173
  :schema_type => XSD::QName.new(NsSyncapis, "UserPasswordResetNotification"),
172
174
  :schema_basetype => XSD::QName.new(NsSyncapis, "UserNotification"),
173
175
  :schema_element => [
174
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
176
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
175
177
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
176
178
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
177
179
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
@@ -183,11 +185,11 @@ module DefaultMappingRegistry
183
185
  )
184
186
 
185
187
  EncodedRegistry.register(
186
- :class => NewUserAddedNotification,
188
+ :class => AdCenterWrapper::NewUserAddedNotification,
187
189
  :schema_type => XSD::QName.new(NsSyncapis, "NewUserAddedNotification"),
188
190
  :schema_basetype => XSD::QName.new(NsSyncapis, "UserNotification"),
189
191
  :schema_element => [
190
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
192
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
191
193
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
192
194
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
193
195
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
@@ -199,11 +201,11 @@ module DefaultMappingRegistry
199
201
  )
200
202
 
201
203
  EncodedRegistry.register(
202
- :class => NewCustomerSignupNotification,
204
+ :class => AdCenterWrapper::NewCustomerSignupNotification,
203
205
  :schema_type => XSD::QName.new(NsSyncapis, "NewCustomerSignupNotification"),
204
206
  :schema_basetype => XSD::QName.new(NsSyncapis, "UserNotification"),
205
207
  :schema_element => [
206
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
208
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
207
209
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
208
210
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
209
211
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
@@ -215,7 +217,7 @@ module DefaultMappingRegistry
215
217
  )
216
218
 
217
219
  EncodedRegistry.register(
218
- :class => ApiUserAuthHeader,
220
+ :class => AdCenterWrapper::ApiUserAuthHeader,
219
221
  :schema_type => XSD::QName.new(NsSyncapis, "ApiUserAuthHeader"),
220
222
  :schema_element => [
221
223
  ["userName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserName")], [0, 1]],
@@ -225,29 +227,29 @@ module DefaultMappingRegistry
225
227
  )
226
228
 
227
229
  EncodedRegistry.register(
228
- :class => NotificationType,
230
+ :class => AdCenterWrapper::NotificationType,
229
231
  :schema_type => XSD::QName.new(NsSyncapis, "NotificationType")
230
232
  )
231
233
 
232
234
  EncodedRegistry.register(
233
- :class => AccountFinancialStatusType,
235
+ :class => AdCenterWrapper::AccountFinancialStatusType,
234
236
  :schema_type => XSD::QName.new(NsSyncapis, "AccountFinancialStatusType")
235
237
  )
236
238
 
237
239
  LiteralRegistry.register(
238
- :class => ArrayOfNotification,
240
+ :class => AdCenterWrapper::ArrayOfNotification,
239
241
  :schema_type => XSD::QName.new(NsSyncapis, "ArrayOfNotification"),
240
242
  :schema_element => [
241
- ["notification", ["Notification[]", XSD::QName.new(NsSyncapis, "Notification")], [0, nil]]
243
+ ["notification", ["AdCenterWrapper::Notification[]", XSD::QName.new(NsSyncapis, "Notification")], [0, nil]]
242
244
  ]
243
245
  )
244
246
 
245
247
  LiteralRegistry.register(
246
- :class => EditorialRejectionNotification,
248
+ :class => AdCenterWrapper::EditorialRejectionNotification,
247
249
  :schema_type => XSD::QName.new(NsSyncapis, "EditorialRejectionNotification"),
248
250
  :schema_basetype => XSD::QName.new(NsSyncapis, "Notification"),
249
251
  :schema_element => [
250
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
252
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
251
253
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
252
254
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
253
255
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
@@ -282,11 +284,11 @@ module DefaultMappingRegistry
282
284
  )
283
285
 
284
286
  LiteralRegistry.register(
285
- :class => AccountSignupPaymentReceiptNotification,
287
+ :class => AdCenterWrapper::AccountSignupPaymentReceiptNotification,
286
288
  :schema_type => XSD::QName.new(NsSyncapis, "AccountSignupPaymentReceiptNotification"),
287
289
  :schema_basetype => XSD::QName.new(NsSyncapis, "Notification"),
288
290
  :schema_element => [
289
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
291
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
290
292
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
291
293
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
292
294
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
@@ -304,11 +306,11 @@ module DefaultMappingRegistry
304
306
  )
305
307
 
306
308
  LiteralRegistry.register(
307
- :class => AccountClosedNotification,
309
+ :class => AdCenterWrapper::AccountClosedNotification,
308
310
  :schema_type => XSD::QName.new(NsSyncapis, "AccountClosedNotification"),
309
311
  :schema_basetype => XSD::QName.new(NsSyncapis, "Notification"),
310
312
  :schema_element => [
311
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
313
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
312
314
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
313
315
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
314
316
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
@@ -321,18 +323,18 @@ module DefaultMappingRegistry
321
323
  )
322
324
 
323
325
  LiteralRegistry.register(
324
- :class => UnableToChargeCreditCardNotification,
326
+ :class => AdCenterWrapper::UnableToChargeCreditCardNotification,
325
327
  :schema_type => XSD::QName.new(NsSyncapis, "UnableToChargeCreditCardNotification"),
326
328
  :schema_basetype => XSD::QName.new(NsSyncapis, "Notification"),
327
329
  :schema_element => [
328
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
330
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
329
331
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
330
332
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
331
333
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
332
334
  ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
333
335
  ["accountId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "AccountId")]],
334
336
  ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AccountNumber")], [0, 1]],
335
- ["accountFinancialStatus", ["AccountFinancialStatusType", XSD::QName.new(NsSyncapis, "AccountFinancialStatus")]],
337
+ ["accountFinancialStatus", ["AdCenterWrapper::AccountFinancialStatusType", XSD::QName.new(NsSyncapis, "AccountFinancialStatus")]],
336
338
  ["creditCardTypeName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardTypeName")], [0, 1]],
337
339
  ["creditCardLastFour", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardLastFour")], [0, 1]],
338
340
  ["preferredCurrencyCode", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "PreferredCurrencyCode")], [0, 1]],
@@ -341,11 +343,11 @@ module DefaultMappingRegistry
341
343
  )
342
344
 
343
345
  LiteralRegistry.register(
344
- :class => CreditCardExpiredNotification,
346
+ :class => AdCenterWrapper::CreditCardExpiredNotification,
345
347
  :schema_type => XSD::QName.new(NsSyncapis, "CreditCardExpiredNotification"),
346
348
  :schema_basetype => XSD::QName.new(NsSyncapis, "CreditCardNotification"),
347
349
  :schema_element => [
348
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
350
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
349
351
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
350
352
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
351
353
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
@@ -360,11 +362,11 @@ module DefaultMappingRegistry
360
362
  )
361
363
 
362
364
  LiteralRegistry.register(
363
- :class => ApproachingCreditCardExpirationNotification,
365
+ :class => AdCenterWrapper::ApproachingCreditCardExpirationNotification,
364
366
  :schema_type => XSD::QName.new(NsSyncapis, "ApproachingCreditCardExpirationNotification"),
365
367
  :schema_basetype => XSD::QName.new(NsSyncapis, "CreditCardNotification"),
366
368
  :schema_element => [
367
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
369
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
368
370
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
369
371
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
370
372
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
@@ -379,11 +381,11 @@ module DefaultMappingRegistry
379
381
  )
380
382
 
381
383
  LiteralRegistry.register(
382
- :class => UserNameReminderNotification,
384
+ :class => AdCenterWrapper::UserNameReminderNotification,
383
385
  :schema_type => XSD::QName.new(NsSyncapis, "UserNameReminderNotification"),
384
386
  :schema_basetype => XSD::QName.new(NsSyncapis, "UserNotification"),
385
387
  :schema_element => [
386
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
388
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
387
389
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
388
390
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
389
391
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
@@ -395,11 +397,11 @@ module DefaultMappingRegistry
395
397
  )
396
398
 
397
399
  LiteralRegistry.register(
398
- :class => UserPasswordResetNotification,
400
+ :class => AdCenterWrapper::UserPasswordResetNotification,
399
401
  :schema_type => XSD::QName.new(NsSyncapis, "UserPasswordResetNotification"),
400
402
  :schema_basetype => XSD::QName.new(NsSyncapis, "UserNotification"),
401
403
  :schema_element => [
402
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
404
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
403
405
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
404
406
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
405
407
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
@@ -411,11 +413,11 @@ module DefaultMappingRegistry
411
413
  )
412
414
 
413
415
  LiteralRegistry.register(
414
- :class => NewUserAddedNotification,
416
+ :class => AdCenterWrapper::NewUserAddedNotification,
415
417
  :schema_type => XSD::QName.new(NsSyncapis, "NewUserAddedNotification"),
416
418
  :schema_basetype => XSD::QName.new(NsSyncapis, "UserNotification"),
417
419
  :schema_element => [
418
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
420
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
419
421
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
420
422
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
421
423
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
@@ -427,11 +429,11 @@ module DefaultMappingRegistry
427
429
  )
428
430
 
429
431
  LiteralRegistry.register(
430
- :class => NewCustomerSignupNotification,
432
+ :class => AdCenterWrapper::NewCustomerSignupNotification,
431
433
  :schema_type => XSD::QName.new(NsSyncapis, "NewCustomerSignupNotification"),
432
434
  :schema_basetype => XSD::QName.new(NsSyncapis, "UserNotification"),
433
435
  :schema_element => [
434
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
436
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
435
437
  ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
436
438
  ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
437
439
  ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
@@ -443,7 +445,7 @@ module DefaultMappingRegistry
443
445
  )
444
446
 
445
447
  LiteralRegistry.register(
446
- :class => ApiUserAuthHeader,
448
+ :class => AdCenterWrapper::ApiUserAuthHeader,
447
449
  :schema_type => XSD::QName.new(NsSyncapis, "ApiUserAuthHeader"),
448
450
  :schema_element => [
449
451
  ["userName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserName")], [0, 1]],
@@ -453,17 +455,17 @@ module DefaultMappingRegistry
453
455
  )
454
456
 
455
457
  LiteralRegistry.register(
456
- :class => NotificationType,
458
+ :class => AdCenterWrapper::NotificationType,
457
459
  :schema_type => XSD::QName.new(NsSyncapis, "NotificationType")
458
460
  )
459
461
 
460
462
  LiteralRegistry.register(
461
- :class => AccountFinancialStatusType,
463
+ :class => AdCenterWrapper::AccountFinancialStatusType,
462
464
  :schema_type => XSD::QName.new(NsSyncapis, "AccountFinancialStatusType")
463
465
  )
464
466
 
465
467
  LiteralRegistry.register(
466
- :class => GetNotifications,
468
+ :class => AdCenterWrapper::GetNotifications,
467
469
  :schema_name => XSD::QName.new(NsSyncapis, "GetNotifications"),
468
470
  :schema_element => [
469
471
  ["aPIFlags", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "APIFlags")]]
@@ -471,15 +473,15 @@ module DefaultMappingRegistry
471
473
  )
472
474
 
473
475
  LiteralRegistry.register(
474
- :class => GetNotificationsResponse,
476
+ :class => AdCenterWrapper::GetNotificationsResponse,
475
477
  :schema_name => XSD::QName.new(NsSyncapis, "GetNotificationsResponse"),
476
478
  :schema_element => [
477
- ["getNotificationsResult", ["ArrayOfNotification", XSD::QName.new(NsSyncapis, "GetNotificationsResult")], [0, 1]]
479
+ ["getNotificationsResult", ["AdCenterWrapper::ArrayOfNotification", XSD::QName.new(NsSyncapis, "GetNotificationsResult")], [0, 1]]
478
480
  ]
479
481
  )
480
482
 
481
483
  LiteralRegistry.register(
482
- :class => ApiUserAuthHeader,
484
+ :class => AdCenterWrapper::ApiUserAuthHeader,
483
485
  :schema_name => XSD::QName.new(NsSyncapis, "ApiUserAuthHeader"),
484
486
  :schema_element => [
485
487
  ["userName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserName")], [0, 1]],
@@ -489,24 +491,24 @@ module DefaultMappingRegistry
489
491
  )
490
492
 
491
493
  LiteralRegistry.register(
492
- :class => GetNotificationsByType,
494
+ :class => AdCenterWrapper::GetNotificationsByType,
493
495
  :schema_name => XSD::QName.new(NsSyncapis, "GetNotificationsByType"),
494
496
  :schema_element => [
495
497
  ["aPIFlags", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "APIFlags")]],
496
- ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]]
498
+ ["notificationType", ["AdCenterWrapper::NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]]
497
499
  ]
498
500
  )
499
501
 
500
502
  LiteralRegistry.register(
501
- :class => GetNotificationsByTypeResponse,
503
+ :class => AdCenterWrapper::GetNotificationsByTypeResponse,
502
504
  :schema_name => XSD::QName.new(NsSyncapis, "GetNotificationsByTypeResponse"),
503
505
  :schema_element => [
504
- ["getNotificationsByTypeResult", ["ArrayOfNotification", XSD::QName.new(NsSyncapis, "GetNotificationsByTypeResult")], [0, 1]]
506
+ ["getNotificationsByTypeResult", ["AdCenterWrapper::ArrayOfNotification", XSD::QName.new(NsSyncapis, "GetNotificationsByTypeResult")], [0, 1]]
505
507
  ]
506
508
  )
507
509
 
508
510
  LiteralRegistry.register(
509
- :class => GetArchivedNotifications,
511
+ :class => AdCenterWrapper::GetArchivedNotifications,
510
512
  :schema_name => XSD::QName.new(NsSyncapis, "GetArchivedNotifications"),
511
513
  :schema_element => [
512
514
  ["aPIFlags", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "APIFlags")]],
@@ -516,10 +518,12 @@ module DefaultMappingRegistry
516
518
  )
517
519
 
518
520
  LiteralRegistry.register(
519
- :class => GetArchivedNotificationsResponse,
521
+ :class => AdCenterWrapper::GetArchivedNotificationsResponse,
520
522
  :schema_name => XSD::QName.new(NsSyncapis, "GetArchivedNotificationsResponse"),
521
523
  :schema_element => [
522
- ["getArchivedNotificationsResult", ["ArrayOfNotification", XSD::QName.new(NsSyncapis, "GetArchivedNotificationsResult")], [0, 1]]
524
+ ["getArchivedNotificationsResult", ["AdCenterWrapper::ArrayOfNotification", XSD::QName.new(NsSyncapis, "GetArchivedNotificationsResult")], [0, 1]]
523
525
  ]
524
526
  )
525
527
  end
528
+
529
+ end