ultracart_api 4.0.178 → 4.0.179

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: 7f08dbaed916a79d9f3d50cd1dae8ae1ed32fb2b6bc1ae14dc2d0e358a9fe75f
4
- data.tar.gz: d209c2c2a7d7da973e67be58867eb9cf7332be7a770bb32f697486cceeea1519
3
+ metadata.gz: f80e8de2c88ee01bb218ec4928e5690aeaf7c4a32af53a3c032a0ba8f9b39773
4
+ data.tar.gz: d51fc77b2e8ea5ea1e133c4072c7eb2109f0c4996fe56d6ef66b85a308bc1dce
5
5
  SHA512:
6
- metadata.gz: 7584893c53896afdd240a8b48330c99e59f2a85d1ac681a5fbdc2877ad3f00f0eb3b9cebe33163e1f62d7920fd185de8d210f8e50e3720b3f50fd350c8c7ae05
7
- data.tar.gz: bbe29dae890bb926b858a721f919e0830c221da3bd82ebdeea4fd664698502d43450129fa140a2e4f877820ae841cd2d81224e49f87c1b7b21a2c03cc65e52ff
6
+ metadata.gz: 034bc41397cc73571239724ef761a766808ae4681e43d86d4eb27a1c89407057eb2043c94b33f401db840d454754c3e5b45727da23112fa026151f83345571b6
7
+ data.tar.gz: 340c0700c997123780d33d2b9d71998f8957959d7d11ad6ffb241cfd4fa67f071d16297a654bec904dd166fc9efb1cd75b8c52688f3779a34835fac61bf44501
data/README.md CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 4.0.178
10
+ - Package version: 4.0.179
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
13
13
 
@@ -24,16 +24,16 @@ gem build ultracart_api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ultracart_api-4.0.178.gem
27
+ gem install ./ultracart_api-4.0.179.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.178.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.179.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'ultracart_api', '~> 4.0.178'
36
+ gem 'ultracart_api', '~> 4.0.179'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1371,6 +1371,7 @@ Not every change is committed to every SDK.
1371
1371
 
1372
1372
  | Version | Date | Comments |
1373
1373
  | --: | :-: | --- |
1374
+ | 4.0.179 | 09/28/2023 | dw bi - add aggregation constant of none |
1374
1375
  | 4.0.178 | 09/22/2023 | dwbi - new option to control order-by of result set |
1375
1376
  | 4.0.177 | 09/15/2023 | new item fields for additional barcodes |
1376
1377
  | 4.0.176 | 09/12/2023 | added oids to customer properties |
@@ -10,6 +10,7 @@
10
10
  | **event_count** | **Integer** | Total event count for this variation | [optional] |
11
11
  | **initiate_checkout_count** | **Integer** | Total initiate checkout count for this variation | [optional] |
12
12
  | **order_count** | **Integer** | Total order count for this variation | [optional] |
13
+ | **order_ids** | **Array<String>** | Order ID thats converted on this variation | [optional] |
13
14
  | **order_item_count** | **Integer** | Total order item count for this variation | [optional] |
14
15
  | **page_view_count** | **Integer** | Total page view count for this variation | [optional] |
15
16
  | **revenue** | **Float** | Total revenue for this variation | [optional] |
@@ -29,6 +30,7 @@ instance = UltracartClient::ExperimentVariationStat.new(
29
30
  event_count: null,
30
31
  initiate_checkout_count: null,
31
32
  order_count: null,
33
+ order_ids: null,
32
34
  order_item_count: null,
33
35
  page_view_count: null,
34
36
  revenue: null,
@@ -33,6 +33,9 @@ module UltracartClient
33
33
  # Total order count for this variation
34
34
  attr_accessor :order_count
35
35
 
36
+ # Order ID thats converted on this variation
37
+ attr_accessor :order_ids
38
+
36
39
  # Total order item count for this variation
37
40
  attr_accessor :order_item_count
38
41
 
@@ -60,6 +63,7 @@ module UltracartClient
60
63
  :'event_count' => :'event_count',
61
64
  :'initiate_checkout_count' => :'initiate_checkout_count',
62
65
  :'order_count' => :'order_count',
66
+ :'order_ids' => :'order_ids',
63
67
  :'order_item_count' => :'order_item_count',
64
68
  :'page_view_count' => :'page_view_count',
65
69
  :'revenue' => :'revenue',
@@ -83,6 +87,7 @@ module UltracartClient
83
87
  :'event_count' => :'Integer',
84
88
  :'initiate_checkout_count' => :'Integer',
85
89
  :'order_count' => :'Integer',
90
+ :'order_ids' => :'Array<String>',
86
91
  :'order_item_count' => :'Integer',
87
92
  :'page_view_count' => :'Integer',
88
93
  :'revenue' => :'Float',
@@ -137,6 +142,12 @@ module UltracartClient
137
142
  self.order_count = attributes[:'order_count']
138
143
  end
139
144
 
145
+ if attributes.key?(:'order_ids')
146
+ if (value = attributes[:'order_ids']).is_a?(Array)
147
+ self.order_ids = value
148
+ end
149
+ end
150
+
140
151
  if attributes.key?(:'order_item_count')
141
152
  self.order_item_count = attributes[:'order_item_count']
142
153
  end
@@ -186,6 +197,7 @@ module UltracartClient
186
197
  event_count == o.event_count &&
187
198
  initiate_checkout_count == o.initiate_checkout_count &&
188
199
  order_count == o.order_count &&
200
+ order_ids == o.order_ids &&
189
201
  order_item_count == o.order_item_count &&
190
202
  page_view_count == o.page_view_count &&
191
203
  revenue == o.revenue &&
@@ -203,7 +215,7 @@ module UltracartClient
203
215
  # Calculates hash code according to all attributes.
204
216
  # @return [Integer] Hash code
205
217
  def hash
206
- [add_to_cart_count, bounce_count, duration_seconds_sum, event_count, initiate_checkout_count, order_count, order_item_count, page_view_count, revenue, session_count, sms_opt_in_count, stat_dts].hash
218
+ [add_to_cart_count, bounce_count, duration_seconds_sum, event_count, initiate_checkout_count, order_count, order_ids, order_item_count, page_view_count, revenue, session_count, sms_opt_in_count, stat_dts].hash
207
219
  end
208
220
 
209
221
  # Builds the object from hash
@@ -121,7 +121,7 @@ module UltracartClient
121
121
  # Check to see if the all the properties in the model are valid
122
122
  # @return true if the model is valid
123
123
  def valid?
124
- aggregation_validator = EnumAttributeValidator.new('String', ["sum", "count", "min", "max", "avg"])
124
+ aggregation_validator = EnumAttributeValidator.new('String', ["sum", "count", "min", "max", "avg", "none"])
125
125
  return false unless aggregation_validator.valid?(@aggregation)
126
126
  true
127
127
  end
@@ -129,7 +129,7 @@ module UltracartClient
129
129
  # Custom attribute writer method checking allowed values (enum).
130
130
  # @param [Object] aggregation Object to be assigned
131
131
  def aggregation=(aggregation)
132
- validator = EnumAttributeValidator.new('String', ["sum", "count", "min", "max", "avg"])
132
+ validator = EnumAttributeValidator.new('String', ["sum", "count", "min", "max", "avg", "none"])
133
133
  unless validator.valid?(aggregation)
134
134
  fail ArgumentError, "invalid value for \"aggregation\", must be one of #{validator.allowable_values}."
135
135
  end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.0.178'
14
+ VERSION = '4.0.179'
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: 4.0.178
4
+ version: 4.0.179
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-22 00:00:00.000000000 Z
11
+ date: 2023-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus