ultracart_api 3.6.0 → 3.6.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aaa7a1b2bde05f09562e671fa2d7e7fec6b786162407c2738d6ee4a1a38b9628
4
- data.tar.gz: d45b6adeeb52433c9cae1b741dc910acadfada6d41e5a86eb9f6fdc48051f9c4
3
+ metadata.gz: fd4bf7891132f3b72bff15619c807d4c2f868fc92e59af46401c56163291d9e7
4
+ data.tar.gz: 94c6a2bba0d707f32ecba53eb9a4fba827d7a245efe47520479eea916f229494
5
5
  SHA512:
6
- metadata.gz: 48e75b409260fa0dbfcb56cbb035e21d81e3f29b8cdb1a14ca0a7495696eed453b6034fbdcdd1b63a73e61d183a15dc03c53dd3e0ea17b35d490754f29379434
7
- data.tar.gz: a0bfbc7b51782e9a8247e9f30e2df7eef930403ba48c536c27618604308e3c8e621464b9799875d63f562600c9db3a57f745bee388145c5515815c63810ed760
6
+ metadata.gz: ba7e94ccf816661d7e23da78c23bc582f693a0c9743fb2f33d9977edeecb4758b7edcb8d88dba64137d8e38195f91aa0a12a4e7600796263f13f4baad4873354
7
+ data.tar.gz: 287ef5cdb6ab2e22466b5d0560b83931596ed11eeda0317c023eb8d7def28f273785a529337aa2733356f1c1a6aebbd33d04eeaf2a908e48298a3f82e16be03c
data/README.md CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 3.6.0
10
+ - Package version: 3.6.1
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
13
13
 
@@ -24,15 +24,15 @@ gem build ultracart_api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ultracart_api-3.6.0.gem
27
+ gem install ./ultracart_api-3.6.1.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.6.0.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.6.1.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'ultracart_api', '~> 3.6.0'
35
+ gem 'ultracart_api', '~> 3.6.1'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1116,6 +1116,7 @@ Not every change is committed to every SDK.
1116
1116
 
1117
1117
  | Version | Date | Comments |
1118
1118
  | --: | :-: | --- |
1119
+ | 3.6.1 | 08/23/2021 | configuration api - enum problems |
1119
1120
  | 3.6.0 | 08/19/2021 | coupon api - changed tieredAmountOffItem to support mulitple items |
1120
1121
  | 3.5.3 | 08/18/2021 | configuration api - added credit card rate to UltraCart Payments object |
1121
1122
  | 3.5.1 | 08/11/2021 | email webhook test method |
@@ -26,6 +26,7 @@ Name | Type | Description | Notes
26
26
  **placed_order** | **BOOLEAN** | | [optional]
27
27
  **preferred_language** | [**ScreenRecordingFilterStringSearch**](ScreenRecordingFilterStringSearch.md) | | [optional]
28
28
  **referrer_domain** | **String** | | [optional]
29
+ **return_filter_values** | **Array<String>** | | [optional]
29
30
  **screen_recording_uuids** | **Array<String>** | | [optional]
30
31
  **screen_sizes** | **Array<String>** | | [optional]
31
32
  **skip_filter_values** | **BOOLEAN** | | [optional]
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **referrer** | [**ScreenRecordingFilterStringSearch**](ScreenRecordingFilterStringSearch.md) | | [optional]
10
10
  **referrer_params** | [**Array<ScreenRecordingFilterPageViewReferrerParam>**](ScreenRecordingFilterPageViewReferrerParam.md) | | [optional]
11
11
  **referrer_raw** | [**ScreenRecordingFilterStringSearch**](ScreenRecordingFilterStringSearch.md) | | [optional]
12
+ **return_filter_values** | **Array<String>** | | [optional]
12
13
  **time_on_page** | [**ScreenRecordingFilterRangeInteger**](ScreenRecordingFilterRangeInteger.md) | | [optional]
13
14
  **url** | [**ScreenRecordingFilterStringSearch**](ScreenRecordingFilterStringSearch.md) | | [optional]
14
15
 
@@ -165,7 +165,7 @@ module UltracartClient
165
165
  # Check to see if the all the properties in the model are valid
166
166
  # @return true if the model is valid
167
167
  def valid?
168
- credit_card_validator = EnumAttributeValidator.new('String', ['AMEX', 'Visa', 'Diners Club', 'Discover', 'JCB', 'MasterCard'])
168
+ credit_card_validator = EnumAttributeValidator.new('String', ['AMEX', 'Diners Club', 'Discover', 'MasterCard', 'JCB', 'VISA'])
169
169
  return false unless credit_card_validator.valid?(@credit_card)
170
170
  true
171
171
  end
@@ -173,7 +173,7 @@ module UltracartClient
173
173
  # Custom attribute writer method checking allowed values (enum).
174
174
  # @param [Object] credit_card Object to be assigned
175
175
  def credit_card=(credit_card)
176
- validator = EnumAttributeValidator.new('String', ['AMEX', 'Visa', 'Diners Club', 'Discover', 'JCB', 'MasterCard'])
176
+ validator = EnumAttributeValidator.new('String', ['AMEX', 'Diners Club', 'Discover', 'MasterCard', 'JCB', 'VISA'])
177
177
  unless validator.valid?(credit_card)
178
178
  fail ArgumentError, 'invalid value for "credit_card", must be one of #{validator.allowable_values}.'
179
179
  end
@@ -60,6 +60,8 @@ module UltracartClient
60
60
 
61
61
  attr_accessor :referrer_domain
62
62
 
63
+ attr_accessor :return_filter_values
64
+
63
65
  attr_accessor :screen_recording_uuids
64
66
 
65
67
  attr_accessor :screen_sizes
@@ -120,6 +122,7 @@ module UltracartClient
120
122
  :'placed_order' => :'placed_order',
121
123
  :'preferred_language' => :'preferred_language',
122
124
  :'referrer_domain' => :'referrer_domain',
125
+ :'return_filter_values' => :'return_filter_values',
123
126
  :'screen_recording_uuids' => :'screen_recording_uuids',
124
127
  :'screen_sizes' => :'screen_sizes',
125
128
  :'skip_filter_values' => :'skip_filter_values',
@@ -166,6 +169,7 @@ module UltracartClient
166
169
  :'placed_order' => :'BOOLEAN',
167
170
  :'preferred_language' => :'ScreenRecordingFilterStringSearch',
168
171
  :'referrer_domain' => :'String',
172
+ :'return_filter_values' => :'Array<String>',
169
173
  :'screen_recording_uuids' => :'Array<String>',
170
174
  :'screen_sizes' => :'Array<String>',
171
175
  :'skip_filter_values' => :'BOOLEAN',
@@ -288,6 +292,12 @@ module UltracartClient
288
292
  self.referrer_domain = attributes[:'referrer_domain']
289
293
  end
290
294
 
295
+ if attributes.has_key?(:'return_filter_values')
296
+ if (value = attributes[:'return_filter_values']).is_a?(Array)
297
+ self.return_filter_values = value
298
+ end
299
+ end
300
+
291
301
  if attributes.has_key?(:'screen_recording_uuids')
292
302
  if (value = attributes[:'screen_recording_uuids']).is_a?(Array)
293
303
  self.screen_recording_uuids = value
@@ -404,6 +414,7 @@ module UltracartClient
404
414
  placed_order == o.placed_order &&
405
415
  preferred_language == o.preferred_language &&
406
416
  referrer_domain == o.referrer_domain &&
417
+ return_filter_values == o.return_filter_values &&
407
418
  screen_recording_uuids == o.screen_recording_uuids &&
408
419
  screen_sizes == o.screen_sizes &&
409
420
  skip_filter_values == o.skip_filter_values &&
@@ -432,7 +443,7 @@ module UltracartClient
432
443
  # Calculates hash code according to all attributes.
433
444
  # @return [Fixnum] Hash code
434
445
  def 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
446
+ [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, return_filter_values, 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
436
447
  end
437
448
 
438
449
  # Builds the object from hash
@@ -26,6 +26,8 @@ module UltracartClient
26
26
 
27
27
  attr_accessor :referrer_raw
28
28
 
29
+ attr_accessor :return_filter_values
30
+
29
31
  attr_accessor :time_on_page
30
32
 
31
33
  attr_accessor :url
@@ -39,6 +41,7 @@ module UltracartClient
39
41
  :'referrer' => :'referrer',
40
42
  :'referrer_params' => :'referrer_params',
41
43
  :'referrer_raw' => :'referrer_raw',
44
+ :'return_filter_values' => :'return_filter_values',
42
45
  :'time_on_page' => :'time_on_page',
43
46
  :'url' => :'url'
44
47
  }
@@ -53,6 +56,7 @@ module UltracartClient
53
56
  :'referrer' => :'ScreenRecordingFilterStringSearch',
54
57
  :'referrer_params' => :'Array<ScreenRecordingFilterPageViewReferrerParam>',
55
58
  :'referrer_raw' => :'ScreenRecordingFilterStringSearch',
59
+ :'return_filter_values' => :'Array<String>',
56
60
  :'time_on_page' => :'ScreenRecordingFilterRangeInteger',
57
61
  :'url' => :'ScreenRecordingFilterStringSearch'
58
62
  }
@@ -96,6 +100,12 @@ module UltracartClient
96
100
  self.referrer_raw = attributes[:'referrer_raw']
97
101
  end
98
102
 
103
+ if attributes.has_key?(:'return_filter_values')
104
+ if (value = attributes[:'return_filter_values']).is_a?(Array)
105
+ self.return_filter_values = value
106
+ end
107
+ end
108
+
99
109
  if attributes.has_key?(:'time_on_page')
100
110
  self.time_on_page = attributes[:'time_on_page']
101
111
  end
@@ -129,6 +139,7 @@ module UltracartClient
129
139
  referrer == o.referrer &&
130
140
  referrer_params == o.referrer_params &&
131
141
  referrer_raw == o.referrer_raw &&
142
+ return_filter_values == o.return_filter_values &&
132
143
  time_on_page == o.time_on_page &&
133
144
  url == o.url
134
145
  end
@@ -142,7 +153,7 @@ module UltracartClient
142
153
  # Calculates hash code according to all attributes.
143
154
  # @return [Fixnum] Hash code
144
155
  def hash
145
- [domain, events, params, referrer, referrer_params, referrer_raw, time_on_page, url].hash
156
+ [domain, events, params, referrer, referrer_params, referrer_raw, return_filter_values, time_on_page, url].hash
146
157
  end
147
158
 
148
159
  # 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.6.0'
14
+ VERSION = '3.6.1'
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.6.0
4
+ version: 3.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-19 00:00:00.000000000 Z
11
+ date: 2021-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus