ultracart_api 3.1.16 → 3.1.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +25 -4
  3. data/docs/Coupon.md +1 -0
  4. data/docs/CouponPercentOffMsrpItems.md +11 -0
  5. data/docs/CustomerLoyalty.md +1 -0
  6. data/docs/EmailCampaign.md +2 -1
  7. data/docs/EmailFlow.md +2 -1
  8. data/docs/LibraryItemAttribute.md +0 -1
  9. data/docs/OrderApi.md +4 -0
  10. data/docs/OrderProcessPaymentRequest.md +1 -0
  11. data/docs/OrderQuery.md +3 -1
  12. data/docs/ScreenRecording.md +13 -0
  13. data/docs/ScreenRecordingAdPlatform.md +13 -0
  14. data/docs/ScreenRecordingFilter.md +12 -0
  15. data/docs/ScreenRecordingFilterValues.md +12 -2
  16. data/docs/ScreenRecordingFilterValuesPageView.md +12 -0
  17. data/docs/ScreenRecordingPageView.md +2 -0
  18. data/docs/ScreenRecordingPageViewEvent.md +1 -0
  19. data/docs/ScreenRecordingQueryResponse.md +3 -0
  20. data/docs/ScreenRecordingSegment.md +3 -0
  21. data/docs/ScreenRecordingSettings.md +5 -0
  22. data/docs/TaxJarConfig.md +1 -0
  23. data/lib/ultracart_api.rb +3 -0
  24. data/lib/ultracart_api/api/order_api.rb +6 -0
  25. data/lib/ultracart_api/models/coupon.rb +10 -1
  26. data/lib/ultracart_api/models/coupon_percent_off_msrp_items.rb +219 -0
  27. data/lib/ultracart_api/models/customer_loyalty.rb +11 -1
  28. data/lib/ultracart_api/models/email_campaign.rb +12 -2
  29. data/lib/ultracart_api/models/email_flow.rb +12 -2
  30. data/lib/ultracart_api/models/library_item_attribute.rb +1 -10
  31. data/lib/ultracart_api/models/order_process_payment_request.rb +11 -1
  32. data/lib/ultracart_api/models/order_query.rb +22 -2
  33. data/lib/ultracart_api/models/screen_recording.rb +128 -1
  34. data/lib/ultracart_api/models/screen_recording_ad_platform.rb +235 -0
  35. data/lib/ultracart_api/models/screen_recording_filter.rb +109 -1
  36. data/lib/ultracart_api/models/screen_recording_filter_values.rb +124 -18
  37. data/lib/ultracart_api/models/screen_recording_filter_values_page_view.rb +226 -0
  38. data/lib/ultracart_api/models/screen_recording_page_view.rb +21 -1
  39. data/lib/ultracart_api/models/screen_recording_page_view_event.rb +10 -1
  40. data/lib/ultracart_api/models/screen_recording_query_response.rb +30 -1
  41. data/lib/ultracart_api/models/screen_recording_segment.rb +30 -1
  42. data/lib/ultracart_api/models/screen_recording_settings.rb +49 -4
  43. data/lib/ultracart_api/models/tax_jar_config.rb +11 -1
  44. data/lib/ultracart_api/version.rb +1 -1
  45. metadata +8 -2
@@ -14,8 +14,20 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class ScreenRecordingFilter
17
+ attr_accessor :affiliate_email
18
+
19
+ attr_accessor :affiliate_id
20
+
21
+ attr_accessor :communications_campaign_name
22
+
23
+ attr_accessor :communications_email_subject
24
+
25
+ attr_accessor :communications_flow_name
26
+
17
27
  attr_accessor :email
18
28
 
29
+ attr_accessor :email_domain
30
+
19
31
  attr_accessor :email_identified
20
32
 
21
33
  attr_accessor :end_timestamp
@@ -30,6 +42,10 @@ module UltracartClient
30
42
 
31
43
  attr_accessor :geolocation_state
32
44
 
45
+ attr_accessor :language_iso_code
46
+
47
+ attr_accessor :last_x_days
48
+
33
49
  attr_accessor :max_filter_values
34
50
 
35
51
  attr_accessor :order_id
@@ -40,6 +56,10 @@ module UltracartClient
40
56
 
41
57
  attr_accessor :placed_order
42
58
 
59
+ attr_accessor :preferred_language
60
+
61
+ attr_accessor :referrer_domain
62
+
43
63
  attr_accessor :screen_recording_uuids
