purecloudplatformclientv2 47.0.0 → 48.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 +3 -3
- data/docs/AnalyticsApi.md +66 -0
- data/docs/AnalyticsSession.md +1 -1
- data/docs/AuthorizationApi.md +9 -5
- data/docs/Condition.md +4 -4
- data/docs/ContactColumnToDataActionFieldMapping.md +12 -0
- data/docs/ConversationProperties.md +21 -0
- data/docs/DataActionConditionPredicate.md +12 -0
- data/docs/GroupsApi.md +1 -1
- data/docs/OrgUser.md +1 -0
- data/docs/OutboundApi.md +2 -2
- data/docs/QualityApi.md +376 -0
- data/docs/RoutingApi.md +85 -12
- data/docs/ScorableSurvey.md +18 -0
- data/docs/SearchApi.md +2 -42
- data/docs/SuggestApi.md +2 -2
- data/docs/Survey.md +22 -0
- data/docs/SurveyFormAndScoringSet.md +14 -0
- data/docs/SurveyQuestionGroupScore.md +17 -0
- data/docs/SurveyQuestionScore.md +19 -0
- data/docs/SurveyScoringSet.md +15 -0
- data/docs/Token.md +13 -0
- data/docs/TrustUser.md +1 -0
- data/docs/User.md +1 -0
- data/docs/UserMe.md +1 -0
- data/docs/UsersApi.md +8 -8
- data/docs/UtilitiesApi.md +59 -0
- data/docs/ViewFilter.md +13 -0
- data/lib/purecloudplatformclientv2.rb +10 -0
- data/lib/purecloudplatformclientv2/api/alerting_api.rb +11 -11
- data/lib/purecloudplatformclientv2/api/analytics_api.rb +91 -26
- data/lib/purecloudplatformclientv2/api/architect_api.rb +81 -81
- data/lib/purecloudplatformclientv2/api/attributes_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api/authorization_api.rb +45 -36
- data/lib/purecloudplatformclientv2/api/billing_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api/content_management_api.rb +38 -38
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +100 -100
- data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +30 -30
- data/lib/purecloudplatformclientv2/api/fax_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api/flows_api.rb +1 -1
- data/lib/purecloudplatformclientv2/api/general_data_protection_regulation_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/geolocation_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/greetings_api.rb +16 -16
- data/lib/purecloudplatformclientv2/api/groups_api.rb +14 -14
- data/lib/purecloudplatformclientv2/api/identity_provider_api.rb +28 -28
- data/lib/purecloudplatformclientv2/api/integrations_api.rb +41 -41
- data/lib/purecloudplatformclientv2/api/languages_api.rb +10 -10
- data/lib/purecloudplatformclientv2/api/license_api.rb +8 -8
- data/lib/purecloudplatformclientv2/api/locations_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/messaging_api.rb +14 -14
- data/lib/purecloudplatformclientv2/api/mobile_devices_api.rb +5 -5
- data/lib/purecloudplatformclientv2/api/notifications_api.rb +7 -7
- data/lib/purecloudplatformclientv2/api/o_auth_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api/objects_api.rb +8 -8
- data/lib/purecloudplatformclientv2/api/organization_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/organization_authorization_api.rb +23 -23
- data/lib/purecloudplatformclientv2/api/outbound_api.rb +98 -98
- data/lib/purecloudplatformclientv2/api/presence_api.rb +9 -9
- data/lib/purecloudplatformclientv2/api/quality_api.rb +450 -52
- data/lib/purecloudplatformclientv2/api/recording_api.rb +37 -37
- data/lib/purecloudplatformclientv2/api/response_management_api.rb +11 -11
- data/lib/purecloudplatformclientv2/api/routing_api.rb +173 -70
- data/lib/purecloudplatformclientv2/api/scripts_api.rb +11 -11
- data/lib/purecloudplatformclientv2/api/search_api.rb +16 -16
- data/lib/purecloudplatformclientv2/api/stations_api.rb +5 -5
- data/lib/purecloudplatformclientv2/api/suggest_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb +125 -125
- data/lib/purecloudplatformclientv2/api/tokens_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api/user_recordings_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api/users_api.rb +61 -61
- data/lib/purecloudplatformclientv2/api/utilities_api.rb +58 -3
- data/lib/purecloudplatformclientv2/api/voicemail_api.rb +24 -24
- data/lib/purecloudplatformclientv2/api/web_chat_api.rb +8 -8
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +64 -64
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/configuration.rb +9 -2
- data/lib/purecloudplatformclientv2/models/aggregate_metric_data.rb +2 -2
- data/lib/purecloudplatformclientv2/models/analytics_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/analytics_session.rb +1 -1
- data/lib/purecloudplatformclientv2/models/condition.rb +6 -6
- data/lib/purecloudplatformclientv2/models/contact_column_to_data_action_field_mapping.rb +176 -0
- data/lib/purecloudplatformclientv2/models/conversation_properties.rb +410 -0
- data/lib/purecloudplatformclientv2/models/data_action_condition_predicate.rb +176 -0
- data/lib/purecloudplatformclientv2/models/observation_metric_data.rb +2 -2
- data/lib/purecloudplatformclientv2/models/org_user.rb +27 -1
- data/lib/purecloudplatformclientv2/models/scorable_survey.rb +343 -0
- data/lib/purecloudplatformclientv2/models/survey.rb +444 -0
- data/lib/purecloudplatformclientv2/models/survey_form_and_scoring_set.rb +226 -0
- data/lib/purecloudplatformclientv2/models/survey_question_group_score.rb +303 -0
- data/lib/purecloudplatformclientv2/models/survey_question_score.rb +351 -0
- data/lib/purecloudplatformclientv2/models/survey_scoring_set.rb +253 -0
- data/lib/purecloudplatformclientv2/models/token.rb +207 -0
- data/lib/purecloudplatformclientv2/models/trust_user.rb +27 -1
- data/lib/purecloudplatformclientv2/models/user.rb +27 -1
- data/lib/purecloudplatformclientv2/models/user_me.rb +27 -1
- data/lib/purecloudplatformclientv2/models/view_filter.rb +354 -4
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +22 -2
data/docs/UtilitiesApi.md
CHANGED
@@ -11,6 +11,7 @@ Method | Description
|
|
11
11
|
[**get_date**](UtilitiesApi.html#get_date) | Get the current system date/time
|
12
12
|
[**get_timezones**](UtilitiesApi.html#get_timezones) | Get time zones list
|
13
13
|
[**post_certificate_details**](UtilitiesApi.html#post_certificate_details) | Returns the information about an X509 PEM encoded certificate or certificate chain.
|
14
|
+
[**post_gmsc_tokens**](UtilitiesApi.html#post_gmsc_tokens) | Generate a JWT for use with common cloud.
|
14
15
|
{: class="table table-striped"}
|
15
16
|
|
16
17
|
<a name="get_date"></a>
|
@@ -202,3 +203,61 @@ Name | Type | Description | Notes
|
|
202
203
|
|
203
204
|
|
204
205
|
|
206
|
+
<a name="post_gmsc_tokens"></a>
|
207
|
+
|
208
|
+
## -[**Token**](Token.html) post_gmsc_tokens
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
Generate a JWT for use with common cloud.
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
Wraps POST /api/v2/gmsc/tokens
|
217
|
+
|
218
|
+
Requires NO permissions:
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
### Example
|
223
|
+
~~~ruby
|
224
|
+
# load the gem
|
225
|
+
require 'purecloudplatformclientv2'
|
226
|
+
# setup authorization
|
227
|
+
@secret = ENV['PURECLOUD_SECRET']
|
228
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
229
|
+
environment = "mypurecloud.com"
|
230
|
+
|
231
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
232
|
+
|
233
|
+
PureCloud.configure do |config|
|
234
|
+
config.access_token = @authToken
|
235
|
+
end
|
236
|
+
|
237
|
+
api_instance = PureCloud::UtilitiesApi.new
|
238
|
+
|
239
|
+
begin
|
240
|
+
#Generate a JWT for use with common cloud.
|
241
|
+
result = api_instance.post_gmsc_tokens
|
242
|
+
p result
|
243
|
+
rescue PureCloud::ApiError => e
|
244
|
+
puts "Exception when calling UtilitiesApi->post_gmsc_tokens: #{e}"
|
245
|
+
end
|
246
|
+
~~~
|
247
|
+
|
248
|
+
### Parameters
|
249
|
+
This endpoint does not need any parameter.
|
250
|
+
{: class="table table-striped"}
|
251
|
+
|
252
|
+
|
253
|
+
### Return type
|
254
|
+
|
255
|
+
[**Token**](Token.html)
|
256
|
+
|
257
|
+
### HTTP request headers
|
258
|
+
|
259
|
+
- **Content-Type**: application/json
|
260
|
+
- **Accept**: application/json
|
261
|
+
|
262
|
+
|
263
|
+
|
data/docs/ViewFilter.md
CHANGED
@@ -48,6 +48,19 @@ title: ViewFilter
|
|
48
48
|
| **mos** | [**NumericRange**](NumericRange.html) | The desired range for mos values | [optional] |
|
49
49
|
| **survey_question_group_score** | [**NumericRange**](NumericRange.html) | The survey question group score used to filter the view | [optional] |
|
50
50
|
| **survey_promoter_score** | [**NumericRange**](NumericRange.html) | The survey promoter score used to filter the view | [optional] |
|
51
|
+
| **survey_form_context_ids** | **Array<String>** | The list of survey form context ids used to filter the view | [optional] |
|
52
|
+
| **conversation_ids** | **Array<String>** | The list of conversation ids used to filter the view | [optional] |
|
53
|
+
| **is_ended** | **BOOLEAN** | Indicates filtering for ended | [optional] |
|
54
|
+
| **is_surveyed** | **BOOLEAN** | Indicates filtering for survey | [optional] |
|
55
|
+
| **survey_scores** | [**Array<NumericRange>**](NumericRange.html) | The list of survey score ranges used to filter the view | [optional] |
|
56
|
+
| **promoter_scores** | [**Array<NumericRange>**](NumericRange.html) | The list of promoter score ranges used to filter the view | [optional] |
|
57
|
+
| **is_campaign** | **BOOLEAN** | Indicates filtering for campaign | [optional] |
|
58
|
+
| **survey_statuses** | **Array<String>** | The list of survey statuses used to filter the view | [optional] |
|
59
|
+
| **conversation_properties** | [**ConversationProperties**](ConversationProperties.html) | A grouping of conversation level filters | [optional] |
|
60
|
+
| **is_blind_transferred** | **BOOLEAN** | Indicates filtering for blind transferred | [optional] |
|
61
|
+
| **is_consulted** | **BOOLEAN** | Indicates filtering for consulted | [optional] |
|
62
|
+
| **is_consult_transferred** | **BOOLEAN** | Indicates filtering for consult transferred | [optional] |
|
63
|
+
| **remote_participants** | **Array<String>** | The list of remote participants used to filter the view | [optional] |
|
51
64
|
{: class="table table-striped"}
|
52
65
|
|
53
66
|
|
@@ -245,6 +245,7 @@ require 'purecloudplatformclientv2/models/contact'
|
|
245
245
|
require 'purecloudplatformclientv2/models/contact_address'
|
246
246
|
require 'purecloudplatformclientv2/models/contact_callback_request'
|
247
247
|
require 'purecloudplatformclientv2/models/contact_column_time_zone'
|
248
|
+
require 'purecloudplatformclientv2/models/contact_column_to_data_action_field_mapping'
|
248
249
|
require 'purecloudplatformclientv2/models/contact_list'
|
249
250
|
require 'purecloudplatformclientv2/models/contact_list_division_view'
|
250
251
|
require 'purecloudplatformclientv2/models/contact_list_division_view_listing'
|
@@ -345,6 +346,7 @@ require 'purecloudplatformclientv2/models/conversation_message_event_topic_messa
|
|
345
346
|
require 'purecloudplatformclientv2/models/conversation_message_event_topic_message_sticker'
|
346
347
|
require 'purecloudplatformclientv2/models/conversation_message_event_topic_uri_reference'
|
347
348
|
require 'purecloudplatformclientv2/models/conversation_message_event_topic_wrapup'
|
349
|
+
require 'purecloudplatformclientv2/models/conversation_properties'
|
348
350
|
require 'purecloudplatformclientv2/models/conversation_query'
|
349
351
|
require 'purecloudplatformclientv2/models/conversation_screen_share_event_topic_detail'
|
350
352
|
require 'purecloudplatformclientv2/models/conversation_screen_share_event_topic_error_body'
|
@@ -406,6 +408,7 @@ require 'purecloudplatformclientv2/models/did'
|
|
406
408
|
require 'purecloudplatformclientv2/models/did_entity_listing'
|
407
409
|
require 'purecloudplatformclientv2/models/did_pool'
|
408
410
|
require 'purecloudplatformclientv2/models/did_pool_entity_listing'
|
411
|
+
require 'purecloudplatformclientv2/models/data_action_condition_predicate'
|
409
412
|
require 'purecloudplatformclientv2/models/data_schema'
|
410
413
|
require 'purecloudplatformclientv2/models/data_table'
|
411
414
|
require 'purecloudplatformclientv2/models/data_table_row_entity_listing'
|
@@ -1108,6 +1111,7 @@ require 'purecloudplatformclientv2/models/scheduling_settings'
|
|
1108
1111
|
require 'purecloudplatformclientv2/models/schema_category'
|
1109
1112
|
require 'purecloudplatformclientv2/models/schema_category_entity_listing'
|
1110
1113
|
require 'purecloudplatformclientv2/models/schema_reference_entity_listing'
|
1114
|
+
require 'purecloudplatformclientv2/models/scorable_survey'
|
1111
1115
|
require 'purecloudplatformclientv2/models/screen_recording_session'
|
1112
1116
|
require 'purecloudplatformclientv2/models/screen_recording_session_listing'
|
1113
1117
|
require 'purecloudplatformclientv2/models/screen_recording_session_request'
|
@@ -1179,11 +1183,16 @@ require 'purecloudplatformclientv2/models/subscriber_response'
|
|
1179
1183
|
require 'purecloudplatformclientv2/models/subscription_overview_usage'
|
1180
1184
|
require 'purecloudplatformclientv2/models/suggest_search_criteria'
|
1181
1185
|
require 'purecloudplatformclientv2/models/suggest_search_request'
|
1186
|
+
require 'purecloudplatformclientv2/models/survey'
|
1182
1187
|
require 'purecloudplatformclientv2/models/survey_assignment'
|
1183
1188
|
require 'purecloudplatformclientv2/models/survey_form'
|
1189
|
+
require 'purecloudplatformclientv2/models/survey_form_and_scoring_set'
|
1184
1190
|
require 'purecloudplatformclientv2/models/survey_form_entity_listing'
|
1185
1191
|
require 'purecloudplatformclientv2/models/survey_question'
|
1186
1192
|
require 'purecloudplatformclientv2/models/survey_question_group'
|
1193
|
+
require 'purecloudplatformclientv2/models/survey_question_group_score'
|
1194
|
+
require 'purecloudplatformclientv2/models/survey_question_score'
|
1195
|
+
require 'purecloudplatformclientv2/models/survey_scoring_set'
|
1187
1196
|
require 'purecloudplatformclientv2/models/system_message_system_message'
|
1188
1197
|
require 'purecloudplatformclientv2/models/system_presence'
|
1189
1198
|
require 'purecloudplatformclientv2/models/system_prompt'
|
@@ -1211,6 +1220,7 @@ require 'purecloudplatformclientv2/models/time_slot'
|
|
1211
1220
|
require 'purecloudplatformclientv2/models/time_zone'
|
1212
1221
|
require 'purecloudplatformclientv2/models/time_zone_entity_listing'
|
1213
1222
|
require 'purecloudplatformclientv2/models/time_zone_mapping_preview'
|
1223
|
+
require 'purecloudplatformclientv2/models/token'
|
1214
1224
|
require 'purecloudplatformclientv2/models/token_info'
|
1215
1225
|
require 'purecloudplatformclientv2/models/transfer_request'
|
1216
1226
|
require 'purecloudplatformclientv2/models/trunk'
|
@@ -75,7 +75,7 @@ module PureCloud
|
|
75
75
|
# http body (model)
|
76
76
|
post_body = nil
|
77
77
|
|
78
|
-
auth_names = ['PureCloud
|
78
|
+
auth_names = ['PureCloud OAuth']
|
79
79
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
80
80
|
:header_params => header_params,
|
81
81
|
:query_params => query_params,
|
@@ -139,7 +139,7 @@ module PureCloud
|
|
139
139
|
# http body (model)
|
140
140
|
post_body = nil
|
141
141
|
|
142
|
-
auth_names = ['PureCloud
|
142
|
+
auth_names = ['PureCloud OAuth']
|
143
143
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
144
144
|
:header_params => header_params,
|
145
145
|
:query_params => query_params,
|
@@ -193,7 +193,7 @@ module PureCloud
|
|
193
193
|
# http body (model)
|
194
194
|
post_body = nil
|
195
195
|
|
196
|
-
auth_names = ['PureCloud
|
196
|
+
auth_names = ['PureCloud OAuth']
|
197
197
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
198
198
|
:header_params => header_params,
|
199
199
|
:query_params => query_params,
|
@@ -267,7 +267,7 @@ module PureCloud
|
|
267
267
|
# http body (model)
|
268
268
|
post_body = nil
|
269
269
|
|
270
|
-
auth_names = ['PureCloud
|
270
|
+
auth_names = ['PureCloud OAuth']
|
271
271
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
272
272
|
:header_params => header_params,
|
273
273
|
:query_params => query_params,
|
@@ -331,7 +331,7 @@ module PureCloud
|
|
331
331
|
# http body (model)
|
332
332
|
post_body = nil
|
333
333
|
|
334
|
-
auth_names = ['PureCloud
|
334
|
+
auth_names = ['PureCloud OAuth']
|
335
335
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
336
336
|
:header_params => header_params,
|
337
337
|
:query_params => query_params,
|
@@ -386,7 +386,7 @@ module PureCloud
|
|
386
386
|
# http body (model)
|
387
387
|
post_body = nil
|
388
388
|
|
389
|
-
auth_names = ['PureCloud
|
389
|
+
auth_names = ['PureCloud OAuth']
|
390
390
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
391
391
|
:header_params => header_params,
|
392
392
|
:query_params => query_params,
|
@@ -460,7 +460,7 @@ module PureCloud
|
|
460
460
|
# http body (model)
|
461
461
|
post_body = nil
|
462
462
|
|
463
|
-
auth_names = ['PureCloud
|
463
|
+
auth_names = ['PureCloud OAuth']
|
464
464
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
465
465
|
:header_params => header_params,
|
466
466
|
:query_params => query_params,
|
@@ -524,7 +524,7 @@ module PureCloud
|
|
524
524
|
# http body (model)
|
525
525
|
post_body = nil
|
526
526
|
|
527
|
-
auth_names = ['PureCloud
|
527
|
+
auth_names = ['PureCloud OAuth']
|
528
528
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
529
529
|
:header_params => header_params,
|
530
530
|
:query_params => query_params,
|
@@ -598,7 +598,7 @@ module PureCloud
|
|
598
598
|
# http body (model)
|
599
599
|
post_body = @api_client.object_to_http_body(body)
|
600
600
|
|
601
|
-
auth_names = ['PureCloud
|
601
|
+
auth_names = ['PureCloud OAuth']
|
602
602
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
603
603
|
:header_params => header_params,
|
604
604
|
:query_params => query_params,
|
@@ -682,7 +682,7 @@ module PureCloud
|
|
682
682
|
# http body (model)
|
683
683
|
post_body = @api_client.object_to_http_body(body)
|
684
684
|
|
685
|
-
auth_names = ['PureCloud
|
685
|
+
auth_names = ['PureCloud OAuth']
|
686
686
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
687
687
|
:header_params => header_params,
|
688
688
|
:query_params => query_params,
|
@@ -766,7 +766,7 @@ module PureCloud
|
|
766
766
|
# http body (model)
|
767
767
|
post_body = @api_client.object_to_http_body(body)
|
768
768
|
|
769
|
-
auth_names = ['PureCloud
|
769
|
+
auth_names = ['PureCloud OAuth']
|
770
770
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
771
771
|
:header_params => header_params,
|
772
772
|
:query_params => query_params,
|
@@ -75,7 +75,7 @@ module PureCloud
|
|
75
75
|
# http body (model)
|
76
76
|
post_body = nil
|
77
77
|
|
78
|
-
auth_names = ['PureCloud
|
78
|
+
auth_names = ['PureCloud OAuth']
|
79
79
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
80
80
|
:header_params => header_params,
|
81
81
|
:query_params => query_params,
|
@@ -139,7 +139,7 @@ module PureCloud
|
|
139
139
|
# http body (model)
|
140
140
|
post_body = nil
|
141
141
|
|
142
|
-
auth_names = ['PureCloud
|
142
|
+
auth_names = ['PureCloud OAuth']
|
143
143
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
144
144
|
:header_params => header_params,
|
145
145
|
:query_params => query_params,
|
@@ -203,7 +203,7 @@ module PureCloud
|
|
203
203
|
# http body (model)
|
204
204
|
post_body = nil
|
205
205
|
|
206
|
-
auth_names = ['PureCloud
|
206
|
+
auth_names = ['PureCloud OAuth']
|
207
207
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
208
208
|
:header_params => header_params,
|
209
209
|
:query_params => query_params,
|
@@ -258,7 +258,7 @@ module PureCloud
|
|
258
258
|
# http body (model)
|
259
259
|
post_body = nil
|
260
260
|
|
261
|
-
auth_names = ['PureCloud
|
261
|
+
auth_names = ['PureCloud OAuth']
|
262
262
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
263
263
|
:header_params => header_params,
|
264
264
|
:query_params => query_params,
|
@@ -340,7 +340,7 @@ module PureCloud
|
|
340
340
|
# http body (model)
|
341
341
|
post_body = nil
|
342
342
|
|
343
|
-
auth_names = ['PureCloud
|
343
|
+
auth_names = ['PureCloud OAuth']
|
344
344
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
345
345
|
:header_params => header_params,
|
346
346
|
:query_params => query_params,
|
@@ -414,7 +414,7 @@ module PureCloud
|
|
414
414
|
# http body (model)
|
415
415
|
post_body = nil
|
416
416
|
|
417
|
-
auth_names = ['PureCloud
|
417
|
+
auth_names = ['PureCloud OAuth']
|
418
418
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
419
419
|
:header_params => header_params,
|
420
420
|
:query_params => query_params,
|
@@ -469,7 +469,7 @@ module PureCloud
|
|
469
469
|
# http body (model)
|
470
470
|
post_body = nil
|
471
471
|
|
472
|
-
auth_names = ['PureCloud
|
472
|
+
auth_names = ['PureCloud OAuth']
|
473
473
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
474
474
|
:header_params => header_params,
|
475
475
|
:query_params => query_params,
|
@@ -534,7 +534,7 @@ module PureCloud
|
|
534
534
|
# http body (model)
|
535
535
|
post_body = nil
|
536
536
|
|
537
|
-
auth_names = ['PureCloud
|
537
|
+
auth_names = ['PureCloud OAuth']
|
538
538
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
539
539
|
:header_params => header_params,
|
540
540
|
:query_params => query_params,
|
@@ -617,7 +617,7 @@ module PureCloud
|
|
617
617
|
# http body (model)
|
618
618
|
post_body = nil
|
619
619
|
|
620
|
-
auth_names = ['PureCloud
|
620
|
+
auth_names = ['PureCloud OAuth']
|
621
621
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
622
622
|
:header_params => header_params,
|
623
623
|
:query_params => query_params,
|
@@ -682,7 +682,7 @@ module PureCloud
|
|
682
682
|
# http body (model)
|
683
683
|
post_body = nil
|
684
684
|
|
685
|
-
auth_names = ['PureCloud
|
685
|
+
auth_names = ['PureCloud OAuth']
|
686
686
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
687
687
|
:header_params => header_params,
|
688
688
|
:query_params => query_params,
|
@@ -757,7 +757,7 @@ module PureCloud
|
|
757
757
|
# http body (model)
|
758
758
|
post_body = nil
|
759
759
|
|
760
|
-
auth_names = ['PureCloud
|
760
|
+
auth_names = ['PureCloud OAuth']
|
761
761
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
762
762
|
:header_params => header_params,
|
763
763
|
:query_params => query_params,
|
@@ -830,7 +830,7 @@ module PureCloud
|
|
830
830
|
# http body (model)
|
831
831
|
post_body = nil
|
832
832
|
|
833
|
-
auth_names = ['PureCloud
|
833
|
+
auth_names = ['PureCloud OAuth']
|
834
834
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
835
835
|
:header_params => header_params,
|
836
836
|
:query_params => query_params,
|
@@ -885,7 +885,7 @@ module PureCloud
|
|
885
885
|
# http body (model)
|
886
886
|
post_body = nil
|
887
887
|
|
888
|
-
auth_names = ['PureCloud
|
888
|
+
auth_names = ['PureCloud OAuth']
|
889
889
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
890
890
|
:header_params => header_params,
|
891
891
|
:query_params => query_params,
|
@@ -960,7 +960,7 @@ module PureCloud
|
|
960
960
|
# http body (model)
|
961
961
|
post_body = @api_client.object_to_http_body(body)
|
962
962
|
|
963
|
-
auth_names = ['PureCloud
|
963
|
+
auth_names = ['PureCloud OAuth']
|
964
964
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
965
965
|
:header_params => header_params,
|
966
966
|
:query_params => query_params,
|
@@ -1025,7 +1025,7 @@ module PureCloud
|
|
1025
1025
|
# http body (model)
|
1026
1026
|
post_body = @api_client.object_to_http_body(body)
|
1027
1027
|
|
1028
|
-
auth_names = ['PureCloud
|
1028
|
+
auth_names = ['PureCloud OAuth']
|
1029
1029
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1030
1030
|
:header_params => header_params,
|
1031
1031
|
:query_params => query_params,
|
@@ -1090,7 +1090,7 @@ module PureCloud
|
|
1090
1090
|
# http body (model)
|
1091
1091
|
post_body = @api_client.object_to_http_body(body)
|
1092
1092
|
|
1093
|
-
auth_names = ['PureCloud
|
1093
|
+
auth_names = ['PureCloud OAuth']
|
1094
1094
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1095
1095
|
:header_params => header_params,
|
1096
1096
|
:query_params => query_params,
|
@@ -1155,7 +1155,7 @@ module PureCloud
|
|
1155
1155
|
# http body (model)
|
1156
1156
|
post_body = @api_client.object_to_http_body(body)
|
1157
1157
|
|
1158
|
-
auth_names = ['PureCloud
|
1158
|
+
auth_names = ['PureCloud OAuth']
|
1159
1159
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1160
1160
|
:header_params => header_params,
|
1161
1161
|
:query_params => query_params,
|
@@ -1220,7 +1220,7 @@ module PureCloud
|
|
1220
1220
|
# http body (model)
|
1221
1221
|
post_body = @api_client.object_to_http_body(body)
|
1222
1222
|
|
1223
|
-
auth_names = ['PureCloud
|
1223
|
+
auth_names = ['PureCloud OAuth']
|
1224
1224
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1225
1225
|
:header_params => header_params,
|
1226
1226
|
:query_params => query_params,
|
@@ -1285,7 +1285,7 @@ module PureCloud
|
|
1285
1285
|
# http body (model)
|
1286
1286
|
post_body = @api_client.object_to_http_body(body)
|
1287
1287
|
|
1288
|
-
auth_names = ['PureCloud
|
1288
|
+
auth_names = ['PureCloud OAuth']
|
1289
1289
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1290
1290
|
:header_params => header_params,
|
1291
1291
|
:query_params => query_params,
|
@@ -1350,7 +1350,7 @@ module PureCloud
|
|
1350
1350
|
# http body (model)
|
1351
1351
|
post_body = @api_client.object_to_http_body(body)
|
1352
1352
|
|
1353
|
-
auth_names = ['PureCloud
|
1353
|
+
auth_names = ['PureCloud OAuth']
|
1354
1354
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1355
1355
|
:header_params => header_params,
|
1356
1356
|
:query_params => query_params,
|
@@ -1415,7 +1415,7 @@ module PureCloud
|
|
1415
1415
|
# http body (model)
|
1416
1416
|
post_body = nil
|
1417
1417
|
|
1418
|
-
auth_names = ['PureCloud
|
1418
|
+
auth_names = ['PureCloud OAuth']
|
1419
1419
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1420
1420
|
:header_params => header_params,
|
1421
1421
|
:query_params => query_params,
|
@@ -1480,7 +1480,7 @@ module PureCloud
|
|
1480
1480
|
# http body (model)
|
1481
1481
|
post_body = @api_client.object_to_http_body(body)
|
1482
1482
|
|
1483
|
-
auth_names = ['PureCloud
|
1483
|
+
auth_names = ['PureCloud OAuth']
|
1484
1484
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1485
1485
|
:header_params => header_params,
|
1486
1486
|
:query_params => query_params,
|
@@ -1494,6 +1494,71 @@ module PureCloud
|
|
1494
1494
|
return data, status_code, headers
|
1495
1495
|
end
|
1496
1496
|
|
1497
|
+
# Query for survey aggregates
|
1498
|
+
#
|
1499
|
+
# @param body query
|
1500
|
+
# @param [Hash] opts the optional parameters
|
1501
|
+
# @return [AggregateQueryResponse]
|
1502
|
+
def post_analytics_surveys_aggregates_query(body, opts = {})
|
1503
|
+
data, _status_code, _headers = post_analytics_surveys_aggregates_query_with_http_info(body, opts)
|
1504
|
+
return data
|
1505
|
+
end
|
1506
|
+
|
1507
|
+
# Query for survey aggregates
|
1508
|
+
#
|
1509
|
+
# @param body query
|
1510
|
+
# @param [Hash] opts the optional parameters
|
1511
|
+
# @return [Array<(AggregateQueryResponse, Fixnum, Hash)>] AggregateQueryResponse data, response status code and response headers
|
1512
|
+
def post_analytics_surveys_aggregates_query_with_http_info(body, opts = {})
|
1513
|
+
if @api_client.config.debugging
|
1514
|
+
@api_client.config.logger.debug "Calling API: AnalyticsApi.post_analytics_surveys_aggregates_query ..."
|
1515
|
+
end
|
1516
|
+
|
1517
|
+
|
1518
|
+
# verify the required parameter 'body' is set
|
1519
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AnalyticsApi.post_analytics_surveys_aggregates_query" if body.nil?
|
1520
|
+
|
1521
|
+
|
1522
|
+
|
1523
|
+
|
1524
|
+
|
1525
|
+
# resource path
|
1526
|
+
local_var_path = "/api/v2/analytics/surveys/aggregates/query".sub('{format}','json')
|
1527
|
+
|
1528
|
+
# query parameters
|
1529
|
+
query_params = {}
|
1530
|
+
|
1531
|
+
# header parameters
|
1532
|
+
header_params = {}
|
1533
|
+
|
1534
|
+
# HTTP header 'Accept' (if needed)
|
1535
|
+
local_header_accept = ['application/json']
|
1536
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1537
|
+
|
1538
|
+
# HTTP header 'Content-Type'
|
1539
|
+
local_header_content_type = ['application/json']
|
1540
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1541
|
+
|
1542
|
+
# form parameters
|
1543
|
+
form_params = {}
|
1544
|
+
|
1545
|
+
# http body (model)
|
1546
|
+
post_body = @api_client.object_to_http_body(body)
|
1547
|
+
|
1548
|
+
auth_names = ['PureCloud OAuth']
|
1549
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1550
|
+
:header_params => header_params,
|
1551
|
+
:query_params => query_params,
|
1552
|
+
:form_params => form_params,
|
1553
|
+
:body => post_body,
|
1554
|
+
:auth_names => auth_names,
|
1555
|
+
:return_type => 'AggregateQueryResponse')
|
1556
|
+
if @api_client.config.debugging
|
1557
|
+
@api_client.config.logger.debug "API called: AnalyticsApi#post_analytics_surveys_aggregates_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1558
|
+
end
|
1559
|
+
return data, status_code, headers
|
1560
|
+
end
|
1561
|
+
|
1497
1562
|
# Query for user aggregates
|
1498
1563
|
#
|
1499
1564
|
# @param body query
|
@@ -1545,7 +1610,7 @@ module PureCloud
|
|
1545
1610
|
# http body (model)
|
1546
1611
|
post_body = @api_client.object_to_http_body(body)
|
1547
1612
|
|
1548
|
-
auth_names = ['PureCloud
|
1613
|
+
auth_names = ['PureCloud OAuth']
|
1549
1614
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1550
1615
|
:header_params => header_params,
|
1551
1616
|
:query_params => query_params,
|
@@ -1610,7 +1675,7 @@ module PureCloud
|
|
1610
1675
|
# http body (model)
|
1611
1676
|
post_body = @api_client.object_to_http_body(body)
|
1612
1677
|
|
1613
|
-
auth_names = ['PureCloud
|
1678
|
+
auth_names = ['PureCloud OAuth']
|
1614
1679
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1615
1680
|
:header_params => header_params,
|
1616
1681
|
:query_params => query_params,
|
@@ -1675,7 +1740,7 @@ module PureCloud
|
|
1675
1740
|
# http body (model)
|
1676
1741
|
post_body = @api_client.object_to_http_body(body)
|
1677
1742
|
|
1678
|
-
auth_names = ['PureCloud
|
1743
|
+
auth_names = ['PureCloud OAuth']
|
1679
1744
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1680
1745
|
:header_params => header_params,
|
1681
1746
|
:query_params => query_params,
|
@@ -1750,7 +1815,7 @@ module PureCloud
|
|
1750
1815
|
# http body (model)
|
1751
1816
|
post_body = @api_client.object_to_http_body(body)
|
1752
1817
|
|
1753
|
-
auth_names = ['PureCloud
|
1818
|
+
auth_names = ['PureCloud OAuth']
|
1754
1819
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1755
1820
|
:header_params => header_params,
|
1756
1821
|
:query_params => query_params,
|