ultracart_api 3.1.17 → 3.1.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +33 -4
  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/OrderApi.md +5 -1
  9. data/docs/OrderProcessPaymentRequest.md +1 -0
  10. data/docs/OrderQuery.md +3 -1
  11. data/docs/OrderSummary.md +1 -0
  12. data/docs/ScreenRecording.md +13 -0
  13. data/docs/ScreenRecordingAdPlatform.md +13 -0
  14. data/docs/ScreenRecordingFilter.md +12 -0
  15. data/docs/ScreenRecordingFilterPageView.md +1 -0
  16. data/docs/ScreenRecordingFilterValues.md +12 -2
  17. data/docs/ScreenRecordingFilterValuesPageView.md +13 -0
  18. data/docs/ScreenRecordingHeatmap.md +19 -0
  19. data/docs/ScreenRecordingHeatmapIndexResponse.md +12 -0
  20. data/docs/ScreenRecordingHeatmapRequest.md +9 -0
  21. data/docs/ScreenRecordingHeatmapReset.md +8 -0
  22. data/docs/ScreenRecordingHeatmapResponse.md +12 -0
  23. data/docs/ScreenRecordingHeatmapUrl.md +12 -0
  24. data/docs/ScreenRecordingPageView.md +3 -0
  25. data/docs/ScreenRecordingPageViewEvent.md +1 -0
  26. data/docs/ScreenRecordingQueryResponse.md +3 -0
  27. data/docs/ScreenRecordingSegment.md +3 -0
  28. data/docs/ScreenRecordingSettings.md +5 -0
  29. data/docs/StorefrontApi.md +158 -0
  30. data/docs/TaxJarConfig.md +1 -0
  31. data/lib/ultracart_api.rb +8 -0
  32. data/lib/ultracart_api/api/order_api.rb +8 -2
  33. data/lib/ultracart_api/api/storefront_api.rb +176 -0
  34. data/lib/ultracart_api/models/coupon_percent_off_msrp_items.rb +1 -1
  35. data/lib/ultracart_api/models/customer_loyalty.rb +11 -1
  36. data/lib/ultracart_api/models/email_campaign.rb +12 -2
  37. data/lib/ultracart_api/models/email_flow.rb +12 -2
  38. data/lib/ultracart_api/models/library_item_attribute.rb +1 -10
  39. data/lib/ultracart_api/models/order_process_payment_request.rb +11 -1
  40. data/lib/ultracart_api/models/order_query.rb +22 -2
  41. data/lib/ultracart_api/models/order_summary.rb +10 -1
  42. data/lib/ultracart_api/models/screen_recording.rb +128 -1
  43. data/lib/ultracart_api/models/screen_recording_ad_platform.rb +235 -0
  44. data/lib/ultracart_api/models/screen_recording_filter.rb +109 -1
  45. data/lib/ultracart_api/models/screen_recording_filter_page_view.rb +10 -1
  46. data/lib/ultracart_api/models/screen_recording_filter_values.rb +124 -18
  47. data/lib/ultracart_api/models/screen_recording_filter_values_page_view.rb +237 -0
  48. data/lib/ultracart_api/models/screen_recording_heatmap.rb +283 -0
  49. data/lib/ultracart_api/models/screen_recording_heatmap_index_response.rb +223 -0
  50. data/lib/ultracart_api/models/screen_recording_heatmap_request.rb +193 -0
  51. data/lib/ultracart_api/models/screen_recording_heatmap_reset.rb +184 -0
  52. data/lib/ultracart_api/models/screen_recording_heatmap_response.rb +221 -0
  53. data/lib/ultracart_api/models/screen_recording_heatmap_url.rb +222 -0
  54. data/lib/ultracart_api/models/screen_recording_page_view.rb +30 -1
  55. data/lib/ultracart_api/models/screen_recording_page_view_event.rb +10 -1
  56. data/lib/ultracart_api/models/screen_recording_query_response.rb +30 -1
  57. data/lib/ultracart_api/models/screen_recording_segment.rb +30 -1
  58. data/lib/ultracart_api/models/screen_recording_settings.rb +49 -4
  59. data/lib/ultracart_api/models/tax_jar_config.rb +11 -1
  60. data/lib/ultracart_api/version.rb +1 -1
  61. 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
@@ -29,6 +29,9 @@ module UltracartClient
29
29
  # Send test orders through to TaxJar. The default is to not transmit test orders to TaxJar.
30
30
  attr_accessor :send_test_orders
31
31
 
32
+ # Do not send channel partner orders to TaxJar. Set this to true if your channel partner reports tax on their own.
33
+ attr_accessor :skip_channel_orders
34
+
32
35
  # Use distribution center from address
33
36
  attr_accessor :use_distribution_center_from
34
37
 
@@ -40,6 +43,7 @@ module UltracartClient
40
43
  :'estimate_only' => :'estimate_only',
41
44
  :'send_outside_nexus' => :'send_outside_nexus',
42
45
  :'send_test_orders' => :'send_test_orders',
46
+ :'skip_channel_orders' => :'skip_channel_orders',
43
47
  :'use_distribution_center_from' => :'use_distribution_center_from'
44
48
  }
45
49
  end
@@ -52,6 +56,7 @@ module UltracartClient
52
56
  :'estimate_only' => :'BOOLEAN',
53
57
  :'send_outside_nexus' => :'BOOLEAN',
54
58
  :'send_test_orders' => :'BOOLEAN',
59
+ :'skip_channel_orders' => :'BOOLEAN',
55
60
  :'use_distribution_center_from' => :'BOOLEAN'
56
61
  }
57
62
  end
@@ -84,6 +89,10 @@ module UltracartClient
84
89
  self.send_test_orders = attributes[:'send_test_orders']
85
90
  end
86
91
 
92
+ if attributes.has_key?(:'skip_channel_orders')
93
+ self.skip_channel_orders = attributes[:'skip_channel_orders']
94
+ end
95
+
87
96
  if attributes.has_key?(:'use_distribution_center_from')
88
97
  self.use_distribution_center_from = attributes[:'use_distribution_center_from']
89
98
  end
@@ -112,6 +121,7 @@ module UltracartClient
112
121
  estimate_only == o.estimate_only &&
113
122
  send_outside_nexus == o.send_outside_nexus &&
114
123
  send_test_orders == o.send_test_orders &&
124
+ skip_channel_orders == o.skip_channel_orders &&
115
125
  use_distribution_center_from == o.use_distribution_center_from
116
126
  end
117
127
 
@@ -124,7 +134,7 @@ module UltracartClient
124
134
  # Calculates hash code according to all attributes.
125
135
  # @return [Fixnum] Hash code
126
136
  def hash
127
- [active, api_key, estimate_only, send_outside_nexus, send_test_orders, use_distribution_center_from].hash
137
+ [active, api_key, estimate_only, send_outside_nexus, send_test_orders, skip_channel_orders, use_distribution_center_from].hash
128
138
  end
129
139
 
130
140
  # 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.17'
14
+ VERSION = '3.1.41'
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.17
4
+ version: 3.1.41
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-21 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