purecloudplatformclientv2 86.0.0 → 91.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/AnalyticsEvaluation.md +1 -1
- data/docs/ApiUsageQuery.md +16 -0
- data/docs/ApiUsageQueryResult.md +14 -0
- data/docs/ApiUsageRow.md +25 -0
- data/docs/ArchitectApi.md +132 -0
- data/docs/AuditApi.md +60 -0
- data/docs/AuditQueryEntity.md +14 -0
- data/docs/AuditQueryExecutionStatusResponse.md +1 -0
- data/docs/AuditQueryRequest.md +1 -0
- data/docs/AuditQueryService.md +14 -0
- data/docs/AuditQueryServiceMapping.md +13 -0
- data/docs/AuditQuerySort.md +14 -0
- data/docs/BuAgentScheduleActivity.md +2 -0
- data/docs/BuRescheduleRequest.md +2 -2
- data/docs/CoachingAnnotation.md +21 -0
- data/docs/CoachingAnnotationCreateRequest.md +14 -0
- data/docs/CoachingAnnotationList.md +22 -0
- data/docs/CoachingApi.md +1132 -0
- data/docs/CoachingAppointmentReference.md +14 -0
- data/docs/CoachingAppointmentResponse.md +27 -0
- data/docs/CoachingAppointmentResponseList.md +22 -0
- data/docs/CoachingAppointmentStatusDto.md +16 -0
- data/docs/CoachingAppointmentStatusDtoList.md +17 -0
- data/docs/CoachingNotification.md +23 -0
- data/docs/CoachingNotificationList.md +22 -0
- data/docs/ConversationAggregationQuery.md +1 -1
- data/docs/ConversationEventTopicCall.md +1 -0
- data/docs/ConversationEventTopicCallback.md +1 -0
- data/docs/ConversationEventTopicChat.md +1 -0
- data/docs/ConversationEventTopicCobrowse.md +1 -0
- data/docs/ConversationEventTopicEmail.md +1 -0
- data/docs/ConversationEventTopicMessage.md +1 -0
- data/docs/ConversationEventTopicScreenshare.md +1 -0
- data/docs/ConversationEventTopicSocialExpression.md +1 -0
- data/docs/ConversationEventTopicVideo.md +1 -0
- data/docs/ConversationReference.md +14 -0
- data/docs/CreateCoachingAppointmentRequest.md +20 -0
- data/docs/CreateQueueRequest.md +1 -0
- data/docs/DocumentReference.md +14 -0
- data/docs/EntityListing.md +5 -1
- data/docs/EvaluationAggregationQuery.md +1 -1
- data/docs/ExternalContact.md +2 -0
- data/docs/ExternalOrganization.md +2 -0
- data/docs/FlowAggregationQuery.md +1 -1
- data/docs/FlowExecutionLaunchRequest.md +16 -0
- data/docs/FlowExecutionLaunchResponse.md +16 -0
- data/docs/FlowRuntimeExecution.md +23 -0
- data/docs/GenericSAML.md +22 -0
- data/docs/GroupsApi.md +4 -4
- data/docs/IdentityProviderApi.md +187 -0
- data/docs/IpAddressAuthentication.md +13 -0
- data/docs/KnowledgeSearchResponse.md +1 -1
- data/docs/NluDomainVersion.md +1 -0
- data/docs/OAuthApi.md +208 -0
- data/docs/OrganizationApi.md +126 -0
- data/docs/Prompt.md +2 -2
- data/docs/Queue.md +1 -0
- data/docs/QueueConversationEventTopicCall.md +1 -0
- data/docs/QueueConversationEventTopicCallback.md +1 -0
- data/docs/QueueConversationEventTopicChat.md +1 -0
- data/docs/QueueConversationEventTopicCobrowse.md +1 -0
- data/docs/QueueConversationEventTopicEmail.md +1 -0
- data/docs/QueueConversationEventTopicMessage.md +1 -0
- data/docs/QueueConversationEventTopicScreenshare.md +1 -0
- data/docs/QueueConversationEventTopicSocialExpression.md +1 -0
- data/docs/QueueConversationEventTopicVideo.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicCall.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicCallback.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicChat.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicCobrowse.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicEmail.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicMessage.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicScreenshare.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicSocialExpression.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicVideo.md +1 -0
- data/docs/QueueConversationVideoEventTopicCall.md +1 -0
- data/docs/QueueConversationVideoEventTopicCallback.md +1 -0
- data/docs/QueueConversationVideoEventTopicChat.md +1 -0
- data/docs/QueueConversationVideoEventTopicCobrowse.md +1 -0
- data/docs/QueueConversationVideoEventTopicEmail.md +1 -0
- data/docs/QueueConversationVideoEventTopicMessage.md +1 -0
- data/docs/QueueConversationVideoEventTopicScreenshare.md +1 -0
- data/docs/QueueConversationVideoEventTopicSocialExpression.md +1 -0
- data/docs/QueueConversationVideoEventTopicVideo.md +1 -0
- data/docs/QueueRequest.md +1 -0
- data/docs/RecordingApi.md +12 -0
- data/docs/ReportingDataExportTopicDataExportNotification.md +1 -0
- data/docs/ScimEmail.md +1 -1
- data/docs/SurveyAggregationQuery.md +1 -1
- data/docs/UpdateCoachingAppointmentRequest.md +18 -0
- data/docs/UploadUrlRequest.md +1 -0
- data/docs/UsageApi.md +144 -0
- data/docs/UsageExecutionResult.md +14 -0
- data/docs/UserAggregationQuery.md +1 -1
- data/docs/UserQueue.md +1 -0
- data/docs/UsersApi.md +5 -5
- data/docs/ViewFilter.md +2 -0
- data/docs/VoicemailMessagesTopicOwner.md +13 -0
- data/docs/VoicemailMessagesTopicVoicemailCopyRecord.md +14 -0
- data/docs/VoicemailMessagesTopicVoicemailMessage.md +2 -0
- data/docs/WemLearningAssignmentRuleRunTopicLearningAssignmentRuleRunNotification.md +14 -0
- data/docs/WemLearningAssignmentRuleRunTopicLearningModuleReference.md +14 -0
- data/docs/WemLearningAssignmentRuleRunTopicWemLearningAssignmentsCreated.md +13 -0
- data/docs/WemLearningAssignmentTopicLearningAssignmentNotification.md +22 -0
- data/docs/WemLearningAssignmentTopicLearningModuleReference.md +14 -0
- data/docs/WemLearningAssignmentTopicUserReference.md +13 -0
- data/docs/WfmBuShortTermForecastImportCompleteTopicBuForecastModification.md +23 -0
- data/docs/WfmBuShortTermForecastImportCompleteTopicBuShortTermForecast.md +24 -0
- data/docs/WfmBuShortTermForecastImportCompleteTopicBuShortTermForecastNotification.md +15 -0
- data/docs/WfmBuShortTermForecastImportCompleteTopicForecastSourceDayPointer.md +17 -0
- data/docs/WfmBuShortTermForecastImportCompleteTopicModificationIntervalOffsetValue.md +14 -0
- data/docs/WfmBuShortTermForecastImportCompleteTopicUserReference.md +13 -0
- data/docs/WfmBuShortTermForecastImportCompleteTopicWfmVersionedEntityMetadata.md +15 -0
- data/docs/WorkforceManagementApi.md +3 -3
- data/lib/purecloudplatformclientv2.rb +44 -0
- data/lib/purecloudplatformclientv2/api/architect_api.rb +130 -0
- data/lib/purecloudplatformclientv2/api/audit_api.rb +55 -0
- data/lib/purecloudplatformclientv2/api/coaching_api.rb +1296 -0
- data/lib/purecloudplatformclientv2/api/groups_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/identity_provider_api.rb +175 -0
- data/lib/purecloudplatformclientv2/api/o_auth_api.rb +224 -0
- data/lib/purecloudplatformclientv2/api/organization_api.rb +120 -0
- data/lib/purecloudplatformclientv2/api/recording_api.rb +78 -0
- data/lib/purecloudplatformclientv2/api/usage_api.rb +157 -0
- data/lib/purecloudplatformclientv2/api/users_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +13 -13
- data/lib/purecloudplatformclientv2/models/api_usage_query.rb +303 -0
- data/lib/purecloudplatformclientv2/models/api_usage_query_result.rb +244 -0
- data/lib/purecloudplatformclientv2/models/api_usage_row.rb +514 -0
- data/lib/purecloudplatformclientv2/models/audit_log_message.rb +6 -6
- data/lib/purecloudplatformclientv2/models/audit_query_entity.rb +244 -0
- data/lib/purecloudplatformclientv2/models/audit_query_execution_status_response.rb +34 -6
- data/lib/purecloudplatformclientv2/models/audit_query_request.rb +34 -6
- data/lib/purecloudplatformclientv2/models/audit_query_service.rb +244 -0
- data/lib/purecloudplatformclientv2/models/audit_query_service_mapping.rb +204 -0
- data/lib/purecloudplatformclientv2/models/audit_query_sort.rb +266 -0
- data/lib/purecloudplatformclientv2/models/bu_agent_schedule_activity.rb +70 -4
- data/lib/purecloudplatformclientv2/models/bu_reschedule_request.rb +2 -12
- data/lib/purecloudplatformclientv2/models/coaching_annotation.rb +429 -0
- data/lib/purecloudplatformclientv2/models/coaching_annotation_create_request.rb +252 -0
- data/lib/purecloudplatformclientv2/models/coaching_annotation_list.rb +428 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_reference.rb +228 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_response.rb +587 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_response_list.rb +428 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_status_dto.rb +299 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_status_dto_list.rb +303 -0
- data/lib/purecloudplatformclientv2/models/coaching_notification.rb +504 -0
- data/lib/purecloudplatformclientv2/models/coaching_notification_list.rb +428 -0
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_aggregation_query.rb +1 -1
- data/lib/purecloudplatformclientv2/models/conversation_chat.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_call.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_chat.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_cobrowse.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_email.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_message.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_screenshare.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_social_expression.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_video.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_reference.rb +228 -0
- data/lib/purecloudplatformclientv2/models/create_coaching_appointment_request.rb +426 -0
- data/lib/purecloudplatformclientv2/models/create_queue_request.rb +29 -1
- data/lib/purecloudplatformclientv2/models/document_reference.rb +228 -0
- data/lib/purecloudplatformclientv2/models/entity_listing.rb +104 -4
- data/lib/purecloudplatformclientv2/models/evaluation_aggregation_query.rb +1 -1
- data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/external_contact.rb +55 -1
- data/lib/purecloudplatformclientv2/models/external_organization.rb +55 -1
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/flow_aggregation_query.rb +1 -1
- data/lib/purecloudplatformclientv2/models/flow_execution_launch_request.rb +288 -0
- data/lib/purecloudplatformclientv2/models/flow_execution_launch_response.rb +281 -0
- data/lib/purecloudplatformclientv2/models/flow_runtime_execution.rb +494 -0
- data/lib/purecloudplatformclientv2/models/generic_saml.rb +428 -0
- data/lib/purecloudplatformclientv2/models/ip_address_authentication.rb +203 -0
- data/lib/purecloudplatformclientv2/models/knowledge_search_response.rb +18 -18
- data/lib/purecloudplatformclientv2/models/nlu_domain_version.rb +41 -1
- data/lib/purecloudplatformclientv2/models/prompt.rb +2 -0
- data/lib/purecloudplatformclientv2/models/prompt_asset.rb +15 -1
- data/lib/purecloudplatformclientv2/models/prompt_asset_create.rb +15 -1
- data/lib/purecloudplatformclientv2/models/queue.rb +29 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_call.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_chat.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_cobrowse.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_email.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_message.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_screenshare.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_social_expression.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_video.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_call.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_chat.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_cobrowse.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_email.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_message.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_screenshare.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_social_expression.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_video.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_call.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_chat.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_cobrowse.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_email.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_message.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_screenshare.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_social_expression.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_video.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_request.rb +29 -1
- data/lib/purecloudplatformclientv2/models/reporting_data_export_topic_data_export_notification.rb +31 -4
- data/lib/purecloudplatformclientv2/models/scim_email.rb +1 -1
- data/lib/purecloudplatformclientv2/models/survey_aggregation_query.rb +1 -1
- data/lib/purecloudplatformclientv2/models/update_coaching_appointment_request.rb +337 -0
- data/lib/purecloudplatformclientv2/models/upload_url_request.rb +43 -4
- data/lib/purecloudplatformclientv2/models/usage_execution_result.rb +228 -0
- data/lib/purecloudplatformclientv2/models/user_aggregation_query.rb +1 -1
- data/lib/purecloudplatformclientv2/models/user_queue.rb +29 -1
- data/lib/purecloudplatformclientv2/models/view_filter.rb +58 -4
- data/lib/purecloudplatformclientv2/models/voicemail_messages_topic_owner.rb +201 -0
- data/lib/purecloudplatformclientv2/models/voicemail_messages_topic_voicemail_copy_record.rb +226 -0
- data/lib/purecloudplatformclientv2/models/voicemail_messages_topic_voicemail_message.rb +56 -4
- data/lib/purecloudplatformclientv2/models/wem_learning_assignment_rule_run_topic_learning_assignment_rule_run_notification.rb +228 -0
- data/lib/purecloudplatformclientv2/models/wem_learning_assignment_rule_run_topic_learning_module_reference.rb +226 -0
- data/lib/purecloudplatformclientv2/models/wem_learning_assignment_rule_run_topic_wem_learning_assignments_created.rb +201 -0
- data/lib/purecloudplatformclientv2/models/wem_learning_assignment_topic_learning_assignment_notification.rb +440 -0
- data/lib/purecloudplatformclientv2/models/wem_learning_assignment_topic_learning_module_reference.rb +226 -0
- data/lib/purecloudplatformclientv2/models/wem_learning_assignment_topic_user_reference.rb +201 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_bu_forecast_modification.rb +497 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_bu_short_term_forecast.rb +494 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_bu_short_term_forecast_notification.rb +265 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_forecast_source_day_pointer.rb +315 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_modification_interval_offset_value.rb +226 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_user_reference.rb +201 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_wfm_versioned_entity_metadata.rb +251 -0
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +90 -2
data/docs/IdentityProviderApi.md
CHANGED
@@ -10,6 +10,7 @@ Method | Description
|
|
10
10
|
------------- | ------------- | -------------
|
11
11
|
[**delete_identityproviders_adfs**](IdentityProviderApi.html#delete_identityproviders_adfs) | Delete ADFS Identity Provider
|
12
12
|
[**delete_identityproviders_cic**](IdentityProviderApi.html#delete_identityproviders_cic) | Delete Customer Interaction Center (CIC) Identity Provider
|
13
|
+
[**delete_identityproviders_generic**](IdentityProviderApi.html#delete_identityproviders_generic) | Delete Generic SAML Identity Provider
|
13
14
|
[**delete_identityproviders_gsuite**](IdentityProviderApi.html#delete_identityproviders_gsuite) | Delete G Suite Identity Provider
|
14
15
|
[**delete_identityproviders_identitynow**](IdentityProviderApi.html#delete_identityproviders_identitynow) | Delete IdentityNow Provider
|
15
16
|
[**delete_identityproviders_okta**](IdentityProviderApi.html#delete_identityproviders_okta) | Delete Okta Identity Provider
|
@@ -21,6 +22,7 @@ Method | Description
|
|
21
22
|
[**get_identityproviders**](IdentityProviderApi.html#get_identityproviders) | The list of identity providers
|
22
23
|
[**get_identityproviders_adfs**](IdentityProviderApi.html#get_identityproviders_adfs) | Get ADFS Identity Provider
|
23
24
|
[**get_identityproviders_cic**](IdentityProviderApi.html#get_identityproviders_cic) | Get Customer Interaction Center (CIC) Identity Provider
|
25
|
+
[**get_identityproviders_generic**](IdentityProviderApi.html#get_identityproviders_generic) | Get Generic SAML Identity Provider
|
24
26
|
[**get_identityproviders_gsuite**](IdentityProviderApi.html#get_identityproviders_gsuite) | Get G Suite Identity Provider
|
25
27
|
[**get_identityproviders_identitynow**](IdentityProviderApi.html#get_identityproviders_identitynow) | Get IdentityNow Provider
|
26
28
|
[**get_identityproviders_okta**](IdentityProviderApi.html#get_identityproviders_okta) | Get Okta Identity Provider
|
@@ -31,6 +33,7 @@ Method | Description
|
|
31
33
|
[**get_identityproviders_salesforce**](IdentityProviderApi.html#get_identityproviders_salesforce) | Get Salesforce Identity Provider
|
32
34
|
[**put_identityproviders_adfs**](IdentityProviderApi.html#put_identityproviders_adfs) | Update/Create ADFS Identity Provider
|
33
35
|
[**put_identityproviders_cic**](IdentityProviderApi.html#put_identityproviders_cic) | Update/Create Customer Interaction Center (CIC) Identity Provider
|
36
|
+
[**put_identityproviders_generic**](IdentityProviderApi.html#put_identityproviders_generic) | Update/Create Generic SAML Identity Provider
|
34
37
|
[**put_identityproviders_gsuite**](IdentityProviderApi.html#put_identityproviders_gsuite) | Update/Create G Suite Identity Provider
|
35
38
|
[**put_identityproviders_identitynow**](IdentityProviderApi.html#put_identityproviders_identitynow) | Update/Create IdentityNow Provider
|
36
39
|
[**put_identityproviders_okta**](IdentityProviderApi.html#put_identityproviders_okta) | Update/Create Okta Identity Provider
|
@@ -159,6 +162,65 @@ This endpoint does not need any parameter.
|
|
159
162
|
|
160
163
|
|
161
164
|
|
165
|
+
<a name="delete_identityproviders_generic"></a>
|
166
|
+
|
167
|
+
## [**Empty**](Empty.html) delete_identityproviders_generic
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
Delete Generic SAML Identity Provider
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
Wraps DELETE /api/v2/identityproviders/generic
|
176
|
+
|
177
|
+
Requires ANY permissions:
|
178
|
+
|
179
|
+
* sso:provider:delete
|
180
|
+
|
181
|
+
|
182
|
+
### Example
|
183
|
+
```{"language":"ruby"}
|
184
|
+
# load the gem
|
185
|
+
require 'purecloudplatformclientv2'
|
186
|
+
# setup authorization
|
187
|
+
@secret = ENV['PURECLOUD_SECRET']
|
188
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
189
|
+
environment = "mypurecloud.com"
|
190
|
+
|
191
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
192
|
+
|
193
|
+
PureCloud.configure do |config|
|
194
|
+
config.access_token = @authToken
|
195
|
+
end
|
196
|
+
|
197
|
+
api_instance = PureCloud::IdentityProviderApi.new
|
198
|
+
|
199
|
+
begin
|
200
|
+
#Delete Generic SAML Identity Provider
|
201
|
+
result = api_instance.delete_identityproviders_generic
|
202
|
+
p result
|
203
|
+
rescue PureCloud::ApiError => e
|
204
|
+
puts "Exception when calling IdentityProviderApi->delete_identityproviders_generic: #{e}"
|
205
|
+
end
|
206
|
+
```
|
207
|
+
|
208
|
+
### Parameters
|
209
|
+
This endpoint does not need any parameter.
|
210
|
+
{: class="table table-striped"}
|
211
|
+
|
212
|
+
|
213
|
+
### Return type
|
214
|
+
|
215
|
+
[**Empty**](Empty.html)
|
216
|
+
|
217
|
+
### HTTP request headers
|
218
|
+
|
219
|
+
- **Content-Type**: application/json
|
220
|
+
- **Accept**: application/json
|
221
|
+
|
222
|
+
|
223
|
+
|
162
224
|
<a name="delete_identityproviders_gsuite"></a>
|
163
225
|
|
164
226
|
## [**Empty**](Empty.html) delete_identityproviders_gsuite
|
@@ -808,6 +870,65 @@ This endpoint does not need any parameter.
|
|
808
870
|
|
809
871
|
|
810
872
|
|
873
|
+
<a name="get_identityproviders_generic"></a>
|
874
|
+
|
875
|
+
## [**GenericSAML**](GenericSAML.html) get_identityproviders_generic
|
876
|
+
|
877
|
+
|
878
|
+
|
879
|
+
Get Generic SAML Identity Provider
|
880
|
+
|
881
|
+
|
882
|
+
|
883
|
+
Wraps GET /api/v2/identityproviders/generic
|
884
|
+
|
885
|
+
Requires ANY permissions:
|
886
|
+
|
887
|
+
* sso:provider:view
|
888
|
+
|
889
|
+
|
890
|
+
### Example
|
891
|
+
```{"language":"ruby"}
|
892
|
+
# load the gem
|
893
|
+
require 'purecloudplatformclientv2'
|
894
|
+
# setup authorization
|
895
|
+
@secret = ENV['PURECLOUD_SECRET']
|
896
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
897
|
+
environment = "mypurecloud.com"
|
898
|
+
|
899
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
900
|
+
|
901
|
+
PureCloud.configure do |config|
|
902
|
+
config.access_token = @authToken
|
903
|
+
end
|
904
|
+
|
905
|
+
api_instance = PureCloud::IdentityProviderApi.new
|
906
|
+
|
907
|
+
begin
|
908
|
+
#Get Generic SAML Identity Provider
|
909
|
+
result = api_instance.get_identityproviders_generic
|
910
|
+
p result
|
911
|
+
rescue PureCloud::ApiError => e
|
912
|
+
puts "Exception when calling IdentityProviderApi->get_identityproviders_generic: #{e}"
|
913
|
+
end
|
914
|
+
```
|
915
|
+
|
916
|
+
### Parameters
|
917
|
+
This endpoint does not need any parameter.
|
918
|
+
{: class="table table-striped"}
|
919
|
+
|
920
|
+
|
921
|
+
### Return type
|
922
|
+
|
923
|
+
[**GenericSAML**](GenericSAML.html)
|
924
|
+
|
925
|
+
### HTTP request headers
|
926
|
+
|
927
|
+
- **Content-Type**: application/json
|
928
|
+
- **Accept**: application/json
|
929
|
+
|
930
|
+
|
931
|
+
|
811
932
|
<a name="get_identityproviders_gsuite"></a>
|
812
933
|
|
813
934
|
## [**GSuite**](GSuite.html) get_identityproviders_gsuite
|
@@ -1412,6 +1533,72 @@ Name | Type | Description | Notes
|
|
1412
1533
|
|
1413
1534
|
|
1414
1535
|
|
1536
|
+
<a name="put_identityproviders_generic"></a>
|
1537
|
+
|
1538
|
+
## [**OAuthProvider**](OAuthProvider.html) put_identityproviders_generic(body)
|
1539
|
+
|
1540
|
+
|
1541
|
+
|
1542
|
+
Update/Create Generic SAML Identity Provider
|
1543
|
+
|
1544
|
+
|
1545
|
+
|
1546
|
+
Wraps PUT /api/v2/identityproviders/generic
|
1547
|
+
|
1548
|
+
Requires ANY permissions:
|
1549
|
+
|
1550
|
+
* sso:provider:add
|
1551
|
+
* sso:provider:edit
|
1552
|
+
|
1553
|
+
|
1554
|
+
### Example
|
1555
|
+
```{"language":"ruby"}
|
1556
|
+
# load the gem
|
1557
|
+
require 'purecloudplatformclientv2'
|
1558
|
+
# setup authorization
|
1559
|
+
@secret = ENV['PURECLOUD_SECRET']
|
1560
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
1561
|
+
environment = "mypurecloud.com"
|
1562
|
+
|
1563
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
1564
|
+
|
1565
|
+
PureCloud.configure do |config|
|
1566
|
+
config.access_token = @authToken
|
1567
|
+
end
|
1568
|
+
|
1569
|
+
api_instance = PureCloud::IdentityProviderApi.new
|
1570
|
+
|
1571
|
+
body = PureCloud::GenericSAML.new # GenericSAML | Provider
|
1572
|
+
|
1573
|
+
|
1574
|
+
begin
|
1575
|
+
#Update/Create Generic SAML Identity Provider
|
1576
|
+
result = api_instance.put_identityproviders_generic(body)
|
1577
|
+
p result
|
1578
|
+
rescue PureCloud::ApiError => e
|
1579
|
+
puts "Exception when calling IdentityProviderApi->put_identityproviders_generic: #{e}"
|
1580
|
+
end
|
1581
|
+
```
|
1582
|
+
|
1583
|
+
### Parameters
|
1584
|
+
|
1585
|
+
Name | Type | Description | Notes
|
1586
|
+
------------- | ------------- | ------------- | -------------
|
1587
|
+
**body** | [**GenericSAML**](GenericSAML.html)| Provider | |
|
1588
|
+
{: class="table table-striped"}
|
1589
|
+
|
1590
|
+
|
1591
|
+
### Return type
|
1592
|
+
|
1593
|
+
[**OAuthProvider**](OAuthProvider.html)
|
1594
|
+
|
1595
|
+
### HTTP request headers
|
1596
|
+
|
1597
|
+
- **Content-Type**: application/json
|
1598
|
+
- **Accept**: application/json
|
1599
|
+
|
1600
|
+
|
1601
|
+
|
1415
1602
|
<a name="put_identityproviders_gsuite"></a>
|
1416
1603
|
|
1417
1604
|
## [**OAuthProvider**](OAuthProvider.html) put_identityproviders_gsuite(body)
|
@@ -0,0 +1,13 @@
|
|
1
|
+
---
|
2
|
+
title: IpAddressAuthentication
|
3
|
+
---
|
4
|
+
## PureCloud::IpAddressAuthentication
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **network_whitelist** | **Array<String>** | | [optional] |
|
11
|
+
{: class="table table-striped"}
|
12
|
+
|
13
|
+
|
@@ -7,11 +7,11 @@ title: KnowledgeSearchResponse
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **search_id** | **String** | Search Id | [optional] |
|
10
11
|
| **total** | **Integer** | Total number of records returned | [optional] |
|
11
12
|
| **page_count** | **Integer** | Number of pages returned in the result calculated according to the pageSize and the total | [optional] |
|
12
13
|
| **page_size** | **Integer** | Number of records according to the page size | [optional] |
|
13
14
|
| **page_number** | **Integer** | Current page number for the returned records | [optional] |
|
14
|
-
| **search_id** | **String** | ID of the Search Response | [optional] |
|
15
15
|
| **results** | [**Array<KnowledgeSearchDocument>**](KnowledgeSearchDocument.html) | Results associated to the search response | [optional] |
|
16
16
|
{: class="table table-striped"}
|
17
17
|
|
data/docs/NluDomainVersion.md
CHANGED
@@ -16,6 +16,7 @@ title: NluDomainVersion
|
|
16
16
|
| **date_trained** | **DateTime** | The date when the NLU domain version was trained. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
17
17
|
| **date_published** | **DateTime** | The date when the NLU domain version was published. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
18
18
|
| **training_status** | **String** | The training status of the NLU domain version. | [optional] |
|
19
|
+
| **evaluation_status** | **String** | The evaluation status of the NLU domain version. | [optional] |
|
19
20
|
| **intents** | [**Array<IntentDefinition>**](IntentDefinition.html) | The intents defined for this NLU domain version. | [optional] |
|
20
21
|
| **entity_types** | [**Array<NamedEntityTypeDefinition>**](NamedEntityTypeDefinition.html) | The entity types defined for this NLU domain version. | [optional] |
|
21
22
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
data/docs/OAuthApi.md
CHANGED
@@ -12,10 +12,13 @@ Method | Description
|
|
12
12
|
[**get_oauth_authorization**](OAuthApi.html#get_oauth_authorization) | Get a client that is authorized by the resource owner
|
13
13
|
[**get_oauth_authorizations**](OAuthApi.html#get_oauth_authorizations) | List clients that are authorized by the resource owner
|
14
14
|
[**get_oauth_client**](OAuthApi.html#get_oauth_client) | Get OAuth Client
|
15
|
+
[**get_oauth_client_usage_query_result**](OAuthApi.html#get_oauth_client_usage_query_result) | Get the results of a usage query
|
16
|
+
[**get_oauth_client_usage_summary**](OAuthApi.html#get_oauth_client_usage_summary) | Get a summary of OAuth client API usage
|
15
17
|
[**get_oauth_clients**](OAuthApi.html#get_oauth_clients) | The list of OAuth clients
|
16
18
|
[**get_oauth_scope**](OAuthApi.html#get_oauth_scope) | An OAuth scope
|
17
19
|
[**get_oauth_scopes**](OAuthApi.html#get_oauth_scopes) | The list of OAuth scopes
|
18
20
|
[**post_oauth_client_secret**](OAuthApi.html#post_oauth_client_secret) | Regenerate Client Secret
|
21
|
+
[**post_oauth_client_usage_query**](OAuthApi.html#post_oauth_client_usage_query) | Query for OAuth client API usage
|
19
22
|
[**post_oauth_clients**](OAuthApi.html#post_oauth_clients) | Create OAuth client
|
20
23
|
[**put_oauth_client**](OAuthApi.html#put_oauth_client) | Update OAuth Client
|
21
24
|
{: class="table table-striped"}
|
@@ -273,6 +276,143 @@ Name | Type | Description | Notes
|
|
273
276
|
|
274
277
|
|
275
278
|
|
279
|
+
<a name="get_oauth_client_usage_query_result"></a>
|
280
|
+
|
281
|
+
## [**ApiUsageQueryResult**](ApiUsageQueryResult.html) get_oauth_client_usage_query_result(execution_id, client_id)
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
Get the results of a usage query
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
Wraps GET /api/v2/oauth/clients/{clientId}/usage/query/results/{executionId}
|
290
|
+
|
291
|
+
Requires ANY permissions:
|
292
|
+
|
293
|
+
* oauth:client:view
|
294
|
+
|
295
|
+
|
296
|
+
### Example
|
297
|
+
```{"language":"ruby"}
|
298
|
+
# load the gem
|
299
|
+
require 'purecloudplatformclientv2'
|
300
|
+
# setup authorization
|
301
|
+
@secret = ENV['PURECLOUD_SECRET']
|
302
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
303
|
+
environment = "mypurecloud.com"
|
304
|
+
|
305
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
306
|
+
|
307
|
+
PureCloud.configure do |config|
|
308
|
+
config.access_token = @authToken
|
309
|
+
end
|
310
|
+
|
311
|
+
api_instance = PureCloud::OAuthApi.new
|
312
|
+
|
313
|
+
execution_id = "execution_id_example" # String | ID of the query execution
|
314
|
+
|
315
|
+
client_id = "client_id_example" # String | Client ID
|
316
|
+
|
317
|
+
|
318
|
+
begin
|
319
|
+
#Get the results of a usage query
|
320
|
+
result = api_instance.get_oauth_client_usage_query_result(execution_id, client_id)
|
321
|
+
p result
|
322
|
+
rescue PureCloud::ApiError => e
|
323
|
+
puts "Exception when calling OAuthApi->get_oauth_client_usage_query_result: #{e}"
|
324
|
+
end
|
325
|
+
```
|
326
|
+
|
327
|
+
### Parameters
|
328
|
+
|
329
|
+
Name | Type | Description | Notes
|
330
|
+
------------- | ------------- | ------------- | -------------
|
331
|
+
**execution_id** | **String**| ID of the query execution | |
|
332
|
+
**client_id** | **String**| Client ID | |
|
333
|
+
{: class="table table-striped"}
|
334
|
+
|
335
|
+
|
336
|
+
### Return type
|
337
|
+
|
338
|
+
[**ApiUsageQueryResult**](ApiUsageQueryResult.html)
|
339
|
+
|
340
|
+
### HTTP request headers
|
341
|
+
|
342
|
+
- **Content-Type**: application/json
|
343
|
+
- **Accept**: application/json
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
<a name="get_oauth_client_usage_summary"></a>
|
348
|
+
|
349
|
+
## [**UsageExecutionResult**](UsageExecutionResult.html) get_oauth_client_usage_summary(client_id, opts)
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
Get a summary of OAuth client API usage
|
354
|
+
|
355
|
+
After calling this method, you will then need to poll for the query results based on the returned execution Id
|
356
|
+
|
357
|
+
Wraps GET /api/v2/oauth/clients/{clientId}/usage/summary
|
358
|
+
|
359
|
+
Requires ANY permissions:
|
360
|
+
|
361
|
+
* oauth:client:view
|
362
|
+
|
363
|
+
|
364
|
+
### Example
|
365
|
+
```{"language":"ruby"}
|
366
|
+
# load the gem
|
367
|
+
require 'purecloudplatformclientv2'
|
368
|
+
# setup authorization
|
369
|
+
@secret = ENV['PURECLOUD_SECRET']
|
370
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
371
|
+
environment = "mypurecloud.com"
|
372
|
+
|
373
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
374
|
+
|
375
|
+
PureCloud.configure do |config|
|
376
|
+
config.access_token = @authToken
|
377
|
+
end
|
378
|
+
|
379
|
+
api_instance = PureCloud::OAuthApi.new
|
380
|
+
|
381
|
+
client_id = "client_id_example" # String | Client ID
|
382
|
+
|
383
|
+
opts = {
|
384
|
+
days: "7" # String | Previous number of days to query
|
385
|
+
}
|
386
|
+
|
387
|
+
begin
|
388
|
+
#Get a summary of OAuth client API usage
|
389
|
+
result = api_instance.get_oauth_client_usage_summary(client_id, opts)
|
390
|
+
p result
|
391
|
+
rescue PureCloud::ApiError => e
|
392
|
+
puts "Exception when calling OAuthApi->get_oauth_client_usage_summary: #{e}"
|
393
|
+
end
|
394
|
+
```
|
395
|
+
|
396
|
+
### Parameters
|
397
|
+
|
398
|
+
Name | Type | Description | Notes
|
399
|
+
------------- | ------------- | ------------- | -------------
|
400
|
+
**client_id** | **String**| Client ID | |
|
401
|
+
**days** | **String**| Previous number of days to query | [optional] [default to 7] |
|
402
|
+
{: class="table table-striped"}
|
403
|
+
|
404
|
+
|
405
|
+
### Return type
|
406
|
+
|
407
|
+
[**UsageExecutionResult**](UsageExecutionResult.html)
|
408
|
+
|
409
|
+
### HTTP request headers
|
410
|
+
|
411
|
+
- **Content-Type**: application/json
|
412
|
+
- **Accept**: application/json
|
413
|
+
|
414
|
+
|
415
|
+
|
276
416
|
<a name="get_oauth_clients"></a>
|
277
417
|
|
278
418
|
## [**OAuthClientEntityListing**](OAuthClientEntityListing.html) get_oauth_clients
|
@@ -530,6 +670,74 @@ Name | Type | Description | Notes
|
|
530
670
|
|
531
671
|
|
532
672
|
|
673
|
+
<a name="post_oauth_client_usage_query"></a>
|
674
|
+
|
675
|
+
## [**UsageExecutionResult**](UsageExecutionResult.html) post_oauth_client_usage_query(client_id, body)
|
676
|
+
|
677
|
+
|
678
|
+
|
679
|
+
Query for OAuth client API usage
|
680
|
+
|
681
|
+
After calling this method, you will then need to poll for the query results based on the returned execution Id
|
682
|
+
|
683
|
+
Wraps POST /api/v2/oauth/clients/{clientId}/usage/query
|
684
|
+
|
685
|
+
Requires ANY permissions:
|
686
|
+
|
687
|
+
* oauth:client:view
|
688
|
+
|
689
|
+
|
690
|
+
### Example
|
691
|
+
```{"language":"ruby"}
|
692
|
+
# load the gem
|
693
|
+
require 'purecloudplatformclientv2'
|
694
|
+
# setup authorization
|
695
|
+
@secret = ENV['PURECLOUD_SECRET']
|
696
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
697
|
+
environment = "mypurecloud.com"
|
698
|
+
|
699
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
700
|
+
|
701
|
+
PureCloud.configure do |config|
|
702
|
+
config.access_token = @authToken
|
703
|
+
end
|
704
|
+
|
705
|
+
api_instance = PureCloud::OAuthApi.new
|
706
|
+
|
707
|
+
client_id = "client_id_example" # String | Client ID
|
708
|
+
|
709
|
+
body = PureCloud::ApiUsageQuery.new # ApiUsageQuery | Query
|
710
|
+
|
711
|
+
|
712
|
+
begin
|
713
|
+
#Query for OAuth client API usage
|
714
|
+
result = api_instance.post_oauth_client_usage_query(client_id, body)
|
715
|
+
p result
|
716
|
+
rescue PureCloud::ApiError => e
|
717
|
+
puts "Exception when calling OAuthApi->post_oauth_client_usage_query: #{e}"
|
718
|
+
end
|
719
|
+
```
|
720
|
+
|
721
|
+
### Parameters
|
722
|
+
|
723
|
+
Name | Type | Description | Notes
|
724
|
+
------------- | ------------- | ------------- | -------------
|
725
|
+
**client_id** | **String**| Client ID | |
|
726
|
+
**body** | [**ApiUsageQuery**](ApiUsageQuery.html)| Query | |
|
727
|
+
{: class="table table-striped"}
|
728
|
+
|
729
|
+
|
730
|
+
### Return type
|
731
|
+
|
732
|
+
[**UsageExecutionResult**](UsageExecutionResult.html)
|
733
|
+
|
734
|
+
### HTTP request headers
|
735
|
+
|
736
|
+
- **Content-Type**: application/json
|
737
|
+
- **Accept**: application/json
|
738
|
+
|
739
|
+
|
740
|
+
|
533
741
|
<a name="post_oauth_clients"></a>
|
534
742
|
|
535
743
|
## [**OAuthClient**](OAuthClient.html) post_oauth_clients(body)
|