purecloudplatformclientv2 48.1.0 → 48.2.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/AnalyticsConversation.md +1 -0
- data/docs/AnalyticsSession.md +2 -1
- data/docs/OrgWhitelistSettings.md +14 -0
- data/docs/OrganizationApi.md +125 -0
- data/docs/ViewFilter.md +1 -0
- data/lib/purecloudplatformclientv2.rb +1 -0
- data/lib/purecloudplatformclientv2/api/organization_api.rb +120 -0
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/analytics_conversation.rb +41 -1
- data/lib/purecloudplatformclientv2/models/analytics_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/analytics_session.rb +28 -2
- data/lib/purecloudplatformclientv2/models/org_whitelist_settings.rb +228 -0
- data/lib/purecloudplatformclientv2/models/view_filter.rb +32 -4
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe2cbdf65c92b1115d36f51ab4734b76a7b59e9c
|
4
|
+
data.tar.gz: 3af099101f33bfc1f29ba2a87fea84c92296e71b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebed9f9d4cf6d20ded35a7964d8b86c8eb2dafffa609d9861c8c9e88987c0b54c616f88915732cc0a28d2a60b1f833b888af07db5be0e69aefacedf47904a43f
|
7
|
+
data.tar.gz: 3286593a4471c2b65a0f41ec672bdb3c257462edad16d0c0ba773e1c19e21f0ea148f5d7dc110409d7499be87dbbe8cd090c2d491b9f434c358fe797645112e0
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
title: PureCloud Ruby Gem
|
3
3
|
---
|
4
|
-
![](http://ruby-gem-downloads-badge.herokuapp.com/purecloudplatformclientv2?label=48.
|
4
|
+
![](http://ruby-gem-downloads-badge.herokuapp.com/purecloudplatformclientv2?label=48.2.0)
|
5
5
|
|
6
6
|
Documentation can be found at [https://developer.mypurecloud.com/api/rest/client-libraries/ruby/](https://developer.mypurecloud.com/api/rest/client-libraries/ruby/)
|
7
7
|
|
@@ -10,7 +10,7 @@ Documentation can be found at [https://developer.mypurecloud.com/api/rest/client
|
|
10
10
|
### from rubygems.org
|
11
11
|
|
12
12
|
~~~ ruby
|
13
|
-
gem install 'purecloudplatformclientv2', '~> 48.
|
13
|
+
gem install 'purecloudplatformclientv2', '~> 48.2.0'
|
14
14
|
~~~
|
15
15
|
|
16
16
|
### Install from Git
|
@@ -12,6 +12,7 @@ title: AnalyticsConversation
|
|
12
12
|
| **conversation_end** | **DateTime** | Date/time the conversation ended. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
13
13
|
| **media_stats_min_conversation_mos** | **Float** | The lowest estimated average MOS among all the audio streams belonging to this conversation | [optional] |
|
14
14
|
| **media_stats_min_conversation_r_factor** | **Float** | The lowest R-factor value among all of the audio streams belonging to this conversation | [optional] |
|
15
|
+
| **originating_direction** | **String** | The original direction of the conversation | [optional] |
|
15
16
|
| **participants** | [**Array<AnalyticsParticipant>**](AnalyticsParticipant.html) | Participants in the conversation | [optional] |
|
16
17
|
| **evaluations** | [**Array<AnalyticsEvaluation>**](AnalyticsEvaluation.html) | Evaluations tied to this conversation | [optional] |
|
17
18
|
| **surveys** | [**Array<AnalyticsSurvey>**](AnalyticsSurvey.html) | Surveys tied to this conversation | [optional] |
|
data/docs/AnalyticsSession.md
CHANGED
@@ -16,7 +16,8 @@ title: AnalyticsSession
|
|
16
16
|
| **message_type** | **String** | Message type for messaging services such as sms | [optional] |
|
17
17
|
| **ani** | **String** | Automatic Number Identification (caller's number) | [optional] |
|
18
18
|
| **direction** | **String** | Direction | [optional] |
|
19
|
-
| **dnis** | **String** |
|
19
|
+
| **dnis** | **String** | Dialed number identification service (number dialed by the calling party) | [optional] |
|
20
|
+
| **session_dnis** | **String** | Dialed number for the current session; this can be different from dnis, e.g. if the call was transferred | [optional] |
|
20
21
|
| **outbound_campaign_id** | **String** | (Dialer) Unique identifier of the outbound campaign | [optional] |
|
21
22
|
| **outbound_contact_id** | **String** | (Dialer) Unique identifier of the contact | [optional] |
|
22
23
|
| **outbound_contact_list_id** | **String** | (Dialer) Unique identifier of the contact list that this contact belongs to | [optional] |
|
@@ -0,0 +1,14 @@
|
|
1
|
+
---
|
2
|
+
title: OrgWhitelistSettings
|
3
|
+
---
|
4
|
+
## PureCloud::OrgWhitelistSettings
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **enable_whitelist** | **BOOLEAN** | | [optional] |
|
11
|
+
| **domain_whitelist** | **Array<String>** | | [optional] |
|
12
|
+
{: class="table table-striped"}
|
13
|
+
|
14
|
+
|
data/docs/OrganizationApi.md
CHANGED
@@ -10,8 +10,10 @@ Method | Description
|
|
10
10
|
------------- | ------------- | -------------
|
11
11
|
[**get_fieldconfig**](OrganizationApi.html#get_fieldconfig) | Fetch field config for an entity type
|
12
12
|
[**get_organizations_me**](OrganizationApi.html#get_organizations_me) | Get organization.
|
13
|
+
[**get_organizations_whitelist**](OrganizationApi.html#get_organizations_whitelist) | Get organization whitelist settings
|
13
14
|
[**patch_organizations_feature**](OrganizationApi.html#patch_organizations_feature) | Update organization
|
14
15
|
[**put_organizations_me**](OrganizationApi.html#put_organizations_me) | Update organization.
|
16
|
+
[**put_organizations_whitelist**](OrganizationApi.html#put_organizations_whitelist) | Update organization whitelist settings
|
15
17
|
{: class="table table-striped"}
|
16
18
|
|
17
19
|
<a name="get_fieldconfig"></a>
|
@@ -136,6 +138,64 @@ This endpoint does not need any parameter.
|
|
136
138
|
|
137
139
|
|
138
140
|
|
141
|
+
<a name="get_organizations_whitelist"></a>
|
142
|
+
|
143
|
+
## -[**OrgWhitelistSettings**](OrgWhitelistSettings.html) get_organizations_whitelist
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
Get organization whitelist settings
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
Wraps GET /api/v2/organizations/whitelist
|
152
|
+
|
153
|
+
Requires NO permissions:
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
### Example
|
158
|
+
~~~ruby
|
159
|
+
# load the gem
|
160
|
+
require 'purecloudplatformclientv2'
|
161
|
+
# setup authorization
|
162
|
+
@secret = ENV['PURECLOUD_SECRET']
|
163
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
164
|
+
environment = "mypurecloud.com"
|
165
|
+
|
166
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
167
|
+
|
168
|
+
PureCloud.configure do |config|
|
169
|
+
config.access_token = @authToken
|
170
|
+
end
|
171
|
+
|
172
|
+
api_instance = PureCloud::OrganizationApi.new
|
173
|
+
|
174
|
+
begin
|
175
|
+
#Get organization whitelist settings
|
176
|
+
result = api_instance.get_organizations_whitelist
|
177
|
+
p result
|
178
|
+
rescue PureCloud::ApiError => e
|
179
|
+
puts "Exception when calling OrganizationApi->get_organizations_whitelist: #{e}"
|
180
|
+
end
|
181
|
+
~~~
|
182
|
+
|
183
|
+
### Parameters
|
184
|
+
This endpoint does not need any parameter.
|
185
|
+
{: class="table table-striped"}
|
186
|
+
|
187
|
+
|
188
|
+
### Return type
|
189
|
+
|
190
|
+
[**OrgWhitelistSettings**](OrgWhitelistSettings.html)
|
191
|
+
|
192
|
+
### HTTP request headers
|
193
|
+
|
194
|
+
- **Content-Type**: application/json
|
195
|
+
- **Accept**: application/json
|
196
|
+
|
197
|
+
|
198
|
+
|
139
199
|
<a name="patch_organizations_feature"></a>
|
140
200
|
|
141
201
|
## -[**OrganizationFeatures**](OrganizationFeatures.html) patch_organizations_feature(feature_name, enabled)
|
@@ -270,3 +330,68 @@ Name | Type | Description | Notes
|
|
270
330
|
|
271
331
|
|
272
332
|
|
333
|
+
<a name="put_organizations_whitelist"></a>
|
334
|
+
|
335
|
+
## -[**OrgWhitelistSettings**](OrgWhitelistSettings.html) put_organizations_whitelist(body)
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
Update organization whitelist settings
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
Wraps PUT /api/v2/organizations/whitelist
|
344
|
+
|
345
|
+
Requires ANY permissions:
|
346
|
+
|
347
|
+
* admin
|
348
|
+
|
349
|
+
|
350
|
+
### Example
|
351
|
+
~~~ruby
|
352
|
+
# load the gem
|
353
|
+
require 'purecloudplatformclientv2'
|
354
|
+
# setup authorization
|
355
|
+
@secret = ENV['PURECLOUD_SECRET']
|
356
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
357
|
+
environment = "mypurecloud.com"
|
358
|
+
|
359
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
360
|
+
|
361
|
+
PureCloud.configure do |config|
|
362
|
+
config.access_token = @authToken
|
363
|
+
end
|
364
|
+
|
365
|
+
api_instance = PureCloud::OrganizationApi.new
|
366
|
+
|
367
|
+
body = PureCloud::OrgWhitelistSettings.new # OrgWhitelistSettings | Whitelist settings
|
368
|
+
|
369
|
+
|
370
|
+
begin
|
371
|
+
#Update organization whitelist settings
|
372
|
+
result = api_instance.put_organizations_whitelist(body)
|
373
|
+
p result
|
374
|
+
rescue PureCloud::ApiError => e
|
375
|
+
puts "Exception when calling OrganizationApi->put_organizations_whitelist: #{e}"
|
376
|
+
end
|
377
|
+
~~~
|
378
|
+
|
379
|
+
### Parameters
|
380
|
+
|
381
|
+
Name | Type | Description | Notes
|
382
|
+
------------- | ------------- | ------------- | -------------
|
383
|
+
**body** | [**OrgWhitelistSettings**](OrgWhitelistSettings.html)| Whitelist settings | |
|
384
|
+
{: class="table table-striped"}
|
385
|
+
|
386
|
+
|
387
|
+
### Return type
|
388
|
+
|
389
|
+
[**OrgWhitelistSettings**](OrgWhitelistSettings.html)
|
390
|
+
|
391
|
+
### HTTP request headers
|
392
|
+
|
393
|
+
- **Content-Type**: application/json
|
394
|
+
- **Accept**: application/json
|
395
|
+
|
396
|
+
|
397
|
+
|
data/docs/ViewFilter.md
CHANGED
@@ -61,6 +61,7 @@ title: ViewFilter
|
|
61
61
|
| **is_consulted** | **BOOLEAN** | Indicates filtering for consulted | [optional] |
|
62
62
|
| **is_consult_transferred** | **BOOLEAN** | Indicates filtering for consult transferred | [optional] |
|
63
63
|
| **remote_participants** | **Array<String>** | The list of remote participants used to filter the view | [optional] |
|
64
|
+
| **status_list** | **Array<String>** | A list of status for the configuration view | [optional] |
|
64
65
|
{: class="table table-striped"}
|
65
66
|
|
66
67
|
|
@@ -835,6 +835,7 @@ require 'purecloudplatformclientv2/models/operation'
|
|
835
835
|
require 'purecloudplatformclientv2/models/org_media_utilization'
|
836
836
|
require 'purecloudplatformclientv2/models/org_o_auth_client'
|
837
837
|
require 'purecloudplatformclientv2/models/org_user'
|
838
|
+
require 'purecloudplatformclientv2/models/org_whitelist_settings'
|
838
839
|
require 'purecloudplatformclientv2/models/organization'
|
839
840
|
require 'purecloudplatformclientv2/models/organization_features'
|
840
841
|
require 'purecloudplatformclientv2/models/organization_presence'
|
@@ -150,6 +150,61 @@ module PureCloud
|
|
150
150
|
return data, status_code, headers
|
151
151
|
end
|
152
152
|
|
153
|
+
# Get organization whitelist settings
|
154
|
+
#
|
155
|
+
# @param [Hash] opts the optional parameters
|
156
|
+
# @return [OrgWhitelistSettings]
|
157
|
+
def get_organizations_whitelist(opts = {})
|
158
|
+
data, _status_code, _headers = get_organizations_whitelist_with_http_info(opts)
|
159
|
+
return data
|
160
|
+
end
|
161
|
+
|
162
|
+
# Get organization whitelist settings
|
163
|
+
#
|
164
|
+
# @param [Hash] opts the optional parameters
|
165
|
+
# @return [Array<(OrgWhitelistSettings, Fixnum, Hash)>] OrgWhitelistSettings data, response status code and response headers
|
166
|
+
def get_organizations_whitelist_with_http_info(opts = {})
|
167
|
+
if @api_client.config.debugging
|
168
|
+
@api_client.config.logger.debug "Calling API: OrganizationApi.get_organizations_whitelist ..."
|
169
|
+
end
|
170
|
+
|
171
|
+
# resource path
|
172
|
+
local_var_path = "/api/v2/organizations/whitelist".sub('{format}','json')
|
173
|
+
|
174
|
+
# query parameters
|
175
|
+
query_params = {}
|
176
|
+
|
177
|
+
# header parameters
|
178
|
+
header_params = {}
|
179
|
+
|
180
|
+
# HTTP header 'Accept' (if needed)
|
181
|
+
local_header_accept = ['application/json']
|
182
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
183
|
+
|
184
|
+
# HTTP header 'Content-Type'
|
185
|
+
local_header_content_type = ['application/json']
|
186
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
187
|
+
|
188
|
+
# form parameters
|
189
|
+
form_params = {}
|
190
|
+
|
191
|
+
# http body (model)
|
192
|
+
post_body = nil
|
193
|
+
|
194
|
+
auth_names = ['PureCloud OAuth']
|
195
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
196
|
+
:header_params => header_params,
|
197
|
+
:query_params => query_params,
|
198
|
+
:form_params => form_params,
|
199
|
+
:body => post_body,
|
200
|
+
:auth_names => auth_names,
|
201
|
+
:return_type => 'OrgWhitelistSettings')
|
202
|
+
if @api_client.config.debugging
|
203
|
+
@api_client.config.logger.debug "API called: OrganizationApi#get_organizations_whitelist\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
204
|
+
end
|
205
|
+
return data, status_code, headers
|
206
|
+
end
|
207
|
+
|
153
208
|
# Update organization
|
154
209
|
#
|
155
210
|
# @param feature_name Organization feature
|
@@ -292,5 +347,70 @@ module PureCloud
|
|
292
347
|
end
|
293
348
|
return data, status_code, headers
|
294
349
|
end
|
350
|
+
|
351
|
+
# Update organization whitelist settings
|
352
|
+
#
|
353
|
+
# @param body Whitelist settings
|
354
|
+
# @param [Hash] opts the optional parameters
|
355
|
+
# @return [OrgWhitelistSettings]
|
356
|
+
def put_organizations_whitelist(body, opts = {})
|
357
|
+
data, _status_code, _headers = put_organizations_whitelist_with_http_info(body, opts)
|
358
|
+
return data
|
359
|
+
end
|
360
|
+
|
361
|
+
# Update organization whitelist settings
|
362
|
+
#
|
363
|
+
# @param body Whitelist settings
|
364
|
+
# @param [Hash] opts the optional parameters
|
365
|
+
# @return [Array<(OrgWhitelistSettings, Fixnum, Hash)>] OrgWhitelistSettings data, response status code and response headers
|
366
|
+
def put_organizations_whitelist_with_http_info(body, opts = {})
|
367
|
+
if @api_client.config.debugging
|
368
|
+
@api_client.config.logger.debug "Calling API: OrganizationApi.put_organizations_whitelist ..."
|
369
|
+
end
|
370
|
+
|
371
|
+
|
372
|
+
# verify the required parameter 'body' is set
|
373
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling OrganizationApi.put_organizations_whitelist" if body.nil?
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
# resource path
|
380
|
+
local_var_path = "/api/v2/organizations/whitelist".sub('{format}','json')
|
381
|
+
|
382
|
+
# query parameters
|
383
|
+
query_params = {}
|
384
|
+
|
385
|
+
# header parameters
|
386
|
+
header_params = {}
|
387
|
+
|
388
|
+
# HTTP header 'Accept' (if needed)
|
389
|
+
local_header_accept = ['application/json']
|
390
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
391
|
+
|
392
|
+
# HTTP header 'Content-Type'
|
393
|
+
local_header_content_type = ['application/json']
|
394
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
395
|
+
|
396
|
+
# form parameters
|
397
|
+
form_params = {}
|
398
|
+
|
399
|
+
# http body (model)
|
400
|
+
post_body = @api_client.object_to_http_body(body)
|
401
|
+
|
402
|
+
auth_names = ['PureCloud OAuth']
|
403
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
404
|
+
:header_params => header_params,
|
405
|
+
:query_params => query_params,
|
406
|
+
:form_params => form_params,
|
407
|
+
:body => post_body,
|
408
|
+
:auth_names => auth_names,
|
409
|
+
:return_type => 'OrgWhitelistSettings')
|
410
|
+
if @api_client.config.debugging
|
411
|
+
@api_client.config.logger.debug "API called: OrganizationApi#put_organizations_whitelist\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
412
|
+
end
|
413
|
+
return data, status_code, headers
|
414
|
+
end
|
295
415
|
end
|
296
416
|
end
|
@@ -76,7 +76,7 @@ module PureCloud
|
|
76
76
|
http_method = http_method.to_sym.downcase
|
77
77
|
|
78
78
|
header_params = @default_headers.merge(opts[:header_params] || {})
|
79
|
-
header_params['purecloud-sdk'] = '48.
|
79
|
+
header_params['purecloud-sdk'] = '48.2.0'
|
80
80
|
query_params = opts[:query_params] || {}
|
81
81
|
form_params = opts[:form_params] || {}
|
82
82
|
|
@@ -33,6 +33,9 @@ module PureCloud
|
|
33
33
|
# The lowest R-factor value among all of the audio streams belonging to this conversation
|
34
34
|
attr_accessor :media_stats_min_conversation_r_factor
|
35
35
|
|
36
|
+
# The original direction of the conversation
|
37
|
+
attr_accessor :originating_direction
|
38
|
+
|
36
39
|
# Participants in the conversation
|
37
40
|
attr_accessor :participants
|
38
41
|
|
@@ -59,6 +62,8 @@ module PureCloud
|
|
59
62
|
|
60
63
|
:'media_stats_min_conversation_r_factor' => :'mediaStatsMinConversationRFactor',
|
61
64
|
|
65
|
+
:'originating_direction' => :'originatingDirection',
|
66
|
+
|
62
67
|
:'participants' => :'participants',
|
63
68
|
|
64
69
|
:'evaluations' => :'evaluations',
|
@@ -84,6 +89,8 @@ module PureCloud
|
|
84
89
|
|
85
90
|
:'media_stats_min_conversation_r_factor' => :'Float',
|
86
91
|
|
92
|
+
:'originating_direction' => :'String',
|
93
|
+
|
87
94
|
:'participants' => :'Array<AnalyticsParticipant>',
|
88
95
|
|
89
96
|
:'evaluations' => :'Array<AnalyticsEvaluation>',
|
@@ -149,6 +156,15 @@ module PureCloud
|
|
149
156
|
end
|
150
157
|
|
151
158
|
|
159
|
+
if attributes.has_key?(:'originatingDirection')
|
160
|
+
|
161
|
+
|
162
|
+
self.originating_direction = attributes[:'originatingDirection']
|
163
|
+
|
164
|
+
|
165
|
+
end
|
166
|
+
|
167
|
+
|
152
168
|
if attributes.has_key?(:'participants')
|
153
169
|
|
154
170
|
if (value = attributes[:'participants']).is_a?(Array)
|
@@ -227,6 +243,15 @@ module PureCloud
|
|
227
243
|
|
228
244
|
|
229
245
|
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
allowed_values = ["inbound", "outbound"]
|
250
|
+
if @originating_direction && !allowed_values.include?(@originating_direction)
|
251
|
+
return false
|
252
|
+
end
|
253
|
+
|
254
|
+
|
230
255
|
|
231
256
|
|
232
257
|
|
@@ -271,6 +296,20 @@ module PureCloud
|
|
271
296
|
|
272
297
|
|
273
298
|
|
299
|
+
|
300
|
+
|
301
|
+
# Custom attribute writer method checking allowed values (enum).
|
302
|
+
# @param [Object] originating_direction Object to be assigned
|
303
|
+
def originating_direction=(originating_direction)
|
304
|
+
allowed_values = ["inbound", "outbound"]
|
305
|
+
if originating_direction && !allowed_values.include?(originating_direction)
|
306
|
+
fail ArgumentError, "invalid value for 'originating_direction', must be one of #{allowed_values}."
|
307
|
+
end
|
308
|
+
@originating_direction = originating_direction
|
309
|
+
end
|
310
|
+
|
311
|
+
|
312
|
+
|
274
313
|
|
275
314
|
|
276
315
|
|
@@ -302,6 +341,7 @@ module PureCloud
|
|
302
341
|
conversation_end == o.conversation_end &&
|
303
342
|
media_stats_min_conversation_mos == o.media_stats_min_conversation_mos &&
|
304
343
|
media_stats_min_conversation_r_factor == o.media_stats_min_conversation_r_factor &&
|
344
|
+
originating_direction == o.originating_direction &&
|
305
345
|
participants == o.participants &&
|
306
346
|
evaluations == o.evaluations &&
|
307
347
|
surveys == o.surveys &&
|
@@ -317,7 +357,7 @@ module PureCloud
|
|
317
357
|
# Calculates hash code according to all attributes.
|
318
358
|
# @return [Fixnum] Hash code
|
319
359
|
def hash
|
320
|
-
[conversation_id, conversation_start, conversation_end, media_stats_min_conversation_mos, media_stats_min_conversation_r_factor, participants, evaluations, surveys, division_ids].hash
|
360
|
+
[conversation_id, conversation_start, conversation_end, media_stats_min_conversation_mos, media_stats_min_conversation_r_factor, originating_direction, participants, evaluations, surveys, division_ids].hash
|
321
361
|
end
|
322
362
|
|
323
363
|
# build the object from hash
|
@@ -195,7 +195,7 @@ module PureCloud
|
|
195
195
|
|
196
196
|
|
197
197
|
|
198
|
-
allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "participantId", "participantName", "direction", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "requestedRoutingUserIds", "purpose", "participantType", "segmentType", "disconnectType", "errorCode", "conversationEnd", "segmentEnd", "externalContactId", "externalOrganizationId", "convertedFrom", "convertedTo", "divisionId", "flaggedReason", "stationId", "edgeId", "dnis", "ani", "outboundCampaignId", "outboundContactId", "outboundContactListId", "monitoredParticipantId", "sourceSessionId", "destinationSessionId", "sourceConversationId", "destinationConversationId", "remoteNameDisplayable", "sipResponseCode", "q850ResponseCode", "conference", "groupId", "roomId", "addressFrom", "addressTo", "addressSelf", "addressOther", "subject", "messageType", "peerId", "scriptId", "evaluationId", "evaluatorId", "contextId", "formId", "formName", "eventTime", "surveyId", "surveyFormContextId", "surveyFormId", "surveyFormName", "surveyAnswerId", "surveyQuestionId", "surveyQuestionGroupId", "surveyPromoterScore", "surveyCompletedDate", "surveyErrorReason", "surveyPreviousStatus", "surveyStatus", "systemPresence", "organizationPresenceId", "routingStatus", "flowId", "flowName", "flowVersion", "flowType", "exitReason", "transferType", "transferTargetName", "transferTargetAddress", "issuedCallback", "startingLanguage", "endingLanguage", "flowOutcomeId", "flowOutcomeValue", "flowOutcome", "minMos", "mediaStatsMinConversationMos", "minRFactor", "mediaStatsMinConversationRFactor"]
|
198
|
+
allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "participantId", "participantName", "direction", "originatingDirection", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "requestedRoutingUserIds", "purpose", "participantType", "segmentType", "disconnectType", "errorCode", "conversationEnd", "segmentEnd", "externalContactId", "externalOrganizationId", "convertedFrom", "convertedTo", "divisionId", "flaggedReason", "stationId", "edgeId", "dnis", "ani", "sessionDnis", "outboundCampaignId", "outboundContactId", "outboundContactListId", "monitoredParticipantId", "sourceSessionId", "destinationSessionId", "sourceConversationId", "destinationConversationId", "remoteNameDisplayable", "sipResponseCode", "q850ResponseCode", "conference", "groupId", "roomId", "addressFrom", "addressTo", "addressSelf", "addressOther", "subject", "messageType", "peerId", "scriptId", "evaluationId", "evaluatorId", "contextId", "formId", "formName", "eventTime", "surveyId", "surveyFormContextId", "surveyFormId", "surveyFormName", "surveyAnswerId", "surveyQuestionId", "surveyQuestionGroupId", "surveyPromoterScore", "surveyCompletedDate", "surveyErrorReason", "surveyPreviousStatus", "surveyStatus", "systemPresence", "organizationPresenceId", "routingStatus", "flowId", "flowName", "flowVersion", "flowType", "exitReason", "transferType", "transferTargetName", "transferTargetAddress", "issuedCallback", "startingLanguage", "endingLanguage", "flowOutcomeId", "flowOutcomeValue", "flowOutcome", "minMos", "mediaStatsMinConversationMos", "minRFactor", "mediaStatsMinConversationRFactor"]
|
199
199
|
if @dimension && !allowed_values.include?(@dimension)
|
200
200
|
return false
|
201
201
|
end
|
@@ -262,7 +262,7 @@ module PureCloud
|
|
262
262
|
# Custom attribute writer method checking allowed values (enum).
|
263
263
|
# @param [Object] dimension Object to be assigned
|
264
264
|
def dimension=(dimension)
|
265
|
-
allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "participantId", "participantName", "direction", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "requestedRoutingUserIds", "purpose", "participantType", "segmentType", "disconnectType", "errorCode", "conversationEnd", "segmentEnd", "externalContactId", "externalOrganizationId", "convertedFrom", "convertedTo", "divisionId", "flaggedReason", "stationId", "edgeId", "dnis", "ani", "outboundCampaignId", "outboundContactId", "outboundContactListId", "monitoredParticipantId", "sourceSessionId", "destinationSessionId", "sourceConversationId", "destinationConversationId", "remoteNameDisplayable", "sipResponseCode", "q850ResponseCode", "conference", "groupId", "roomId", "addressFrom", "addressTo", "addressSelf", "addressOther", "subject", "messageType", "peerId", "scriptId", "evaluationId", "evaluatorId", "contextId", "formId", "formName", "eventTime", "surveyId", "surveyFormContextId", "surveyFormId", "surveyFormName", "surveyAnswerId", "surveyQuestionId", "surveyQuestionGroupId", "surveyPromoterScore", "surveyCompletedDate", "surveyErrorReason", "surveyPreviousStatus", "surveyStatus", "systemPresence", "organizationPresenceId", "routingStatus", "flowId", "flowName", "flowVersion", "flowType", "exitReason", "transferType", "transferTargetName", "transferTargetAddress", "issuedCallback", "startingLanguage", "endingLanguage", "flowOutcomeId", "flowOutcomeValue", "flowOutcome", "minMos", "mediaStatsMinConversationMos", "minRFactor", "mediaStatsMinConversationRFactor"]
|
265
|
+
allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "participantId", "participantName", "direction", "originatingDirection", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "requestedRoutingUserIds", "purpose", "participantType", "segmentType", "disconnectType", "errorCode", "conversationEnd", "segmentEnd", "externalContactId", "externalOrganizationId", "convertedFrom", "convertedTo", "divisionId", "flaggedReason", "stationId", "edgeId", "dnis", "ani", "sessionDnis", "outboundCampaignId", "outboundContactId", "outboundContactListId", "monitoredParticipantId", "sourceSessionId", "destinationSessionId", "sourceConversationId", "destinationConversationId", "remoteNameDisplayable", "sipResponseCode", "q850ResponseCode", "conference", "groupId", "roomId", "addressFrom", "addressTo", "addressSelf", "addressOther", "subject", "messageType", "peerId", "scriptId", "evaluationId", "evaluatorId", "contextId", "formId", "formName", "eventTime", "surveyId", "surveyFormContextId", "surveyFormId", "surveyFormName", "surveyAnswerId", "surveyQuestionId", "surveyQuestionGroupId", "surveyPromoterScore", "surveyCompletedDate", "surveyErrorReason", "surveyPreviousStatus", "surveyStatus", "systemPresence", "organizationPresenceId", "routingStatus", "flowId", "flowName", "flowVersion", "flowType", "exitReason", "transferType", "transferTargetName", "transferTargetAddress", "issuedCallback", "startingLanguage", "endingLanguage", "flowOutcomeId", "flowOutcomeValue", "flowOutcome", "minMos", "mediaStatsMinConversationMos", "minRFactor", "mediaStatsMinConversationRFactor"]
|
266
266
|
if dimension && !allowed_values.include?(dimension)
|
267
267
|
fail ArgumentError, "invalid value for 'dimension', must be one of #{allowed_values}."
|
268
268
|
end
|
@@ -41,9 +41,12 @@ module PureCloud
|
|
41
41
|
# Direction
|
42
42
|
attr_accessor :direction
|
43
43
|
|
44
|
-
#
|
44
|
+
# Dialed number identification service (number dialed by the calling party)
|
45
45
|
attr_accessor :dnis
|
46
46
|
|
47
|
+
# Dialed number for the current session; this can be different from dnis, e.g. if the call was transferred
|
48
|
+
attr_accessor :session_dnis
|
49
|
+
|
47
50
|
# (Dialer) Unique identifier of the outbound campaign
|
48
51
|
attr_accessor :outbound_campaign_id
|
49
52
|
|
@@ -155,6 +158,8 @@ module PureCloud
|
|
155
158
|
|
156
159
|
:'dnis' => :'dnis',
|
157
160
|
|
161
|
+
:'session_dnis' => :'sessionDnis',
|
162
|
+
|
158
163
|
:'outbound_campaign_id' => :'outboundCampaignId',
|
159
164
|
|
160
165
|
:'outbound_contact_id' => :'outboundContactId',
|
@@ -242,6 +247,8 @@ module PureCloud
|
|
242
247
|
|
243
248
|
:'dnis' => :'String',
|
244
249
|
|
250
|
+
:'session_dnis' => :'String',
|
251
|
+
|
245
252
|
:'outbound_campaign_id' => :'String',
|
246
253
|
|
247
254
|
:'outbound_contact_id' => :'String',
|
@@ -404,6 +411,15 @@ module PureCloud
|
|
404
411
|
end
|
405
412
|
|
406
413
|
|
414
|
+
if attributes.has_key?(:'sessionDnis')
|
415
|
+
|
416
|
+
|
417
|
+
self.session_dnis = attributes[:'sessionDnis']
|
418
|
+
|
419
|
+
|
420
|
+
end
|
421
|
+
|
422
|
+
|
407
423
|
if attributes.has_key?(:'outboundCampaignId')
|
408
424
|
|
409
425
|
|
@@ -867,6 +883,10 @@ module PureCloud
|
|
867
883
|
|
868
884
|
|
869
885
|
|
886
|
+
|
887
|
+
|
888
|
+
|
889
|
+
|
870
890
|
|
871
891
|
|
872
892
|
|
@@ -1096,6 +1116,11 @@ module PureCloud
|
|
1096
1116
|
|
1097
1117
|
|
1098
1118
|
|
1119
|
+
|
1120
|
+
|
1121
|
+
|
1122
|
+
|
1123
|
+
|
1099
1124
|
|
1100
1125
|
|
1101
1126
|
|
@@ -1117,6 +1142,7 @@ module PureCloud
|
|
1117
1142
|
ani == o.ani &&
|
1118
1143
|
direction == o.direction &&
|
1119
1144
|
dnis == o.dnis &&
|
1145
|
+
session_dnis == o.session_dnis &&
|
1120
1146
|
outbound_campaign_id == o.outbound_campaign_id &&
|
1121
1147
|
outbound_contact_id == o.outbound_contact_id &&
|
1122
1148
|
outbound_contact_list_id == o.outbound_contact_list_id &&
|
@@ -1158,7 +1184,7 @@ module PureCloud
|
|
1158
1184
|
# Calculates hash code according to all attributes.
|
1159
1185
|
# @return [Fixnum] Hash code
|
1160
1186
|
def hash
|
1161
|
-
[media_type, session_id, address_other, address_self, address_from, address_to, message_type, ani, direction, dnis, outbound_campaign_id, outbound_contact_id, outbound_contact_list_id, disposition_analyzer, disposition_name, edge_id, remote_name_displayable, room_id, monitored_session_id, monitored_participant_id, callback_user_name, callback_numbers, callback_scheduled_time, script_id, peer_id, skip_enabled, timeout_seconds, cobrowse_role, cobrowse_room_id, media_bridge_id, screen_share_address_self, sharing_screen, screen_share_room_id, video_room_id, video_address_self, segments, metrics, flow, media_endpoint_stats, recording].hash
|
1187
|
+
[media_type, session_id, address_other, address_self, address_from, address_to, message_type, ani, direction, dnis, session_dnis, outbound_campaign_id, outbound_contact_id, outbound_contact_list_id, disposition_analyzer, disposition_name, edge_id, remote_name_displayable, room_id, monitored_session_id, monitored_participant_id, callback_user_name, callback_numbers, callback_scheduled_time, script_id, peer_id, skip_enabled, timeout_seconds, cobrowse_role, cobrowse_room_id, media_bridge_id, screen_share_address_self, sharing_screen, screen_share_room_id, video_room_id, video_address_self, segments, metrics, flow, media_endpoint_stats, recording].hash
|
1162
1188
|
end
|
1163
1189
|
|
1164
1190
|
# 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 OrgWhitelistSettings
|
21
|
+
attr_accessor :enable_whitelist
|
22
|
+
|
23
|
+
attr_accessor :domain_whitelist
|
24
|
+
|
25
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
26
|
+
def self.attribute_map
|
27
|
+
{
|
28
|
+
|
29
|
+
:'enable_whitelist' => :'enableWhitelist',
|
30
|
+
|
31
|
+
:'domain_whitelist' => :'domainWhitelist'
|
32
|
+
|
33
|
+
}
|
34
|
+
end
|
35
|
+
|
36
|
+
# Attribute type mapping.
|
37
|
+
def self.swagger_types
|
38
|
+
{
|
39
|
+
|
40
|
+
:'enable_whitelist' => :'BOOLEAN',
|
41
|
+
|
42
|
+
:'domain_whitelist' => :'Array<String>'
|
43
|
+
|
44
|
+
}
|
45
|
+
end
|
46
|
+
|
47
|
+
# Initializes the object
|
48
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
49
|
+
def initialize(attributes = {})
|
50
|
+
return unless attributes.is_a?(Hash)
|
51
|
+
|
52
|
+
# convert string to symbol for hash key
|
53
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
54
|
+
|
55
|
+
|
56
|
+
if attributes.has_key?(:'enableWhitelist')
|
57
|
+
|
58
|
+
|
59
|
+
self.enable_whitelist = attributes[:'enableWhitelist']
|
60
|
+
|
61
|
+
|
62
|
+
end
|
63
|
+
|
64
|
+
|
65
|
+
if attributes.has_key?(:'domainWhitelist')
|
66
|
+
|
67
|
+
if (value = attributes[:'domainWhitelist']).is_a?(Array)
|
68
|
+
self.domain_whitelist = value
|
69
|
+
end
|
70
|
+
|
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
|
+
enable_whitelist == o.enable_whitelist &&
|
118
|
+
domain_whitelist == o.domain_whitelist
|
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
|
+
[enable_whitelist, domain_whitelist].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
|
@@ -180,6 +180,9 @@ module PureCloud
|
|
180
180
|
# The list of remote participants used to filter the view
|
181
181
|
attr_accessor :remote_participants
|
182
182
|
|
183
|
+
# A list of status for the configuration view
|
184
|
+
attr_accessor :status_list
|
185
|
+
|
183
186
|
# Attribute mapping from ruby-style variable name to JSON key.
|
184
187
|
def self.attribute_map
|
185
188
|
{
|
@@ -290,7 +293,9 @@ module PureCloud
|
|
290
293
|
|
291
294
|
:'is_consult_transferred' => :'isConsultTransferred',
|
292
295
|
|
293
|
-
:'remote_participants' => :'remoteParticipants'
|
296
|
+
:'remote_participants' => :'remoteParticipants',
|
297
|
+
|
298
|
+
:'status_list' => :'statusList'
|
294
299
|
|
295
300
|
}
|
296
301
|
end
|
@@ -405,7 +410,9 @@ module PureCloud
|
|
405
410
|
|
406
411
|
:'is_consult_transferred' => :'BOOLEAN',
|
407
412
|
|
408
|
-
:'remote_participants' => :'Array<String>'
|
413
|
+
:'remote_participants' => :'Array<String>',
|
414
|
+
|
415
|
+
:'status_list' => :'Array<String>'
|
409
416
|
|
410
417
|
}
|
411
418
|
end
|
@@ -971,6 +978,17 @@ module PureCloud
|
|
971
978
|
end
|
972
979
|
|
973
980
|
|
981
|
+
if attributes.has_key?(:'statusList')
|
982
|
+
|
983
|
+
if (value = attributes[:'statusList']).is_a?(Array)
|
984
|
+
self.status_list = value
|
985
|
+
end
|
986
|
+
|
987
|
+
|
988
|
+
|
989
|
+
end
|
990
|
+
|
991
|
+
|
974
992
|
end
|
975
993
|
|
976
994
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -1212,6 +1230,10 @@ module PureCloud
|
|
1212
1230
|
|
1213
1231
|
|
1214
1232
|
|
1233
|
+
|
1234
|
+
|
1235
|
+
|
1236
|
+
|
1215
1237
|
|
1216
1238
|
|
1217
1239
|
|
@@ -1511,6 +1533,11 @@ module PureCloud
|
|
1511
1533
|
|
1512
1534
|
|
1513
1535
|
|
1536
|
+
|
1537
|
+
|
1538
|
+
|
1539
|
+
|
1540
|
+
|
1514
1541
|
|
1515
1542
|
|
1516
1543
|
|
@@ -1575,7 +1602,8 @@ module PureCloud
|
|
1575
1602
|
is_blind_transferred == o.is_blind_transferred &&
|
1576
1603
|
is_consulted == o.is_consulted &&
|
1577
1604
|
is_consult_transferred == o.is_consult_transferred &&
|
1578
|
-
remote_participants == o.remote_participants
|
1605
|
+
remote_participants == o.remote_participants &&
|
1606
|
+
status_list == o.status_list
|
1579
1607
|
end
|
1580
1608
|
|
1581
1609
|
# @see the `==` method
|
@@ -1587,7 +1615,7 @@ module PureCloud
|
|
1587
1615
|
# Calculates hash code according to all attributes.
|
1588
1616
|
# @return [Fixnum] Hash code
|
1589
1617
|
def hash
|
1590
|
-
[media_types, queue_ids, skill_ids, skill_groups, language_ids, language_groups, directions, wrap_up_codes, dnis_list, filter_queues_by_user_ids, filter_users_by_queue_ids, user_ids, address_tos, address_froms, outbound_campaign_ids, outbound_contact_list_ids, contact_ids, ani_list, durations_milliseconds, evaluation_score, evaluation_critical_score, evaluation_form_ids, evaluated_agent_ids, evaluator_ids, transferred, abandoned, message_types, division_ids, survey_form_ids, survey_total_score, survey_nps_score, show_secondary_status, agent_duration_sort_order, waiting_duration_sort_order, interacting_duration_sort_order, agent_name, skills_list, language_list, mos, survey_question_group_score, survey_promoter_score, survey_form_context_ids, conversation_ids, is_ended, is_surveyed, survey_scores, promoter_scores, is_campaign, survey_statuses, conversation_properties, is_blind_transferred, is_consulted, is_consult_transferred, remote_participants].hash
|
1618
|
+
[media_types, queue_ids, skill_ids, skill_groups, language_ids, language_groups, directions, wrap_up_codes, dnis_list, filter_queues_by_user_ids, filter_users_by_queue_ids, user_ids, address_tos, address_froms, outbound_campaign_ids, outbound_contact_list_ids, contact_ids, ani_list, durations_milliseconds, evaluation_score, evaluation_critical_score, evaluation_form_ids, evaluated_agent_ids, evaluator_ids, transferred, abandoned, message_types, division_ids, survey_form_ids, survey_total_score, survey_nps_score, show_secondary_status, agent_duration_sort_order, waiting_duration_sort_order, interacting_duration_sort_order, agent_name, skills_list, language_list, mos, survey_question_group_score, survey_promoter_score, survey_form_context_ids, conversation_ids, is_ended, is_surveyed, survey_scores, promoter_scores, is_campaign, survey_statuses, conversation_properties, is_blind_transferred, is_consulted, is_consult_transferred, remote_participants, status_list].hash
|
1591
1619
|
end
|
1592
1620
|
|
1593
1621
|
# build the object from hash
|
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: 48.
|
4
|
+
version: 48.2.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: 2018-12-
|
11
|
+
date: 2018-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -1057,6 +1057,7 @@ files:
|
|
1057
1057
|
- docs/OrgMediaUtilization.md
|
1058
1058
|
- docs/OrgOAuthClient.md
|
1059
1059
|
- docs/OrgUser.md
|
1060
|
+
- docs/OrgWhitelistSettings.md
|
1060
1061
|
- docs/Organization.md
|
1061
1062
|
- docs/OrganizationApi.md
|
1062
1063
|
- docs/OrganizationAuthorizationApi.md
|
@@ -2523,6 +2524,7 @@ files:
|
|
2523
2524
|
- lib/purecloudplatformclientv2/models/org_media_utilization.rb
|
2524
2525
|
- lib/purecloudplatformclientv2/models/org_o_auth_client.rb
|
2525
2526
|
- lib/purecloudplatformclientv2/models/org_user.rb
|
2527
|
+
- lib/purecloudplatformclientv2/models/org_whitelist_settings.rb
|
2526
2528
|
- lib/purecloudplatformclientv2/models/organization.rb
|
2527
2529
|
- lib/purecloudplatformclientv2/models/organization_features.rb
|
2528
2530
|
- lib/purecloudplatformclientv2/models/organization_presence.rb
|