ultracart_api 3.1.18 → 3.1.42

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +33 -4
  3. data/docs/CouponPercentOffMsrpItems.md +1 -1
  4. data/docs/CouponTierAmount.md +1 -0
  5. data/docs/CouponTierPercent.md +1 -0
  6. data/docs/CouponTierQuantityAmount.md +1 -0
  7. data/docs/CouponTierQuantityPercent.md +1 -0
  8. data/docs/CouponTieredPercentOffShipping.md +1 -0
  9. data/docs/CustomerLoyalty.md +1 -0
  10. data/docs/EmailCampaign.md +2 -1
  11. data/docs/EmailFlow.md +2 -1
  12. data/docs/LibraryItemAttribute.md +0 -1
  13. data/docs/OrderApi.md +1 -1
  14. data/docs/OrderProcessPaymentRequest.md +1 -0
  15. data/docs/OrderSummary.md +1 -0
  16. data/docs/ScreenRecording.md +13 -0
  17. data/docs/ScreenRecordingAdPlatform.md +13 -0
  18. data/docs/ScreenRecordingFilter.md +12 -0
  19. data/docs/ScreenRecordingFilterPageView.md +1 -0
  20. data/docs/ScreenRecordingFilterValues.md +12 -2
  21. data/docs/ScreenRecordingFilterValuesPageView.md +13 -0
  22. data/docs/ScreenRecordingHeatmap.md +19 -0
  23. data/docs/ScreenRecordingHeatmapIndexResponse.md +12 -0
  24. data/docs/ScreenRecordingHeatmapRequest.md +9 -0
  25. data/docs/ScreenRecordingHeatmapReset.md +8 -0
  26. data/docs/ScreenRecordingHeatmapResponse.md +12 -0
  27. data/docs/ScreenRecordingHeatmapUrl.md +12 -0
  28. data/docs/ScreenRecordingPageView.md +3 -0
  29. data/docs/ScreenRecordingPageViewEvent.md +1 -0
  30. data/docs/ScreenRecordingQueryResponse.md +3 -0
  31. data/docs/ScreenRecordingSegment.md +3 -0
  32. data/docs/ScreenRecordingSettings.md +5 -0
  33. data/docs/StorefrontApi.md +158 -0
  34. data/docs/WebhookLog.md +1 -0
  35. data/lib/ultracart_api.rb +8 -0
  36. data/lib/ultracart_api/api/order_api.rb +2 -2
  37. data/lib/ultracart_api/api/storefront_api.rb +176 -0
  38. data/lib/ultracart_api/models/coupon_percent_off_msrp_items.rb +1 -1
  39. data/lib/ultracart_api/models/coupon_tier_amount.rb +26 -1
  40. data/lib/ultracart_api/models/coupon_tier_percent.rb +26 -1
  41. data/lib/ultracart_api/models/coupon_tier_quantity_amount.rb +29 -4
  42. data/lib/ultracart_api/models/coupon_tier_quantity_percent.rb +29 -4
  43. data/lib/ultracart_api/models/coupon_tiered_percent_off_shipping.rb +26 -1
  44. data/lib/ultracart_api/models/customer_loyalty.rb +11 -1
  45. data/lib/ultracart_api/models/email_campaign.rb +12 -2
  46. data/lib/ultracart_api/models/email_flow.rb +12 -2
  47. data/lib/ultracart_api/models/library_item_attribute.rb +1 -10
  48. data/lib/ultracart_api/models/order_process_payment_request.rb +11 -1
  49. data/lib/ultracart_api/models/order_summary.rb +10 -1
  50. data/lib/ultracart_api/models/screen_recording.rb +128 -1
  51. data/lib/ultracart_api/models/screen_recording_ad_platform.rb +235 -0
  52. data/lib/ultracart_api/models/screen_recording_filter.rb +109 -1
  53. data/lib/ultracart_api/models/screen_recording_filter_page_view.rb +10 -1
  54. data/lib/ultracart_api/models/screen_recording_filter_values.rb +124 -18
  55. data/lib/ultracart_api/models/screen_recording_filter_values_page_view.rb +237 -0
  56. data/lib/ultracart_api/models/screen_recording_heatmap.rb +283 -0
  57. data/lib/ultracart_api/models/screen_recording_heatmap_index_response.rb +223 -0
  58. data/lib/ultracart_api/models/screen_recording_heatmap_request.rb +193 -0
  59. data/lib/ultracart_api/models/screen_recording_heatmap_reset.rb +184 -0
  60. data/lib/ultracart_api/models/screen_recording_heatmap_response.rb +221 -0
  61. data/lib/ultracart_api/models/screen_recording_heatmap_url.rb +222 -0
  62. data/lib/ultracart_api/models/screen_recording_page_view.rb +30 -1
  63. data/lib/ultracart_api/models/screen_recording_page_view_event.rb +10 -1
  64. data/lib/ultracart_api/models/screen_recording_query_response.rb +30 -1
  65. data/lib/ultracart_api/models/screen_recording_segment.rb +30 -1
  66. data/lib/ultracart_api/models/screen_recording_settings.rb +49 -4
  67. data/lib/ultracart_api/models/webhook_log.rb +11 -1
  68. data/lib/ultracart_api/version.rb +1 -1
  69. metadata +18 -2
