purecloudplatformclientv2 66.0.0 → 71.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/AnalyticsSession.md +1 -0
- data/docs/ArchitectApi.md +21 -17
- data/docs/AttemptLimitsEntityListing.md +1 -1
- data/docs/AuthorizationApi.md +140 -0
- data/docs/AuthzDivisionEntityListing.md +1 -1
- data/docs/BuSearchAgentSchedulesRequest.md +15 -0
- data/docs/CalibrationEntityListing.md +1 -1
- data/docs/CallConversationEntityListing.md +1 -1
- data/docs/CallHistoryConversationEntityListing.md +1 -1
- data/docs/CallMediaParticipant.md +2 -0
- data/docs/CallableTimeSetEntityListing.md +1 -1
- data/docs/CallbackConversationEntityListing.md +1 -1
- data/docs/CallbackMediaParticipant.md +2 -0
- 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/ChatMediaParticipant.md +2 -0
- data/docs/ClientAppEntityListing.md +1 -1
- data/docs/CobrowseConversationEntityListing.md +1 -1
- data/docs/CobrowseMediaParticipant.md +2 -0
- data/docs/CommandStatusEntityListing.md +1 -1
- data/docs/ConsumedResourcesEntityListing.md +1 -1
- data/docs/ConsumingResourcesEntityListing.md +1 -1
- data/docs/ContactCenterSettings.md +13 -0
- 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/ConversationAggregationQuery.md +1 -0
- data/docs/ConversationCallEventTopicCallConversation.md +1 -0
- data/docs/ConversationCallEventTopicCallMediaParticipant.md +2 -0
- data/docs/ConversationCallbackEventTopicCallbackMediaParticipant.md +2 -0
- data/docs/ConversationChatEventTopicChatMediaParticipant.md +2 -0
- data/docs/ConversationCobrowseEventTopicCobrowseMediaParticipant.md +2 -0
- data/docs/ConversationDeletionProtectionQuery.md +13 -0
- data/docs/ConversationEmailEventTopicEmailMediaParticipant.md +2 -0
- data/docs/ConversationEntityListing.md +1 -1
- data/docs/ConversationEventTopicParticipant.md +2 -0
- data/docs/ConversationMessageEventTopicMessageMediaParticipant.md +2 -0
- data/docs/ConversationScreenShareEventTopicScreenShareMediaParticipant.md +2 -0
- data/docs/ConversationSocialExpressionEventTopicSocialMediaParticipant.md +2 -0
- data/docs/ConversationVideoEventTopicVideoMediaParticipant.md +2 -0
- data/docs/ConversationsApi.md +198 -0
- data/docs/CreateManagementUnitApiRequest.md +1 -1
- data/docs/{CreateManagementUnitSettings.md → CreateManagementUnitSettingsRequest.md} +3 -3
- data/docs/CreateWorkPlan.md +1 -0
- data/docs/CreateWorkPlanShift.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/DialerResponsesetConfigChangeResponseSet.md +1 -0
- data/docs/DialogflowAgentSummaryEntityListing.md +1 -1
- data/docs/DirectoryUserDevicesListing.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/DomainEdgeSoftwareVersionDto.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/DomainLogicalInterface.md +4 -0
- 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/EmailMediaParticipant.md +2 -0
- data/docs/EmailMessageListing.md +1 -1
- data/docs/EmergencyGroupListing.md +1 -1
- data/docs/EncryptionKeyEntityListing.md +1 -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/ExternalOrganizationListing.md +1 -1
- data/docs/FacebookIntegrationEntityListing.md +1 -1
- data/docs/FaxDocumentEntityListing.md +1 -1
- data/docs/FlowAggregationQuery.md +1 -0
- data/docs/FlowDivisionView.md +2 -0
- data/docs/FlowDivisionViewEntityListing.md +1 -1
- data/docs/FlowEntityListing.md +1 -1
- data/docs/FlowOutcomeListing.md +1 -1
- data/docs/FlowVersionEntityListing.md +1 -1
- data/docs/GDPRRequestEntityListing.md +1 -1
- data/docs/GDPRSubjectEntityListing.md +1 -1
- 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/InboundDomainEntityListing.md +1 -1
- data/docs/InboundRouteEntityListing.md +1 -1
- data/docs/IntegrationEntityListing.md +1 -1
- data/docs/IntegrationEventEntityListing.md +1 -1
- data/docs/IntegrationType.md +1 -0
- data/docs/IntegrationTypeEntityListing.md +1 -1
- data/docs/InteractionStatsAlertContainer.md +1 -1
- data/docs/InteractionStatsRuleContainer.md +1 -1
- data/docs/KeywordSetEntityListing.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/LocationAddressVerificationDetails.md +16 -0
- data/docs/LocationCreateDefinition.md +20 -0
- data/docs/LocationDefinition.md +12 -9
- data/docs/LocationEntityListing.md +1 -1
- data/docs/LocationUpdateDefinition.md +20 -0
- data/docs/LocationsApi.md +6 -6
- data/docs/LogicalInterfaceEntityListing.md +1 -1
- data/docs/ManagementUnit.md +1 -1
- data/docs/ManagementUnitListing.md +1 -1
- data/docs/{UserExternalIdentifier.md → ManagementUnitReference.md} +3 -4
- data/docs/{ManagementUnitSettings.md → ManagementUnitSettingsRequest.md} +3 -3
- data/docs/ManagementUnitSettingsResponse.md +18 -0
- data/docs/MessageConversationEntityListing.md +1 -1
- data/docs/MessageEvaluation.md +16 -0
- data/docs/MessageMediaParticipant.md +2 -0
- data/docs/MessagingIntegrationEntityListing.md +1 -1
- data/docs/MessagingStickerEntityListing.md +1 -1
- data/docs/NoteListing.md +1 -1
- data/docs/NotificationsApi.md +1 -1
- data/docs/OAuthClientEntityListing.md +1 -1
- data/docs/OAuthProviderEntityListing.md +1 -1
- 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/Participant.md +2 -0
- data/docs/ParticipantBasic.md +2 -0
- 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/PlanningPeriodSettings.md +14 -0
- data/docs/PolicyEntityListing.md +1 -1
- data/docs/PromptAssetEntityListing.md +1 -1
- data/docs/PromptEntityListing.md +1 -1
- data/docs/QualityApi.md +51 -23
- data/docs/QualityAuditPage.md +1 -1
- data/docs/QueueConversationCallEventTopicCallConversation.md +1 -0
- data/docs/QueueConversationCallEventTopicCallMediaParticipant.md +2 -0
- data/docs/QueueConversationCallbackEventTopicCallbackMediaParticipant.md +2 -0
- data/docs/QueueConversationChatEventTopicChatMediaParticipant.md +2 -0
- data/docs/QueueConversationCobrowseEventTopicCobrowseMediaParticipant.md +2 -0
- data/docs/QueueConversationEmailEventTopicEmailMediaParticipant.md +2 -0
- data/docs/QueueConversationEventTopicParticipant.md +2 -0
- data/docs/QueueConversationMessageEventTopicMessageMediaParticipant.md +2 -0
- data/docs/QueueConversationScreenShareEventTopicScreenShareMediaParticipant.md +2 -0
- data/docs/QueueConversationSocialExpressionEventTopicParticipant.md +2 -0
- data/docs/QueueConversationVideoEventTopicParticipant.md +2 -0
- data/docs/QueueEntityListing.md +1 -1
- data/docs/QueueMemberEntityListing.md +1 -1
- data/docs/QueueUserEventTopicQueueMember.md +4 -4
- data/docs/QueueUserEventTopicUserReference.md +13 -0
- data/docs/RecipientListing.md +1 -1
- data/docs/Recording.md +1 -0
- data/docs/RecordingApi.md +164 -14
- data/docs/RecordingJobEntityListing.md +1 -1
- data/docs/RecordingJobsQuery.md +1 -1
- data/docs/RecordingMetadata.md +1 -0
- 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/ReportingExportJobRequest.md +2 -0
- data/docs/ReportingExportJobResponse.md +2 -0
- data/docs/ResponseEntityList.md +1 -1
- data/docs/ResponseEntityListing.md +1 -1
- data/docs/ResponseSetEntityListing.md +1 -1
- data/docs/RoleDivisionGrants.md +13 -0
- data/docs/RoleDivisionPair.md +14 -0
- data/docs/RoutingApi.md +250 -2
- data/docs/RuleSetEntityListing.md +1 -1
- data/docs/SCIMApi.md +302 -26
- data/docs/ScheduleEntityListing.md +1 -1
- data/docs/ScheduleGroupEntityListing.md +1 -1
- data/docs/{SchedulingSettings.md → SchedulingSettingsRequest.md} +2 -2
- data/docs/SchedulingSettingsResponse.md +15 -0
- data/docs/SchemaCategoryEntityListing.md +1 -1
- data/docs/SchemaReferenceEntityListing.md +1 -1
- data/docs/ScimConfigResourceType.md +1 -1
- data/docs/ScimConfigResourceTypeSchemaExtension.md +1 -1
- data/docs/ScimError.md +4 -4
- data/docs/ScimServiceProviderConfig.md +7 -7
- data/docs/ScimServiceProviderConfigAuthenticationScheme.md +1 -1
- data/docs/ScimV2CreateUser.md +1 -1
- data/docs/ScimV2Group.md +3 -2
- data/docs/ScimV2User.md +2 -2
- data/docs/ScreenRecordingSessionListing.md +1 -1
- data/docs/ScriptEntityListing.md +1 -1
- data/docs/SearchApi.md +3 -3
- data/docs/SecurityProfileEntityListing.md +1 -1
- data/docs/SelectedColumns.md +14 -0
- data/docs/SendAgentlessOutboundMessageRequest.md +16 -0
- data/docs/SendAgentlessOutboundMessageResponse.md +21 -0
- data/docs/ShareEntityListing.md +1 -1
- data/docs/ShiftTradeSettings.md +1 -0
- data/docs/SiteEntityListing.md +1 -1
- data/docs/SkillEntityListing.md +1 -1
- data/docs/SmsAddressEntityListing.md +1 -1
- data/docs/SmsPhoneNumber.md +1 -0
- data/docs/SmsPhoneNumberEntityListing.md +1 -1
- data/docs/StationEntityListing.md +1 -1
- data/docs/StationsApi.md +1 -2
- data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
- data/docs/SubscriptionOverviewUsage.md +2 -0
- data/docs/SuggestApi.md +2 -2
- data/docs/SurveyAggregationQuery.md +1 -0
- 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/TimeOffRequestLookup.md +13 -0
- data/docs/TimeZoneEntityListing.md +1 -1
- data/docs/TranscriptionSettings.md +14 -0
- 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/UpdateManagementUnitRequest.md +1 -1
- data/docs/UserActionCategoryEntityListing.md +1 -1
- data/docs/UserAggregationQuery.md +1 -0
- data/docs/UserDetailsQuery.md +1 -1
- data/docs/UserEntityListing.md +1 -1
- data/docs/UserLanguageEntityListing.md +1 -1
- data/docs/UserProfileEntityListing.md +1 -1
- data/docs/UserQueueEntityListing.md +1 -1
- data/docs/UserRecordingEntityListing.md +1 -1
- data/docs/UserSkillEntityListing.md +1 -1
- data/docs/UsersApi.md +101 -306
- data/docs/ValueWrapperPlanningPeriodSettings.md +13 -0
- data/docs/VoicemailMessageEntityListing.md +1 -1
- data/docs/WebChatMemberInfoEntityList.md +1 -1
- data/docs/WfmForecastModificationIntervalOffsetValue.md +1 -1
- data/docs/WhatsAppIntegrationEntityListing.md +1 -1
- data/docs/WhatsAppIntegrationRequest.md +17 -0
- data/docs/WorkPlan.md +1 -0
- data/docs/WorkPlanListItemResponse.md +1 -0
- data/docs/WorkPlanReference.md +3 -1
- data/docs/WorkPlanShift.md +1 -0
- data/docs/WorkforceManagementApi.md +80 -9
- data/docs/WorkspaceEntityListing.md +1 -1
- data/docs/WorkspaceMemberEntityListing.md +1 -1
- data/docs/WrapupCodeEntityListing.md +1 -1
- data/lib/purecloudplatformclientv2.rb +23 -5
- data/lib/purecloudplatformclientv2/api/architect_api.rb +24 -6
- data/lib/purecloudplatformclientv2/api/authorization_api.rb +157 -0
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +195 -0
- data/lib/purecloudplatformclientv2/api/notifications_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api/quality_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/recording_api.rb +138 -2
- data/lib/purecloudplatformclientv2/api/routing_api.rb +239 -9
- data/lib/purecloudplatformclientv2/api/scim_api.rb +364 -20
- data/lib/purecloudplatformclientv2/api/users_api.rb +127 -353
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +81 -8
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/analytics_flow.rb +2 -2
- data/lib/purecloudplatformclientv2/models/analytics_session.rb +30 -4
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/bu_search_agent_schedules_request.rb +266 -0
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/call_media_participant.rb +53 -1
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/callback_media_participant.rb +53 -1
- data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/chat_media_participant.rb +53 -1
- data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/cobrowse_media_participant.rb +53 -1
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_center_settings.rb +202 -0
- data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_aggregation_query.rb +44 -4
- data/lib/purecloudplatformclientv2/models/conversation_aggregation_view.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_call_event_topic_call_conversation.rb +29 -4
- data/lib/purecloudplatformclientv2/models/conversation_call_event_topic_call_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/conversation_callback_event_topic_callback_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/conversation_chat_event_topic_chat_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/conversation_cobrowse_event_topic_cobrowse_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/conversation_deletion_protection_query.rb +209 -0
- data/lib/purecloudplatformclientv2/models/conversation_email_event_topic_email_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/conversation_message_event_topic_message_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/conversation_screen_share_event_topic_screen_share_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/conversation_social_expression_event_topic_social_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/conversation_video_event_topic_video_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/create_management_unit_api_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/{create_management_unit_settings.rb → create_management_unit_settings_request.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/create_work_plan.rb +27 -1
- data/lib/purecloudplatformclientv2/models/create_work_plan_shift.rb +27 -1
- data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dependency.rb +2 -2
- data/lib/purecloudplatformclientv2/models/dependency_object.rb +2 -2
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dialer_responseset_config_change_response_set.rb +26 -1
- data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_logical_interface.rb +105 -1
- data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/email_media_participant.rb +53 -1
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/evaluation_aggregation_query.rb +2 -2
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/event_log.rb +2 -2
- data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow.rb +2 -2
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/flow_aggregation_query.rb +44 -4
- data/lib/purecloudplatformclientv2/models/flow_division_view.rb +55 -3
- data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow_outcome_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/integration_type.rb +29 -1
- data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/location_address_verification_details.rb +294 -0
- data/lib/purecloudplatformclientv2/models/location_create_definition.rb +405 -0
- data/lib/purecloudplatformclientv2/models/location_definition.rb +110 -34
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{location_create_update_definition.rb → location_update_definition.rb} +48 -63
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/management_unit.rb +1 -1
- data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{user_external_identifier.rb → management_unit_reference.rb} +10 -46
- data/lib/purecloudplatformclientv2/models/{management_unit_settings.rb → management_unit_settings_request.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/management_unit_settings_response.rb +337 -0
- data/lib/purecloudplatformclientv2/models/manager.rb +1 -1
- data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/message_evaluation.rb +277 -0
- data/lib/purecloudplatformclientv2/models/message_media_participant.rb +53 -1
- data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/note_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/participant.rb +56 -4
- data/lib/purecloudplatformclientv2/models/participant_basic.rb +56 -4
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/photo.rb +1 -1
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/planning_period_settings.rb +238 -0
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +12 -12
- data/lib/purecloudplatformclientv2/models/queue_conversation_call_event_topic_call_conversation.rb +29 -4
- data/lib/purecloudplatformclientv2/models/queue_conversation_call_event_topic_call_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_callback_event_topic_callback_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_chat_event_topic_chat_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_cobrowse_event_topic_cobrowse_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_email_event_topic_email_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_message_event_topic_message_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_screen_share_event_topic_screen_share_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/queue_user_event_topic_queue_member.rb +31 -31
- data/lib/purecloudplatformclientv2/models/queue_user_event_topic_user_reference.rb +201 -0
- data/lib/purecloudplatformclientv2/models/recipient_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/recording.rb +27 -1
- data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/recording_jobs_query.rb +1 -1
- data/lib/purecloudplatformclientv2/models/recording_metadata.rb +27 -1
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/reporting_data_export_topic_data_export_notification.rb +2 -2
- data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +58 -4
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +55 -1
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +12 -12
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/role_division_grants.rb +209 -0
- data/lib/purecloudplatformclientv2/models/role_division_pair.rb +238 -0
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{scheduling_settings.rb → scheduling_settings_request.rb} +1 -1
- data/lib/purecloudplatformclientv2/models/scheduling_settings_response.rb +255 -0
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/scim_config_resource_type.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_config_resource_type_schema_extension.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_config_resource_types_list_response.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_email.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_error.rb +5 -5
- data/lib/purecloudplatformclientv2/models/scim_group_list_response.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_metadata.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_phone_number.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config.rb +8 -8
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config_authentication_scheme.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config_bulk_feature.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config_filter_feature.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config_simple_feature.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_user_list_response.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_create_user.rb +2 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_enterprise_user.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_group.rb +34 -3
- data/lib/purecloudplatformclientv2/models/scim_v2_group_reference.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_member_reference.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_patch_operation.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_patch_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_user.rb +3 -2
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/selected_columns.rb +228 -0
- data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_request.rb +314 -0
- data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_response.rb +424 -0
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/shift_trade_settings.rb +27 -1
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/sms_address_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/sms_phone_number.rb +29 -1
- data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/subscription_overview_usage.rb +56 -4
- data/lib/purecloudplatformclientv2/models/survey_aggregation_query.rb +44 -4
- data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/text_message_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/time_off_request_lookup.rb +357 -1
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/transcription_settings.rb +252 -0
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trustee_billing_overview.rb +2 -2
- data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/update_management_unit_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_aggregation_query.rb +44 -4
- data/lib/purecloudplatformclientv2/models/user_details_query.rb +32 -31
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/value_wrapper_planning_period_settings.rb +203 -0
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/web_chat_member_info_entity_list.rb +12 -12
- data/lib/purecloudplatformclientv2/models/wfm_forecast_modification_interval_offset_value.rb +1 -1
- data/lib/purecloudplatformclientv2/models/wfm_move_agents_complete_topic_wfm_move_agent_data.rb +2 -2
- data/lib/purecloudplatformclientv2/models/whats_app_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/whats_app_integration_request.rb +321 -0
- data/lib/purecloudplatformclientv2/models/work_plan.rb +27 -1
- data/lib/purecloudplatformclientv2/models/work_plan_list_item_response.rb +27 -1
- data/lib/purecloudplatformclientv2/models/work_plan_reference.rb +57 -9
- data/lib/purecloudplatformclientv2/models/work_plan_shift.rb +27 -1
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +48 -12
- data/docs/LocationCreateUpdateDefinition.md +0 -21
@@ -173,90 +173,6 @@ module PureCloud
|
|
173
173
|
return data, status_code, headers
|
174
174
|
end
|
175
175
|
|
176
|
-
# Delete the external identifier for user.
|
177
|
-
#
|
178
|
-
# @param user_id User ID
|
179
|
-
# @param authority_name Authority Name
|
180
|
-
# @param external_key External Key
|
181
|
-
# @param [Hash] opts the optional parameters
|
182
|
-
# @return [nil]
|
183
|
-
def delete_user_externalid_authority_name_external_key(user_id, authority_name, external_key, opts = {})
|
184
|
-
delete_user_externalid_authority_name_external_key_with_http_info(user_id, authority_name, external_key, opts)
|
185
|
-
return nil
|
186
|
-
end
|
187
|
-
|
188
|
-
# Delete the external identifier for user.
|
189
|
-
#
|
190
|
-
# @param user_id User ID
|
191
|
-
# @param authority_name Authority Name
|
192
|
-
# @param external_key External Key
|
193
|
-
# @param [Hash] opts the optional parameters
|
194
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
195
|
-
def delete_user_externalid_authority_name_external_key_with_http_info(user_id, authority_name, external_key, opts = {})
|
196
|
-
if @api_client.config.debugging
|
197
|
-
@api_client.config.logger.debug "Calling API: UsersApi.delete_user_externalid_authority_name_external_key ..."
|
198
|
-
end
|
199
|
-
|
200
|
-
|
201
|
-
# verify the required parameter 'user_id' is set
|
202
|
-
fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.delete_user_externalid_authority_name_external_key" if user_id.nil?
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
# verify the required parameter 'authority_name' is set
|
210
|
-
fail ArgumentError, "Missing the required parameter 'authority_name' when calling UsersApi.delete_user_externalid_authority_name_external_key" if authority_name.nil?
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
# verify the required parameter 'external_key' is set
|
218
|
-
fail ArgumentError, "Missing the required parameter 'external_key' when calling UsersApi.delete_user_externalid_authority_name_external_key" if external_key.nil?
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
# resource path
|
225
|
-
local_var_path = "/api/v2/users/{userId}/externalid/{authorityName}/{externalKey}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'authorityName' + '}', authority_name.to_s).sub('{' + 'externalKey' + '}', external_key.to_s)
|
226
|
-
|
227
|
-
# query parameters
|
228
|
-
query_params = {}
|
229
|
-
|
230
|
-
# header parameters
|
231
|
-
header_params = {}
|
232
|
-
|
233
|
-
# HTTP header 'Accept' (if needed)
|
234
|
-
local_header_accept = ['application/json']
|
235
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
236
|
-
|
237
|
-
# HTTP header 'Content-Type'
|
238
|
-
local_header_content_type = ['application/json']
|
239
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
240
|
-
|
241
|
-
# form parameters
|
242
|
-
form_params = {}
|
243
|
-
|
244
|
-
# http body (model)
|
245
|
-
post_body = nil
|
246
|
-
|
247
|
-
auth_names = ['PureCloud OAuth']
|
248
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
249
|
-
:header_params => header_params,
|
250
|
-
:query_params => query_params,
|
251
|
-
:form_params => form_params,
|
252
|
-
:body => post_body,
|
253
|
-
:auth_names => auth_names)
|
254
|
-
if @api_client.config.debugging
|
255
|
-
@api_client.config.logger.debug "API called: UsersApi#delete_user_externalid_authority_name_external_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
256
|
-
end
|
257
|
-
return data, status_code, headers
|
258
|
-
end
|
259
|
-
|
260
176
|
# Removes all the roles from the user.
|
261
177
|
#
|
262
178
|
# @param user_id User ID
|
@@ -1361,146 +1277,6 @@ module PureCloud
|
|
1361
1277
|
return data, status_code, headers
|
1362
1278
|
end
|
1363
1279
|
|
1364
|
-
# Get the external identifiers for a user.
|
1365
|
-
#
|
1366
|
-
# @param user_id User ID
|
1367
|
-
# @param [Hash] opts the optional parameters
|
1368
|
-
# @return [Array<UserExternalIdentifier>]
|
1369
|
-
def get_user_externalid(user_id, opts = {})
|
1370
|
-
data, _status_code, _headers = get_user_externalid_with_http_info(user_id, opts)
|
1371
|
-
return data
|
1372
|
-
end
|
1373
|
-
|
1374
|
-
# Get the external identifiers for a user.
|
1375
|
-
#
|
1376
|
-
# @param user_id User ID
|
1377
|
-
# @param [Hash] opts the optional parameters
|
1378
|
-
# @return [Array<(Array<UserExternalIdentifier>, Fixnum, Hash)>] Array<UserExternalIdentifier> data, response status code and response headers
|
1379
|
-
def get_user_externalid_with_http_info(user_id, opts = {})
|
1380
|
-
if @api_client.config.debugging
|
1381
|
-
@api_client.config.logger.debug "Calling API: UsersApi.get_user_externalid ..."
|
1382
|
-
end
|
1383
|
-
|
1384
|
-
|
1385
|
-
# verify the required parameter 'user_id' is set
|
1386
|
-
fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.get_user_externalid" if user_id.nil?
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
# resource path
|
1393
|
-
local_var_path = "/api/v2/users/{userId}/externalid".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
1394
|
-
|
1395
|
-
# query parameters
|
1396
|
-
query_params = {}
|
1397
|
-
|
1398
|
-
# header parameters
|
1399
|
-
header_params = {}
|
1400
|
-
|
1401
|
-
# HTTP header 'Accept' (if needed)
|
1402
|
-
local_header_accept = ['application/json']
|
1403
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1404
|
-
|
1405
|
-
# HTTP header 'Content-Type'
|
1406
|
-
local_header_content_type = ['application/json']
|
1407
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1408
|
-
|
1409
|
-
# form parameters
|
1410
|
-
form_params = {}
|
1411
|
-
|
1412
|
-
# http body (model)
|
1413
|
-
post_body = nil
|
1414
|
-
|
1415
|
-
auth_names = ['PureCloud OAuth']
|
1416
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1417
|
-
:header_params => header_params,
|
1418
|
-
:query_params => query_params,
|
1419
|
-
:form_params => form_params,
|
1420
|
-
:body => post_body,
|
1421
|
-
:auth_names => auth_names,
|
1422
|
-
:return_type => 'Array<UserExternalIdentifier>')
|
1423
|
-
if @api_client.config.debugging
|
1424
|
-
@api_client.config.logger.debug "API called: UsersApi#get_user_externalid\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1425
|
-
end
|
1426
|
-
return data, status_code, headers
|
1427
|
-
end
|
1428
|
-
|
1429
|
-
# Get the external identifier of user for an authority.
|
1430
|
-
# Authority name and external key are case sensitive.
|
1431
|
-
# @param user_id User ID
|
1432
|
-
# @param authority_name Authority Name
|
1433
|
-
# @param [Hash] opts the optional parameters
|
1434
|
-
# @return [UserExternalIdentifier]
|
1435
|
-
def get_user_externalid_authority_name(user_id, authority_name, opts = {})
|
1436
|
-
data, _status_code, _headers = get_user_externalid_authority_name_with_http_info(user_id, authority_name, opts)
|
1437
|
-
return data
|
1438
|
-
end
|
1439
|
-
|
1440
|
-
# Get the external identifier of user for an authority.
|
1441
|
-
# Authority name and external key are case sensitive.
|
1442
|
-
# @param user_id User ID
|
1443
|
-
# @param authority_name Authority Name
|
1444
|
-
# @param [Hash] opts the optional parameters
|
1445
|
-
# @return [Array<(UserExternalIdentifier, Fixnum, Hash)>] UserExternalIdentifier data, response status code and response headers
|
1446
|
-
def get_user_externalid_authority_name_with_http_info(user_id, authority_name, opts = {})
|
1447
|
-
if @api_client.config.debugging
|
1448
|
-
@api_client.config.logger.debug "Calling API: UsersApi.get_user_externalid_authority_name ..."
|
1449
|
-
end
|
1450
|
-
|
1451
|
-
|
1452
|
-
# verify the required parameter 'user_id' is set
|
1453
|
-
fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.get_user_externalid_authority_name" if user_id.nil?
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
# verify the required parameter 'authority_name' is set
|
1461
|
-
fail ArgumentError, "Missing the required parameter 'authority_name' when calling UsersApi.get_user_externalid_authority_name" if authority_name.nil?
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
# resource path
|
1468
|
-
local_var_path = "/api/v2/users/{userId}/externalid/{authorityName}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'authorityName' + '}', authority_name.to_s)
|
1469
|
-
|
1470
|
-
# query parameters
|
1471
|
-
query_params = {}
|
1472
|
-
|
1473
|
-
# header parameters
|
1474
|
-
header_params = {}
|
1475
|
-
|
1476
|
-
# HTTP header 'Accept' (if needed)
|
1477
|
-
local_header_accept = ['application/json']
|
1478
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1479
|
-
|
1480
|
-
# HTTP header 'Content-Type'
|
1481
|
-
local_header_content_type = ['application/json']
|
1482
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1483
|
-
|
1484
|
-
# form parameters
|
1485
|
-
form_params = {}
|
1486
|
-
|
1487
|
-
# http body (model)
|
1488
|
-
post_body = nil
|
1489
|
-
|
1490
|
-
auth_names = ['PureCloud OAuth']
|
1491
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1492
|
-
:header_params => header_params,
|
1493
|
-
:query_params => query_params,
|
1494
|
-
:form_params => form_params,
|
1495
|
-
:body => post_body,
|
1496
|
-
:auth_names => auth_names,
|
1497
|
-
:return_type => 'UserExternalIdentifier')
|
1498
|
-
if @api_client.config.debugging
|
1499
|
-
@api_client.config.logger.debug "API called: UsersApi#get_user_externalid_authority_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1500
|
-
end
|
1501
|
-
return data, status_code, headers
|
1502
|
-
end
|
1503
|
-
|
1504
1280
|
# Get favorites
|
1505
1281
|
#
|
1506
1282
|
# @param user_id User ID
|
@@ -2652,90 +2428,6 @@ module PureCloud
|
|
2652
2428
|
return data, status_code, headers
|
2653
2429
|
end
|
2654
2430
|
|
2655
|
-
# Get the user associated with external identifier.
|
2656
|
-
# Authority name and external key are case sensitive.
|
2657
|
-
# @param authority_name Authority Name
|
2658
|
-
# @param external_key External Key
|
2659
|
-
# @param [Hash] opts the optional parameters
|
2660
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
2661
|
-
# @return [User]
|
2662
|
-
def get_users_externalid_authority_name_external_key(authority_name, external_key, opts = {})
|
2663
|
-
data, _status_code, _headers = get_users_externalid_authority_name_external_key_with_http_info(authority_name, external_key, opts)
|
2664
|
-
return data
|
2665
|
-
end
|
2666
|
-
|
2667
|
-
# Get the user associated with external identifier.
|
2668
|
-
# Authority name and external key are case sensitive.
|
2669
|
-
# @param authority_name Authority Name
|
2670
|
-
# @param external_key External Key
|
2671
|
-
# @param [Hash] opts the optional parameters
|
2672
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
2673
|
-
# @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
|
2674
|
-
def get_users_externalid_authority_name_external_key_with_http_info(authority_name, external_key, opts = {})
|
2675
|
-
if @api_client.config.debugging
|
2676
|
-
@api_client.config.logger.debug "Calling API: UsersApi.get_users_externalid_authority_name_external_key ..."
|
2677
|
-
end
|
2678
|
-
|
2679
|
-
|
2680
|
-
# verify the required parameter 'authority_name' is set
|
2681
|
-
fail ArgumentError, "Missing the required parameter 'authority_name' when calling UsersApi.get_users_externalid_authority_name_external_key" if authority_name.nil?
|
2682
|
-
|
2683
|
-
|
2684
|
-
|
2685
|
-
|
2686
|
-
|
2687
|
-
|
2688
|
-
# verify the required parameter 'external_key' is set
|
2689
|
-
fail ArgumentError, "Missing the required parameter 'external_key' when calling UsersApi.get_users_externalid_authority_name_external_key" if external_key.nil?
|
2690
|
-
|
2691
|
-
|
2692
|
-
|
2693
|
-
|
2694
|
-
|
2695
|
-
|
2696
|
-
|
2697
|
-
|
2698
|
-
|
2699
|
-
|
2700
|
-
|
2701
|
-
# resource path
|
2702
|
-
local_var_path = "/api/v2/users/externalid/{authorityName}/{externalKey}".sub('{format}','json').sub('{' + 'authorityName' + '}', authority_name.to_s).sub('{' + 'externalKey' + '}', external_key.to_s)
|
2703
|
-
|
2704
|
-
# query parameters
|
2705
|
-
query_params = {}
|
2706
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
2707
|
-
|
2708
|
-
# header parameters
|
2709
|
-
header_params = {}
|
2710
|
-
|
2711
|
-
# HTTP header 'Accept' (if needed)
|
2712
|
-
local_header_accept = ['application/json']
|
2713
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2714
|
-
|
2715
|
-
# HTTP header 'Content-Type'
|
2716
|
-
local_header_content_type = ['application/json']
|
2717
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2718
|
-
|
2719
|
-
# form parameters
|
2720
|
-
form_params = {}
|
2721
|
-
|
2722
|
-
# http body (model)
|
2723
|
-
post_body = nil
|
2724
|
-
|
2725
|
-
auth_names = ['PureCloud OAuth']
|
2726
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
2727
|
-
:header_params => header_params,
|
2728
|
-
:query_params => query_params,
|
2729
|
-
:form_params => form_params,
|
2730
|
-
:body => post_body,
|
2731
|
-
:auth_names => auth_names,
|
2732
|
-
:return_type => 'User')
|
2733
|
-
if @api_client.config.debugging
|
2734
|
-
@api_client.config.logger.debug "API called: UsersApi#get_users_externalid_authority_name_external_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2735
|
-
end
|
2736
|
-
return data, status_code, headers
|
2737
|
-
end
|
2738
|
-
|
2739
2431
|
# Get current user details.
|
2740
2432
|
# This request is not valid when using the Client Credentials OAuth grant.
|
2741
2433
|
# @param [Hash] opts the optional parameters
|
@@ -3774,68 +3466,132 @@ module PureCloud
|
|
3774
3466
|
return data, status_code, headers
|
3775
3467
|
end
|
3776
3468
|
|
3777
|
-
#
|
3469
|
+
# Bulk-grant roles and divisions to a subject.
|
3778
3470
|
#
|
3779
3471
|
# @param subject_id Subject ID (user or group)
|
3780
|
-
# @param
|
3781
|
-
# @param role_id the id of the role to grant
|
3472
|
+
# @param body Pairs of role and division IDs
|
3782
3473
|
# @param [Hash] opts the optional parameters
|
3783
|
-
# @option opts [String] :subject_type what the type of the subject is
|
3474
|
+
# @option opts [String] :subject_type what the type of the subject is (PC_GROUP, PC_USER or PC_OAUTH_CLIENT) (default to PC_USER)
|
3784
3475
|
# @return [nil]
|
3785
|
-
def
|
3786
|
-
|
3476
|
+
def post_authorization_subject_bulkadd(subject_id, body, opts = {})
|
3477
|
+
post_authorization_subject_bulkadd_with_http_info(subject_id, body, opts)
|
3787
3478
|
return nil
|
3788
3479
|
end
|
3789
3480
|
|
3790
|
-
#
|
3481
|
+
# Bulk-grant roles and divisions to a subject.
|
3791
3482
|
#
|
3792
3483
|
# @param subject_id Subject ID (user or group)
|
3793
|
-
# @param
|
3794
|
-
# @param role_id the id of the role to grant
|
3484
|
+
# @param body Pairs of role and division IDs
|
3795
3485
|
# @param [Hash] opts the optional parameters
|
3796
|
-
# @option opts [String] :subject_type what the type of the subject is
|
3486
|
+
# @option opts [String] :subject_type what the type of the subject is (PC_GROUP, PC_USER or PC_OAUTH_CLIENT)
|
3797
3487
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3798
|
-
def
|
3488
|
+
def post_authorization_subject_bulkadd_with_http_info(subject_id, body, opts = {})
|
3799
3489
|
if @api_client.config.debugging
|
3800
|
-
@api_client.config.logger.debug "Calling API: UsersApi.
|
3490
|
+
@api_client.config.logger.debug "Calling API: UsersApi.post_authorization_subject_bulkadd ..."
|
3801
3491
|
end
|
3802
3492
|
|
3803
3493
|
|
3804
3494
|
# verify the required parameter 'subject_id' is set
|
3805
|
-
fail ArgumentError, "Missing the required parameter 'subject_id' when calling UsersApi.
|
3495
|
+
fail ArgumentError, "Missing the required parameter 'subject_id' when calling UsersApi.post_authorization_subject_bulkadd" if subject_id.nil?
|
3806
3496
|
|
3807
3497
|
|
3808
3498
|
|
3809
3499
|
|
3810
3500
|
|
3811
3501
|
|
3812
|
-
# verify the required parameter '
|
3813
|
-
fail ArgumentError, "Missing the required parameter '
|
3502
|
+
# verify the required parameter 'body' is set
|
3503
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling UsersApi.post_authorization_subject_bulkadd" if body.nil?
|
3814
3504
|
|
3815
3505
|
|
3816
3506
|
|
3817
3507
|
|
3818
3508
|
|
3819
3509
|
|
3820
|
-
# verify the required parameter 'role_id' is set
|
3821
|
-
fail ArgumentError, "Missing the required parameter 'role_id' when calling UsersApi.post_authorization_subject_division_role" if role_id.nil?
|
3822
3510
|
|
3823
3511
|
|
3824
3512
|
|
3825
3513
|
|
3826
3514
|
|
3515
|
+
# resource path
|
3516
|
+
local_var_path = "/api/v2/authorization/subjects/{subjectId}/bulkadd".sub('{format}','json').sub('{' + 'subjectId' + '}', subject_id.to_s)
|
3517
|
+
|
3518
|
+
# query parameters
|
3519
|
+
query_params = {}
|
3520
|
+
query_params[:'subjectType'] = opts[:'subject_type'] if opts[:'subject_type']
|
3521
|
+
|
3522
|
+
# header parameters
|
3523
|
+
header_params = {}
|
3524
|
+
|
3525
|
+
# HTTP header 'Accept' (if needed)
|
3526
|
+
local_header_accept = ['application/json']
|
3527
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3528
|
+
|
3529
|
+
# HTTP header 'Content-Type'
|
3530
|
+
local_header_content_type = ['application/json']
|
3531
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3532
|
+
|
3533
|
+
# form parameters
|
3534
|
+
form_params = {}
|
3535
|
+
|
3536
|
+
# http body (model)
|
3537
|
+
post_body = @api_client.object_to_http_body(body)
|
3538
|
+
|
3539
|
+
auth_names = ['PureCloud OAuth']
|
3540
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
3541
|
+
:header_params => header_params,
|
3542
|
+
:query_params => query_params,
|
3543
|
+
:form_params => form_params,
|
3544
|
+
:body => post_body,
|
3545
|
+
:auth_names => auth_names)
|
3546
|
+
if @api_client.config.debugging
|
3547
|
+
@api_client.config.logger.debug "API called: UsersApi#post_authorization_subject_bulkadd\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3548
|
+
end
|
3549
|
+
return data, status_code, headers
|
3550
|
+
end
|
3551
|
+
|
3552
|
+
# Bulk-remove grants from a subject.
|
3553
|
+
#
|
3554
|
+
# @param subject_id Subject ID (user or group)
|
3555
|
+
# @param body Pairs of role and division IDs
|
3556
|
+
# @param [Hash] opts the optional parameters
|
3557
|
+
# @return [nil]
|
3558
|
+
def post_authorization_subject_bulkremove(subject_id, body, opts = {})
|
3559
|
+
post_authorization_subject_bulkremove_with_http_info(subject_id, body, opts)
|
3560
|
+
return nil
|
3561
|
+
end
|
3562
|
+
|
3563
|
+
# Bulk-remove grants from a subject.
|
3564
|
+
#
|
3565
|
+
# @param subject_id Subject ID (user or group)
|
3566
|
+
# @param body Pairs of role and division IDs
|
3567
|
+
# @param [Hash] opts the optional parameters
|
3568
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3569
|
+
def post_authorization_subject_bulkremove_with_http_info(subject_id, body, opts = {})
|
3570
|
+
if @api_client.config.debugging
|
3571
|
+
@api_client.config.logger.debug "Calling API: UsersApi.post_authorization_subject_bulkremove ..."
|
3572
|
+
end
|
3573
|
+
|
3574
|
+
|
3575
|
+
# verify the required parameter 'subject_id' is set
|
3576
|
+
fail ArgumentError, "Missing the required parameter 'subject_id' when calling UsersApi.post_authorization_subject_bulkremove" if subject_id.nil?
|
3577
|
+
|
3578
|
+
|
3827
3579
|
|
3828
3580
|
|
3829
3581
|
|
3830
3582
|
|
3583
|
+
# verify the required parameter 'body' is set
|
3584
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling UsersApi.post_authorization_subject_bulkremove" if body.nil?
|
3585
|
+
|
3586
|
+
|
3587
|
+
|
3831
3588
|
|
3832
3589
|
|
3833
3590
|
# resource path
|
3834
|
-
local_var_path = "/api/v2/authorization/subjects/{subjectId}/
|
3591
|
+
local_var_path = "/api/v2/authorization/subjects/{subjectId}/bulkremove".sub('{format}','json').sub('{' + 'subjectId' + '}', subject_id.to_s)
|
3835
3592
|
|
3836
3593
|
# query parameters
|
3837
3594
|
query_params = {}
|
3838
|
-
query_params[:'subjectType'] = opts[:'subject_type'] if opts[:'subject_type']
|
3839
3595
|
|
3840
3596
|
# header parameters
|
3841
3597
|
header_params = {}
|
@@ -3852,7 +3608,7 @@ module PureCloud
|
|
3852
3608
|
form_params = {}
|
3853
3609
|
|
3854
3610
|
# http body (model)
|
3855
|
-
post_body =
|
3611
|
+
post_body = @api_client.object_to_http_body(body)
|
3856
3612
|
|
3857
3613
|
auth_names = ['PureCloud OAuth']
|
3858
3614
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -3862,54 +3618,73 @@ module PureCloud
|
|
3862
3618
|
:body => post_body,
|
3863
3619
|
:auth_names => auth_names)
|
3864
3620
|
if @api_client.config.debugging
|
3865
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
3621
|
+
@api_client.config.logger.debug "API called: UsersApi#post_authorization_subject_bulkremove\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3866
3622
|
end
|
3867
3623
|
return data, status_code, headers
|
3868
3624
|
end
|
3869
3625
|
|
3870
|
-
#
|
3871
|
-
#
|
3872
|
-
# @param
|
3873
|
-
# @param
|
3626
|
+
# Make a grant of a role in a division
|
3627
|
+
#
|
3628
|
+
# @param subject_id Subject ID (user or group)
|
3629
|
+
# @param division_id the id of the division to which to make the grant
|
3630
|
+
# @param role_id the id of the role to grant
|
3874
3631
|
# @param [Hash] opts the optional parameters
|
3875
|
-
# @
|
3876
|
-
|
3877
|
-
|
3878
|
-
|
3632
|
+
# @option opts [String] :subject_type what the type of the subject is: PC_GROUP, PC_USER or PC_OAUTH_CLIENT (note: for cross-org authorization, please use the Organization Authorization endpoints) (default to PC_USER)
|
3633
|
+
# @return [nil]
|
3634
|
+
def post_authorization_subject_division_role(subject_id, division_id, role_id, opts = {})
|
3635
|
+
post_authorization_subject_division_role_with_http_info(subject_id, division_id, role_id, opts)
|
3636
|
+
return nil
|
3879
3637
|
end
|
3880
3638
|
|
3881
|
-
#
|
3882
|
-
#
|
3883
|
-
# @param
|
3884
|
-
# @param
|
3639
|
+
# Make a grant of a role in a division
|
3640
|
+
#
|
3641
|
+
# @param subject_id Subject ID (user or group)
|
3642
|
+
# @param division_id the id of the division to which to make the grant
|
3643
|
+
# @param role_id the id of the role to grant
|
3885
3644
|
# @param [Hash] opts the optional parameters
|
3886
|
-
# @
|
3887
|
-
|
3645
|
+
# @option opts [String] :subject_type what the type of the subject is: PC_GROUP, PC_USER or PC_OAUTH_CLIENT (note: for cross-org authorization, please use the Organization Authorization endpoints)
|
3646
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3647
|
+
def post_authorization_subject_division_role_with_http_info(subject_id, division_id, role_id, opts = {})
|
3888
3648
|
if @api_client.config.debugging
|
3889
|
-
@api_client.config.logger.debug "Calling API: UsersApi.
|
3649
|
+
@api_client.config.logger.debug "Calling API: UsersApi.post_authorization_subject_division_role ..."
|
3890
3650
|
end
|
3891
3651
|
|
3892
3652
|
|
3893
|
-
# verify the required parameter '
|
3894
|
-
fail ArgumentError, "Missing the required parameter '
|
3653
|
+
# verify the required parameter 'subject_id' is set
|
3654
|
+
fail ArgumentError, "Missing the required parameter 'subject_id' when calling UsersApi.post_authorization_subject_division_role" if subject_id.nil?
|
3655
|
+
|
3656
|
+
|
3657
|
+
|
3658
|
+
|
3659
|
+
|
3660
|
+
|
3661
|
+
# verify the required parameter 'division_id' is set
|
3662
|
+
fail ArgumentError, "Missing the required parameter 'division_id' when calling UsersApi.post_authorization_subject_division_role" if division_id.nil?
|
3663
|
+
|
3664
|
+
|
3665
|
+
|
3666
|
+
|
3667
|
+
|
3668
|
+
|
3669
|
+
# verify the required parameter 'role_id' is set
|
3670
|
+
fail ArgumentError, "Missing the required parameter 'role_id' when calling UsersApi.post_authorization_subject_division_role" if role_id.nil?
|
3895
3671
|
|
3896
3672
|
|
3897
3673
|
|
3898
3674
|
|
3899
3675
|
|
3900
3676
|
|
3901
|
-
# verify the required parameter 'body' is set
|
3902
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling UsersApi.post_user_externalid" if body.nil?
|
3903
3677
|
|
3904
3678
|
|
3905
3679
|
|
3906
3680
|
|
3907
3681
|
|
3908
3682
|
# resource path
|
3909
|
-
local_var_path = "/api/v2/
|
3683
|
+
local_var_path = "/api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId}".sub('{format}','json').sub('{' + 'subjectId' + '}', subject_id.to_s).sub('{' + 'divisionId' + '}', division_id.to_s).sub('{' + 'roleId' + '}', role_id.to_s)
|
3910
3684
|
|
3911
3685
|
# query parameters
|
3912
3686
|
query_params = {}
|
3687
|
+
query_params[:'subjectType'] = opts[:'subject_type'] if opts[:'subject_type']
|
3913
3688
|
|
3914
3689
|
# header parameters
|
3915
3690
|
header_params = {}
|
@@ -3926,7 +3701,7 @@ module PureCloud
|
|
3926
3701
|
form_params = {}
|
3927
3702
|
|
3928
3703
|
# http body (model)
|
3929
|
-
post_body =
|
3704
|
+
post_body = nil
|
3930
3705
|
|
3931
3706
|
auth_names = ['PureCloud OAuth']
|
3932
3707
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -3934,10 +3709,9 @@ module PureCloud
|
|
3934
3709
|
:query_params => query_params,
|
3935
3710
|
:form_params => form_params,
|
3936
3711
|
:body => post_body,
|
3937
|
-
:auth_names => auth_names
|
3938
|
-
:return_type => 'Array<UserExternalIdentifier>')
|
3712
|
+
:auth_names => auth_names)
|
3939
3713
|
if @api_client.config.debugging
|
3940
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
3714
|
+
@api_client.config.logger.debug "API called: UsersApi#post_authorization_subject_division_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3941
3715
|
end
|
3942
3716
|
return data, status_code, headers
|
3943
3717
|
end
|