ultracart_api 3.10.57 → 3.10.59

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: af59a14825e9bb12ef8dff390e8ae3cc6f73169cde7587a20ad2566b14492ad3
4
- data.tar.gz: a9d0b89350fc2716d3a675bac927e59fe8632fde69de785452810f4501ce22c4
3
+ metadata.gz: 3c05f5bad8992db00b040dea25dbfadf73ef19e23cc05e3dc53cb6e5018f3bce
4
+ data.tar.gz: 6e09b07fac0579fc1797a6743bef271299c988cd22148f3a86f9fa8ccfd3f950
5
5
  SHA512:
6
- metadata.gz: '029781d44d7e3200e4d5438c9d4bb0f7a57d94604f73b58524da42a45d23817bfba8210d23d96757441feda049afe9869e2f03fe89cb65e08f1e75263906ccfe'
7
- data.tar.gz: 0a89c401e44f64b12889388d078bc8822b28b2c86cffd267a881ab82ac685ce2bd48f563798854ecce88c0ea9833fe9f8051fd9be28e825d823a59159b79a781
6
+ metadata.gz: 1b051447838c903aa2671e5c0e92ec8c300682e7ebd0e516580c767eb36581e608e0b12944316d56301f7824614e26686e92d6a99f86f96afb59cc74ea75d4aa
7
+ data.tar.gz: a442d68c3807f34242869658c743c2bab4b6da1d03547e2ee07ee307eb65064eaf593d70f1ff8ab847ce4df764c35bc4aaff210bf71ad9ad4f7c3fa8e50ebb8b
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.57
10
+ - Package version: 3.10.59
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.57.gem
27
+ gem install ./ultracart_api-3.10.59.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.57.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.59.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.57'
35
+ gem 'ultracart_api', '~> 3.10.59'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -379,6 +379,7 @@ Class | Method | HTTP request | Description
379
379
  *UltracartClient::StorefrontApi* | [**search_shared_items**](docs/StorefrontApi.md#search_shared_items) | **POST** /storefront/code_library/search_shared | Retrieve library items
380
380
  *UltracartClient::StorefrontApi* | [**send_email_test**](docs/StorefrontApi.md#send_email_test) | **POST** /storefront/{storefront_oid}/email/emails/{commseq_email_uuid}/test | Send email test
381
381
  *UltracartClient::StorefrontApi* | [**send_postcard_test**](docs/StorefrontApi.md#send_postcard_test) | **POST** /storefront/{storefront_oid}/email/postcards/{commseq_postcard_uuid}/test | Send postcard test
382
+ *UltracartClient::StorefrontApi* | [**send_sms_test**](docs/StorefrontApi.md#send_sms_test) | **POST** /storefront/{storefront_oid}/email/sms/{commseq_uuid}/{commseq_step_uuid}/test | Send SMS test
382
383
  *UltracartClient::StorefrontApi* | [**send_webhook_test**](docs/StorefrontApi.md#send_webhook_test) | **POST** /storefront/{storefront_oid}/email/webhooks/test | Send webhook test
383
384
  *UltracartClient::StorefrontApi* | [**sequence_test**](docs/StorefrontApi.md#sequence_test) | **POST** /storefront/{storefront_oid}/email/commseqs/{commseq_uuid}/test | Sequence test
384
385
  *UltracartClient::StorefrontApi* | [**start_email_campaign**](docs/StorefrontApi.md#start_email_campaign) | **PUT** /storefront/{storefront_oid}/email/campaigns/{email_campaign_uuid}/start | Start email campaign
@@ -727,6 +728,8 @@ Class | Method | HTTP request | Description
727
728
  - [UltracartClient::EmailCommseqResponse](docs/EmailCommseqResponse.md)
728
729
  - [UltracartClient::EmailCommseqSequenceTestRequest](docs/EmailCommseqSequenceTestRequest.md)
729
730
  - [UltracartClient::EmailCommseqSequenceTestResponse](docs/EmailCommseqSequenceTestResponse.md)
731
+ - [UltracartClient::EmailCommseqSmsSendTestRequest](docs/EmailCommseqSmsSendTestRequest.md)
732
+ - [UltracartClient::EmailCommseqSmsSendTestResponse](docs/EmailCommseqSmsSendTestResponse.md)
730
733
  - [UltracartClient::EmailCommseqStat](docs/EmailCommseqStat.md)
731
734
  - [UltracartClient::EmailCommseqStatResponse](docs/EmailCommseqStatResponse.md)
732
735
  - [UltracartClient::EmailCommseqStep](docs/EmailCommseqStep.md)
@@ -1209,6 +1212,8 @@ Not every change is committed to every SDK.
1209
1212
 
1210
1213
  | Version | Date | Comments |
1211
1214
  | --: | :-: | --- |
1215
+ | 3.10.59 | 10/31/2022 | communications - addl statistics on EmailStepStat object |
1216
+ | 3.10.58 | 10/26/2022 | esp - methods for sms testing |
1212
1217
  | 3.10.57 | 10/17/2022 | conversations - add last_interactive_message_dts |
1213
1218
  | 3.10.56 | 10/07/2022 | bug fix for digital items response |
1214
1219
  | 3.10.55 | 10/05/2022 | storefront rest file cdn icon urls |
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **left_dts** | **String** | Left conversation date/time | [optional]
12
12
  **profile_image_url** | **String** | | [optional]
13
13
  **status** | **String** | | [optional]
14
+ **timezone** | **String** | | [optional]
14
15
  **unread_messages** | **Integer** | | [optional]
15
16
 
16
17
 
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
14
14
  **order_id** | **String** | | [optional]
15
15
  **please_review** | **BOOLEAN** | | [optional]
16
16
  **postal_code** | **String** | | [optional]
17
+ **send_to_cellphone_e164** | **String** | | [optional]
17
18
  **send_to_email** | **String** | | [optional]
18
19
  **send_to_logged_in_user** | **BOOLEAN** | | [optional]
19
20
  **state** | **String** | | [optional]
@@ -0,0 +1,10 @@
1
+ # UltracartClient::EmailCommseqSmsSendTestRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **esp_commseq_step_uuid** | **String** | | [optional]
7
+ **esp_commseq_uuid** | **String** | | [optional]
8
+ **send_to_cellphone_e164** | **String** | | [optional]
9
+
10
+
@@ -0,0 +1,13 @@
1
+ # UltracartClient::EmailCommseqSmsSendTestResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **body** | **String** | | [optional]
7
+ **error** | [**Error**](Error.md) | | [optional]
8
+ **media_urls** | **Array<String>** | | [optional]
9
+ **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
10
+ **success** | **BOOLEAN** | Indicates if API call was successful | [optional]
11
+ **warning** | [**Warning**](Warning.md) | | [optional]
12
+
13
+
@@ -3,16 +3,25 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **left_conversion_count** | **Integer** | conversion count (left/default side) | [optional]
6
+ **left_click_count_formatted** | **String** | click count formatted (left side) | [optional]
7
+ **left_conversion_count** | **Integer** | click count (left side) | [optional]
7
8
  **left_conversion_count_formatted** | **String** | conversion count formatted (left/default side) | [optional]
8
9
  **left_customer_count** | **Integer** | customer count (left/default side) | [optional]
9
10
  **left_customer_count_formatted** | **String** | customer count formatted (left/default side) | [optional]
11
+ **left_delivered_count** | **Integer** | delivered count (left side) | [optional]
12
+ **left_delivered_count_formatted** | **String** | delivered count formatted (left side) | [optional]
10
13
  **left_order_count** | **Integer** | order count (left/default side) | [optional]
11
14
  **left_order_count_formatted** | **String** | order count formatted (left/default side) | [optional]
12
15
  **left_profit** | **Float** | profit (left/default side) | [optional]
13
16
  **left_profit_formatted** | **String** | profit formatted (left/default side) | [optional]
14
17
  **left_revenue** | **Float** | revenue (left/default side) | [optional]
15
18
  **left_revenue_formatted** | **String** | revenue formatted (left/default side) | [optional]
19
+ **left_send_count** | **Integer** | send count (left side) | [optional]
20
+ **left_send_count_formatted** | **String** | send count formatted (left side) | [optional]
21
+ **left_skipped_count** | **Integer** | conversion count (left side) | [optional]
22
+ **left_skipped_count_formatted** | **String** | skipped count formatted (left side) | [optional]
23
+ **left_unsubscribe_count** | **Integer** | unsubscribe count (left side) | [optional]
24
+ **left_unsubscribe_count_formatted** | **String** | unsubscribe count formatted (left side) | [optional]
16
25
  **right_conversion_count** | **Integer** | conversion count (right side) | [optional]
17
26
  **right_conversion_count_formatted** | **String** | conversion count formatted (right side) | [optional]
18
27
  **right_customer_count** | **Integer** | customer count (right side) | [optional]
@@ -145,6 +145,7 @@ Method | HTTP request | Description
145
145
  [**search_shared_items**](StorefrontApi.md#search_shared_items) | **POST** /storefront/code_library/search_shared | Retrieve library items
146
146
  [**send_email_test**](StorefrontApi.md#send_email_test) | **POST** /storefront/{storefront_oid}/email/emails/{commseq_email_uuid}/test | Send email test
147
147
  [**send_postcard_test**](StorefrontApi.md#send_postcard_test) | **POST** /storefront/{storefront_oid}/email/postcards/{commseq_postcard_uuid}/test | Send postcard test
148
+ [**send_sms_test**](StorefrontApi.md#send_sms_test) | **POST** /storefront/{storefront_oid}/email/sms/{commseq_uuid}/{commseq_step_uuid}/test | Send SMS test
148
149
  [**send_webhook_test**](StorefrontApi.md#send_webhook_test) | **POST** /storefront/{storefront_oid}/email/webhooks/test | Send webhook test
149
150
  [**sequence_test**](StorefrontApi.md#sequence_test) | **POST** /storefront/{storefront_oid}/email/commseqs/{commseq_uuid}/test | Sequence test
150
151
  [**start_email_campaign**](StorefrontApi.md#start_email_campaign) | **PUT** /storefront/{storefront_oid}/email/campaigns/{email_campaign_uuid}/start | Start email campaign
@@ -7412,6 +7413,63 @@ Name | Type | Description | Notes
7412
7413
 
7413
7414
 
7414
7415
 
7416
+ # **send_sms_test**
7417
+ > EmailCommseqSmsSendTestResponse send_sms_test(storefront_oid, commseq_uuid, commseq_step_uuid, email_commseq_sms_test_request)
7418
+
7419
+ Send SMS test
7420
+
7421
+ ### Example
7422
+ ```ruby
7423
+ # load the gem
7424
+ require 'ultracart_api'
7425
+
7426
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
7427
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
7428
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
7429
+
7430
+
7431
+ storefront_oid = 56 # Integer |
7432
+
7433
+ commseq_uuid = 'commseq_uuid_example' # String |
7434
+
7435
+ commseq_step_uuid = 'commseq_step_uuid_example' # String |
7436
+
7437
+ email_commseq_sms_test_request = UltracartClient::EmailCommseqSmsSendTestRequest.new # EmailCommseqSmsSendTestRequest | Email commseq sms test request
7438
+
7439
+
7440
+ begin
7441
+ #Send SMS test
7442
+ result = api_instance.send_sms_test(storefront_oid, commseq_uuid, commseq_step_uuid, email_commseq_sms_test_request)
7443
+ p result
7444
+ rescue UltracartClient::ApiError => e
7445
+ puts "Exception when calling StorefrontApi->send_sms_test: #{e}"
7446
+ end
7447
+ ```
7448
+
7449
+ ### Parameters
7450
+
7451
+ Name | Type | Description | Notes
7452
+ ------------- | ------------- | ------------- | -------------
7453
+ **storefront_oid** | **Integer**| |
7454
+ **commseq_uuid** | **String**| |
7455
+ **commseq_step_uuid** | **String**| |
7456
+ **email_commseq_sms_test_request** | [**EmailCommseqSmsSendTestRequest**](EmailCommseqSmsSendTestRequest.md)| Email commseq sms test request |
7457
+
7458
+ ### Return type
7459
+
7460
+ [**EmailCommseqSmsSendTestResponse**](EmailCommseqSmsSendTestResponse.md)
7461
+
7462
+ ### Authorization
7463
+
7464
+ [ultraCartBrowserApiKey](../README.md#ultraCartBrowserApiKey), [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
7465
+
7466
+ ### HTTP request headers
7467
+
7468
+ - **Content-Type**: application/json
7469
+ - **Accept**: application/json
7470
+
7471
+
7472
+
7415
7473
  # **send_webhook_test**
7416
7474
  > EmailCommseqWebhookSendTestResponse send_webhook_test(storefront_oid, email_commseq_webhook_test_request)
7417
7475
 
@@ -8265,6 +8265,77 @@ module UltracartClient
8265
8265
  end
8266
8266
  return data, status_code, headers
8267
8267
  end
8268
+ # Send SMS test
8269
+ # @param storefront_oid
8270
+ # @param commseq_uuid
8271
+ # @param commseq_step_uuid
8272
+ # @param email_commseq_sms_test_request Email commseq sms test request
8273
+ # @param [Hash] opts the optional parameters
8274
+ # @return [EmailCommseqSmsSendTestResponse]
8275
+ def send_sms_test(storefront_oid, commseq_uuid, commseq_step_uuid, email_commseq_sms_test_request, opts = {})
8276
+ data, _status_code, _headers = send_sms_test_with_http_info(storefront_oid, commseq_uuid, commseq_step_uuid, email_commseq_sms_test_request, opts)
8277
+ data
8278
+ end
8279
+
8280
+ # Send SMS test
8281
+ # @param storefront_oid
8282
+ # @param commseq_uuid
8283
+ # @param commseq_step_uuid
8284
+ # @param email_commseq_sms_test_request Email commseq sms test request
8285
+ # @param [Hash] opts the optional parameters
8286
+ # @return [Array<(EmailCommseqSmsSendTestResponse, Fixnum, Hash)>] EmailCommseqSmsSendTestResponse data, response status code and response headers
8287
+ def send_sms_test_with_http_info(storefront_oid, commseq_uuid, commseq_step_uuid, email_commseq_sms_test_request, opts = {})
8288
+ if @api_client.config.debugging
8289
+ @api_client.config.logger.debug 'Calling API: StorefrontApi.send_sms_test ...'
8290
+ end
8291
+ # verify the required parameter 'storefront_oid' is set
8292
+ if @api_client.config.client_side_validation && storefront_oid.nil?
8293
+ fail ArgumentError, "Missing the required parameter 'storefront_oid' when calling StorefrontApi.send_sms_test"
8294
+ end
8295
+ # verify the required parameter 'commseq_uuid' is set
8296
+ if @api_client.config.client_side_validation && commseq_uuid.nil?
8297
+ fail ArgumentError, "Missing the required parameter 'commseq_uuid' when calling StorefrontApi.send_sms_test"
8298
+ end
8299
+ # verify the required parameter 'commseq_step_uuid' is set
8300
+ if @api_client.config.client_side_validation && commseq_step_uuid.nil?
8301
+ fail ArgumentError, "Missing the required parameter 'commseq_step_uuid' when calling StorefrontApi.send_sms_test"
8302
+ end
8303
+ # verify the required parameter 'email_commseq_sms_test_request' is set
8304
+ if @api_client.config.client_side_validation && email_commseq_sms_test_request.nil?
8305
+ fail ArgumentError, "Missing the required parameter 'email_commseq_sms_test_request' when calling StorefrontApi.send_sms_test"
8306
+ end
8307
+ # resource path
8308
+ local_var_path = '/storefront/{storefront_oid}/email/sms/{commseq_uuid}/{commseq_step_uuid}/test'.sub('{' + 'storefront_oid' + '}', storefront_oid.to_s).sub('{' + 'commseq_uuid' + '}', commseq_uuid.to_s).sub('{' + 'commseq_step_uuid' + '}', commseq_step_uuid.to_s)
8309
+
8310
+ # query parameters
8311
+ query_params = {}
8312
+
8313
+ # header parameters
8314
+ header_params = {}
8315
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
8316
+ # HTTP header 'Accept' (if needed)
8317
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8318
+ # HTTP header 'Content-Type'
8319
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
8320
+
8321
+ # form parameters
8322
+ form_params = {}
8323
+
8324
+ # http body (model)
8325
+ post_body = @api_client.object_to_http_body(email_commseq_sms_test_request)
8326
+ auth_names = ['ultraCartBrowserApiKey', 'ultraCartOauth', 'ultraCartSimpleApiKey']
8327
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
8328
+ :header_params => header_params,
8329
+ :query_params => query_params,
8330
+ :form_params => form_params,
8331
+ :body => post_body,
8332
+ :auth_names => auth_names,
8333
+ :return_type => 'EmailCommseqSmsSendTestResponse')
8334
+ if @api_client.config.debugging
8335
+ @api_client.config.logger.debug "API called: StorefrontApi#send_sms_test\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
8336
+ end
8337
+ return data, status_code, headers
8338
+ end
8268
8339
  # Send webhook test
8269
8340
  # @param storefront_oid
8270
8341
  # @param email_commseq_webhook_test_request Email commseq webhook test request
@@ -33,6 +33,8 @@ module UltracartClient
33
33
 
34
34
  attr_accessor :status
35
35
 
36
+ attr_accessor :timezone
37
+
36
38
  attr_accessor :unread_messages
37
39
 
38
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,6 +48,7 @@ module UltracartClient
46
48
  :'left_dts' => :'left_dts',
47
49
  :'profile_image_url' => :'profile_image_url',
48
50
  :'status' => :'status',
51
+ :'timezone' => :'timezone',
49
52
  :'unread_messages' => :'unread_messages'
50
53
  }
51
54
  end
@@ -61,6 +64,7 @@ module UltracartClient
61
64
  :'left_dts' => :'String',
62
65
  :'profile_image_url' => :'String',
63
66
  :'status' => :'String',
67
+ :'timezone' => :'String',
64
68
  :'unread_messages' => :'Integer'
65
69
  }
66
70
  end
@@ -105,6 +109,10 @@ module UltracartClient
105
109
  self.status = attributes[:'status']
106
110
  end
107
111
 
112
+ if attributes.has_key?(:'timezone')
113
+ self.timezone = attributes[:'timezone']
114
+ end
115
+
108
116
  if attributes.has_key?(:'unread_messages')
109
117
  self.unread_messages = attributes[:'unread_messages']
110
118
  end
@@ -136,6 +144,7 @@ module UltracartClient
136
144
  left_dts == o.left_dts &&
137
145
  profile_image_url == o.profile_image_url &&
138
146
  status == o.status &&
147
+ timezone == o.timezone &&
139
148
  unread_messages == o.unread_messages
140
149
  end
141
150
 
@@ -148,7 +157,7 @@ module UltracartClient
148
157
  # Calculates hash code according to all attributes.
149
158
  # @return [Fixnum] Hash code
150
159
  def hash
151
- [conversation_participant_arn, conversation_participant_name, conversation_participant_uuid, joined_dts, last_message_dts, left_dts, profile_image_url, status, unread_messages].hash
160
+ [conversation_participant_arn, conversation_participant_name, conversation_participant_uuid, joined_dts, last_message_dts, left_dts, profile_image_url, status, timezone, unread_messages].hash
152
161
  end
153
162
 
154
163
  # Builds the object from hash
@@ -36,6 +36,8 @@ module UltracartClient
36
36
 
37
37
  attr_accessor :postal_code
38
38
 
39
+ attr_accessor :send_to_cellphone_e164
40
+
39
41
  attr_accessor :send_to_email
40
42
 
41
43
  attr_accessor :send_to_logged_in_user
@@ -56,6 +58,7 @@ module UltracartClient
56
58
  :'order_id' => :'order_id',
57
59
  :'please_review' => :'please_review',
58
60
  :'postal_code' => :'postal_code',
61
+ :'send_to_cellphone_e164' => :'send_to_cellphone_e164',
59
62
  :'send_to_email' => :'send_to_email',
60
63
  :'send_to_logged_in_user' => :'send_to_logged_in_user',
61
64
  :'state' => :'state'
@@ -76,6 +79,7 @@ module UltracartClient
76
79
  :'order_id' => :'String',
77
80
  :'please_review' => :'BOOLEAN',
78
81
  :'postal_code' => :'String',
82
+ :'send_to_cellphone_e164' => :'String',
79
83
  :'send_to_email' => :'String',
80
84
  :'send_to_logged_in_user' => :'BOOLEAN',
81
85
  :'state' => :'String'
@@ -136,6 +140,10 @@ module UltracartClient
136
140
  self.postal_code = attributes[:'postal_code']
137
141
  end
138
142
 
143
+ if attributes.has_key?(:'send_to_cellphone_e164')
144
+ self.send_to_cellphone_e164 = attributes[:'send_to_cellphone_e164']
145
+ end
146
+
139
147
  if attributes.has_key?(:'send_to_email')
140
148
  self.send_to_email = attributes[:'send_to_email']
141
149
  end
@@ -178,6 +186,7 @@ module UltracartClient
178
186
  order_id == o.order_id &&
179
187
  please_review == o.please_review &&
180
188
  postal_code == o.postal_code &&
189
+ send_to_cellphone_e164 == o.send_to_cellphone_e164 &&
181
190
  send_to_email == o.send_to_email &&
182
191
  send_to_logged_in_user == o.send_to_logged_in_user &&
183
192
  state == o.state
@@ -192,7 +201,7 @@ module UltracartClient
192
201
  # Calculates hash code according to all attributes.
193
202
  # @return [Fixnum] Hash code
194
203
  def hash
195
- [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
204
+ [address_1, address_2, cart_id, cart_item_ids, city, esp_commseq_uuid, mail_card, name, order_id, please_review, postal_code, send_to_cellphone_e164, send_to_email, send_to_logged_in_user, state].hash
196
205
  end
197
206
 
198
207
  # Builds the object from hash
@@ -0,0 +1,202 @@
1
+ =begin
2
+ #UltraCart Rest API V2
3
+
4
+ #UltraCart REST API Version 2
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.15-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module UltracartClient
16
+ class EmailCommseqSmsSendTestRequest
17
+ attr_accessor :esp_commseq_step_uuid
18
+
19
+ attr_accessor :esp_commseq_uuid
20
+
21
+ attr_accessor :send_to_cellphone_e164
22
+
23
+ # Attribute mapping from ruby-style variable name to JSON key.
24
+ def self.attribute_map
25
+ {
26
+ :'esp_commseq_step_uuid' => :'esp_commseq_step_uuid',
27
+ :'esp_commseq_uuid' => :'esp_commseq_uuid',
28
+ :'send_to_cellphone_e164' => :'send_to_cellphone_e164'
29
+ }
30
+ end
31
+
32
+ # Attribute type mapping.
33
+ def self.swagger_types
34
+ {
35
+ :'esp_commseq_step_uuid' => :'String',
36
+ :'esp_commseq_uuid' => :'String',
37
+ :'send_to_cellphone_e164' => :'String'
38
+ }
39
+ end
40
+
41
+ # Initializes the object
42
+ # @param [Hash] attributes Model attributes in the form of hash
43
+ def initialize(attributes = {})
44
+ return unless attributes.is_a?(Hash)
45
+
46
+ # convert string to symbol for hash key
47
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
48
+
49
+ if attributes.has_key?(:'esp_commseq_step_uuid')
50
+ self.esp_commseq_step_uuid = attributes[:'esp_commseq_step_uuid']
51
+ end
52
+
53
+ if attributes.has_key?(:'esp_commseq_uuid')
54
+ self.esp_commseq_uuid = attributes[:'esp_commseq_uuid']
55
+ end
56
+
57
+ if attributes.has_key?(:'send_to_cellphone_e164')
58
+ self.send_to_cellphone_e164 = attributes[:'send_to_cellphone_e164']
59
+ end
60
+ end
61
+
62
+ # Show invalid properties with the reasons. Usually used together with valid?
63
+ # @return Array for valid properties with the reasons
64
+ def list_invalid_properties
65
+ invalid_properties = Array.new
66
+ invalid_properties
67
+ end
68
+
69
+ # Check to see if the all the properties in the model are valid
70
+ # @return true if the model is valid
71
+ def valid?
72
+ true
73
+ end
74
+
75
+ # Checks equality by comparing each attribute.
76
+ # @param [Object] Object to be compared
77
+ def ==(o)
78
+ return true if self.equal?(o)
79
+ self.class == o.class &&
80
+ esp_commseq_step_uuid == o.esp_commseq_step_uuid &&
81
+ esp_commseq_uuid == o.esp_commseq_uuid &&
82
+ send_to_cellphone_e164 == o.send_to_cellphone_e164
83
+ end
84
+
85
+ # @see the `==` method
86
+ # @param [Object] Object to be compared
87
+ def eql?(o)
88
+ self == o
89
+ end
90
+
91
+ # Calculates hash code according to all attributes.
92
+ # @return [Fixnum] Hash code
93
+ def hash
94
+ [esp_commseq_step_uuid, esp_commseq_uuid, send_to_cellphone_e164].hash
95
+ end
96
+
97
+ # Builds the object from hash
98
+ # @param [Hash] attributes Model attributes in the form of hash
99
+ # @return [Object] Returns the model itself
100
+ def build_from_hash(attributes)
101
+ return nil unless attributes.is_a?(Hash)
102
+ self.class.swagger_types.each_pair do |key, type|
103
+ if type =~ /\AArray<(.*)>/i
104
+ # check to ensure the input is an array given that the attribute
105
+ # is documented as an array but the input is not
106
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
107
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
108
+ end
109
+ elsif !attributes[self.class.attribute_map[key]].nil?
110
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
111
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
112
+ end
113
+
114
+ self
115
+ end
116
+
117
+ # Deserializes the data based on type
118
+ # @param string type Data type
119
+ # @param string value Value to be deserialized
120
+ # @return [Object] Deserialized data
121
+ def _deserialize(type, value)
122
+ case type.to_sym
123
+ when :DateTime
124
+ DateTime.parse(value)
125
+ when :Date
126
+ Date.parse(value)
127
+ when :String
128
+ value.to_s
129
+ when :Integer
130
+ value.to_i
131
+ when :Float
132
+ value.to_f
133
+ when :BOOLEAN
134
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
135
+ true
136
+ else
137
+ false
138
+ end
139
+ when :Object
140
+ # generic object (usually a Hash), return directly
141
+ value
142
+ when /\AArray<(?<inner_type>.+)>\z/
143
+ inner_type = Regexp.last_match[:inner_type]
144
+ value.map { |v| _deserialize(inner_type, v) }
145
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
146
+ k_type = Regexp.last_match[:k_type]
147
+ v_type = Regexp.last_match[:v_type]
148
+ {}.tap do |hash|
149
+ value.each do |k, v|
150
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
151
+ end
152
+ end
153
+ else # model
154
+ temp_model = UltracartClient.const_get(type).new
155
+ temp_model.build_from_hash(value)
156
+ end
157
+ end
158
+
159
+ # Returns the string representation of the object
160
+ # @return [String] String presentation of the object
161
+ def to_s
162
+ to_hash.to_s
163
+ end
164
+
165
+ # to_body is an alias to to_hash (backward compatibility)
166
+ # @return [Hash] Returns the object in the form of hash
167
+ def to_body
168
+ to_hash
169
+ end
170
+
171
+ # Returns the object in the form of hash
172
+ # @return [Hash] Returns the object in the form of hash
173
+ def to_hash
174
+ hash = {}
175
+ self.class.attribute_map.each_pair do |attr, param|
176
+ value = self.send(attr)
177
+ next if value.nil?
178
+ hash[param] = _to_hash(value)
179
+ end
180
+ hash
181
+ end
182
+
183
+ # Outputs non-array value in the form of hash
184
+ # For object, use to_hash. Otherwise, just return the value
185
+ # @param [Object] value Any valid value
186
+ # @return [Hash] Returns the value in the form of hash
187
+ def _to_hash(value)
188
+ if value.is_a?(Array)
189
+ value.compact.map { |v| _to_hash(v) }
190
+ elsif value.is_a?(Hash)
191
+ {}.tap do |hash|
192
+ value.each { |k, v| hash[k] = _to_hash(v) }
193
+ end
194
+ elsif value.respond_to? :to_hash
195
+ value.to_hash
196
+ else
197
+ value
198
+ end
199
+ end
200
+
201
+ end
202
+ end
@@ -0,0 +1,232 @@
1
+ =begin
2
+ #UltraCart Rest API V2
3
+
4
+ #UltraCart REST API Version 2
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.15-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module UltracartClient
16
+ class EmailCommseqSmsSendTestResponse
17
+ attr_accessor :body
18
+
19
+ attr_accessor :error
20
+
21
+ attr_accessor :media_urls
22
+
23
+ attr_accessor :metadata
24
+
25
+ # Indicates if API call was successful
26
+ attr_accessor :success
27
+
28
+ attr_accessor :warning
29
+
30
+ # Attribute mapping from ruby-style variable name to JSON key.
31
+ def self.attribute_map
32
+ {
33
+ :'body' => :'body',
34
+ :'error' => :'error',
35
+ :'media_urls' => :'media_urls',
36
+ :'metadata' => :'metadata',
37
+ :'success' => :'success',
38
+ :'warning' => :'warning'
39
+ }
40
+ end
41
+
42
+ # Attribute type mapping.
43
+ def self.swagger_types
44
+ {
45
+ :'body' => :'String',
46
+ :'error' => :'Error',
47
+ :'media_urls' => :'Array<String>',
48
+ :'metadata' => :'ResponseMetadata',
49
+ :'success' => :'BOOLEAN',
50
+ :'warning' => :'Warning'
51
+ }
52
+ end
53
+
54
+ # Initializes the object
55
+ # @param [Hash] attributes Model attributes in the form of hash
56
+ def initialize(attributes = {})
57
+ return unless attributes.is_a?(Hash)
58
+
59
+ # convert string to symbol for hash key
60
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
61
+
62
+ if attributes.has_key?(:'body')
63
+ self.body = attributes[:'body']
64
+ end
65
+
66
+ if attributes.has_key?(:'error')
67
+ self.error = attributes[:'error']
68
+ end
69
+
70
+ if attributes.has_key?(:'media_urls')
71
+ if (value = attributes[:'media_urls']).is_a?(Array)
72
+ self.media_urls = value
73
+ end
74
+ end
75
+
76
+ if attributes.has_key?(:'metadata')
77
+ self.metadata = attributes[:'metadata']
78
+ end
79
+
80
+ if attributes.has_key?(:'success')
81
+ self.success = attributes[:'success']
82
+ end
83
+
84
+ if attributes.has_key?(:'warning')
85
+ self.warning = attributes[:'warning']
86
+ end
87
+ end
88
+
89
+ # Show invalid properties with the reasons. Usually used together with valid?
90
+ # @return Array for valid properties with the reasons
91
+ def list_invalid_properties
92
+ invalid_properties = Array.new
93
+ invalid_properties
94
+ end
95
+
96
+ # Check to see if the all the properties in the model are valid
97
+ # @return true if the model is valid
98
+ def valid?
99
+ true
100
+ end
101
+
102
+ # Checks equality by comparing each attribute.
103
+ # @param [Object] Object to be compared
104
+ def ==(o)
105
+ return true if self.equal?(o)
106
+ self.class == o.class &&
107
+ body == o.body &&
108
+ error == o.error &&
109
+ media_urls == o.media_urls &&
110
+ metadata == o.metadata &&
111
+ success == o.success &&
112
+ warning == o.warning
113
+ end
114
+
115
+ # @see the `==` method
116
+ # @param [Object] Object to be compared
117
+ def eql?(o)
118
+ self == o
119
+ end
120
+
121
+ # Calculates hash code according to all attributes.
122
+ # @return [Fixnum] Hash code
123
+ def hash
124
+ [body, error, media_urls, metadata, success, warning].hash
125
+ end
126
+
127
+ # Builds the object from hash
128
+ # @param [Hash] attributes Model attributes in the form of hash
129
+ # @return [Object] Returns the model itself
130
+ def build_from_hash(attributes)
131
+ return nil unless attributes.is_a?(Hash)
132
+ self.class.swagger_types.each_pair do |key, type|
133
+ if type =~ /\AArray<(.*)>/i
134
+ # check to ensure the input is an array given that the attribute
135
+ # is documented as an array but the input is not
136
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
137
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
138
+ end
139
+ elsif !attributes[self.class.attribute_map[key]].nil?
140
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
141
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
142
+ end
143
+
144
+ self
145
+ end
146
+
147
+ # Deserializes the data based on type
148
+ # @param string type Data type
149
+ # @param string value Value to be deserialized
150
+ # @return [Object] Deserialized data
151
+ def _deserialize(type, value)
152
+ case type.to_sym
153
+ when :DateTime
154
+ DateTime.parse(value)
155
+ when :Date
156
+ Date.parse(value)
157
+ when :String
158
+ value.to_s
159
+ when :Integer
160
+ value.to_i
161
+ when :Float
162
+ value.to_f
163
+ when :BOOLEAN
164
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
165
+ true
166
+ else
167
+ false
168
+ end
169
+ when :Object
170
+ # generic object (usually a Hash), return directly
171
+ value
172
+ when /\AArray<(?<inner_type>.+)>\z/
173
+ inner_type = Regexp.last_match[:inner_type]
174
+ value.map { |v| _deserialize(inner_type, v) }
175
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
176
+ k_type = Regexp.last_match[:k_type]
177
+ v_type = Regexp.last_match[:v_type]
178
+ {}.tap do |hash|
179
+ value.each do |k, v|
180
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
181
+ end
182
+ end
183
+ else # model
184
+ temp_model = UltracartClient.const_get(type).new
185
+ temp_model.build_from_hash(value)
186
+ end
187
+ end
188
+
189
+ # Returns the string representation of the object
190
+ # @return [String] String presentation of the object
191
+ def to_s
192
+ to_hash.to_s
193
+ end
194
+
195
+ # to_body is an alias to to_hash (backward compatibility)
196
+ # @return [Hash] Returns the object in the form of hash
197
+ def to_body
198
+ to_hash
199
+ end
200
+
201
+ # Returns the object in the form of hash
202
+ # @return [Hash] Returns the object in the form of hash
203
+ def to_hash
204
+ hash = {}
205
+ self.class.attribute_map.each_pair do |attr, param|
206
+ value = self.send(attr)
207
+ next if value.nil?
208
+ hash[param] = _to_hash(value)
209
+ end
210
+ hash
211
+ end
212
+
213
+ # Outputs non-array value in the form of hash
214
+ # For object, use to_hash. Otherwise, just return the value
215
+ # @param [Object] value Any valid value
216
+ # @return [Hash] Returns the value in the form of hash
217
+ def _to_hash(value)
218
+ if value.is_a?(Array)
219
+ value.compact.map { |v| _to_hash(v) }
220
+ elsif value.is_a?(Hash)
221
+ {}.tap do |hash|
222
+ value.each { |k, v| hash[k] = _to_hash(v) }
223
+ end
224
+ elsif value.respond_to? :to_hash
225
+ value.to_hash
226
+ else
227
+ value
228
+ end
229
+ end
230
+
231
+ end
232
+ end
@@ -14,7 +14,10 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class EmailStepStat
17
- # conversion count (left/default side)
17
+ # click count formatted (left side)
18
+ attr_accessor :left_click_count_formatted
19
+
20
+ # click count (left side)
18
21
  attr_accessor :left_conversion_count
19
22
 
20
23
  # conversion count formatted (left/default side)
@@ -26,6 +29,12 @@ module UltracartClient
26
29
  # customer count formatted (left/default side)
27
30
  attr_accessor :left_customer_count_formatted
28
31
 
32
+ # delivered count (left side)
33
+ attr_accessor :left_delivered_count
34
+
35
+ # delivered count formatted (left side)
36
+ attr_accessor :left_delivered_count_formatted
37
+
29
38
  # order count (left/default side)
30
39
  attr_accessor :left_order_count
31
40
 
@@ -44,6 +53,24 @@ module UltracartClient
44
53
  # revenue formatted (left/default side)
45
54
  attr_accessor :left_revenue_formatted
46
55
 
56
+ # send count (left side)
57
+ attr_accessor :left_send_count
58
+
59
+ # send count formatted (left side)
60
+ attr_accessor :left_send_count_formatted
61
+
62
+ # conversion count (left side)
63
+ attr_accessor :left_skipped_count
64
+
65
+ # skipped count formatted (left side)
66
+ attr_accessor :left_skipped_count_formatted
67
+
68
+ # unsubscribe count (left side)
69
+ attr_accessor :left_unsubscribe_count
70
+
71
+ # unsubscribe count formatted (left side)
72
+ attr_accessor :left_unsubscribe_count_formatted
73
+
47
74
  # conversion count (right side)
48
75
  attr_accessor :right_conversion_count
49
76
 
@@ -77,16 +104,25 @@ module UltracartClient
77
104
  # Attribute mapping from ruby-style variable name to JSON key.
78
105
  def self.attribute_map
79
106
  {
107
+ :'left_click_count_formatted' => :'left_click_count_formatted',
80
108
  :'left_conversion_count' => :'left_conversion_count',
81
109
  :'left_conversion_count_formatted' => :'left_conversion_count_formatted',
82
110
  :'left_customer_count' => :'left_customer_count',
83
111
  :'left_customer_count_formatted' => :'left_customer_count_formatted',
112
+ :'left_delivered_count' => :'left_delivered_count',
113
+ :'left_delivered_count_formatted' => :'left_delivered_count_formatted',
84
114
  :'left_order_count' => :'left_order_count',
85
115
  :'left_order_count_formatted' => :'left_order_count_formatted',
86
116
  :'left_profit' => :'left_profit',
87
117
  :'left_profit_formatted' => :'left_profit_formatted',
88
118
  :'left_revenue' => :'left_revenue',
89
119
  :'left_revenue_formatted' => :'left_revenue_formatted',
120
+ :'left_send_count' => :'left_send_count',
121
+ :'left_send_count_formatted' => :'left_send_count_formatted',
122
+ :'left_skipped_count' => :'left_skipped_count',
123
+ :'left_skipped_count_formatted' => :'left_skipped_count_formatted',
124
+ :'left_unsubscribe_count' => :'left_unsubscribe_count',
125
+ :'left_unsubscribe_count_formatted' => :'left_unsubscribe_count_formatted',
90
126
  :'right_conversion_count' => :'right_conversion_count',
91
127
  :'right_conversion_count_formatted' => :'right_conversion_count_formatted',
92
128
  :'right_customer_count' => :'right_customer_count',
@@ -103,16 +139,25 @@ module UltracartClient
103
139
  # Attribute type mapping.
104
140
  def self.swagger_types
105
141
  {
142
+ :'left_click_count_formatted' => :'String',
106
143
  :'left_conversion_count' => :'Integer',
107
144
  :'left_conversion_count_formatted' => :'String',
108
145
  :'left_customer_count' => :'Integer',
109
146
  :'left_customer_count_formatted' => :'String',
147
+ :'left_delivered_count' => :'Integer',
148
+ :'left_delivered_count_formatted' => :'String',
110
149
  :'left_order_count' => :'Integer',
111
150
  :'left_order_count_formatted' => :'String',
112
151
  :'left_profit' => :'Float',
113
152
  :'left_profit_formatted' => :'String',
114
153
  :'left_revenue' => :'Float',
115
154
  :'left_revenue_formatted' => :'String',
155
+ :'left_send_count' => :'Integer',
156
+ :'left_send_count_formatted' => :'String',
157
+ :'left_skipped_count' => :'Integer',
158
+ :'left_skipped_count_formatted' => :'String',
159
+ :'left_unsubscribe_count' => :'Integer',
160
+ :'left_unsubscribe_count_formatted' => :'String',
116
161
  :'right_conversion_count' => :'Integer',
117
162
  :'right_conversion_count_formatted' => :'String',
118
163
  :'right_customer_count' => :'Integer',
@@ -134,6 +179,10 @@ module UltracartClient
134
179
  # convert string to symbol for hash key
135
180
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
136
181
 
182
+ if attributes.has_key?(:'left_click_count_formatted')
183
+ self.left_click_count_formatted = attributes[:'left_click_count_formatted']
184
+ end
185
+
137
186
  if attributes.has_key?(:'left_conversion_count')
138
187
  self.left_conversion_count = attributes[:'left_conversion_count']
139
188
  end
@@ -150,6 +199,14 @@ module UltracartClient
150
199
  self.left_customer_count_formatted = attributes[:'left_customer_count_formatted']
151
200
  end
152
201
 
202
+ if attributes.has_key?(:'left_delivered_count')
203
+ self.left_delivered_count = attributes[:'left_delivered_count']
204
+ end
205
+
206
+ if attributes.has_key?(:'left_delivered_count_formatted')
207
+ self.left_delivered_count_formatted = attributes[:'left_delivered_count_formatted']
208
+ end
209
+
153
210
  if attributes.has_key?(:'left_order_count')
154
211
  self.left_order_count = attributes[:'left_order_count']
155
212
  end
@@ -174,6 +231,30 @@ module UltracartClient
174
231
  self.left_revenue_formatted = attributes[:'left_revenue_formatted']
175
232
  end
176
233
 
234
+ if attributes.has_key?(:'left_send_count')
235
+ self.left_send_count = attributes[:'left_send_count']
236
+ end
237
+
238
+ if attributes.has_key?(:'left_send_count_formatted')
239
+ self.left_send_count_formatted = attributes[:'left_send_count_formatted']
240
+ end
241
+
242
+ if attributes.has_key?(:'left_skipped_count')
243
+ self.left_skipped_count = attributes[:'left_skipped_count']
244
+ end
245
+
246
+ if attributes.has_key?(:'left_skipped_count_formatted')
247
+ self.left_skipped_count_formatted = attributes[:'left_skipped_count_formatted']
248
+ end
249
+
250
+ if attributes.has_key?(:'left_unsubscribe_count')
251
+ self.left_unsubscribe_count = attributes[:'left_unsubscribe_count']
252
+ end
253
+
254
+ if attributes.has_key?(:'left_unsubscribe_count_formatted')
255
+ self.left_unsubscribe_count_formatted = attributes[:'left_unsubscribe_count_formatted']
256
+ end
257
+
177
258
  if attributes.has_key?(:'right_conversion_count')
178
259
  self.right_conversion_count = attributes[:'right_conversion_count']
179
260
  end
@@ -233,16 +314,25 @@ module UltracartClient
233
314
  def ==(o)
234
315
  return true if self.equal?(o)
235
316
  self.class == o.class &&
317
+ left_click_count_formatted == o.left_click_count_formatted &&
236
318
  left_conversion_count == o.left_conversion_count &&
237
319
  left_conversion_count_formatted == o.left_conversion_count_formatted &&
238
320
  left_customer_count == o.left_customer_count &&
239
321
  left_customer_count_formatted == o.left_customer_count_formatted &&
322
+ left_delivered_count == o.left_delivered_count &&
323
+ left_delivered_count_formatted == o.left_delivered_count_formatted &&
240
324
  left_order_count == o.left_order_count &&
241
325
  left_order_count_formatted == o.left_order_count_formatted &&
242
326
  left_profit == o.left_profit &&
243
327
  left_profit_formatted == o.left_profit_formatted &&
244
328
  left_revenue == o.left_revenue &&
245
329
  left_revenue_formatted == o.left_revenue_formatted &&
330
+ left_send_count == o.left_send_count &&
331
+ left_send_count_formatted == o.left_send_count_formatted &&
332
+ left_skipped_count == o.left_skipped_count &&
333
+ left_skipped_count_formatted == o.left_skipped_count_formatted &&
334
+ left_unsubscribe_count == o.left_unsubscribe_count &&
335
+ left_unsubscribe_count_formatted == o.left_unsubscribe_count_formatted &&
246
336
  right_conversion_count == o.right_conversion_count &&
247
337
  right_conversion_count_formatted == o.right_conversion_count_formatted &&
248
338
  right_customer_count == o.right_customer_count &&
@@ -264,7 +354,7 @@ module UltracartClient
264
354
  # Calculates hash code according to all attributes.
265
355
  # @return [Fixnum] Hash code
266
356
  def hash
267
- [left_conversion_count, left_conversion_count_formatted, left_customer_count, left_customer_count_formatted, left_order_count, left_order_count_formatted, left_profit, left_profit_formatted, left_revenue, left_revenue_formatted, right_conversion_count, right_conversion_count_formatted, right_customer_count, right_customer_count_formatted, right_order_count, right_order_count_formatted, right_profit, right_profit_formatted, right_revenue, right_revenue_formatted].hash
357
+ [left_click_count_formatted, left_conversion_count, left_conversion_count_formatted, left_customer_count, left_customer_count_formatted, left_delivered_count, left_delivered_count_formatted, left_order_count, left_order_count_formatted, left_profit, left_profit_formatted, left_revenue, left_revenue_formatted, left_send_count, left_send_count_formatted, left_skipped_count, left_skipped_count_formatted, left_unsubscribe_count, left_unsubscribe_count_formatted, right_conversion_count, right_conversion_count_formatted, right_customer_count, right_customer_count_formatted, right_order_count, right_order_count_formatted, right_profit, right_profit_formatted, right_revenue, right_revenue_formatted].hash
268
358
  end
269
359
 
270
360
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.57'
14
+ VERSION = '3.10.59'
15
15
  end
data/lib/ultracart_api.rb CHANGED
@@ -284,6 +284,8 @@ require 'ultracart_api/models/email_commseq_postcards_response'
284
284
  require 'ultracart_api/models/email_commseq_response'
285
285
  require 'ultracart_api/models/email_commseq_sequence_test_request'
286
286
  require 'ultracart_api/models/email_commseq_sequence_test_response'
287
+ require 'ultracart_api/models/email_commseq_sms_send_test_request'
288
+ require 'ultracart_api/models/email_commseq_sms_send_test_response'
287
289
  require 'ultracart_api/models/email_commseq_stat'
288
290
  require 'ultracart_api/models/email_commseq_stat_response'
289
291
  require 'ultracart_api/models/email_commseq_step'
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.57
4
+ version: 3.10.59
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-17 00:00:00.000000000 Z
11
+ date: 2022-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -496,6 +496,8 @@ files:
496
496
  - docs/EmailCommseqResponse.md
497
497
  - docs/EmailCommseqSequenceTestRequest.md
498
498
  - docs/EmailCommseqSequenceTestResponse.md
499
+ - docs/EmailCommseqSmsSendTestRequest.md
500
+ - docs/EmailCommseqSmsSendTestResponse.md
499
501
  - docs/EmailCommseqStat.md
500
502
  - docs/EmailCommseqStatResponse.md
501
503
  - docs/EmailCommseqStep.md
@@ -1210,6 +1212,8 @@ files:
1210
1212
  - lib/ultracart_api/models/email_commseq_response.rb
1211
1213
  - lib/ultracart_api/models/email_commseq_sequence_test_request.rb
1212
1214
  - lib/ultracart_api/models/email_commseq_sequence_test_response.rb
1215
+ - lib/ultracart_api/models/email_commseq_sms_send_test_request.rb
1216
+ - lib/ultracart_api/models/email_commseq_sms_send_test_response.rb
1213
1217
  - lib/ultracart_api/models/email_commseq_stat.rb
1214
1218
  - lib/ultracart_api/models/email_commseq_stat_response.rb
1215
1219
  - lib/ultracart_api/models/email_commseq_step.rb