ultracart_api 4.0.145 → 4.0.146

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: e799aac64d2e7b85da0e017265d2837c3862ea7036dd43d8d864aa35c2ad0fa1
4
- data.tar.gz: 8dd35710663954247c4b3e0d70ed784bbe829d274f95a2a49b0ca5c31bdc212e
3
+ metadata.gz: 65509080db9c2dd5656aeb62c1f55565afa077406cddcad3f484d6e0c037b86d
4
+ data.tar.gz: 7398be9218630b2ae15844b6dcee066032cdedf608058f76fc0caa6dc75dad07
5
5
  SHA512:
6
- metadata.gz: 1497a6da709cdcb922e8369ad6f62cdbd93ec8ed751d03358c78baf53ecdf2815b62e62bc5f136a9d1ea3704490ea21056f2741f3a7c4901fe42414c240af7fb
7
- data.tar.gz: cf42431d5474bdec25e58c258185771e8088e515ea218b6d26643baa470d0a1e84c544b331e1eb659dc4e7d0a1650a9cf097e7d8e6555f514b0f026ff3c04500
6
+ metadata.gz: 386cdbaf3fd87631aeb79e9457a35a0ca2e98a73bc908fa55a00065cbcb40170958f9e9af9c0683658e6b1883244b19b018148135bfb874a24b4dab04ba6ddda
7
+ data.tar.gz: c8c41c537a9493f0b6c0ac6a9168689df62f09a1d0a2ce0886b6f187bd1d46e306841cf4c367c643b43933d2d575603d298555e68e6bf6616db31a586ad09172
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.145
10
+ - Package version: 4.0.146
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.145.gem
27
+ gem install ./ultracart_api-4.0.146.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.145.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.146.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.145'
36
+ gem 'ultracart_api', '~> 4.0.146'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1352,6 +1352,7 @@ Not every change is committed to every SDK.
1352
1352
 
1353
1353
  | Version | Date | Comments |
1354
1354
  | --: | :-: | --- |
1355
+ | 4.0.146 | 04/11/2023 | missing sezzle payment constant |
1355
1356
  | 4.0.145 | 04/10/2023 | data warehouse internal dev |
1356
1357
  | 4.0.144 | 03/29/2023 | internal development |
1357
1358
  | 4.0.143 | 03/22/2023 | data warehouse internal dev |
data/docs/Experiment.md CHANGED
@@ -19,6 +19,7 @@
19
19
  | **openai_model** | **String** | The type of OpenAI model used | [optional] |
20
20
  | **openai_total_iterations** | **Integer** | The total number of iterations to perform on the experiment | [optional] |
21
21
  | **optimization_type** | **String** | Type of optimization | [optional] |
22
+ | **p95_sessions_needed** | **Integer** | Estimated sessions needed to achieve P95 | [optional] |
22
23
  | **p_value** | **Float** | Statistics p-value for the experiment | [optional] |
23
24
  | **session_count** | **Integer** | Total number of sessions in the experiment | [optional] |
24
25
  | **start_dts** | **String** | Start date/time | [optional] |
@@ -49,6 +50,7 @@ instance = UltracartClient::Experiment.new(
49
50
  openai_model: null,
50
51
  openai_total_iterations: null,
51
52
  optimization_type: null,
53
+ p95_sessions_needed: null,
52
54
  p_value: null,
53
55
  session_count: null,
54
56
  start_dts: null,
@@ -60,6 +60,9 @@ module UltracartClient
60
60
  # Type of optimization
61
61
  attr_accessor :optimization_type
62
62
 
63
+ # Estimated sessions needed to achieve P95
64
+ attr_accessor :p95_sessions_needed
65
+
63
66
  # Statistics p-value for the experiment
64
67
  attr_accessor :p_value
65
68
 
@@ -124,6 +127,7 @@ module UltracartClient
124
127
  :'openai_model' => :'openai_model',
125
128
  :'openai_total_iterations' => :'openai_total_iterations',
126
129
  :'optimization_type' => :'optimization_type',
130
+ :'p95_sessions_needed' => :'p95_sessions_needed',
127
131
  :'p_value' => :'p_value',
128
132
  :'session_count' => :'session_count',
129
133
  :'start_dts' => :'start_dts',
@@ -158,6 +162,7 @@ module UltracartClient
158
162
  :'openai_model' => :'String',
159
163
  :'openai_total_iterations' => :'Integer',
160
164
  :'optimization_type' => :'String',
165
+ :'p95_sessions_needed' => :'Integer',
161
166
  :'p_value' => :'Float',
162
167
  :'session_count' => :'Integer',
163
168
  :'start_dts' => :'String',
@@ -250,6 +255,10 @@ module UltracartClient
250
255
  self.optimization_type = attributes[:'optimization_type']
251
256
  end
252
257
 
258
+ if attributes.key?(:'p95_sessions_needed')
259
+ self.p95_sessions_needed = attributes[:'p95_sessions_needed']
260
+ end
261
+
253
262
  if attributes.key?(:'p_value')
254
263
  self.p_value = attributes[:'p_value']
255
264
  end
@@ -342,6 +351,7 @@ module UltracartClient
342
351
  openai_model == o.openai_model &&
343
352
  openai_total_iterations == o.openai_total_iterations &&
344
353
  optimization_type == o.optimization_type &&
354
+ p95_sessions_needed == o.p95_sessions_needed &&
345
355
  p_value == o.p_value &&
346
356
  session_count == o.session_count &&
347
357
  start_dts == o.start_dts &&
@@ -361,7 +371,7 @@ module UltracartClient
361
371
  # Calculates hash code according to all attributes.
362
372
  # @return [Integer] Hash code
363
373
  def hash
364
- [container_id, duration_days, end_dts, equal_weighting, experiment_type, id, name, notes, objective, objective_parameter, openai_current_iteration, openai_element_type, openai_model, openai_total_iterations, optimization_type, p_value, session_count, start_dts, status, storefront_experiment_oid, storefront_oid, uri, variations].hash
374
+ [container_id, duration_days, end_dts, equal_weighting, experiment_type, id, name, notes, objective, objective_parameter, openai_current_iteration, openai_element_type, openai_model, openai_total_iterations, optimization_type, p95_sessions_needed, p_value, session_count, start_dts, status, storefront_experiment_oid, storefront_oid, uri, variations].hash
365
375
  end
366
376
 
367
377
  # Builds the object from hash
@@ -244,7 +244,7 @@ module UltracartClient
244
244
  # Check to see if the all the properties in the model are valid
245
245
  # @return true if the model is valid
246
246
  def valid?
247
- payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com"])
247
+ payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle"])
248
248
  return false unless payment_method_validator.valid?(@payment_method)
249
249
  payment_status_validator = EnumAttributeValidator.new('String', ["Unprocessed", "Authorized", "Capture Failed", "Processed", "Declined", "Voided", "Refunded", "Skipped"])
250
250
  return false unless payment_status_validator.valid?(@payment_status)
@@ -254,7 +254,7 @@ module UltracartClient
254
254
  # Custom attribute writer method checking allowed values (enum).
255
255
  # @param [Object] payment_method Object to be assigned
256
256
  def payment_method=(payment_method)
257
- validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com"])
257
+ validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle"])
258
258
  unless validator.valid?(payment_method)
259
259
  fail ArgumentError, "invalid value for \"payment_method\", must be one of #{validator.allowable_values}."
260
260
  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.145'
14
+ VERSION = '4.0.146'
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.145
4
+ version: 4.0.146
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-10 00:00:00.000000000 Z
11
+ date: 2023-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus