ultracart_api 4.0.49.rc → 4.0.50.rc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b21232f4f3169a87005e158e4cc3d4471098bda6b3759bc1817a9b7bf3bcf37c
4
- data.tar.gz: 9e08a6150ec2fb2d1051fa746a70b25fb7f216b070924f248dace927b85278f2
3
+ metadata.gz: 20f4107abe5c5c048d1dc72eeb90abe36267fcf46e6a0ee229a61de254aad73f
4
+ data.tar.gz: b0189c7f51337c28dc5a0e6fc1d7490e2b89b3fdbd465e1c05fa5ad651fa1d89
5
5
  SHA512:
6
- metadata.gz: 5c5cfc69ce8da5fa375ba5477f84e4990156f7fd8cc5501f316e2d794438e9bc0cd0c9ff58e9c1dfd4391d701ebb19aface2b33a1e8f9b923d6af38d72ad42ba
7
- data.tar.gz: 5eb966eaed532b56a06cff6362b24d3882953ea6566ea56fd3679ba1ba2491468a9cfa67caaf2d0b2457aa2c71f2f9144742afdd1fb16b398a0e558548074feb
6
+ metadata.gz: 0cb722ef4e5653b42c999763f81276e56832de9b017ad234f56ccc2e523d1ca32ff82650d2c6f1226541107094af4457f2b6312c532bd6575427f8b892e61767
7
+ data.tar.gz: f94050a8d39e0dcee5b540e9085bc887312fd2320e3ae4be5a6186aff401b8e0b2b2db22ff987d972b762da06309ac30744e4b4b5afb3a7ef9e179a791c7a960
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.49.rc
10
+ - Package version: 4.0.50.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.49.rc.gem
27
+ gem install ./ultracart_api-4.0.50.rc.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.49.rc.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.50.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.49.rc'
36
+ gem 'ultracart_api', '~> 4.0.50.rc'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1180,6 +1180,7 @@ Not every change is committed to every SDK.
1180
1180
 
1181
1181
  | Version | Date | Comments |
1182
1182
  | --: | :-: | --- |
1183
+ | 4.0.50-RC | 08/03/2022 | conversation summary participants |
1183
1184
  | 4.0.49-RC | 08/03/2022 | more conversation events |
1184
1185
  | 4.0.48-RC | 08/02/2022 | storefront communication sequence test method |
1185
1186
  | 4.0.47-RC | 08/01/2022 | conversation event refinement |
@@ -13,6 +13,7 @@
13
13
  | **last_message_dts** | **String** | Last message date/time | [optional] |
14
14
  | **merchant_id** | **String** | | [optional] |
15
15
  | **message_count** | **Integer** | | [optional] |
16
+ | **participants** | [**Array<ConversationParticipant>**](ConversationParticipant.md) | | [optional] |
16
17
  | **start_dts** | **String** | Start of the conversation date/time | [optional] |
17
18
  | **unread_messages** | **Boolean** | | [optional] |
18
19
  | **visible** | **Boolean** | | [optional] |
