ultracart_api 3.10.26 → 3.10.29

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: '080a1090cb029f3ee4489f4fe2c6b2d95a7b1fae616073ed1fab7834d7dc5361'
4
- data.tar.gz: 8e7eb7f63d3089381afb6e57ef59983d1989b2855f3b54b8236d37c4ccda81ec
3
+ metadata.gz: 6abed8e1e4872a7847e7b24bf7a961f5b4327dc094b42c131548a1519bc36031
4
+ data.tar.gz: '0881d8766ba29f7ed66f57390336fcbf3e50368dd4de0391171ae2bf699fe2a9'
5
5
  SHA512:
6
- metadata.gz: 94b7bb58f35e426e164631c5767b0b54caf91c9d21d6b25fbfec6e0e48fead239ba2e9cd14d657ebe8bd1f751fd4507f589e4478caaa88669ee47600c4658905
7
- data.tar.gz: a845367dfdd240afa7de6cfa764fde437e2b212694d189ec8ace5580ff95bd098e62893db9c31ba02687430ef1a85f65e18388f1e776f9ae30eb227e98260841
6
+ metadata.gz: ab263cb66fcfa98b1e5bd64425baffd8202eace4d65e34eef6e680657cbaf50beb17ebf32bee8ba51778a9270a0bc3be1bc1c80aa970d2daabf90faf330ddfbe
7
+ data.tar.gz: 19a908d8e9aa5c372e741d8a9d380d6edf7443763696e70d8de3264e9109b041a7a04e90456b1f777a49d3b3a64d922fe07739f1d59313c49b6aae60684dbd1a
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.26
10
+ - Package version: 3.10.29
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.26.gem
27
+ gem install ./ultracart_api-3.10.29.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.26.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.29.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.26'
35
+ gem 'ultracart_api', '~> 3.10.29'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -571,6 +571,7 @@ Class | Method | HTTP request | Description
571
571
  - [UltracartClient::ConversationStartRequest](docs/ConversationStartRequest.md)
572
572
  - [UltracartClient::ConversationStartResponse](docs/ConversationStartResponse.md)
573
573
  - [UltracartClient::ConversationSummary](docs/ConversationSummary.md)
574
+ - [UltracartClient::ConversationTwilioAccount](docs/ConversationTwilioAccount.md)
574
575
  - [UltracartClient::ConversationWebchatQueueStatus](docs/ConversationWebchatQueueStatus.md)
575
576
  - [UltracartClient::ConversationWebchatQueueStatusAgent](docs/ConversationWebchatQueueStatusAgent.md)
576
577
  - [UltracartClient::ConversationWebchatQueueStatusQueueEntry](docs/ConversationWebchatQueueStatusQueueEntry.md)
@@ -1166,6 +1167,9 @@ Not every change is committed to every SDK.
1166
1167
 
1167
1168
  | Version | Date | Comments |
1168
1169
  | --: | :-: | --- |
1170
+ | 3.10.29 | 07/29/2022 | conversation development |
1171
+ | 3.10.28 | 07/28/2022 | conversation bug fixes |
1172
+ | 3.10.27 | 07/28/2022 | conversation message upload keys property |
1169
1173
  | 3.10.26 | 07/26/2022 | conversations - queue statistics |
1170
1174
  | 3.10.25 | 07/25/2022 | conversation development |
1171
1175
  | 3.10.24 | 07/25/2022 | conversations bug fixes |
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **conversation_participant_name** | **String** | | [optional]
8
8
  **jwt** | **String** | | [optional]
9
9
  **merchant_id** | **String** | | [optional]
10
- **twilio_phone_numbers** | **Array<String>** | | [optional]
10
+ **twilio_accounts** | [**Array<ConversationTwilioAccount>**](ConversationTwilioAccount.md) | | [optional]
11
11
  **websocket_url** | **String** | | [optional]
12
12
 
13
13
 
@@ -6,8 +6,10 @@ Name | Type | Description | Notes
6
6
  **author_conversation_participant_arn** | **String** | | [optional]
7
7
  **author_conversation_participant_name** | **String** | | [optional]
8
8
  **body** | **String** | | [optional]
9
+ **client_message_id** | **String** | | [optional]
9
10
  **media_urls** | **Array<String>** | | [optional]
10
11
  **message_dts** | **String** | Message date/time | [optional]
11
12
  **transport_statuses** | [**Array<ConversationMessageTransportStatus>**](ConversationMessageTransportStatus.md) | | [optional]
13
+ **upload_keys** | **Array<String>** | | [optional]
12
14
 
13
15
 
@@ -12,6 +12,8 @@ Name | Type | Description | Notes
12
12
  **last_message_dts** | **String** | Last message date/time | [optional]
13
13
  **merchant_id** | **String** | | [optional]
14
14
  **message_count** | **Integer** | | [optional]
15
+ **start_dts** | **String** | Start of the conversation date/time | [optional]
15
16
  **unread_messages** | **BOOLEAN** | | [optional]
17
+ **visible** | **BOOLEAN** | | [optional]
16
18
 
17
19
 
@@ -0,0 +1,9 @@
1
+ # UltracartClient::ConversationTwilioAccount
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **merchant_id** | **String** | | [optional]
7
+ **twilio_phone_numbers** | **Array<String>** | | [optional]
8
+
9
+
@@ -10,6 +10,10 @@ Name | Type | Description | Notes
10
10
  **agents** | [**Array<ConversationWebchatQueueStatusAgent>**](ConversationWebchatQueueStatusAgent.md) | | [optional]
11
11
  **customer_abandon_count** | **Integer** | | [optional]
12
12
  **customer_active_count** | **Integer** | | [optional]
13
+ **customer_average_abandon_time_seconds** | **Integer** | | [optional]
14
+ **customer_average_chat_time_seconds** | **Integer** | | [optional]
15
+ **customer_average_hold_time_seconds** | **Integer** | | [optional]
16
+ **customer_chat_count** | **Integer** | | [optional]
13
17
  **customer_waiting_count** | **Integer** | | [optional]
14
18
  **customer_waiting_join_dts** | **String** | Date/time that the oldest person joined the queue | [optional]
15
19
  **queue_entries** | [**Array<ConversationWebchatQueueStatusQueueEntry>**](ConversationWebchatQueueStatusQueueEntry.md) | | [optional]
@@ -6,6 +6,8 @@ Name | Type | Description | Notes
6
6
  **conversation_participant_arn** | **String** | | [optional]
7
7
  **conversation_participant_name** | **String** | | [optional]
8
8
  **conversation_webchat_queue_uuid** | **String** | | [optional]
9
+ **email** | **String** | | [optional]
9
10
  **join_dts** | **String** | Date/time the customer joined the queue | [optional]
11
+ **question** | **String** | | [optional]
10
12
 
11
13
 
@@ -22,7 +22,7 @@ module UltracartClient
22
22
 
23
23
  attr_accessor :merchant_id
24
24
 
25
- attr_accessor :twilio_phone_numbers
25
+ attr_accessor :twilio_accounts
26
26
 
27
27
  attr_accessor :websocket_url
28
28
 
@@ -33,7 +33,7 @@ module UltracartClient
33
33
  :'conversation_participant_name' => :'conversation_participant_name',
34
34
  :'jwt' => :'jwt',
35
35
  :'merchant_id' => :'merchant_id',
36
- :'twilio_phone_numbers' => :'twilio_phone_numbers',
36
+ :'twilio_accounts' => :'twilio_accounts',
37
37
  :'websocket_url' => :'websocket_url'
38
38
  }
39
39
  end
@@ -45,7 +45,7 @@ module UltracartClient
45
45
  :'conversation_participant_name' => :'String',
46
46
  :'jwt' => :'String',
47
47
  :'merchant_id' => :'String',
48
- :'twilio_phone_numbers' => :'Array<String>',
48
+ :'twilio_accounts' => :'Array<ConversationTwilioAccount>',
49
49
  :'websocket_url' => :'String'
50
50
  }
51
51
  end
@@ -74,9 +74,9 @@ module UltracartClient
74
74
  self.merchant_id = attributes[:'merchant_id']
75
75
  end
76
76
 
77
- if attributes.has_key?(:'twilio_phone_numbers')
78
- if (value = attributes[:'twilio_phone_numbers']).is_a?(Array)
79
- self.twilio_phone_numbers = value
77
+ if attributes.has_key?(:'twilio_accounts')
78
+ if (value = attributes[:'twilio_accounts']).is_a?(Array)
79
+ self.twilio_accounts = value
80
80
  end
81
81
  end
82
82
 
@@ -107,7 +107,7 @@ module UltracartClient
107
107
  conversation_participant_name == o.conversation_participant_name &&
108
108
  jwt == o.jwt &&
109
109
  merchant_id == o.merchant_id &&
110
- twilio_phone_numbers == o.twilio_phone_numbers &&
110
+ twilio_accounts == o.twilio_accounts &&
111
111
  websocket_url == o.websocket_url
112
112
  end
113
113
 
@@ -120,7 +120,7 @@ module UltracartClient
120
120
  # Calculates hash code according to all attributes.
121
121
  # @return [Fixnum] Hash code
122
122
  def hash
123
- [conversation_participant_arn, conversation_participant_name, jwt, merchant_id, twilio_phone_numbers, websocket_url].hash
123
+ [conversation_participant_arn, conversation_participant_name, jwt, merchant_id, twilio_accounts, websocket_url].hash
124
124
  end
125
125
 
126
126
  # Builds the object from hash
@@ -20,6 +20,8 @@ module UltracartClient
20
20
 
21
21
  attr_accessor :body
22
22
 
23
+ attr_accessor :client_message_id
24
+
23
25
  attr_accessor :media_urls
24
26
 
25
27
  # Message date/time
@@ -27,15 +29,19 @@ module UltracartClient
27
29
 
28
30
  attr_accessor :transport_statuses
29
31
 
32
+ attr_accessor :upload_keys
33
+
30
34
  # Attribute mapping from ruby-style variable name to JSON key.
31
35
  def self.attribute_map
32
36
  {
33
37
  :'author_conversation_participant_arn' => :'author_conversation_participant_arn',
34
38
  :'author_conversation_participant_name' => :'author_conversation_participant_name',
35
39
  :'body' => :'body',
40
+ :'client_message_id' => :'client_message_id',
36
41
  :'media_urls' => :'media_urls',
37
42
  :'message_dts' => :'message_dts',
38
- :'transport_statuses' => :'transport_statuses'
43
+ :'transport_statuses' => :'transport_statuses',
44
+ :'upload_keys' => :'upload_keys'
39
45
  }
40
46
  end
41
47
 
@@ -45,9 +51,11 @@ module UltracartClient
45
51
  :'author_conversation_participant_arn' => :'String',
46
52
  :'author_conversation_participant_name' => :'String',
47
53
  :'body' => :'String',
54
+ :'client_message_id' => :'String',
48
55
  :'media_urls' => :'Array<String>',
49
56
  :'message_dts' => :'String',
50
- :'transport_statuses' => :'Array<ConversationMessageTransportStatus>'
57
+ :'transport_statuses' => :'Array<ConversationMessageTransportStatus>',
58
+ :'upload_keys' => :'Array<String>'
51
59
  }
52
60
  end
53
61
 
@@ -71,6 +79,10 @@ module UltracartClient
71
79
  self.body = attributes[:'body']
72
80
  end
73
81
 
82
+ if attributes.has_key?(:'client_message_id')
83
+ self.client_message_id = attributes[:'client_message_id']
84
+ end
85
+
74
86
  if attributes.has_key?(:'media_urls')
75
87
  if (value = attributes[:'media_urls']).is_a?(Array)
76
88
  self.media_urls = value
@@ -86,6 +98,12 @@ module UltracartClient
86
98
  self.transport_statuses = value
87
99
  end
88
100
  end
101
+
102
+ if attributes.has_key?(:'upload_keys')
103
+ if (value = attributes[:'upload_keys']).is_a?(Array)
104
+ self.upload_keys = value
105
+ end
106
+ end
89
107
  end
90
108
 
91
109
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -109,9 +127,11 @@ module UltracartClient
109
127
  author_conversation_participant_arn == o.author_conversation_participant_arn &&
110
128
  author_conversation_participant_name == o.author_conversation_participant_name &&
111
129
  body == o.body &&
130
+ client_message_id == o.client_message_id &&
112
131
  media_urls == o.media_urls &&
113
132
  message_dts == o.message_dts &&
114
- transport_statuses == o.transport_statuses
133
+ transport_statuses == o.transport_statuses &&
134
+ upload_keys == o.upload_keys
115
135
  end
116
136
 
117
137
  # @see the `==` method
@@ -123,7 +143,7 @@ module UltracartClient
123
143
  # Calculates hash code according to all attributes.
124
144
  # @return [Fixnum] Hash code
125
145
  def hash
126
- [author_conversation_participant_arn, author_conversation_participant_name, body, media_urls, message_dts, transport_statuses].hash
146
+ [author_conversation_participant_arn, author_conversation_participant_name, body, client_message_id, media_urls, message_dts, transport_statuses, upload_keys].hash
127
147
  end
128
148
 
129
149
  # Builds the object from hash
@@ -33,8 +33,13 @@ module UltracartClient
33
33
 
34
34
  attr_accessor :message_count
35
35
 
36
+ # Start of the conversation date/time
37
+ attr_accessor :start_dts
38
+
36
39
  attr_accessor :unread_messages
37
40
 
41
+ attr_accessor :visible
42
+
38
43
  # Attribute mapping from ruby-style variable name to JSON key.
39
44
  def self.attribute_map
40
45
  {
@@ -47,7 +52,9 @@ module UltracartClient
47
52
  :'last_message_dts' => :'last_message_dts',
48
53
  :'merchant_id' => :'merchant_id',
49
54
  :'message_count' => :'message_count',
50
- :'unread_messages' => :'unread_messages'
55
+ :'start_dts' => :'start_dts',
56
+ :'unread_messages' => :'unread_messages',
57
+ :'visible' => :'visible'
51
58
  }
52
59
  end
53
60
 
@@ -63,7 +70,9 @@ module UltracartClient
63
70
  :'last_message_dts' => :'String',
64
71
  :'merchant_id' => :'String',
65
72
  :'message_count' => :'Integer',
66
- :'unread_messages' => :'BOOLEAN'
73
+ :'start_dts' => :'String',
74
+ :'unread_messages' => :'BOOLEAN',
75
+ :'visible' => :'BOOLEAN'
67
76
  }
68
77
  end
69
78
 
@@ -111,9 +120,17 @@ module UltracartClient
111
120
  self.message_count = attributes[:'message_count']
112
121
  end
113
122
 
123
+ if attributes.has_key?(:'start_dts')
124
+ self.start_dts = attributes[:'start_dts']
125
+ end
126
+
114
127
  if attributes.has_key?(:'unread_messages')
115
128
  self.unread_messages = attributes[:'unread_messages']
116
129
  end
130
+
131
+ if attributes.has_key?(:'visible')
132
+ self.visible = attributes[:'visible']
133
+ end
117
134
  end
118
135
 
119
136
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -143,7 +160,9 @@ module UltracartClient
143
160
  last_message_dts == o.last_message_dts &&
144
161
  merchant_id == o.merchant_id &&
145
162
  message_count == o.message_count &&
146
- unread_messages == o.unread_messages
163
+ start_dts == o.start_dts &&
164
+ unread_messages == o.unread_messages &&
165
+ visible == o.visible
147
166
  end
148
167
 
149
168
  # @see the `==` method
@@ -155,7 +174,7 @@ module UltracartClient
155
174
  # Calculates hash code according to all attributes.
156
175
  # @return [Fixnum] Hash code
157
176
  def hash
158
- [closed, conversation_arn, conversation_uuid, last_conversation_message_body, last_conversation_participant_arn, last_conversation_participant_name, last_message_dts, merchant_id, message_count, unread_messages].hash
177
+ [closed, conversation_arn, conversation_uuid, last_conversation_message_body, last_conversation_participant_arn, last_conversation_participant_name, last_message_dts, merchant_id, message_count, start_dts, unread_messages, visible].hash
159
178
  end
160
179
 
161
180
  # Builds the object from hash
@@ -0,0 +1,195 @@
1
+ =begin
2
+ #UltraCart Rest API V2
3
+
4
+ #UltraCart REST API Version 2
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.15-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module UltracartClient
16
+ class ConversationTwilioAccount
17
+ attr_accessor :merchant_id
18
+
19
+ attr_accessor :twilio_phone_numbers
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'merchant_id' => :'merchant_id',
25
+ :'twilio_phone_numbers' => :'twilio_phone_numbers'
26
+ }
27
+ end
28
+
29
+ # Attribute type mapping.
30
+ def self.swagger_types
31
+ {
32
+ :'merchant_id' => :'String',
33
+ :'twilio_phone_numbers' => :'Array<String>'
34
+ }
35
+ end
36
+
37
+ # Initializes the object
38
+ # @param [Hash] attributes Model attributes in the form of hash
39
+ def initialize(attributes = {})
40
+ return unless attributes.is_a?(Hash)
41
+
42
+ # convert string to symbol for hash key
43
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
44
+
45
+ if attributes.has_key?(:'merchant_id')
46
+ self.merchant_id = attributes[:'merchant_id']
47
+ end
48
+
49
+ if attributes.has_key?(:'twilio_phone_numbers')
50
+ if (value = attributes[:'twilio_phone_numbers']).is_a?(Array)
51
+ self.twilio_phone_numbers = value
52
+ end
53
+ end
54
+ end
55
+
56
+ # Show invalid properties with the reasons. Usually used together with valid?
57
+ # @return Array for valid properties with the reasons
58
+ def list_invalid_properties
59
+ invalid_properties = Array.new
60
+ invalid_properties
61
+ end
62
+
63
+ # Check to see if the all the properties in the model are valid
64
+ # @return true if the model is valid
65
+ def valid?
66
+ true
67
+ end
68
+
69
+ # Checks equality by comparing each attribute.
70
+ # @param [Object] Object to be compared
71
+ def ==(o)
72
+ return true if self.equal?(o)
73
+ self.class == o.class &&
74
+ merchant_id == o.merchant_id &&
75
+ twilio_phone_numbers == o.twilio_phone_numbers
76
+ end
77
+
78
+ # @see the `==` method
79
+ # @param [Object] Object to be compared
80
+ def eql?(o)
81
+ self == o
82
+ end
83
+
84
+ # Calculates hash code according to all attributes.
85
+ # @return [Fixnum] Hash code
86
+ def hash
87
+ [merchant_id, twilio_phone_numbers].hash
88
+ end
89
+
90
+ # Builds the object from hash
91
+ # @param [Hash] attributes Model attributes in the form of hash
92
+ # @return [Object] Returns the model itself
93
+ def build_from_hash(attributes)
94
+ return nil unless attributes.is_a?(Hash)
95
+ self.class.swagger_types.each_pair do |key, type|
96
+ if type =~ /\AArray<(.*)>/i
97
+ # check to ensure the input is an array given that the attribute
98
+ # is documented as an array but the input is not
99
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
100
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
101
+ end
102
+ elsif !attributes[self.class.attribute_map[key]].nil?
103
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
104
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
105
+ end
106
+
107
+ self
108
+ end
109
+
110
+ # Deserializes the data based on type
111
+ # @param string type Data type
112
+ # @param string value Value to be deserialized
113
+ # @return [Object] Deserialized data
114
+ def _deserialize(type, value)
115
+ case type.to_sym
116
+ when :DateTime
117
+ DateTime.parse(value)
118
+ when :Date
119
+ Date.parse(value)
120
+ when :String
121
+ value.to_s
122
+ when :Integer
123
+ value.to_i
124
+ when :Float
125
+ value.to_f
126
+ when :BOOLEAN
127
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
128
+ true
129
+ else
130
+ false
131
+ end
132
+ when :Object
133
+ # generic object (usually a Hash), return directly
134
+ value
135
+ when /\AArray<(?<inner_type>.+)>\z/
136
+ inner_type = Regexp.last_match[:inner_type]
137
+ value.map { |v| _deserialize(inner_type, v) }
138
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
139
+ k_type = Regexp.last_match[:k_type]
140
+ v_type = Regexp.last_match[:v_type]
141
+ {}.tap do |hash|
142
+ value.each do |k, v|
143
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
144
+ end
145
+ end
146
+ else # model
147
+ temp_model = UltracartClient.const_get(type).new
148
+ temp_model.build_from_hash(value)
149
+ end
150
+ end
151
+
152
+ # Returns the string representation of the object
153
+ # @return [String] String presentation of the object
154
+ def to_s
155
+ to_hash.to_s
156
+ end
157
+
158
+ # to_body is an alias to to_hash (backward compatibility)
159
+ # @return [Hash] Returns the object in the form of hash
160
+ def to_body
161
+ to_hash
162
+ end
163
+
164
+ # Returns the object in the form of hash
165
+ # @return [Hash] Returns the object in the form of hash
166
+ def to_hash
167
+ hash = {}
168
+ self.class.attribute_map.each_pair do |attr, param|
169
+ value = self.send(attr)
170
+ next if value.nil?
171
+ hash[param] = _to_hash(value)
172
+ end
173
+ hash
174
+ end
175
+
176
+ # Outputs non-array value in the form of hash
177
+ # For object, use to_hash. Otherwise, just return the value
178
+ # @param [Object] value Any valid value
179
+ # @return [Hash] Returns the value in the form of hash
180
+ def _to_hash(value)
181
+ if value.is_a?(Array)
182
+ value.compact.map { |v| _to_hash(v) }
183
+ elsif value.is_a?(Hash)
184
+ {}.tap do |hash|
185
+ value.each { |k, v| hash[k] = _to_hash(v) }
186
+ end
187
+ elsif value.respond_to? :to_hash
188
+ value.to_hash
189
+ else
190
+ value
191
+ end
192
+ end
193
+
194
+ end
195
+ end
@@ -28,6 +28,14 @@ module UltracartClient
28
28
 
29
29
  attr_accessor :customer_active_count
30
30
 
31
+ attr_accessor :customer_average_abandon_time_seconds
32
+
33
+ attr_accessor :customer_average_chat_time_seconds
34
+
35
+ attr_accessor :customer_average_hold_time_seconds
36
+
37
+ attr_accessor :customer_chat_count
38
+
31
39
  attr_accessor :customer_waiting_count
32
40
 
33
41
  # Date/time that the oldest person joined the queue
@@ -47,6 +55,10 @@ module UltracartClient
47
55
  :'agents' => :'agents',
48
56
  :'customer_abandon_count' => :'customer_abandon_count',
49
57
  :'customer_active_count' => :'customer_active_count',
58
+ :'customer_average_abandon_time_seconds' => :'customer_average_abandon_time_seconds',
59
+ :'customer_average_chat_time_seconds' => :'customer_average_chat_time_seconds',
60
+ :'customer_average_hold_time_seconds' => :'customer_average_hold_time_seconds',
61
+ :'customer_chat_count' => :'customer_chat_count',
50
62
  :'customer_waiting_count' => :'customer_waiting_count',
51
63
  :'customer_waiting_join_dts' => :'customer_waiting_join_dts',
52
64
  :'queue_entries' => :'queue_entries',
@@ -64,6 +76,10 @@ module UltracartClient
64
76
  :'agents' => :'Array<ConversationWebchatQueueStatusAgent>',
65
77
  :'customer_abandon_count' => :'Integer',
66
78
  :'customer_active_count' => :'Integer',
79
+ :'customer_average_abandon_time_seconds' => :'Integer',
80
+ :'customer_average_chat_time_seconds' => :'Integer',
81
+ :'customer_average_hold_time_seconds' => :'Integer',
82
+ :'customer_chat_count' => :'Integer',
67
83
  :'customer_waiting_count' => :'Integer',
68
84
  :'customer_waiting_join_dts' => :'String',
69
85
  :'queue_entries' => :'Array<ConversationWebchatQueueStatusQueueEntry>',
@@ -109,6 +125,22 @@ module UltracartClient
109
125
  self.customer_active_count = attributes[:'customer_active_count']
110
126
  end
111
127
 
128
+ if attributes.has_key?(:'customer_average_abandon_time_seconds')
129
+ self.customer_average_abandon_time_seconds = attributes[:'customer_average_abandon_time_seconds']
130
+ end
131
+
132
+ if attributes.has_key?(:'customer_average_chat_time_seconds')
133
+ self.customer_average_chat_time_seconds = attributes[:'customer_average_chat_time_seconds']
134
+ end
135
+
136
+ if attributes.has_key?(:'customer_average_hold_time_seconds')
137
+ self.customer_average_hold_time_seconds = attributes[:'customer_average_hold_time_seconds']
138
+ end
139
+
140
+ if attributes.has_key?(:'customer_chat_count')
141
+ self.customer_chat_count = attributes[:'customer_chat_count']
142
+ end
143
+
112
144
  if attributes.has_key?(:'customer_waiting_count')
113
145
  self.customer_waiting_count = attributes[:'customer_waiting_count']
114
146
  end
@@ -153,6 +185,10 @@ module UltracartClient
153
185
  agents == o.agents &&
154
186
  customer_abandon_count == o.customer_abandon_count &&
155
187
  customer_active_count == o.customer_active_count &&
188
+ customer_average_abandon_time_seconds == o.customer_average_abandon_time_seconds &&
189
+ customer_average_chat_time_seconds == o.customer_average_chat_time_seconds &&
190
+ customer_average_hold_time_seconds == o.customer_average_hold_time_seconds &&
191
+ customer_chat_count == o.customer_chat_count &&
156
192
  customer_waiting_count == o.customer_waiting_count &&
157
193
  customer_waiting_join_dts == o.customer_waiting_join_dts &&
158
194
  queue_entries == o.queue_entries &&
@@ -168,7 +204,7 @@ module UltracartClient
168
204
  # Calculates hash code according to all attributes.
169
205
  # @return [Fixnum] Hash code
170
206
  def hash
171
- [agent_available_count, agent_busy_count, agent_count, agent_unavailable_count, agents, customer_abandon_count, customer_active_count, customer_waiting_count, customer_waiting_join_dts, queue_entries, queue_name].hash
207
+ [agent_available_count, agent_busy_count, agent_count, agent_unavailable_count, agents, customer_abandon_count, customer_active_count, customer_average_abandon_time_seconds, customer_average_chat_time_seconds, customer_average_hold_time_seconds, customer_chat_count, customer_waiting_count, customer_waiting_join_dts, queue_entries, queue_name].hash
172
208
  end
173
209
 
174
210
  # Builds the object from hash
@@ -20,16 +20,22 @@ module UltracartClient
20
20
 
21
21
  attr_accessor :conversation_webchat_queue_uuid
22
22
 
23
+ attr_accessor :email
24
+
23
25
  # Date/time the customer joined the queue
24
26
  attr_accessor :join_dts
25
27
 
28
+ attr_accessor :question
29
+
26
30
  # Attribute mapping from ruby-style variable name to JSON key.
27
31
  def self.attribute_map
28
32
  {
29
33
  :'conversation_participant_arn' => :'conversation_participant_arn',
30
34
  :'conversation_participant_name' => :'conversation_participant_name',
31
35
  :'conversation_webchat_queue_uuid' => :'conversation_webchat_queue_uuid',
32
- :'join_dts' => :'join_dts'
36
+ :'email' => :'email',
37
+ :'join_dts' => :'join_dts',
38
+ :'question' => :'question'
33
39
  }
34
40
  end
35
41
 
@@ -39,7 +45,9 @@ module UltracartClient
39
45
  :'conversation_participant_arn' => :'String',
40
46
  :'conversation_participant_name' => :'String',
41
47
  :'conversation_webchat_queue_uuid' => :'String',
42
- :'join_dts' => :'String'
48
+ :'email' => :'String',
49
+ :'join_dts' => :'String',
50
+ :'question' => :'String'
43
51
  }
44
52
  end
45
53
 
@@ -63,9 +71,17 @@ module UltracartClient
63
71
  self.conversation_webchat_queue_uuid = attributes[:'conversation_webchat_queue_uuid']
64
72
  end
65
73
 
74
+ if attributes.has_key?(:'email')
75
+ self.email = attributes[:'email']
76
+ end
77
+
66
78
  if attributes.has_key?(:'join_dts')
67
79
  self.join_dts = attributes[:'join_dts']
68
80
  end
81
+
82
+ if attributes.has_key?(:'question')
83
+ self.question = attributes[:'question']
84
+ end
69
85
  end
70
86
 
71
87
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -89,7 +105,9 @@ module UltracartClient
89
105
  conversation_participant_arn == o.conversation_participant_arn &&
90
106
  conversation_participant_name == o.conversation_participant_name &&
91
107
  conversation_webchat_queue_uuid == o.conversation_webchat_queue_uuid &&
92
- join_dts == o.join_dts
108
+ email == o.email &&
109
+ join_dts == o.join_dts &&
110
+ question == o.question
93
111
  end
94
112
 
95
113
  # @see the `==` method
@@ -101,7 +119,7 @@ module UltracartClient
101
119
  # Calculates hash code according to all attributes.
102
120
  # @return [Fixnum] Hash code
103
121
  def hash
104
- [conversation_participant_arn, conversation_participant_name, conversation_webchat_queue_uuid, join_dts].hash
122
+ [conversation_participant_arn, conversation_participant_name, conversation_webchat_queue_uuid, email, join_dts, question].hash
105
123
  end
106
124
 
107
125
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.26'
14
+ VERSION = '3.10.29'
15
15
  end
data/lib/ultracart_api.rb CHANGED
@@ -147,6 +147,7 @@ require 'ultracart_api/models/conversation_response'
147
147
  require 'ultracart_api/models/conversation_start_request'
148
148
  require 'ultracart_api/models/conversation_start_response'
149
149
  require 'ultracart_api/models/conversation_summary'
150
+ require 'ultracart_api/models/conversation_twilio_account'
150
151
  require 'ultracart_api/models/conversation_webchat_queue_status'
151
152
  require 'ultracart_api/models/conversation_webchat_queue_status_agent'
152
153
  require 'ultracart_api/models/conversation_webchat_queue_status_queue_entry'
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.26
4
+ version: 3.10.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-26 00:00:00.000000000 Z
11
+ date: 2022-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -357,6 +357,7 @@ files:
357
357
  - docs/ConversationStartRequest.md
358
358
  - docs/ConversationStartResponse.md
359
359
  - docs/ConversationSummary.md
360
+ - docs/ConversationTwilioAccount.md
360
361
  - docs/ConversationWebchatQueueStatus.md
361
362
  - docs/ConversationWebchatQueueStatusAgent.md
362
363
  - docs/ConversationWebchatQueueStatusQueueEntry.md
@@ -1049,6 +1050,7 @@ files:
1049
1050
  - lib/ultracart_api/models/conversation_start_request.rb
1050
1051
  - lib/ultracart_api/models/conversation_start_response.rb
1051
1052
  - lib/ultracart_api/models/conversation_summary.rb
1053
+ - lib/ultracart_api/models/conversation_twilio_account.rb
1052
1054
  - lib/ultracart_api/models/conversation_webchat_queue_status.rb
1053
1055
  - lib/ultracart_api/models/conversation_webchat_queue_status_agent.rb
1054
1056
  - lib/ultracart_api/models/conversation_webchat_queue_status_queue_entry.rb