ultracart_api 3.1.18 → 3.1.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -81
  3. data/docs/CouponPercentOffMsrpItems.md +1 -1
  4. data/docs/CustomerLoyalty.md +1 -0
  5. data/docs/EmailCampaign.md +2 -1
  6. data/docs/EmailFlow.md +2 -1
  7. data/docs/LibraryItemAttribute.md +0 -1
  8. data/docs/OrderProcessPaymentRequest.md +1 -0
  9. data/docs/ScreenRecording.md +13 -0
  10. data/docs/ScreenRecordingAdPlatform.md +13 -0
  11. data/docs/ScreenRecordingFilter.md +12 -0
  12. data/docs/ScreenRecordingFilterValues.md +12 -2
  13. data/docs/ScreenRecordingFilterValuesPageView.md +12 -0
  14. data/docs/ScreenRecordingPageView.md +2 -0
  15. data/docs/ScreenRecordingPageViewEvent.md +1 -0
  16. data/docs/ScreenRecordingQueryResponse.md +3 -0
  17. data/docs/ScreenRecordingSegment.md +3 -0
  18. data/docs/ScreenRecordingSettings.md +5 -0
  19. data/lib/ultracart_api.rb +2 -0
  20. data/lib/ultracart_api/models/coupon_percent_off_msrp_items.rb +1 -1
  21. data/lib/ultracart_api/models/customer_loyalty.rb +11 -1
  22. data/lib/ultracart_api/models/email_campaign.rb +12 -2
  23. data/lib/ultracart_api/models/email_flow.rb +12 -2
  24. data/lib/ultracart_api/models/library_item_attribute.rb +1 -10
  25. data/lib/ultracart_api/models/order_process_payment_request.rb +11 -1
  26. data/lib/ultracart_api/models/screen_recording.rb +128 -1
  27. data/lib/ultracart_api/models/screen_recording_ad_platform.rb +235 -0
  28. data/lib/ultracart_api/models/screen_recording_filter.rb +109 -1
  29. data/lib/ultracart_api/models/screen_recording_filter_values.rb +124 -18
  30. data/lib/ultracart_api/models/screen_recording_filter_values_page_view.rb +226 -0
  31. data/lib/ultracart_api/models/screen_recording_page_view.rb +21 -1
  32. data/lib/ultracart_api/models/screen_recording_page_view_event.rb +10 -1
  33. data/lib/ultracart_api/models/screen_recording_query_response.rb +30 -1
  34. data/lib/ultracart_api/models/screen_recording_segment.rb +30 -1
  35. data/lib/ultracart_api/models/screen_recording_settings.rb +49 -4
  36. data/lib/ultracart_api/version.rb +1 -1
  37. metadata +6 -2
@@ -42,6 +42,12 @@ module UltracartClient
42
42
 
43
43
  attr_accessor :time_on_page
44
44
 
45
+ # Amount of time for DOMContentLoaded event to fire (milliseconds)
46
+ attr_accessor :timing_dom_content_loaded
47
+
48
+ # Amount of time for loaded event to fire (milliseconds)
49
+ attr_accessor :timing_loaded
50
+
45
51
  attr_accessor :truncated_events
46
52
 
47
53
  attr_accessor :ucapv
@@ -64,6 +70,8 @@ module UltracartClient
64
70
  :'referrer_raw' => :'referrer_raw',
65
71
  :'screen_recording_page_view_uuid' => :'screen_recording_page_view_uuid',
66
72
  :'time_on_page' => :'time_on_page',
73
+ :'timing_dom_content_loaded' => :'timing_dom_content_loaded',
74
+ :'timing_loaded' => :'timing_loaded',
67
75
  :'truncated_events' => :'truncated_events',
68
76
  :'ucapv' => :'ucapv',
69
77
  :'url' => :'url'
@@ -86,6 +94,8 @@ module UltracartClient
86
94
  :'referrer_raw' => :'String',
87
95
  :'screen_recording_page_view_uuid' => :'String',
88
96
  :'time_on_page' => :'Integer',
97
+ :'timing_dom_content_loaded' => :'Integer',
98
+ :'timing_loaded' => :'Integer',
89
99
  :'truncated_events' => :'BOOLEAN',
90
100
  :'ucapv' => :'String',
91
101
  :'url' => :'String'
@@ -158,6 +168,14 @@ module UltracartClient
158
168
  self.time_on_page = attributes[:'time_on_page']
159
169
  end
160
170
 
171
+ if attributes.has_key?(:'timing_dom_content_loaded')
172
+ self.timing_dom_content_loaded = attributes[:'timing_dom_content_loaded']
173
+ end
174
+
175
+ if attributes.has_key?(:'timing_loaded')
176
+ self.timing_loaded = attributes[:'timing_loaded']
177
+ end
178
+
161
179
  if attributes.has_key?(:'truncated_events')
162
180
  self.truncated_events = attributes[:'truncated_events']
163
181
  end
@@ -202,6 +220,8 @@ module UltracartClient
202
220
  referrer_raw == o.referrer_raw &&
203
221
  screen_recording_page_view_uuid == o.screen_recording_page_view_uuid &&
204
222
  time_on_page == o.time_on_page &&
223
+ timing_dom_content_loaded == o.timing_dom_content_loaded &&
224
+ timing_loaded == o.timing_loaded &&
205
225
  truncated_events == o.truncated_events &&
206
226
  ucapv == o.ucapv &&
207
227
  url == o.url
@@ -216,7 +236,7 @@ module UltracartClient
216
236
  # Calculates hash code according to all attributes.
217
237
  # @return [Fixnum] Hash code
218
238
  def hash
219
- [events, first_event_timestamp, http_post, last_event_timestamp, missing_events, params, range_end, range_start, referrer, referrer_params, referrer_raw, screen_recording_page_view_uuid, time_on_page, truncated_events, ucapv, url].hash
239
+ [events, first_event_timestamp, http_post, last_event_timestamp, missing_events, params, range_end, range_start, referrer, referrer_params, referrer_raw, screen_recording_page_view_uuid, time_on_page, timing_dom_content_loaded, timing_loaded, truncated_events, ucapv, url].hash
220
240
  end
221
241
 
222
242
  # Builds the object from hash
@@ -18,6 +18,8 @@ module UltracartClient
18
18
 
19
19
  attr_accessor :params
20
20
 
21
+ attr_accessor :prior_page_view
22
+
21
23
  # Timestamp of the event
22
24
  attr_accessor :timestamp
23
25
 
@@ -28,6 +30,7 @@ module UltracartClient
28
30
  {
29
31
  :'name' => :'name',
30
32
  :'params' => :'params',
33
+ :'prior_page_view' => :'prior_page_view',
31
34
  :'timestamp' => :'timestamp',
32
35
  :'ts' => :'ts'
33
36
  }
@@ -38,6 +41,7 @@ module UltracartClient
38
41
  {
39
42
  :'name' => :'String',
40
43
  :'params' => :'Array<ScreenRecordingPageViewEventParameter>',
44
+ :'prior_page_view' => :'BOOLEAN',
41
45
  :'timestamp' => :'String',
42
46
  :'ts' => :'Integer'
43
47
  }
@@ -61,6 +65,10 @@ module UltracartClient
61
65
  end
62
66
  end
63
67
 
68
+ if attributes.has_key?(:'prior_page_view')
69
+ self.prior_page_view = attributes[:'prior_page_view']
70
+ end
71
+
64
72
  if attributes.has_key?(:'timestamp')
65
73
  self.timestamp = attributes[:'timestamp']
66
74
  end
@@ -90,6 +98,7 @@ module UltracartClient
90
98
  self.class == o.class &&
91
99
  name == o.name &&
92
100
  params == o.params &&
101
+ prior_page_view == o.prior_page_view &&
93
102
  timestamp == o.timestamp &&
94
103
  ts == o.ts
95
104
  end
@@ -103,7 +112,7 @@ module UltracartClient
103
112
  # Calculates hash code according to all attributes.
104
113
  # @return [Fixnum] Hash code
105
114
  def hash
106
- [name, params, timestamp, ts].hash
115
+ [name, params, prior_page_view, timestamp, ts].hash
107
116
  end
108
117
 
109
118
  # Builds the object from hash
@@ -20,6 +20,12 @@ module UltracartClient
20
20
 
21
21
  attr_accessor :filter_values
22
22
 
23
+ attr_accessor :histogram_data
24
+
25
+ attr_accessor :histogram_interval
26
+
27
+ attr_accessor :histogram_start_dts
28
+
23
29
  attr_accessor :metadata
24
30
 
25
31
  attr_accessor :screen_recordings
@@ -35,6 +41,9 @@ module UltracartClient
35
41
  :'error' => :'error',
36
42
  :'filter' => :'filter',
37
43
  :'filter_values' => :'filter_values',
44
+ :'histogram_data' => :'histogram_data',
45
+ :'histogram_interval' => :'histogram_interval',
46
+ :'histogram_start_dts' => :'histogram_start_dts',
38
47
  :'metadata' => :'metadata',
39
48
  :'screen_recordings' => :'screen_recordings',
40
49
  :'success' => :'success',
@@ -48,6 +57,9 @@ module UltracartClient
48
57
  :'error' => :'Error',
49
58
  :'filter' => :'ScreenRecordingFilter',
50
59
  :'filter_values' => :'ScreenRecordingFilterValues',
60
+ :'histogram_data' => :'Array<Integer>',
61
+ :'histogram_interval' => :'String',
62
+ :'histogram_start_dts' => :'String',
51
63
  :'metadata' => :'ResponseMetadata',
52
64
  :'screen_recordings' => :'Array<ScreenRecording>',
53
65
  :'success' => :'BOOLEAN',
@@ -75,6 +87,20 @@ module UltracartClient
75
87
  self.filter_values = attributes[:'filter_values']
76
88
  end
77
89
 
90
+ if attributes.has_key?(:'histogram_data')
91
+ if (value = attributes[:'histogram_data']).is_a?(Array)
92
+ self.histogram_data = value
93
+ end
94
+ end
95
+
96
+ if attributes.has_key?(:'histogram_interval')
97
+ self.histogram_interval = attributes[:'histogram_interval']
98
+ end
99
+
100
+ if attributes.has_key?(:'histogram_start_dts')
101
+ self.histogram_start_dts = attributes[:'histogram_start_dts']
102
+ end
103
+
78
104
  if attributes.has_key?(:'metadata')
79
105
  self.metadata = attributes[:'metadata']
80
106
  end
@@ -115,6 +141,9 @@ module UltracartClient
115
141
  error == o.error &&
116
142
  filter == o.filter &&
117
143
  filter_values == o.filter_values &&
144
+ histogram_data == o.histogram_data &&
145
+ histogram_interval == o.histogram_interval &&
146
+ histogram_start_dts == o.histogram_start_dts &&
118
147
  metadata == o.metadata &&
119
148
  screen_recordings == o.screen_recordings &&
120
149
  success == o.success &&
@@ -130,7 +159,7 @@ module UltracartClient
130
159
  # Calculates hash code according to all attributes.
131
160
  # @return [Fixnum] Hash code
132
161
  def hash
133
- [error, filter, filter_values, metadata, screen_recordings, success, warning].hash
162
+ [error, filter, filter_values, histogram_data, histogram_interval, histogram_start_dts, metadata, screen_recordings, success, warning].hash
134
163
  end
135
164
 
136
165
  # Builds the object from hash
@@ -20,6 +20,12 @@ module UltracartClient
20
20
 
21
21
  attr_accessor :filter
22
22
 
23
+ attr_accessor :histogram_data
24
+
25
+ attr_accessor :histogram_interval
26
+
27
+ attr_accessor :histogram_start_dts
28
+
23
29
  attr_accessor :name
24
30
 
25
31
  attr_accessor :screen_recording_segment_oid
@@ -34,6 +40,9 @@ module UltracartClient
34
40
  :'create_dts' => :'create_dts',
35
41
  :'description' => :'description',
36
42
  :'filter' => :'filter',
43
+ :'histogram_data' => :'histogram_data',
44
+ :'histogram_interval' => :'histogram_interval',
45
+ :'histogram_start_dts' => :'histogram_start_dts',
37
46
  :'name' => :'name',
38
47
  :'screen_recording_segment_oid' => :'screen_recording_segment_oid',
39
48
  :'session_count' => :'session_count',
@@ -47,6 +56,9 @@ module UltracartClient
47
56
  :'create_dts' => :'String',
48
57
  :'description' => :'String',
49
58
  :'filter' => :'ScreenRecordingFilter',
59
+ :'histogram_data' => :'Array<Integer>',
60
+ :'histogram_interval' => :'String',
61
+ :'histogram_start_dts' => :'String',
50
62
  :'name' => :'String',
51
63
  :'screen_recording_segment_oid' => :'Integer',
52
64
  :'session_count' => :'Integer',
@@ -74,6 +86,20 @@ module UltracartClient
74
86
  self.filter = attributes[:'filter']
75
87
  end
76
88
 
89
+ if attributes.has_key?(:'histogram_data')
90
+ if (value = attributes[:'histogram_data']).is_a?(Array)
91
+ self.histogram_data = value
92
+ end
93
+ end
94
+
95
+ if attributes.has_key?(:'histogram_interval')
96
+ self.histogram_interval = attributes[:'histogram_interval']
97
+ end
98
+
99
+ if attributes.has_key?(:'histogram_start_dts')
100
+ self.histogram_start_dts = attributes[:'histogram_start_dts']
101
+ end
102
+
77
103
  if attributes.has_key?(:'name')
78
104
  self.name = attributes[:'name']
79
105
  end
@@ -112,6 +138,9 @@ module UltracartClient
112
138
  create_dts == o.create_dts &&
113
139
  description == o.description &&
114
140
  filter == o.filter &&
141
+ histogram_data == o.histogram_data &&
142
+ histogram_interval == o.histogram_interval &&
143
+ histogram_start_dts == o.histogram_start_dts &&
115
144
  name == o.name &&
116
145
  screen_recording_segment_oid == o.screen_recording_segment_oid &&
117
146
  session_count == o.session_count &&
@@ -127,7 +156,7 @@ module UltracartClient
127
156
  # Calculates hash code according to all attributes.
128
157
  # @return [Fixnum] Hash code
129
158
  def hash
130
- [create_dts, description, filter, name, screen_recording_segment_oid, session_count, session_count_last_update_dts].hash
159
+ [create_dts, description, filter, histogram_data, histogram_interval, histogram_start_dts, name, screen_recording_segment_oid, session_count, session_count_last_update_dts].hash
131
160
  end
132
161
 
133
162
  # Builds the object from hash
@@ -16,17 +16,37 @@ module UltracartClient
16
16
  class ScreenRecordingSettings
17
17
  attr_accessor :enabled
18
18
 
19
+ attr_accessor :sessions_current_billing_period
20
+
21
+ attr_accessor :sessions_last_billing_period
22
+
23
+ attr_accessor :sessions_trial_billing_period
24
+
25
+ attr_accessor :trial_expiration
26
+
27
+ attr_accessor :trial_expired
28
+
19
29
  # Attribute mapping from ruby-style variable name to JSON key.
20
30
  def self.attribute_map
21
31
  {
22
- :'enabled' => :'enabled'
32
+ :'enabled' => :'enabled',
33
+ :'sessions_current_billing_period' => :'sessions_current_billing_period',
34
+ :'sessions_last_billing_period' => :'sessions_last_billing_period',
35
+ :'sessions_trial_billing_period' => :'sessions_trial_billing_period',
36
+ :'trial_expiration' => :'trial_expiration',
37
+ :'trial_expired' => :'trial_expired'
23
38
  }
24
39
  end
25
40
 
26
41
  # Attribute type mapping.
27
42
  def self.swagger_types
28
43
  {
29
- :'enabled' => :'BOOLEAN'
44
+ :'enabled' => :'BOOLEAN',
45
+ :'sessions_current_billing_period' => :'Integer',
46
+ :'sessions_last_billing_period' => :'Integer',
47
+ :'sessions_trial_billing_period' => :'Integer',
48
+ :'trial_expiration' => :'String',
49
+ :'trial_expired' => :'BOOLEAN'
30
50
  }
31
51
  end
32
52
 
@@ -41,6 +61,26 @@ module UltracartClient
41
61
  if attributes.has_key?(:'enabled')
42
62
  self.enabled = attributes[:'enabled']
43
63
  end
64
+
65
+ if attributes.has_key?(:'sessions_current_billing_period')
66
+ self.sessions_current_billing_period = attributes[:'sessions_current_billing_period']
67
+ end
68
+
69
+ if attributes.has_key?(:'sessions_last_billing_period')
70
+ self.sessions_last_billing_period = attributes[:'sessions_last_billing_period']
71
+ end
72
+
73
+ if attributes.has_key?(:'sessions_trial_billing_period')
74
+ self.sessions_trial_billing_period = attributes[:'sessions_trial_billing_period']
75
+ end
76
+
77
+ if attributes.has_key?(:'trial_expiration')
78
+ self.trial_expiration = attributes[:'trial_expiration']
79
+ end
80
+
81
+ if attributes.has_key?(:'trial_expired')
82
+ self.trial_expired = attributes[:'trial_expired']
83
+ end
44
84
  end
45
85
 
46
86
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -61,7 +101,12 @@ module UltracartClient
61
101
  def ==(o)
62
102
  return true if self.equal?(o)
63
103
  self.class == o.class &&
64
- enabled == o.enabled
104
+ enabled == o.enabled &&
105
+ sessions_current_billing_period == o.sessions_current_billing_period &&
106
+ sessions_last_billing_period == o.sessions_last_billing_period &&
107
+ sessions_trial_billing_period == o.sessions_trial_billing_period &&
108
+ trial_expiration == o.trial_expiration &&
109
+ trial_expired == o.trial_expired
65
110
  end
66
111
 
67
112
  # @see the `==` method
@@ -73,7 +118,7 @@ module UltracartClient
73
118
  # Calculates hash code according to all attributes.
74
119
  # @return [Fixnum] Hash code
75
120
  def hash
76
- [enabled].hash
121
+ [enabled, sessions_current_billing_period, sessions_last_billing_period, sessions_trial_billing_period, trial_expiration, trial_expired].hash
77
122
  end
78
123
 
79
124
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.1.18'
14
+ VERSION = '3.1.37'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.18
4
+ version: 3.1.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-17 00:00:00.000000000 Z
11
+ date: 2021-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -680,6 +680,7 @@ files:
680
680
  - docs/ResponseMetadata.md
681
681
  - docs/ResultSet.md
682
682
  - docs/ScreenRecording.md
683
+ - docs/ScreenRecordingAdPlatform.md
683
684
  - docs/ScreenRecordingFilter.md
684
685
  - docs/ScreenRecordingFilterGeoDistance.md
685
686
  - docs/ScreenRecordingFilterIpSearch.md
@@ -696,6 +697,7 @@ files:
696
697
  - docs/ScreenRecordingFilterValuesEvent.md
697
698
  - docs/ScreenRecordingFilterValuesEventParams.md
698
699
  - docs/ScreenRecordingFilterValuesPageParam.md
700
+ - docs/ScreenRecordingFilterValuesPageView.md
699
701
  - docs/ScreenRecordingMerchantNotesRequest.md
700
702
  - docs/ScreenRecordingMultifield.md
701
703
  - docs/ScreenRecordingPageView.md
@@ -1268,6 +1270,7 @@ files:
1268
1270
  - lib/ultracart_api/models/response_metadata.rb
1269
1271
  - lib/ultracart_api/models/result_set.rb
1270
1272
  - lib/ultracart_api/models/screen_recording.rb
1273
+ - lib/ultracart_api/models/screen_recording_ad_platform.rb
1271
1274
  - lib/ultracart_api/models/screen_recording_filter.rb
1272
1275
  - lib/ultracart_api/models/screen_recording_filter_geo_distance.rb
1273
1276
  - lib/ultracart_api/models/screen_recording_filter_ip_search.rb
@@ -1284,6 +1287,7 @@ files:
1284
1287
  - lib/ultracart_api/models/screen_recording_filter_values_event.rb
1285
1288
  - lib/ultracart_api/models/screen_recording_filter_values_event_params.rb
1286
1289
  - lib/ultracart_api/models/screen_recording_filter_values_page_param.rb
1290
+ - lib/ultracart_api/models/screen_recording_filter_values_page_view.rb
1287
1291
  - lib/ultracart_api/models/screen_recording_merchant_notes_request.rb
1288
1292
  - lib/ultracart_api/models/screen_recording_multifield.rb
1289
1293
  - lib/ultracart_api/models/screen_recording_page_view.rb