ultracart_api 4.0.57.rc → 4.0.60.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: 261fc0f7647c885bfe5e3441803dcd3ee3669b3681f033712659a90d46db0a1b
4
+ data.tar.gz: a2360ff50b965ca8bbbd3ab7f35dd01ab2e799b04b799c228b9e25e8db1a5feb
5
5
  SHA512:
6
- metadata.gz: ed212a1d617bb5adb14d72537d6aecbea01777353be997c45219ef280b40bba683d50f94149faee9f5c61ce9daf06564c711b6911057c22f070092783a5c7b47
7
- data.tar.gz: 8358ed8300774d4c286063594809c636f2ab29e9af1d846cb7694cdbb4c34a5014337ab3792b893381eae6aacd6d656cfcad2958aecd932ce736ab35cedd1b24
6
+ metadata.gz: e8cf596bdb392ac3ff9a80cf4fde5bc918db647d68e4f48a1b7dff4bc12bcef41ceb47ecc817923b00f76983b1d668ce373c03c5d5fdac759f18d82b9f2fec02
7
+ data.tar.gz: 89cb12a031838e43525266c1723a68fb2bca22c2d5e15965f0653b8286c9a5dad121d98f2371cdca34d9d2aa51e36b70162bddee139e935e3e121ee8abbb99fc
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.60.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.60.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.60.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.60.rc'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1188,6 +1188,9 @@ Not every change is committed to every SDK.
1188
1188
 
1189
1189
  | Version | Date | Comments |
1190
1190
  | --: | :-: | --- |
1191
+ | 4.0.60-RC | 09/02/2022 | customer editor added loyal ledger descriptions |
1192
+ | 4.0.59-RC | 08/30/2022 | storefront comm fields for sms configuration |
1193
+ | 4.0.58-RC | 08/26/2022 | postcard address fields for comm sequence testing |
1191
1194
  | 4.0.57-RC | 08/22/2022 | exposing individual reviews within item.review object |
1192
1195
  | 4.0.56-RC | 08/19/2022 | order api - added cell phone fields for sms |
1193
1196
  | 4.0.55-RC | 08/12/2022 | internal code to allow merchant login as customer |
@@ -9,6 +9,7 @@
9
9
  | **card_exp_years** | **Array<String>** | card_exp_years | [optional] |
10
10
  | **card_types** | **Array<String>** | card_types | [optional] |
11
11
  | **countries** | [**Array<Country>**](Country.md) | countries | [optional] |
12
+ | **loyalty_ledger_descriptions** | **Array<String>** | loyalty_ledger_descriptions | [optional] |
12
13
  | **loyalty_program_type** | **String** | loyalty_program_type | [optional] |
13
14
  | **qb_classes** | **Array<String>** | qb_classes | [optional] |
14
15
  | **sales_rep_codes** | **Array<String>** | sales_rep_codes | [optional] |
@@ -26,6 +27,7 @@ instance = UltracartClient::CustomerEditorValues.new(
26
27
  card_exp_years: null,
27
28
  card_types: null,
28
29
  countries: null,
30
+ loyalty_ledger_descriptions: null,
29
31
  loyalty_program_type: null,
30
32
  qb_classes: null,
31
33
  sales_rep_codes: null,
@@ -25,6 +25,8 @@
25
25
  | **revenue_per_customer_formatted** | **String** | Revenue per customer associated with campaign | [optional] |
26
26
  | **scheduled_dts** | **String** | Scheduled date | [optional] |
27
27
  | **screenshot_large_full_url** | **String** | URL to a large full length screenshot | [optional] |
28
+ | **sms_esp_twilio_uuid** | **String** | Twilio Account UUID. Null for none | [optional] |
29
+ | **sms_phone_number** | **String** | Twilio SMS Phone Number. Null for none | [optional] |
28
30
  | **status** | **String** | Status of the campaign of draft, archived, and sent | [optional] |
29
31
  | **status_dts** | **String** | Timestamp when the last status change happened | [optional] |
30
32
  | **storefront_oid** | **Integer** | Storefront oid | [optional] |
@@ -56,6 +58,8 @@ instance = UltracartClient::EmailCampaign.new(
56
58
  revenue_per_customer_formatted: null,
57
59
  scheduled_dts: null,
58
60
  screenshot_large_full_url: null,
61
+ sms_esp_twilio_uuid: null,
62
+ sms_phone_number: null,
59
63
  status: null,
60
64
  status_dts: null,
61
65
  storefront_oid: null
@@ -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
 
data/docs/EmailFlow.md CHANGED
@@ -26,6 +26,8 @@
26
26
  | **revenue_formatted** | **String** | Revenue, formatted | [optional] |
27
27
  | **revenue_per_customer_formatted** | **String** | Revenue per customer, formatted | [optional] |
28
28
  | **screenshot_large_full_url** | **String** | URL to a large full length screenshot | [optional] |
29
+ | **sms_esp_twilio_uuid** | **String** | Twilio Account UUID. Null for none | [optional] |
30
+ | **sms_phone_number** | **String** | Twilio SMS Phone Number. Null for none | [optional] |
29
31
  | **status** | **String** | Status of the campaign of draft, archived, active, and inactive | [optional] |
30
32
  | **status_dts** | **String** | Timestamp when the last status change happened | [optional] |
31
33
  | **storefront_oid** | **Integer** | Storefront oid | [optional] |
@@ -61,6 +63,8 @@ instance = UltracartClient::EmailFlow.new(
61
63
  revenue_formatted: null,
62
64
  revenue_per_customer_formatted: null,
63
65
  screenshot_large_full_url: null,
66
+ sms_esp_twilio_uuid: null,
67
+ sms_phone_number: null,
64
68
  status: null,
65
69
  status_dts: null,
66
70
  storefront_oid: null,
@@ -13,6 +13,8 @@
13
13
  | **postcard_from_name** | **String** | | [optional] |
14
14
  | **postcard_from_postal_code** | **String** | | [optional] |
15
15
  | **postcard_from_state** | **String** | | [optional] |
16
+ | **sms_esp_twilio_uuid** | **String** | | [optional] |
17
+ | **sms_phone_number** | **String** | | [optional] |
16
18
  | **transactional_esp_domain_user** | **String** | | [optional] |
17
19
  | **transactional_esp_domain_uuid** | **String** | | [optional] |
18
20
  | **transactional_esp_friendly_name** | **String** | | [optional] |
@@ -32,6 +34,8 @@ instance = UltracartClient::EmailSettings.new(
32
34
  postcard_from_name: null,
33
35
  postcard_from_postal_code: null,
34
36
  postcard_from_state: null,
37
+ sms_esp_twilio_uuid: null,
38
+ sms_phone_number: null,
35
39
  transactional_esp_domain_user: null,
36
40
  transactional_esp_domain_uuid: null,
37
41
  transactional_esp_friendly_name: null
@@ -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
@@ -30,6 +30,9 @@ module UltracartClient
30
30
  # countries
31
31
  attr_accessor :countries
32
32
 
33
+ # loyalty_ledger_descriptions
34
+ attr_accessor :loyalty_ledger_descriptions
35
+
33
36
  # loyalty_program_type
34
37
  attr_accessor :loyalty_program_type
35
38
 
@@ -53,6 +56,7 @@ module UltracartClient
53
56
  :'card_exp_years' => :'card_exp_years',
54
57
  :'card_types' => :'card_types',
55
58
  :'countries' => :'countries',
59
+ :'loyalty_ledger_descriptions' => :'loyalty_ledger_descriptions',
56
60
  :'loyalty_program_type' => :'loyalty_program_type',
57
61
  :'qb_classes' => :'qb_classes',
58
62
  :'sales_rep_codes' => :'sales_rep_codes',
@@ -74,6 +78,7 @@ module UltracartClient
74
78
  :'card_exp_years' => :'Array<String>',
75
79
  :'card_types' => :'Array<String>',
76
80
  :'countries' => :'Array<Country>',
81
+ :'loyalty_ledger_descriptions' => :'Array<String>',
77
82
  :'loyalty_program_type' => :'String',
78
83
  :'qb_classes' => :'Array<String>',
79
84
  :'sales_rep_codes' => :'Array<String>',
@@ -133,6 +138,12 @@ module UltracartClient
133
138
  end
134
139
  end
135
140
 
141
+ if attributes.key?(:'loyalty_ledger_descriptions')
142
+ if (value = attributes[:'loyalty_ledger_descriptions']).is_a?(Array)
143
+ self.loyalty_ledger_descriptions = value
144
+ end
145
+ end
146
+
136
147
  if attributes.key?(:'loyalty_program_type')
137
148
  self.loyalty_program_type = attributes[:'loyalty_program_type']
138
149
  end
@@ -185,6 +196,7 @@ module UltracartClient
185
196
  card_exp_years == o.card_exp_years &&
186
197
  card_types == o.card_types &&
187
198
  countries == o.countries &&
199
+ loyalty_ledger_descriptions == o.loyalty_ledger_descriptions &&
188
200
  loyalty_program_type == o.loyalty_program_type &&
189
201
  qb_classes == o.qb_classes &&
190
202
  sales_rep_codes == o.sales_rep_codes &&
@@ -201,7 +213,7 @@ module UltracartClient
201
213
  # Calculates hash code according to all attributes.
202
214
  # @return [Integer] Hash code
203
215
  def hash
204
- [affiliates, card_exp_months, card_exp_years, card_types, countries, loyalty_program_type, qb_classes, sales_rep_codes, state_optional_countries, terms].hash
216
+ [affiliates, card_exp_months, card_exp_years, card_types, countries, loyalty_ledger_descriptions, loyalty_program_type, qb_classes, sales_rep_codes, state_optional_countries, terms].hash
205
217
  end
206
218
 
207
219
  # Builds the object from hash
@@ -78,6 +78,12 @@ module UltracartClient
78
78
  # URL to a large full length screenshot
79
79
  attr_accessor :screenshot_large_full_url
80
80
 
81
+ # Twilio Account UUID. Null for none
82
+ attr_accessor :sms_esp_twilio_uuid
83
+
84
+ # Twilio SMS Phone Number. Null for none
85
+ attr_accessor :sms_phone_number
86
+
81
87
  # Status of the campaign of draft, archived, and sent
82
88
  attr_accessor :status
83
89
 
@@ -111,6 +117,8 @@ module UltracartClient
111
117
  :'revenue_per_customer_formatted' => :'revenue_per_customer_formatted',
112
118
  :'scheduled_dts' => :'scheduled_dts',
113
119
  :'screenshot_large_full_url' => :'screenshot_large_full_url',
120
+ :'sms_esp_twilio_uuid' => :'sms_esp_twilio_uuid',
121
+ :'sms_phone_number' => :'sms_phone_number',
114
122
  :'status' => :'status',
115
123
  :'status_dts' => :'status_dts',
116
124
  :'storefront_oid' => :'storefront_oid'
@@ -146,6 +154,8 @@ module UltracartClient
146
154
  :'revenue_per_customer_formatted' => :'String',
147
155
  :'scheduled_dts' => :'String',
148
156
  :'screenshot_large_full_url' => :'String',
157
+ :'sms_esp_twilio_uuid' => :'String',
158
+ :'sms_phone_number' => :'String',
149
159
  :'status' => :'String',
150
160
  :'status_dts' => :'String',
151
161
  :'storefront_oid' => :'Integer'
@@ -259,6 +269,14 @@ module UltracartClient
259
269
  self.screenshot_large_full_url = attributes[:'screenshot_large_full_url']
260
270
  end
261
271
 
272
+ if attributes.key?(:'sms_esp_twilio_uuid')
273
+ self.sms_esp_twilio_uuid = attributes[:'sms_esp_twilio_uuid']
274
+ end
275
+
276
+ if attributes.key?(:'sms_phone_number')
277
+ self.sms_phone_number = attributes[:'sms_phone_number']
278
+ end
279
+
262
280
  if attributes.key?(:'status')
263
281
  self.status = attributes[:'status']
264
282
  end
@@ -326,6 +344,8 @@ module UltracartClient
326
344
  revenue_per_customer_formatted == o.revenue_per_customer_formatted &&
327
345
  scheduled_dts == o.scheduled_dts &&
328
346
  screenshot_large_full_url == o.screenshot_large_full_url &&
347
+ sms_esp_twilio_uuid == o.sms_esp_twilio_uuid &&
348
+ sms_phone_number == o.sms_phone_number &&
329
349
  status == o.status &&
330
350
  status_dts == o.status_dts &&
331
351
  storefront_oid == o.storefront_oid
@@ -340,7 +360,7 @@ module UltracartClient
340
360
  # Calculates hash code according to all attributes.
341
361
  # @return [Integer] Hash code
342
362
  def hash
343
- [click_rate_formatted, created_dts, deleted, email_campaign_uuid, email_communication_sequence_uuid, end_once_customer_purchases, end_once_customer_purchases_anywhere, esp_campaign_folder_uuid, esp_domain_user, esp_domain_uuid, esp_friendly_name, library_item_oid, memberships, merchant_id, name, open_rate_formatted, prevent_sending_due_to_spam, revenue_formatted, revenue_per_customer_formatted, scheduled_dts, screenshot_large_full_url, status, status_dts, storefront_oid].hash
363
+ [click_rate_formatted, created_dts, deleted, email_campaign_uuid, email_communication_sequence_uuid, end_once_customer_purchases, end_once_customer_purchases_anywhere, esp_campaign_folder_uuid, esp_domain_user, esp_domain_uuid, esp_friendly_name, library_item_oid, memberships, merchant_id, name, open_rate_formatted, prevent_sending_due_to_spam, revenue_formatted, revenue_per_customer_formatted, scheduled_dts, screenshot_large_full_url, sms_esp_twilio_uuid, sms_phone_number, status, status_dts, storefront_oid].hash
344
364
  end
345
365
 
346
366
  # Builds the object from hash
@@ -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
@@ -81,6 +81,12 @@ module UltracartClient
81
81
  # URL to a large full length screenshot
82
82
  attr_accessor :screenshot_large_full_url
83
83
 
84
+ # Twilio Account UUID. Null for none
85
+ attr_accessor :sms_esp_twilio_uuid
86
+
87
+ # Twilio SMS Phone Number. Null for none
88
+ attr_accessor :sms_phone_number
89
+
84
90
  # Status of the campaign of draft, archived, active, and inactive
85
91
  attr_accessor :status
86
92
 
@@ -124,6 +130,8 @@ module UltracartClient
124
130
  :'revenue_formatted' => :'revenue_formatted',
125
131
  :'revenue_per_customer_formatted' => :'revenue_per_customer_formatted',
126
132
  :'screenshot_large_full_url' => :'screenshot_large_full_url',
133
+ :'sms_esp_twilio_uuid' => :'sms_esp_twilio_uuid',
134
+ :'sms_phone_number' => :'sms_phone_number',
127
135
  :'status' => :'status',
128
136
  :'status_dts' => :'status_dts',
129
137
  :'storefront_oid' => :'storefront_oid',
@@ -163,6 +171,8 @@ module UltracartClient
163
171
  :'revenue_formatted' => :'String',
164
172
  :'revenue_per_customer_formatted' => :'String',
165
173
  :'screenshot_large_full_url' => :'String',
174
+ :'sms_esp_twilio_uuid' => :'String',
175
+ :'sms_phone_number' => :'String',
166
176
  :'status' => :'String',
167
177
  :'status_dts' => :'String',
168
178
  :'storefront_oid' => :'Integer',
@@ -281,6 +291,14 @@ module UltracartClient
281
291
  self.screenshot_large_full_url = attributes[:'screenshot_large_full_url']
282
292
  end
283
293
 
294
+ if attributes.key?(:'sms_esp_twilio_uuid')
295
+ self.sms_esp_twilio_uuid = attributes[:'sms_esp_twilio_uuid']
296
+ end
297
+
298
+ if attributes.key?(:'sms_phone_number')
299
+ self.sms_phone_number = attributes[:'sms_phone_number']
300
+ end
301
+
284
302
  if attributes.key?(:'status')
285
303
  self.status = attributes[:'status']
286
304
  end
@@ -361,6 +379,8 @@ module UltracartClient
361
379
  revenue_formatted == o.revenue_formatted &&
362
380
  revenue_per_customer_formatted == o.revenue_per_customer_formatted &&
363
381
  screenshot_large_full_url == o.screenshot_large_full_url &&
382
+ sms_esp_twilio_uuid == o.sms_esp_twilio_uuid &&
383
+ sms_phone_number == o.sms_phone_number &&
364
384
  status == o.status &&
365
385
  status_dts == o.status_dts &&
366
386
  storefront_oid == o.storefront_oid &&
@@ -378,7 +398,7 @@ module UltracartClient
378
398
  # Calculates hash code according to all attributes.
379
399
  # @return [Integer] Hash code
380
400
  def hash
381
- [allow_multiple_concurrent_enrollments, back_populating, click_rate_formatted, created_dts, deleted, email_communication_sequence_uuid, email_flow_uuid, end_once_customer_purchases, end_once_customer_purchases_anywhere, enrolled_customers, esp_domain_user, esp_domain_uuid, esp_flow_folder_uuid, esp_friendly_name, filter_profile_equation_json, library_item_oid, merchant_id, name, open_rate_formatted, revenue_formatted, revenue_per_customer_formatted, screenshot_large_full_url, status, status_dts, storefront_oid, trigger_parameter, trigger_parameter_name, trigger_type].hash
401
+ [allow_multiple_concurrent_enrollments, back_populating, click_rate_formatted, created_dts, deleted, email_communication_sequence_uuid, email_flow_uuid, end_once_customer_purchases, end_once_customer_purchases_anywhere, enrolled_customers, esp_domain_user, esp_domain_uuid, esp_flow_folder_uuid, esp_friendly_name, filter_profile_equation_json, library_item_oid, merchant_id, name, open_rate_formatted, revenue_formatted, revenue_per_customer_formatted, screenshot_large_full_url, sms_esp_twilio_uuid, sms_phone_number, status, status_dts, storefront_oid, trigger_parameter, trigger_parameter_name, trigger_type].hash
382
402
  end
383
403
 
384
404
  # Builds the object from hash
@@ -33,6 +33,10 @@ module UltracartClient
33
33
 
34
34
  attr_accessor :postcard_from_state
35
35
 
36
+ attr_accessor :sms_esp_twilio_uuid
37
+
38
+ attr_accessor :sms_phone_number
39
+
36
40
  attr_accessor :transactional_esp_domain_user
37
41
 
38
42
  attr_accessor :transactional_esp_domain_uuid
@@ -51,6 +55,8 @@ module UltracartClient
51
55
  :'postcard_from_name' => :'postcard_from_name',
52
56
  :'postcard_from_postal_code' => :'postcard_from_postal_code',
53
57
  :'postcard_from_state' => :'postcard_from_state',
58
+ :'sms_esp_twilio_uuid' => :'sms_esp_twilio_uuid',
59
+ :'sms_phone_number' => :'sms_phone_number',
54
60
  :'transactional_esp_domain_user' => :'transactional_esp_domain_user',
55
61
  :'transactional_esp_domain_uuid' => :'transactional_esp_domain_uuid',
56
62
  :'transactional_esp_friendly_name' => :'transactional_esp_friendly_name'
@@ -74,6 +80,8 @@ module UltracartClient
74
80
  :'postcard_from_name' => :'String',
75
81
  :'postcard_from_postal_code' => :'String',
76
82
  :'postcard_from_state' => :'String',
83
+ :'sms_esp_twilio_uuid' => :'String',
84
+ :'sms_phone_number' => :'String',
77
85
  :'transactional_esp_domain_user' => :'String',
78
86
  :'transactional_esp_domain_uuid' => :'String',
79
87
  :'transactional_esp_friendly_name' => :'String'
@@ -137,6 +145,14 @@ module UltracartClient
137
145
  self.postcard_from_state = attributes[:'postcard_from_state']
138
146
  end
139
147
 
148
+ if attributes.key?(:'sms_esp_twilio_uuid')
149
+ self.sms_esp_twilio_uuid = attributes[:'sms_esp_twilio_uuid']
150
+ end
151
+
152
+ if attributes.key?(:'sms_phone_number')
153
+ self.sms_phone_number = attributes[:'sms_phone_number']
154
+ end
155
+
140
156
  if attributes.key?(:'transactional_esp_domain_user')
141
157
  self.transactional_esp_domain_user = attributes[:'transactional_esp_domain_user']
142
158
  end
@@ -177,6 +193,8 @@ module UltracartClient
177
193
  postcard_from_name == o.postcard_from_name &&
178
194
  postcard_from_postal_code == o.postcard_from_postal_code &&
179
195
  postcard_from_state == o.postcard_from_state &&
196
+ sms_esp_twilio_uuid == o.sms_esp_twilio_uuid &&
197
+ sms_phone_number == o.sms_phone_number &&
180
198
  transactional_esp_domain_user == o.transactional_esp_domain_user &&
181
199
  transactional_esp_domain_uuid == o.transactional_esp_domain_uuid &&
182
200
  transactional_esp_friendly_name == o.transactional_esp_friendly_name
@@ -191,7 +209,7 @@ module UltracartClient
191
209
  # Calculates hash code according to all attributes.
192
210
  # @return [Integer] Hash code
193
211
  def hash
194
- [marketing_esp_domain_user, marketing_esp_domain_uuid, marketing_esp_friendly_name, postcard_from_address1, postcard_from_address2, postcard_from_city, postcard_from_name, postcard_from_postal_code, postcard_from_state, transactional_esp_domain_user, transactional_esp_domain_uuid, transactional_esp_friendly_name].hash
212
+ [marketing_esp_domain_user, marketing_esp_domain_uuid, marketing_esp_friendly_name, postcard_from_address1, postcard_from_address2, postcard_from_city, postcard_from_name, postcard_from_postal_code, postcard_from_state, sms_esp_twilio_uuid, sms_phone_number, transactional_esp_domain_user, transactional_esp_domain_uuid, transactional_esp_friendly_name].hash
195
213
  end
196
214
 
197
215
  # 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.60.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.60.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-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus