ultracart_api 3.10.87 → 3.10.89

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: 34f8843c1beeb281a4f4c9931006ce6a8214089360872be5c710c90e3ad60c8d
4
- data.tar.gz: e4ee2fbe3e5115209d77c688aec9487ef22e90f1bf93ab99d97bb1b363885a18
3
+ metadata.gz: e25e0f3513f6be64fbd32a182e4abef7ecfebd68097434f416711dc627a328c8
4
+ data.tar.gz: 3e5a367e73b5d0ac0be36279ac87dc29374fbe6afd68868d789cc60495668827
5
5
  SHA512:
6
- metadata.gz: 12eca8ebe0786ef81d787156644f29033810e069a9984a1585921ca00d0dbd84f98663ec1c0d1d86aeeb7bb7968cc5858f28d884447bea7b20fc531d4856a32f
7
- data.tar.gz: 58b844c2ac6b81beb6cc393e0f46809510b8abe85f3a5cd5be11abadad6046ed1de9fd17d4becac0605e34151faa32c30a09ad96b514415d3523dd98961b739f
6
+ metadata.gz: d94db01b49f9d3fc14b5c9dabf766f56335d4c4db3e34e2e12cac4a1b712fbb376297a026ab9161c156add171042f6bb8f5e95dc031a6d8639c375cfb8ae8f21
7
+ data.tar.gz: b28d05ce7a1944ab4cefe8ab6f441f908b0ba0a0f916ffeff9e4c4e1759e640234c60371e35a5de2cde9fcf625c579b9a295481eea8f7bc27ab116b05ffa9d4d
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.87
10
+ - Package version: 3.10.89
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.87.gem
27
+ gem install ./ultracart_api-3.10.89.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.87.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.89.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.87'
35
+ gem 'ultracart_api', '~> 3.10.89'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1271,6 +1271,8 @@ Not every change is committed to every SDK.
1271
1271
 
1272
1272
  | Version | Date | Comments |
1273
1273
  | --: | :-: | --- |
1274
+ | 3.10.89 | 01/05/2023 | communications - added maximum_enrolled flag on flow object |
1275
+ | 3.10.88 | 01/03/2023 | conversation events for party leave and join |
1274
1276
  | 3.10.87 | 01/03/2023 | order point of sale details |
1275
1277
  | 3.10.86 | 12/27/2022 | additional loyalty related coupons |
1276
1278
  | 3.10.85 | 12/21/2022 | conversation development |
@@ -9,6 +9,10 @@ Name | Type | Description | Notes
9
9
  **event_conversation_closed** | [**ConversationSummary**](ConversationSummary.md) | | [optional]
10
10
  **event_new_conversation** | [**ConversationSummary**](ConversationSummary.md) | | [optional]
11
11
  **event_new_message** | [**ConversationSummary**](ConversationSummary.md) | | [optional]
12
+ **event_participant_join** | [**ConversationSummary**](ConversationSummary.md) | | [optional]
13
+ **event_participant_join_participant** | [**ConversationParticipant**](ConversationParticipant.md) | | [optional]
14
+ **event_participant_left** | [**ConversationSummary**](ConversationSummary.md) | | [optional]
15
+ **event_participant_left_participant** | [**ConversationParticipant**](ConversationParticipant.md) | | [optional]
12
16
  **event_participant_update** | [**ConversationSummary**](ConversationSummary.md) | | [optional]
13
17
  **event_queue_position** | [**ConversationEventQueuePosition**](ConversationEventQueuePosition.md) | | [optional]
14
18
  **event_queue_status_update** | [**ConversationWebchatQueueStatus**](ConversationWebchatQueueStatus.md) | | [optional]
data/docs/EmailFlow.md CHANGED
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
19
19
  **esp_friendly_name** | **String** | Friendly name of the sending email | [optional]
20
20
  **filter_profile_equation_json** | **String** | File profile equation json | [optional]
21
21
  **library_item_oid** | **Integer** | If this item was ever added to the Code Library, this is the oid for that library item, or 0 if never added before. This value is used to determine if a library item should be inserted or updated. | [optional]
22
+ **maximum_enrolled** | **BOOLEAN** | The number of maximum customers for the plan are currently enrolled in this flow. | [optional]
22
23
  **merchant_id** | **String** | Merchant ID | [optional]
23
24
  **name** | **String** | Name of email flow | [optional]
24
25
  **open_rate_formatted** | **String** | Open rate of emails, formatted | [optional]
@@ -27,6 +27,14 @@ module UltracartClient
27
27
 
28
28
  attr_accessor :event_new_message
29
29
 
30
+ attr_accessor :event_participant_join
31
+
32
+ attr_accessor :event_participant_join_participant
33
+
34
+ attr_accessor :event_participant_left
35
+
36
+ attr_accessor :event_participant_left_participant
37
+
30
38
  attr_accessor :event_participant_update
31
39
 
32
40
  attr_accessor :event_queue_position
@@ -82,6 +90,10 @@ module UltracartClient
82
90
  :'event_conversation_closed' => :'event_conversation_closed',
83
91
  :'event_new_conversation' => :'event_new_conversation',
84
92
  :'event_new_message' => :'event_new_message',
93
+ :'event_participant_join' => :'event_participant_join',
94
+ :'event_participant_join_participant' => :'event_participant_join_participant',
95
+ :'event_participant_left' => :'event_participant_left',
96
+ :'event_participant_left_participant' => :'event_participant_left_participant',
85
97
  :'event_participant_update' => :'event_participant_update',
86
98
  :'event_queue_position' => :'event_queue_position',
87
99
  :'event_queue_status_update' => :'event_queue_status_update',
@@ -105,6 +117,10 @@ module UltracartClient
105
117
  :'event_conversation_closed' => :'ConversationSummary',
106
118
  :'event_new_conversation' => :'ConversationSummary',
107
119
  :'event_new_message' => :'ConversationSummary',
120
+ :'event_participant_join' => :'ConversationSummary',
121
+ :'event_participant_join_participant' => :'ConversationParticipant',
122
+ :'event_participant_left' => :'ConversationSummary',
123
+ :'event_participant_left_participant' => :'ConversationParticipant',
108
124
  :'event_participant_update' => :'ConversationSummary',
109
125
  :'event_queue_position' => :'ConversationEventQueuePosition',
110
126
  :'event_queue_status_update' => :'ConversationWebchatQueueStatus',
@@ -151,6 +167,22 @@ module UltracartClient
151
167
  self.event_new_message = attributes[:'event_new_message']
152
168
  end
153
169
 
170
+ if attributes.has_key?(:'event_participant_join')
171
+ self.event_participant_join = attributes[:'event_participant_join']
172
+ end
173
+
174
+ if attributes.has_key?(:'event_participant_join_participant')
175
+ self.event_participant_join_participant = attributes[:'event_participant_join_participant']
176
+ end
177
+
178
+ if attributes.has_key?(:'event_participant_left')
179
+ self.event_participant_left = attributes[:'event_participant_left']
180
+ end
181
+
182
+ if attributes.has_key?(:'event_participant_left_participant')
183
+ self.event_participant_left_participant = attributes[:'event_participant_left_participant']
184
+ end
185
+
154
186
  if attributes.has_key?(:'event_participant_update')
155
187
  self.event_participant_update = attributes[:'event_participant_update']
156
188
  end
@@ -206,7 +238,7 @@ module UltracartClient
206
238
  # Check to see if the all the properties in the model are valid
207
239
  # @return true if the model is valid
208
240
  def valid?
209
- event_type_validator = EnumAttributeValidator.new('String', ['queue position', 'webchat start conversation', 'conversation closed', 'new conversation', 'new message', 'updated message', 'queue status update', 'rrweb', 'participant update', 'read message', 'typing', 'add coupon', 'add item', 'webchat context'])
241
+ event_type_validator = EnumAttributeValidator.new('String', ['queue position', 'webchat start conversation', 'conversation closed', 'new conversation', 'new message', 'updated message', 'queue status update', 'rrweb', 'participant update', 'participant join', 'participant leave', 'read message', 'typing', 'add coupon', 'add item', 'webchat context'])
210
242
  return false unless event_type_validator.valid?(@event_type)
211
243
  type_validator = EnumAttributeValidator.new('String', ['message', 'event', 'ping', 'check queue position'])
212
244
  return false unless type_validator.valid?(@type)
@@ -216,7 +248,7 @@ module UltracartClient
216
248
  # Custom attribute writer method checking allowed values (enum).
217
249
  # @param [Object] event_type Object to be assigned
218
250
  def event_type=(event_type)
219
- validator = EnumAttributeValidator.new('String', ['queue position', 'webchat start conversation', 'conversation closed', 'new conversation', 'new message', 'updated message', 'queue status update', 'rrweb', 'participant update', 'read message', 'typing', 'add coupon', 'add item', 'webchat context'])
251
+ validator = EnumAttributeValidator.new('String', ['queue position', 'webchat start conversation', 'conversation closed', 'new conversation', 'new message', 'updated message', 'queue status update', 'rrweb', 'participant update', 'participant join', 'participant leave', 'read message', 'typing', 'add coupon', 'add item', 'webchat context'])
220
252
  unless validator.valid?(event_type)
221
253
  fail ArgumentError, 'invalid value for "event_type", must be one of #{validator.allowable_values}.'
222
254
  end
@@ -244,6 +276,10 @@ module UltracartClient
244
276
  event_conversation_closed == o.event_conversation_closed &&
245
277
  event_new_conversation == o.event_new_conversation &&
246
278
  event_new_message == o.event_new_message &&
279
+ event_participant_join == o.event_participant_join &&
280
+ event_participant_join_participant == o.event_participant_join_participant &&
281
+ event_participant_left == o.event_participant_left &&
282
+ event_participant_left_participant == o.event_participant_left_participant &&
247
283
  event_participant_update == o.event_participant_update &&
248
284
  event_queue_position == o.event_queue_position &&
249
285
  event_queue_status_update == o.event_queue_status_update &&
@@ -266,7 +302,7 @@ module UltracartClient
266
302
  # Calculates hash code according to all attributes.
267
303
  # @return [Fixnum] Hash code
268
304
  def hash
269
- [conversation_uuid, event_add_coupon, event_add_item, event_conversation_closed, event_new_conversation, event_new_message, event_participant_update, event_queue_position, event_queue_status_update, event_read_message, event_rrweb, event_type, event_typing, event_updated_message, event_webchat_context, message, type].hash
305
+ [conversation_uuid, event_add_coupon, event_add_item, event_conversation_closed, event_new_conversation, event_new_message, event_participant_join, event_participant_join_participant, event_participant_left, event_participant_left_participant, event_participant_update, event_queue_position, event_queue_status_update, event_read_message, event_rrweb, event_type, event_typing, event_updated_message, event_webchat_context, message, type].hash
270
306
  end
271
307
 
272
308
  # Builds the object from hash
@@ -62,6 +62,9 @@ module UltracartClient
62
62
  # If this item was ever added to the Code Library, this is the oid for that library item, or 0 if never added before. This value is used to determine if a library item should be inserted or updated.
63
63
  attr_accessor :library_item_oid
64
64
 
65
+ # The number of maximum customers for the plan are currently enrolled in this flow.
66
+ attr_accessor :maximum_enrolled
67
+
65
68
  # Merchant ID
66
69
  attr_accessor :merchant_id
67
70
 
@@ -123,6 +126,7 @@ module UltracartClient
123
126
  :'esp_friendly_name' => :'esp_friendly_name',
124
127
  :'filter_profile_equation_json' => :'filter_profile_equation_json',
125
128
  :'library_item_oid' => :'library_item_oid',
129
+ :'maximum_enrolled' => :'maximum_enrolled',
126
130
  :'merchant_id' => :'merchant_id',
127
131
  :'name' => :'name',
128
132
  :'open_rate_formatted' => :'open_rate_formatted',
@@ -159,6 +163,7 @@ module UltracartClient
159
163
  :'esp_friendly_name' => :'String',
160
164
  :'filter_profile_equation_json' => :'String',
161
165
  :'library_item_oid' => :'Integer',
166
+ :'maximum_enrolled' => :'BOOLEAN',
162
167
  :'merchant_id' => :'String',
163
168
  :'name' => :'String',
164
169
  :'open_rate_formatted' => :'String',
@@ -248,6 +253,10 @@ module UltracartClient
248
253
  self.library_item_oid = attributes[:'library_item_oid']
249
254
  end
250
255
 
256
+ if attributes.has_key?(:'maximum_enrolled')
257
+ self.maximum_enrolled = attributes[:'maximum_enrolled']
258
+ end
259
+
251
260
  if attributes.has_key?(:'merchant_id')
252
261
  self.merchant_id = attributes[:'merchant_id']
253
262
  end
@@ -354,6 +363,7 @@ module UltracartClient
354
363
  esp_friendly_name == o.esp_friendly_name &&
355
364
  filter_profile_equation_json == o.filter_profile_equation_json &&
356
365
  library_item_oid == o.library_item_oid &&
366
+ maximum_enrolled == o.maximum_enrolled &&
357
367
  merchant_id == o.merchant_id &&
358
368
  name == o.name &&
359
369
  open_rate_formatted == o.open_rate_formatted &&
@@ -379,7 +389,7 @@ module UltracartClient
379
389
  # Calculates hash code according to all attributes.
380
390
  # @return [Fixnum] Hash code
381
391
  def hash
382
- [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
392
+ [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, maximum_enrolled, 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
383
393
  end
384
394
 
385
395
  # 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.87'
14
+ VERSION = '3.10.89'
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: 3.10.87
4
+ version: 3.10.89
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-03 00:00:00.000000000 Z
11
+ date: 2023-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus