ultracart_api 4.0.145 → 4.0.147

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: e799aac64d2e7b85da0e017265d2837c3862ea7036dd43d8d864aa35c2ad0fa1
4
- data.tar.gz: 8dd35710663954247c4b3e0d70ed784bbe829d274f95a2a49b0ca5c31bdc212e
3
+ metadata.gz: 4d1b6f4418ab6f3a3f6a5487e3b8af88708af05ff0f539d8c73d415a3d94d202
4
+ data.tar.gz: 1cbaaf2055b95cfb5efc58d7cb411eb3bea1c4244e31d7ae90533cc9499c1bab
5
5
  SHA512:
6
- metadata.gz: 1497a6da709cdcb922e8369ad6f62cdbd93ec8ed751d03358c78baf53ecdf2815b62e62bc5f136a9d1ea3704490ea21056f2741f3a7c4901fe42414c240af7fb
7
- data.tar.gz: cf42431d5474bdec25e58c258185771e8088e515ea218b6d26643baa470d0a1e84c544b331e1eb659dc4e7d0a1650a9cf097e7d8e6555f514b0f026ff3c04500
6
+ metadata.gz: '03127408f5fde40e1d3ca7a01b44a3f797ee4fe91fa4748a85cc3750a28d651b2374d775bb5bb99d2c9eb2920c7e91631403fa617c94fa34c52b1bf6e81a1380'
7
+ data.tar.gz: e6b020d7b16ad3a22f4a406901baefca593382ec580c75d77426db11686f2c73c480183d12ba85b4d336810c622ad502c41a3fe0c5c255cffe41d5fe54f50cb0
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.147
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.147.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.147.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.147'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1352,6 +1352,8 @@ Not every change is committed to every SDK.
1352
1352
 
1353
1353
  | Version | Date | Comments |
1354
1354
  | --: | :-: | --- |
1355
+ | 4.0.147 | 04/17/2023 | OrderPaymentTransaction - expose the transaction id |
1356
+ | 4.0.146 | 04/11/2023 | missing sezzle payment constant |
1355
1357
  | 4.0.145 | 04/10/2023 | data warehouse internal dev |
1356
1358
  | 4.0.144 | 03/29/2023 | internal development |
1357
1359
  | 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,
@@ -7,6 +7,7 @@
7
7
  | **details** | [**Array<OrderPaymentTransactionDetail>**](OrderPaymentTransactionDetail.md) | Details | [optional] |
8
8
  | **successful** | **Boolean** | True if the transaction was successful | [optional] |
9
9
  | **transaction_gateway** | **String** | Transaction gateway | [optional] |
10
+ | **transaction_id** | **Integer** | Transaction ID | [optional] |
10
11
  | **transaction_timestamp** | **String** | Transaction date/time | [optional] |
11
12
 
12
13
  ## Example
@@ -18,6 +19,7 @@ instance = UltracartClient::OrderPaymentTransaction.new(
18
19
  details: null,
19
20
  successful: null,
20
21
  transaction_gateway: null,
22
+ transaction_id: null,
21
23
  transaction_timestamp: null
22
24
  )
23
25
  ```
@@ -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
@@ -24,6 +24,9 @@ module UltracartClient
24
24
  # Transaction gateway
25
25
  attr_accessor :transaction_gateway
26
26
 
27
+ # Transaction ID
28
+ attr_accessor :transaction_id
29
+
27
30
  # Transaction date/time
28
31
  attr_accessor :transaction_timestamp
29
32
 
@@ -33,6 +36,7 @@ module UltracartClient
33
36
  :'details' => :'details',
34
37
  :'successful' => :'successful',
35
38
  :'transaction_gateway' => :'transaction_gateway',
39
+ :'transaction_id' => :'transaction_id',
36
40
  :'transaction_timestamp' => :'transaction_timestamp'
37
41
  }
38
42
  end
@@ -48,6 +52,7 @@ module UltracartClient
48
52
  :'details' => :'Array<OrderPaymentTransactionDetail>',
49
53
  :'successful' => :'Boolean',
50
54
  :'transaction_gateway' => :'String',
55
+ :'transaction_id' => :'Integer',
51
56
  :'transaction_timestamp' => :'String'
52
57
  }
53
58
  end
@@ -87,6 +92,10 @@ module UltracartClient
87
92
  self.transaction_gateway = attributes[:'transaction_gateway']
88
93
  end
89
94
 
95
+ if attributes.key?(:'transaction_id')
96
+ self.transaction_id = attributes[:'transaction_id']
97
+ end
98
+
90
99
  if attributes.key?(:'transaction_timestamp')
91
100
  self.transaction_timestamp = attributes[:'transaction_timestamp']
92
101
  end
@@ -113,6 +122,7 @@ module UltracartClient
113
122
  details == o.details &&
114
123
  successful == o.successful &&
115
124
  transaction_gateway == o.transaction_gateway &&
125
+ transaction_id == o.transaction_id &&
116
126
  transaction_timestamp == o.transaction_timestamp
117
127
  end
118
128
 
@@ -125,7 +135,7 @@ module UltracartClient
125
135
  # Calculates hash code according to all attributes.
126
136
  # @return [Integer] Hash code
127
137
  def hash
128
- [details, successful, transaction_gateway, transaction_timestamp].hash
138
+ [details, successful, transaction_gateway, transaction_id, transaction_timestamp].hash
129
139
  end
130
140
 
131
141
  # Builds the object from hash
@@ -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.147'
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.147
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-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus