purecloud 0.68.1 → 0.69.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/bin/notificationMappings.json +12 -4
- data/config-ruby.json +1 -1
- data/doc_out/AgentActivityEntityListing.html.md +3 -3
- data/doc_out/AggregateViewData.html.md +14 -0
- data/doc_out/AggregationQuery.html.md +1 -0
- data/doc_out/AnalyticsView.html.md +16 -0
- data/doc_out/AnswerOption.html.md +15 -0
- data/doc_out/AttemptLimitsEntityListing.html.md +3 -3
- data/doc_out/AttemptLimitsNotificationRecallEntries.html.md +2 -2
- data/doc_out/AttributeEntityListing.html.md +3 -3
- data/doc_out/AvailableTopic.html.md +2 -2
- data/doc_out/CalibrationEntityListing.html.md +3 -3
- data/doc_out/CallBasic.html.md +31 -0
- data/doc_out/CallConversationEntityListing.html.md +3 -3
- data/doc_out/CallConversationNotificationCallMediaParticipant.html.md +1 -0
- data/doc_out/CallConversationNotificationErrorInfo.html.md +7 -7
- data/doc_out/CallConversationNotificationFaxStatus.html.md +5 -5
- data/doc_out/CallConversationNotificationParticipants.html.md +25 -24
- data/doc_out/CallConversationNotificationWrapup.html.md +18 -0
- data/doc_out/CallMediaParticipant.html.md +1 -0
- data/doc_out/CallableTimeSetEntityListing.html.md +3 -3
- data/doc_out/CallableTimeSetNotificationCallableTimes.html.md +1 -1
- data/doc_out/CallableTimeSetNotificationTimeSlots.html.md +1 -1
- data/doc_out/CallbackBasic.html.md +30 -0
- data/doc_out/CallbackConversationEntityListing.html.md +3 -3
- data/doc_out/CallbackConversationNotificationCallbackMediaParticipant.html.md +1 -0
- data/doc_out/CallbackConversationNotificationErrorInfo.html.md +7 -7
- data/doc_out/CallbackConversationNotificationErrorInfoDetails.html.md +2 -2
- data/doc_out/CallbackConversationNotificationParticipants.html.md +24 -23
- data/doc_out/CallbackConversationNotificationWrapup.html.md +18 -0
- data/doc_out/CallbackMediaParticipant.html.md +1 -0
- data/doc_out/CampaignEntityListing.html.md +3 -3
- data/doc_out/CampaignInteraction.html.md +1 -1
- data/doc_out/CampaignNotificationContactSort.html.md +1 -1
- data/doc_out/CampaignNotificationErrors.html.md +1 -1
- data/doc_out/CampaignNotificationPhoneColumns.html.md +1 -1
- data/doc_out/CampaignRuleEntityListing.html.md +3 -3
- data/doc_out/CampaignRuleNotificationCampaignRuleActionEntities.html.md +2 -2
- data/doc_out/CampaignRuleNotificationCampaignRuleActions.html.md +1 -1
- data/doc_out/CampaignRuleNotificationCampaignRuleConditions.html.md +1 -1
- data/doc_out/CampaignRuleNotificationCampaignRuleEntities.html.md +1 -1
- data/doc_out/CampaignScheduleNotificationIntervals.html.md +1 -1
- data/doc_out/CampaignSequenceEntityListing.html.md +3 -3
- data/doc_out/CampaignStats.html.md +2 -0
- data/doc_out/CertificateAuthorityEntityListing.html.md +3 -3
- data/doc_out/Channel.html.md +1 -1
- data/doc_out/ChannelEntityListing.html.md +0 -9
- data/doc_out/ChannelTopic.html.md +1 -1
- data/doc_out/ChatConversationEntityListing.html.md +3 -3
- data/doc_out/ChatConversationNotificationChatMediaParticipant.html.md +1 -0
- data/doc_out/ChatConversationNotificationErrorInfo.html.md +7 -7
- data/doc_out/ChatConversationNotificationParticipants.html.md +17 -16
- data/doc_out/ChatConversationNotificationWrapup.html.md +18 -0
- data/doc_out/ChatMediaParticipant.html.md +1 -0
- data/doc_out/CobrowseConversationEntityListing.html.md +3 -3
- data/doc_out/CobrowseConversationNotificationCobrowseMediaParticipant.html.md +1 -0
- data/doc_out/CobrowseConversationNotificationErrorInfo.html.md +7 -7
- data/doc_out/CobrowseConversationNotificationParticipants.html.md +22 -21
- data/doc_out/CobrowseConversationNotificationWrapup.html.md +18 -0
- data/doc_out/CobrowseMediaParticipant.html.md +1 -0
- data/doc_out/CommandStatusEntityListing.html.md +3 -3
- data/doc_out/ContactList.html.md +1 -0
- data/doc_out/ContactListEntityListing.html.md +3 -3
- data/doc_out/ContactListNotificationImportStatus.html.md +3 -3
- data/doc_out/ContactListNotificationPhoneColumns.html.md +1 -1
- data/doc_out/ConversationBasic.html.md +18 -0
- data/doc_out/ConversationEntityListing.html.md +3 -3
- data/doc_out/ConversationNotificationCallbacks.html.md +11 -11
- data/doc_out/ConversationNotificationCalls.html.md +12 -12
- data/doc_out/ConversationNotificationChats.html.md +5 -5
- data/doc_out/ConversationNotificationCobrowsesessions.html.md +8 -8
- data/doc_out/ConversationNotificationDialerPreview.html.md +3 -3
- data/doc_out/ConversationNotificationDisconnectReasons.html.md +1 -1
- data/doc_out/ConversationNotificationEmails.html.md +7 -7
- data/doc_out/ConversationNotificationErrorInfo.html.md +4 -4
- data/doc_out/ConversationNotificationFaxStatus.html.md +5 -5
- data/doc_out/ConversationNotificationParticipants.html.md +20 -20
- data/doc_out/ConversationNotificationScreenshares.html.md +7 -7
- data/doc_out/ConversationNotificationSelf.html.md +3 -3
- data/doc_out/ConversationNotificationSocialExpressions.html.md +5 -5
- data/doc_out/ConversationNotificationVideos.html.md +7 -7
- data/doc_out/ConversationNotificationWrapup.html.md +4 -4
- data/doc_out/CreateEmailRequest.html.md +1 -0
- data/doc_out/DIDEntityListing.html.md +3 -3
- data/doc_out/DIDPoolEntityListing.html.md +3 -3
- data/doc_out/DncListCreate.html.md +24 -0
- data/doc_out/DncListEntityListing.html.md +3 -3
- data/doc_out/DocumentAuditEntityListing.html.md +3 -3
- data/doc_out/DocumentDataV2NotificationCreatedBy.html.md +1 -1
- data/doc_out/DocumentDataV2NotificationLockInfo.html.md +1 -1
- data/doc_out/DocumentEntityListing.html.md +3 -3
- data/doc_out/DocumentationResult.html.md +32 -0
- data/doc_out/{ForecastSearchCriteria.html.md → DocumentationSearchCriteria.html.md} +3 -3
- data/doc_out/{ForecastSearchRequest.html.md → DocumentationSearchRequest.html.md} +3 -6
- data/doc_out/DocumentationSearchResponse.html.md +21 -0
- data/doc_out/DomainEdgeSoftwareUpdateDto.html.md +1 -0
- data/doc_out/DomainEdgeSoftwareVersionDtoEntityListing.html.md +3 -3
- data/doc_out/DomainEntityListing.html.md +3 -3
- data/doc_out/DomainEntityListingEvaluationForm.html.md +3 -3
- data/doc_out/DomainEntityListingQueryResult.html.md +3 -3
- data/doc_out/DomainOrganizationRole.html.md +1 -1
- data/doc_out/DomainOrganizationRoleCreate.html.md +1 -1
- data/doc_out/DomainOrganizationRoleUpdate.html.md +1 -1
- data/doc_out/EdgeEntityListing.html.md +3 -3
- data/doc_out/EdgeGroup.html.md +1 -1
- data/doc_out/EdgeGroupEntityListing.html.md +3 -3
- data/doc_out/EdgeLineEntityListing.html.md +3 -3
- data/doc_out/EdgeServiceStateRequest.html.md +14 -0
- data/doc_out/EdgeTrunkBase.html.md +27 -0
- data/doc_out/EmailConversationEntityListing.html.md +3 -3
- data/doc_out/EmailConversationNotificationEmailMediaParticipant.html.md +1 -0
- data/doc_out/EmailConversationNotificationErrorInfo.html.md +7 -7
- data/doc_out/EmailConversationNotificationParticipants.html.md +19 -18
- data/doc_out/EmailConversationNotificationWrapup.html.md +18 -0
- data/doc_out/EmailMediaParticipant.html.md +1 -0
- data/doc_out/EmailMessageListing.html.md +3 -3
- data/doc_out/EncryptionKeyEntityListing.html.md +3 -3
- data/doc_out/EndpointEntityListing.html.md +3 -3
- data/doc_out/Entry.html.md +2 -2
- data/doc_out/EvaluationEntityListing.html.md +3 -3
- data/doc_out/EvaluationFormEntityListing.html.md +3 -3
- data/doc_out/EvaluatorActivityEntityListing.html.md +3 -3
- data/doc_out/ExtensionEntityListing.html.md +3 -3
- data/doc_out/ExtensionPoolEntityListing.html.md +3 -3
- data/doc_out/FaxDataV2NotificationLockInfo.html.md +1 -1
- data/doc_out/FaxDocumentEntityListing.html.md +3 -3
- data/doc_out/{EntryFeatureBoolean.html.md → FeatureState.html.md} +3 -4
- data/doc_out/GSuite.html.md +20 -0
- data/doc_out/Geolocation.html.md +1 -0
- data/doc_out/GreetingListing.html.md +3 -3
- data/doc_out/GreetingsApi.html.md +3 -4
- data/doc_out/GroupEntityListing.html.md +3 -3
- data/doc_out/GroupSearchRequest.html.md +0 -2
- data/doc_out/GroupsApi.html.md +3 -4
- data/doc_out/HeartBeatAlertContainer.html.md +3 -3
- data/doc_out/HeartBeatAlertNotificationNotificationUsers.html.md +1 -1
- data/doc_out/HeartBeatRuleContainer.html.md +3 -3
- data/doc_out/IdentityProviderApi.html.md +247 -65
- data/doc_out/InboundDomainEntityListing.html.md +3 -3
- data/doc_out/InboundRouteEntityListing.html.md +3 -3
- data/doc_out/InteractionStatsAlertContainer.html.md +3 -3
- data/doc_out/InteractionStatsRuleContainer.html.md +3 -3
- data/doc_out/JsonNode.html.md +3 -3
- data/doc_out/KeywordSet.html.md +0 -1
- data/doc_out/KeywordSetEntityListing.html.md +3 -3
- data/doc_out/LanguageEntityListing.html.md +3 -3
- data/doc_out/LibraryEntityListing.html.md +3 -3
- data/doc_out/LineBaseEntityListing.html.md +3 -3
- data/doc_out/LineEntityListing.html.md +3 -3
- data/doc_out/LocalEncryptionConfigurationListing.html.md +1 -8
- data/doc_out/LocationSearchRequest.html.md +0 -2
- data/doc_out/LogicalInterfaceEntityListing.html.md +3 -3
- data/doc_out/NotificationsApi.html.md +7 -8
- data/doc_out/OAuthApi.html.md +4 -3
- data/doc_out/OAuthClientEntityListing.html.md +3 -3
- data/doc_out/OAuthProviderEntityListing.html.md +3 -3
- data/doc_out/OrganizationApi.html.md +13 -11
- data/doc_out/OrganizationFeatures.html.md +25 -0
- data/doc_out/OrganizationPresenceEntityListing.html.md +3 -3
- data/doc_out/OrganizationRoleEntityListing.html.md +3 -3
- data/doc_out/OrphanRecordingListing.html.md +3 -3
- data/doc_out/OutboundApi.html.md +8 -8
- data/doc_out/OutboundRouteBaseEntityListing.html.md +3 -3
- data/doc_out/OutboundRouteEntityListing.html.md +3 -3
- data/doc_out/ParticipantBasic.html.md +48 -0
- data/doc_out/PermissionCollectionEntityListing.html.md +3 -3
- data/doc_out/PhoneBaseEntityListing.html.md +3 -3
- data/doc_out/PhoneEntityListing.html.md +3 -3
- data/doc_out/PhoneMetaBaseEntityListing.html.md +3 -3
- data/doc_out/PhysicalInterfaceEntityListing.html.md +3 -3
- data/doc_out/PingIdentity.html.md +20 -0
- data/doc_out/PolicyEntityListing.html.md +3 -3
- data/doc_out/PredictionResults.html.md +1 -0
- data/doc_out/QualityAudit.html.md +1 -1
- data/doc_out/QualityAuditPage.html.md +3 -3
- data/doc_out/Question.html.md +24 -0
- data/doc_out/QuestionGroup.html.md +1 -1
- data/doc_out/QueueEntityListing.html.md +3 -3
- data/doc_out/QueueMember.html.md +1 -1
- data/doc_out/QueueMemberEntityListing.html.md +3 -3
- data/doc_out/RecordingDataV2NotificationLockInfo.html.md +1 -1
- data/doc_out/ReportMetaDataEntityListing.html.md +3 -3
- data/doc_out/ReportRunEntryEntityDomainListing.html.md +3 -3
- data/doc_out/ReportScheduleEntityListing.html.md +3 -3
- data/doc_out/Response.html.md +1 -0
- data/doc_out/ResponseEntityList.html.md +3 -3
- data/doc_out/ResponseEntityListing.html.md +3 -3
- data/doc_out/ResponseSetEntityListing.html.md +3 -3
- data/doc_out/ResponseSetNotificationResponses.html.md +2 -2
- data/doc_out/ResponseSubstitution.html.md +15 -0
- data/doc_out/RoutingApi.html.md +23 -290
- data/doc_out/RoutingStatusAlertContainer.html.md +3 -3
- data/doc_out/RoutingStatusRuleContainer.html.md +3 -3
- data/doc_out/RuleSetEntityListing.html.md +3 -3
- data/doc_out/RuleSetNotificationActions.html.md +2 -2
- data/doc_out/RuleSetNotificationConditions.html.md +4 -4
- data/doc_out/RuleSetNotificationRules.html.md +4 -4
- data/doc_out/SchemaCategoryEntityListing.html.md +3 -3
- data/doc_out/SchemaReferenceEntityListing.html.md +3 -3
- data/doc_out/ScreenRecordingSessionListing.html.md +3 -3
- data/doc_out/ScreenShareConversationNotificationErrorInfo.html.md +7 -7
- data/doc_out/ScreenShareConversationNotificationParticipants.html.md +18 -17
- data/doc_out/ScreenShareConversationNotificationScreenShareMediaParticipant.html.md +1 -0
- data/doc_out/ScreenShareConversationNotificationWrapup.html.md +18 -0
- data/doc_out/ScriptEntityListing.html.md +3 -3
- data/doc_out/ScriptsApi.html.md +10 -2
- data/doc_out/SearchApi.html.md +168 -48
- data/doc_out/SearchRequest.html.md +1 -1
- data/doc_out/SecurityProfileEntityListing.html.md +3 -3
- data/doc_out/ShareEntityListing.html.md +3 -3
- data/doc_out/SiteEntityListing.html.md +3 -3
- data/doc_out/SkillEntityListing.html.md +3 -3
- data/doc_out/SocialConversationNotificationErrorInfo.html.md +7 -7
- data/doc_out/SocialConversationNotificationParticipants.html.md +20 -19
- data/doc_out/SocialConversationNotificationSocialMediaParticipant.html.md +1 -0
- data/doc_out/SocialConversationNotificationWrapup.html.md +18 -0
- data/doc_out/StationEntityListing.html.md +3 -3
- data/doc_out/StatisticalResponse.html.md +1 -0
- data/doc_out/TagValueEntityListing.html.md +3 -3
- data/doc_out/TelephonyProvidersEdgeApi.html.md +347 -79
- data/doc_out/TimeOffRequestUpdateNotification.html.md +28 -0
- data/doc_out/TimeOffRequestUpdateNotificationUser.html.md +13 -0
- data/doc_out/TimeZoneEntityListing.html.md +3 -3
- data/doc_out/TransferRequest.html.md +1 -1
- data/doc_out/Trunk.html.md +2 -1
- data/doc_out/TrunkBase.html.md +1 -1
- data/doc_out/TrunkBaseEntityListing.html.md +3 -3
- data/doc_out/TrunkEntityListing.html.md +3 -3
- data/doc_out/TrunkMetabaseEntityListing.html.md +3 -3
- data/doc_out/TrunkMetrics.html.md +17 -0
- data/doc_out/TrunkMetricsCalls.html.md +14 -0
- data/doc_out/TrunkMetricsQoS.html.md +13 -0
- data/doc_out/User.html.md +1 -0
- data/doc_out/UserConversationSummaryNotificationCallContactCenter.html.md +1 -1
- data/doc_out/UserEntityListing.html.md +3 -3
- data/doc_out/UserMe.html.md +1 -0
- data/doc_out/UserPresenceAlertContainer.html.md +3 -3
- data/doc_out/UserPresenceNotificationPresenceDefinition.html.md +1 -1
- data/doc_out/UserPresenceRuleContainer.html.md +3 -3
- data/doc_out/UserQueueEntityListing.html.md +3 -3
- data/doc_out/UserRecordingEntityListing.html.md +3 -3
- data/doc_out/UserScheduleAdherenceUpdateNotification.html.md +22 -0
- data/doc_out/UserScheduleAdherenceUpdateNotificationUser.html.md +13 -0
- data/doc_out/UserSearchRequest.html.md +0 -1
- data/doc_out/UserSkillEntityListing.html.md +3 -3
- data/doc_out/UserStationsNotification.html.md +13 -0
- data/doc_out/UserStationsNotificationAssociatedStation.html.md +15 -0
- data/doc_out/UserStationsNotificationUser.html.md +13 -0
- data/doc_out/UserStationsNotificationUserStation.html.md +15 -0
- data/doc_out/UsersApi.html.md +2 -2
- data/doc_out/VideoConversationNotificationErrorInfo.html.md +7 -7
- data/doc_out/VideoConversationNotificationParticipants.html.md +20 -19
- data/doc_out/VideoConversationNotificationVideoMediaParticipant.html.md +1 -0
- data/doc_out/VideoConversationNotificationWrapup.html.md +18 -0
- data/doc_out/VoicemailMessageEntityListing.html.md +3 -3
- data/doc_out/VoicemailSearchRequest.html.md +0 -1
- data/doc_out/WorkforceManagementApi.html.md +15 -134
- data/doc_out/WorkspaceEntityListing.html.md +3 -3
- data/doc_out/WorkspaceMemberEntityListing.html.md +3 -3
- data/doc_out/WrapUpCodeMappingNotification.html.md +2 -3
- data/doc_out/WrapupCodeEntityListing.html.md +3 -3
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +39 -15
- data/lib/purecloud/api/greetings_api.rb +5 -6
- data/lib/purecloud/api/groups_api.rb +5 -6
- data/lib/purecloud/api/identity_provider_api.rb +280 -96
- data/lib/purecloud/api/notifications_api.rb +9 -10
- data/lib/purecloud/api/o_auth_api.rb +6 -5
- data/lib/purecloud/api/organization_api.rb +23 -12
- data/lib/purecloud/api/outbound_api.rb +9 -9
- data/lib/purecloud/api/routing_api.rb +32 -297
- data/lib/purecloud/api/scripts_api.rb +9 -0
- data/lib/purecloud/api/search_api.rb +180 -59
- data/lib/purecloud/api/telephony_providers_edge_api.rb +368 -89
- data/lib/purecloud/api/users_api.rb +3 -3
- data/lib/purecloud/api/workforce_management_api.rb +20 -139
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/agent_activity_entity_listing.rb +23 -23
- data/lib/purecloud/models/aggregate_view_data.rb +175 -0
- data/lib/purecloud/models/aggregation_query.rb +17 -4
- data/lib/purecloud/models/analytics_view.rb +208 -0
- data/lib/purecloud/models/{entry_feature_boolean.rb → answer_option.rb} +23 -22
- data/lib/purecloud/models/attempt_limits_entity_listing.rb +23 -23
- data/lib/purecloud/models/attempt_limits_notification_recall_entries.rb +13 -13
- data/lib/purecloud/models/attribute_entity_listing.rb +23 -23
- data/lib/purecloud/models/available_topic.rb +22 -22
- data/lib/purecloud/models/calibration_entity_listing.rb +23 -23
- data/lib/purecloud/models/call_basic.rb +403 -0
- data/lib/purecloud/models/call_conversation_entity_listing.rb +23 -23
- data/lib/purecloud/models/call_conversation_notification_call_media_participant.rb +11 -1
- data/lib/purecloud/models/call_conversation_notification_error_info.rb +61 -61
- data/lib/purecloud/models/call_conversation_notification_fax_status.rb +39 -39
- data/lib/purecloud/models/call_conversation_notification_participants.rb +193 -183
- data/lib/purecloud/models/call_conversation_notification_wrapup.rb +217 -0
- data/lib/purecloud/models/call_media_participant.rb +12 -1
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +23 -23
- data/lib/purecloud/models/callable_time_set_notification_callable_times.rb +14 -14
- data/lib/purecloud/models/callable_time_set_notification_time_slots.rb +14 -14
- data/lib/purecloud/models/callback_basic.rb +384 -0
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +23 -23
- data/lib/purecloud/models/callback_conversation_notification_callback_media_participant.rb +11 -1
- data/lib/purecloud/models/callback_conversation_notification_error_info.rb +61 -61
- data/lib/purecloud/models/callback_conversation_notification_error_info_details.rb +23 -23
- data/lib/purecloud/models/callback_conversation_notification_participants.rb +185 -175
- data/lib/purecloud/models/callback_conversation_notification_wrapup.rb +217 -0
- data/lib/purecloud/models/callback_media_participant.rb +12 -1
- data/lib/purecloud/models/campaign_entity_listing.rb +23 -23
- data/lib/purecloud/models/campaign_interaction.rb +1 -1
- data/lib/purecloud/models/campaign_notification_contact_sort.rb +14 -14
- data/lib/purecloud/models/campaign_notification_errors.rb +13 -13
- data/lib/purecloud/models/campaign_notification_phone_columns.rb +13 -13
- data/lib/purecloud/models/campaign_rule_action.rb +1 -1
- data/lib/purecloud/models/campaign_rule_entity_listing.rb +23 -23
- data/lib/purecloud/models/campaign_rule_notification_campaign_rule_action_entities.rb +25 -25
- data/lib/purecloud/models/campaign_rule_notification_campaign_rule_actions.rb +11 -11
- data/lib/purecloud/models/campaign_rule_notification_campaign_rule_conditions.rb +11 -11
- data/lib/purecloud/models/campaign_rule_notification_campaign_rule_entities.rb +15 -15
- data/lib/purecloud/models/campaign_schedule_notification_intervals.rb +13 -13
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +23 -23
- data/lib/purecloud/models/campaign_stats.rb +26 -4
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +23 -23
- data/lib/purecloud/models/channel.rb +14 -14
- data/lib/purecloud/models/channel_entity_listing.rb +4 -94
- data/lib/purecloud/models/chat_conversation_entity_listing.rb +23 -23
- data/lib/purecloud/models/chat_conversation_notification_chat_media_participant.rb +11 -1
- data/lib/purecloud/models/chat_conversation_notification_error_info.rb +61 -61
- data/lib/purecloud/models/chat_conversation_notification_participants.rb +144 -134
- data/lib/purecloud/models/chat_conversation_notification_wrapup.rb +217 -0
- data/lib/purecloud/models/chat_media_participant.rb +12 -1
- data/lib/purecloud/models/cobrowse_conversation_entity_listing.rb +23 -23
- data/lib/purecloud/models/cobrowse_conversation_notification_cobrowse_media_participant.rb +11 -1
- data/lib/purecloud/models/cobrowse_conversation_notification_error_info.rb +61 -61
- data/lib/purecloud/models/cobrowse_conversation_notification_participants.rb +168 -158
- data/lib/purecloud/models/cobrowse_conversation_notification_wrapup.rb +217 -0
- data/lib/purecloud/models/cobrowse_media_participant.rb +12 -1
- data/lib/purecloud/models/command_status_entity_listing.rb +23 -23
- data/lib/purecloud/models/contact_list.rb +12 -1
- data/lib/purecloud/models/contact_list_entity_listing.rb +23 -23
- data/lib/purecloud/models/contact_list_notification_import_status.rb +27 -27
- data/lib/purecloud/models/contact_list_notification_phone_columns.rb +14 -14
- data/lib/purecloud/models/{edge_metrics_network.rb → conversation_basic.rb} +48 -37
- data/lib/purecloud/models/conversation_entity_listing.rb +23 -23
- data/lib/purecloud/models/conversation_notification_callbacks.rb +95 -95
- data/lib/purecloud/models/conversation_notification_calls.rb +117 -117
- data/lib/purecloud/models/conversation_notification_chats.rb +46 -46
- data/lib/purecloud/models/conversation_notification_cobrowsesessions.rb +71 -71
- data/lib/purecloud/models/conversation_notification_dialer_preview.rb +25 -25
- data/lib/purecloud/models/conversation_notification_disconnect_reasons.rb +11 -11
- data/lib/purecloud/models/conversation_notification_emails.rb +59 -59
- data/lib/purecloud/models/conversation_notification_error_info.rb +35 -35
- data/lib/purecloud/models/conversation_notification_fax_status.rb +39 -39
- data/lib/purecloud/models/conversation_notification_participants.rb +154 -154
- data/lib/purecloud/models/conversation_notification_screenshares.rb +55 -55
- data/lib/purecloud/models/conversation_notification_self.rb +27 -27
- data/lib/purecloud/models/conversation_notification_social_expressions.rb +57 -57
- data/lib/purecloud/models/conversation_notification_videos.rb +61 -61
- data/lib/purecloud/models/conversation_notification_wrapup.rb +35 -35
- data/lib/purecloud/models/create_email_request.rb +24 -4
- data/lib/purecloud/models/did_entity_listing.rb +23 -23
- data/lib/purecloud/models/did_pool_entity_listing.rb +23 -23
- data/lib/purecloud/models/dnc_list_create.rb +298 -0
- data/lib/purecloud/models/dnc_list_entity_listing.rb +23 -23
- data/lib/purecloud/models/document_audit_entity_listing.rb +23 -23
- data/lib/purecloud/models/document_data_v2_notification_created_by.rb +13 -13
- data/lib/purecloud/models/document_data_v2_notification_lock_info.rb +11 -11
- data/lib/purecloud/models/document_entity_listing.rb +23 -23
- data/lib/purecloud/models/documentation_result.rb +395 -0
- data/lib/purecloud/models/{forecast_search_criteria.rb → documentation_search_criteria.rb} +3 -3
- data/lib/purecloud/models/{forecast_search_request.rb → documentation_search_request.rb} +3 -42
- data/lib/purecloud/models/{decisions_file_metadata_entity_listing.rb → documentation_search_response.rb} +61 -60
- data/lib/purecloud/models/domain_edge_software_update_dto.rb +11 -1
- data/lib/purecloud/models/domain_edge_software_version_dto_entity_listing.rb +23 -23
- data/lib/purecloud/models/domain_entity_listing.rb +23 -23
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +23 -23
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +23 -23
- data/lib/purecloud/models/domain_organization_role.rb +11 -11
- data/lib/purecloud/models/domain_organization_role_create.rb +11 -11
- data/lib/purecloud/models/domain_organization_role_update.rb +11 -11
- data/lib/purecloud/models/edge_entity_listing.rb +23 -23
- data/lib/purecloud/models/edge_group_entity_listing.rb +23 -23
- data/lib/purecloud/models/edge_line_entity_listing.rb +23 -23
- data/lib/purecloud/models/{edge_metrics_disk.rb → edge_service_state_request.rb} +16 -27
- data/lib/purecloud/models/edge_trunk_base.rb +332 -0
- data/lib/purecloud/models/email_conversation_entity_listing.rb +23 -23
- data/lib/purecloud/models/email_conversation_notification_email_media_participant.rb +11 -1
- data/lib/purecloud/models/email_conversation_notification_error_info.rb +61 -61
- data/lib/purecloud/models/email_conversation_notification_participants.rb +147 -137
- data/lib/purecloud/models/email_conversation_notification_wrapup.rb +217 -0
- data/lib/purecloud/models/email_media_participant.rb +12 -1
- data/lib/purecloud/models/email_message_listing.rb +23 -23
- data/lib/purecloud/models/encryption_key_entity_listing.rb +23 -23
- data/lib/purecloud/models/endpoint_entity_listing.rb +23 -23
- data/lib/purecloud/models/entry.rb +10 -8
- data/lib/purecloud/models/evaluation_entity_listing.rb +23 -23
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +23 -23
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +23 -23
- data/lib/purecloud/models/extension_entity_listing.rb +23 -23
- data/lib/purecloud/models/extension_pool_entity_listing.rb +23 -23
- data/lib/purecloud/models/fax_data_v2_notification_lock_info.rb +11 -11
- data/lib/purecloud/models/fax_document_entity_listing.rb +23 -23
- data/lib/purecloud/models/feature_state.rb +165 -0
- data/lib/purecloud/models/{decisions_download_metadata.rb → g_suite.rb} +32 -37
- data/lib/purecloud/models/geolocation.rb +13 -1
- data/lib/purecloud/models/greeting_listing.rb +23 -23
- data/lib/purecloud/models/group_entity_listing.rb +23 -23
- data/lib/purecloud/models/group_search_request.rb +1 -27
- data/lib/purecloud/models/heart_beat_alert_container.rb +23 -23
- data/lib/purecloud/models/heart_beat_alert_notification_notification_users.rb +13 -13
- data/lib/purecloud/models/heart_beat_rule_container.rb +23 -23
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +23 -23
- data/lib/purecloud/models/inbound_route_entity_listing.rb +23 -23
- data/lib/purecloud/models/interaction_stats_alert_container.rb +23 -23
- data/lib/purecloud/models/interaction_stats_rule_container.rb +23 -23
- data/lib/purecloud/models/json_node.rb +34 -34
- data/lib/purecloud/models/keyword_set.rb +1 -11
- data/lib/purecloud/models/keyword_set_entity_listing.rb +23 -23
- data/lib/purecloud/models/language_entity_listing.rb +23 -23
- data/lib/purecloud/models/library_entity_listing.rb +23 -23
- data/lib/purecloud/models/line_base_entity_listing.rb +23 -23
- data/lib/purecloud/models/line_entity_listing.rb +23 -23
- data/lib/purecloud/models/local_encryption_configuration_listing.rb +13 -83
- data/lib/purecloud/models/location_search_request.rb +1 -27
- data/lib/purecloud/models/logical_interface_entity_listing.rb +23 -23
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +23 -23
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +23 -23
- data/lib/purecloud/models/organization_features.rb +285 -0
- data/lib/purecloud/models/organization_presence_entity_listing.rb +23 -23
- data/lib/purecloud/models/organization_role_entity_listing.rb +23 -23
- data/lib/purecloud/models/orphan_recording_listing.rb +23 -23
- data/lib/purecloud/models/outbound_route_base_entity_listing.rb +23 -23
- data/lib/purecloud/models/outbound_route_entity_listing.rb +23 -23
- data/lib/purecloud/models/participant_basic.rb +571 -0
- data/lib/purecloud/models/permission_collection_entity_listing.rb +23 -23
- data/lib/purecloud/models/phone_base_entity_listing.rb +23 -23
- data/lib/purecloud/models/phone_entity_listing.rb +23 -23
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +23 -23
- data/lib/purecloud/models/physical_interface_entity_listing.rb +23 -23
- data/lib/purecloud/models/ping_identity.rb +237 -0
- data/lib/purecloud/models/policy_entity_listing.rb +23 -23
- data/lib/purecloud/models/prediction_results.rb +22 -2
- data/lib/purecloud/models/quality_audit.rb +11 -11
- data/lib/purecloud/models/quality_audit_page.rb +23 -23
- data/lib/purecloud/models/{billing_task_result_notification.rb → question.rb} +80 -66
- data/lib/purecloud/models/question_group.rb +1 -1
- data/lib/purecloud/models/queue_entity_listing.rb +23 -23
- data/lib/purecloud/models/queue_member.rb +1 -1
- data/lib/purecloud/models/queue_member_entity_listing.rb +23 -23
- data/lib/purecloud/models/recording_data_v2_notification_lock_info.rb +11 -11
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +23 -23
- data/lib/purecloud/models/report_run_entry.rb +1 -1
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +23 -23
- data/lib/purecloud/models/report_schedule_entity_listing.rb +23 -23
- data/lib/purecloud/models/response.rb +14 -1
- data/lib/purecloud/models/response_entity_list.rb +23 -23
- data/lib/purecloud/models/response_entity_listing.rb +23 -23
- data/lib/purecloud/models/response_set_entity_listing.rb +23 -23
- data/lib/purecloud/models/response_set_notification_responses.rb +23 -23
- data/lib/purecloud/models/{forecast_creation_completion.rb → response_substitution.rb} +21 -29
- data/lib/purecloud/models/routing_status_alert_container.rb +23 -23
- data/lib/purecloud/models/routing_status_rule_container.rb +23 -23
- data/lib/purecloud/models/rule_set_entity_listing.rb +23 -23
- data/lib/purecloud/models/rule_set_notification_actions.rb +23 -23
- data/lib/purecloud/models/rule_set_notification_conditions.rb +35 -35
- data/lib/purecloud/models/rule_set_notification_rules.rb +37 -37
- data/lib/purecloud/models/schema_category_entity_listing.rb +23 -23
- data/lib/purecloud/models/schema_reference_entity_listing.rb +23 -23
- data/lib/purecloud/models/screen_recording_session_listing.rb +23 -23
- data/lib/purecloud/models/screen_share_conversation_notification_error_info.rb +61 -61
- data/lib/purecloud/models/screen_share_conversation_notification_participants.rb +159 -149
- data/lib/purecloud/models/screen_share_conversation_notification_screen_share_media_participant.rb +11 -1
- data/lib/purecloud/models/screen_share_conversation_notification_wrapup.rb +217 -0
- data/lib/purecloud/models/script_entity_listing.rb +23 -23
- data/lib/purecloud/models/search_request.rb +1 -1
- data/lib/purecloud/models/security_profile_entity_listing.rb +23 -23
- data/lib/purecloud/models/share_entity_listing.rb +23 -23
- data/lib/purecloud/models/site_entity_listing.rb +23 -23
- data/lib/purecloud/models/skill_entity_listing.rb +23 -23
- data/lib/purecloud/models/social_conversation_notification_error_info.rb +61 -61
- data/lib/purecloud/models/social_conversation_notification_participants.rb +158 -148
- data/lib/purecloud/models/social_conversation_notification_social_media_participant.rb +11 -1
- data/lib/purecloud/models/social_conversation_notification_wrapup.rb +217 -0
- data/lib/purecloud/models/station_entity_listing.rb +23 -23
- data/lib/purecloud/models/statistical_response.rb +16 -4
- data/lib/purecloud/models/tag_value_entity_listing.rb +23 -23
- data/lib/purecloud/models/time_off_request_update_notification.rb +328 -0
- data/lib/purecloud/models/{decisions_download_link.rb → time_off_request_update_notification_user.rb} +5 -17
- data/lib/purecloud/models/time_zone_entity_listing.rb +23 -23
- data/lib/purecloud/models/transfer_request.rb +1 -1
- data/lib/purecloud/models/trunk.rb +12 -1
- data/lib/purecloud/models/trunk_base.rb +1 -1
- data/lib/purecloud/models/trunk_base_entity_listing.rb +23 -23
- data/lib/purecloud/models/trunk_entity_listing.rb +23 -23
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +23 -23
- data/lib/purecloud/models/trunk_metrics.rb +206 -0
- data/lib/purecloud/models/trunk_metrics_calls.rb +175 -0
- data/lib/purecloud/models/trunk_metrics_qo_s.rb +166 -0
- data/lib/purecloud/models/user.rb +14 -1
- data/lib/purecloud/models/user_conversation_summary_notification_call_contact_center.rb +13 -13
- data/lib/purecloud/models/user_entity_listing.rb +23 -23
- data/lib/purecloud/models/user_me.rb +14 -1
- data/lib/purecloud/models/user_presence_alert_container.rb +23 -23
- data/lib/purecloud/models/user_presence_notification_presence_definition.rb +13 -13
- data/lib/purecloud/models/user_presence_rule_container.rb +23 -23
- data/lib/purecloud/models/user_queue_entity_listing.rb +23 -23
- data/lib/purecloud/models/user_recording_entity_listing.rb +23 -23
- data/lib/purecloud/models/{forecast_creation.rb → user_schedule_adherence_update_notification.rb} +81 -49
- data/lib/purecloud/models/user_schedule_adherence_update_notification_user.rb +165 -0
- data/lib/purecloud/models/user_search_request.rb +1 -14
- data/lib/purecloud/models/user_skill_entity_listing.rb +23 -23
- data/lib/purecloud/models/user_stations_notification.rb +165 -0
- data/lib/purecloud/models/{edge_metrics_memory.rb → user_stations_notification_associated_station.rb} +20 -23
- data/lib/purecloud/models/user_stations_notification_user.rb +165 -0
- data/lib/purecloud/models/{edge_metrics_subsystem.rb → user_stations_notification_user_station.rb} +20 -23
- data/lib/purecloud/models/video_conversation_notification_error_info.rb +61 -61
- data/lib/purecloud/models/video_conversation_notification_participants.rb +161 -151
- data/lib/purecloud/models/video_conversation_notification_video_media_participant.rb +11 -1
- data/lib/purecloud/models/video_conversation_notification_wrapup.rb +217 -0
- data/lib/purecloud/models/voicemail_message_entity_listing.rb +23 -23
- data/lib/purecloud/models/voicemail_search_request.rb +1 -14
- data/lib/purecloud/models/workspace_entity_listing.rb +23 -23
- data/lib/purecloud/models/workspace_member_entity_listing.rb +23 -23
- data/lib/purecloud/models/wrap_up_code_mapping_notification.rb +27 -46
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +23 -23
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +80 -32
- data/doc_out/BillingTaskResultNotification.html.md +0 -21
- data/doc_out/DecisionsDownloadLink.html.md +0 -14
- data/doc_out/DecisionsDownloadMetadata.html.md +0 -20
- data/doc_out/DecisionsFileMetadataEntityListing.html.md +0 -22
- data/doc_out/EdgeMetrics.html.md +0 -20
- data/doc_out/EdgeMetricsDisk.html.md +0 -15
- data/doc_out/EdgeMetricsMemory.html.md +0 -15
- data/doc_out/EdgeMetricsNetwork.html.md +0 -17
- data/doc_out/EdgeMetricsProcessor.html.md +0 -17
- data/doc_out/EdgeMetricsSubsystem.html.md +0 -15
- data/doc_out/ForecastCreation.html.md +0 -18
- data/doc_out/ForecastCreationCompletion.html.md +0 -15
- data/lib/purecloud/models/edge_metrics.rb +0 -246
- data/lib/purecloud/models/edge_metrics_processor.rb +0 -210
@@ -750,29 +750,34 @@ module PureCloud
|
|
750
750
|
|
751
751
|
# Delete Outbound Route
|
752
752
|
#
|
753
|
+
# @param site_id Site ID
|
753
754
|
# @param outbound_route_id Outbound route ID
|
754
755
|
# @param [Hash] opts the optional parameters
|
755
756
|
# @return [String]
|
756
|
-
def delete_providers_edges_sites_site_id_outboundroutes_outboundroute_id(outbound_route_id, opts = {})
|
757
|
-
data, status_code, headers = delete_providers_edges_sites_site_id_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, opts)
|
757
|
+
def delete_providers_edges_sites_site_id_outboundroutes_outboundroute_id(site_id, outbound_route_id, opts = {})
|
758
|
+
data, status_code, headers = delete_providers_edges_sites_site_id_outboundroutes_outboundroute_id_with_http_info(site_id, outbound_route_id, opts)
|
758
759
|
return data
|
759
760
|
end
|
760
761
|
|
761
762
|
# Delete Outbound Route
|
762
763
|
#
|
764
|
+
# @param site_id Site ID
|
763
765
|
# @param outbound_route_id Outbound route ID
|
764
766
|
# @param [Hash] opts the optional parameters
|
765
767
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
766
|
-
def delete_providers_edges_sites_site_id_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, opts = {})
|
768
|
+
def delete_providers_edges_sites_site_id_outboundroutes_outboundroute_id_with_http_info(site_id, outbound_route_id, opts = {})
|
767
769
|
if @api_client.config.debugging
|
768
770
|
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edges_sites_site_id_outboundroutes_outboundroute_id ..."
|
769
771
|
end
|
770
772
|
|
773
|
+
# verify the required parameter 'site_id' is set
|
774
|
+
fail "Missing the required parameter 'site_id' when calling delete_providers_edges_sites_site_id_outboundroutes_outboundroute_id" if site_id.nil?
|
775
|
+
|
771
776
|
# verify the required parameter 'outbound_route_id' is set
|
772
777
|
fail "Missing the required parameter 'outbound_route_id' when calling delete_providers_edges_sites_site_id_outboundroutes_outboundroute_id" if outbound_route_id.nil?
|
773
778
|
|
774
779
|
# resource path
|
775
|
-
local_var_path = "/api/v2/telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId}".sub('{format}','json').sub('{' + 'outboundRouteId' + '}', outbound_route_id.to_s)
|
780
|
+
local_var_path = "/api/v2/telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId}".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s).sub('{' + 'outboundRouteId' + '}', outbound_route_id.to_s)
|
776
781
|
|
777
782
|
# query parameters
|
778
783
|
query_params = {}
|
@@ -1758,66 +1763,6 @@ module PureCloud
|
|
1758
1763
|
return data, status_code, headers
|
1759
1764
|
end
|
1760
1765
|
|
1761
|
-
# Get the edge metrics.
|
1762
|
-
#
|
1763
|
-
# @param edge_id Edge Id
|
1764
|
-
# @param [Hash] opts the optional parameters
|
1765
|
-
# @return [EdgeMetrics]
|
1766
|
-
def get_providers_edges_edge_id_metrics(edge_id, opts = {})
|
1767
|
-
data, status_code, headers = get_providers_edges_edge_id_metrics_with_http_info(edge_id, opts)
|
1768
|
-
return data
|
1769
|
-
end
|
1770
|
-
|
1771
|
-
# Get the edge metrics.
|
1772
|
-
#
|
1773
|
-
# @param edge_id Edge Id
|
1774
|
-
# @param [Hash] opts the optional parameters
|
1775
|
-
# @return [Array<(EdgeMetrics, Fixnum, Hash)>] EdgeMetrics data, response status code and response headers
|
1776
|
-
def get_providers_edges_edge_id_metrics_with_http_info(edge_id, opts = {})
|
1777
|
-
if @api_client.config.debugging
|
1778
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_metrics ..."
|
1779
|
-
end
|
1780
|
-
|
1781
|
-
# verify the required parameter 'edge_id' is set
|
1782
|
-
fail "Missing the required parameter 'edge_id' when calling get_providers_edges_edge_id_metrics" if edge_id.nil?
|
1783
|
-
|
1784
|
-
# resource path
|
1785
|
-
local_var_path = "/api/v2/telephony/providers/edges/{edgeId}/metrics".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
1786
|
-
|
1787
|
-
# query parameters
|
1788
|
-
query_params = {}
|
1789
|
-
|
1790
|
-
# header parameters
|
1791
|
-
header_params = {}
|
1792
|
-
|
1793
|
-
# HTTP header 'Accept' (if needed)
|
1794
|
-
_header_accept = ['application/json']
|
1795
|
-
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
1796
|
-
|
1797
|
-
# HTTP header 'Content-Type'
|
1798
|
-
_header_content_type = ['application/json']
|
1799
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
1800
|
-
|
1801
|
-
# form parameters
|
1802
|
-
form_params = {}
|
1803
|
-
|
1804
|
-
# http body (model)
|
1805
|
-
post_body = nil
|
1806
|
-
|
1807
|
-
auth_names = ['PureCloud Auth']
|
1808
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1809
|
-
:header_params => header_params,
|
1810
|
-
:query_params => query_params,
|
1811
|
-
:form_params => form_params,
|
1812
|
-
:body => post_body,
|
1813
|
-
:auth_names => auth_names,
|
1814
|
-
:return_type => 'EdgeMetrics')
|
1815
|
-
if @api_client.config.debugging
|
1816
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_metrics\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1817
|
-
end
|
1818
|
-
return data, status_code, headers
|
1819
|
-
end
|
1820
|
-
|
1821
1766
|
# Retrieve a list of all configured physical interfaces from a specific edge.
|
1822
1767
|
#
|
1823
1768
|
# @param edge_id Edge ID
|
@@ -2256,6 +2201,71 @@ module PureCloud
|
|
2256
2201
|
return data, status_code, headers
|
2257
2202
|
end
|
2258
2203
|
|
2204
|
+
# Gets the edge trunk base associated with the edge group
|
2205
|
+
#
|
2206
|
+
# @param edgegroup_id Edge Group ID
|
2207
|
+
# @param edgetrunkbase_id Edge Trunk Base ID
|
2208
|
+
# @param [Hash] opts the optional parameters
|
2209
|
+
# @return [EdgeTrunkBase]
|
2210
|
+
def get_providers_edges_edgegroups_edgegroup_id_edgetrunkbases_edgetrunkbase_id(edgegroup_id, edgetrunkbase_id, opts = {})
|
2211
|
+
data, status_code, headers = get_providers_edges_edgegroups_edgegroup_id_edgetrunkbases_edgetrunkbase_id_with_http_info(edgegroup_id, edgetrunkbase_id, opts)
|
2212
|
+
return data
|
2213
|
+
end
|
2214
|
+
|
2215
|
+
# Gets the edge trunk base associated with the edge group
|
2216
|
+
#
|
2217
|
+
# @param edgegroup_id Edge Group ID
|
2218
|
+
# @param edgetrunkbase_id Edge Trunk Base ID
|
2219
|
+
# @param [Hash] opts the optional parameters
|
2220
|
+
# @return [Array<(EdgeTrunkBase, Fixnum, Hash)>] EdgeTrunkBase data, response status code and response headers
|
2221
|
+
def get_providers_edges_edgegroups_edgegroup_id_edgetrunkbases_edgetrunkbase_id_with_http_info(edgegroup_id, edgetrunkbase_id, opts = {})
|
2222
|
+
if @api_client.config.debugging
|
2223
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_edgegroups_edgegroup_id_edgetrunkbases_edgetrunkbase_id ..."
|
2224
|
+
end
|
2225
|
+
|
2226
|
+
# verify the required parameter 'edgegroup_id' is set
|
2227
|
+
fail "Missing the required parameter 'edgegroup_id' when calling get_providers_edges_edgegroups_edgegroup_id_edgetrunkbases_edgetrunkbase_id" if edgegroup_id.nil?
|
2228
|
+
|
2229
|
+
# verify the required parameter 'edgetrunkbase_id' is set
|
2230
|
+
fail "Missing the required parameter 'edgetrunkbase_id' when calling get_providers_edges_edgegroups_edgegroup_id_edgetrunkbases_edgetrunkbase_id" if edgetrunkbase_id.nil?
|
2231
|
+
|
2232
|
+
# resource path
|
2233
|
+
local_var_path = "/api/v2/telephony/providers/edges/edgegroups/{edgegroupId}/edgetrunkbases/{edgetrunkbaseId}".sub('{format}','json').sub('{' + 'edgegroupId' + '}', edgegroup_id.to_s).sub('{' + 'edgetrunkbaseId' + '}', edgetrunkbase_id.to_s)
|
2234
|
+
|
2235
|
+
# query parameters
|
2236
|
+
query_params = {}
|
2237
|
+
|
2238
|
+
# header parameters
|
2239
|
+
header_params = {}
|
2240
|
+
|
2241
|
+
# HTTP header 'Accept' (if needed)
|
2242
|
+
_header_accept = ['application/json']
|
2243
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
2244
|
+
|
2245
|
+
# HTTP header 'Content-Type'
|
2246
|
+
_header_content_type = ['application/json']
|
2247
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
2248
|
+
|
2249
|
+
# form parameters
|
2250
|
+
form_params = {}
|
2251
|
+
|
2252
|
+
# http body (model)
|
2253
|
+
post_body = nil
|
2254
|
+
|
2255
|
+
auth_names = ['PureCloud Auth']
|
2256
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
2257
|
+
:header_params => header_params,
|
2258
|
+
:query_params => query_params,
|
2259
|
+
:form_params => form_params,
|
2260
|
+
:body => post_body,
|
2261
|
+
:auth_names => auth_names,
|
2262
|
+
:return_type => 'EdgeTrunkBase')
|
2263
|
+
if @api_client.config.debugging
|
2264
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_edgegroups_edgegroup_id_edgetrunkbases_edgetrunkbase_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2265
|
+
end
|
2266
|
+
return data, status_code, headers
|
2267
|
+
end
|
2268
|
+
|
2259
2269
|
# Get the edge version report.
|
2260
2270
|
# The report will not have consistent data about the edge version(s) until all edges have been reset.
|
2261
2271
|
# @param [Hash] opts the optional parameters
|
@@ -3013,35 +3023,38 @@ module PureCloud
|
|
3013
3023
|
return data, status_code, headers
|
3014
3024
|
end
|
3015
3025
|
|
3016
|
-
# Get
|
3017
|
-
#
|
3026
|
+
# Get edge logical interfaces.
|
3027
|
+
# Retrieve the configured logical interfaces for a list edges. Only 100 edges can be requested at a time.
|
3018
3028
|
# @param edge_ids Comma separated list of Edge Id's
|
3019
3029
|
# @param [Hash] opts the optional parameters
|
3020
|
-
# @
|
3021
|
-
|
3022
|
-
|
3030
|
+
# @option opts [Array<String>] :expand Field to expand in the response
|
3031
|
+
# @return [LogicalInterfaceEntityListing]
|
3032
|
+
def get_providers_edges_logicalinterfaces(edge_ids, opts = {})
|
3033
|
+
data, status_code, headers = get_providers_edges_logicalinterfaces_with_http_info(edge_ids, opts)
|
3023
3034
|
return data
|
3024
3035
|
end
|
3025
3036
|
|
3026
|
-
# Get
|
3027
|
-
#
|
3037
|
+
# Get edge logical interfaces.
|
3038
|
+
# Retrieve the configured logical interfaces for a list edges. Only 100 edges can be requested at a time.
|
3028
3039
|
# @param edge_ids Comma separated list of Edge Id's
|
3029
3040
|
# @param [Hash] opts the optional parameters
|
3030
|
-
# @
|
3031
|
-
|
3041
|
+
# @option opts [Array<String>] :expand Field to expand in the response
|
3042
|
+
# @return [Array<(LogicalInterfaceEntityListing, Fixnum, Hash)>] LogicalInterfaceEntityListing data, response status code and response headers
|
3043
|
+
def get_providers_edges_logicalinterfaces_with_http_info(edge_ids, opts = {})
|
3032
3044
|
if @api_client.config.debugging
|
3033
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
3045
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_logicalinterfaces ..."
|
3034
3046
|
end
|
3035
3047
|
|
3036
3048
|
# verify the required parameter 'edge_ids' is set
|
3037
|
-
fail "Missing the required parameter 'edge_ids' when calling
|
3049
|
+
fail "Missing the required parameter 'edge_ids' when calling get_providers_edges_logicalinterfaces" if edge_ids.nil?
|
3038
3050
|
|
3039
3051
|
# resource path
|
3040
|
-
local_var_path = "/api/v2/telephony/providers/edges/
|
3052
|
+
local_var_path = "/api/v2/telephony/providers/edges/logicalinterfaces".sub('{format}','json')
|
3041
3053
|
|
3042
3054
|
# query parameters
|
3043
3055
|
query_params = {}
|
3044
3056
|
query_params[:'edgeIds'] = edge_ids
|
3057
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
3045
3058
|
|
3046
3059
|
# header parameters
|
3047
3060
|
header_params = {}
|
@@ -3067,9 +3080,9 @@ module PureCloud
|
|
3067
3080
|
:form_params => form_params,
|
3068
3081
|
:body => post_body,
|
3069
3082
|
:auth_names => auth_names,
|
3070
|
-
:return_type => '
|
3083
|
+
:return_type => 'LogicalInterfaceEntityListing')
|
3071
3084
|
if @api_client.config.debugging
|
3072
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
3085
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_logicalinterfaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3073
3086
|
end
|
3074
3087
|
return data, status_code, headers
|
3075
3088
|
end
|
@@ -3207,8 +3220,8 @@ module PureCloud
|
|
3207
3220
|
# Get a list of Phone Base Settings objects
|
3208
3221
|
#
|
3209
3222
|
# @param [Hash] opts the optional parameters
|
3210
|
-
# @option opts [Integer] :page_number Page number (default to 1)
|
3211
3223
|
# @option opts [Integer] :page_size Page size (default to 25)
|
3224
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
3212
3225
|
# @option opts [String] :sort_by Value by which to sort (default to name)
|
3213
3226
|
# @option opts [String] :sort_order Sort order (default to ASC)
|
3214
3227
|
# @option opts [String] :name Name
|
@@ -3221,8 +3234,8 @@ module PureCloud
|
|
3221
3234
|
# Get a list of Phone Base Settings objects
|
3222
3235
|
#
|
3223
3236
|
# @param [Hash] opts the optional parameters
|
3224
|
-
# @option opts [Integer] :page_number Page number
|
3225
3237
|
# @option opts [Integer] :page_size Page size
|
3238
|
+
# @option opts [Integer] :page_number Page number
|
3226
3239
|
# @option opts [String] :sort_by Value by which to sort
|
3227
3240
|
# @option opts [String] :sort_order Sort order
|
3228
3241
|
# @option opts [String] :name Name
|
@@ -3237,8 +3250,8 @@ module PureCloud
|
|
3237
3250
|
|
3238
3251
|
# query parameters
|
3239
3252
|
query_params = {}
|
3240
|
-
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
3241
3253
|
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
3254
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
3242
3255
|
query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
|
3243
3256
|
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
3244
3257
|
query_params[:'name'] = opts[:'name'] if opts[:'name']
|
@@ -4072,6 +4085,7 @@ module PureCloud
|
|
4072
4085
|
|
4073
4086
|
# Get an outbound route
|
4074
4087
|
#
|
4088
|
+
# @param site_id Site ID
|
4075
4089
|
# @param outbound_route_id Outbound route ID
|
4076
4090
|
# @param [Hash] opts the optional parameters
|
4077
4091
|
# @option opts [Integer] :page_size Page size (default to 25)
|
@@ -4079,13 +4093,14 @@ module PureCloud
|
|
4079
4093
|
# @option opts [String] :name Name
|
4080
4094
|
# @option opts [String] :sort_by Sort by (default to name)
|
4081
4095
|
# @return [OutboundRouteBase]
|
4082
|
-
def get_providers_edges_sites_site_id_outboundroutes_outboundroute_id(outbound_route_id, opts = {})
|
4083
|
-
data, status_code, headers = get_providers_edges_sites_site_id_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, opts)
|
4096
|
+
def get_providers_edges_sites_site_id_outboundroutes_outboundroute_id(site_id, outbound_route_id, opts = {})
|
4097
|
+
data, status_code, headers = get_providers_edges_sites_site_id_outboundroutes_outboundroute_id_with_http_info(site_id, outbound_route_id, opts)
|
4084
4098
|
return data
|
4085
4099
|
end
|
4086
4100
|
|
4087
4101
|
# Get an outbound route
|
4088
4102
|
#
|
4103
|
+
# @param site_id Site ID
|
4089
4104
|
# @param outbound_route_id Outbound route ID
|
4090
4105
|
# @param [Hash] opts the optional parameters
|
4091
4106
|
# @option opts [Integer] :page_size Page size
|
@@ -4093,16 +4108,19 @@ module PureCloud
|
|
4093
4108
|
# @option opts [String] :name Name
|
4094
4109
|
# @option opts [String] :sort_by Sort by
|
4095
4110
|
# @return [Array<(OutboundRouteBase, Fixnum, Hash)>] OutboundRouteBase data, response status code and response headers
|
4096
|
-
def get_providers_edges_sites_site_id_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, opts = {})
|
4111
|
+
def get_providers_edges_sites_site_id_outboundroutes_outboundroute_id_with_http_info(site_id, outbound_route_id, opts = {})
|
4097
4112
|
if @api_client.config.debugging
|
4098
4113
|
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_sites_site_id_outboundroutes_outboundroute_id ..."
|
4099
4114
|
end
|
4100
4115
|
|
4116
|
+
# verify the required parameter 'site_id' is set
|
4117
|
+
fail "Missing the required parameter 'site_id' when calling get_providers_edges_sites_site_id_outboundroutes_outboundroute_id" if site_id.nil?
|
4118
|
+
|
4101
4119
|
# verify the required parameter 'outbound_route_id' is set
|
4102
4120
|
fail "Missing the required parameter 'outbound_route_id' when calling get_providers_edges_sites_site_id_outboundroutes_outboundroute_id" if outbound_route_id.nil?
|
4103
4121
|
|
4104
4122
|
# resource path
|
4105
|
-
local_var_path = "/api/v2/telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId}".sub('{format}','json').sub('{' + 'outboundRouteId' + '}', outbound_route_id.to_s)
|
4123
|
+
local_var_path = "/api/v2/telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId}".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s).sub('{' + 'outboundRouteId' + '}', outbound_route_id.to_s)
|
4106
4124
|
|
4107
4125
|
# query parameters
|
4108
4126
|
query_params = {}
|
@@ -4214,6 +4232,7 @@ module PureCloud
|
|
4214
4232
|
# @option opts [BOOLEAN] :ignore_hidden Set this to true to not receive trunk properties that are meant to be hidden or for internal system usage only.
|
4215
4233
|
# @option opts [BOOLEAN] :managed Filter by managed
|
4216
4234
|
# @option opts [Array<String>] :expand Fields to expand in the response, comma-separated
|
4235
|
+
# @option opts [String] :name Name of the TrunkBase to filter by
|
4217
4236
|
# @return [TrunkBaseEntityListing]
|
4218
4237
|
def get_providers_edges_trunkbasesettings(opts = {})
|
4219
4238
|
data, status_code, headers = get_providers_edges_trunkbasesettings_with_http_info(opts)
|
@@ -4231,6 +4250,7 @@ module PureCloud
|
|
4231
4250
|
# @option opts [BOOLEAN] :ignore_hidden Set this to true to not receive trunk properties that are meant to be hidden or for internal system usage only.
|
4232
4251
|
# @option opts [BOOLEAN] :managed Filter by managed
|
4233
4252
|
# @option opts [Array<String>] :expand Fields to expand in the response, comma-separated
|
4253
|
+
# @option opts [String] :name Name of the TrunkBase to filter by
|
4234
4254
|
# @return [Array<(TrunkBaseEntityListing, Fixnum, Hash)>] TrunkBaseEntityListing data, response status code and response headers
|
4235
4255
|
def get_providers_edges_trunkbasesettings_with_http_info(opts = {})
|
4236
4256
|
if @api_client.config.debugging
|
@@ -4250,6 +4270,7 @@ module PureCloud
|
|
4250
4270
|
query_params[:'ignoreHidden'] = opts[:'ignore_hidden'] if opts[:'ignore_hidden']
|
4251
4271
|
query_params[:'managed'] = opts[:'managed'] if opts[:'managed']
|
4252
4272
|
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
4273
|
+
query_params[:'name'] = opts[:'name'] if opts[:'name']
|
4253
4274
|
|
4254
4275
|
# header parameters
|
4255
4276
|
header_params = {}
|
@@ -4554,6 +4575,67 @@ module PureCloud
|
|
4554
4575
|
return data, status_code, headers
|
4555
4576
|
end
|
4556
4577
|
|
4578
|
+
# Get the metrics for a list of trunks.
|
4579
|
+
#
|
4580
|
+
# @param trunk_ids Comma separated list of Trunk Id's
|
4581
|
+
# @param [Hash] opts the optional parameters
|
4582
|
+
# @return [Array<TrunkMetrics>]
|
4583
|
+
def get_providers_edges_trunks_metrics(trunk_ids, opts = {})
|
4584
|
+
data, status_code, headers = get_providers_edges_trunks_metrics_with_http_info(trunk_ids, opts)
|
4585
|
+
return data
|
4586
|
+
end
|
4587
|
+
|
4588
|
+
# Get the metrics for a list of trunks.
|
4589
|
+
#
|
4590
|
+
# @param trunk_ids Comma separated list of Trunk Id's
|
4591
|
+
# @param [Hash] opts the optional parameters
|
4592
|
+
# @return [Array<(Array<TrunkMetrics>, Fixnum, Hash)>] Array<TrunkMetrics> data, response status code and response headers
|
4593
|
+
def get_providers_edges_trunks_metrics_with_http_info(trunk_ids, opts = {})
|
4594
|
+
if @api_client.config.debugging
|
4595
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_trunks_metrics ..."
|
4596
|
+
end
|
4597
|
+
|
4598
|
+
# verify the required parameter 'trunk_ids' is set
|
4599
|
+
fail "Missing the required parameter 'trunk_ids' when calling get_providers_edges_trunks_metrics" if trunk_ids.nil?
|
4600
|
+
|
4601
|
+
# resource path
|
4602
|
+
local_var_path = "/api/v2/telephony/providers/edges/trunks/metrics".sub('{format}','json')
|
4603
|
+
|
4604
|
+
# query parameters
|
4605
|
+
query_params = {}
|
4606
|
+
query_params[:'trunkIds'] = trunk_ids
|
4607
|
+
|
4608
|
+
# header parameters
|
4609
|
+
header_params = {}
|
4610
|
+
|
4611
|
+
# HTTP header 'Accept' (if needed)
|
4612
|
+
_header_accept = ['application/json']
|
4613
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
4614
|
+
|
4615
|
+
# HTTP header 'Content-Type'
|
4616
|
+
_header_content_type = ['application/json']
|
4617
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
4618
|
+
|
4619
|
+
# form parameters
|
4620
|
+
form_params = {}
|
4621
|
+
|
4622
|
+
# http body (model)
|
4623
|
+
post_body = nil
|
4624
|
+
|
4625
|
+
auth_names = ['PureCloud Auth']
|
4626
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
4627
|
+
:header_params => header_params,
|
4628
|
+
:query_params => query_params,
|
4629
|
+
:form_params => form_params,
|
4630
|
+
:body => post_body,
|
4631
|
+
:auth_names => auth_names,
|
4632
|
+
:return_type => 'Array<TrunkMetrics>')
|
4633
|
+
if @api_client.config.debugging
|
4634
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_trunks_metrics\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4635
|
+
end
|
4636
|
+
return data, status_code, headers
|
4637
|
+
end
|
4638
|
+
|
4557
4639
|
# Get a Trunk by ID
|
4558
4640
|
#
|
4559
4641
|
# @param trunk_id Trunk ID
|
@@ -4614,6 +4696,66 @@ module PureCloud
|
|
4614
4696
|
return data, status_code, headers
|
4615
4697
|
end
|
4616
4698
|
|
4699
|
+
# Get the trunk metrics.
|
4700
|
+
#
|
4701
|
+
# @param trunk_id Trunk Id
|
4702
|
+
# @param [Hash] opts the optional parameters
|
4703
|
+
# @return [TrunkMetrics]
|
4704
|
+
def get_providers_edges_trunks_trunk_id_metrics(trunk_id, opts = {})
|
4705
|
+
data, status_code, headers = get_providers_edges_trunks_trunk_id_metrics_with_http_info(trunk_id, opts)
|
4706
|
+
return data
|
4707
|
+
end
|
4708
|
+
|
4709
|
+
# Get the trunk metrics.
|
4710
|
+
#
|
4711
|
+
# @param trunk_id Trunk Id
|
4712
|
+
# @param [Hash] opts the optional parameters
|
4713
|
+
# @return [Array<(TrunkMetrics, Fixnum, Hash)>] TrunkMetrics data, response status code and response headers
|
4714
|
+
def get_providers_edges_trunks_trunk_id_metrics_with_http_info(trunk_id, opts = {})
|
4715
|
+
if @api_client.config.debugging
|
4716
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_trunks_trunk_id_metrics ..."
|
4717
|
+
end
|
4718
|
+
|
4719
|
+
# verify the required parameter 'trunk_id' is set
|
4720
|
+
fail "Missing the required parameter 'trunk_id' when calling get_providers_edges_trunks_trunk_id_metrics" if trunk_id.nil?
|
4721
|
+
|
4722
|
+
# resource path
|
4723
|
+
local_var_path = "/api/v2/telephony/providers/edges/trunks/{trunkId}/metrics".sub('{format}','json').sub('{' + 'trunkId' + '}', trunk_id.to_s)
|
4724
|
+
|
4725
|
+
# query parameters
|
4726
|
+
query_params = {}
|
4727
|
+
|
4728
|
+
# header parameters
|
4729
|
+
header_params = {}
|
4730
|
+
|
4731
|
+
# HTTP header 'Accept' (if needed)
|
4732
|
+
_header_accept = ['application/json']
|
4733
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
4734
|
+
|
4735
|
+
# HTTP header 'Content-Type'
|
4736
|
+
_header_content_type = ['application/json']
|
4737
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
4738
|
+
|
4739
|
+
# form parameters
|
4740
|
+
form_params = {}
|
4741
|
+
|
4742
|
+
# http body (model)
|
4743
|
+
post_body = nil
|
4744
|
+
|
4745
|
+
auth_names = ['PureCloud Auth']
|
4746
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
4747
|
+
:header_params => header_params,
|
4748
|
+
:query_params => query_params,
|
4749
|
+
:form_params => form_params,
|
4750
|
+
:body => post_body,
|
4751
|
+
:auth_names => auth_names,
|
4752
|
+
:return_type => 'TrunkMetrics')
|
4753
|
+
if @api_client.config.debugging
|
4754
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_trunks_trunk_id_metrics\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4755
|
+
end
|
4756
|
+
return data, status_code, headers
|
4757
|
+
end
|
4758
|
+
|
4617
4759
|
# Get Counts of trunks that have recording disabled or enabled
|
4618
4760
|
#
|
4619
4761
|
# @param [Hash] opts the optional parameters
|
@@ -5593,6 +5735,68 @@ module PureCloud
|
|
5593
5735
|
return data, status_code, headers
|
5594
5736
|
end
|
5595
5737
|
|
5738
|
+
# Take an Edge in or out of service
|
5739
|
+
#
|
5740
|
+
# @param edge_id Edge ID
|
5741
|
+
# @param [Hash] opts the optional parameters
|
5742
|
+
# @option opts [EdgeServiceStateRequest] :body Edge Service State
|
5743
|
+
# @return [String]
|
5744
|
+
def post_providers_edges_edge_id_statuscode(edge_id, opts = {})
|
5745
|
+
data, status_code, headers = post_providers_edges_edge_id_statuscode_with_http_info(edge_id, opts)
|
5746
|
+
return data
|
5747
|
+
end
|
5748
|
+
|
5749
|
+
# Take an Edge in or out of service
|
5750
|
+
#
|
5751
|
+
# @param edge_id Edge ID
|
5752
|
+
# @param [Hash] opts the optional parameters
|
5753
|
+
# @option opts [EdgeServiceStateRequest] :body Edge Service State
|
5754
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
5755
|
+
def post_providers_edges_edge_id_statuscode_with_http_info(edge_id, opts = {})
|
5756
|
+
if @api_client.config.debugging
|
5757
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_edge_id_statuscode ..."
|
5758
|
+
end
|
5759
|
+
|
5760
|
+
# verify the required parameter 'edge_id' is set
|
5761
|
+
fail "Missing the required parameter 'edge_id' when calling post_providers_edges_edge_id_statuscode" if edge_id.nil?
|
5762
|
+
|
5763
|
+
# resource path
|
5764
|
+
local_var_path = "/api/v2/telephony/providers/edges/{edgeId}/statuscode".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
5765
|
+
|
5766
|
+
# query parameters
|
5767
|
+
query_params = {}
|
5768
|
+
|
5769
|
+
# header parameters
|
5770
|
+
header_params = {}
|
5771
|
+
|
5772
|
+
# HTTP header 'Accept' (if needed)
|
5773
|
+
_header_accept = ['application/json']
|
5774
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
5775
|
+
|
5776
|
+
# HTTP header 'Content-Type'
|
5777
|
+
_header_content_type = ['application/json']
|
5778
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
5779
|
+
|
5780
|
+
# form parameters
|
5781
|
+
form_params = {}
|
5782
|
+
|
5783
|
+
# http body (model)
|
5784
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
5785
|
+
|
5786
|
+
auth_names = ['PureCloud Auth']
|
5787
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
5788
|
+
:header_params => header_params,
|
5789
|
+
:query_params => query_params,
|
5790
|
+
:form_params => form_params,
|
5791
|
+
:body => post_body,
|
5792
|
+
:auth_names => auth_names,
|
5793
|
+
:return_type => 'String')
|
5794
|
+
if @api_client.config.debugging
|
5795
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_edge_id_statuscode\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
5796
|
+
end
|
5797
|
+
return data, status_code, headers
|
5798
|
+
end
|
5799
|
+
|
5596
5800
|
# Unpair an Edge
|
5597
5801
|
#
|
5598
5802
|
# @param edge_id Edge Id
|
@@ -6900,6 +7104,76 @@ module PureCloud
|
|
6900
7104
|
return data, status_code, headers
|
6901
7105
|
end
|
6902
7106
|
|
7107
|
+
# Update the edge trunk base associated with the edge group
|
7108
|
+
#
|
7109
|
+
# @param edgegroup_id Edge Group ID
|
7110
|
+
# @param edgetrunkbase_id Edge Trunk Base ID
|
7111
|
+
# @param body EdgeTrunkBase
|
7112
|
+
# @param [Hash] opts the optional parameters
|
7113
|
+
# @return [EdgeTrunkBase]
|
7114
|
+
def put_providers_edges_edgegroups_edgegroup_id_edgetrunkbases_edgetrunkbase_id(edgegroup_id, edgetrunkbase_id, body, opts = {})
|
7115
|
+
data, status_code, headers = put_providers_edges_edgegroups_edgegroup_id_edgetrunkbases_edgetrunkbase_id_with_http_info(edgegroup_id, edgetrunkbase_id, body, opts)
|
7116
|
+
return data
|
7117
|
+
end
|
7118
|
+
|
7119
|
+
# Update the edge trunk base associated with the edge group
|
7120
|
+
#
|
7121
|
+
# @param edgegroup_id Edge Group ID
|
7122
|
+
# @param edgetrunkbase_id Edge Trunk Base ID
|
7123
|
+
# @param body EdgeTrunkBase
|
7124
|
+
# @param [Hash] opts the optional parameters
|
7125
|
+
# @return [Array<(EdgeTrunkBase, Fixnum, Hash)>] EdgeTrunkBase data, response status code and response headers
|
7126
|
+
def put_providers_edges_edgegroups_edgegroup_id_edgetrunkbases_edgetrunkbase_id_with_http_info(edgegroup_id, edgetrunkbase_id, body, opts = {})
|
7127
|
+
if @api_client.config.debugging
|
7128
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_edgegroups_edgegroup_id_edgetrunkbases_edgetrunkbase_id ..."
|
7129
|
+
end
|
7130
|
+
|
7131
|
+
# verify the required parameter 'edgegroup_id' is set
|
7132
|
+
fail "Missing the required parameter 'edgegroup_id' when calling put_providers_edges_edgegroups_edgegroup_id_edgetrunkbases_edgetrunkbase_id" if edgegroup_id.nil?
|
7133
|
+
|
7134
|
+
# verify the required parameter 'edgetrunkbase_id' is set
|
7135
|
+
fail "Missing the required parameter 'edgetrunkbase_id' when calling put_providers_edges_edgegroups_edgegroup_id_edgetrunkbases_edgetrunkbase_id" if edgetrunkbase_id.nil?
|
7136
|
+
|
7137
|
+
# verify the required parameter 'body' is set
|
7138
|
+
fail "Missing the required parameter 'body' when calling put_providers_edges_edgegroups_edgegroup_id_edgetrunkbases_edgetrunkbase_id" if body.nil?
|
7139
|
+
|
7140
|
+
# resource path
|
7141
|
+
local_var_path = "/api/v2/telephony/providers/edges/edgegroups/{edgegroupId}/edgetrunkbases/{edgetrunkbaseId}".sub('{format}','json').sub('{' + 'edgegroupId' + '}', edgegroup_id.to_s).sub('{' + 'edgetrunkbaseId' + '}', edgetrunkbase_id.to_s)
|
7142
|
+
|
7143
|
+
# query parameters
|
7144
|
+
query_params = {}
|
7145
|
+
|
7146
|
+
# header parameters
|
7147
|
+
header_params = {}
|
7148
|
+
|
7149
|
+
# HTTP header 'Accept' (if needed)
|
7150
|
+
_header_accept = ['application/json']
|
7151
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
7152
|
+
|
7153
|
+
# HTTP header 'Content-Type'
|
7154
|
+
_header_content_type = ['application/json']
|
7155
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
7156
|
+
|
7157
|
+
# form parameters
|
7158
|
+
form_params = {}
|
7159
|
+
|
7160
|
+
# http body (model)
|
7161
|
+
post_body = @api_client.object_to_http_body(body)
|
7162
|
+
|
7163
|
+
auth_names = ['PureCloud Auth']
|
7164
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
7165
|
+
:header_params => header_params,
|
7166
|
+
:query_params => query_params,
|
7167
|
+
:form_params => form_params,
|
7168
|
+
:body => post_body,
|
7169
|
+
:auth_names => auth_names,
|
7170
|
+
:return_type => 'EdgeTrunkBase')
|
7171
|
+
if @api_client.config.debugging
|
7172
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edges_edgegroups_edgegroup_id_edgetrunkbases_edgetrunkbase_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
7173
|
+
end
|
7174
|
+
return data, status_code, headers
|
7175
|
+
end
|
7176
|
+
|
6903
7177
|
# Update endpoint
|
6904
7178
|
#
|
6905
7179
|
# @param endpoint_id Endpoint ID
|
@@ -7422,26 +7696,31 @@ module PureCloud
|
|
7422
7696
|
|
7423
7697
|
# Update outbound route
|
7424
7698
|
#
|
7699
|
+
# @param site_id Site ID
|
7425
7700
|
# @param outbound_route_id Outbound route ID
|
7426
7701
|
# @param body OutboundRoute
|
7427
7702
|
# @param [Hash] opts the optional parameters
|
7428
7703
|
# @return [OutboundRouteBase]
|
7429
|
-
def put_providers_edges_sites_site_id_outboundroutes_outboundroute_id(outbound_route_id, body, opts = {})
|
7430
|
-
data, status_code, headers = put_providers_edges_sites_site_id_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, body, opts)
|
7704
|
+
def put_providers_edges_sites_site_id_outboundroutes_outboundroute_id(site_id, outbound_route_id, body, opts = {})
|
7705
|
+
data, status_code, headers = put_providers_edges_sites_site_id_outboundroutes_outboundroute_id_with_http_info(site_id, outbound_route_id, body, opts)
|
7431
7706
|
return data
|
7432
7707
|
end
|
7433
7708
|
|
7434
7709
|
# Update outbound route
|
7435
7710
|
#
|
7711
|
+
# @param site_id Site ID
|
7436
7712
|
# @param outbound_route_id Outbound route ID
|
7437
7713
|
# @param body OutboundRoute
|
7438
7714
|
# @param [Hash] opts the optional parameters
|
7439
7715
|
# @return [Array<(OutboundRouteBase, Fixnum, Hash)>] OutboundRouteBase data, response status code and response headers
|
7440
|
-
def put_providers_edges_sites_site_id_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, body, opts = {})
|
7716
|
+
def put_providers_edges_sites_site_id_outboundroutes_outboundroute_id_with_http_info(site_id, outbound_route_id, body, opts = {})
|
7441
7717
|
if @api_client.config.debugging
|
7442
7718
|
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_sites_site_id_outboundroutes_outboundroute_id ..."
|
7443
7719
|
end
|
7444
7720
|
|
7721
|
+
# verify the required parameter 'site_id' is set
|
7722
|
+
fail "Missing the required parameter 'site_id' when calling put_providers_edges_sites_site_id_outboundroutes_outboundroute_id" if site_id.nil?
|
7723
|
+
|
7445
7724
|
# verify the required parameter 'outbound_route_id' is set
|
7446
7725
|
fail "Missing the required parameter 'outbound_route_id' when calling put_providers_edges_sites_site_id_outboundroutes_outboundroute_id" if outbound_route_id.nil?
|
7447
7726
|
|
@@ -7449,7 +7728,7 @@ module PureCloud
|
|
7449
7728
|
fail "Missing the required parameter 'body' when calling put_providers_edges_sites_site_id_outboundroutes_outboundroute_id" if body.nil?
|
7450
7729
|
|
7451
7730
|
# resource path
|
7452
|
-
local_var_path = "/api/v2/telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId}".sub('{format}','json').sub('{' + 'outboundRouteId' + '}', outbound_route_id.to_s)
|
7731
|
+
local_var_path = "/api/v2/telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId}".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s).sub('{' + 'outboundRouteId' + '}', outbound_route_id.to_s)
|
7453
7732
|
|
7454
7733
|
# query parameters
|
7455
7734
|
query_params = {}
|