ultracart_api 3.10.87 → 3.10.88
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7539cbcfb2d5a18418d9c6403a0e9f149601727b27f6865ba234c19a91a641c4
|
4
|
+
data.tar.gz: 53febb54fae2bae35a4cc1a96f1c115144b0e9246c07a7c28301d55480143e79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c5b08f2574f42b30d21f993a4996c5a1bc4ecb12f9681256123d0e3f7943ef7bf119672e9169c62142e8047bd99c750044dcccbb1a9464591a30b33cc909625
|
7
|
+
data.tar.gz: da8b77196f15dab6c753c60ed3e44f0935dc8a52f76c24a9a17fa1991ebb63cddf7ae2ef6bfd22713dd4f601b9746c8bd67f46633829a441e4c336868fceb3e6
|
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.
|
10
|
+
- Package version: 3.10.88
|
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.
|
27
|
+
gem install ./ultracart_api-3.10.88.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.10.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.10.88.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.
|
35
|
+
gem 'ultracart_api', '~> 3.10.88'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1271,6 +1271,7 @@ Not every change is committed to every SDK.
|
|
1271
1271
|
|
1272
1272
|
| Version | Date | Comments |
|
1273
1273
|
| --: | :-: | --- |
|
1274
|
+
| 3.10.88 | 01/03/2023 | conversation events for party leave and join |
|
1274
1275
|
| 3.10.87 | 01/03/2023 | order point of sale details |
|
1275
1276
|
| 3.10.86 | 12/27/2022 | additional loyalty related coupons |
|
1276
1277
|
| 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]
|
@@ -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
|