purecloudplatformclientv2 20.0.0 → 21.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/AdherenceSettings.md +18 -0
- data/docs/AgentManagementUnitReference.md +14 -0
- data/docs/AnalyticsSession.md +1 -0
- data/docs/AnalyticsView.md +1 -1
- data/docs/ArchitectApi.md +19 -15
- data/docs/CallForwarding.md +4 -2
- data/docs/CallMediaParticipant.md +1 -0
- data/docs/CallRoute.md +14 -0
- data/docs/CallTarget.md +14 -0
- data/docs/Contact.md +1 -1
- data/docs/ConversationNotificationMessage.md +3 -0
- data/docs/ConversationNotificationMessageDetails.md +2 -0
- data/docs/ConversationNotificationMessages.md +2 -0
- data/docs/ConversationNotificationMessages1.md +3 -0
- data/docs/ConversationsApi.md +196 -0
- data/docs/CreateEmailRequest.md +2 -0
- data/docs/CreateQueueRequest.md +2 -0
- data/docs/CreateSecureSession.md +16 -0
- data/docs/ExternalContact.md +1 -0
- data/docs/ImportScriptStatusResponse.md +15 -0
- data/docs/InboundRoute.md +1 -0
- data/docs/JsonNode.md +1 -1
- data/docs/ManagementUnit.md +5 -3
- data/docs/ManagementUnitReference.md +14 -0
- data/docs/ManagementUnitSettings.md +19 -0
- data/docs/Message.md +3 -0
- data/docs/MessageConversationNotificationMessageDetails.md +2 -0
- data/docs/MessageConversationNotificationMessageMediaParticipant.md +3 -0
- data/docs/MessageConversationNotificationMessages.md +2 -0
- data/docs/MessageConversationNotificationParticipants.md +3 -0
- data/docs/MessageDetails.md +2 -0
- data/docs/QualityApi.md +3 -1
- data/docs/Queue.md +2 -0
- data/docs/SchedulingSettings.md +14 -0
- data/docs/ScriptsApi.md +64 -0
- data/docs/SecureSession.md +19 -0
- data/docs/SecureSessionEntityListing.md +13 -0
- data/docs/ShortTermForecastingSettings.md +13 -0
- data/docs/SignedData.md +13 -0
- data/docs/SignedDataApi.md +73 -0
- data/docs/TimeOffRequestSettings.md +15 -0
- data/docs/UpdateUser.md +2 -2
- data/docs/UserConversationSummaryNotification.md +1 -0
- data/docs/UserQueue.md +2 -0
- data/docs/UserReference.md +14 -0
- data/docs/WorkforceManagementApi.md +61 -0
- data/lib/purecloudplatformclientv2.rb +16 -0
- data/lib/purecloudplatformclientv2/api/architect_api.rb +24 -6
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +243 -0
- data/lib/purecloudplatformclientv2/api/quality_api.rb +9 -0
- data/lib/purecloudplatformclientv2/api/scripts_api.rb +74 -0
- data/lib/purecloudplatformclientv2/api/signed_data_api.rb +90 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +63 -0
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/adherence_settings.rb +335 -0
- data/lib/purecloudplatformclientv2/models/agent_management_unit_reference.rb +229 -0
- data/lib/purecloudplatformclientv2/models/aggregate_metric_data.rb +2 -2
- data/lib/purecloudplatformclientv2/models/analytics_conversation_segment.rb +2 -2
- data/lib/purecloudplatformclientv2/models/analytics_query_predicate.rb +4 -4
- data/lib/purecloudplatformclientv2/models/analytics_session.rb +41 -1
- data/lib/purecloudplatformclientv2/models/analytics_view.rb +1 -1
- data/lib/purecloudplatformclientv2/models/call_forwarding.rb +71 -1
- data/lib/purecloudplatformclientv2/models/call_media_participant.rb +30 -4
- data/lib/purecloudplatformclientv2/models/call_route.rb +230 -0
- data/lib/purecloudplatformclientv2/models/call_target.rb +242 -0
- data/lib/purecloudplatformclientv2/models/contact.rb +1 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_message.rb +90 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_message_details.rb +68 -4
- data/lib/purecloudplatformclientv2/models/conversation_notification_messages.rb +68 -4
- data/lib/purecloudplatformclientv2/models/conversation_notification_messages_1.rb +90 -1
- data/lib/purecloudplatformclientv2/models/create_email_request.rb +56 -4
- data/lib/purecloudplatformclientv2/models/create_queue_request.rb +53 -1
- data/lib/purecloudplatformclientv2/models/create_secure_session.rb +290 -0
- data/lib/purecloudplatformclientv2/models/dependency.rb +2 -2
- data/lib/purecloudplatformclientv2/models/dependency_object.rb +2 -2
- data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/external_contact.rb +26 -1
- data/lib/purecloudplatformclientv2/models/import_script_status_response.rb +251 -0
- data/lib/purecloudplatformclientv2/models/inbound_route.rb +27 -1
- data/lib/purecloudplatformclientv2/models/interaction_stat_alert_notification.rb +2 -2
- data/lib/purecloudplatformclientv2/models/interaction_stat_rule_notification.rb +2 -2
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert.rb +2 -2
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule.rb +2 -2
- data/lib/purecloudplatformclientv2/models/intraday_data_group.rb +2 -2
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_intraday_data_group.rb +2 -2
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_intraday_data_groupings.rb +2 -2
- data/lib/purecloudplatformclientv2/models/json_node.rb +17 -17
- data/lib/purecloudplatformclientv2/models/management_unit.rb +59 -7
- data/lib/purecloudplatformclientv2/models/management_unit_reference.rb +229 -0
- data/lib/purecloudplatformclientv2/models/management_unit_settings.rb +364 -0
- data/lib/purecloudplatformclientv2/models/message.rb +93 -1
- data/lib/purecloudplatformclientv2/models/message_conversation_notification_message_details.rb +68 -4
- data/lib/purecloudplatformclientv2/models/message_conversation_notification_message_media_participant.rb +93 -4
- data/lib/purecloudplatformclientv2/models/message_conversation_notification_messages.rb +68 -4
- data/lib/purecloudplatformclientv2/models/message_conversation_notification_participants.rb +93 -4
- data/lib/purecloudplatformclientv2/models/message_details.rb +67 -1
- data/lib/purecloudplatformclientv2/models/participant.rb +2 -2
- data/lib/purecloudplatformclientv2/models/participant_basic.rb +2 -2
- data/lib/purecloudplatformclientv2/models/queue.rb +53 -1
- data/lib/purecloudplatformclientv2/models/scheduling_settings.rb +229 -0
- data/lib/purecloudplatformclientv2/models/secure_session.rb +382 -0
- data/lib/purecloudplatformclientv2/models/secure_session_entity_listing.rb +203 -0
- data/lib/purecloudplatformclientv2/models/short_term_forecasting_settings.rb +203 -0
- data/lib/purecloudplatformclientv2/models/signed_data.rb +201 -0
- data/lib/purecloudplatformclientv2/models/time_off_request_settings.rb +255 -0
- data/lib/purecloudplatformclientv2/models/update_user.rb +2 -1
- data/lib/purecloudplatformclientv2/models/user_conversation_summary_notification.rb +26 -1
- data/lib/purecloudplatformclientv2/models/user_queue.rb +53 -1
- data/lib/purecloudplatformclientv2/models/user_reference.rb +228 -0
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +34 -2
@@ -29,9 +29,10 @@ module PureCloud
|
|
29
29
|
|
30
30
|
attr_accessor :email
|
31
31
|
|
32
|
+
# The address(s) used for primary contact. Updates to the corresponding address in the addresses list will be reflected here.
|
32
33
|
attr_accessor :primary_contact_info
|
33
34
|
|
34
|
-
# Email
|
35
|
+
# Email address, phone number, and/or extension for this user. One entry is allowed per media type
|
35
36
|
attr_accessor :addresses
|
36
37
|
|
37
38
|
attr_accessor :title
|
@@ -26,6 +26,8 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :email
|
28
28
|
|
29
|
+
attr_accessor :message
|
30
|
+
|
29
31
|
attr_accessor :chat
|
30
32
|
|
31
33
|
attr_accessor :social_expression
|
@@ -44,6 +46,8 @@ module PureCloud
|
|
44
46
|
|
45
47
|
:'email' => :'email',
|
46
48
|
|
49
|
+
:'message' => :'message',
|
50
|
+
|
47
51
|
:'chat' => :'chat',
|
48
52
|
|
49
53
|
:'social_expression' => :'socialExpression',
|
@@ -65,6 +69,8 @@ module PureCloud
|
|
65
69
|
|
66
70
|
:'email' => :'UserConversationSummaryNotificationMediaSummary',
|
67
71
|
|
72
|
+
:'message' => :'UserConversationSummaryNotificationMediaSummary',
|
73
|
+
|
68
74
|
:'chat' => :'UserConversationSummaryNotificationMediaSummary',
|
69
75
|
|
70
76
|
:'social_expression' => :'UserConversationSummaryNotificationMediaSummary',
|
@@ -119,6 +125,15 @@ module PureCloud
|
|
119
125
|
end
|
120
126
|
|
121
127
|
|
128
|
+
if attributes.has_key?(:'message')
|
129
|
+
|
130
|
+
|
131
|
+
self.message = attributes[:'message']
|
132
|
+
|
133
|
+
|
134
|
+
end
|
135
|
+
|
136
|
+
|
122
137
|
if attributes.has_key?(:'chat')
|
123
138
|
|
124
139
|
|
@@ -184,6 +199,10 @@ module PureCloud
|
|
184
199
|
|
185
200
|
|
186
201
|
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
187
206
|
|
188
207
|
|
189
208
|
|
@@ -221,6 +240,11 @@ module PureCloud
|
|
221
240
|
|
222
241
|
|
223
242
|
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
|
224
248
|
|
225
249
|
|
226
250
|
|
@@ -236,6 +260,7 @@ module PureCloud
|
|
236
260
|
call == o.call &&
|
237
261
|
callback == o.callback &&
|
238
262
|
email == o.email &&
|
263
|
+
message == o.message &&
|
239
264
|
chat == o.chat &&
|
240
265
|
social_expression == o.social_expression &&
|
241
266
|
video == o.video
|
@@ -250,7 +275,7 @@ module PureCloud
|
|
250
275
|
# Calculates hash code according to all attributes.
|
251
276
|
# @return [Fixnum] Hash code
|
252
277
|
def hash
|
253
|
-
[user_id, call, callback, email, chat, social_expression, video].hash
|
278
|
+
[user_id, call, callback, email, message, chat, social_expression, video].hash
|
254
279
|
end
|
255
280
|
|
256
281
|
# build the object from hash
|
@@ -65,6 +65,12 @@ module PureCloud
|
|
65
65
|
# The in-queue flow to use for conversations waiting in queue.
|
66
66
|
attr_accessor :queue_flow
|
67
67
|
|
68
|
+
# The prompt used for whisper audio on the queue, if configured.
|
69
|
+
attr_accessor :whisper
|
70
|
+
|
71
|
+
# Specifies whether the configured whisper audio should play for all ACD calls, or only for those which are auto-answered.
|
72
|
+
attr_accessor :auto_answer_only
|
73
|
+
|
68
74
|
# The name to use for caller identification for outbound calls from this queue.
|
69
75
|
attr_accessor :calling_party_name
|
70
76
|
|
@@ -119,6 +125,10 @@ module PureCloud
|
|
119
125
|
|
120
126
|
:'queue_flow' => :'queueFlow',
|
121
127
|
|
128
|
+
:'whisper' => :'whisper',
|
129
|
+
|
130
|
+
:'auto_answer_only' => :'autoAnswerOnly',
|
131
|
+
|
122
132
|
:'calling_party_name' => :'callingPartyName',
|
123
133
|
|
124
134
|
:'calling_party_number' => :'callingPartyNumber',
|
@@ -172,6 +182,10 @@ module PureCloud
|
|
172
182
|
|
173
183
|
:'queue_flow' => :'UriReference',
|
174
184
|
|
185
|
+
:'whisper' => :'UriReference',
|
186
|
+
|
187
|
+
:'auto_answer_only' => :'BOOLEAN',
|
188
|
+
|
175
189
|
:'calling_party_name' => :'String',
|
176
190
|
|
177
191
|
:'calling_party_number' => :'String',
|
@@ -344,6 +358,24 @@ module PureCloud
|
|
344
358
|
end
|
345
359
|
|
346
360
|
|
361
|
+
if attributes.has_key?(:'whisper')
|
362
|
+
|
363
|
+
|
364
|
+
self.whisper = attributes[:'whisper']
|
365
|
+
|
366
|
+
|
367
|
+
end
|
368
|
+
|
369
|
+
|
370
|
+
if attributes.has_key?(:'autoAnswerOnly')
|
371
|
+
|
372
|
+
|
373
|
+
self.auto_answer_only = attributes[:'autoAnswerOnly']
|
374
|
+
|
375
|
+
|
376
|
+
end
|
377
|
+
|
378
|
+
|
347
379
|
if attributes.has_key?(:'callingPartyName')
|
348
380
|
|
349
381
|
|
@@ -532,6 +564,14 @@ module PureCloud
|
|
532
564
|
|
533
565
|
|
534
566
|
|
567
|
+
|
568
|
+
|
569
|
+
|
570
|
+
|
571
|
+
|
572
|
+
|
573
|
+
|
574
|
+
|
535
575
|
|
536
576
|
|
537
577
|
|
@@ -666,6 +706,16 @@ module PureCloud
|
|
666
706
|
|
667
707
|
|
668
708
|
|
709
|
+
|
710
|
+
|
711
|
+
|
712
|
+
|
713
|
+
|
714
|
+
|
715
|
+
|
716
|
+
|
717
|
+
|
718
|
+
|
669
719
|
|
670
720
|
|
671
721
|
|
@@ -698,6 +748,8 @@ module PureCloud
|
|
698
748
|
acw_settings == o.acw_settings &&
|
699
749
|
skill_evaluation_method == o.skill_evaluation_method &&
|
700
750
|
queue_flow == o.queue_flow &&
|
751
|
+
whisper == o.whisper &&
|
752
|
+
auto_answer_only == o.auto_answer_only &&
|
701
753
|
calling_party_name == o.calling_party_name &&
|
702
754
|
calling_party_number == o.calling_party_number &&
|
703
755
|
default_scripts == o.default_scripts &&
|
@@ -716,7 +768,7 @@ module PureCloud
|
|
716
768
|
# Calculates hash code according to all attributes.
|
717
769
|
# @return [Fixnum] Hash code
|
718
770
|
def hash
|
719
|
-
[id, name, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, media_settings, bullseye, acw_settings, skill_evaluation_method, queue_flow, calling_party_name, calling_party_number, default_scripts, outbound_email_address, joined, member_count, self_uri].hash
|
771
|
+
[id, name, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, media_settings, bullseye, acw_settings, skill_evaluation_method, queue_flow, whisper, auto_answer_only, calling_party_name, calling_party_number, default_scripts, outbound_email_address, joined, member_count, self_uri].hash
|
720
772
|
end
|
721
773
|
|
722
774
|
# build the object from hash
|
@@ -0,0 +1,228 @@
|
|
1
|
+
=begin
|
2
|
+
PureCloud Platform API
|
3
|
+
|
4
|
+
With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
|
5
|
+
|
6
|
+
OpenAPI spec version: v2
|
7
|
+
Contact: DeveloperEvangelists@genesys.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
License: ININ
|
11
|
+
http://www.inin.com
|
12
|
+
|
13
|
+
Terms of Service: https://developer.mypurecloud.com/tos
|
14
|
+
|
15
|
+
=end
|
16
|
+
|
17
|
+
require 'date'
|
18
|
+
|
19
|
+
module PureCloud
|
20
|
+
class UserReference
|
21
|
+
# The globally unique identifier for the object.
|
22
|
+
attr_accessor :id
|
23
|
+
|
24
|
+
# The URI for this object
|
25
|
+
attr_accessor :self_uri
|
26
|
+
|
27
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
28
|
+
def self.attribute_map
|
29
|
+
{
|
30
|
+
|
31
|
+
:'id' => :'id',
|
32
|
+
|
33
|
+
:'self_uri' => :'selfUri'
|
34
|
+
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
38
|
+
# Attribute type mapping.
|
39
|
+
def self.swagger_types
|
40
|
+
{
|
41
|
+
|
42
|
+
:'id' => :'String',
|
43
|
+
|
44
|
+
:'self_uri' => :'String'
|
45
|
+
|
46
|
+
}
|
47
|
+
end
|
48
|
+
|
49
|
+
# Initializes the object
|
50
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
51
|
+
def initialize(attributes = {})
|
52
|
+
return unless attributes.is_a?(Hash)
|
53
|
+
|
54
|
+
# convert string to symbol for hash key
|
55
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
56
|
+
|
57
|
+
|
58
|
+
if attributes.has_key?(:'id')
|
59
|
+
|
60
|
+
|
61
|
+
self.id = attributes[:'id']
|
62
|
+
|
63
|
+
|
64
|
+
end
|
65
|
+
|
66
|
+
|
67
|
+
if attributes.has_key?(:'selfUri')
|
68
|
+
|
69
|
+
|
70
|
+
self.self_uri = attributes[:'selfUri']
|
71
|
+
|
72
|
+
|
73
|
+
end
|
74
|
+
|
75
|
+
|
76
|
+
end
|
77
|
+
|
78
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
79
|
+
# @return Array for valid properies with the reasons
|
80
|
+
def list_invalid_properties
|
81
|
+
invalid_properties = Array.new
|
82
|
+
|
83
|
+
|
84
|
+
return invalid_properties
|
85
|
+
end
|
86
|
+
|
87
|
+
# Check to see if the all the properties in the model are valid
|
88
|
+
# @return true if the model is valid
|
89
|
+
def valid?
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
end
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
# Checks equality by comparing each attribute.
|
113
|
+
# @param [Object] Object to be compared
|
114
|
+
def ==(o)
|
115
|
+
return true if self.equal?(o)
|
116
|
+
self.class == o.class &&
|
117
|
+
id == o.id &&
|
118
|
+
self_uri == o.self_uri
|
119
|
+
end
|
120
|
+
|
121
|
+
# @see the `==` method
|
122
|
+
# @param [Object] Object to be compared
|
123
|
+
def eql?(o)
|
124
|
+
self == o
|
125
|
+
end
|
126
|
+
|
127
|
+
# Calculates hash code according to all attributes.
|
128
|
+
# @return [Fixnum] Hash code
|
129
|
+
def hash
|
130
|
+
[id, self_uri].hash
|
131
|
+
end
|
132
|
+
|
133
|
+
# build the object from hash
|
134
|
+
def build_from_hash(attributes)
|
135
|
+
return nil unless attributes.is_a?(Hash)
|
136
|
+
self.class.swagger_types.each_pair do |key, type|
|
137
|
+
if type =~ /^Array<(.*)>/i
|
138
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
139
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
140
|
+
else
|
141
|
+
#TODO show warning in debug mode
|
142
|
+
end
|
143
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
144
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
145
|
+
else
|
146
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
self
|
151
|
+
end
|
152
|
+
|
153
|
+
def _deserialize(type, value)
|
154
|
+
case type.to_sym
|
155
|
+
when :DateTime
|
156
|
+
DateTime.parse(value)
|
157
|
+
when :Date
|
158
|
+
Date.parse(value)
|
159
|
+
when :String
|
160
|
+
value.to_s
|
161
|
+
when :Integer
|
162
|
+
value.to_i
|
163
|
+
when :Float
|
164
|
+
value.to_f
|
165
|
+
when :BOOLEAN
|
166
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
167
|
+
true
|
168
|
+
else
|
169
|
+
false
|
170
|
+
end
|
171
|
+
when :Object
|
172
|
+
# generic object (usually a Hash), return directly
|
173
|
+
value
|
174
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
175
|
+
inner_type = Regexp.last_match[:inner_type]
|
176
|
+
value.map { |v| _deserialize(inner_type, v) }
|
177
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
178
|
+
k_type = Regexp.last_match[:k_type]
|
179
|
+
v_type = Regexp.last_match[:v_type]
|
180
|
+
{}.tap do |hash|
|
181
|
+
value.each do |k, v|
|
182
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
183
|
+
end
|
184
|
+
end
|
185
|
+
else # model
|
186
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
187
|
+
_model.build_from_hash(value)
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
def to_s
|
192
|
+
to_hash.to_s
|
193
|
+
end
|
194
|
+
|
195
|
+
# to_body is an alias to to_body (backward compatibility))
|
196
|
+
def to_body
|
197
|
+
to_hash
|
198
|
+
end
|
199
|
+
|
200
|
+
# return the object in the form of hash
|
201
|
+
def to_hash
|
202
|
+
hash = {}
|
203
|
+
self.class.attribute_map.each_pair do |attr, param|
|
204
|
+
value = self.send(attr)
|
205
|
+
next if value.nil?
|
206
|
+
hash[param] = _to_hash(value)
|
207
|
+
end
|
208
|
+
hash
|
209
|
+
end
|
210
|
+
|
211
|
+
# Method to output non-array value in the form of hash
|
212
|
+
# For object, use to_hash. Otherwise, just return the value
|
213
|
+
def _to_hash(value)
|
214
|
+
if value.is_a?(Array)
|
215
|
+
value.compact.map{ |v| _to_hash(v) }
|
216
|
+
elsif value.is_a?(Hash)
|
217
|
+
{}.tap do |hash|
|
218
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
219
|
+
end
|
220
|
+
elsif value.respond_to? :to_hash
|
221
|
+
value.to_hash
|
222
|
+
else
|
223
|
+
value
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
227
|
+
end
|
228
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: purecloudplatformclientv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 21.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Genesys Developer Evangelists
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -234,6 +234,7 @@ files:
|
|
234
234
|
- docs/Address.md
|
235
235
|
- docs/AddressableEntityUser.md
|
236
236
|
- docs/AddressableLicenseDefinition.md
|
237
|
+
- docs/AdherenceSettings.md
|
237
238
|
- docs/Adjacents.md
|
238
239
|
- docs/Agent.md
|
239
240
|
- docs/AgentActivity.md
|
@@ -245,6 +246,7 @@ files:
|
|
245
246
|
- docs/AgentActivityNotificationPresencePresenceDefinition.md
|
246
247
|
- docs/AgentActivityNotificationRoutingStatus.md
|
247
248
|
- docs/AgentEvaluatorActivity.md
|
249
|
+
- docs/AgentManagementUnitReference.md
|
248
250
|
- docs/AggregateDataContainer.md
|
249
251
|
- docs/AggregateMetricData.md
|
250
252
|
- docs/AggregateQueryResponse.md
|
@@ -332,6 +334,8 @@ files:
|
|
332
334
|
- docs/CallMediaPolicy.md
|
333
335
|
- docs/CallMediaPolicyConditions.md
|
334
336
|
- docs/CallRecord.md
|
337
|
+
- docs/CallRoute.md
|
338
|
+
- docs/CallTarget.md
|
335
339
|
- docs/CallableContactsDiagnostic.md
|
336
340
|
- docs/CallableTime.md
|
337
341
|
- docs/CallableTimeSet.md
|
@@ -529,6 +533,7 @@ files:
|
|
529
533
|
- docs/CreateCallbackResponse.md
|
530
534
|
- docs/CreateEmailRequest.md
|
531
535
|
- docs/CreateQueueRequest.md
|
536
|
+
- docs/CreateSecureSession.md
|
532
537
|
- docs/CreateShareRequest.md
|
533
538
|
- docs/CreateShareRequestMember.md
|
534
539
|
- docs/CreateShareResponse.md
|
@@ -763,6 +768,7 @@ files:
|
|
763
768
|
- docs/IVREntityListing.md
|
764
769
|
- docs/IdentityNow.md
|
765
770
|
- docs/IdentityProviderApi.md
|
771
|
+
- docs/ImportScriptStatusResponse.md
|
766
772
|
- docs/ImportStatus.md
|
767
773
|
- docs/ImportStatusNotification.md
|
768
774
|
- docs/InboundDomain.md
|
@@ -850,6 +856,8 @@ files:
|
|
850
856
|
- docs/LogicalInterfaceEntityListing.md
|
851
857
|
- docs/ManagementUnit.md
|
852
858
|
- docs/ManagementUnitListing.md
|
859
|
+
- docs/ManagementUnitReference.md
|
860
|
+
- docs/ManagementUnitSettings.md
|
853
861
|
- docs/MaxParticipants.md
|
854
862
|
- docs/MediaParticipantRequest.md
|
855
863
|
- docs/MediaPolicies.md
|
@@ -1060,6 +1068,7 @@ files:
|
|
1060
1068
|
- docs/ScheduleGroup.md
|
1061
1069
|
- docs/ScheduleGroupEntityListing.md
|
1062
1070
|
- docs/ScheduleInterval.md
|
1071
|
+
- docs/SchedulingSettings.md
|
1063
1072
|
- docs/SchemaCategory.md
|
1064
1073
|
- docs/SchemaCategoryEntityListing.md
|
1065
1074
|
- docs/SchemaReferenceEntityListing.md
|
@@ -1084,6 +1093,8 @@ files:
|
|
1084
1093
|
- docs/SearchRequest.md
|
1085
1094
|
- docs/SearchSort.md
|
1086
1095
|
- docs/Section.md
|
1096
|
+
- docs/SecureSession.md
|
1097
|
+
- docs/SecureSessionEntityListing.md
|
1087
1098
|
- docs/SecurityProfile.md
|
1088
1099
|
- docs/SecurityProfileEntityListing.md
|
1089
1100
|
- docs/Segment.md
|
@@ -1099,6 +1110,9 @@ files:
|
|
1099
1110
|
- docs/ShareEntityListing.md
|
1100
1111
|
- docs/SharedEntity.md
|
1101
1112
|
- docs/SharedResponse.md
|
1113
|
+
- docs/ShortTermForecastingSettings.md
|
1114
|
+
- docs/SignedData.md
|
1115
|
+
- docs/SignedDataApi.md
|
1102
1116
|
- docs/Site.md
|
1103
1117
|
- docs/SiteEntityListing.md
|
1104
1118
|
- docs/SkillEntityListing.md
|
@@ -1147,6 +1161,7 @@ files:
|
|
1147
1161
|
- docs/TimeOffRequest.md
|
1148
1162
|
- docs/TimeOffRequestList.md
|
1149
1163
|
- docs/TimeOffRequestPatch.md
|
1164
|
+
- docs/TimeOffRequestSettings.md
|
1150
1165
|
- docs/TimeOffRequestUpdateNotification.md
|
1151
1166
|
- docs/TimeOffRequestUpdateNotificationUser.md
|
1152
1167
|
- docs/TimeSlot.md
|
@@ -1217,6 +1232,7 @@ files:
|
|
1217
1232
|
- docs/UserRecording.md
|
1218
1233
|
- docs/UserRecordingEntityListing.md
|
1219
1234
|
- docs/UserRecordingsApi.md
|
1235
|
+
- docs/UserReference.md
|
1220
1236
|
- docs/UserRoutingSkill.md
|
1221
1237
|
- docs/UserRoutingSkillPost.md
|
1222
1238
|
- docs/UserRoutingStatusNotification.md
|
@@ -1323,6 +1339,7 @@ files:
|
|
1323
1339
|
- lib/purecloudplatformclientv2/api/routing_api.rb
|
1324
1340
|
- lib/purecloudplatformclientv2/api/scripts_api.rb
|
1325
1341
|
- lib/purecloudplatformclientv2/api/search_api.rb
|
1342
|
+
- lib/purecloudplatformclientv2/api/signed_data_api.rb
|
1326
1343
|
- lib/purecloudplatformclientv2/api/stations_api.rb
|
1327
1344
|
- lib/purecloudplatformclientv2/api/suggest_api.rb
|
1328
1345
|
- lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb
|
@@ -1351,6 +1368,7 @@ files:
|
|
1351
1368
|
- lib/purecloudplatformclientv2/models/addressable_entity_user.rb
|
1352
1369
|
- lib/purecloudplatformclientv2/models/addressable_license_definition.rb
|
1353
1370
|
- lib/purecloudplatformclientv2/models/adfs.rb
|
1371
|
+
- lib/purecloudplatformclientv2/models/adherence_settings.rb
|
1354
1372
|
- lib/purecloudplatformclientv2/models/adjacents.rb
|
1355
1373
|
- lib/purecloudplatformclientv2/models/agent.rb
|
1356
1374
|
- lib/purecloudplatformclientv2/models/agent_activity.rb
|
@@ -1362,6 +1380,7 @@ files:
|
|
1362
1380
|
- lib/purecloudplatformclientv2/models/agent_activity_notification_presence_presence_definition.rb
|
1363
1381
|
- lib/purecloudplatformclientv2/models/agent_activity_notification_routing_status.rb
|
1364
1382
|
- lib/purecloudplatformclientv2/models/agent_evaluator_activity.rb
|
1383
|
+
- lib/purecloudplatformclientv2/models/agent_management_unit_reference.rb
|
1365
1384
|
- lib/purecloudplatformclientv2/models/aggregate_data_container.rb
|
1366
1385
|
- lib/purecloudplatformclientv2/models/aggregate_metric_data.rb
|
1367
1386
|
- lib/purecloudplatformclientv2/models/aggregate_query_response.rb
|
@@ -1443,6 +1462,8 @@ files:
|
|
1443
1462
|
- lib/purecloudplatformclientv2/models/call_media_policy.rb
|
1444
1463
|
- lib/purecloudplatformclientv2/models/call_media_policy_conditions.rb
|
1445
1464
|
- lib/purecloudplatformclientv2/models/call_record.rb
|
1465
|
+
- lib/purecloudplatformclientv2/models/call_route.rb
|
1466
|
+
- lib/purecloudplatformclientv2/models/call_target.rb
|
1446
1467
|
- lib/purecloudplatformclientv2/models/callable_contacts_diagnostic.rb
|
1447
1468
|
- lib/purecloudplatformclientv2/models/callable_time.rb
|
1448
1469
|
- lib/purecloudplatformclientv2/models/callable_time_set.rb
|
@@ -1638,6 +1659,7 @@ files:
|
|
1638
1659
|
- lib/purecloudplatformclientv2/models/create_callback_response.rb
|
1639
1660
|
- lib/purecloudplatformclientv2/models/create_email_request.rb
|
1640
1661
|
- lib/purecloudplatformclientv2/models/create_queue_request.rb
|
1662
|
+
- lib/purecloudplatformclientv2/models/create_secure_session.rb
|
1641
1663
|
- lib/purecloudplatformclientv2/models/create_share_request.rb
|
1642
1664
|
- lib/purecloudplatformclientv2/models/create_share_request_member.rb
|
1643
1665
|
- lib/purecloudplatformclientv2/models/create_share_response.rb
|
@@ -1864,6 +1886,7 @@ files:
|
|
1864
1886
|
- lib/purecloudplatformclientv2/models/heart_beat_rule_notification_notification_user.rb
|
1865
1887
|
- lib/purecloudplatformclientv2/models/history_listing.rb
|
1866
1888
|
- lib/purecloudplatformclientv2/models/identity_now.rb
|
1889
|
+
- lib/purecloudplatformclientv2/models/import_script_status_response.rb
|
1867
1890
|
- lib/purecloudplatformclientv2/models/import_status.rb
|
1868
1891
|
- lib/purecloudplatformclientv2/models/import_status_notification.rb
|
1869
1892
|
- lib/purecloudplatformclientv2/models/inbound_domain.rb
|
@@ -1949,6 +1972,8 @@ files:
|
|
1949
1972
|
- lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb
|
1950
1973
|
- lib/purecloudplatformclientv2/models/management_unit.rb
|
1951
1974
|
- lib/purecloudplatformclientv2/models/management_unit_listing.rb
|
1975
|
+
- lib/purecloudplatformclientv2/models/management_unit_reference.rb
|
1976
|
+
- lib/purecloudplatformclientv2/models/management_unit_settings.rb
|
1952
1977
|
- lib/purecloudplatformclientv2/models/max_participants.rb
|
1953
1978
|
- lib/purecloudplatformclientv2/models/media_participant_request.rb
|
1954
1979
|
- lib/purecloudplatformclientv2/models/media_policies.rb
|
@@ -2148,6 +2173,7 @@ files:
|
|
2148
2173
|
- lib/purecloudplatformclientv2/models/schedule_group.rb
|
2149
2174
|
- lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb
|
2150
2175
|
- lib/purecloudplatformclientv2/models/schedule_interval.rb
|
2176
|
+
- lib/purecloudplatformclientv2/models/scheduling_settings.rb
|
2151
2177
|
- lib/purecloudplatformclientv2/models/schema_category.rb
|
2152
2178
|
- lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb
|
2153
2179
|
- lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb
|
@@ -2170,6 +2196,8 @@ files:
|
|
2170
2196
|
- lib/purecloudplatformclientv2/models/search_request.rb
|
2171
2197
|
- lib/purecloudplatformclientv2/models/search_sort.rb
|
2172
2198
|
- lib/purecloudplatformclientv2/models/section.rb
|
2199
|
+
- lib/purecloudplatformclientv2/models/secure_session.rb
|
2200
|
+
- lib/purecloudplatformclientv2/models/secure_session_entity_listing.rb
|
2173
2201
|
- lib/purecloudplatformclientv2/models/security_profile.rb
|
2174
2202
|
- lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb
|
2175
2203
|
- lib/purecloudplatformclientv2/models/segment.rb
|
@@ -2185,6 +2213,8 @@ files:
|
|
2185
2213
|
- lib/purecloudplatformclientv2/models/share_entity_listing.rb
|
2186
2214
|
- lib/purecloudplatformclientv2/models/shared_entity.rb
|
2187
2215
|
- lib/purecloudplatformclientv2/models/shared_response.rb
|
2216
|
+
- lib/purecloudplatformclientv2/models/short_term_forecasting_settings.rb
|
2217
|
+
- lib/purecloudplatformclientv2/models/signed_data.rb
|
2188
2218
|
- lib/purecloudplatformclientv2/models/site.rb
|
2189
2219
|
- lib/purecloudplatformclientv2/models/site_entity_listing.rb
|
2190
2220
|
- lib/purecloudplatformclientv2/models/skill_entity_listing.rb
|
@@ -2230,6 +2260,7 @@ files:
|
|
2230
2260
|
- lib/purecloudplatformclientv2/models/time_off_request.rb
|
2231
2261
|
- lib/purecloudplatformclientv2/models/time_off_request_list.rb
|
2232
2262
|
- lib/purecloudplatformclientv2/models/time_off_request_patch.rb
|
2263
|
+
- lib/purecloudplatformclientv2/models/time_off_request_settings.rb
|
2233
2264
|
- lib/purecloudplatformclientv2/models/time_off_request_update_notification.rb
|
2234
2265
|
- lib/purecloudplatformclientv2/models/time_off_request_update_notification_user.rb
|
2235
2266
|
- lib/purecloudplatformclientv2/models/time_slot.rb
|
@@ -2298,6 +2329,7 @@ files:
|
|
2298
2329
|
- lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb
|
2299
2330
|
- lib/purecloudplatformclientv2/models/user_recording.rb
|
2300
2331
|
- lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb
|
2332
|
+
- lib/purecloudplatformclientv2/models/user_reference.rb
|
2301
2333
|
- lib/purecloudplatformclientv2/models/user_routing_skill.rb
|
2302
2334
|
- lib/purecloudplatformclientv2/models/user_routing_skill_post.rb
|
2303
2335
|
- lib/purecloudplatformclientv2/models/user_routing_status_notification.rb
|