ultracart_api 3.10.23 → 3.10.24
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 +4 -4
- data/README.md +5 -4
- data/docs/ConversationEventQueuePosition.md +2 -0
- data/docs/ConversationWebsocketMessage.md +1 -1
- data/lib/ultracart_api/models/conversation_event_queue_position.rb +22 -2
- data/lib/ultracart_api/models/conversation_websocket_message.rb +1 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18fc0bd98e9f2132e1cbfb34642552e4f801fb8ebfc2842bb62ff578cd610dc8
|
4
|
+
data.tar.gz: c89f34568f945dcf1b35748cd8c8f8561ae737f21d23a41cb853ad1b70d68d2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ced78c834db64181dd554e22a03699c892969a604a506e4be1825892bd4e5a0b7aeaa8325db035be96a3aacdefa1f4b2710cbf4332b42f0c58f21294e0b88e3
|
7
|
+
data.tar.gz: 7caed710c21a724291eb3e251acb8b9c19799f4a892b73ba7f54a6d772fc6f7b46b39b40f71b39a0987ecf7bb66b0f97349e09b7ffcce864720c4ee2c41c967c
|
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.24
|
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.24.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.24.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.24'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1159,6 +1159,7 @@ Not every change is committed to every SDK.
|
|
1159
1159
|
|
1160
1160
|
| Version | Date | Comments |
|
1161
1161
|
| --: | :-: | --- |
|
1162
|
+
| 3.10.24 | 07/25/2022 | conversations bug fixes |
|
1162
1163
|
| 3.10.23 | 07/25/2022 | conversations - add a websocket message model |
|
1163
1164
|
| 3.10.22 | 07/20/2022 | conversation participant name added |
|
1164
1165
|
| 3.10.21 | 07/18/2022 | twilio dev |
|
@@ -3,5 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
+
**available** | **BOOLEAN** | True if agents are logged into the queue | [optional]
|
7
|
+
**position** | **Integer** | Position in the queue. Value will be -1 if they cant be found in the queue. | [optional]
|
6
8
|
|
7
9
|
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
**conversation_uuid** | **String** | Conversation UUID if the websocket message is tied to a specific conversation | [optional]
|
7
7
|
**event_conversation_closed** | [**Conversation**](Conversation.md) | | [optional]
|
8
8
|
**event_new_conversation** | [**Conversation**](Conversation.md) | | [optional]
|
9
|
-
**event_new_message** | [**
|
9
|
+
**event_new_message** | [**Conversation**](Conversation.md) | | [optional]
|
10
10
|
**event_queue_position** | [**ConversationEventQueuePosition**](ConversationEventQueuePosition.md) | | [optional]
|
11
11
|
**event_type** | **String** | Type of event | [optional]
|
12
12
|
**event_updated_message** | [**ConversationMessage**](ConversationMessage.md) | | [optional]
|
@@ -14,15 +14,25 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class ConversationEventQueuePosition
|
17
|
+
# True if agents are logged into the queue
|
18
|
+
attr_accessor :available
|
19
|
+
|
20
|
+
# Position in the queue. Value will be -1 if they cant be found in the queue.
|
21
|
+
attr_accessor :position
|
22
|
+
|
17
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
18
24
|
def self.attribute_map
|
19
25
|
{
|
26
|
+
:'available' => :'available',
|
27
|
+
:'position' => :'position'
|
20
28
|
}
|
21
29
|
end
|
22
30
|
|
23
31
|
# Attribute type mapping.
|
24
32
|
def self.swagger_types
|
25
33
|
{
|
34
|
+
:'available' => :'BOOLEAN',
|
35
|
+
:'position' => :'Integer'
|
26
36
|
}
|
27
37
|
end
|
28
38
|
|
@@ -33,6 +43,14 @@ module UltracartClient
|
|
33
43
|
|
34
44
|
# convert string to symbol for hash key
|
35
45
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
46
|
+
|
47
|
+
if attributes.has_key?(:'available')
|
48
|
+
self.available = attributes[:'available']
|
49
|
+
end
|
50
|
+
|
51
|
+
if attributes.has_key?(:'position')
|
52
|
+
self.position = attributes[:'position']
|
53
|
+
end
|
36
54
|
end
|
37
55
|
|
38
56
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -52,7 +70,9 @@ module UltracartClient
|
|
52
70
|
# @param [Object] Object to be compared
|
53
71
|
def ==(o)
|
54
72
|
return true if self.equal?(o)
|
55
|
-
self.class == o.class
|
73
|
+
self.class == o.class &&
|
74
|
+
available == o.available &&
|
75
|
+
position == o.position
|
56
76
|
end
|
57
77
|
|
58
78
|
# @see the `==` method
|
@@ -64,7 +84,7 @@ module UltracartClient
|
|
64
84
|
# Calculates hash code according to all attributes.
|
65
85
|
# @return [Fixnum] Hash code
|
66
86
|
def hash
|
67
|
-
[].hash
|
87
|
+
[available, position].hash
|
68
88
|
end
|
69
89
|
|
70
90
|
# Builds the object from hash
|
@@ -78,7 +78,7 @@ module UltracartClient
|
|
78
78
|
:'conversation_uuid' => :'String',
|
79
79
|
:'event_conversation_closed' => :'Conversation',
|
80
80
|
:'event_new_conversation' => :'Conversation',
|
81
|
-
:'event_new_message' => :'
|
81
|
+
:'event_new_message' => :'Conversation',
|
82
82
|
:'event_queue_position' => :'ConversationEventQueuePosition',
|
83
83
|
:'event_type' => :'String',
|
84
84
|
:'event_updated_message' => :'ConversationMessage',
|