ultracart_api 4.0.57.rc → 4.0.58.rc

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: ee07e55d28cc155e358d34522081bb645d071fe8bfeda16dddc2fe489e9ea721
4
- data.tar.gz: 7e06c34ed7e736e0360e94fe92598737084ffa1ded7a580c28adea3ae40773e0
3
+ metadata.gz: 206deb75e21fb2a4d9efe7b6e189d7ea7bf68580866dcde171fa10f5757e790d
4
+ data.tar.gz: 9ed88d43c55f74363b6006df5926aa6d3012a39f314ae06d0f17176927eb9825
5
5
  SHA512:
6
- metadata.gz: ed212a1d617bb5adb14d72537d6aecbea01777353be997c45219ef280b40bba683d50f94149faee9f5c61ce9daf06564c711b6911057c22f070092783a5c7b47
7
- data.tar.gz: 8358ed8300774d4c286063594809c636f2ab29e9af1d846cb7694cdbb4c34a5014337ab3792b893381eae6aacd6d656cfcad2958aecd932ce736ab35cedd1b24
6
+ metadata.gz: 60fd4bc3266bea7a0e10f3d0b40984dff684ce8ad945c31acea17887da10fdf90182f9254413438d4e75f7e5e232f0c648c4045566518b23f50534f88dc6122b
7
+ data.tar.gz: 6cee56e4a0795664101442d6240db26c2e9bdcaa949e7e2d4efd9c64cb06cc8a02e1b04daa940c79d1bd0b3532f9f4c28582a70c65a50f2cd2acebad79e4004c
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.57.rc
10
+ - Package version: 4.0.58.rc
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.57.rc.gem
27
+ gem install ./ultracart_api-4.0.58.rc.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.57.rc.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.58.rc.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.57.rc'
36
+ gem 'ultracart_api', '~> 4.0.58.rc'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1188,6 +1188,7 @@ Not every change is committed to every SDK.
1188
1188
 
1189
1189
  | Version | Date | Comments |
1190
1190
  | --: | :-: | --- |
1191
+ | 4.0.58-RC | 08/26/2022 | postcard address fields for comm sequence testing |
1191
1192
  | 4.0.57-RC | 08/22/2022 | exposing individual reviews within item.review object |
1192
1193
  | 4.0.56-RC | 08/19/2022 | order api - added cell phone fields for sms |
1193
1194
  | 4.0.55-RC | 08/12/2022 | internal code to allow merchant login as customer |
@@ -4,14 +4,20 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **address_1** | **String** | | [optional] |
8
+ | **address_2** | **String** | | [optional] |
7
9
  | **cart_id** | **String** | | [optional] |
8
10
  | **cart_item_ids** | **Array<String>** | | [optional] |
11
+ | **city** | **String** | | [optional] |
9
12
  | **esp_commseq_uuid** | **String** | | [optional] |
13
+ | **mail_card** | **Boolean** | | [optional] |
10
14
  | **name** | **String** | | [optional] |
11
15
  | **order_id** | **String** | | [optional] |
12
16
  | **please_review** | **Boolean** | | [optional] |
17
+ | **postal_code** | **String** | | [optional] |
13
18
  | **send_to_email** | **String** | | [optional] |
14
19
  | **send_to_logged_in_user** | **Boolean** | | [optional] |
20
+ | **state** | **String** | | [optional] |
15
21
 
16
22
  ## Example
17
23
 
@@ -19,14 +25,20 @@
19
25
  require 'ultracart_api'
20
26
 
21
27
  instance = UltracartClient::EmailCommseqSequenceTestRequest.new(
28
+ address_1: null,
29
+ address_2: null,
22
30
  cart_id: null,
23
31
  cart_item_ids: null,
32
+ city: null,
24
33
  esp_commseq_uuid: null,
34
+ mail_card: null,
25
35
  name: null,
26
36
  order_id: null,
27
37
  please_review: null,
38
+ postal_code: null,
28
39
  send_to_email: null,
29
- send_to_logged_in_user: null
40
+ send_to_logged_in_user: null,
41
+ state: null
30
42
  )
31
43
  ```
32
44
 
@@ -21,6 +21,7 @@
21
21
  | **paused** | **Boolean** | True if traffic should be paused to this variation | [optional] |
22
22
  | **revenue** | **Float** | Total revenue for this variation | [optional] |
23
23
  | **session_count** | **Integer** | Total sessions for this variation | [optional] |
24
+ | **sms_opt_ins** | **Integer** | SMS Opt Ins for this variation | [optional] |
24
25
  | **traffic_percentage** | **Float** | Percentage of the traffic this variation is currently receiving | [optional] |
25
26
  | **url** | **String** | Url of the variation if this experiment is a url experiment. | [optional] |
26
27
  | **variation_name** | **String** | Name of the variation | [optional] |
@@ -50,6 +51,7 @@ instance = UltracartClient::ExperimentVariation.new(
50
51
  paused: null,
51
52
  revenue: null,
52
53
  session_count: null,
54
+ sms_opt_ins: null,
53
55
  traffic_percentage: null,
54
56
  url: null,
55
57
  variation_name: null,
@@ -14,6 +14,7 @@
14
14
  | **page_view_count** | **Integer** | Total page view count for this variation | [optional] |
15
15
  | **revenue** | **Float** | Total revenue for this variation | [optional] |
16
16
  | **session_count** | **Integer** | Total sessions for this variation | [optional] |
17
+ | **sms_opt_in_count** | **Integer** | Total SMS opt in count for this variation | [optional] |
17
18
  | **stat_dts** | **String** | Date/time that the statistic was created | [optional] |
18
19
 
19
20
  ## Example
@@ -32,6 +33,7 @@ instance = UltracartClient::ExperimentVariationStat.new(
32
33
  page_view_count: null,
33
34
  revenue: null,
34
35
  session_count: null,
36
+ sms_opt_in_count: null,
35
37
  stat_dts: null
36
38
  )
37
39
  ```
data/docs/OrderApi.md CHANGED
@@ -1366,6 +1366,7 @@ opts = {
1366
1366
  auto_order_cancel: true, # Boolean | Cancel associated auto orders
1367
1367
  manual_refund: true, # Boolean | Consider a manual refund done externally
1368
1368
  reverse_affiliate_transactions: true, # Boolean | Reverse affiliate transactions
1369
+ issue_store_credit: true, # Boolean | Issue a store credit instead of refunding the original payment method, loyalty must be configured on merchant account
1369
1370
  _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
1370
1371
  }
1371
1372
 
@@ -1407,6 +1408,7 @@ end
1407
1408
  | **auto_order_cancel** | **Boolean** | Cancel associated auto orders | [optional][default to false] |
1408
1409
  | **manual_refund** | **Boolean** | Consider a manual refund done externally | [optional][default to false] |
1409
1410
  | **reverse_affiliate_transactions** | **Boolean** | Reverse affiliate transactions | [optional][default to true] |
1411
+ | **issue_store_credit** | **Boolean** | Issue a store credit instead of refunding the original payment method, loyalty must be configured on merchant account | [optional][default to false] |
1410
1412
  | **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
1411
1413
 
1412
1414
  ### Return type
@@ -1292,6 +1292,7 @@ module UltracartClient
1292
1292
  # @option opts [Boolean] :auto_order_cancel Cancel associated auto orders (default to false)
1293
1293
  # @option opts [Boolean] :manual_refund Consider a manual refund done externally (default to false)
1294
1294
  # @option opts [Boolean] :reverse_affiliate_transactions Reverse affiliate transactions (default to true)
1295
+ # @option opts [Boolean] :issue_store_credit Issue a store credit instead of refunding the original payment method, loyalty must be configured on merchant account (default to false)
1295
1296
  # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
1296
1297
  # @return [OrderResponse]
1297
1298
  def refund_order(order_id, order, opts = {})
@@ -1309,6 +1310,7 @@ module UltracartClient
1309
1310
  # @option opts [Boolean] :auto_order_cancel Cancel associated auto orders (default to false)
1310
1311
  # @option opts [Boolean] :manual_refund Consider a manual refund done externally (default to false)
1311
1312
  # @option opts [Boolean] :reverse_affiliate_transactions Reverse affiliate transactions (default to true)
1313
+ # @option opts [Boolean] :issue_store_credit Issue a store credit instead of refunding the original payment method, loyalty must be configured on merchant account (default to false)
1312
1314
  # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
1313
1315
  # @return [Array<(OrderResponse, Integer, Hash)>] OrderResponse data, response status code and response headers
1314
1316
  def refund_order_with_http_info(order_id, order, opts = {})
@@ -1333,6 +1335,7 @@ module UltracartClient
1333
1335
  query_params[:'auto_order_cancel'] = opts[:'auto_order_cancel'] if !opts[:'auto_order_cancel'].nil?
1334
1336
  query_params[:'manual_refund'] = opts[:'manual_refund'] if !opts[:'manual_refund'].nil?
1335
1337
  query_params[:'reverse_affiliate_transactions'] = opts[:'reverse_affiliate_transactions'] if !opts[:'reverse_affiliate_transactions'].nil?
1338
+ query_params[:'issue_store_credit'] = opts[:'issue_store_credit'] if !opts[:'issue_store_credit'].nil?
1336
1339
  query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
1337
1340
 
1338
1341
  # header parameters
@@ -15,33 +15,51 @@ require 'time'
15
15
 
16
16
  module UltracartClient
17
17
  class EmailCommseqSequenceTestRequest
18
+ attr_accessor :address_1
19
+
20
+ attr_accessor :address_2
21
+
18
22
  attr_accessor :cart_id
19
23
 
20
24
  attr_accessor :cart_item_ids
21
25
 
26
+ attr_accessor :city
27
+
22
28
  attr_accessor :esp_commseq_uuid
23
29
 
30
+ attr_accessor :mail_card
31
+
24
32
  attr_accessor :name
25
33
 
26
34
  attr_accessor :order_id
27
35
 
28
36
  attr_accessor :please_review
29
37
 
38
+ attr_accessor :postal_code
39
+
30
40
  attr_accessor :send_to_email
31
41
 
32
42
  attr_accessor :send_to_logged_in_user
33
43
 
44
+ attr_accessor :state
45
+
34
46
  # Attribute mapping from ruby-style variable name to JSON key.
35
47
  def self.attribute_map
36
48
  {
49
+ :'address_1' => :'address_1',
50
+ :'address_2' => :'address_2',
37
51
  :'cart_id' => :'cart_id',
38
52
  :'cart_item_ids' => :'cart_item_ids',
53
+ :'city' => :'city',
39
54
  :'esp_commseq_uuid' => :'esp_commseq_uuid',
55
+ :'mail_card' => :'mail_card',
40
56
  :'name' => :'name',
41
57
  :'order_id' => :'order_id',
42
58
  :'please_review' => :'please_review',
59
+ :'postal_code' => :'postal_code',
43
60
  :'send_to_email' => :'send_to_email',
44
- :'send_to_logged_in_user' => :'send_to_logged_in_user'
61
+ :'send_to_logged_in_user' => :'send_to_logged_in_user',
62
+ :'state' => :'state'
45
63
  }
46
64
  end
47
65
 
@@ -53,14 +71,20 @@ module UltracartClient
53
71
  # Attribute type mapping.
54
72
  def self.openapi_types
55
73
  {
74
+ :'address_1' => :'String',
75
+ :'address_2' => :'String',
56
76
  :'cart_id' => :'String',
57
77
  :'cart_item_ids' => :'Array<String>',
78
+ :'city' => :'String',
58
79
  :'esp_commseq_uuid' => :'String',
80
+ :'mail_card' => :'Boolean',
59
81
  :'name' => :'String',
60
82
  :'order_id' => :'String',
61
83
  :'please_review' => :'Boolean',
84
+ :'postal_code' => :'String',
62
85
  :'send_to_email' => :'String',
63
- :'send_to_logged_in_user' => :'Boolean'
86
+ :'send_to_logged_in_user' => :'Boolean',
87
+ :'state' => :'String'
64
88
  }
65
89
  end
66
90
 
@@ -85,6 +109,14 @@ module UltracartClient
85
109
  h[k.to_sym] = v
86
110
  }
87
111
 
112
+ if attributes.key?(:'address_1')
113
+ self.address_1 = attributes[:'address_1']
114
+ end
115
+
116
+ if attributes.key?(:'address_2')
117
+ self.address_2 = attributes[:'address_2']
118
+ end
119
+
88
120
  if attributes.key?(:'cart_id')
89
121
  self.cart_id = attributes[:'cart_id']
90
122
  end
@@ -95,10 +127,18 @@ module UltracartClient
95
127
  end
96
128
  end
97
129
 
130
+ if attributes.key?(:'city')
131
+ self.city = attributes[:'city']
132
+ end
133
+
98
134
  if attributes.key?(:'esp_commseq_uuid')
99
135
  self.esp_commseq_uuid = attributes[:'esp_commseq_uuid']
100
136
  end
101
137
 
138
+ if attributes.key?(:'mail_card')
139
+ self.mail_card = attributes[:'mail_card']
140
+ end
141
+
102
142
  if attributes.key?(:'name')
103
143
  self.name = attributes[:'name']
104
144
  end
@@ -111,6 +151,10 @@ module UltracartClient
111
151
  self.please_review = attributes[:'please_review']
112
152
  end
113
153
 
154
+ if attributes.key?(:'postal_code')
155
+ self.postal_code = attributes[:'postal_code']
156
+ end
157
+
114
158
  if attributes.key?(:'send_to_email')
115
159
  self.send_to_email = attributes[:'send_to_email']
116
160
  end
@@ -118,6 +162,10 @@ module UltracartClient
118
162
  if attributes.key?(:'send_to_logged_in_user')
119
163
  self.send_to_logged_in_user = attributes[:'send_to_logged_in_user']
120
164
  end
165
+
166
+ if attributes.key?(:'state')
167
+ self.state = attributes[:'state']
168
+ end
121
169
  end
122
170
 
123
171
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -138,14 +186,20 @@ module UltracartClient
138
186
  def ==(o)
139
187
  return true if self.equal?(o)
140
188
  self.class == o.class &&
189
+ address_1 == o.address_1 &&
190
+ address_2 == o.address_2 &&
141
191
  cart_id == o.cart_id &&
142
192
  cart_item_ids == o.cart_item_ids &&
193
+ city == o.city &&
143
194
  esp_commseq_uuid == o.esp_commseq_uuid &&
195
+ mail_card == o.mail_card &&
144
196
  name == o.name &&
145
197
  order_id == o.order_id &&
146
198
  please_review == o.please_review &&
199
+ postal_code == o.postal_code &&
147
200
  send_to_email == o.send_to_email &&
148
- send_to_logged_in_user == o.send_to_logged_in_user
201
+ send_to_logged_in_user == o.send_to_logged_in_user &&
202
+ state == o.state
149
203
  end
150
204
 
151
205
  # @see the `==` method
@@ -157,7 +211,7 @@ module UltracartClient
157
211
  # Calculates hash code according to all attributes.
158
212
  # @return [Integer] Hash code
159
213
  def hash
160
- [cart_id, cart_item_ids, esp_commseq_uuid, name, order_id, please_review, send_to_email, send_to_logged_in_user].hash
214
+ [address_1, address_2, cart_id, cart_item_ids, city, esp_commseq_uuid, mail_card, name, order_id, please_review, postal_code, send_to_email, send_to_logged_in_user, state].hash
161
215
  end
162
216
 
163
217
  # Builds the object from hash
@@ -66,6 +66,9 @@ module UltracartClient
66
66
  # Total sessions for this variation
67
67
  attr_accessor :session_count
68
68
 
69
+ # SMS Opt Ins for this variation
70
+ attr_accessor :sms_opt_ins
71
+
69
72
  # Percentage of the traffic this variation is currently receiving
70
73
  attr_accessor :traffic_percentage
71
74
 
@@ -101,6 +104,7 @@ module UltracartClient
101
104
  :'paused' => :'paused',
102
105
  :'revenue' => :'revenue',
103
106
  :'session_count' => :'session_count',
107
+ :'sms_opt_ins' => :'sms_opt_ins',
104
108
  :'traffic_percentage' => :'traffic_percentage',
105
109
  :'url' => :'url',
106
110
  :'variation_name' => :'variation_name',
@@ -134,6 +138,7 @@ module UltracartClient
134
138
  :'paused' => :'Boolean',
135
139
  :'revenue' => :'Float',
136
140
  :'session_count' => :'Integer',
141
+ :'sms_opt_ins' => :'Integer',
137
142
  :'traffic_percentage' => :'Float',
138
143
  :'url' => :'String',
139
144
  :'variation_name' => :'String',
@@ -233,6 +238,10 @@ module UltracartClient
233
238
  self.session_count = attributes[:'session_count']
234
239
  end
235
240
 
241
+ if attributes.key?(:'sms_opt_ins')
242
+ self.sms_opt_ins = attributes[:'sms_opt_ins']
243
+ end
244
+
236
245
  if attributes.key?(:'traffic_percentage')
237
246
  self.traffic_percentage = attributes[:'traffic_percentage']
238
247
  end
@@ -289,6 +298,7 @@ module UltracartClient
289
298
  paused == o.paused &&
290
299
  revenue == o.revenue &&
291
300
  session_count == o.session_count &&
301
+ sms_opt_ins == o.sms_opt_ins &&
292
302
  traffic_percentage == o.traffic_percentage &&
293
303
  url == o.url &&
294
304
  variation_name == o.variation_name &&
@@ -305,7 +315,7 @@ module UltracartClient
305
315
  # Calculates hash code according to all attributes.
306
316
  # @return [Integer] Hash code
307
317
  def hash
308
- [add_to_cart_count, average_duration_seconds, average_objective_per_session, average_order_value, bounce_count, conversion_rate, daily_statistics, duration_seconds_sum, event_count, initiate_checkout_count, order_count, order_item_count, original_traffic_percentage, page_view_count, paused, revenue, session_count, traffic_percentage, url, variation_name, variation_number, winner].hash
318
+ [add_to_cart_count, average_duration_seconds, average_objective_per_session, average_order_value, bounce_count, conversion_rate, daily_statistics, duration_seconds_sum, event_count, initiate_checkout_count, order_count, order_item_count, original_traffic_percentage, page_view_count, paused, revenue, session_count, sms_opt_ins, traffic_percentage, url, variation_name, variation_number, winner].hash
309
319
  end
310
320
 
311
321
  # Builds the object from hash
@@ -45,6 +45,9 @@ module UltracartClient
45
45
  # Total sessions for this variation
46
46
  attr_accessor :session_count
47
47
 
48
+ # Total SMS opt in count for this variation
49
+ attr_accessor :sms_opt_in_count
50
+
48
51
  # Date/time that the statistic was created
49
52
  attr_accessor :stat_dts
50
53
 
@@ -61,6 +64,7 @@ module UltracartClient
61
64
  :'page_view_count' => :'page_view_count',
62
65
  :'revenue' => :'revenue',
63
66
  :'session_count' => :'session_count',
67
+ :'sms_opt_in_count' => :'sms_opt_in_count',
64
68
  :'stat_dts' => :'stat_dts'
65
69
  }
66
70
  end
@@ -83,6 +87,7 @@ module UltracartClient
83
87
  :'page_view_count' => :'Integer',
84
88
  :'revenue' => :'Float',
85
89
  :'session_count' => :'Integer',
90
+ :'sms_opt_in_count' => :'Integer',
86
91
  :'stat_dts' => :'String'
87
92
  }
88
93
  end
@@ -148,6 +153,10 @@ module UltracartClient
148
153
  self.session_count = attributes[:'session_count']
149
154
  end
150
155
 
156
+ if attributes.key?(:'sms_opt_in_count')
157
+ self.sms_opt_in_count = attributes[:'sms_opt_in_count']
158
+ end
159
+
151
160
  if attributes.key?(:'stat_dts')
152
161
  self.stat_dts = attributes[:'stat_dts']
153
162
  end
@@ -181,6 +190,7 @@ module UltracartClient
181
190
  page_view_count == o.page_view_count &&
182
191
  revenue == o.revenue &&
183
192
  session_count == o.session_count &&
193
+ sms_opt_in_count == o.sms_opt_in_count &&
184
194
  stat_dts == o.stat_dts
185
195
  end
186
196
 
@@ -193,7 +203,7 @@ module UltracartClient
193
203
  # Calculates hash code according to all attributes.
194
204
  # @return [Integer] Hash code
195
205
  def hash
196
- [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, stat_dts].hash
206
+ [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
197
207
  end
198
208
 
199
209
  # 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.57.rc'
14
+ VERSION = '4.0.58.rc'
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.57.rc
4
+ version: 4.0.58.rc
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-22 00:00:00.000000000 Z
11
+ date: 2022-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus