ultracart_api 3.10.32 → 3.10.33

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: a2b344c52198212cfc7c83b6a1ac5f1520d6b6fcdaf5c549c30392549e728369
4
- data.tar.gz: fed93ea72177fb94617dcc445c60ffd8a331c9fd97f58caa5164d7940e973be1
3
+ metadata.gz: 2b8d8596e85e94c5c7340d24fc86583c22136dd7daf5bd2e6573544aa27d4502
4
+ data.tar.gz: 2e9a0d126b6dba45d9d725521e550db4db29bf1b3dc497b9c2ea1523ba8b50dd
5
5
  SHA512:
6
- metadata.gz: 56ed6c0e1680ec1d66959a42217132045f54afa559b30416b8926816bac2c933249a33285d3e8c7533ac034674eb3fddbdec4fdb313fe9cc79a60a95c607b1fa
7
- data.tar.gz: 3316892e49d0f28626fa1cbda664c5980b9a01c250994529045a50489fb739eb9a4c12dedf07cd92a76adbea89a8ee27e1b2c5486ec154d36b6a70758be0a28a
6
+ metadata.gz: 4ad8dc43d42359596d5489d79e9072b307157d3c4ce744e45c9e41257a9b223ff949ea4e06176ce1305631ee627cd0af7ec79064454c3417502cffbb4890d2f1
7
+ data.tar.gz: f563b828346a77fc63a2307cc6b048cec736835ff349c098f4bfac43048173308ca113495aae66ec3f59cc70f18c9d867b11d1bc5ee2a166074f920ec414cf44
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.32
10
+ - Package version: 3.10.33
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.32.gem
27
+ gem install ./ultracart_api-3.10.33.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.32.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.33.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.32'
35
+ gem 'ultracart_api', '~> 3.10.33'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1172,6 +1172,7 @@ Not every change is committed to every SDK.
1172
1172
 
1173
1173
  | Version | Date | Comments |
1174
1174
  | --: | :-: | --- |
1175
+ | 3.10.33 | 08/03/2022 | conversation summary participants |
1175
1176
  | 3.10.32 | 08/03/2022 | more conversation events |
1176
1177
  | 3.10.31 | 08/02/2022 | storefront communication sequence test method |
1177
1178
  | 3.10.30 | 08/01/2022 | conversation event refinement |
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
12
12
  **last_message_dts** | **String** | Last message date/time | [optional]
13
13
  **merchant_id** | **String** | | [optional]
14
14
  **message_count** | **Integer** | | [optional]
15
+ **participants** | [**Array<ConversationParticipant>**](ConversationParticipant.md) | | [optional]
15
16
  **start_dts** | **String** | Start of the conversation date/time | [optional]
16
17
  **unread_messages** | **BOOLEAN** | | [optional]
17
18
  **visible** | **BOOLEAN** | | [optional]
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **event_conversation_closed** | [**ConversationSummary**](ConversationSummary.md) | | [optional]
8
8
  **event_new_conversation** | [**ConversationSummary**](ConversationSummary.md) | | [optional]
9
9
  **event_new_message** | [**ConversationSummary**](ConversationSummary.md) | | [optional]
10
+ **event_participant_update** | [**ConversationSummary**](ConversationSummary.md) | | [optional]
10
11
  **event_queue_position** | [**ConversationEventQueuePosition**](ConversationEventQueuePosition.md) | | [optional]
11
12
  **event_queue_status_update** | [**ConversationWebchatQueueStatus**](ConversationWebchatQueueStatus.md) | | [optional]
12
13
  **event_rrweb** | [**ConversationEventRRWeb**](ConversationEventRRWeb.md) | | [optional]
@@ -33,6 +33,8 @@ module UltracartClient
33
33
 
34
34
  attr_accessor :message_count
35
35
 
36
+ attr_accessor :participants
37
+
36
38
  # Start of the conversation date/time
37
39
  attr_accessor :start_dts
38
40
 
@@ -52,6 +54,7 @@ module UltracartClient
52
54
  :'last_message_dts' => :'last_message_dts',
53
55
  :'merchant_id' => :'merchant_id',
54
56
  :'message_count' => :'message_count',
57
+ :'participants' => :'participants',
55
58
  :'start_dts' => :'start_dts',
56
59
  :'unread_messages' => :'unread_messages',
57
60
  :'visible' => :'visible'
@@ -70,6 +73,7 @@ module UltracartClient
70
73
  :'last_message_dts' => :'String',
71
74
  :'merchant_id' => :'String',
72
75
  :'message_count' => :'Integer',
76
+ :'participants' => :'Array<ConversationParticipant>',
73
77
  :'start_dts' => :'String',
74
78
  :'unread_messages' => :'BOOLEAN',
75
79
  :'visible' => :'BOOLEAN'
@@ -120,6 +124,12 @@ module UltracartClient
120
124
  self.message_count = attributes[:'message_count']
121
125
  end
122
126
 
127
+ if attributes.has_key?(:'participants')
128
+ if (value = attributes[:'participants']).is_a?(Array)
129
+ self.participants = value
130
+ end
131
+ end
132
+
123
133
  if attributes.has_key?(:'start_dts')
124
134
  self.start_dts = attributes[:'start_dts']
125
135
  end
@@ -160,6 +170,7 @@ module UltracartClient
160
170
  last_message_dts == o.last_message_dts &&
161
171
  merchant_id == o.merchant_id &&
162
172
  message_count == o.message_count &&
173
+ participants == o.participants &&
163
174
  start_dts == o.start_dts &&
164
175
  unread_messages == o.unread_messages &&
165
176
  visible == o.visible
@@ -174,7 +185,7 @@ module UltracartClient
174
185
  # Calculates hash code according to all attributes.
175
186
  # @return [Fixnum] Hash code
176
187
  def hash
177
- [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
188
+ [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
178
189
  end
179
190
 
180
191
  # Builds the object from hash
@@ -23,6 +23,8 @@ module UltracartClient
23
23
 
24
24
  attr_accessor :event_new_message
25
25
 
26
+ attr_accessor :event_participant_update
27
+
26
28
  attr_accessor :event_queue_position
27
29
 
28
30
  attr_accessor :event_queue_status_update
@@ -70,6 +72,7 @@ module UltracartClient
70
72
  :'event_conversation_closed' => :'event_conversation_closed',
71
73
  :'event_new_conversation' => :'event_new_conversation',
72
74
  :'event_new_message' => :'event_new_message',
75
+ :'event_participant_update' => :'event_participant_update',
73
76
  :'event_queue_position' => :'event_queue_position',
74
77
  :'event_queue_status_update' => :'event_queue_status_update',
75
78
  :'event_rrweb' => :'event_rrweb',
@@ -88,6 +91,7 @@ module UltracartClient
88
91
  :'event_conversation_closed' => :'ConversationSummary',
89
92
  :'event_new_conversation' => :'ConversationSummary',
90
93
  :'event_new_message' => :'ConversationSummary',
94
+ :'event_participant_update' => :'ConversationSummary',
91
95
  :'event_queue_position' => :'ConversationEventQueuePosition',
92
96
  :'event_queue_status_update' => :'ConversationWebchatQueueStatus',
93
97
  :'event_rrweb' => :'ConversationEventRRWeb',
@@ -123,6 +127,10 @@ module UltracartClient
123
127
  self.event_new_message = attributes[:'event_new_message']
124
128
  end
125
129
 
130
+ if attributes.has_key?(:'event_participant_update')
131
+ self.event_participant_update = attributes[:'event_participant_update']
132
+ end
133
+
126
134
  if attributes.has_key?(:'event_queue_position')
127
135
  self.event_queue_position = attributes[:'event_queue_position']
128
136
  end
@@ -166,7 +174,7 @@ module UltracartClient
166
174
  # Check to see if the all the properties in the model are valid
167
175
  # @return true if the model is valid
168
176
  def valid?
169
- event_type_validator = EnumAttributeValidator.new('String', ['queue position', 'webchat start conversation', 'conversation closed', 'new conversation', 'new message', 'updated message', 'queue status update', 'rrweb'])
177
+ 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'])
170
178
  return false unless event_type_validator.valid?(@event_type)
171
179
  type_validator = EnumAttributeValidator.new('String', ['message', 'event', 'ping', 'check queue position'])
172
180
  return false unless type_validator.valid?(@type)
@@ -176,7 +184,7 @@ module UltracartClient
176
184
  # Custom attribute writer method checking allowed values (enum).
177
185
  # @param [Object] event_type Object to be assigned
178
186
  def event_type=(event_type)
179
- validator = EnumAttributeValidator.new('String', ['queue position', 'webchat start conversation', 'conversation closed', 'new conversation', 'new message', 'updated message', 'queue status update', 'rrweb'])
187
+ validator = EnumAttributeValidator.new('String', ['queue position', 'webchat start conversation', 'conversation closed', 'new conversation', 'new message', 'updated message', 'queue status update', 'rrweb', 'participant update'])
180
188
  unless validator.valid?(event_type)
181
189
  fail ArgumentError, 'invalid value for "event_type", must be one of #{validator.allowable_values}.'
182
190
  end
@@ -202,6 +210,7 @@ module UltracartClient
202
210
  event_conversation_closed == o.event_conversation_closed &&
203
211
  event_new_conversation == o.event_new_conversation &&
204
212
  event_new_message == o.event_new_message &&
213
+ event_participant_update == o.event_participant_update &&
205
214
  event_queue_position == o.event_queue_position &&
206
215
  event_queue_status_update == o.event_queue_status_update &&
207
216
  event_rrweb == o.event_rrweb &&
@@ -221,7 +230,7 @@ module UltracartClient
221
230
  # Calculates hash code according to all attributes.
222
231
  # @return [Fixnum] Hash code
223
232
  def hash
224
- [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
233
+ [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
225
234
  end
226
235
 
227
236
  # 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.32'
14
+ VERSION = '3.10.33'
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: 3.10.32
4
+ version: 3.10.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart