ultracart_api 3.10.113 → 3.10.115
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 +1 -0
- data/docs/ConversationWebsocketMessage.md +1 -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: ce990879834b9020ada7c58dc07162722355fd4fc328cd158bec9cd3c2895fcf
|
4
|
+
data.tar.gz: fb0ca75f3087f39b4e22d9cc4d24ee028c90a3c1f5b282734a9b34150e8ba47a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6653a08ff8dbefe4507d0bdd87261ebd8425a077da23fecaa07835fd1dc1a022a6b4f7865e023ed31dcd33693782fd4b77a6cb6d0b5508a2ad24f68220e4d2bb
|
7
|
+
data.tar.gz: 7e6bbfedda7318a3929b1021fd255bf2cacadaafcb3c114d9393d188a5a315c371a556b315eeba61075596ae548a1a8f1f7369fa0b8ff2da47281e42b5d09fcf
|
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.115
|
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.115.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.115.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.115'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1300,6 +1300,8 @@ Not every change is committed to every SDK.
|
|
1300
1300
|
|
1301
1301
|
| Version | Date | Comments |
|
1302
1302
|
| --: | :-: | --- |
|
1303
|
+
| 3.10.115 | 02/07/2023 | convo - new event for when a customer joins a queue |
|
1304
|
+
| 3.10.114 | 02/07/2023 | convo - new event for when a customer joins a queue |
|
1303
1305
|
| 3.10.113 | 02/06/2023 | convo - add conversation_arn to ConversationWebsocketMessage |
|
1304
1306
|
| 3.10.112 | 02/01/2023 | convo - agent profile get/update methods |
|
1305
1307
|
| 3.10.111 | 01/27/2023 | convo - added event_engage_customer property to message |
|
@@ -10,5 +10,6 @@ Name | Type | Description | Notes
|
|
10
10
|
**join_dts** | **String** | Date/time the customer joined the queue | [optional]
|
11
11
|
**participant_language_iso_code** | **String** | | [optional]
|
12
12
|
**question** | **String** | | [optional]
|
13
|
+
**queue_name** | **String** | | [optional]
|
13
14
|
|
14
15
|
|
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|
16
16
|
**event_participant_left** | [**ConversationSummary**](ConversationSummary.md) | | [optional]
|
17
17
|
**event_participant_left_participant** | [**ConversationParticipant**](ConversationParticipant.md) | | [optional]
|
18
18
|
**event_participant_update** | [**ConversationSummary**](ConversationSummary.md) | | [optional]
|
19
|
+
**event_queue_new_member** | [**ConversationWebchatQueueStatusQueueEntry**](ConversationWebchatQueueStatusQueueEntry.md) | | [optional]
|
19
20
|
**event_queue_position** | [**ConversationEventQueuePosition**](ConversationEventQueuePosition.md) | | [optional]
|
20
21
|
**event_queue_status_update** | [**ConversationWebchatQueueStatus**](ConversationWebchatQueueStatus.md) | | [optional]
|
21
22
|
**event_read_message** | [**ConversationEventReadMessage**](ConversationEventReadMessage.md) | | [optional]
|
@@ -29,6 +29,8 @@ module UltracartClient
|
|
29
29
|
|
30
30
|
attr_accessor :question
|
31
31
|
|
32
|
+
attr_accessor :queue_name
|
33
|
+
|
32
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
35
|
def self.attribute_map
|
34
36
|
{
|
@@ -38,7 +40,8 @@ module UltracartClient
|
|
38
40
|
:'email' => :'email',
|
39
41
|
:'join_dts' => :'join_dts',
|
40
42
|
:'participant_language_iso_code' => :'participant_language_iso_code',
|
41
|
-
:'question' => :'question'
|
43
|
+
:'question' => :'question',
|
44
|
+
:'queue_name' => :'queue_name'
|
42
45
|
}
|
43
46
|
end
|
44
47
|
|
@@ -51,7 +54,8 @@ module UltracartClient
|
|
51
54
|
:'email' => :'String',
|
52
55
|
:'join_dts' => :'String',
|
53
56
|
:'participant_language_iso_code' => :'String',
|
54
|
-
:'question' => :'String'
|
57
|
+
:'question' => :'String',
|
58
|
+
:'queue_name' => :'String'
|
55
59
|
}
|
56
60
|
end
|
57
61
|
|
@@ -90,6 +94,10 @@ module UltracartClient
|
|
90
94
|
if attributes.has_key?(:'question')
|
91
95
|
self.question = attributes[:'question']
|
92
96
|
end
|
97
|
+
|
98
|
+
if attributes.has_key?(:'queue_name')
|
99
|
+
self.queue_name = attributes[:'queue_name']
|
100
|
+
end
|
93
101
|
end
|
94
102
|
|
95
103
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -116,7 +124,8 @@ module UltracartClient
|
|
116
124
|
email == o.email &&
|
117
125
|
join_dts == o.join_dts &&
|
118
126
|
participant_language_iso_code == o.participant_language_iso_code &&
|
119
|
-
question == o.question
|
127
|
+
question == o.question &&
|
128
|
+
queue_name == o.queue_name
|
120
129
|
end
|
121
130
|
|
122
131
|
# @see the `==` method
|
@@ -128,7 +137,7 @@ module UltracartClient
|
|
128
137
|
# Calculates hash code according to all attributes.
|
129
138
|
# @return [Fixnum] Hash code
|
130
139
|
def hash
|
131
|
-
[conversation_participant_arn, conversation_participant_name, conversation_webchat_queue_uuid, email, join_dts, participant_language_iso_code, question].hash
|
140
|
+
[conversation_participant_arn, conversation_participant_name, conversation_webchat_queue_uuid, email, join_dts, participant_language_iso_code, question, queue_name].hash
|
132
141
|
end
|
133
142
|
|
134
143
|
# Builds the object from hash
|
@@ -42,6 +42,8 @@ module UltracartClient
|
|
42
42
|
|
43
43
|
attr_accessor :event_participant_update
|
44
44
|
|
45
|
+
attr_accessor :event_queue_new_member
|
46
|
+
|
45
47
|
attr_accessor :event_queue_position
|
46
48
|
|
47
49
|
attr_accessor :event_queue_status_update
|
@@ -102,6 +104,7 @@ module UltracartClient
|
|
102
104
|
:'event_participant_left' => :'event_participant_left',
|
103
105
|
:'event_participant_left_participant' => :'event_participant_left_participant',
|
104
106
|
:'event_participant_update' => :'event_participant_update',
|
107
|
+
:'event_queue_new_member' => :'event_queue_new_member',
|
105
108
|
:'event_queue_position' => :'event_queue_position',
|
106
109
|
:'event_queue_status_update' => :'event_queue_status_update',
|
107
110
|
:'event_read_message' => :'event_read_message',
|
@@ -131,6 +134,7 @@ module UltracartClient
|
|
131
134
|
:'event_participant_left' => :'ConversationSummary',
|
132
135
|
:'event_participant_left_participant' => :'ConversationParticipant',
|
133
136
|
:'event_participant_update' => :'ConversationSummary',
|
137
|
+
:'event_queue_new_member' => :'ConversationWebchatQueueStatusQueueEntry',
|
134
138
|
:'event_queue_position' => :'ConversationEventQueuePosition',
|
135
139
|
:'event_queue_status_update' => :'ConversationWebchatQueueStatus',
|
136
140
|
:'event_read_message' => :'ConversationEventReadMessage',
|
@@ -204,6 +208,10 @@ module UltracartClient
|
|
204
208
|
self.event_participant_update = attributes[:'event_participant_update']
|
205
209
|
end
|
206
210
|
|
211
|
+
if attributes.has_key?(:'event_queue_new_member')
|
212
|
+
self.event_queue_new_member = attributes[:'event_queue_new_member']
|
213
|
+
end
|
214
|
+
|
207
215
|
if attributes.has_key?(:'event_queue_position')
|
208
216
|
self.event_queue_position = attributes[:'event_queue_position']
|
209
217
|
end
|
@@ -255,7 +263,7 @@ module UltracartClient
|
|
255
263
|
# Check to see if the all the properties in the model are valid
|
256
264
|
# @return true if the model is valid
|
257
265
|
def valid?
|
258
|
-
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'])
|
266
|
+
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'])
|
259
267
|
return false unless event_type_validator.valid?(@event_type)
|
260
268
|
type_validator = EnumAttributeValidator.new('String', ['message', 'event', 'ping', 'check queue position'])
|
261
269
|
return false unless type_validator.valid?(@type)
|
@@ -265,7 +273,7 @@ module UltracartClient
|
|
265
273
|
# Custom attribute writer method checking allowed values (enum).
|
266
274
|
# @param [Object] event_type Object to be assigned
|
267
275
|
def event_type=(event_type)
|
268
|
-
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'])
|
276
|
+
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'])
|
269
277
|
unless validator.valid?(event_type)
|
270
278
|
fail ArgumentError, 'invalid value for "event_type", must be one of #{validator.allowable_values}.'
|
271
279
|
end
|
@@ -300,6 +308,7 @@ module UltracartClient
|
|
300
308
|
event_participant_left == o.event_participant_left &&
|
301
309
|
event_participant_left_participant == o.event_participant_left_participant &&
|
302
310
|
event_participant_update == o.event_participant_update &&
|
311
|
+
event_queue_new_member == o.event_queue_new_member &&
|
303
312
|
event_queue_position == o.event_queue_position &&
|
304
313
|
event_queue_status_update == o.event_queue_status_update &&
|
305
314
|
event_read_message == o.event_read_message &&
|
@@ -321,7 +330,7 @@ module UltracartClient
|
|
321
330
|
# Calculates hash code according to all attributes.
|
322
331
|
# @return [Fixnum] Hash code
|
323
332
|
def hash
|
324
|
-
[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
|
333
|
+
[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
|
325
334
|
end
|
326
335
|
|
327
336
|
# 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: 3.10.
|
4
|
+
version: 3.10.115
|
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
|