@@ -32,6 +33,7 @@ instance = UltracartClient::ConversationSummary.new(
32
33
  last_message_dts: null,
33
34
  merchant_id: null,
34
35
  message_count: null,
36
+ participants: null,
35
37
  start_dts: null,
36
38
  unread_messages: null,
37
39
  visible: null
@@ -8,6 +8,7 @@
8
8
  | **event_conversation_closed** | [**ConversationSummary**](ConversationSummary.md) | | [optional] |
9
9
  | **event_new_conversation** | [**ConversationSummary**](ConversationSummary.md) | | [optional] |
10
10
  | **event_new_message** | [**ConversationSummary**](ConversationSummary.md) | | [optional] |
11
+ | **event_participant_update** | [**ConversationSummary**](ConversationSummary.md) | | [optional] |
11
12
  | **event_queue_position** | [**ConversationEventQueuePosition**](ConversationEventQueuePosition.md) | | [optional] |
12
13
  | **event_queue_status_update** | [**ConversationWebchatQueueStatus**](ConversationWebchatQueueStatus.md) | | [optional] |
13
14
  | **event_rrweb** | [**ConversationEventRRWeb**](ConversationEventRRWeb.md) | | [optional] |
@@ -27,6 +28,7 @@ instance = UltracartClient::ConversationWebsocketMessage.new(
27
28
  event_conversation_closed: null,
28
29
  event_new_conversation: null,
29
30
  event_new_message: null,
31
+ event_participant_update: null,
30
32
  event_queue_position: null,
31
33
  event_queue_status_update: null,
32
34
  event_rrweb: null,
@@ -34,6 +34,8 @@ module UltracartClient
34
34
 
35
35
  attr_accessor :message_count
36
36
 
37
+ attr_accessor :participants
38
+
37
39
  # Start of the conversation date/time
38
40
  attr_accessor :start_dts
39
41
 
@@ -53,6 +55,7 @@ module UltracartClient
53
55
  :'last_message_dts' => :'last_message_dts',
54
56
  :'merchant_id' => :'merchant_id',
55
57
  :'message_count' => :'message_count',
58
+ :'participants' => :'participants',
56
59
  :'start_dts' => :'start_dts',
57
60
  :'unread_messages' => :'unread_messages',
58
61
  :'visible' => :'visible'
@@ -76,6 +79,7 @@ module UltracartClient
76
79
  :'last_message_dts' => :'String',
77
80
  :'merchant_id' => :'String',
78
81
  :'message_count' => :'Integer',
82
+ :'participants' => :'Array<ConversationParticipant>',
79
83
  :'start_dts' => :'String',
80
84
  :'unread_messages' => :'Boolean',
81
85
  :'visible' => :'Boolean'
@@ -139,6 +143,12 @@ module UltracartClient
139
143
  self.message_count = attributes[:'message_count']
140
144
  end
141
145
 
146
+ if attributes.key?(:'participants')
147
+ if (value = attributes[:'participants']).is_a?(Array)
148
+ self.participants = value
149
+ end
150
+ end
151
+
142
152
  if attributes.key?(:'start_dts')
143
153
  self.start_dts = attributes[:'start_dts']
144
154
  end
@@ -179,6 +189,7 @@ module UltracartClient
179
189
  last_message_dts == o.last_message_dts &&
180
190
  merchant_id == o.merchant_id &&
181
191
  message_count == o.message_count &&
192
+ participants == o.participants &&
182
193
  start_dts == o.start_dts &&
183
194
  unread_messages == o.unread_messages &&
184
195
  visible == o.visible
@@ -193,7 +204,7 @@ module UltracartClient
193
204
  # Calculates hash code according to all attributes.
194
205
  # @return [Integer] Hash code
195
206
  def hash
196
- [closed, conversation_arn, conversation_uuid, last_conversation_message_body, last_conversation_participant_arn, last_conversation_participant_name, last_message_dts, merchant_id, message_count, start_dts, unread_messages, visible].hash
207
+ [closed, conversation_arn, conversation_uuid, last_conversation_message_body, last_conversation_participant_arn, last_conversation_participant_name, last_message_dts, merchant_id, message_count, participants, start_dts, unread_messages, visible].hash
197
208
  end
198
209
 
199
210
  # Builds the object from hash
@@ -24,6 +24,8 @@ module UltracartClient
24
24
 
25
25
  attr_accessor :event_new_message
26
26
 
27
+ attr_accessor :event_participant_update
28
+
27
29
  attr_accessor :event_queue_position
28
30
 
29
31
  attr_accessor :event_queue_status_update
@@ -71,6 +73,7 @@ module UltracartClient
71
73
  :'event_conversation_closed' => :'event_conversation_closed',
72
74
  :'event_new_conversation' => :'event_new_conversation',
73
75
  :'event_new_message' => :'event_new_message',
76
+ :'event_participant_update' => :'event_participant_update',
74
77
  :'event_queue_position' => :'event_queue_position',
75
78
  :'event_queue_status_update' => :'event_queue_status_update',
76
79
  :'event_rrweb' => :'event_rrweb',
@@ -94,6 +97,7 @@ module UltracartClient
94
97
  :'event_conversation_closed' => :'ConversationSummary',
95
98
  :'event_new_conversation' => :'ConversationSummary',
96
99
  :'event_new_message' => :'ConversationSummary',
100
+ :'event_participant_update' => :'ConversationSummary',
97
101
  :'event_queue_position' => :'ConversationEventQueuePosition',
98
102
  :'event_queue_status_update' => :'ConversationWebchatQueueStatus',
99
103
  :'event_rrweb' => :'ConversationEventRRWeb',
@@ -142,6 +146,10 @@ module UltracartClient
142
146
  self.event_new_message = attributes[:'event_new_message']
143
147
  end
144
148
 
149
+ if attributes.key?(:'event_participant_update')
150
+ self.event_participant_update = attributes[:'event_participant_update']
151
+ end
152
+
145
153
  if attributes.key?(:'event_queue_position')
146
154
  self.event_queue_position = attributes[:'event_queue_position']
147
155
  end
@@ -185,7 +193,7 @@ module UltracartClient
185
193
  # Check to see if the all the properties in the model are valid
186
194
  # @return true if the model is valid
187
195
  def valid?
188
- event_type_validator = EnumAttributeValidator.new('String', ["queue position", "webchat start conversation", "conversation closed", "new conversation", "new message", "updated message", "queue status update", "rrweb"])
196
+ 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"])
189
197
  return false unless event_type_validator.valid?(@event_type)
190
198
  type_validator = EnumAttributeValidator.new('String', ["message", "event", "ping", "check queue position"])
191
199
  return false unless type_validator.valid?(@type)
@@ -195,7 +203,7 @@ module UltracartClient
195
203
  # Custom attribute writer method checking allowed values (enum).
196
204
  # @param [Object] event_type Object to be assigned
197
205
  def event_type=(event_type)
198
- validator = EnumAttributeValidator.new('String', ["queue position", "webchat start conversation", "conversation closed", "new conversation", "new message", "updated message", "queue status update", "rrweb"])
206
+ validator = EnumAttributeValidator.new('String', ["queue position", "webchat start conversation", "conversation closed", "new conversation", "new message", "updated message", "queue status update", "rrweb", "participant update"])
199
207
  unless validator.valid?(event_type)
200
208
  fail ArgumentError, "invalid value for \"event_type\", must be one of #{validator.allowable_values}."
201
209
  end
@@ -221,6 +229,7 @@ module UltracartClient
221
229
  event_conversation_closed == o.event_conversation_closed &&
222
230
  event_new_conversation == o.event_new_conversation &&
223
231
  event_new_message == o.event_new_message &&
232
+ event_participant_update == o.event_participant_update &&
224
233
  event_queue_position == o.event_queue_position &&
225
234
  event_queue_status_update == o.event_queue_status_update &&
226
235
  event_rrweb == o.event_rrweb &&
@@ -240,7 +249,7 @@ module UltracartClient
240
249
  # Calculates hash code according to all attributes.
241
250
  # @return [Integer] Hash code
242
251
  def hash
243
- [conversation_uuid, event_conversation_closed, event_new_conversation, event_new_message, event_queue_position, event_queue_status_update, event_rrweb, event_type, event_typing, event_updated_message, message, type].hash
252
+ [conversation_uuid, event_conversation_closed, event_new_conversation, event_new_message, event_participant_update, event_queue_position, event_queue_status_update, event_rrweb, event_type, event_typing, event_updated_message, message, type].hash
244
253
  end
245
254
 
246
255
  # 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.49.rc'
14
+ VERSION = '4.0.50.rc'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.49.rc
4
+ version: 4.0.50.rc
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart