ultracart_api 4.0.130 → 4.0.132
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/ConversationWebchatQueueStatusQueueEntry.md +3 -1
- data/docs/ConversationWebsocketMessage.md +2 -0
- data/lib/ultracart_api/models/conversation_webchat_queue_status_queue_entry.rb +13 -4
- data/lib/ultracart_api/models/conversation_websocket_message.rb +12 -3
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42dec6f3b25921a2cbf36a199f81be4b062bcaeaac066d703ce17e9a84920121
|
4
|
+
data.tar.gz: 392fe8bf1fbb7e682155736923eb60089afad8d1734a45daa20f28e0251fe729
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a77e66f89be4fd468d0aecdd614dad42b7a1dcc00d5832c51a01ed35e0f9e28a763754acc7eed06cdbac42e9092b3d3a863be9fb167146fa72efec483b4f5e70
|
7
|
+
data.tar.gz: ac8cb6c1084f40cf5266a0b83f548d0dd0151b13fb390b4ae666d9ca0f31cd65d558f99899c0d29758716cb48b0da57621ce915907e53f5ae251637bc7511e30
|
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.
|
10
|
+
- Package version: 4.0.132
|
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.
|
27
|
+
gem install ./ultracart_api-4.0.132.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./ultracart_api-4.0.
|
30
|
+
(for development, run `gem install --dev ./ultracart_api-4.0.132.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.
|
36
|
+
gem 'ultracart_api', '~> 4.0.132'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1308,6 +1308,8 @@ Not every change is committed to every SDK.
|
|
1308
1308
|
|
1309
1309
|
| Version | Date | Comments |
|
1310
1310
|
| --: | :-: | --- |
|
1311
|
+
| 4.0.132 | 02/07/2023 | convo - new event for when a customer joins a queue |
|
1312
|
+
| 4.0.131 | 02/07/2023 | convo - new event for when a customer joins a queue |
|
1311
1313
|
| 4.0.130 | 02/06/2023 | convo - add conversation_arn to ConversationWebsocketMessage |
|
1312
1314
|
| 4.0.129 | 02/01/2023 | convo - agent profile get/update methods |
|
1313
1315
|
| 4.0.128 | 01/27/2023 | convo - added event_engage_customer property to message |
|
@@ -11,6 +11,7 @@
|
|
11
11
|
| **join_dts** | **String** | Date/time the customer joined the queue | [optional] |
|
12
12
|
| **participant_language_iso_code** | **String** | | [optional] |
|
13
13
|
| **question** | **String** | | [optional] |
|
14
|
+
| **queue_name** | **String** | | [optional] |
|
14
15
|
|
15
16
|
## Example
|
16
17
|
|
@@ -24,7 +25,8 @@ instance = UltracartClient::ConversationWebchatQueueStatusQueueEntry.new(
|
|
24
25
|
email: null,
|
25
26
|
join_dts: null,
|
26
27
|
participant_language_iso_code: null,
|
27
|
-
question: null
|
28
|
+
question: null,
|
29
|
+
queue_name: null
|
28
30
|
)
|
29
31
|
```
|
30
32
|
|
@@ -17,6 +17,7 @@
|
|
17
17
|
| **event_participant_left** | [**ConversationSummary**](ConversationSummary.md) | | [optional] |
|
18
18
|
| **event_participant_left_participant** | [**ConversationParticipant**](ConversationParticipant.md) | | [optional] |
|
19
19
|
| **event_participant_update** | [**ConversationSummary**](ConversationSummary.md) | | [optional] |
|
20
|
+
| **event_queue_new_member** | [**ConversationWebchatQueueStatusQueueEntry**](ConversationWebchatQueueStatusQueueEntry.md) | | [optional] |
|
20
21
|
| **event_queue_position** | [**ConversationEventQueuePosition**](ConversationEventQueuePosition.md) | | [optional] |
|
21
22
|
| **event_queue_status_update** | [**ConversationWebchatQueueStatus**](ConversationWebchatQueueStatus.md) | | [optional] |
|
22
23
|
| **event_read_message** | [**ConversationEventReadMessage**](ConversationEventReadMessage.md) | | [optional] |
|
@@ -47,6 +48,7 @@ instance = UltracartClient::ConversationWebsocketMessage.new(
|
|
47
48
|
event_participant_left: null,
|
48
49
|
event_participant_left_participant: null,
|
49
50
|
event_participant_update: null,
|
51
|
+
event_queue_new_member: null,
|
50
52
|
event_queue_position: null,
|
51
53
|
event_queue_status_update: null,
|
52
54
|
event_read_message: null,
|
@@ -30,6 +30,8 @@ module UltracartClient
|
|
30
30
|
|
31
31
|
attr_accessor :question
|
32
32
|
|
33
|
+
attr_accessor :queue_name
|
34
|
+
|
33
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
36
|
def self.attribute_map
|
35
37
|
{
|
@@ -39,7 +41,8 @@ module UltracartClient
|
|
39
41
|
:'email' => :'email',
|
40
42
|
:'join_dts' => :'join_dts',
|
41
43
|
:'participant_language_iso_code' => :'participant_language_iso_code',
|
42
|
-
:'question' => :'question'
|
44
|
+
:'question' => :'question',
|
45
|
+
:'queue_name' => :'queue_name'
|
43
46
|
}
|
44
47
|
end
|
45
48
|
|
@@ -57,7 +60,8 @@ module UltracartClient
|
|
57
60
|
:'email' => :'String',
|
58
61
|
:'join_dts' => :'String',
|
59
62
|
:'participant_language_iso_code' => :'String',
|
60
|
-
:'question' => :'String'
|
63
|
+
:'question' => :'String',
|
64
|
+
:'queue_name' => :'String'
|
61
65
|
}
|
62
66
|
end
|
63
67
|
|
@@ -109,6 +113,10 @@ module UltracartClient
|
|
109
113
|
if attributes.key?(:'question')
|
110
114
|
self.question = attributes[:'question']
|
111
115
|
end
|
116
|
+
|
117
|
+
if attributes.key?(:'queue_name')
|
118
|
+
self.queue_name = attributes[:'queue_name']
|
119
|
+
end
|
112
120
|
end
|
113
121
|
|
114
122
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -135,7 +143,8 @@ module UltracartClient
|
|
135
143
|
email == o.email &&
|
136
144
|
join_dts == o.join_dts &&
|
137
145
|
participant_language_iso_code == o.participant_language_iso_code &&
|
138
|
-
question == o.question
|
146
|
+
question == o.question &&
|
147
|
+
queue_name == o.queue_name
|
139
148
|
end
|
140
149
|
|
141
150
|
# @see the `==` method
|
@@ -147,7 +156,7 @@ module UltracartClient
|
|
147
156
|
# Calculates hash code according to all attributes.
|
148
157
|
# @return [Integer] Hash code
|
149
158
|
def hash
|
150
|
-
[conversation_participant_arn, conversation_participant_name, conversation_webchat_queue_uuid, email, join_dts, participant_language_iso_code, question].hash
|
159
|
+
[conversation_participant_arn, conversation_participant_name, conversation_webchat_queue_uuid, email, join_dts, participant_language_iso_code, question, queue_name].hash
|
151
160
|
end
|
152
161
|
|
153
162
|
# Builds the object from hash
|
@@ -43,6 +43,8 @@ module UltracartClient
|
|
43
43
|
|
44
44
|
attr_accessor :event_participant_update
|
45
45
|
|
46
|
+
attr_accessor :event_queue_new_member
|
47
|
+
|
46
48
|
attr_accessor :event_queue_position
|
47
49
|
|
48
50
|
attr_accessor :event_queue_status_update
|
@@ -103,6 +105,7 @@ module UltracartClient
|
|
103
105
|
:'event_participant_left' => :'event_participant_left',
|
104
106
|
:'event_participant_left_participant' => :'event_participant_left_participant',
|
105
107
|
:'event_participant_update' => :'event_participant_update',
|
108
|
+
:'event_queue_new_member' => :'event_queue_new_member',
|
106
109
|
:'event_queue_position' => :'event_queue_position',
|
107
110
|
:'event_queue_status_update' => :'event_queue_status_update',
|
108
111
|
:'event_read_message' => :'event_read_message',
|
@@ -137,6 +140,7 @@ module UltracartClient
|
|
137
140
|
:'event_participant_left' => :'ConversationSummary',
|
138
141
|
:'event_participant_left_participant' => :'ConversationParticipant',
|
139
142
|
:'event_participant_update' => :'ConversationSummary',
|
143
|
+
:'event_queue_new_member' => :'ConversationWebchatQueueStatusQueueEntry',
|
140
144
|
:'event_queue_position' => :'ConversationEventQueuePosition',
|
141
145
|
:'event_queue_status_update' => :'ConversationWebchatQueueStatus',
|
142
146
|
:'event_read_message' => :'ConversationEventReadMessage',
|
@@ -223,6 +227,10 @@ module UltracartClient
|
|
223
227
|
self.event_participant_update = attributes[:'event_participant_update']
|
224
228
|
end
|
225
229
|
|
230
|
+
if attributes.key?(:'event_queue_new_member')
|
231
|
+
self.event_queue_new_member = attributes[:'event_queue_new_member']
|
232
|
+
end
|
233
|
+
|
226
234
|
if attributes.key?(:'event_queue_position')
|
227
235
|
self.event_queue_position = attributes[:'event_queue_position']
|
228
236
|
end
|
@@ -274,7 +282,7 @@ module UltracartClient
|
|
274
282
|
# Check to see if the all the properties in the model are valid
|
275
283
|
# @return true if the model is valid
|
276
284
|
def valid?
|
277
|
-
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 left", "read message", "typing", "add coupon", "add item", "webchat context", "engage customer"])
|
285
|
+
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 left", "read message", "typing", "add coupon", "add item", "webchat context", "engage customer", "queue new member"])
|
278
286
|
return false unless event_type_validator.valid?(@event_type)
|
279
287
|
type_validator = EnumAttributeValidator.new('String', ["message", "event", "ping", "check queue position"])
|
280
288
|
return false unless type_validator.valid?(@type)
|
@@ -284,7 +292,7 @@ module UltracartClient
|
|
284
292
|
# Custom attribute writer method checking allowed values (enum).
|
285
293
|
# @param [Object] event_type Object to be assigned
|
286
294
|
def event_type=(event_type)
|
287
|
-
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 left", "read message", "typing", "add coupon", "add item", "webchat context", "engage customer"])
|
295
|
+
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 left", "read message", "typing", "add coupon", "add item", "webchat context", "engage customer", "queue new member"])
|
288
296
|
unless validator.valid?(event_type)
|
289
297
|
fail ArgumentError, "invalid value for \"event_type\", must be one of #{validator.allowable_values}."
|
290
298
|
end
|
@@ -319,6 +327,7 @@ module UltracartClient
|
|
319
327
|
event_participant_left == o.event_participant_left &&
|
320
328
|
event_participant_left_participant == o.event_participant_left_participant &&
|
321
329
|
event_participant_update == o.event_participant_update &&
|
330
|
+
event_queue_new_member == o.event_queue_new_member &&
|
322
331
|
event_queue_position == o.event_queue_position &&
|
323
332
|
event_queue_status_update == o.event_queue_status_update &&
|
324
333
|
event_read_message == o.event_read_message &&
|
@@ -340,7 +349,7 @@ module UltracartClient
|
|
340
349
|
# Calculates hash code according to all attributes.
|
341
350
|
# @return [Integer] Hash code
|
342
351
|
def hash
|
343
|
-
[conversation_arn, conversation_uuid, event_add_coupon, event_add_item, event_conversation_closed, event_engage_customer, 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
|
352
|
+
[conversation_arn, conversation_uuid, event_add_coupon, event_add_item, event_conversation_closed, event_engage_customer, 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_new_member, 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
|
344
353
|
end
|
345
354
|
|
346
355
|
# Builds the object from hash
|
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: 4.0.
|
4
|
+
version: 4.0.132
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|