adcenter-client 7.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/.autotest +23 -0
  2. data/History.txt +6 -0
  3. data/Manifest.txt +55 -0
  4. data/README.txt +78 -0
  5. data/Rakefile.rb +31 -0
  6. data/TODO +12 -0
  7. data/bin/gen_wsdl_drivers.rb +26 -0
  8. data/bin/wsdl.yml +16 -0
  9. data/lib/AdministrationService.rb +79 -0
  10. data/lib/AdministrationServiceClient.rb +40 -0
  11. data/lib/AdministrationServiceDriver.rb +55 -0
  12. data/lib/AdministrationServiceMappingRegistry.rb +148 -0
  13. data/lib/CampaignManagementService.rb +3458 -0
  14. data/lib/CampaignManagementServiceClient.rb +1370 -0
  15. data/lib/CampaignManagementServiceDriver.rb +719 -0
  16. data/lib/CampaignManagementServiceMappingRegistry.rb +5107 -0
  17. data/lib/CustomerBillingService.rb +390 -0
  18. data/lib/CustomerBillingServiceClient.rb +126 -0
  19. data/lib/CustomerBillingServiceDriver.rb +95 -0
  20. data/lib/CustomerBillingServiceMappingRegistry.rb +676 -0
  21. data/lib/CustomerManagementService.rb +1284 -0
  22. data/lib/CustomerManagementServiceClient.rb +282 -0
  23. data/lib/CustomerManagementServiceDriver.rb +175 -0
  24. data/lib/CustomerManagementServiceMappingRegistry.rb +1471 -0
  25. data/lib/NotificationManagementClient.rb +89 -0
  26. data/lib/ReportingService.rb +2121 -0
  27. data/lib/ReportingServiceClient.rb +42 -0
  28. data/lib/ReportingServiceDriver.rb +55 -0
  29. data/lib/ReportingServiceMappingRegistry.rb +3164 -0
  30. data/lib/SecureDataManagementService.rb +203 -0
  31. data/lib/SecureDataManagementServiceClient.rb +26 -0
  32. data/lib/SecureDataManagementServiceDriver.rb +47 -0
  33. data/lib/SecureDataManagementServiceMappingRegistry.rb +376 -0
  34. data/lib/adcenter_client.rb +103 -0
  35. data/lib/adcenter_service.rb +70 -0
  36. data/lib/administration_service.rb +7 -0
  37. data/lib/campaign_management_service.rb +7 -0
  38. data/lib/custom_assertions.rb +5 -0
  39. data/lib/custom_exceptions.rb +1 -0
  40. data/lib/customer_billing_service.rb +7 -0
  41. data/lib/customer_management_service.rb +9 -0
  42. data/lib/default.rb +636 -0
  43. data/lib/defaultDriver.rb +63 -0
  44. data/lib/defaultMappingRegistry.rb +525 -0
  45. data/lib/notification_management.rb +7 -0
  46. data/lib/reporting_service.rb +7 -0
  47. data/lib/secure_data_management_service.rb +7 -0
  48. data/tasks/doctask.rake +9 -0
  49. data/tasks/testtask.rake +13 -0
  50. data/test/adcenter_client_test.rb +13 -0
  51. data/test/administration_service_test.rb +19 -0
  52. data/test/customer_management_service_test.rb +20 -0
  53. data/test/report_service_test.rb +34 -0
  54. data/test/test_credentials.yml-sample +7 -0
  55. data/test/test_helper.rb +8 -0
  56. metadata +188 -0