44
64
 
45
65
  attr_accessor :screen_sizes
@@ -66,6 +86,10 @@ module UltracartClient
66
86
 
67
87
  attr_accessor :user_ip
68
88
 
89
+ attr_accessor :utm_campaign
90
+
91
+ attr_accessor :utm_source
92
+
69
93
  attr_accessor :visitor_number
70
94
 
71
95
  attr_accessor :watched
@@ -73,7 +97,13 @@ module UltracartClient
73
97
  # Attribute mapping from ruby-style variable name to JSON key.
74
98
  def self.attribute_map
75
99
  {
100
+ :'affiliate_email' => :'affiliate_email',
101
+ :'affiliate_id' => :'affiliate_id',
102
+ :'communications_campaign_name' => :'communications_campaign_name',
103
+ :'communications_email_subject' => :'communications_email_subject',
104
+ :'communications_flow_name' => :'communications_flow_name',
76
105
  :'email' => :'email',
106
+ :'email_domain' => :'email_domain',
77
107
  :'email_identified' => :'email_identified',
78
108
  :'end_timestamp' => :'end_timestamp',
79
109
  :'esp_customer_uuid' => :'esp_customer_uuid',
@@ -81,11 +111,15 @@ module UltracartClient
81
111
  :'geolocation' => :'geolocation',
82
112
  :'geolocation_country' => :'geolocation_country',
83
113
  :'geolocation_state' => :'geolocation_state',
114
+ :'language_iso_code' => :'language_iso_code',
115
+ :'last_x_days' => :'last_x_days',
84
116
  :'max_filter_values' => :'max_filter_values',
85
117
  :'order_id' => :'order_id',
86
118
  :'page_view_count' => :'page_view_count',
87
119
  :'page_views' => :'page_views',
88
120
  :'placed_order' => :'placed_order',
121
+ :'preferred_language' => :'preferred_language',
122
+ :'referrer_domain' => :'referrer_domain',
89
123
  :'screen_recording_uuids' => :'screen_recording_uuids',
90
124
  :'screen_sizes' => :'screen_sizes',
91
125
  :'skip_filter_values' => :'skip_filter_values',
@@ -99,6 +133,8 @@ module UltracartClient
99
133
  :'user_agent_os_name' => :'user_agent_os_name',
100
134
  :'user_agent_os_version' => :'user_agent_os_version',
101
135
  :'user_ip' => :'user_ip',
136
+ :'utm_campaign' => :'utm_campaign',
137
+ :'utm_source' => :'utm_source',
102
138
  :'visitor_number' => :'visitor_number',
103
139
  :'watched' => :'watched'
104
140
  }
@@ -107,7 +143,13 @@ module UltracartClient
107
143
  # Attribute type mapping.
108
144
  def self.swagger_types
109
145
  {
146
+ :'affiliate_email' => :'String',
147
+ :'affiliate_id' => :'Integer',
148
+ :'communications_campaign_name' => :'String',
149
+ :'communications_email_subject' => :'String',
150
+ :'communications_flow_name' => :'String',
110
151
  :'email' => :'ScreenRecordingFilterStringSearch',
152
+ :'email_domain' => :'String',
111
153
  :'email_identified' => :'BOOLEAN',
112
154
  :'end_timestamp' => :'ScreenRecordingFilterRangeDate',
113
155
  :'esp_customer_uuid' => :'String',
@@ -115,11 +157,15 @@ module UltracartClient
115
157
  :'geolocation' => :'ScreenRecordingFilterGeoDistance',
116
158
  :'geolocation_country' => :'ScreenRecordingFilterStringSearch',
117
159
  :'geolocation_state' => :'ScreenRecordingFilterStringSearch',
160
+ :'language_iso_code' => :'ScreenRecordingFilterStringSearch',
161
+ :'last_x_days' => :'Integer',
118
162
  :'max_filter_values' => :'Integer',
119
163
  :'order_id' => :'ScreenRecordingFilterStringSearch',
120
164
  :'page_view_count' => :'ScreenRecordingFilterRangeInteger',
121
165
  :'page_views' => :'Array<ScreenRecordingFilterPageView>',
122
166
  :'placed_order' => :'BOOLEAN',
167
+ :'preferred_language' => :'ScreenRecordingFilterStringSearch',
168
+ :'referrer_domain' => :'String',
123
169
  :'screen_recording_uuids' => :'Array<String>',
124
170
  :'screen_sizes' => :'Array<String>',
125
171
  :'skip_filter_values' => :'BOOLEAN',
@@ -133,6 +179,8 @@ module UltracartClient
133
179
  :'user_agent_os_name' => :'String',
134
180
  :'user_agent_os_version' => :'String',
135
181
  :'user_ip' => :'ScreenRecordingFilterIpSearch',
182
+ :'utm_campaign' => :'String',
183
+ :'utm_source' => :'String',
136
184
  :'visitor_number' => :'Integer',
137
185
  :'watched' => :'BOOLEAN'
138
186
  }
@@ -146,10 +194,34 @@ module UltracartClient
146
194
  # convert string to symbol for hash key
147
195
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
148
196
 
197
+ if attributes.has_key?(:'affiliate_email')
198
+ self.affiliate_email = attributes[:'affiliate_email']
199
+ end
200
+
201
+ if attributes.has_key?(:'affiliate_id')
202
+ self.affiliate_id = attributes[:'affiliate_id']
203
+ end
204
+
205
+ if attributes.has_key?(:'communications_campaign_name')
206
+ self.communications_campaign_name = attributes[:'communications_campaign_name']
207
+ end
208
+
209
+ if attributes.has_key?(:'communications_email_subject')
210
+ self.communications_email_subject = attributes[:'communications_email_subject']
211
+ end
212
+
213
+ if attributes.has_key?(:'communications_flow_name')
214
+ self.communications_flow_name = attributes[:'communications_flow_name']
215
+ end
216
+
149
217
  if attributes.has_key?(:'email')
150
218
  self.email = attributes[:'email']
151
219
  end
152
220
 
221
+ if attributes.has_key?(:'email_domain')
222
+ self.email_domain = attributes[:'email_domain']
223
+ end
224
+
153
225
  if attributes.has_key?(:'email_identified')
154
226
  self.email_identified = attributes[:'email_identified']
155
227
  end
@@ -178,6 +250,14 @@ module UltracartClient
178
250
  self.geolocation_state = attributes[:'geolocation_state']
179
251
  end
180
252
 
253
+ if attributes.has_key?(:'language_iso_code')
254
+ self.language_iso_code = attributes[:'language_iso_code']
255
+ end
256
+
257
+ if attributes.has_key?(:'last_x_days')
258
+ self.last_x_days = attributes[:'last_x_days']
259
+ end
260
+
181
261
  if attributes.has_key?(:'max_filter_values')
182
262
  self.max_filter_values = attributes[:'max_filter_values']
183
263
  end
@@ -200,6 +280,14 @@ module UltracartClient
200
280
  self.placed_order = attributes[:'placed_order']
201
281
  end
202
282
 
283
+ if attributes.has_key?(:'preferred_language')
284
+ self.preferred_language = attributes[:'preferred_language']
285
+ end
286
+
287
+ if attributes.has_key?(:'referrer_domain')
288
+ self.referrer_domain = attributes[:'referrer_domain']
289
+ end
290
+
203
291
  if attributes.has_key?(:'screen_recording_uuids')
204
292
  if (value = attributes[:'screen_recording_uuids']).is_a?(Array)
205
293
  self.screen_recording_uuids = value
@@ -258,6 +346,14 @@ module UltracartClient
258
346
  self.user_ip = attributes[:'user_ip']
259
347
  end
260
348
 
349
+ if attributes.has_key?(:'utm_campaign')
350
+ self.utm_campaign = attributes[:'utm_campaign']
351
+ end
352
+
353
+ if attributes.has_key?(:'utm_source')
354
+ self.utm_source = attributes[:'utm_source']
355
+ end
356
+
261
357
  if attributes.has_key?(:'visitor_number')
262
358
  self.visitor_number = attributes[:'visitor_number']
263
359
  end
@@ -285,7 +381,13 @@ module UltracartClient
285
381
  def ==(o)
286
382
  return true if self.equal?(o)
287
383
  self.class == o.class &&
384
+ affiliate_email == o.affiliate_email &&
385
+ affiliate_id == o.affiliate_id &&
386
+ communications_campaign_name == o.communications_campaign_name &&
387
+ communications_email_subject == o.communications_email_subject &&
388
+ communications_flow_name == o.communications_flow_name &&
288
389
  email == o.email &&
390
+ email_domain == o.email_domain &&
289
391
  email_identified == o.email_identified &&
290
392
  end_timestamp == o.end_timestamp &&
291
393
  esp_customer_uuid == o.esp_customer_uuid &&
@@ -293,11 +395,15 @@ module UltracartClient
293
395
  geolocation == o.geolocation &&
294
396
  geolocation_country == o.geolocation_country &&
295
397
  geolocation_state == o.geolocation_state &&
398
+ language_iso_code == o.language_iso_code &&
399
+ last_x_days == o.last_x_days &&
296
400
  max_filter_values == o.max_filter_values &&
297
401
  order_id == o.order_id &&
298
402
  page_view_count == o.page_view_count &&
299
403
  page_views == o.page_views &&
300
404
  placed_order == o.placed_order &&
405
+ preferred_language == o.preferred_language &&
406
+ referrer_domain == o.referrer_domain &&
301
407
  screen_recording_uuids == o.screen_recording_uuids &&
302
408
  screen_sizes == o.screen_sizes &&
303
409
  skip_filter_values == o.skip_filter_values &&
@@ -311,6 +417,8 @@ module UltracartClient
311
417
  user_agent_os_name == o.user_agent_os_name &&
312
418
  user_agent_os_version == o.user_agent_os_version &&
313
419
  user_ip == o.user_ip &&
420
+ utm_campaign == o.utm_campaign &&
421
+ utm_source == o.utm_source &&
314
422
  visitor_number == o.visitor_number &&
315
423
  watched == o.watched
316
424
  end
@@ -324,7 +432,7 @@ module UltracartClient
324
432
  # Calculates hash code according to all attributes.
325
433
  # @return [Fixnum] Hash code
326
434
  def hash
327
- [email, email_identified, end_timestamp, esp_customer_uuid, favorite, geolocation, geolocation_country, geolocation_state, max_filter_values, order_id, page_view_count, page_views, placed_order, screen_recording_uuids, screen_sizes, skip_filter_values, skip_hits, start_timestamp, tags, time_on_site, user_agent_device_name, user_agent_name, user_agent_original, user_agent_os_name, user_agent_os_version, user_ip, visitor_number, watched].hash
435
+ [affiliate_email, affiliate_id, communications_campaign_name, communications_email_subject, communications_flow_name, email, email_domain, email_identified, end_timestamp, esp_customer_uuid, favorite, geolocation, geolocation_country, geolocation_state, language_iso_code, last_x_days, max_filter_values, order_id, page_view_count, page_views, placed_order, preferred_language, referrer_domain, screen_recording_uuids, screen_sizes, skip_filter_values, skip_hits, start_timestamp, tags, time_on_site, user_agent_device_name, user_agent_name, user_agent_original, user_agent_os_name, user_agent_os_version, user_ip, utm_campaign, utm_source, visitor_number, watched].hash
328
436
  end
329
437
 
330
438
  # Builds the object from hash
@@ -14,15 +14,31 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class ScreenRecordingFilterValues
17
- attr_accessor :events
17
+ attr_accessor :communications_campaign_names
18
+
19
+ attr_accessor :communications_email_subjects
20
+
21
+ attr_accessor :communications_flow_names
22
+
23
+ attr_accessor :email_domains
18
24
 
19
25
  attr_accessor :geolocation_countries
20
26
 
21
27
  attr_accessor :geolocation_states
22
28
 
29
+ attr_accessor :language_iso_codes
30
+
23
31
  attr_accessor :max_values
24
32
 
25
- attr_accessor :page_params
33
+ attr_accessor :page_views
34
+
35
+ attr_accessor :preferred_languages
36
+
37
+ attr_accessor :referrer_domains
38
+
39
+ attr_accessor :time_on_site_max
40
+
41
+ attr_accessor :time_on_site_min
26
42
 
27
43
  attr_accessor :urls
28
44
 
@@ -36,37 +52,61 @@ module UltracartClient
36
52
 
37
53
  attr_accessor :user_agent_originals
38
54
 
55
+ attr_accessor :utm_campaigns
56
+
57
+ attr_accessor :utm_sources
58
+
39
59
  # Attribute mapping from ruby-style variable name to JSON key.
40
60
  def self.attribute_map
41
61
  {
42
- :'events' => :'events',
62
+ :'communications_campaign_names' => :'communications_campaign_names',
63
+ :'communications_email_subjects' => :'communications_email_subjects',
64
+ :'communications_flow_names' => :'communications_flow_names',
65
+ :'email_domains' => :'email_domains',
43
66
  :'geolocation_countries' => :'geolocation_countries',
44
67
  :'geolocation_states' => :'geolocation_states',
68
+ :'language_iso_codes' => :'language_iso_codes',
45
69
  :'max_values' => :'max_values',
46
- :'page_params' => :'page_params',
70
+ :'page_views' => :'page_views',
71
+ :'preferred_languages' => :'preferred_languages',
72
+ :'referrer_domains' => :'referrer_domains',
73
+ :'time_on_site_max' => :'time_on_site_max',
74
+ :'time_on_site_min' => :'time_on_site_min',
47
75
  :'urls' => :'urls',
48
76
  :'user_agent_device_names' => :'user_agent_device_names',
49
77
  :'user_agent_device_os_names' => :'user_agent_device_os_names',
50
78
  :'user_agent_device_os_versions' => :'user_agent_device_os_versions',
51
79
  :'user_agent_names' => :'user_agent_names',
52
- :'user_agent_originals' => :'user_agent_originals'
80
+ :'user_agent_originals' => :'user_agent_originals',
81
+ :'utm_campaigns' => :'utm_campaigns',
82
+ :'utm_sources' => :'utm_sources'
53
83
  }
54
84
  end
55
85
 
56
86
  # Attribute type mapping.
57
87
  def self.swagger_types
58
88
  {
59
- :'events' => :'Array<ScreenRecordingFilterValuesEvent>',
89
+ :'communications_campaign_names' => :'Array<String>',
90
+ :'communications_email_subjects' => :'Array<String>',
91
+ :'communications_flow_names' => :'Array<String>',
92
+ :'email_domains' => :'Array<String>',
60
93
  :'geolocation_countries' => :'Array<String>',
61
94
  :'geolocation_states' => :'Array<String>',
95
+ :'language_iso_codes' => :'Array<String>',
62
96
  :'max_values' => :'Integer',
63
- :'page_params' => :'Array<ScreenRecordingFilterValuesPageParam>',
97
+ :'page_views' => :'Array<ScreenRecordingFilterValuesPageView>',
98
+ :'preferred_languages' => :'Array<String>',
99
+ :'referrer_domains' => :'Array<String>',
100
+ :'time_on_site_max' => :'Integer',
101
+ :'time_on_site_min' => :'Integer',
64
102
  :'urls' => :'Array<String>',
65
103
  :'user_agent_device_names' => :'Array<String>',
66
104
  :'user_agent_device_os_names' => :'Array<String>',
67
105
  :'user_agent_device_os_versions' => :'Array<String>',
68
106
  :'user_agent_names' => :'Array<String>',
69
- :'user_agent_originals' => :'Array<String>'
107
+ :'user_agent_originals' => :'Array<String>',
108
+ :'utm_campaigns' => :'Array<String>',
109
+ :'utm_sources' => :'Array<String>'
70
110
  }
71
111
  end
72
112
 
@@ -78,9 +118,27 @@ module UltracartClient
78
118
  # convert string to symbol for hash key
79
119
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
80
120
 
81
- if attributes.has_key?(:'events')
82
- if (value = attributes[:'events']).is_a?(Array)
83
- self.events = value
121
+ if attributes.has_key?(:'communications_campaign_names')
122
+ if (value = attributes[:'communications_campaign_names']).is_a?(Array)
123
+ self.communications_campaign_names = value
124
+ end
125
+ end
126
+
127
+ if attributes.has_key?(:'communications_email_subjects')
128
+ if (value = attributes[:'communications_email_subjects']).is_a?(Array)
129
+ self.communications_email_subjects = value
130
+ end
131
+ end
132
+
133
+ if attributes.has_key?(:'communications_flow_names')
134
+ if (value = attributes[:'communications_flow_names']).is_a?(Array)
135
+ self.communications_flow_names = value
136
+ end
137
+ end
138
+
139
+ if attributes.has_key?(:'email_domains')
140
+ if (value = attributes[:'email_domains']).is_a?(Array)
141
+ self.email_domains = value
84
142
  end
85
143
  end
86
144
 
@@ -96,16 +154,42 @@ module UltracartClient
96
154
  end
97
155
  end
98
156
 
157
+ if attributes.has_key?(:'language_iso_codes')
158
+ if (value = attributes[:'language_iso_codes']).is_a?(Array)
159
+ self.language_iso_codes = value
160
+ end
161
+ end
162
+
99
163
  if attributes.has_key?(:'max_values')
100
164
  self.max_values = attributes[:'max_values']
101
165
  end
102
166
 
103
- if attributes.has_key?(:'page_params')
104
- if (value = attributes[:'page_params']).is_a?(Array)
105
- self.page_params = value
167
+ if attributes.has_key?(:'page_views')
168
+ if (value = attributes[:'page_views']).is_a?(Array)
169
+ self.page_views = value
170
+ end
171
+ end
172
+
173
+ if attributes.has_key?(:'preferred_languages')
174
+ if (value = attributes[:'preferred_languages']).is_a?(Array)
175
+ self.preferred_languages = value
106
176
  end
107
177
  end
108
178
 
179
+ if attributes.has_key?(:'referrer_domains')
180
+ if (value = attributes[:'referrer_domains']).is_a?(Array)
181
+ self.referrer_domains = value
182
+ end
183
+ end
184
+
185
+ if attributes.has_key?(:'time_on_site_max')
186
+ self.time_on_site_max = attributes[:'time_on_site_max']
187
+ end
188
+
189
+ if attributes.has_key?(:'time_on_site_min')
190
+ self.time_on_site_min = attributes[:'time_on_site_min']
191
+ end
192
+
109
193
  if attributes.has_key?(:'urls')
110
194
  if (value = attributes[:'urls']).is_a?(Array)
111
195
  self.urls = value
@@ -141,6 +225,18 @@ module UltracartClient
141
225
  self.user_agent_originals = value
142
226
  end
143
227
  end
228
+
229
+ if attributes.has_key?(:'utm_campaigns')
230
+ if (value = attributes[:'utm_campaigns']).is_a?(Array)
231
+ self.utm_campaigns = value
232
+ end
233
+ end
234
+
235
+ if attributes.has_key?(:'utm_sources')
236
+ if (value = attributes[:'utm_sources']).is_a?(Array)
237
+ self.utm_sources = value
238
+ end
239
+ end
144
240
  end
145
241
 
146
242
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -161,17 +257,27 @@ module UltracartClient
161
257
  def ==(o)
162
258
  return true if self.equal?(o)
163
259
  self.class == o.class &&
164
- events == o.events &&
260
+ communications_campaign_names == o.communications_campaign_names &&
261
+ communications_email_subjects == o.communications_email_subjects &&
262
+ communications_flow_names == o.communications_flow_names &&
263
+ email_domains == o.email_domains &&
165
264
  geolocation_countries == o.geolocation_countries &&
166
265
  geolocation_states == o.geolocation_states &&
266
+ language_iso_codes == o.language_iso_codes &&
167
267
  max_values == o.max_values &&
168
- page_params == o.page_params &&
268
+ page_views == o.page_views &&
269
+ preferred_languages == o.preferred_languages &&
270
+ referrer_domains == o.referrer_domains &&
271
+ time_on_site_max == o.time_on_site_max &&
272
+ time_on_site_min == o.time_on_site_min &&
169
273
  urls == o.urls &&
170
274
  user_agent_device_names == o.user_agent_device_names &&
171
275
  user_agent_device_os_names == o.user_agent_device_os_names &&
172
276
  user_agent_device_os_versions == o.user_agent_device_os_versions &&
173
277
  user_agent_names == o.user_agent_names &&
174
- user_agent_originals == o.user_agent_originals
278
+ user_agent_originals == o.user_agent_originals &&
279
+ utm_campaigns == o.utm_campaigns &&
280
+ utm_sources == o.utm_sources
175
281
  end
176
282
 
177
283
  # @see the `==` method
@@ -183,7 +289,7 @@ module UltracartClient
183
289
  # Calculates hash code according to all attributes.
184
290
  # @return [Fixnum] Hash code
185
291
  def hash
186
- [events, geolocation_countries, geolocation_states, max_values, page_params, urls, user_agent_device_names, user_agent_device_os_names, user_agent_device_os_versions, user_agent_names, user_agent_originals].hash
292
+ [communications_campaign_names, communications_email_subjects, communications_flow_names, email_domains, geolocation_countries, geolocation_states, language_iso_codes, max_values, page_views, preferred_languages, referrer_domains, time_on_site_max, time_on_site_min, urls, user_agent_device_names, user_agent_device_os_names, user_agent_device_os_versions, user_agent_names, user_agent_originals, utm_campaigns, utm_sources].hash
187
293
  end
188
294
 
189
295
  # Builds the object from hash