purecloudplatformclientv2 22.0.0 → 23.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/ActivityCode.md +8 -5
- data/docs/ActivityCodeContainer.md +1 -0
- data/docs/AdherenceSettings.md +1 -1
- data/docs/ArchitectApi.md +14 -14
- data/docs/AuthorizationApi.md +3 -1
- data/docs/BatchDownloadJobResult.md +20 -0
- data/docs/BatchDownloadJobStatusResult.md +20 -0
- data/docs/BatchDownloadJobSubmission.md +13 -0
- data/docs/BatchDownloadJobSubmissionResult.md +15 -0
- data/docs/BatchDownloadRequest.md +14 -0
- data/docs/Call.md +2 -0
- data/docs/CallBasic.md +2 -0
- data/docs/CallForwardingNotification.md +17 -0
- data/docs/CallForwardingNotificationCall.md +13 -0
- data/docs/CallForwardingNotificationCalls.md +13 -0
- data/docs/CallForwardingNotificationTarget.md +14 -0
- data/docs/CallForwardingNotificationTargets.md +14 -0
- data/docs/CallForwardingNotificationUser.md +13 -0
- data/docs/CallRoute.md +0 -1
- data/docs/{SignedData.md → ContactColumnTimeZone.md} +2 -3
- data/docs/CreateActivityCodeRequest.md +18 -0
- data/docs/CreateQueueRequest.md +12 -11
- data/docs/ExternalContact.md +1 -0
- data/docs/IgnoredActivityCategories.md +13 -0
- data/docs/ManagementUnit.md +4 -3
- data/docs/ManagementUnitSettings.md +1 -3
- data/docs/MessageDetails.md +1 -0
- data/docs/MessageMedia.md +14 -0
- data/docs/MoveAgentResponse.md +14 -0
- data/docs/MoveAgentsRequest.md +14 -0
- data/docs/MoveAgentsResponse.md +15 -0
- data/docs/NTPSettings.md +13 -0
- data/docs/OrganizationAuthorizationApi.md +2 -2
- data/docs/OutOfOfficeNotification.md +1 -0
- data/docs/OutboundApi.md +63 -0
- data/docs/Queue.md +12 -11
- data/docs/Recording.md +1 -0
- data/docs/RecordingApi.md +120 -0
- data/docs/RecordingMessagingMessage.md +18 -0
- data/docs/RoutingApi.md +2 -2
- data/docs/SchedulingSettings.md +1 -0
- data/docs/ShrinkageOverride.md +14 -0
- data/docs/ShrinkageOverrides.md +14 -0
- data/docs/Site.md +1 -0
- data/docs/TrustCreate.md +2 -1
- data/docs/TrustGroup.md +26 -0
- data/docs/{TrustUserCreate.md → TrustMemberCreate.md} +4 -4
- data/docs/TrustRequest.md +2 -1
- data/docs/TrustRequestCreate.md +2 -1
- data/docs/UserQueue.md +12 -11
- data/docs/WfmVersionedEntityMetadata.md +15 -0
- data/docs/WorkforceManagementApi.md +128 -3
- data/docs/{Entity.md → WrapUpCodeReference.md} +2 -2
- data/lib/purecloudplatformclientv2.rb +26 -4
- data/lib/purecloudplatformclientv2/api/architect_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api/authorization_api.rb +9 -0
- data/lib/purecloudplatformclientv2/api/outbound_api.rb +75 -0
- data/lib/purecloudplatformclientv2/api/recording_api.rb +130 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +138 -2
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/activity_code.rb +95 -12
- data/lib/purecloudplatformclientv2/models/activity_code_container.rb +35 -4
- data/lib/purecloudplatformclientv2/models/adherence_settings.rb +2 -4
- data/lib/purecloudplatformclientv2/models/batch_download_job_result.rb +383 -0
- data/lib/purecloudplatformclientv2/models/batch_download_job_status_result.rb +385 -0
- data/lib/purecloudplatformclientv2/models/batch_download_job_submission.rb +209 -0
- data/lib/purecloudplatformclientv2/models/batch_download_job_submission_result.rb +253 -0
- data/lib/purecloudplatformclientv2/models/batch_download_request.rb +228 -0
- data/lib/purecloudplatformclientv2/models/call.rb +56 -4
- data/lib/purecloudplatformclientv2/models/call_basic.rb +56 -4
- data/lib/purecloudplatformclientv2/models/call_forwarding_notification.rb +303 -0
- data/lib/purecloudplatformclientv2/models/call_forwarding_notification_call.rb +203 -0
- data/lib/purecloudplatformclientv2/models/call_forwarding_notification_calls.rb +203 -0
- data/lib/purecloudplatformclientv2/models/call_forwarding_notification_target.rb +226 -0
- data/lib/purecloudplatformclientv2/models/call_forwarding_notification_targets.rb +226 -0
- data/lib/purecloudplatformclientv2/models/{signed_data.rb → call_forwarding_notification_user.rb} +8 -8
- data/lib/purecloudplatformclientv2/models/call_route.rb +4 -30
- data/lib/purecloudplatformclientv2/models/contact_column_time_zone.rb +176 -0
- data/lib/purecloudplatformclientv2/models/create_activity_code_request.rb +358 -0
- data/lib/purecloudplatformclientv2/models/create_queue_request.rb +38 -12
- 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/ignored_activity_categories.rb +204 -0
- data/lib/purecloudplatformclientv2/models/management_unit.rb +36 -5
- data/lib/purecloudplatformclientv2/models/management_unit_settings.rb +9 -61
- data/lib/purecloudplatformclientv2/models/message_details.rb +32 -4
- data/lib/purecloudplatformclientv2/models/message_media.rb +228 -0
- data/lib/purecloudplatformclientv2/models/move_agent_response.rb +243 -0
- data/lib/purecloudplatformclientv2/models/move_agents_request.rb +236 -0
- data/lib/purecloudplatformclientv2/models/move_agents_response.rb +257 -0
- data/lib/purecloudplatformclientv2/models/ntp_settings.rb +204 -0
- data/lib/purecloudplatformclientv2/models/out_of_office_notification.rb +26 -1
- data/lib/purecloudplatformclientv2/models/prediction_results.rb +2 -2
- data/lib/purecloudplatformclientv2/models/queue.rb +38 -12
- data/lib/purecloudplatformclientv2/models/recording.rb +29 -1
- data/lib/purecloudplatformclientv2/models/recording_messaging_message.rb +327 -0
- data/lib/purecloudplatformclientv2/models/scheduling_settings.rb +30 -4
- data/lib/purecloudplatformclientv2/models/shrinkage_override.rb +233 -0
- data/lib/purecloudplatformclientv2/models/shrinkage_overrides.rb +230 -0
- data/lib/purecloudplatformclientv2/models/site.rb +27 -1
- data/lib/purecloudplatformclientv2/models/trust_create.rb +32 -9
- data/lib/purecloudplatformclientv2/models/trust_group.rb +603 -0
- data/lib/purecloudplatformclientv2/models/{trust_user_create.rb → trust_member_create.rb} +3 -3
- data/lib/purecloudplatformclientv2/models/trust_request.rb +28 -5
- data/lib/purecloudplatformclientv2/models/trust_request_create.rb +32 -9
- data/lib/purecloudplatformclientv2/models/user_queue.rb +38 -12
- data/lib/purecloudplatformclientv2/models/wfm_versioned_entity_metadata.rb +260 -0
- data/lib/purecloudplatformclientv2/models/{entity.rb → wrap_up_code_reference.rb} +1 -1
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +54 -10
- data/docs/SignedDataApi.md +0 -73
- data/lib/purecloudplatformclientv2/api/signed_data_api.rb +0 -90
|
@@ -0,0 +1,204 @@
|
|
|
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 NTPSettings
|
|
21
|
+
# List of NTP servers, in priority order
|
|
22
|
+
attr_accessor :servers
|
|
23
|
+
|
|
24
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
|
+
def self.attribute_map
|
|
26
|
+
{
|
|
27
|
+
|
|
28
|
+
:'servers' => :'servers'
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Attribute type mapping.
|
|
34
|
+
def self.swagger_types
|
|
35
|
+
{
|
|
36
|
+
|
|
37
|
+
:'servers' => :'Array<String>'
|
|
38
|
+
|
|
39
|
+
}
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Initializes the object
|
|
43
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
44
|
+
def initialize(attributes = {})
|
|
45
|
+
return unless attributes.is_a?(Hash)
|
|
46
|
+
|
|
47
|
+
# convert string to symbol for hash key
|
|
48
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
if attributes.has_key?(:'servers')
|
|
52
|
+
|
|
53
|
+
if (value = attributes[:'servers']).is_a?(Array)
|
|
54
|
+
self.servers = value
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
65
|
+
# @return Array for valid properies with the reasons
|
|
66
|
+
def list_invalid_properties
|
|
67
|
+
invalid_properties = Array.new
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
return invalid_properties
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# Check to see if the all the properties in the model are valid
|
|
74
|
+
# @return true if the model is valid
|
|
75
|
+
def valid?
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
# Checks equality by comparing each attribute.
|
|
90
|
+
# @param [Object] Object to be compared
|
|
91
|
+
def ==(o)
|
|
92
|
+
return true if self.equal?(o)
|
|
93
|
+
self.class == o.class &&
|
|
94
|
+
servers == o.servers
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# @see the `==` method
|
|
98
|
+
# @param [Object] Object to be compared
|
|
99
|
+
def eql?(o)
|
|
100
|
+
self == o
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# Calculates hash code according to all attributes.
|
|
104
|
+
# @return [Fixnum] Hash code
|
|
105
|
+
def hash
|
|
106
|
+
[servers].hash
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# build the object from hash
|
|
110
|
+
def build_from_hash(attributes)
|
|
111
|
+
return nil unless attributes.is_a?(Hash)
|
|
112
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
113
|
+
if type =~ /^Array<(.*)>/i
|
|
114
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
115
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
|
116
|
+
else
|
|
117
|
+
#TODO show warning in debug mode
|
|
118
|
+
end
|
|
119
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
120
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
121
|
+
else
|
|
122
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
self
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
def _deserialize(type, value)
|
|
130
|
+
case type.to_sym
|
|
131
|
+
when :DateTime
|
|
132
|
+
DateTime.parse(value)
|
|
133
|
+
when :Date
|
|
134
|
+
Date.parse(value)
|
|
135
|
+
when :String
|
|
136
|
+
value.to_s
|
|
137
|
+
when :Integer
|
|
138
|
+
value.to_i
|
|
139
|
+
when :Float
|
|
140
|
+
value.to_f
|
|
141
|
+
when :BOOLEAN
|
|
142
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
|
143
|
+
true
|
|
144
|
+
else
|
|
145
|
+
false
|
|
146
|
+
end
|
|
147
|
+
when :Object
|
|
148
|
+
# generic object (usually a Hash), return directly
|
|
149
|
+
value
|
|
150
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
151
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
152
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
153
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
|
154
|
+
k_type = Regexp.last_match[:k_type]
|
|
155
|
+
v_type = Regexp.last_match[:v_type]
|
|
156
|
+
{}.tap do |hash|
|
|
157
|
+
value.each do |k, v|
|
|
158
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
else # model
|
|
162
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
|
163
|
+
_model.build_from_hash(value)
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
def to_s
|
|
168
|
+
to_hash.to_s
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
# to_body is an alias to to_body (backward compatibility))
|
|
172
|
+
def to_body
|
|
173
|
+
to_hash
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
# return the object in the form of hash
|
|
177
|
+
def to_hash
|
|
178
|
+
hash = {}
|
|
179
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
180
|
+
value = self.send(attr)
|
|
181
|
+
next if value.nil?
|
|
182
|
+
hash[param] = _to_hash(value)
|
|
183
|
+
end
|
|
184
|
+
hash
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
# Method to output non-array value in the form of hash
|
|
188
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
189
|
+
def _to_hash(value)
|
|
190
|
+
if value.is_a?(Array)
|
|
191
|
+
value.compact.map{ |v| _to_hash(v) }
|
|
192
|
+
elsif value.is_a?(Hash)
|
|
193
|
+
{}.tap do |hash|
|
|
194
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
195
|
+
end
|
|
196
|
+
elsif value.respond_to? :to_hash
|
|
197
|
+
value.to_hash
|
|
198
|
+
else
|
|
199
|
+
value
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
end
|
|
204
|
+
end
|
|
@@ -22,6 +22,8 @@ module PureCloud
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :active
|
|
24
24
|
|
|
25
|
+
attr_accessor :indefinite
|
|
26
|
+
|
|
25
27
|
attr_accessor :start_date
|
|
26
28
|
|
|
27
29
|
attr_accessor :end_date
|
|
@@ -34,6 +36,8 @@ module PureCloud
|
|
|
34
36
|
|
|
35
37
|
:'active' => :'active',
|
|
36
38
|
|
|
39
|
+
:'indefinite' => :'indefinite',
|
|
40
|
+
|
|
37
41
|
:'start_date' => :'startDate',
|
|
38
42
|
|
|
39
43
|
:'end_date' => :'endDate'
|
|
@@ -49,6 +53,8 @@ module PureCloud
|
|
|
49
53
|
|
|
50
54
|
:'active' => :'BOOLEAN',
|
|
51
55
|
|
|
56
|
+
:'indefinite' => :'BOOLEAN',
|
|
57
|
+
|
|
52
58
|
:'start_date' => :'DateTime',
|
|
53
59
|
|
|
54
60
|
:'end_date' => :'DateTime'
|
|
@@ -83,6 +89,15 @@ module PureCloud
|
|
|
83
89
|
end
|
|
84
90
|
|
|
85
91
|
|
|
92
|
+
if attributes.has_key?(:'indefinite')
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
self.indefinite = attributes[:'indefinite']
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
|
|
86
101
|
if attributes.has_key?(:'startDate')
|
|
87
102
|
|
|
88
103
|
|
|
@@ -131,6 +146,10 @@ module PureCloud
|
|
|
131
146
|
|
|
132
147
|
|
|
133
148
|
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
134
153
|
|
|
135
154
|
end
|
|
136
155
|
|
|
@@ -149,6 +168,11 @@ module PureCloud
|
|
|
149
168
|
|
|
150
169
|
|
|
151
170
|
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
152
176
|
|
|
153
177
|
|
|
154
178
|
|
|
@@ -162,6 +186,7 @@ module PureCloud
|
|
|
162
186
|
self.class == o.class &&
|
|
163
187
|
user == o.user &&
|
|
164
188
|
active == o.active &&
|
|
189
|
+
indefinite == o.indefinite &&
|
|
165
190
|
start_date == o.start_date &&
|
|
166
191
|
end_date == o.end_date
|
|
167
192
|
end
|
|
@@ -175,7 +200,7 @@ module PureCloud
|
|
|
175
200
|
# Calculates hash code according to all attributes.
|
|
176
201
|
# @return [Fixnum] Hash code
|
|
177
202
|
def hash
|
|
178
|
-
[user, active, start_date, end_date].hash
|
|
203
|
+
[user, active, indefinite, start_date, end_date].hash
|
|
179
204
|
end
|
|
180
205
|
|
|
181
206
|
# build the object from hash
|
|
@@ -106,7 +106,7 @@ module PureCloud
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
|
|
109
|
-
allowed_values = ["ALL", "CALL", "CALLBACK", "CHAT", "EMAIL", "SOCIALEXPRESSION", "VIDEOCOMM"]
|
|
109
|
+
allowed_values = ["ALL", "CALL", "CALLBACK", "CHAT", "EMAIL", "SOCIALEXPRESSION", "VIDEOCOMM", "MESSAGE"]
|
|
110
110
|
if @intent && !allowed_values.include?(@intent)
|
|
111
111
|
return false
|
|
112
112
|
end
|
|
@@ -143,7 +143,7 @@ module PureCloud
|
|
|
143
143
|
# Custom attribute writer method checking allowed values (enum).
|
|
144
144
|
# @param [Object] intent Object to be assigned
|
|
145
145
|
def intent=(intent)
|
|
146
|
-
allowed_values = ["ALL", "CALL", "CALLBACK", "CHAT", "EMAIL", "SOCIALEXPRESSION", "VIDEOCOMM"]
|
|
146
|
+
allowed_values = ["ALL", "CALL", "CALLBACK", "CHAT", "EMAIL", "SOCIALEXPRESSION", "VIDEOCOMM", "MESSAGE"]
|
|
147
147
|
if intent && !allowed_values.include?(intent)
|
|
148
148
|
fail ArgumentError, "invalid value for 'intent', must be one of #{allowed_values}."
|
|
149
149
|
end
|
|
@@ -23,31 +23,34 @@ module PureCloud
|
|
|
23
23
|
|
|
24
24
|
attr_accessor :name
|
|
25
25
|
|
|
26
|
-
# The
|
|
26
|
+
# The queue description.
|
|
27
27
|
attr_accessor :description
|
|
28
28
|
|
|
29
|
-
# The current version of the
|
|
29
|
+
# The current version of the queue.
|
|
30
30
|
attr_accessor :version
|
|
31
31
|
|
|
32
|
-
# The
|
|
32
|
+
# The division to which this queue belongs.
|
|
33
|
+
attr_accessor :division
|
|
34
|
+
|
|
35
|
+
# The date the queue was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
|
33
36
|
attr_accessor :date_created
|
|
34
37
|
|
|
35
|
-
# The date of the last modification to the
|
|
38
|
+
# The date of the last modification to the queue. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
|
36
39
|
attr_accessor :date_modified
|
|
37
40
|
|
|
38
|
-
# The ID of the user that last modified the
|
|
41
|
+
# The ID of the user that last modified the queue.
|
|
39
42
|
attr_accessor :modified_by
|
|
40
43
|
|
|
41
|
-
# The ID of the user that created the
|
|
44
|
+
# The ID of the user that created the queue.
|
|
42
45
|
attr_accessor :created_by
|
|
43
46
|
|
|
44
|
-
# Indicates if the
|
|
47
|
+
# Indicates if the queue is active, inactive, or deleted.
|
|
45
48
|
attr_accessor :state
|
|
46
49
|
|
|
47
|
-
# The application that last modified the
|
|
50
|
+
# The application that last modified the queue.
|
|
48
51
|
attr_accessor :modified_by_app
|
|
49
52
|
|
|
50
|
-
# The application that created the
|
|
53
|
+
# The application that created the queue.
|
|
51
54
|
attr_accessor :created_by_app
|
|
52
55
|
|
|
53
56
|
# The media settings for the queue. Valid Key Values: CALL, CALLBACK, CHAT, EMAIL, SOCIAL_EXPRESSION
|
|
@@ -65,10 +68,10 @@ module PureCloud
|
|
|
65
68
|
# The in-queue flow to use for conversations waiting in queue.
|
|
66
69
|
attr_accessor :queue_flow
|
|
67
70
|
|
|
68
|
-
#
|
|
71
|
+
# ID of the whisper configured for this queue, if any.
|
|
69
72
|
attr_accessor :whisper
|
|
70
73
|
|
|
71
|
-
# Specifies whether the configured whisper
|
|
74
|
+
# Specifies whether the configured whisper should play for all ACD calls, or only for those which are auto-answered.
|
|
72
75
|
attr_accessor :auto_answer_only
|
|
73
76
|
|
|
74
77
|
# The name to use for caller identification for outbound calls from this queue.
|
|
@@ -99,6 +102,8 @@ module PureCloud
|
|
|
99
102
|
|
|
100
103
|
:'version' => :'version',
|
|
101
104
|
|
|
105
|
+
:'division' => :'division',
|
|
106
|
+
|
|
102
107
|
:'date_created' => :'dateCreated',
|
|
103
108
|
|
|
104
109
|
:'date_modified' => :'dateModified',
|
|
@@ -154,6 +159,8 @@ module PureCloud
|
|
|
154
159
|
|
|
155
160
|
:'version' => :'Integer',
|
|
156
161
|
|
|
162
|
+
:'division' => :'UriReference',
|
|
163
|
+
|
|
157
164
|
:'date_created' => :'DateTime',
|
|
158
165
|
|
|
159
166
|
:'date_modified' => :'DateTime',
|
|
@@ -242,6 +249,15 @@ module PureCloud
|
|
|
242
249
|
end
|
|
243
250
|
|
|
244
251
|
|
|
252
|
+
if attributes.has_key?(:'division')
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
self.division = attributes[:'division']
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
|
|
245
261
|
if attributes.has_key?(:'dateCreated')
|
|
246
262
|
|
|
247
263
|
|
|
@@ -470,6 +486,10 @@ module PureCloud
|
|
|
470
486
|
|
|
471
487
|
|
|
472
488
|
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
473
493
|
|
|
474
494
|
|
|
475
495
|
|
|
@@ -600,6 +620,11 @@ module PureCloud
|
|
|
600
620
|
|
|
601
621
|
|
|
602
622
|
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
|
|
603
628
|
|
|
604
629
|
|
|
605
630
|
|
|
@@ -712,6 +737,7 @@ module PureCloud
|
|
|
712
737
|
name == o.name &&
|
|
713
738
|
description == o.description &&
|
|
714
739
|
version == o.version &&
|
|
740
|
+
division == o.division &&
|
|
715
741
|
date_created == o.date_created &&
|
|
716
742
|
date_modified == o.date_modified &&
|
|
717
743
|
modified_by == o.modified_by &&
|
|
@@ -743,7 +769,7 @@ module PureCloud
|
|
|
743
769
|
# Calculates hash code according to all attributes.
|
|
744
770
|
# @return [Fixnum] Hash code
|
|
745
771
|
def hash
|
|
746
|
-
[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, member_count, self_uri].hash
|
|
772
|
+
[id, name, description, version, division, 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, member_count, self_uri].hash
|
|
747
773
|
end
|
|
748
774
|
|
|
749
775
|
# build the object from hash
|
|
@@ -43,6 +43,9 @@ module PureCloud
|
|
|
43
43
|
# Represents an email transcript
|
|
44
44
|
attr_accessor :email_transcript
|
|
45
45
|
|
|
46
|
+
# Represents a messaging transcript
|
|
47
|
+
attr_accessor :messaging_transcript
|
|
48
|
+
|
|
46
49
|
# Represents the current file state for a recording. Examples: Uploading, Archived, etc
|
|
47
50
|
attr_accessor :file_state
|
|
48
51
|
|
|
@@ -104,6 +107,8 @@ module PureCloud
|
|
|
104
107
|
|
|
105
108
|
:'email_transcript' => :'emailTranscript',
|
|
106
109
|
|
|
110
|
+
:'messaging_transcript' => :'messagingTranscript',
|
|
111
|
+
|
|
107
112
|
:'file_state' => :'fileState',
|
|
108
113
|
|
|
109
114
|
:'restore_expiration_time' => :'restoreExpirationTime',
|
|
@@ -157,6 +162,8 @@ module PureCloud
|
|
|
157
162
|
|
|
158
163
|
:'email_transcript' => :'Array<RecordingEmailMessage>',
|
|
159
164
|
|
|
165
|
+
:'messaging_transcript' => :'Array<RecordingMessagingMessage>',
|
|
166
|
+
|
|
160
167
|
:'file_state' => :'String',
|
|
161
168
|
|
|
162
169
|
:'restore_expiration_time' => :'DateTime',
|
|
@@ -288,6 +295,17 @@ module PureCloud
|
|
|
288
295
|
|
|
289
296
|
|
|
290
297
|
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
if attributes.has_key?(:'messagingTranscript')
|
|
302
|
+
|
|
303
|
+
if (value = attributes[:'messagingTranscript']).is_a?(Array)
|
|
304
|
+
self.messaging_transcript = value
|
|
305
|
+
end
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
291
309
|
end
|
|
292
310
|
|
|
293
311
|
|
|
@@ -464,6 +482,10 @@ module PureCloud
|
|
|
464
482
|
|
|
465
483
|
|
|
466
484
|
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
|
|
467
489
|
|
|
468
490
|
|
|
469
491
|
|
|
@@ -577,6 +599,11 @@ module PureCloud
|
|
|
577
599
|
|
|
578
600
|
|
|
579
601
|
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
|
|
580
607
|
|
|
581
608
|
|
|
582
609
|
|
|
@@ -680,6 +707,7 @@ module PureCloud
|
|
|
680
707
|
annotations == o.annotations &&
|
|
681
708
|
transcript == o.transcript &&
|
|
682
709
|
email_transcript == o.email_transcript &&
|
|
710
|
+
messaging_transcript == o.messaging_transcript &&
|
|
683
711
|
file_state == o.file_state &&
|
|
684
712
|
restore_expiration_time == o.restore_expiration_time &&
|
|
685
713
|
media_uris == o.media_uris &&
|
|
@@ -704,7 +732,7 @@ module PureCloud
|
|
|
704
732
|
# Calculates hash code according to all attributes.
|
|
705
733
|
# @return [Fixnum] Hash code
|
|
706
734
|
def hash
|
|
707
|
-
[id, name, conversation_id, path, start_time, end_time, media, annotations, transcript, email_transcript, file_state, restore_expiration_time, media_uris, estimated_transcode_time_ms, actual_transcode_time_ms, archive_date, archive_medium, delete_date, max_allowed_restorations_for_org, remaining_restorations_allowed_for_org, session_id, users, self_uri].hash
|
|
735
|
+
[id, name, conversation_id, path, start_time, end_time, media, annotations, transcript, email_transcript, messaging_transcript, file_state, restore_expiration_time, media_uris, estimated_transcode_time_ms, actual_transcode_time_ms, archive_date, archive_medium, delete_date, max_allowed_restorations_for_org, remaining_restorations_allowed_for_org, session_id, users, self_uri].hash
|
|
708
736
|
end
|
|
709
737
|
|
|
710
738
|
# build the object from hash
|