@@ -0,0 +1,63 @@
1
+ require 'default.rb'
2
+ require 'defaultMappingRegistry.rb'
3
+ require 'soap/rpc/driver'
4
+
5
+ class NotificationManagementSoap < ::SOAP::RPC::Driver
6
+ DefaultEndpointUrl = "https://adcenterapi.microsoft.com/Api/Advertiser/v6/NotificationManagement/NotificationManagement.asmx"
7
+
8
+ Methods = [
9
+ [ "http://adcenter.microsoft.com/syncapis/GetNotifications",
10
+ "getNotifications",
11
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "http://adcenter.microsoft.com/syncapis", "GetNotifications"]],
12
+ ["out", "parameters", ["::SOAP::SOAPElement", "http://adcenter.microsoft.com/syncapis", "GetNotificationsResponse"]] ],
13
+ { :request_style => :document, :request_use => :literal,
14
+ :response_style => :document, :response_use => :literal,
15
+ :faults => {} }
16
+ ],
17
+ [ "http://adcenter.microsoft.com/syncapis/GetNotificationsByType",
18
+ "getNotificationsByType",
19
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "http://adcenter.microsoft.com/syncapis", "GetNotificationsByType"]],
20
+ ["out", "parameters", ["::SOAP::SOAPElement", "http://adcenter.microsoft.com/syncapis", "GetNotificationsByTypeResponse"]] ],
21
+ { :request_style => :document, :request_use => :literal,
22
+ :response_style => :document, :response_use => :literal,
23
+ :faults => {} }
24
+ ],
25
+ [ "http://adcenter.microsoft.com/syncapis/GetArchivedNotifications",
26
+ "getArchivedNotifications",
27
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "http://adcenter.microsoft.com/syncapis", "GetArchivedNotifications"]],
28
+ ["out", "parameters", ["::SOAP::SOAPElement", "http://adcenter.microsoft.com/syncapis", "GetArchivedNotificationsResponse"]] ],
29
+ { :request_style => :document, :request_use => :literal,
30
+ :response_style => :document, :response_use => :literal,
31
+ :faults => {} }
32
+ ]
33
+ ]
34
+
35
+ def initialize(endpoint_url = nil)
36
+ endpoint_url ||= DefaultEndpointUrl
37
+ super(endpoint_url, nil)
38
+ self.mapping_registry = DefaultMappingRegistry::EncodedRegistry
39
+ self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry
40
+ init_methods
41
+ end
42
+
43
+ private
44
+
45
+ def init_methods
46
+ Methods.each do |definitions|
47
+ opt = definitions.last
48
+ if opt[:request_style] == :document
49
+ add_document_operation(*definitions)
50
+ else
51
+ add_rpc_operation(*definitions)
52
+ qname = definitions[0]
53
+ name = definitions[2]
54
+ if qname.name != name and qname.name.capitalize == name.capitalize
55
+ ::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
56
+ __send__(name, *arg)
57
+ end
58
+ end
59
+ end
60
+ end
61
+ end
62
+ end
63
+
@@ -0,0 +1,525 @@
1
+ require 'default.rb'
2
+ require 'soap/mapping'
3
+
4
+ module DefaultMappingRegistry
5
+ EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
6
+ LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
7
+ NsSyncapis = "http://adcenter.microsoft.com/syncapis"
8
+
9
+ EncodedRegistry.register(
10
+ :class => ArrayOfNotification,
11
+ :schema_type => XSD::QName.new(NsSyncapis, "ArrayOfNotification"),
12
+ :schema_element => [
13
+ ["notification", ["Notification[]", XSD::QName.new(NsSyncapis, "Notification")], [0, nil]]
14
+ ]
15
+ )
16
+
17
+ EncodedRegistry.register(
18
+ :class => EditorialRejectionNotification,
19
+ :schema_type => XSD::QName.new(NsSyncapis, "EditorialRejectionNotification"),
20
+ :schema_basetype => XSD::QName.new(NsSyncapis, "Notification"),
21
+ :schema_element => [
22
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
23
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
24
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
25
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
26
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
27
+ ["accountId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "AccountId")]],
28
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AccountNumber")], [0, 1]],
29
+ ["accountName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AccountName")], [0, 1]],
30
+ ["campaignName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CampaignName")], [0, 1]],
31
+ ["campaignId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CampaignId")]],
32
+ ["orderId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "OrderId")]],
33
+ ["orderName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "OrderName")], [0, 1]],
34
+ ["customerName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CustomerName")], [0, 1]],
35
+ ["adId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "AdId")]],
36
+ ["adTitle", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AdTitle")], [0, 1]],
37
+ ["adDescription", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AdDescription")], [0, 1]],
38
+ ["displayURL", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "DisplayURL")], [0, 1]],
39
+ ["destinationURL", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "DestinationURL")], [0, 1]],
40
+ ["keywordsRejected", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "KeywordsRejected")]],
41
+ ["keywordsAccepted", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "KeywordsAccepted")]],
42
+ ["keywordsPending", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "KeywordsPending")]],
43
+ ["top1Keyword", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top1Keyword")], [0, 1]],
44
+ ["top1KeywordReason", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top1KeywordReason")], [0, 1]],
45
+ ["top2Keyword", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top2Keyword")], [0, 1]],
46
+ ["top2KeywordReason", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top2KeywordReason")], [0, 1]],
47
+ ["top3Keyword", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top3Keyword")], [0, 1]],
48
+ ["top3KeywordReason", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top3KeywordReason")], [0, 1]],
49
+ ["top4Keyword", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top4Keyword")], [0, 1]],
50
+ ["top4KeywordReason", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top4KeywordReason")], [0, 1]],
51
+ ["top5Keyword", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top5Keyword")], [0, 1]],
52
+ ["top5KeywordReason", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top5KeywordReason")], [0, 1]]
53
+ ]
54
+ )
55
+
56
+ EncodedRegistry.register(
57
+ :class => AccountSignupPaymentReceiptNotification,
58
+ :schema_type => XSD::QName.new(NsSyncapis, "AccountSignupPaymentReceiptNotification"),
59
+ :schema_basetype => XSD::QName.new(NsSyncapis, "Notification"),
60
+ :schema_element => [
61
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
62
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
63
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
64
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
65
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
66
+ ["accountId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "AccountId")]],
67
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AccountNumber")], [0, 1]],
68
+ ["accountName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AccountName")], [0, 1]],
69
+ ["preferredUserName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "PreferredUserName")], [0, 1]],
70
+ ["creditCardName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardName")], [0, 1]],
71
+ ["creditCardTypeName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardTypeName")], [0, 1]],
72
+ ["creditCardLastFour", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardLastFour")], [0, 1]],
73
+ ["accountSetupFee", ["SOAP::SOAPDouble", XSD::QName.new(NsSyncapis, "AccountSetupFee")]],
74
+ ["preferredCurrencyCode", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "PreferredCurrencyCode")], [0, 1]]
75
+ ]
76
+ )
77
+
78
+ EncodedRegistry.register(
79
+ :class => AccountClosedNotification,
80
+ :schema_type => XSD::QName.new(NsSyncapis, "AccountClosedNotification"),
81
+ :schema_basetype => XSD::QName.new(NsSyncapis, "Notification"),
82
+ :schema_element => [
83
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
84
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
85
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
86
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
87
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
88
+ ["accountId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "AccountId")]],
89
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AccountNumber")], [0, 1]],
90
+ ["customerName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CustomerName")], [0, 1]],
91
+ ["statusDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "StatusDate")]]
92
+ ]
93
+ )
94
+
95
+ EncodedRegistry.register(
96
+ :class => UnableToChargeCreditCardNotification,
97
+ :schema_type => XSD::QName.new(NsSyncapis, "UnableToChargeCreditCardNotification"),
98
+ :schema_basetype => XSD::QName.new(NsSyncapis, "Notification"),
99
+ :schema_element => [
100
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
101
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
102
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
103
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
104
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
105
+ ["accountId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "AccountId")]],
106
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AccountNumber")], [0, 1]],
107
+ ["accountFinancialStatus", ["AccountFinancialStatusType", XSD::QName.new(NsSyncapis, "AccountFinancialStatus")]],
108
+ ["creditCardTypeName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardTypeName")], [0, 1]],
109
+ ["creditCardLastFour", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardLastFour")], [0, 1]],
110
+ ["preferredCurrencyCode", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "PreferredCurrencyCode")], [0, 1]],
111
+ ["balanceAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsSyncapis, "BalanceAmount")]]
112
+ ]
113
+ )
114
+
115
+ EncodedRegistry.register(
116
+ :class => CreditCardExpiredNotification,
117
+ :schema_type => XSD::QName.new(NsSyncapis, "CreditCardExpiredNotification"),
118
+ :schema_basetype => XSD::QName.new(NsSyncapis, "CreditCardNotification"),
119
+ :schema_element => [
120
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
121
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
122
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
123
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
124
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
125
+ ["accountId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "AccountId")]],
126
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AccountNumber")], [0, 1]],
127
+ ["creditCardTypeName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardTypeName")], [0, 1]],
128
+ ["creditCardLastFour", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardLastFour")], [0, 1]],
129
+ ["creditCardExpirationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "CreditCardExpirationDate")]],
130
+ ["noticeNumber", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "NoticeNumber")]]
131
+ ]
132
+ )
133
+
134
+ EncodedRegistry.register(
135
+ :class => ApproachingCreditCardExpirationNotification,
136
+ :schema_type => XSD::QName.new(NsSyncapis, "ApproachingCreditCardExpirationNotification"),
137
+ :schema_basetype => XSD::QName.new(NsSyncapis, "CreditCardNotification"),
138
+ :schema_element => [
139
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
140
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
141
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
142
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
143
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
144
+ ["accountId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "AccountId")]],
145
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AccountNumber")], [0, 1]],
146
+ ["creditCardTypeName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardTypeName")], [0, 1]],
147
+ ["creditCardLastFour", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardLastFour")], [0, 1]],
148
+ ["creditCardExpirationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "CreditCardExpirationDate")]],
149
+ ["noticeNumber", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "NoticeNumber")]]
150
+ ]
151
+ )
152
+
153
+ EncodedRegistry.register(
154
+ :class => UserNameReminderNotification,
155
+ :schema_type => XSD::QName.new(NsSyncapis, "UserNameReminderNotification"),
156
+ :schema_basetype => XSD::QName.new(NsSyncapis, "UserNotification"),
157
+ :schema_element => [
158
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
159
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
160
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
161
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
162
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
163
+ ["userId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "UserId")]],
164
+ ["userName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserName")], [0, 1]],
165
+ ["activationCode", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "ActivationCode")], [0, 1]]
166
+ ]
167
+ )
168
+
169
+ EncodedRegistry.register(
170
+ :class => UserPasswordResetNotification,
171
+ :schema_type => XSD::QName.new(NsSyncapis, "UserPasswordResetNotification"),
172
+ :schema_basetype => XSD::QName.new(NsSyncapis, "UserNotification"),
173
+ :schema_element => [
174
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
175
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
176
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
177
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
178
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
179
+ ["userId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "UserId")]],
180
+ ["userName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserName")], [0, 1]],
181
+ ["activationCode", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "ActivationCode")], [0, 1]]
182
+ ]
183
+ )
184
+
185
+ EncodedRegistry.register(
186
+ :class => NewUserAddedNotification,
187
+ :schema_type => XSD::QName.new(NsSyncapis, "NewUserAddedNotification"),
188
+ :schema_basetype => XSD::QName.new(NsSyncapis, "UserNotification"),
189
+ :schema_element => [
190
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
191
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
192
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
193
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
194
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
195
+ ["userId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "UserId")]],
196
+ ["userName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserName")], [0, 1]],
197
+ ["activationCode", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "ActivationCode")], [0, 1]]
198
+ ]
199
+ )
200
+
201
+ EncodedRegistry.register(
202
+ :class => NewCustomerSignupNotification,
203
+ :schema_type => XSD::QName.new(NsSyncapis, "NewCustomerSignupNotification"),
204
+ :schema_basetype => XSD::QName.new(NsSyncapis, "UserNotification"),
205
+ :schema_element => [
206
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
207
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
208
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
209
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
210
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
211
+ ["userId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "UserId")]],
212
+ ["userName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserName")], [0, 1]],
213
+ ["activationCode", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "ActivationCode")], [0, 1]]
214
+ ]
215
+ )
216
+
217
+ EncodedRegistry.register(
218
+ :class => ApiUserAuthHeader,
219
+ :schema_type => XSD::QName.new(NsSyncapis, "ApiUserAuthHeader"),
220
+ :schema_element => [
221
+ ["userName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserName")], [0, 1]],
222
+ ["password", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Password")], [0, 1]],
223
+ ["userAccessKey", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserAccessKey")], [0, 1]]
224
+ ]
225
+ )
226
+
227
+ EncodedRegistry.register(
228
+ :class => NotificationType,
229
+ :schema_type => XSD::QName.new(NsSyncapis, "NotificationType")
230
+ )
231
+
232
+ EncodedRegistry.register(
233
+ :class => AccountFinancialStatusType,
234
+ :schema_type => XSD::QName.new(NsSyncapis, "AccountFinancialStatusType")
235
+ )
236
+
237
+ LiteralRegistry.register(
238
+ :class => ArrayOfNotification,
239
+ :schema_type => XSD::QName.new(NsSyncapis, "ArrayOfNotification"),
240
+ :schema_element => [
241
+ ["notification", ["Notification[]", XSD::QName.new(NsSyncapis, "Notification")], [0, nil]]
242
+ ]
243
+ )
244
+
245
+ LiteralRegistry.register(
246
+ :class => EditorialRejectionNotification,
247
+ :schema_type => XSD::QName.new(NsSyncapis, "EditorialRejectionNotification"),
248
+ :schema_basetype => XSD::QName.new(NsSyncapis, "Notification"),
249
+ :schema_element => [
250
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
251
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
252
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
253
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
254
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
255
+ ["accountId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "AccountId")]],
256
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AccountNumber")], [0, 1]],
257
+ ["accountName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AccountName")], [0, 1]],
258
+ ["campaignName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CampaignName")], [0, 1]],
259
+ ["campaignId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CampaignId")]],
260
+ ["orderId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "OrderId")]],
261
+ ["orderName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "OrderName")], [0, 1]],
262
+ ["customerName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CustomerName")], [0, 1]],
263
+ ["adId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "AdId")]],
264
+ ["adTitle", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AdTitle")], [0, 1]],
265
+ ["adDescription", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AdDescription")], [0, 1]],
266
+ ["displayURL", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "DisplayURL")], [0, 1]],
267
+ ["destinationURL", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "DestinationURL")], [0, 1]],
268
+ ["keywordsRejected", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "KeywordsRejected")]],
269
+ ["keywordsAccepted", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "KeywordsAccepted")]],
270
+ ["keywordsPending", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "KeywordsPending")]],
271
+ ["top1Keyword", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top1Keyword")], [0, 1]],
272
+ ["top1KeywordReason", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top1KeywordReason")], [0, 1]],
273
+ ["top2Keyword", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top2Keyword")], [0, 1]],
274
+ ["top2KeywordReason", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top2KeywordReason")], [0, 1]],
275
+ ["top3Keyword", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top3Keyword")], [0, 1]],
276
+ ["top3KeywordReason", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top3KeywordReason")], [0, 1]],
277
+ ["top4Keyword", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top4Keyword")], [0, 1]],
278
+ ["top4KeywordReason", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top4KeywordReason")], [0, 1]],
279
+ ["top5Keyword", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top5Keyword")], [0, 1]],
280
+ ["top5KeywordReason", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Top5KeywordReason")], [0, 1]]
281
+ ]
282
+ )
283
+
284
+ LiteralRegistry.register(
285
+ :class => AccountSignupPaymentReceiptNotification,
286
+ :schema_type => XSD::QName.new(NsSyncapis, "AccountSignupPaymentReceiptNotification"),
287
+ :schema_basetype => XSD::QName.new(NsSyncapis, "Notification"),
288
+ :schema_element => [
289
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
290
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
291
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
292
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
293
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
294
+ ["accountId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "AccountId")]],
295
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AccountNumber")], [0, 1]],
296
+ ["accountName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AccountName")], [0, 1]],
297
+ ["preferredUserName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "PreferredUserName")], [0, 1]],
298
+ ["creditCardName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardName")], [0, 1]],
299
+ ["creditCardTypeName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardTypeName")], [0, 1]],
300
+ ["creditCardLastFour", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardLastFour")], [0, 1]],
301
+ ["accountSetupFee", ["SOAP::SOAPDouble", XSD::QName.new(NsSyncapis, "AccountSetupFee")]],
302
+ ["preferredCurrencyCode", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "PreferredCurrencyCode")], [0, 1]]
303
+ ]
304
+ )
305
+
306
+ LiteralRegistry.register(
307
+ :class => AccountClosedNotification,
308
+ :schema_type => XSD::QName.new(NsSyncapis, "AccountClosedNotification"),
309
+ :schema_basetype => XSD::QName.new(NsSyncapis, "Notification"),
310
+ :schema_element => [
311
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
312
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
313
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
314
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
315
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
316
+ ["accountId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "AccountId")]],
317
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AccountNumber")], [0, 1]],
318
+ ["customerName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CustomerName")], [0, 1]],
319
+ ["statusDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "StatusDate")]]
320
+ ]
321
+ )
322
+
323
+ LiteralRegistry.register(
324
+ :class => UnableToChargeCreditCardNotification,
325
+ :schema_type => XSD::QName.new(NsSyncapis, "UnableToChargeCreditCardNotification"),
326
+ :schema_basetype => XSD::QName.new(NsSyncapis, "Notification"),
327
+ :schema_element => [
328
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
329
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
330
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
331
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
332
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
333
+ ["accountId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "AccountId")]],
334
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AccountNumber")], [0, 1]],
335
+ ["accountFinancialStatus", ["AccountFinancialStatusType", XSD::QName.new(NsSyncapis, "AccountFinancialStatus")]],
336
+ ["creditCardTypeName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardTypeName")], [0, 1]],
337
+ ["creditCardLastFour", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardLastFour")], [0, 1]],
338
+ ["preferredCurrencyCode", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "PreferredCurrencyCode")], [0, 1]],
339
+ ["balanceAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsSyncapis, "BalanceAmount")]]
340
+ ]
341
+ )
342
+
343
+ LiteralRegistry.register(
344
+ :class => CreditCardExpiredNotification,
345
+ :schema_type => XSD::QName.new(NsSyncapis, "CreditCardExpiredNotification"),
346
+ :schema_basetype => XSD::QName.new(NsSyncapis, "CreditCardNotification"),
347
+ :schema_element => [
348
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
349
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
350
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
351
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
352
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
353
+ ["accountId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "AccountId")]],
354
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AccountNumber")], [0, 1]],
355
+ ["creditCardTypeName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardTypeName")], [0, 1]],
356
+ ["creditCardLastFour", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardLastFour")], [0, 1]],
357
+ ["creditCardExpirationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "CreditCardExpirationDate")]],
358
+ ["noticeNumber", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "NoticeNumber")]]
359
+ ]
360
+ )
361
+
362
+ LiteralRegistry.register(
363
+ :class => ApproachingCreditCardExpirationNotification,
364
+ :schema_type => XSD::QName.new(NsSyncapis, "ApproachingCreditCardExpirationNotification"),
365
+ :schema_basetype => XSD::QName.new(NsSyncapis, "CreditCardNotification"),
366
+ :schema_element => [
367
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
368
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
369
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
370
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
371
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
372
+ ["accountId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "AccountId")]],
373
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "AccountNumber")], [0, 1]],
374
+ ["creditCardTypeName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardTypeName")], [0, 1]],
375
+ ["creditCardLastFour", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "CreditCardLastFour")], [0, 1]],
376
+ ["creditCardExpirationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "CreditCardExpirationDate")]],
377
+ ["noticeNumber", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "NoticeNumber")]]
378
+ ]
379
+ )
380
+
381
+ LiteralRegistry.register(
382
+ :class => UserNameReminderNotification,
383
+ :schema_type => XSD::QName.new(NsSyncapis, "UserNameReminderNotification"),
384
+ :schema_basetype => XSD::QName.new(NsSyncapis, "UserNotification"),
385
+ :schema_element => [
386
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
387
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
388
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
389
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
390
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
391
+ ["userId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "UserId")]],
392
+ ["userName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserName")], [0, 1]],
393
+ ["activationCode", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "ActivationCode")], [0, 1]]
394
+ ]
395
+ )
396
+
397
+ LiteralRegistry.register(
398
+ :class => UserPasswordResetNotification,
399
+ :schema_type => XSD::QName.new(NsSyncapis, "UserPasswordResetNotification"),
400
+ :schema_basetype => XSD::QName.new(NsSyncapis, "UserNotification"),
401
+ :schema_element => [
402
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
403
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
404
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
405
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
406
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
407
+ ["userId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "UserId")]],
408
+ ["userName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserName")], [0, 1]],
409
+ ["activationCode", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "ActivationCode")], [0, 1]]
410
+ ]
411
+ )
412
+
413
+ LiteralRegistry.register(
414
+ :class => NewUserAddedNotification,
415
+ :schema_type => XSD::QName.new(NsSyncapis, "NewUserAddedNotification"),
416
+ :schema_basetype => XSD::QName.new(NsSyncapis, "UserNotification"),
417
+ :schema_element => [
418
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
419
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
420
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
421
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
422
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
423
+ ["userId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "UserId")]],
424
+ ["userName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserName")], [0, 1]],
425
+ ["activationCode", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "ActivationCode")], [0, 1]]
426
+ ]
427
+ )
428
+
429
+ LiteralRegistry.register(
430
+ :class => NewCustomerSignupNotification,
431
+ :schema_type => XSD::QName.new(NsSyncapis, "NewCustomerSignupNotification"),
432
+ :schema_basetype => XSD::QName.new(NsSyncapis, "UserNotification"),
433
+ :schema_element => [
434
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]],
435
+ ["customerId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "CustomerId")]],
436
+ ["userLocale", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserLocale")], [0, 1]],
437
+ ["recipientEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "RecipientEmailAddress")], [0, 1]],
438
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "NotificationDate")]],
439
+ ["userId", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "UserId")]],
440
+ ["userName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserName")], [0, 1]],
441
+ ["activationCode", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "ActivationCode")], [0, 1]]
442
+ ]
443
+ )
444
+
445
+ LiteralRegistry.register(
446
+ :class => ApiUserAuthHeader,
447
+ :schema_type => XSD::QName.new(NsSyncapis, "ApiUserAuthHeader"),
448
+ :schema_element => [
449
+ ["userName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserName")], [0, 1]],
450
+ ["password", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Password")], [0, 1]],
451
+ ["userAccessKey", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserAccessKey")], [0, 1]]
452
+ ]
453
+ )
454
+
455
+ LiteralRegistry.register(
456
+ :class => NotificationType,
457
+ :schema_type => XSD::QName.new(NsSyncapis, "NotificationType")
458
+ )
459
+
460
+ LiteralRegistry.register(
461
+ :class => AccountFinancialStatusType,
462
+ :schema_type => XSD::QName.new(NsSyncapis, "AccountFinancialStatusType")
463
+ )
464
+
465
+ LiteralRegistry.register(
466
+ :class => GetNotifications,
467
+ :schema_name => XSD::QName.new(NsSyncapis, "GetNotifications"),
468
+ :schema_element => [
469
+ ["aPIFlags", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "APIFlags")]]
470
+ ]
471
+ )
472
+
473
+ LiteralRegistry.register(
474
+ :class => GetNotificationsResponse,
475
+ :schema_name => XSD::QName.new(NsSyncapis, "GetNotificationsResponse"),
476
+ :schema_element => [
477
+ ["getNotificationsResult", ["ArrayOfNotification", XSD::QName.new(NsSyncapis, "GetNotificationsResult")], [0, 1]]
478
+ ]
479
+ )
480
+
481
+ LiteralRegistry.register(
482
+ :class => ApiUserAuthHeader,
483
+ :schema_name => XSD::QName.new(NsSyncapis, "ApiUserAuthHeader"),
484
+ :schema_element => [
485
+ ["userName", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserName")], [0, 1]],
486
+ ["password", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "Password")], [0, 1]],
487
+ ["userAccessKey", ["SOAP::SOAPString", XSD::QName.new(NsSyncapis, "UserAccessKey")], [0, 1]]
488
+ ]
489
+ )
490
+
491
+ LiteralRegistry.register(
492
+ :class => GetNotificationsByType,
493
+ :schema_name => XSD::QName.new(NsSyncapis, "GetNotificationsByType"),
494
+ :schema_element => [
495
+ ["aPIFlags", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "APIFlags")]],
496
+ ["notificationType", ["NotificationType", XSD::QName.new(NsSyncapis, "NotificationType")]]
497
+ ]
498
+ )
499
+
500
+ LiteralRegistry.register(
501
+ :class => GetNotificationsByTypeResponse,
502
+ :schema_name => XSD::QName.new(NsSyncapis, "GetNotificationsByTypeResponse"),
503
+ :schema_element => [
504
+ ["getNotificationsByTypeResult", ["ArrayOfNotification", XSD::QName.new(NsSyncapis, "GetNotificationsByTypeResult")], [0, 1]]
505
+ ]
506
+ )
507
+
508
+ LiteralRegistry.register(
509
+ :class => GetArchivedNotifications,
510
+ :schema_name => XSD::QName.new(NsSyncapis, "GetArchivedNotifications"),
511
+ :schema_element => [
512
+ ["aPIFlags", ["SOAP::SOAPInt", XSD::QName.new(NsSyncapis, "APIFlags")]],
513
+ ["startDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "StartDate")]],
514
+ ["endDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsSyncapis, "EndDate")]]
515
+ ]
516
+ )
517
+
518
+ LiteralRegistry.register(
519
+ :class => GetArchivedNotificationsResponse,
520
+ :schema_name => XSD::QName.new(NsSyncapis, "GetArchivedNotificationsResponse"),
521
+ :schema_element => [
522
+ ["getArchivedNotificationsResult", ["ArrayOfNotification", XSD::QName.new(NsSyncapis, "GetArchivedNotificationsResult")], [0, 1]]
523
+ ]
524
+ )
525
+ end