@@ -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
@@ -20,6 +20,9 @@ module UltracartClient
20
20
  # Number of milliseconds to process the notification
21
21
  attr_accessor :duration
22
22
 
23
+ # Number of milliseconds of delay caused by queuing
24
+ attr_accessor :queue_delay
25
+
23
26
  # Request payload (first 100,000 characters)
24
27
  attr_accessor :request
25
28
 
@@ -49,6 +52,7 @@ module UltracartClient
49
52
  {
50
53
  :'delivery_dts' => :'delivery_dts',
51
54
  :'duration' => :'duration',
55
+ :'queue_delay' => :'queue_delay',
52
56
  :'request' => :'request',
53
57
  :'request_headers' => :'request_headers',
54
58
  :'request_id' => :'request_id',
@@ -65,6 +69,7 @@ module UltracartClient
65
69
  {
66
70
  :'delivery_dts' => :'String',
67
71
  :'duration' => :'Integer',
72
+ :'queue_delay' => :'Integer',
68
73
  :'request' => :'String',
69
74
  :'request_headers' => :'Array<HTTPHeader>',
70
75
  :'request_id' => :'String',
@@ -92,6 +97,10 @@ module UltracartClient
92
97
  self.duration = attributes[:'duration']
93
98
  end
94
99
 
100
+ if attributes.has_key?(:'queue_delay')
101
+ self.queue_delay = attributes[:'queue_delay']
102
+ end
103
+
95
104
  if attributes.has_key?(:'request')
96
105
  self.request = attributes[:'request']
97
106
  end
@@ -149,6 +158,7 @@ module UltracartClient
149
158
  self.class == o.class &&
150
159
  delivery_dts == o.delivery_dts &&
151
160
  duration == o.duration &&
161
+ queue_delay == o.queue_delay &&
152
162
  request == o.request &&
153
163
  request_headers == o.request_headers &&
154
164
  request_id == o.request_id &&
@@ -168,7 +178,7 @@ module UltracartClient
168
178
  # Calculates hash code according to all attributes.
169
179
  # @return [Fixnum] Hash code
170
180
  def hash
171
- [delivery_dts, duration, request, request_headers, request_id, response, response_headers, status_code, success, uri].hash
181
+ [delivery_dts, duration, queue_delay, request, request_headers, request_id, response, response_headers, status_code, success, uri].hash
172
182
  end
173
183
 
174
184
  # 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.42'
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.42
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-06-01 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,13 @@ files:
696
697
  - docs/ScreenRecordingFilterValuesEvent.md
697
698
  - docs/ScreenRecordingFilterValuesEventParams.md
698
699
  - docs/ScreenRecordingFilterValuesPageParam.md
700
+ - docs/ScreenRecordingFilterValuesPageView.md
701
+ - docs/ScreenRecordingHeatmap.md
702
+ - docs/ScreenRecordingHeatmapIndexResponse.md
703
+ - docs/ScreenRecordingHeatmapRequest.md
704
+ - docs/ScreenRecordingHeatmapReset.md
705
+ - docs/ScreenRecordingHeatmapResponse.md
706
+ - docs/ScreenRecordingHeatmapUrl.md
699
707
  - docs/ScreenRecordingMerchantNotesRequest.md
700
708
  - docs/ScreenRecordingMultifield.md
701
709
  - docs/ScreenRecordingPageView.md
@@ -1268,6 +1276,7 @@ files:
1268
1276
  - lib/ultracart_api/models/response_metadata.rb
1269
1277
  - lib/ultracart_api/models/result_set.rb
1270
1278
  - lib/ultracart_api/models/screen_recording.rb
1279
+ - lib/ultracart_api/models/screen_recording_ad_platform.rb
1271
1280
  - lib/ultracart_api/models/screen_recording_filter.rb
1272
1281
  - lib/ultracart_api/models/screen_recording_filter_geo_distance.rb
1273
1282
  - lib/ultracart_api/models/screen_recording_filter_ip_search.rb
@@ -1284,6 +1293,13 @@ files:
1284
1293
  - lib/ultracart_api/models/screen_recording_filter_values_event.rb
1285
1294
  - lib/ultracart_api/models/screen_recording_filter_values_event_params.rb
1286
1295
  - lib/ultracart_api/models/screen_recording_filter_values_page_param.rb
1296
+ - lib/ultracart_api/models/screen_recording_filter_values_page_view.rb
1297
+ - lib/ultracart_api/models/screen_recording_heatmap.rb
1298
+ - lib/ultracart_api/models/screen_recording_heatmap_index_response.rb
1299
+ - lib/ultracart_api/models/screen_recording_heatmap_request.rb
1300
+ - lib/ultracart_api/models/screen_recording_heatmap_reset.rb
1301
+ - lib/ultracart_api/models/screen_recording_heatmap_response.rb
1302
+ - lib/ultracart_api/models/screen_recording_heatmap_url.rb
1287
1303
  - lib/ultracart_api/models/screen_recording_merchant_notes_request.rb
1288
1304
  - lib/ultracart_api/models/screen_recording_multifield.rb
1289
1305
  - lib/ultracart_api/models/screen_recording_page_view.rb