purecloudplatformclientv2 88.0.0 → 89.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/ActionEntityListing.md +1 -1
- data/docs/AgentActivityEntityListing.md +1 -1
- 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/AttemptLimitsEntityListing.md +1 -1
- 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/AuthzDivisionEntityListing.md +1 -1
- data/docs/CalibrationEntityListing.md +1 -1
- data/docs/CallConversationEntityListing.md +1 -1
- data/docs/CallHistoryConversationEntityListing.md +1 -1
- data/docs/CallableTimeSetEntityListing.md +1 -1
- data/docs/CallbackConversationEntityListing.md +1 -1
- data/docs/CampaignDivisionViewListing.md +1 -1
- data/docs/CampaignEntityListing.md +1 -1
- data/docs/CampaignRuleEntityListing.md +1 -1
- data/docs/CampaignSequenceEntityListing.md +1 -1
- data/docs/CertificateAuthorityEntityListing.md +1 -1
- data/docs/ChatConversationEntityListing.md +1 -1
- data/docs/ClientAppEntityListing.md +1 -1
- data/docs/CoachingAnnotationList.md +1 -1
- data/docs/CoachingAppointmentResponseList.md +1 -1
- data/docs/CoachingNotificationList.md +1 -1
- data/docs/CobrowseConversationEntityListing.md +1 -1
- data/docs/CommandStatusEntityListing.md +1 -1
- data/docs/ConsumedResourcesEntityListing.md +1 -1
- data/docs/ConsumingResourcesEntityListing.md +1 -1
- data/docs/ContactListDivisionViewListing.md +1 -1
- data/docs/ContactListEntityListing.md +1 -1
- data/docs/ContactListFilterEntityListing.md +1 -1
- data/docs/ContactListing.md +1 -1
- data/docs/ConversationEntityListing.md +1 -1
- data/docs/CreateQueueRequest.md +1 -0
- data/docs/CredentialInfoListing.md +1 -1
- data/docs/CredentialTypeListing.md +1 -1
- data/docs/DIDEntityListing.md +1 -1
- data/docs/DIDPoolEntityListing.md +1 -1
- data/docs/DataTableRowEntityListing.md +1 -1
- data/docs/DataTablesDomainEntityListing.md +1 -1
- data/docs/DependencyObjectEntityListing.md +1 -1
- data/docs/DependencyTypeEntityListing.md +1 -1
- data/docs/DialerEventEntityListing.md +1 -1
- data/docs/DialogflowAgentSummaryEntityListing.md +1 -1
- data/docs/DirectoryUserDevicesListing.md +1 -1
- data/docs/DivsPermittedEntityListing.md +1 -1
- data/docs/DncListDivisionViewListing.md +1 -1
- data/docs/DncListEntityListing.md +1 -1
- data/docs/DocumentAuditEntityListing.md +1 -1
- data/docs/DocumentEntityListing.md +1 -1
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
- data/docs/DomainEntityListing.md +1 -1
- data/docs/DomainEntityListingEvaluationForm.md +1 -1
- data/docs/DomainEntityListingQueryResult.md +1 -1
- data/docs/DomainEntityListingSurveyForm.md +1 -1
- data/docs/DomainOrganizationRole.md +1 -1
- data/docs/DomainOrganizationRoleCreate.md +1 -1
- data/docs/DomainOrganizationRoleUpdate.md +1 -1
- data/docs/EdgeEntityListing.md +1 -1
- data/docs/EdgeGroupEntityListing.md +1 -1
- data/docs/EdgeLineEntityListing.md +1 -1
- data/docs/EmailConversationEntityListing.md +1 -1
- data/docs/EmailMessageListing.md +1 -1
- data/docs/EmergencyGroupListing.md +1 -1
- data/docs/EncryptionKeyEntityListing.md +1 -1
- data/docs/EntityListing.md +5 -1
- data/docs/EvaluationEntityListing.md +1 -1
- data/docs/EvaluationFormEntityListing.md +1 -1
- data/docs/EvaluatorActivityEntityListing.md +1 -1
- data/docs/ExtensionEntityListing.md +1 -1
- data/docs/ExtensionPoolEntityListing.md +1 -1
- data/docs/ExternalContact.md +2 -0
- data/docs/ExternalOrganization.md +2 -0
- data/docs/ExternalOrganizationListing.md +1 -1
- data/docs/FacebookIntegrationEntityListing.md +1 -1
- data/docs/FaxDocumentEntityListing.md +1 -1
- data/docs/FlowDivisionViewEntityListing.md +1 -1
- data/docs/FlowEntityListing.md +1 -1
- data/docs/FlowExecutionLaunchRequest.md +16 -0
- data/docs/FlowExecutionLaunchResponse.md +16 -0
- data/docs/FlowOutcomeListing.md +1 -1
- data/docs/FlowRuntimeExecution.md +23 -0
- data/docs/FlowVersionEntityListing.md +1 -1
- data/docs/GDPRRequestEntityListing.md +1 -1
- data/docs/GDPRSubjectEntityListing.md +1 -1
- data/docs/GenericSAML.md +22 -0
- data/docs/GreetingListing.md +1 -1
- data/docs/GroupEntityListing.md +1 -1
- data/docs/GroupProfileEntityListing.md +1 -1
- data/docs/IVREntityListing.md +1 -1
- data/docs/IdentityProviderApi.md +187 -0
- data/docs/InboundDomainEntityListing.md +1 -1
- data/docs/InboundRouteEntityListing.md +1 -1
- data/docs/IntegrationEntityListing.md +1 -1
- data/docs/IntegrationEventEntityListing.md +1 -1
- data/docs/IntegrationTypeEntityListing.md +1 -1
- data/docs/InteractionStatsAlertContainer.md +1 -1
- data/docs/InteractionStatsRuleContainer.md +1 -1
- data/docs/IpAddressAuthentication.md +13 -0
- data/docs/KeywordSetEntityListing.md +1 -1
- data/docs/KnowledgeSearchResponse.md +1 -1
- data/docs/LanguageEntityListing.md +1 -1
- data/docs/LexBotAliasEntityListing.md +1 -1
- data/docs/LexBotEntityListing.md +1 -1
- data/docs/LibraryEntityListing.md +1 -1
- data/docs/LineBaseEntityListing.md +1 -1
- data/docs/LineEntityListing.md +1 -1
- data/docs/LineIntegrationEntityListing.md +1 -1
- data/docs/LocationEntityListing.md +1 -1
- data/docs/LogicalInterfaceEntityListing.md +1 -1
- data/docs/ManagementUnitListing.md +1 -1
- data/docs/MessageConversationEntityListing.md +1 -1
- data/docs/MessagingIntegrationEntityListing.md +1 -1
- data/docs/MessagingStickerEntityListing.md +1 -1
- data/docs/NluDomainListing.md +1 -1
- data/docs/NluDomainVersion.md +1 -0
- data/docs/NluDomainVersionListing.md +1 -1
- data/docs/NluFeedbackListing.md +1 -1
- data/docs/NoteListing.md +1 -1
- data/docs/OAuthApi.md +208 -0
- data/docs/OAuthClientEntityListing.md +1 -1
- data/docs/OAuthProviderEntityListing.md +1 -1
- data/docs/OrganizationApi.md +126 -0
- data/docs/OrganizationPresenceEntityListing.md +1 -1
- data/docs/OrganizationRoleEntityListing.md +1 -1
- data/docs/OrphanRecordingListing.md +1 -1
- data/docs/OutboundRouteBaseEntityListing.md +1 -1
- data/docs/OutboundRouteEntityListing.md +1 -1
- data/docs/PermissionCollectionEntityListing.md +1 -1
- data/docs/PhoneBaseEntityListing.md +1 -1
- data/docs/PhoneEntityListing.md +1 -1
- data/docs/PhoneMetaBaseEntityListing.md +1 -1
- data/docs/PhysicalInterfaceEntityListing.md +1 -1
- data/docs/PolicyEntityListing.md +1 -1
- data/docs/Prompt.md +2 -2
- data/docs/PromptAssetEntityListing.md +1 -1
- data/docs/PromptEntityListing.md +1 -1
- data/docs/QualityAuditPage.md +1 -1
- data/docs/Queue.md +1 -0
- data/docs/QueueEntityListing.md +1 -1
- data/docs/QueueMemberEntityListing.md +1 -1
- data/docs/QueueRequest.md +1 -0
- data/docs/RecipientListing.md +1 -1
- data/docs/RecordingApi.md +12 -0
- data/docs/RecordingJobEntityListing.md +1 -1
- data/docs/RelationshipListing.md +1 -1
- data/docs/ReportMetaDataEntityListing.md +1 -1
- data/docs/ReportRunEntryEntityDomainListing.md +1 -1
- data/docs/ReportScheduleEntityListing.md +1 -1
- data/docs/ReportingExportJobListing.md +1 -1
- data/docs/ReportingExportMetadataJobListing.md +1 -1
- data/docs/ResponseEntityList.md +1 -1
- data/docs/ResponseEntityListing.md +1 -1
- data/docs/ResponseSetEntityListing.md +1 -1
- data/docs/RuleSetEntityListing.md +1 -1
- data/docs/SCIMApi.md +12 -24
- data/docs/ScheduleEntityListing.md +1 -1
- data/docs/ScheduleGroupEntityListing.md +1 -1
- data/docs/SchemaCategoryEntityListing.md +1 -1
- data/docs/SchemaReferenceEntityListing.md +1 -1
- data/docs/ScreenRecordingSessionListing.md +1 -1
- data/docs/ScriptEntityListing.md +1 -1
- data/docs/SecurityProfileEntityListing.md +1 -1
- data/docs/ShareEntityListing.md +1 -1
- data/docs/SiteEntityListing.md +1 -1
- data/docs/SkillEntityListing.md +1 -1
- data/docs/SmsAddressEntityListing.md +1 -1
- data/docs/SmsPhoneNumberEntityListing.md +1 -1
- data/docs/StationEntityListing.md +1 -1
- data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
- data/docs/SurveyFormEntityListing.md +1 -1
- data/docs/SystemPromptAssetEntityListing.md +1 -1
- data/docs/SystemPromptEntityListing.md +1 -1
- data/docs/TagValueEntityListing.md +1 -1
- data/docs/TextMessageListing.md +1 -1
- data/docs/TimeZoneEntityListing.md +1 -1
- data/docs/TrunkBaseEntityListing.md +1 -1
- data/docs/TrunkEntityListing.md +1 -1
- data/docs/TrunkMetabaseEntityListing.md +1 -1
- data/docs/TrustEntityListing.md +1 -1
- data/docs/TrustUserEntityListing.md +1 -1
- data/docs/TrustorEntityListing.md +1 -1
- data/docs/TtsEngineEntityListing.md +1 -1
- data/docs/TtsVoiceEntityListing.md +1 -1
- data/docs/TwitterIntegrationEntityListing.md +1 -1
- data/docs/UploadUrlRequest.md +1 -0
- data/docs/UsageApi.md +144 -0
- data/docs/UsageExecutionResult.md +14 -0
- data/docs/UserActionCategoryEntityListing.md +1 -1
- data/docs/UserAppEntityListing.md +1 -1
- data/docs/UserEntityListing.md +1 -1
- data/docs/UserLanguageEntityListing.md +1 -1
- data/docs/UserProfileEntityListing.md +1 -1
- data/docs/UserQueue.md +1 -0
- data/docs/UserQueueEntityListing.md +1 -1
- data/docs/UserRecordingEntityListing.md +1 -1
- data/docs/UserSkillEntityListing.md +1 -1
- data/docs/VoicemailMessageEntityListing.md +1 -1
- data/docs/WebChatMemberInfoEntityList.md +1 -1
- data/docs/WhatsAppIntegrationEntityListing.md +1 -1
- data/docs/WorkspaceEntityListing.md +1 -1
- data/docs/WorkspaceMemberEntityListing.md +1 -1
- data/docs/WrapupCodeEntityListing.md +1 -1
- data/lib/purecloudplatformclientv2.rb +14 -0
- data/lib/purecloudplatformclientv2/api/architect_api.rb +130 -0
- data/lib/purecloudplatformclientv2/api/audit_api.rb +55 -0
- 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/scim_api.rb +8 -8
- data/lib/purecloudplatformclientv2/api/usage_api.rb +157 -0
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +14 -14
- 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/attempt_limits_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/audit_query_entity.rb +244 -0
- data/lib/purecloudplatformclientv2/models/audit_query_execution_status_response.rb +32 -4
- data/lib/purecloudplatformclientv2/models/audit_query_request.rb +32 -4
- 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/authz_division_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/coaching_annotation_list.rb +14 -14
- data/lib/purecloudplatformclientv2/models/coaching_appointment_response_list.rb +14 -14
- data/lib/purecloudplatformclientv2/models/coaching_notification_list.rb +14 -14
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/create_queue_request.rb +29 -1
- data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/divs_permitted_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +14 -14
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +14 -14
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +14 -14
- data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +12 -12
- data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/entity_listing.rb +104 -4
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/external_contact.rb +55 -1
- data/lib/purecloudplatformclientv2/models/external_organization.rb +55 -1
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +14 -14
- 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_outcome_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/flow_runtime_execution.rb +494 -0
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/generic_saml.rb +428 -0
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +14 -14
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +14 -14
- data/lib/purecloudplatformclientv2/models/ip_address_authentication.rb +203 -0
- data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/knowledge_search_response.rb +18 -18
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/nlu_domain_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/nlu_domain_version.rb +41 -1
- data/lib/purecloudplatformclientv2/models/nlu_domain_version_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/nlu_feedback_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/note_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/prompt.rb +2 -0
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +14 -14
- data/lib/purecloudplatformclientv2/models/queue.rb +29 -1
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/queue_request.rb +29 -1
- data/lib/purecloudplatformclientv2/models/recipient_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/reporting_export_metadata_job_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +14 -14
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/sms_address_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/text_message_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +14 -14
- 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_action_category_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_app_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_queue.rb +29 -1
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/web_chat_member_info_entity_list.rb +14 -14
- data/lib/purecloudplatformclientv2/models/whats_app_integration_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +30 -2
@@ -273,6 +273,155 @@ module PureCloud
|
|
273
273
|
return data, status_code, headers
|
274
274
|
end
|
275
275
|
|
276
|
+
# Get the results of a usage query
|
277
|
+
#
|
278
|
+
# @param execution_id ID of the query execution
|
279
|
+
# @param client_id Client ID
|
280
|
+
# @param [Hash] opts the optional parameters
|
281
|
+
# @return [ApiUsageQueryResult]
|
282
|
+
def get_oauth_client_usage_query_result(execution_id, client_id, opts = {})
|
283
|
+
data, _status_code, _headers = get_oauth_client_usage_query_result_with_http_info(execution_id, client_id, opts)
|
284
|
+
return data
|
285
|
+
end
|
286
|
+
|
287
|
+
# Get the results of a usage query
|
288
|
+
#
|
289
|
+
# @param execution_id ID of the query execution
|
290
|
+
# @param client_id Client ID
|
291
|
+
# @param [Hash] opts the optional parameters
|
292
|
+
# @return [Array<(ApiUsageQueryResult, Fixnum, Hash)>] ApiUsageQueryResult data, response status code and response headers
|
293
|
+
def get_oauth_client_usage_query_result_with_http_info(execution_id, client_id, opts = {})
|
294
|
+
if @api_client.config.debugging
|
295
|
+
@api_client.config.logger.debug "Calling API: OAuthApi.get_oauth_client_usage_query_result ..."
|
296
|
+
end
|
297
|
+
|
298
|
+
|
299
|
+
# verify the required parameter 'execution_id' is set
|
300
|
+
fail ArgumentError, "Missing the required parameter 'execution_id' when calling OAuthApi.get_oauth_client_usage_query_result" if execution_id.nil?
|
301
|
+
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
# verify the required parameter 'client_id' is set
|
308
|
+
fail ArgumentError, "Missing the required parameter 'client_id' when calling OAuthApi.get_oauth_client_usage_query_result" if client_id.nil?
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
# resource path
|
315
|
+
local_var_path = "/api/v2/oauth/clients/{clientId}/usage/query/results/{executionId}".sub('{format}','json').sub('{' + 'executionId' + '}', execution_id.to_s).sub('{' + 'clientId' + '}', client_id.to_s)
|
316
|
+
|
317
|
+
# query parameters
|
318
|
+
query_params = {}
|
319
|
+
|
320
|
+
# header parameters
|
321
|
+
header_params = {}
|
322
|
+
|
323
|
+
# HTTP header 'Accept' (if needed)
|
324
|
+
local_header_accept = ['application/json']
|
325
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
326
|
+
|
327
|
+
# HTTP header 'Content-Type'
|
328
|
+
local_header_content_type = ['application/json']
|
329
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
330
|
+
|
331
|
+
# form parameters
|
332
|
+
form_params = {}
|
333
|
+
|
334
|
+
# http body (model)
|
335
|
+
post_body = nil
|
336
|
+
|
337
|
+
auth_names = ['PureCloud OAuth']
|
338
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
339
|
+
:header_params => header_params,
|
340
|
+
:query_params => query_params,
|
341
|
+
:form_params => form_params,
|
342
|
+
:body => post_body,
|
343
|
+
:auth_names => auth_names,
|
344
|
+
:return_type => 'ApiUsageQueryResult')
|
345
|
+
if @api_client.config.debugging
|
346
|
+
@api_client.config.logger.debug "API called: OAuthApi#get_oauth_client_usage_query_result\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
347
|
+
end
|
348
|
+
return data, status_code, headers
|
349
|
+
end
|
350
|
+
|
351
|
+
# Get a summary of OAuth client API usage
|
352
|
+
# After calling this method, you will then need to poll for the query results based on the returned execution Id
|
353
|
+
# @param client_id Client ID
|
354
|
+
# @param [Hash] opts the optional parameters
|
355
|
+
# @option opts [String] :days Previous number of days to query (default to 7)
|
356
|
+
# @return [UsageExecutionResult]
|
357
|
+
def get_oauth_client_usage_summary(client_id, opts = {})
|
358
|
+
data, _status_code, _headers = get_oauth_client_usage_summary_with_http_info(client_id, opts)
|
359
|
+
return data
|
360
|
+
end
|
361
|
+
|
362
|
+
# Get a summary of OAuth client API usage
|
363
|
+
# After calling this method, you will then need to poll for the query results based on the returned execution Id
|
364
|
+
# @param client_id Client ID
|
365
|
+
# @param [Hash] opts the optional parameters
|
366
|
+
# @option opts [String] :days Previous number of days to query
|
367
|
+
# @return [Array<(UsageExecutionResult, Fixnum, Hash)>] UsageExecutionResult data, response status code and response headers
|
368
|
+
def get_oauth_client_usage_summary_with_http_info(client_id, opts = {})
|
369
|
+
if @api_client.config.debugging
|
370
|
+
@api_client.config.logger.debug "Calling API: OAuthApi.get_oauth_client_usage_summary ..."
|
371
|
+
end
|
372
|
+
|
373
|
+
|
374
|
+
# verify the required parameter 'client_id' is set
|
375
|
+
fail ArgumentError, "Missing the required parameter 'client_id' when calling OAuthApi.get_oauth_client_usage_summary" if client_id.nil?
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
|
380
|
+
|
381
|
+
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
# resource path
|
388
|
+
local_var_path = "/api/v2/oauth/clients/{clientId}/usage/summary".sub('{format}','json').sub('{' + 'clientId' + '}', client_id.to_s)
|
389
|
+
|
390
|
+
# query parameters
|
391
|
+
query_params = {}
|
392
|
+
query_params[:'days'] = opts[:'days'] if opts[:'days']
|
393
|
+
|
394
|
+
# header parameters
|
395
|
+
header_params = {}
|
396
|
+
|
397
|
+
# HTTP header 'Accept' (if needed)
|
398
|
+
local_header_accept = ['application/json']
|
399
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
400
|
+
|
401
|
+
# HTTP header 'Content-Type'
|
402
|
+
local_header_content_type = ['application/json']
|
403
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
404
|
+
|
405
|
+
# form parameters
|
406
|
+
form_params = {}
|
407
|
+
|
408
|
+
# http body (model)
|
409
|
+
post_body = nil
|
410
|
+
|
411
|
+
auth_names = ['PureCloud OAuth']
|
412
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
413
|
+
:header_params => header_params,
|
414
|
+
:query_params => query_params,
|
415
|
+
:form_params => form_params,
|
416
|
+
:body => post_body,
|
417
|
+
:auth_names => auth_names,
|
418
|
+
:return_type => 'UsageExecutionResult')
|
419
|
+
if @api_client.config.debugging
|
420
|
+
@api_client.config.logger.debug "API called: OAuthApi#get_oauth_client_usage_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
421
|
+
end
|
422
|
+
return data, status_code, headers
|
423
|
+
end
|
424
|
+
|
276
425
|
# The list of OAuth clients
|
277
426
|
#
|
278
427
|
# @param [Hash] opts the optional parameters
|
@@ -531,6 +680,81 @@ module PureCloud
|
|
531
680
|
return data, status_code, headers
|
532
681
|
end
|
533
682
|
|
683
|
+
# Query for OAuth client API usage
|
684
|
+
# After calling this method, you will then need to poll for the query results based on the returned execution Id
|
685
|
+
# @param client_id Client ID
|
686
|
+
# @param body Query
|
687
|
+
# @param [Hash] opts the optional parameters
|
688
|
+
# @return [UsageExecutionResult]
|
689
|
+
def post_oauth_client_usage_query(client_id, body, opts = {})
|
690
|
+
data, _status_code, _headers = post_oauth_client_usage_query_with_http_info(client_id, body, opts)
|
691
|
+
return data
|
692
|
+
end
|
693
|
+
|
694
|
+
# Query for OAuth client API usage
|
695
|
+
# After calling this method, you will then need to poll for the query results based on the returned execution Id
|
696
|
+
# @param client_id Client ID
|
697
|
+
# @param body Query
|
698
|
+
# @param [Hash] opts the optional parameters
|
699
|
+
# @return [Array<(UsageExecutionResult, Fixnum, Hash)>] UsageExecutionResult data, response status code and response headers
|
700
|
+
def post_oauth_client_usage_query_with_http_info(client_id, body, opts = {})
|
701
|
+
if @api_client.config.debugging
|
702
|
+
@api_client.config.logger.debug "Calling API: OAuthApi.post_oauth_client_usage_query ..."
|
703
|
+
end
|
704
|
+
|
705
|
+
|
706
|
+
# verify the required parameter 'client_id' is set
|
707
|
+
fail ArgumentError, "Missing the required parameter 'client_id' when calling OAuthApi.post_oauth_client_usage_query" if client_id.nil?
|
708
|
+
|
709
|
+
|
710
|
+
|
711
|
+
|
712
|
+
|
713
|
+
|
714
|
+
# verify the required parameter 'body' is set
|
715
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling OAuthApi.post_oauth_client_usage_query" if body.nil?
|
716
|
+
|
717
|
+
|
718
|
+
|
719
|
+
|
720
|
+
|
721
|
+
# resource path
|
722
|
+
local_var_path = "/api/v2/oauth/clients/{clientId}/usage/query".sub('{format}','json').sub('{' + 'clientId' + '}', client_id.to_s)
|
723
|
+
|
724
|
+
# query parameters
|
725
|
+
query_params = {}
|
726
|
+
|
727
|
+
# header parameters
|
728
|
+
header_params = {}
|
729
|
+
|
730
|
+
# HTTP header 'Accept' (if needed)
|
731
|
+
local_header_accept = ['application/json']
|
732
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
733
|
+
|
734
|
+
# HTTP header 'Content-Type'
|
735
|
+
local_header_content_type = ['application/json']
|
736
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
737
|
+
|
738
|
+
# form parameters
|
739
|
+
form_params = {}
|
740
|
+
|
741
|
+
# http body (model)
|
742
|
+
post_body = @api_client.object_to_http_body(body)
|
743
|
+
|
744
|
+
auth_names = ['PureCloud OAuth']
|
745
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
746
|
+
:header_params => header_params,
|
747
|
+
:query_params => query_params,
|
748
|
+
:form_params => form_params,
|
749
|
+
:body => post_body,
|
750
|
+
:auth_names => auth_names,
|
751
|
+
:return_type => 'UsageExecutionResult')
|
752
|
+
if @api_client.config.debugging
|
753
|
+
@api_client.config.logger.debug "API called: OAuthApi#post_oauth_client_usage_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
754
|
+
end
|
755
|
+
return data, status_code, headers
|
756
|
+
end
|
757
|
+
|
534
758
|
# Create OAuth client
|
535
759
|
# The OAuth Grant/Client is required in order to create an authentication token and gain access to PureCloud. The preferred authorizedGrantTypes is 'CODE' which requires applications to send a client ID and client secret. This is typically a web server. If the client is unable to secure the client secret then the 'TOKEN' grant type aka IMPLICIT should be used. This is would be for browser or mobile apps. If a client is to be used outside of the context of a user then the 'CLIENT-CREDENTIALS' grant may be used. In this case the client must be granted roles via the 'roleIds' field.
|
536
760
|
# @param body Client
|
@@ -150,6 +150,61 @@ module PureCloud
|
|
150
150
|
return data, status_code, headers
|
151
151
|
end
|
152
152
|
|
153
|
+
# Get organization IP address whitelist settings
|
154
|
+
#
|
155
|
+
# @param [Hash] opts the optional parameters
|
156
|
+
# @return [IpAddressAuthentication]
|
157
|
+
def get_organizations_ipaddressauthentication(opts = {})
|
158
|
+
data, _status_code, _headers = get_organizations_ipaddressauthentication_with_http_info(opts)
|
159
|
+
return data
|
160
|
+
end
|
161
|
+
|
162
|
+
# Get organization IP address whitelist settings
|
163
|
+
#
|
164
|
+
# @param [Hash] opts the optional parameters
|
165
|
+
# @return [Array<(IpAddressAuthentication, Fixnum, Hash)>] IpAddressAuthentication data, response status code and response headers
|
166
|
+
def get_organizations_ipaddressauthentication_with_http_info(opts = {})
|
167
|
+
if @api_client.config.debugging
|
168
|
+
@api_client.config.logger.debug "Calling API: OrganizationApi.get_organizations_ipaddressauthentication ..."
|
169
|
+
end
|
170
|
+
|
171
|
+
# resource path
|
172
|
+
local_var_path = "/api/v2/organizations/ipaddressauthentication".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 => 'IpAddressAuthentication')
|
202
|
+
if @api_client.config.debugging
|
203
|
+
@api_client.config.logger.debug "API called: OrganizationApi#get_organizations_ipaddressauthentication\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
204
|
+
end
|
205
|
+
return data, status_code, headers
|
206
|
+
end
|
207
|
+
|
153
208
|
# Get organization.
|
154
209
|
#
|
155
210
|
# @param [Hash] opts the optional parameters
|
@@ -405,6 +460,71 @@ module PureCloud
|
|
405
460
|
return data, status_code, headers
|
406
461
|
end
|
407
462
|
|
463
|
+
# Update organization IP address whitelist settings
|
464
|
+
#
|
465
|
+
# @param body IP address Whitelist settings
|
466
|
+
# @param [Hash] opts the optional parameters
|
467
|
+
# @return [IpAddressAuthentication]
|
468
|
+
def put_organizations_ipaddressauthentication(body, opts = {})
|
469
|
+
data, _status_code, _headers = put_organizations_ipaddressauthentication_with_http_info(body, opts)
|
470
|
+
return data
|
471
|
+
end
|
472
|
+
|
473
|
+
# Update organization IP address whitelist settings
|
474
|
+
#
|
475
|
+
# @param body IP address Whitelist settings
|
476
|
+
# @param [Hash] opts the optional parameters
|
477
|
+
# @return [Array<(IpAddressAuthentication, Fixnum, Hash)>] IpAddressAuthentication data, response status code and response headers
|
478
|
+
def put_organizations_ipaddressauthentication_with_http_info(body, opts = {})
|
479
|
+
if @api_client.config.debugging
|
480
|
+
@api_client.config.logger.debug "Calling API: OrganizationApi.put_organizations_ipaddressauthentication ..."
|
481
|
+
end
|
482
|
+
|
483
|
+
|
484
|
+
# verify the required parameter 'body' is set
|
485
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling OrganizationApi.put_organizations_ipaddressauthentication" if body.nil?
|
486
|
+
|
487
|
+
|
488
|
+
|
489
|
+
|
490
|
+
|
491
|
+
# resource path
|
492
|
+
local_var_path = "/api/v2/organizations/ipaddressauthentication".sub('{format}','json')
|
493
|
+
|
494
|
+
# query parameters
|
495
|
+
query_params = {}
|
496
|
+
|
497
|
+
# header parameters
|
498
|
+
header_params = {}
|
499
|
+
|
500
|
+
# HTTP header 'Accept' (if needed)
|
501
|
+
local_header_accept = ['application/json']
|
502
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
503
|
+
|
504
|
+
# HTTP header 'Content-Type'
|
505
|
+
local_header_content_type = ['application/json']
|
506
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
507
|
+
|
508
|
+
# form parameters
|
509
|
+
form_params = {}
|
510
|
+
|
511
|
+
# http body (model)
|
512
|
+
post_body = @api_client.object_to_http_body(body)
|
513
|
+
|
514
|
+
auth_names = ['PureCloud OAuth']
|
515
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
516
|
+
:header_params => header_params,
|
517
|
+
:query_params => query_params,
|
518
|
+
:form_params => form_params,
|
519
|
+
:body => post_body,
|
520
|
+
:auth_names => auth_names,
|
521
|
+
:return_type => 'IpAddressAuthentication')
|
522
|
+
if @api_client.config.debugging
|
523
|
+
@api_client.config.logger.debug "API called: OrganizationApi#put_organizations_ipaddressauthentication\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
524
|
+
end
|
525
|
+
return data, status_code, headers
|
526
|
+
end
|
527
|
+
|
408
528
|
# Update organization.
|
409
529
|
#
|
410
530
|
# @param [Hash] opts the optional parameters
|
@@ -372,6 +372,9 @@ module PureCloud
|
|
372
372
|
# @param recording_id Recording ID
|
373
373
|
# @param [Hash] opts the optional parameters
|
374
374
|
# @option opts [String] :format_id The desired media format. (default to WEBM)
|
375
|
+
# @option opts [String] :email_format_id The desired media format when downloading an email recording. (default to EML)
|
376
|
+
# @option opts [String] :chat_format_id The desired media format when downloading a chat recording. (default to ZIP)
|
377
|
+
# @option opts [String] :message_format_id The desired media format when downloading a message recording. (default to ZIP)
|
375
378
|
# @option opts [BOOLEAN] :download requesting a download format of the recording (default to false)
|
376
379
|
# @option opts [String] :file_name the name of the downloaded fileName
|
377
380
|
# @option opts [String] :locale The locale for the requested file when downloading, as an ISO 639-1 code
|
@@ -387,6 +390,9 @@ module PureCloud
|
|
387
390
|
# @param recording_id Recording ID
|
388
391
|
# @param [Hash] opts the optional parameters
|
389
392
|
# @option opts [String] :format_id The desired media format.
|
393
|
+
# @option opts [String] :email_format_id The desired media format when downloading an email recording.
|
394
|
+
# @option opts [String] :chat_format_id The desired media format when downloading a chat recording.
|
395
|
+
# @option opts [String] :message_format_id The desired media format when downloading a message recording.
|
390
396
|
# @option opts [BOOLEAN] :download requesting a download format of the recording
|
391
397
|
# @option opts [String] :file_name the name of the downloaded fileName
|
392
398
|
# @option opts [String] :locale The locale for the requested file when downloading, as an ISO 639-1 code
|
@@ -425,6 +431,36 @@ module PureCloud
|
|
425
431
|
|
426
432
|
|
427
433
|
|
434
|
+
if opts[:'email_format_id'] && !['EML', 'NONE'].include?(opts[:'email_format_id'])
|
435
|
+
fail ArgumentError, 'invalid value for "email_format_id", must be one of EML, NONE'
|
436
|
+
end
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
|
441
|
+
|
442
|
+
|
443
|
+
|
444
|
+
if opts[:'chat_format_id'] && !['ZIP', 'NONE'].include?(opts[:'chat_format_id'])
|
445
|
+
fail ArgumentError, 'invalid value for "chat_format_id", must be one of ZIP, NONE'
|
446
|
+
end
|
447
|
+
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
|
452
|
+
|
453
|
+
|
454
|
+
if opts[:'message_format_id'] && !['ZIP', 'NONE'].include?(opts[:'message_format_id'])
|
455
|
+
fail ArgumentError, 'invalid value for "message_format_id", must be one of ZIP, NONE'
|
456
|
+
end
|
457
|
+
|
458
|
+
|
459
|
+
|
460
|
+
|
461
|
+
|
462
|
+
|
463
|
+
|
428
464
|
|
429
465
|
|
430
466
|
|
@@ -446,6 +482,9 @@ module PureCloud
|
|
446
482
|
# query parameters
|
447
483
|
query_params = {}
|
448
484
|
query_params[:'formatId'] = opts[:'format_id'] if opts[:'format_id']
|
485
|
+
query_params[:'emailFormatId'] = opts[:'email_format_id'] if opts[:'email_format_id']
|
486
|
+
query_params[:'chatFormatId'] = opts[:'chat_format_id'] if opts[:'chat_format_id']
|
487
|
+
query_params[:'messageFormatId'] = opts[:'message_format_id'] if opts[:'message_format_id']
|
449
488
|
query_params[:'download'] = opts[:'download'] if opts[:'download']
|
450
489
|
query_params[:'fileName'] = opts[:'file_name'] if opts[:'file_name']
|
451
490
|
query_params[:'locale'] = opts[:'locale'] if opts[:'locale']
|
@@ -938,6 +977,9 @@ module PureCloud
|
|
938
977
|
# @param orphan_id Orphan ID
|
939
978
|
# @param [Hash] opts the optional parameters
|
940
979
|
# @option opts [String] :format_id The desired media format. (default to WEBM)
|
980
|
+
# @option opts [String] :email_format_id The desired media format when downloading an email recording. (default to EML)
|
981
|
+
# @option opts [String] :chat_format_id The desired media format when downloading a chat recording. (default to ZIP)
|
982
|
+
# @option opts [String] :message_format_id The desired media format when downloading a message recording. (default to ZIP)
|
941
983
|
# @option opts [BOOLEAN] :download requesting a download format of the recording (default to false)
|
942
984
|
# @option opts [String] :file_name the name of the downloaded fileName
|
943
985
|
# @option opts [String] :locale The locale for the requested file when downloading, as an ISO 639-1 code
|
@@ -952,6 +994,9 @@ module PureCloud
|
|
952
994
|
# @param orphan_id Orphan ID
|
953
995
|
# @param [Hash] opts the optional parameters
|
954
996
|
# @option opts [String] :format_id The desired media format.
|
997
|
+
# @option opts [String] :email_format_id The desired media format when downloading an email recording.
|
998
|
+
# @option opts [String] :chat_format_id The desired media format when downloading a chat recording.
|
999
|
+
# @option opts [String] :message_format_id The desired media format when downloading a message recording.
|
955
1000
|
# @option opts [BOOLEAN] :download requesting a download format of the recording
|
956
1001
|
# @option opts [String] :file_name the name of the downloaded fileName
|
957
1002
|
# @option opts [String] :locale The locale for the requested file when downloading, as an ISO 639-1 code
|
@@ -982,6 +1027,36 @@ module PureCloud
|
|
982
1027
|
|
983
1028
|
|
984
1029
|
|
1030
|
+
if opts[:'email_format_id'] && !['EML', 'NONE'].include?(opts[:'email_format_id'])
|
1031
|
+
fail ArgumentError, 'invalid value for "email_format_id", must be one of EML, NONE'
|
1032
|
+
end
|
1033
|
+
|
1034
|
+
|
1035
|
+
|
1036
|
+
|
1037
|
+
|
1038
|
+
|
1039
|
+
|
1040
|
+
if opts[:'chat_format_id'] && !['ZIP', 'NONE'].include?(opts[:'chat_format_id'])
|
1041
|
+
fail ArgumentError, 'invalid value for "chat_format_id", must be one of ZIP, NONE'
|
1042
|
+
end
|
1043
|
+
|
1044
|
+
|
1045
|
+
|
1046
|
+
|
1047
|
+
|
1048
|
+
|
1049
|
+
|
1050
|
+
if opts[:'message_format_id'] && !['ZIP', 'NONE'].include?(opts[:'message_format_id'])
|
1051
|
+
fail ArgumentError, 'invalid value for "message_format_id", must be one of ZIP, NONE'
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
|
1055
|
+
|
1056
|
+
|
1057
|
+
|
1058
|
+
|
1059
|
+
|
985
1060
|
|
986
1061
|
|
987
1062
|
|
@@ -1003,6 +1078,9 @@ module PureCloud
|
|
1003
1078
|
# query parameters
|
1004
1079
|
query_params = {}
|
1005
1080
|
query_params[:'formatId'] = opts[:'format_id'] if opts[:'format_id']
|
1081
|
+
query_params[:'emailFormatId'] = opts[:'email_format_id'] if opts[:'email_format_id']
|
1082
|
+
query_params[:'chatFormatId'] = opts[:'chat_format_id'] if opts[:'chat_format_id']
|
1083
|
+
query_params[:'messageFormatId'] = opts[:'message_format_id'] if opts[:'message_format_id']
|
1006
1084
|
query_params[:'download'] = opts[:'download'] if opts[:'download']
|
1007
1085
|
query_params[:'fileName'] = opts[:'file_name'] if opts[:'file_name']
|
1008
1086
|
query_params[:'locale'] = opts[:'locale'] if opts[:'locale']
|