ultracart_api 3.10.161 → 3.10.162

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 91d06ded053441fa51cbc536473c18fa3272c7faef94b4659eada67106a6fb4d
4
- data.tar.gz: 3c2fea2b478dc3d604337b36350fc0317416016feb1eddf57d1180d8efcd8ea1
3
+ metadata.gz: 15a92eeadd215cd61f73543cb2440dc019fc7dd502a9b88306de70ce088735e1
4
+ data.tar.gz: 452891dd2a9138f415c91b5fa42ec01abcbe25a7092bbc777b2c4fb7370550a6
5
5
  SHA512:
6
- metadata.gz: a2ee526b862b5cf858d7007649c623cabbdd538260a1989eb08dcceda37f29bbcf04f1ea427de37d4c8cc64276e6b80dbef25e87a41311a5b32b14d956784bd6
7
- data.tar.gz: b35c18a4dd266b50f2570d787b12b14875f3751d5ad7c40f4c9cc78663ea52275cf2b64646a49ca2ebb8af0c926b03643c9a143c71e139a774ae45f56c4eb224
6
+ metadata.gz: 93aa36eb13c5a3efcc374887b4ef4f90cae9605d2d42b54df95a65bd82fc7fd6646b54ea700429812a7769c9f21f611c57046a933ee4b0992152e59eb88c6ad1
7
+ data.tar.gz: 747633d56140975fd0542cdfb8c11e71bed3569accf3353b36126a407d122eb30ed5d7d0498de69e64b5cb09184acd600a55b1050338a92c8329ccc8886adf9f
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.10.161
10
+ - Package version: 3.10.162
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.10.161.gem
27
+ gem install ./ultracart_api-3.10.162.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.161.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.162.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.10.161'
35
+ gem 'ultracart_api', '~> 3.10.162'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1363,6 +1363,7 @@ Not every change is committed to every SDK.
1363
1363
 
1364
1364
  | Version | Date | Comments |
1365
1365
  | --: | :-: | --- |
1366
+ | 3.10.162 | 09/28/2023 | dw bi - add aggregation constant of none |
1366
1367
  | 3.10.161 | 09/22/2023 | dwbi - new option to control order-by of result set |
1367
1368
  | 3.10.160 | 09/15/2023 | new item fields for additional barcodes |
1368
1369
  | 3.10.159 | 09/12/2023 | added oids to customer properties |
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **event_count** | **Integer** | Total event count for this variation | [optional]
10
10
  **initiate_checkout_count** | **Integer** | Total initiate checkout count for this variation | [optional]
11
11
  **order_count** | **Integer** | Total order count for this variation | [optional]
12
+ **order_ids** | **Array<String>** | Order ID thats converted on this variation | [optional]
12
13
  **order_item_count** | **Integer** | Total order item count for this variation | [optional]
13
14
  **page_view_count** | **Integer** | Total page view count for this variation | [optional]
14
15
  **revenue** | **Float** | Total revenue for this variation | [optional]
@@ -32,6 +32,9 @@ module UltracartClient
32
32
  # Total order count for this variation
33
33
  attr_accessor :order_count
34
34
 
35
+ # Order ID thats converted on this variation
36
+ attr_accessor :order_ids
37
+
35
38
  # Total order item count for this variation
36
39
  attr_accessor :order_item_count
37
40
 
@@ -59,6 +62,7 @@ module UltracartClient
59
62
  :'event_count' => :'event_count',
60
63
  :'initiate_checkout_count' => :'initiate_checkout_count',
61
64
  :'order_count' => :'order_count',
65
+ :'order_ids' => :'order_ids',
62
66
  :'order_item_count' => :'order_item_count',
63
67
  :'page_view_count' => :'page_view_count',
64
68
  :'revenue' => :'revenue',
@@ -77,6 +81,7 @@ module UltracartClient
77
81
  :'event_count' => :'Integer',
78
82
  :'initiate_checkout_count' => :'Integer',
79
83
  :'order_count' => :'Integer',
84
+ :'order_ids' => :'Array<String>',
80
85
  :'order_item_count' => :'Integer',
81
86
  :'page_view_count' => :'Integer',
82
87
  :'revenue' => :'Float',
@@ -118,6 +123,12 @@ module UltracartClient
118
123
  self.order_count = attributes[:'order_count']
119
124
  end
120
125
 
126
+ if attributes.has_key?(:'order_ids')
127
+ if (value = attributes[:'order_ids']).is_a?(Array)
128
+ self.order_ids = value
129
+ end
130
+ end
131
+
121
132
  if attributes.has_key?(:'order_item_count')
122
133
  self.order_item_count = attributes[:'order_item_count']
123
134
  end
@@ -167,6 +178,7 @@ module UltracartClient
167
178
  event_count == o.event_count &&
168
179
  initiate_checkout_count == o.initiate_checkout_count &&
169
180
  order_count == o.order_count &&
181
+ order_ids == o.order_ids &&
170
182
  order_item_count == o.order_item_count &&
171
183
  page_view_count == o.page_view_count &&
172
184
  revenue == o.revenue &&
@@ -184,7 +196,7 @@ module UltracartClient
184
196
  # Calculates hash code according to all attributes.
185
197
  # @return [Fixnum] Hash code
186
198
  def hash
187
- [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
199
+ [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
188
200
  end
189
201
 
190
202
  # Builds the object from hash
@@ -102,7 +102,7 @@ module UltracartClient
102
102
  # Check to see if the all the properties in the model are valid
103
103
  # @return true if the model is valid
104
104
  def valid?
105
- aggregation_validator = EnumAttributeValidator.new('String', ['sum', 'count', 'min', 'max', 'avg'])
105
+ aggregation_validator = EnumAttributeValidator.new('String', ['sum', 'count', 'min', 'max', 'avg', 'none'])
106
106
  return false unless aggregation_validator.valid?(@aggregation)
107
107
  true
108
108
  end
@@ -110,7 +110,7 @@ module UltracartClient
110
110
  # Custom attribute writer method checking allowed values (enum).
111
111
  # @param [Object] aggregation Object to be assigned
112
112
  def aggregation=(aggregation)
113
- validator = EnumAttributeValidator.new('String', ['sum', 'count', 'min', 'max', 'avg'])
113
+ validator = EnumAttributeValidator.new('String', ['sum', 'count', 'min', 'max', 'avg', 'none'])
114
114
  unless validator.valid?(aggregation)
115
115
  fail ArgumentError, 'invalid value for "aggregation", must be one of #{validator.allowable_values}.'
116
116
  end
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.161'
14
+ VERSION = '3.10.162'
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.10.161
4
+ version: 3.10.162
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