ultracart_api 3.10.23 → 3.10.24

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: b4af8b1802f29835912c31dbf47b4a6aace7bde8fe41ba6dc168301bdfc1d32c
4
- data.tar.gz: 5c6db27fba9988151c4f8cdb2b2629471c7f3415573bb7f001573a5fea7d52da
3
+ metadata.gz: 18fc0bd98e9f2132e1cbfb34642552e4f801fb8ebfc2842bb62ff578cd610dc8
4
+ data.tar.gz: c89f34568f945dcf1b35748cd8c8f8561ae737f21d23a41cb853ad1b70d68d2e
5
5
  SHA512:
6
- metadata.gz: 809ed5a47539b0946f910a7b7a7351ee19b95860cece13d8d2dcef63123da38eb58ed555f407767ee3997ddaf04fe0b2bd658b20f73409ac16e60efde550a859
7
- data.tar.gz: 42d8b1dc51470d12018937c5723c314db08eab31da54b3ec9e313e60f733e9c230424e3265cfcf2b6b114fcb6518bfa35a18936cf3211949c0e3500326b3dc5b
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.23
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.23.gem
27
+ gem install ./ultracart_api-3.10.24.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.23.gem` to install the development dependencies)
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.23'
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** | [**ConversationMessage**](ConversationMessage.md) | | [optional]
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' => :'ConversationMessage',
81
+ :'event_new_message' => :'Conversation',
82
82
  :'event_queue_position' => :'ConversationEventQueuePosition',
83
83
  :'event_type' => :'String',
84
84
  :'event_updated_message' => :'ConversationMessage',
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.23'
14
+ VERSION = '3.10.24'
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.23
4
+ version: 3.10.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart