ultracart_api 3.10.79 → 3.10.81
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +27 -4
- data/docs/ConversationApi.md +410 -2
- data/docs/ConversationAutocompleteRequest.md +9 -0
- data/docs/ConversationAutocompleteResponse.md +14 -0
- data/docs/ConversationCannedMessage.md +1 -1
- data/docs/ConversationDepartment.md +12 -0
- data/docs/ConversationDepartmentResponse.md +12 -0
- data/docs/ConversationDepartmentSettings.md +7 -0
- data/docs/ConversationDepartmentsResponse.md +12 -0
- data/docs/ConversationEngagement.md +14 -0
- data/docs/ConversationEngagementEquation.md +7 -0
- data/docs/ConversationEngagementResponse.md +12 -0
- data/docs/ConversationEngagementsResponse.md +12 -0
- data/docs/ConversationJoinRequest.md +8 -0
- data/docs/ConversationParticipant.md +2 -0
- data/docs/ConversationSearchRequest.md +17 -0
- data/docs/ConversationSearchResponse.md +10 -0
- data/docs/ConversationWebchatQueueStatusQueueEntry.md +1 -0
- data/lib/ultracart_api/api/conversation_api.rb +443 -1
- data/lib/ultracart_api/models/conversation_autocomplete_request.rb +193 -0
- data/lib/ultracart_api/models/conversation_autocomplete_response.rb +241 -0
- data/lib/ultracart_api/models/conversation_canned_message.rb +1 -1
- data/lib/ultracart_api/models/conversation_department.rb +220 -0
- data/lib/ultracart_api/models/conversation_department_response.rb +221 -0
- data/lib/ultracart_api/models/conversation_department_settings.rb +175 -0
- data/lib/ultracart_api/models/conversation_departments_response.rb +223 -0
- data/lib/ultracart_api/models/conversation_engagement.rb +240 -0
- data/lib/ultracart_api/models/conversation_engagement_equation.rb +175 -0
- data/lib/ultracart_api/models/conversation_engagement_response.rb +221 -0
- data/lib/ultracart_api/models/conversation_engagements_response.rb +223 -0
- data/lib/ultracart_api/models/conversation_join_request.rb +184 -0
- data/lib/ultracart_api/models/conversation_participant.rb +19 -1
- data/lib/ultracart_api/models/conversation_search_request.rb +265 -0
- data/lib/ultracart_api/models/conversation_search_response.rb +202 -0
- data/lib/ultracart_api/models/conversation_webchat_queue_status_queue_entry.rb +10 -1
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +13 -0
- metadata +28 -2
@@ -0,0 +1,265 @@
|
|
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 ConversationSearchRequest
|
17
|
+
attr_accessor :email_filter
|
18
|
+
|
19
|
+
attr_accessor :language_filter
|
20
|
+
|
21
|
+
attr_accessor :medium_filter
|
22
|
+
|
23
|
+
attr_accessor :order_by_newest
|
24
|
+
|
25
|
+
attr_accessor :order_by_oldest
|
26
|
+
|
27
|
+
attr_accessor :range_begin
|
28
|
+
|
29
|
+
attr_accessor :range_end
|
30
|
+
|
31
|
+
attr_accessor :sms_phone_number_filter
|
32
|
+
|
33
|
+
attr_accessor :text_search
|
34
|
+
|
35
|
+
attr_accessor :visible_filter
|
36
|
+
|
37
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
38
|
+
def self.attribute_map
|
39
|
+
{
|
40
|
+
:'email_filter' => :'email_filter',
|
41
|
+
:'language_filter' => :'language_filter',
|
42
|
+
:'medium_filter' => :'medium_filter',
|
43
|
+
:'order_by_newest' => :'order_by_newest',
|
44
|
+
:'order_by_oldest' => :'order_by_oldest',
|
45
|
+
:'range_begin' => :'range_begin',
|
46
|
+
:'range_end' => :'range_end',
|
47
|
+
:'sms_phone_number_filter' => :'sms_phone_number_filter',
|
48
|
+
:'text_search' => :'text_search',
|
49
|
+
:'visible_filter' => :'visible_filter'
|
50
|
+
}
|
51
|
+
end
|
52
|
+
|
53
|
+
# Attribute type mapping.
|
54
|
+
def self.swagger_types
|
55
|
+
{
|
56
|
+
:'email_filter' => :'String',
|
57
|
+
:'language_filter' => :'String',
|
58
|
+
:'medium_filter' => :'String',
|
59
|
+
:'order_by_newest' => :'BOOLEAN',
|
60
|
+
:'order_by_oldest' => :'BOOLEAN',
|
61
|
+
:'range_begin' => :'Integer',
|
62
|
+
:'range_end' => :'Integer',
|
63
|
+
:'sms_phone_number_filter' => :'String',
|
64
|
+
:'text_search' => :'String',
|
65
|
+
:'visible_filter' => :'BOOLEAN'
|
66
|
+
}
|
67
|
+
end
|
68
|
+
|
69
|
+
# Initializes the object
|
70
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
71
|
+
def initialize(attributes = {})
|
72
|
+
return unless attributes.is_a?(Hash)
|
73
|
+
|
74
|
+
# convert string to symbol for hash key
|
75
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
76
|
+
|
77
|
+
if attributes.has_key?(:'email_filter')
|
78
|
+
self.email_filter = attributes[:'email_filter']
|
79
|
+
end
|
80
|
+
|
81
|
+
if attributes.has_key?(:'language_filter')
|
82
|
+
self.language_filter = attributes[:'language_filter']
|
83
|
+
end
|
84
|
+
|
85
|
+
if attributes.has_key?(:'medium_filter')
|
86
|
+
self.medium_filter = attributes[:'medium_filter']
|
87
|
+
end
|
88
|
+
|
89
|
+
if attributes.has_key?(:'order_by_newest')
|
90
|
+
self.order_by_newest = attributes[:'order_by_newest']
|
91
|
+
end
|
92
|
+
|
93
|
+
if attributes.has_key?(:'order_by_oldest')
|
94
|
+
self.order_by_oldest = attributes[:'order_by_oldest']
|
95
|
+
end
|
96
|
+
|
97
|
+
if attributes.has_key?(:'range_begin')
|
98
|
+
self.range_begin = attributes[:'range_begin']
|
99
|
+
end
|
100
|
+
|
101
|
+
if attributes.has_key?(:'range_end')
|
102
|
+
self.range_end = attributes[:'range_end']
|
103
|
+
end
|
104
|
+
|
105
|
+
if attributes.has_key?(:'sms_phone_number_filter')
|
106
|
+
self.sms_phone_number_filter = attributes[:'sms_phone_number_filter']
|
107
|
+
end
|
108
|
+
|
109
|
+
if attributes.has_key?(:'text_search')
|
110
|
+
self.text_search = attributes[:'text_search']
|
111
|
+
end
|
112
|
+
|
113
|
+
if attributes.has_key?(:'visible_filter')
|
114
|
+
self.visible_filter = attributes[:'visible_filter']
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
119
|
+
# @return Array for valid properties with the reasons
|
120
|
+
def list_invalid_properties
|
121
|
+
invalid_properties = Array.new
|
122
|
+
invalid_properties
|
123
|
+
end
|
124
|
+
|
125
|
+
# Check to see if the all the properties in the model are valid
|
126
|
+
# @return true if the model is valid
|
127
|
+
def valid?
|
128
|
+
true
|
129
|
+
end
|
130
|
+
|
131
|
+
# Checks equality by comparing each attribute.
|
132
|
+
# @param [Object] Object to be compared
|
133
|
+
def ==(o)
|
134
|
+
return true if self.equal?(o)
|
135
|
+
self.class == o.class &&
|
136
|
+
email_filter == o.email_filter &&
|
137
|
+
language_filter == o.language_filter &&
|
138
|
+
medium_filter == o.medium_filter &&
|
139
|
+
order_by_newest == o.order_by_newest &&
|
140
|
+
order_by_oldest == o.order_by_oldest &&
|
141
|
+
range_begin == o.range_begin &&
|
142
|
+
range_end == o.range_end &&
|
143
|
+
sms_phone_number_filter == o.sms_phone_number_filter &&
|
144
|
+
text_search == o.text_search &&
|
145
|
+
visible_filter == o.visible_filter
|
146
|
+
end
|
147
|
+
|
148
|
+
# @see the `==` method
|
149
|
+
# @param [Object] Object to be compared
|
150
|
+
def eql?(o)
|
151
|
+
self == o
|
152
|
+
end
|
153
|
+
|
154
|
+
# Calculates hash code according to all attributes.
|
155
|
+
# @return [Fixnum] Hash code
|
156
|
+
def hash
|
157
|
+
[email_filter, language_filter, medium_filter, order_by_newest, order_by_oldest, range_begin, range_end, sms_phone_number_filter, text_search, visible_filter].hash
|
158
|
+
end
|
159
|
+
|
160
|
+
# Builds the object from hash
|
161
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
162
|
+
# @return [Object] Returns the model itself
|
163
|
+
def build_from_hash(attributes)
|
164
|
+
return nil unless attributes.is_a?(Hash)
|
165
|
+
self.class.swagger_types.each_pair do |key, type|
|
166
|
+
if type =~ /\AArray<(.*)>/i
|
167
|
+
# check to ensure the input is an array given that the attribute
|
168
|
+
# is documented as an array but the input is not
|
169
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
170
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
171
|
+
end
|
172
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
173
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
174
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
175
|
+
end
|
176
|
+
|
177
|
+
self
|
178
|
+
end
|
179
|
+
|
180
|
+
# Deserializes the data based on type
|
181
|
+
# @param string type Data type
|
182
|
+
# @param string value Value to be deserialized
|
183
|
+
# @return [Object] Deserialized data
|
184
|
+
def _deserialize(type, value)
|
185
|
+
case type.to_sym
|
186
|
+
when :DateTime
|
187
|
+
DateTime.parse(value)
|
188
|
+
when :Date
|
189
|
+
Date.parse(value)
|
190
|
+
when :String
|
191
|
+
value.to_s
|
192
|
+
when :Integer
|
193
|
+
value.to_i
|
194
|
+
when :Float
|
195
|
+
value.to_f
|
196
|
+
when :BOOLEAN
|
197
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
198
|
+
true
|
199
|
+
else
|
200
|
+
false
|
201
|
+
end
|
202
|
+
when :Object
|
203
|
+
# generic object (usually a Hash), return directly
|
204
|
+
value
|
205
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
206
|
+
inner_type = Regexp.last_match[:inner_type]
|
207
|
+
value.map { |v| _deserialize(inner_type, v) }
|
208
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
209
|
+
k_type = Regexp.last_match[:k_type]
|
210
|
+
v_type = Regexp.last_match[:v_type]
|
211
|
+
{}.tap do |hash|
|
212
|
+
value.each do |k, v|
|
213
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
214
|
+
end
|
215
|
+
end
|
216
|
+
else # model
|
217
|
+
temp_model = UltracartClient.const_get(type).new
|
218
|
+
temp_model.build_from_hash(value)
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
222
|
+
# Returns the string representation of the object
|
223
|
+
# @return [String] String presentation of the object
|
224
|
+
def to_s
|
225
|
+
to_hash.to_s
|
226
|
+
end
|
227
|
+
|
228
|
+
# to_body is an alias to to_hash (backward compatibility)
|
229
|
+
# @return [Hash] Returns the object in the form of hash
|
230
|
+
def to_body
|
231
|
+
to_hash
|
232
|
+
end
|
233
|
+
|
234
|
+
# Returns the object in the form of hash
|
235
|
+
# @return [Hash] Returns the object in the form of hash
|
236
|
+
def to_hash
|
237
|
+
hash = {}
|
238
|
+
self.class.attribute_map.each_pair do |attr, param|
|
239
|
+
value = self.send(attr)
|
240
|
+
next if value.nil?
|
241
|
+
hash[param] = _to_hash(value)
|
242
|
+
end
|
243
|
+
hash
|
244
|
+
end
|
245
|
+
|
246
|
+
# Outputs non-array value in the form of hash
|
247
|
+
# For object, use to_hash. Otherwise, just return the value
|
248
|
+
# @param [Object] value Any valid value
|
249
|
+
# @return [Hash] Returns the value in the form of hash
|
250
|
+
def _to_hash(value)
|
251
|
+
if value.is_a?(Array)
|
252
|
+
value.compact.map { |v| _to_hash(v) }
|
253
|
+
elsif value.is_a?(Hash)
|
254
|
+
{}.tap do |hash|
|
255
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
256
|
+
end
|
257
|
+
elsif value.respond_to? :to_hash
|
258
|
+
value.to_hash
|
259
|
+
else
|
260
|
+
value
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
264
|
+
end
|
265
|
+
end
|
@@ -0,0 +1,202 @@
|
|
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 ConversationSearchResponse
|
17
|
+
attr_accessor :range_begin
|
18
|
+
|
19
|
+
attr_accessor :range_end
|
20
|
+
|
21
|
+
attr_accessor :total
|
22
|
+
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
24
|
+
def self.attribute_map
|
25
|
+
{
|
26
|
+
:'range_begin' => :'range_begin',
|
27
|
+
:'range_end' => :'range_end',
|
28
|
+
:'total' => :'total'
|
29
|
+
}
|
30
|
+
end
|
31
|
+
|
32
|
+
# Attribute type mapping.
|
33
|
+
def self.swagger_types
|
34
|
+
{
|
35
|
+
:'range_begin' => :'Integer',
|
36
|
+
:'range_end' => :'Integer',
|
37
|
+
:'total' => :'Integer'
|
38
|
+
}
|
39
|
+
end
|
40
|
+
|
41
|
+
# Initializes the object
|
42
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
43
|
+
def initialize(attributes = {})
|
44
|
+
return unless attributes.is_a?(Hash)
|
45
|
+
|
46
|
+
# convert string to symbol for hash key
|
47
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
48
|
+
|
49
|
+
if attributes.has_key?(:'range_begin')
|
50
|
+
self.range_begin = attributes[:'range_begin']
|
51
|
+
end
|
52
|
+
|
53
|
+
if attributes.has_key?(:'range_end')
|
54
|
+
self.range_end = attributes[:'range_end']
|
55
|
+
end
|
56
|
+
|
57
|
+
if attributes.has_key?(:'total')
|
58
|
+
self.total = attributes[:'total']
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
63
|
+
# @return Array for valid properties with the reasons
|
64
|
+
def list_invalid_properties
|
65
|
+
invalid_properties = Array.new
|
66
|
+
invalid_properties
|
67
|
+
end
|
68
|
+
|
69
|
+
# Check to see if the all the properties in the model are valid
|
70
|
+
# @return true if the model is valid
|
71
|
+
def valid?
|
72
|
+
true
|
73
|
+
end
|
74
|
+
|
75
|
+
# Checks equality by comparing each attribute.
|
76
|
+
# @param [Object] Object to be compared
|
77
|
+
def ==(o)
|
78
|
+
return true if self.equal?(o)
|
79
|
+
self.class == o.class &&
|
80
|
+
range_begin == o.range_begin &&
|
81
|
+
range_end == o.range_end &&
|
82
|
+
total == o.total
|
83
|
+
end
|
84
|
+
|
85
|
+
# @see the `==` method
|
86
|
+
# @param [Object] Object to be compared
|
87
|
+
def eql?(o)
|
88
|
+
self == o
|
89
|
+
end
|
90
|
+
|
91
|
+
# Calculates hash code according to all attributes.
|
92
|
+
# @return [Fixnum] Hash code
|
93
|
+
def hash
|
94
|
+
[range_begin, range_end, total].hash
|
95
|
+
end
|
96
|
+
|
97
|
+
# Builds the object from hash
|
98
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
99
|
+
# @return [Object] Returns the model itself
|
100
|
+
def build_from_hash(attributes)
|
101
|
+
return nil unless attributes.is_a?(Hash)
|
102
|
+
self.class.swagger_types.each_pair do |key, type|
|
103
|
+
if type =~ /\AArray<(.*)>/i
|
104
|
+
# check to ensure the input is an array given that the attribute
|
105
|
+
# is documented as an array but the input is not
|
106
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
107
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
108
|
+
end
|
109
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
110
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
111
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
112
|
+
end
|
113
|
+
|
114
|
+
self
|
115
|
+
end
|
116
|
+
|
117
|
+
# Deserializes the data based on type
|
118
|
+
# @param string type Data type
|
119
|
+
# @param string value Value to be deserialized
|
120
|
+
# @return [Object] Deserialized data
|
121
|
+
def _deserialize(type, value)
|
122
|
+
case type.to_sym
|
123
|
+
when :DateTime
|
124
|
+
DateTime.parse(value)
|
125
|
+
when :Date
|
126
|
+
Date.parse(value)
|
127
|
+
when :String
|
128
|
+
value.to_s
|
129
|
+
when :Integer
|
130
|
+
value.to_i
|
131
|
+
when :Float
|
132
|
+
value.to_f
|
133
|
+
when :BOOLEAN
|
134
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
135
|
+
true
|
136
|
+
else
|
137
|
+
false
|
138
|
+
end
|
139
|
+
when :Object
|
140
|
+
# generic object (usually a Hash), return directly
|
141
|
+
value
|
142
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
143
|
+
inner_type = Regexp.last_match[:inner_type]
|
144
|
+
value.map { |v| _deserialize(inner_type, v) }
|
145
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
146
|
+
k_type = Regexp.last_match[:k_type]
|
147
|
+
v_type = Regexp.last_match[:v_type]
|
148
|
+
{}.tap do |hash|
|
149
|
+
value.each do |k, v|
|
150
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
else # model
|
154
|
+
temp_model = UltracartClient.const_get(type).new
|
155
|
+
temp_model.build_from_hash(value)
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
# Returns the string representation of the object
|
160
|
+
# @return [String] String presentation of the object
|
161
|
+
def to_s
|
162
|
+
to_hash.to_s
|
163
|
+
end
|
164
|
+
|
165
|
+
# to_body is an alias to to_hash (backward compatibility)
|
166
|
+
# @return [Hash] Returns the object in the form of hash
|
167
|
+
def to_body
|
168
|
+
to_hash
|
169
|
+
end
|
170
|
+
|
171
|
+
# Returns the object in the form of hash
|
172
|
+
# @return [Hash] Returns the object in the form of hash
|
173
|
+
def to_hash
|
174
|
+
hash = {}
|
175
|
+
self.class.attribute_map.each_pair do |attr, param|
|
176
|
+
value = self.send(attr)
|
177
|
+
next if value.nil?
|
178
|
+
hash[param] = _to_hash(value)
|
179
|
+
end
|
180
|
+
hash
|
181
|
+
end
|
182
|
+
|
183
|
+
# Outputs non-array value in the form of hash
|
184
|
+
# For object, use to_hash. Otherwise, just return the value
|
185
|
+
# @param [Object] value Any valid value
|
186
|
+
# @return [Hash] Returns the value in the form of hash
|
187
|
+
def _to_hash(value)
|
188
|
+
if value.is_a?(Array)
|
189
|
+
value.compact.map { |v| _to_hash(v) }
|
190
|
+
elsif value.is_a?(Hash)
|
191
|
+
{}.tap do |hash|
|
192
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
193
|
+
end
|
194
|
+
elsif value.respond_to? :to_hash
|
195
|
+
value.to_hash
|
196
|
+
else
|
197
|
+
value
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
201
|
+
end
|
202
|
+
end
|
@@ -25,6 +25,8 @@ module UltracartClient
|
|
25
25
|
# Date/time the customer joined the queue
|
26
26
|
attr_accessor :join_dts
|
27
27
|
|
28
|
+
attr_accessor :participant_language_iso_code
|
29
|
+
|
28
30
|
attr_accessor :question
|
29
31
|
|
30
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -35,6 +37,7 @@ module UltracartClient
|
|
35
37
|
:'conversation_webchat_queue_uuid' => :'conversation_webchat_queue_uuid',
|
36
38
|
:'email' => :'email',
|
37
39
|
:'join_dts' => :'join_dts',
|
40
|
+
:'participant_language_iso_code' => :'participant_language_iso_code',
|
38
41
|
:'question' => :'question'
|
39
42
|
}
|
40
43
|
end
|
@@ -47,6 +50,7 @@ module UltracartClient
|
|
47
50
|
:'conversation_webchat_queue_uuid' => :'String',
|
48
51
|
:'email' => :'String',
|
49
52
|
:'join_dts' => :'String',
|
53
|
+
:'participant_language_iso_code' => :'String',
|
50
54
|
:'question' => :'String'
|
51
55
|
}
|
52
56
|
end
|
@@ -79,6 +83,10 @@ module UltracartClient
|
|
79
83
|
self.join_dts = attributes[:'join_dts']
|
80
84
|
end
|
81
85
|
|
86
|
+
if attributes.has_key?(:'participant_language_iso_code')
|
87
|
+
self.participant_language_iso_code = attributes[:'participant_language_iso_code']
|
88
|
+
end
|
89
|
+
|
82
90
|
if attributes.has_key?(:'question')
|
83
91
|
self.question = attributes[:'question']
|
84
92
|
end
|
@@ -107,6 +115,7 @@ module UltracartClient
|
|
107
115
|
conversation_webchat_queue_uuid == o.conversation_webchat_queue_uuid &&
|
108
116
|
email == o.email &&
|
109
117
|
join_dts == o.join_dts &&
|
118
|
+
participant_language_iso_code == o.participant_language_iso_code &&
|
110
119
|
question == o.question
|
111
120
|
end
|
112
121
|
|
@@ -119,7 +128,7 @@ module UltracartClient
|
|
119
128
|
# Calculates hash code according to all attributes.
|
120
129
|
# @return [Fixnum] Hash code
|
121
130
|
def hash
|
122
|
-
[conversation_participant_arn, conversation_participant_name, conversation_webchat_queue_uuid, email, join_dts, question].hash
|
131
|
+
[conversation_participant_arn, conversation_participant_name, conversation_webchat_queue_uuid, email, join_dts, participant_language_iso_code, question].hash
|
123
132
|
end
|
124
133
|
|
125
134
|
# Builds the object from hash
|
data/lib/ultracart_api.rb
CHANGED
@@ -138,10 +138,20 @@ require 'ultracart_api/models/city_state_zip'
|
|
138
138
|
require 'ultracart_api/models/conversation'
|
139
139
|
require 'ultracart_api/models/conversation_agent_auth'
|
140
140
|
require 'ultracart_api/models/conversation_agent_auth_response'
|
141
|
+
require 'ultracart_api/models/conversation_autocomplete_request'
|
142
|
+
require 'ultracart_api/models/conversation_autocomplete_response'
|
141
143
|
require 'ultracart_api/models/conversation_canned_message'
|
142
144
|
require 'ultracart_api/models/conversation_canned_message_response'
|
143
145
|
require 'ultracart_api/models/conversation_canned_messages_response'
|
144
146
|
require 'ultracart_api/models/conversation_canned_messages_search'
|
147
|
+
require 'ultracart_api/models/conversation_department'
|
148
|
+
require 'ultracart_api/models/conversation_department_response'
|
149
|
+
require 'ultracart_api/models/conversation_department_settings'
|
150
|
+
require 'ultracart_api/models/conversation_departments_response'
|
151
|
+
require 'ultracart_api/models/conversation_engagement'
|
152
|
+
require 'ultracart_api/models/conversation_engagement_equation'
|
153
|
+
require 'ultracart_api/models/conversation_engagement_response'
|
154
|
+
require 'ultracart_api/models/conversation_engagements_response'
|
145
155
|
require 'ultracart_api/models/conversation_event_add_coupon'
|
146
156
|
require 'ultracart_api/models/conversation_event_add_item'
|
147
157
|
require 'ultracart_api/models/conversation_event_queue_position'
|
@@ -149,6 +159,7 @@ require 'ultracart_api/models/conversation_event_rr_web'
|
|
149
159
|
require 'ultracart_api/models/conversation_event_read_message'
|
150
160
|
require 'ultracart_api/models/conversation_event_typing'
|
151
161
|
require 'ultracart_api/models/conversation_event_webchat_context'
|
162
|
+
require 'ultracart_api/models/conversation_join_request'
|
152
163
|
require 'ultracart_api/models/conversation_message'
|
153
164
|
require 'ultracart_api/models/conversation_message_translation'
|
154
165
|
require 'ultracart_api/models/conversation_message_transport_status'
|
@@ -157,6 +168,8 @@ require 'ultracart_api/models/conversation_multimedia_upload_url'
|
|
157
168
|
require 'ultracart_api/models/conversation_multimedia_upload_url_response'
|
158
169
|
require 'ultracart_api/models/conversation_participant'
|
159
170
|
require 'ultracart_api/models/conversation_response'
|
171
|
+
require 'ultracart_api/models/conversation_search_request'
|
172
|
+
require 'ultracart_api/models/conversation_search_response'
|
160
173
|
require 'ultracart_api/models/conversation_start_request'
|
161
174
|
require 'ultracart_api/models/conversation_start_response'
|
162
175
|
require 'ultracart_api/models/conversation_summary'
|
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.81
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -348,10 +348,20 @@ files:
|
|
348
348
|
- docs/ConversationAgentAuth.md
|
349
349
|
- docs/ConversationAgentAuthResponse.md
|
350
350
|
- docs/ConversationApi.md
|
351
|
+
- docs/ConversationAutocompleteRequest.md
|
352
|
+
- docs/ConversationAutocompleteResponse.md
|
351
353
|
- docs/ConversationCannedMessage.md
|
352
354
|
- docs/ConversationCannedMessageResponse.md
|
353
355
|
- docs/ConversationCannedMessagesResponse.md
|
354
356
|
- docs/ConversationCannedMessagesSearch.md
|
357
|
+
- docs/ConversationDepartment.md
|
358
|
+
- docs/ConversationDepartmentResponse.md
|
359
|
+
- docs/ConversationDepartmentSettings.md
|
360
|
+
- docs/ConversationDepartmentsResponse.md
|
361
|
+
- docs/ConversationEngagement.md
|
362
|
+
- docs/ConversationEngagementEquation.md
|
363
|
+
- docs/ConversationEngagementResponse.md
|
364
|
+
- docs/ConversationEngagementsResponse.md
|
355
365
|
- docs/ConversationEventAddCoupon.md
|
356
366
|
- docs/ConversationEventAddItem.md
|
357
367
|
- docs/ConversationEventQueuePosition.md
|
@@ -359,6 +369,7 @@ files:
|
|
359
369
|
- docs/ConversationEventReadMessage.md
|
360
370
|
- docs/ConversationEventTyping.md
|
361
371
|
- docs/ConversationEventWebchatContext.md
|
372
|
+
- docs/ConversationJoinRequest.md
|
362
373
|
- docs/ConversationMessage.md
|
363
374
|
- docs/ConversationMessageTranslation.md
|
364
375
|
- docs/ConversationMessageTransportStatus.md
|
@@ -367,6 +378,8 @@ files:
|
|
367
378
|
- docs/ConversationMultimediaUploadUrlResponse.md
|
368
379
|
- docs/ConversationParticipant.md
|
369
380
|
- docs/ConversationResponse.md
|
381
|
+
- docs/ConversationSearchRequest.md
|
382
|
+
- docs/ConversationSearchResponse.md
|
370
383
|
- docs/ConversationStartRequest.md
|
371
384
|
- docs/ConversationStartResponse.md
|
372
385
|
- docs/ConversationSummary.md
|
@@ -1083,10 +1096,20 @@ files:
|
|
1083
1096
|
- lib/ultracart_api/models/conversation.rb
|
1084
1097
|
- lib/ultracart_api/models/conversation_agent_auth.rb
|
1085
1098
|
- lib/ultracart_api/models/conversation_agent_auth_response.rb
|
1099
|
+
- lib/ultracart_api/models/conversation_autocomplete_request.rb
|
1100
|
+
- lib/ultracart_api/models/conversation_autocomplete_response.rb
|
1086
1101
|
- lib/ultracart_api/models/conversation_canned_message.rb
|
1087
1102
|
- lib/ultracart_api/models/conversation_canned_message_response.rb
|
1088
1103
|
- lib/ultracart_api/models/conversation_canned_messages_response.rb
|
1089
1104
|
- lib/ultracart_api/models/conversation_canned_messages_search.rb
|
1105
|
+
- lib/ultracart_api/models/conversation_department.rb
|
1106
|
+
- lib/ultracart_api/models/conversation_department_response.rb
|
1107
|
+
- lib/ultracart_api/models/conversation_department_settings.rb
|
1108
|
+
- lib/ultracart_api/models/conversation_departments_response.rb
|
1109
|
+
- lib/ultracart_api/models/conversation_engagement.rb
|
1110
|
+
- lib/ultracart_api/models/conversation_engagement_equation.rb
|
1111
|
+
- lib/ultracart_api/models/conversation_engagement_response.rb
|
1112
|
+
- lib/ultracart_api/models/conversation_engagements_response.rb
|
1090
1113
|
- lib/ultracart_api/models/conversation_event_add_coupon.rb
|
1091
1114
|
- lib/ultracart_api/models/conversation_event_add_item.rb
|
1092
1115
|
- lib/ultracart_api/models/conversation_event_queue_position.rb
|
@@ -1094,6 +1117,7 @@ files:
|
|
1094
1117
|
- lib/ultracart_api/models/conversation_event_rr_web.rb
|
1095
1118
|
- lib/ultracart_api/models/conversation_event_typing.rb
|
1096
1119
|
- lib/ultracart_api/models/conversation_event_webchat_context.rb
|
1120
|
+
- lib/ultracart_api/models/conversation_join_request.rb
|
1097
1121
|
- lib/ultracart_api/models/conversation_message.rb
|
1098
1122
|
- lib/ultracart_api/models/conversation_message_translation.rb
|
1099
1123
|
- lib/ultracart_api/models/conversation_message_transport_status.rb
|
@@ -1102,6 +1126,8 @@ files:
|
|
1102
1126
|
- lib/ultracart_api/models/conversation_multimedia_upload_url_response.rb
|
1103
1127
|
- lib/ultracart_api/models/conversation_participant.rb
|
1104
1128
|
- lib/ultracart_api/models/conversation_response.rb
|
1129
|
+
- lib/ultracart_api/models/conversation_search_request.rb
|
1130
|
+
- lib/ultracart_api/models/conversation_search_response.rb
|
1105
1131
|
- lib/ultracart_api/models/conversation_start_request.rb
|
1106
1132
|
- lib/ultracart_api/models/conversation_start_response.rb
|
1107
1133
|
- lib/ultracart_api/models/conversation_summary.rb
|