ultracart_api 3.10.128 → 3.10.129
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 +4 -4
- data/README.md +5 -4
- data/docs/Experiment.md +1 -0
- data/lib/ultracart_api/models/experiment.rb +11 -1
- data/lib/ultracart_api/models/order_payment.rb +2 -2
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11748fe066739ed15ac81ac8620186ed574e37f25f31a91caac224724fde20a7
|
4
|
+
data.tar.gz: 14437626a6cdadaf58dc2a71a613ebe531c54d712ad5f0799faf00fd13f5bb70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da146f1060b067d09037bcd7529c878b3a5b8287acf023ec74da010ba5a07306c709dd0534412a7f463aa82a6ec446c416b5f12af0b11e1b3ad8014d7bdbe18f
|
7
|
+
data.tar.gz: 754d9e78d475fe1a49f7c1b294666a5005645a0e2338beda3b6b41a886b9e062394b0938a9ed4f7b4d2bcb89cc663d87c21e5d4ec79b72dccd3ff7535478accf
|
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.
|
10
|
+
- Package version: 3.10.129
|
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.
|
27
|
+
gem install ./ultracart_api-3.10.129.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.10.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.10.129.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.
|
35
|
+
gem 'ultracart_api', '~> 3.10.129'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1344,6 +1344,7 @@ Not every change is committed to every SDK.
|
|
1344
1344
|
|
1345
1345
|
| Version | Date | Comments |
|
1346
1346
|
| --: | :-: | --- |
|
1347
|
+
| 3.10.129 | 04/11/2023 | missing sezzle payment constant |
|
1347
1348
|
| 3.10.128 | 04/10/2023 | data warehouse internal dev |
|
1348
1349
|
| 3.10.127 | 03/29/2023 | internal development |
|
1349
1350
|
| 3.10.126 | 03/22/2023 | data warehouse internal dev |
|
data/docs/Experiment.md
CHANGED
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
|
|
18
18
|
**openai_model** | **String** | The type of OpenAI model used | [optional]
|
19
19
|
**openai_total_iterations** | **Integer** | The total number of iterations to perform on the experiment | [optional]
|
20
20
|
**optimization_type** | **String** | Type of optimization | [optional]
|
21
|
+
**p95_sessions_needed** | **Integer** | Estimated sessions needed to achieve P95 | [optional]
|
21
22
|
**p_value** | **Float** | Statistics p-value for the experiment | [optional]
|
22
23
|
**session_count** | **Integer** | Total number of sessions in the experiment | [optional]
|
23
24
|
**start_dts** | **String** | Start date/time | [optional]
|
@@ -59,6 +59,9 @@ module UltracartClient
|
|
59
59
|
# Type of optimization
|
60
60
|
attr_accessor :optimization_type
|
61
61
|
|
62
|
+
# Estimated sessions needed to achieve P95
|
63
|
+
attr_accessor :p95_sessions_needed
|
64
|
+
|
62
65
|
# Statistics p-value for the experiment
|
63
66
|
attr_accessor :p_value
|
64
67
|
|
@@ -123,6 +126,7 @@ module UltracartClient
|
|
123
126
|
:'openai_model' => :'openai_model',
|
124
127
|
:'openai_total_iterations' => :'openai_total_iterations',
|
125
128
|
:'optimization_type' => :'optimization_type',
|
129
|
+
:'p95_sessions_needed' => :'p95_sessions_needed',
|
126
130
|
:'p_value' => :'p_value',
|
127
131
|
:'session_count' => :'session_count',
|
128
132
|
:'start_dts' => :'start_dts',
|
@@ -152,6 +156,7 @@ module UltracartClient
|
|
152
156
|
:'openai_model' => :'String',
|
153
157
|
:'openai_total_iterations' => :'Integer',
|
154
158
|
:'optimization_type' => :'String',
|
159
|
+
:'p95_sessions_needed' => :'Integer',
|
155
160
|
:'p_value' => :'Float',
|
156
161
|
:'session_count' => :'Integer',
|
157
162
|
:'start_dts' => :'String',
|
@@ -231,6 +236,10 @@ module UltracartClient
|
|
231
236
|
self.optimization_type = attributes[:'optimization_type']
|
232
237
|
end
|
233
238
|
|
239
|
+
if attributes.has_key?(:'p95_sessions_needed')
|
240
|
+
self.p95_sessions_needed = attributes[:'p95_sessions_needed']
|
241
|
+
end
|
242
|
+
|
234
243
|
if attributes.has_key?(:'p_value')
|
235
244
|
self.p_value = attributes[:'p_value']
|
236
245
|
end
|
@@ -323,6 +332,7 @@ module UltracartClient
|
|
323
332
|
openai_model == o.openai_model &&
|
324
333
|
openai_total_iterations == o.openai_total_iterations &&
|
325
334
|
optimization_type == o.optimization_type &&
|
335
|
+
p95_sessions_needed == o.p95_sessions_needed &&
|
326
336
|
p_value == o.p_value &&
|
327
337
|
session_count == o.session_count &&
|
328
338
|
start_dts == o.start_dts &&
|
@@ -342,7 +352,7 @@ module UltracartClient
|
|
342
352
|
# Calculates hash code according to all attributes.
|
343
353
|
# @return [Fixnum] Hash code
|
344
354
|
def hash
|
345
|
-
[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
|
355
|
+
[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
|
346
356
|
end
|
347
357
|
|
348
358
|
# Builds the object from hash
|
@@ -225,7 +225,7 @@ module UltracartClient
|
|
225
225
|
# Check to see if the all the properties in the model are valid
|
226
226
|
# @return true if the model is valid
|
227
227
|
def valid?
|
228
|
-
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'])
|
228
|
+
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'])
|
229
229
|
return false unless payment_method_validator.valid?(@payment_method)
|
230
230
|
payment_status_validator = EnumAttributeValidator.new('String', ['Unprocessed', 'Authorized', 'Capture Failed', 'Processed', 'Declined', 'Voided', 'Refunded', 'Skipped'])
|
231
231
|
return false unless payment_status_validator.valid?(@payment_status)
|
@@ -235,7 +235,7 @@ module UltracartClient
|
|
235
235
|
# Custom attribute writer method checking allowed values (enum).
|
236
236
|
# @param [Object] payment_method Object to be assigned
|
237
237
|
def payment_method=(payment_method)
|
238
|
-
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'])
|
238
|
+
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'])
|
239
239
|
unless validator.valid?(payment_method)
|
240
240
|
fail ArgumentError, 'invalid value for "payment_method", must be one of #{validator.allowable_values}.'
|
241
241
|
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.
|
4
|
+
version: 3.10.129
|
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-
|
11
|
+
date: 2023-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|