ultracart_api 3.10.128 → 3.10.130
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/Experiment.md +1 -0
- data/docs/OrderPaymentTransaction.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/models/order_payment_transaction.rb +11 -1
- 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: 6083f97ccfd87bde6aacaf848812f01772679a2c7b9341737bee46fcc99b8a3d
|
4
|
+
data.tar.gz: 63146d73eed2f4e5ae052d9cb48c04da5642ddb104966797bb55013128d4e647
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95cc64fc4bf72aa8b7ea59c1278272e1eeb101195a4ce685dc822619ed4e7d72158c7979c46e08d959f4727491feb00f5aa34f573058bfba5e5fec5c8dfc3f6f
|
7
|
+
data.tar.gz: 1071dabc57dfc005c1538ed9bb7146b77ec13c869b43dd9c97675feabeedba1fbbf5ebc352db93fcad9ceeee329b519ec37c4e8546c55d44db420114da4f2ef2
|
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.130
|
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.130.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.130.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.130'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1344,6 +1344,8 @@ Not every change is committed to every SDK.
|
|
1344
1344
|
|
1345
1345
|
| Version | Date | Comments |
|
1346
1346
|
| --: | :-: | --- |
|
1347
|
+
| 3.10.130 | 04/17/2023 | OrderPaymentTransaction - expose the transaction id |
|
1348
|
+
| 3.10.129 | 04/11/2023 | missing sezzle payment constant |
|
1347
1349
|
| 3.10.128 | 04/10/2023 | data warehouse internal dev |
|
1348
1350
|
| 3.10.127 | 03/29/2023 | internal development |
|
1349
1351
|
| 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]
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
**details** | [**Array<OrderPaymentTransactionDetail>**](OrderPaymentTransactionDetail.md) | Details | [optional]
|
7
7
|
**successful** | **BOOLEAN** | True if the transaction was successful | [optional]
|
8
8
|
**transaction_gateway** | **String** | Transaction gateway | [optional]
|
9
|
+
**transaction_id** | **Integer** | Transaction ID | [optional]
|
9
10
|
**transaction_timestamp** | **String** | Transaction date/time | [optional]
|
10
11
|
|
11
12
|
|
@@ -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
|
@@ -23,6 +23,9 @@ module UltracartClient
|
|
23
23
|
# Transaction gateway
|
24
24
|
attr_accessor :transaction_gateway
|
25
25
|
|
26
|
+
# Transaction ID
|
27
|
+
attr_accessor :transaction_id
|
28
|
+
|
26
29
|
# Transaction date/time
|
27
30
|
attr_accessor :transaction_timestamp
|
28
31
|
|
@@ -32,6 +35,7 @@ module UltracartClient
|
|
32
35
|
:'details' => :'details',
|
33
36
|
:'successful' => :'successful',
|
34
37
|
:'transaction_gateway' => :'transaction_gateway',
|
38
|
+
:'transaction_id' => :'transaction_id',
|
35
39
|
:'transaction_timestamp' => :'transaction_timestamp'
|
36
40
|
}
|
37
41
|
end
|
@@ -42,6 +46,7 @@ module UltracartClient
|
|
42
46
|
:'details' => :'Array<OrderPaymentTransactionDetail>',
|
43
47
|
:'successful' => :'BOOLEAN',
|
44
48
|
:'transaction_gateway' => :'String',
|
49
|
+
:'transaction_id' => :'Integer',
|
45
50
|
:'transaction_timestamp' => :'String'
|
46
51
|
}
|
47
52
|
end
|
@@ -68,6 +73,10 @@ module UltracartClient
|
|
68
73
|
self.transaction_gateway = attributes[:'transaction_gateway']
|
69
74
|
end
|
70
75
|
|
76
|
+
if attributes.has_key?(:'transaction_id')
|
77
|
+
self.transaction_id = attributes[:'transaction_id']
|
78
|
+
end
|
79
|
+
|
71
80
|
if attributes.has_key?(:'transaction_timestamp')
|
72
81
|
self.transaction_timestamp = attributes[:'transaction_timestamp']
|
73
82
|
end
|
@@ -94,6 +103,7 @@ module UltracartClient
|
|
94
103
|
details == o.details &&
|
95
104
|
successful == o.successful &&
|
96
105
|
transaction_gateway == o.transaction_gateway &&
|
106
|
+
transaction_id == o.transaction_id &&
|
97
107
|
transaction_timestamp == o.transaction_timestamp
|
98
108
|
end
|
99
109
|
|
@@ -106,7 +116,7 @@ module UltracartClient
|
|
106
116
|
# Calculates hash code according to all attributes.
|
107
117
|
# @return [Fixnum] Hash code
|
108
118
|
def hash
|
109
|
-
[details, successful, transaction_gateway, transaction_timestamp].hash
|
119
|
+
[details, successful, transaction_gateway, transaction_id, transaction_timestamp].hash
|
110
120
|
end
|
111
121
|
|
112
122
|
# Builds the object from hash
|
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.130
|
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-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|