purecloud 0.44.1 → 0.45.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/config-ruby.json +1 -1
- data/doc_out/Account.html.md +12 -12
- data/doc_out/AddressListing.html.md +2 -2
- data/doc_out/AgentActivityEntityListing.html.md +2 -2
- data/doc_out/AlertingApi.html.md +15 -18
- data/doc_out/AnalyticsApi.html.md +45 -54
- data/doc_out/AnalyticsSession.html.md +6 -0
- data/doc_out/AssetEntityListing.html.md +2 -2
- data/doc_out/AttributeEntityListing.html.md +2 -2
- data/doc_out/AttributesApi.html.md +15 -18
- data/doc_out/AuthorizationApi.html.md +43 -51
- data/doc_out/AvailableAdditionalServiceListing.html.md +2 -2
- data/doc_out/AvailableTopicEntityListing.html.md +2 -2
- data/doc_out/BillingAddress.html.md +5 -5
- data/doc_out/BillingContactListing.html.md +2 -2
- data/doc_out/CalibrationEntityListing.html.md +2 -2
- data/doc_out/CallConversationEntityListing.html.md +2 -2
- data/doc_out/CallableTimeSetEntityListing.html.md +2 -2
- data/doc_out/CallbackConversationEntityListing.html.md +2 -2
- data/doc_out/CampaignEntityListing.html.md +2 -2
- data/doc_out/CampaignSequenceEntityListing.html.md +2 -2
- data/doc_out/CarrierEntityListing.html.md +2 -2
- data/doc_out/CertificateAuthorityEntityListing.html.md +2 -2
- data/doc_out/ChannelEntityListing.html.md +2 -2
- data/doc_out/ChannelTopicEntityListing.html.md +2 -2
- data/doc_out/ChatConversationEntityListing.html.md +2 -2
- data/doc_out/CommandStatusEntityListing.html.md +2 -2
- data/doc_out/ConfigurationApi.html.md +5 -6
- data/doc_out/ConsumedResourcesEntityListing.html.md +2 -2
- data/doc_out/ConsumingResourcesEntityListing.html.md +2 -2
- data/doc_out/ContactListEntityListing.html.md +2 -2
- data/doc_out/ContactListing.html.md +2 -2
- data/doc_out/ContactSales.html.md +10 -10
- data/doc_out/ContentManagementApi.html.md +50 -52
- data/doc_out/Contract.html.md +3 -3
- data/doc_out/ConversationEntityListing.html.md +2 -2
- data/doc_out/ConversationsApi.html.md +140 -168
- data/doc_out/CreateCallbackCommand.html.md +2 -1
- data/doc_out/DIDEntityListing.html.md +2 -2
- data/doc_out/DIDPoolEntityListing.html.md +2 -2
- data/doc_out/DependencyObjectEntityListing.html.md +2 -2
- data/doc_out/DependencyTypeEntityListing.html.md +2 -2
- data/doc_out/Deployment.html.md +17 -0
- data/doc_out/DeploymentEntityListing.html.md +22 -0
- data/doc_out/DncList.html.md +4 -0
- data/doc_out/DncListEntityListing.html.md +2 -2
- data/doc_out/DocumentAuditEntityListing.html.md +2 -2
- data/doc_out/DocumentEntityListing.html.md +2 -2
- data/doc_out/DomainBillingPeriodEntityListing.html.md +2 -2
- data/doc_out/DomainEdgeSoftwareUpdateDto.html.md +1 -1
- data/doc_out/DomainEntityListing.html.md +2 -2
- data/doc_out/DomainEntityListingEvaluationForm.html.md +2 -2
- data/doc_out/DomainEntityListingQueryResult.html.md +2 -2
- data/doc_out/DomainInvoiceEntityListing.html.md +2 -2
- data/doc_out/DomainLogicalInterface.html.md +3 -3
- data/doc_out/DomainThirdPartyAccountEntityListing.html.md +2 -2
- data/doc_out/DomainThirdPartySubscriptionEntityListing.html.md +2 -2
- data/doc_out/DomainVoiceRateExtendedResponseItemEntityListing.html.md +2 -2
- data/doc_out/DomainVoiceRateInternationalResponseItemEntityListing.html.md +2 -2
- data/doc_out/DomainVoiceRateResponseItemEntityListing.html.md +2 -2
- data/doc_out/EdgeEntityListing.html.md +2 -2
- data/doc_out/EdgeGroup.html.md +1 -1
- data/doc_out/EdgeGroupEntityListing.html.md +2 -2
- data/doc_out/EdgeLineEntityListing.html.md +2 -2
- data/doc_out/EmailConversationEntityListing.html.md +2 -2
- data/doc_out/EmailMessageListing.html.md +2 -2
- data/doc_out/EncryptionKeyEntityListing.html.md +2 -2
- data/doc_out/Endpoint.html.md +2 -2
- data/doc_out/EndpointEntityListing.html.md +2 -2
- data/doc_out/EvaluationEntityListing.html.md +2 -2
- data/doc_out/EvaluationFormEntityListing.html.md +2 -2
- data/doc_out/EvaluatorActivityEntityListing.html.md +2 -2
- data/doc_out/ExpressionResponse.html.md +1 -1
- data/doc_out/ExtensionEntityListing.html.md +2 -2
- data/doc_out/ExtensionPoolEntityListing.html.md +2 -2
- data/doc_out/ExternalContact.html.md +1 -0
- data/doc_out/ExternalOrganization.html.md +1 -0
- data/doc_out/ExternalOrganizationListing.html.md +2 -2
- data/doc_out/FaxApi.html.md +5 -6
- data/doc_out/FaxDocumentEntityListing.html.md +2 -2
- data/doc_out/Flow.html.md +5 -2
- data/doc_out/FlowConfigMetaDataEntityListing.html.md +2 -2
- data/doc_out/FlowEntityListing.html.md +2 -2
- data/doc_out/FlowVersionConfigMetaDataEntityListing.html.md +2 -2
- data/doc_out/FlowVersionEntityListing.html.md +2 -2
- data/doc_out/GeolocationApi.html.md +10 -12
- data/doc_out/Gistener.html.md +2 -2
- data/doc_out/Greeting.html.md +3 -3
- data/doc_out/GroupEntityListing.html.md +2 -2
- data/doc_out/GroupTag.html.md +1 -1
- data/doc_out/GroupsApi.html.md +20 -22
- data/doc_out/HardwareRateListing.html.md +2 -2
- data/doc_out/IVREntityListing.html.md +2 -2
- data/doc_out/IdentityProviderApi.html.md +35 -42
- data/doc_out/InboundDomain.html.md +1 -1
- data/doc_out/InboundDomainEntityListing.html.md +2 -2
- data/doc_out/InboundRouteEntityListing.html.md +2 -2
- data/doc_out/IntegrationEntityListing.html.md +2 -2
- data/doc_out/IntegrationTypeEntityListing.html.md +2 -2
- data/doc_out/InteractionStatsAlertContainer.html.md +2 -2
- data/doc_out/InteractionStatsRuleContainer.html.md +2 -2
- data/doc_out/JsonNode.html.md +1 -1
- data/doc_out/KeywordSetEntityListing.html.md +2 -2
- data/doc_out/LanguageEntityListing.html.md +2 -2
- data/doc_out/LanguagesApi.html.md +13 -13
- data/doc_out/LibraryEntityListing.html.md +2 -2
- data/doc_out/LineBaseEntityListing.html.md +2 -2
- data/doc_out/LineEntityListing.html.md +2 -2
- data/doc_out/LinkedEntityListingFlowDetails.html.md +2 -2
- data/doc_out/LinkedEntityListingWorkItemSearchDetails.html.md +2 -2
- data/doc_out/LocationsApi.html.md +10 -10
- data/doc_out/LogicalInterfaceEntityListing.html.md +2 -2
- data/doc_out/NoteListing.html.md +2 -2
- data/doc_out/NotificationsApi.html.md +10 -12
- data/doc_out/OAuthApi.html.md +10 -12
- data/doc_out/OAuthClientEntityListing.html.md +2 -2
- data/doc_out/OAuthProviderEntityListing.html.md +2 -2
- data/doc_out/Operation.html.md +16 -0
- data/doc_out/Order.html.md +2 -2
- data/doc_out/OrganizationPresence.html.md +1 -0
- data/doc_out/OrganizationPresenceEntityListing.html.md +2 -2
- data/doc_out/OrganizationRoleEntityListing.html.md +2 -2
- data/doc_out/OrphanRecordingListing.html.md +2 -2
- data/doc_out/OutboundApi.html.md +125 -145
- data/doc_out/OutboundRoute.html.md +1 -1
- data/doc_out/OutboundRouteEntityListing.html.md +2 -2
- data/doc_out/PaymentMethod.html.md +3 -3
- data/doc_out/PaymentMethodListing.html.md +2 -2
- data/doc_out/PermissionCollectionEntityListing.html.md +2 -2
- data/doc_out/Phone.html.md +3 -3
- data/doc_out/PhoneBase.html.md +2 -2
- data/doc_out/PhoneBaseEntityListing.html.md +2 -2
- data/doc_out/PhoneEntityListing.html.md +2 -2
- data/doc_out/PhoneMetaBaseEntityListing.html.md +2 -2
- data/doc_out/PhysicalInterfaceEntityListing.html.md +2 -2
- data/doc_out/PolicyEntityListing.html.md +2 -2
- data/doc_out/PresenceApi.html.md +5 -6
- data/doc_out/Prompt.html.md +1 -0
- data/doc_out/PromptAssetEntityListing.html.md +2 -2
- data/doc_out/PromptEntityListing.html.md +2 -2
- data/doc_out/Publication.html.md +1 -1
- data/doc_out/QualityApi.html.md +55 -58
- data/doc_out/QualityAuditPage.html.md +2 -2
- data/doc_out/QueueEntityListing.html.md +2 -2
- data/doc_out/Quote.html.md +3 -3
- data/doc_out/QuoteListing.html.md +2 -2
- data/doc_out/RecordingApi.html.md +30 -36
- data/doc_out/RelationshipListing.html.md +2 -2
- data/doc_out/ReportMetaDataEntityListing.html.md +2 -2
- data/doc_out/ReportRunEntryEntityDomainListing.html.md +2 -2
- data/doc_out/ReportSchedule.html.md +3 -3
- data/doc_out/ReportScheduleEntityListing.html.md +2 -2
- data/doc_out/ResourcePermissionPolicy.html.md +1 -0
- data/doc_out/ResponseEntityList.html.md +2 -2
- data/doc_out/ResponseEntityListing.html.md +2 -2
- data/doc_out/ResponseManagementApi.html.md +25 -30
- data/doc_out/ResponseSetEntityListing.html.md +2 -2
- data/doc_out/RoutingApi.html.md +80 -94
- data/doc_out/RuleSetEntityListing.html.md +2 -2
- data/doc_out/SceneEntityListing.html.md +2 -2
- data/doc_out/SceneGroupEntityListing.html.md +2 -2
- data/doc_out/ScheduleEntityListing.html.md +2 -2
- data/doc_out/ScheduleGroupEntityListing.html.md +2 -2
- data/doc_out/SchemaCategoryEntityListing.html.md +2 -2
- data/doc_out/SchemaReferenceEntityListing.html.md +2 -2
- data/doc_out/ScriptEntityListing.html.md +2 -2
- data/doc_out/SearchApi.html.md +50 -46
- data/doc_out/SecurityProfileEntityListing.html.md +2 -2
- data/doc_out/ServiceEntityListing.html.md +2 -2
- data/doc_out/Share.html.md +1 -0
- data/doc_out/ShareEntityListing.html.md +2 -2
- data/doc_out/Site.html.md +1 -1
- data/doc_out/SiteEntityListing.html.md +2 -2
- data/doc_out/SkillEntityListing.html.md +2 -2
- data/doc_out/SocialAccount.html.md +2 -2
- data/doc_out/SocialConversationEntityListing.html.md +2 -2
- data/doc_out/SocializeFilterRequest.html.md +1 -1
- data/doc_out/SpreadsheetTransformEntityListing.html.md +2 -2
- data/doc_out/StationEntityListing.html.md +2 -2
- data/doc_out/SuggestApi.html.md +20 -16
- data/doc_out/SupportCreditListing.html.md +2 -2
- data/doc_out/SystemPromptAssetEntityListing.html.md +2 -2
- data/doc_out/SystemPromptEntityListing.html.md +2 -2
- data/doc_out/TagValueEntityListing.html.md +2 -2
- data/doc_out/TelephonyProvidersEdgeApi.html.md +160 -192
- data/doc_out/TemplateEntityListing.html.md +2 -2
- data/doc_out/TextTableTransformEntityListing.html.md +2 -2
- data/doc_out/TimeOffRequest.html.md +30 -0
- data/doc_out/TimeOffRequestList.html.md +16 -0
- data/doc_out/TimeOffRequestPatch.html.md +13 -0
- data/doc_out/TimeZoneEntityListing.html.md +2 -2
- data/doc_out/TrunkEntityListing.html.md +2 -2
- data/doc_out/TrunkMetabaseEntityListing.html.md +2 -2
- data/doc_out/TwitterExpression.html.md +4 -4
- data/doc_out/TwitterId.html.md +17 -0
- data/doc_out/UserActionCategoryEntityListing.html.md +2 -2
- data/doc_out/UserActionMetadataEntityListing.html.md +1 -1
- data/doc_out/UserEntityListing.html.md +2 -2
- data/doc_out/UserQueueEntityListing.html.md +2 -2
- data/doc_out/UserRecordingEntityListing.html.md +2 -2
- data/doc_out/UserRecordingsApi.html.md +5 -4
- data/doc_out/UserSkillEntityListing.html.md +2 -2
- data/doc_out/UsersApi.html.md +86 -99
- data/doc_out/UsersEntityListing.html.md +2 -2
- data/doc_out/UtilitiesApi.html.md +5 -6
- data/doc_out/VideoConversationEntityListing.html.md +2 -2
- data/doc_out/VoiceRateInternationalEntityListing.html.md +2 -2
- data/doc_out/VoiceXmlOperation.html.md +1 -0
- data/doc_out/VoiceXmlOperationEntityListing.html.md +2 -2
- data/doc_out/VoicemailApi.html.md +10 -12
- data/doc_out/WaypointEntityListing.html.md +2 -2
- data/doc_out/WorkspaceEntityListing.html.md +2 -2
- data/doc_out/WorkspaceMemberEntityListing.html.md +2 -2
- data/doc_out/WrapupCodeEntityListing.html.md +2 -2
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +7 -0
- data/lib/purecloud/api/alerting_api.rb +27 -18
- data/lib/purecloud/api/analytics_api.rb +81 -54
- data/lib/purecloud/api/attributes_api.rb +27 -18
- data/lib/purecloud/api/authorization_api.rb +74 -50
- data/lib/purecloud/api/configuration_api.rb +9 -6
- data/lib/purecloud/api/content_management_api.rb +90 -60
- data/lib/purecloud/api/conversations_api.rb +252 -168
- data/lib/purecloud/api/fax_api.rb +9 -6
- data/lib/purecloud/api/geolocation_api.rb +18 -12
- data/lib/purecloud/api/groups_api.rb +36 -24
- data/lib/purecloud/api/identity_provider_api.rb +63 -42
- data/lib/purecloud/api/languages_api.rb +21 -12
- data/lib/purecloud/api/locations_api.rb +18 -12
- data/lib/purecloud/api/notifications_api.rb +18 -12
- data/lib/purecloud/api/o_auth_api.rb +18 -12
- data/lib/purecloud/api/outbound_api.rb +220 -148
- data/lib/purecloud/api/presence_api.rb +9 -6
- data/lib/purecloud/api/quality_api.rb +99 -66
- data/lib/purecloud/api/recording_api.rb +54 -36
- data/lib/purecloud/api/response_management_api.rb +45 -30
- data/lib/purecloud/api/routing_api.rb +144 -96
- data/lib/purecloud/api/search_api.rb +90 -60
- data/lib/purecloud/api/suggest_api.rb +36 -24
- data/lib/purecloud/api/telephony_providers_edge_api.rb +288 -192
- data/lib/purecloud/api/user_recordings_api.rb +9 -6
- data/lib/purecloud/api/users_api.rb +145 -100
- data/lib/purecloud/api/utilities_api.rb +9 -6
- data/lib/purecloud/api/voicemail_api.rb +18 -12
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/account.rb +12 -0
- data/lib/purecloud/models/address_listing.rb +17 -17
- data/lib/purecloud/models/agent_activity_entity_listing.rb +17 -17
- data/lib/purecloud/models/aggregate_metric_data.rb +1 -1
- data/lib/purecloud/models/analytics_conversation_segment.rb +1 -1
- data/lib/purecloud/models/analytics_query_predicate.rb +2 -2
- data/lib/purecloud/models/analytics_session.rb +66 -1
- data/lib/purecloud/models/asset_entity_listing.rb +17 -17
- data/lib/purecloud/models/attribute_entity_listing.rb +17 -17
- data/lib/purecloud/models/available_additional_service_listing.rb +17 -17
- data/lib/purecloud/models/available_topic_entity_listing.rb +17 -17
- data/lib/purecloud/models/billing_address.rb +5 -0
- data/lib/purecloud/models/billing_contact_listing.rb +17 -17
- data/lib/purecloud/models/calibration_entity_listing.rb +17 -17
- data/lib/purecloud/models/call_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/campaign_entity_listing.rb +17 -17
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +17 -17
- data/lib/purecloud/models/carrier_entity_listing.rb +17 -17
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +17 -17
- data/lib/purecloud/models/channel_entity_listing.rb +17 -17
- data/lib/purecloud/models/channel_topic_entity_listing.rb +17 -17
- data/lib/purecloud/models/chat_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/command_status_entity_listing.rb +17 -17
- data/lib/purecloud/models/consumed_resources_entity_listing.rb +17 -17
- data/lib/purecloud/models/consuming_resources_entity_listing.rb +17 -17
- data/lib/purecloud/models/contact_list_entity_listing.rb +17 -17
- data/lib/purecloud/models/contact_listing.rb +17 -17
- data/lib/purecloud/models/contact_sales.rb +10 -0
- data/lib/purecloud/models/contract.rb +3 -0
- data/lib/purecloud/models/conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/create_callback_command.rb +18 -8
- data/lib/purecloud/models/create_share_request.rb +1 -1
- data/lib/purecloud/models/create_share_request_member.rb +1 -1
- data/lib/purecloud/models/create_share_response.rb +1 -1
- data/lib/purecloud/models/dependency_object_entity_listing.rb +17 -17
- data/lib/purecloud/models/dependency_type_entity_listing.rb +17 -17
- data/lib/purecloud/models/deployment.rb +209 -0
- data/lib/purecloud/models/deployment_entity_listing.rb +257 -0
- data/lib/purecloud/models/did_entity_listing.rb +17 -17
- data/lib/purecloud/models/did_pool_entity_listing.rb +17 -17
- data/lib/purecloud/models/dnc_list.rb +56 -1
- data/lib/purecloud/models/dnc_list_entity_listing.rb +17 -17
- data/lib/purecloud/models/document_audit_entity_listing.rb +17 -17
- data/lib/purecloud/models/document_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_billing_period_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_edge_software_update_dto.rb +1 -0
- data/lib/purecloud/models/domain_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +17 -17
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +17 -17
- data/lib/purecloud/models/domain_invoice_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_logical_interface.rb +3 -0
- data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +17 -17
- data/lib/purecloud/models/edge_entity_listing.rb +17 -17
- data/lib/purecloud/models/edge_group_entity_listing.rb +17 -17
- data/lib/purecloud/models/edge_line_entity_listing.rb +17 -17
- data/lib/purecloud/models/email_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/email_message_listing.rb +17 -17
- data/lib/purecloud/models/encryption_key_entity_listing.rb +17 -17
- data/lib/purecloud/models/endpoint.rb +2 -0
- data/lib/purecloud/models/endpoint_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluation_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +17 -17
- data/lib/purecloud/models/extension_entity_listing.rb +17 -17
- data/lib/purecloud/models/extension_pool_entity_listing.rb +17 -17
- data/lib/purecloud/models/external_contact.rb +11 -1
- data/lib/purecloud/models/external_organization.rb +11 -1
- data/lib/purecloud/models/external_organization_listing.rb +17 -17
- data/lib/purecloud/models/fax_document_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow.rb +49 -19
- data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_version_entity_listing.rb +17 -17
- data/lib/purecloud/models/greeting.rb +3 -0
- data/lib/purecloud/models/group_entity_listing.rb +17 -17
- data/lib/purecloud/models/hardware_rate_listing.rb +17 -17
- data/lib/purecloud/models/inbound_domain.rb +1 -0
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +17 -17
- data/lib/purecloud/models/inbound_route_entity_listing.rb +17 -17
- data/lib/purecloud/models/integration_entity_listing.rb +17 -17
- data/lib/purecloud/models/integration_type_entity_listing.rb +17 -17
- data/lib/purecloud/models/interaction_stats_alert_container.rb +17 -17
- data/lib/purecloud/models/interaction_stats_rule_container.rb +17 -17
- data/lib/purecloud/models/ivr_entity_listing.rb +17 -17
- data/lib/purecloud/models/json_node.rb +13 -13
- data/lib/purecloud/models/keyword_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/language_entity_listing.rb +17 -17
- data/lib/purecloud/models/library_entity_listing.rb +17 -17
- data/lib/purecloud/models/line_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/line_entity_listing.rb +17 -17
- data/lib/purecloud/models/linked_entity_listing_flow_details.rb +17 -17
- data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +17 -17
- data/lib/purecloud/models/logical_interface_entity_listing.rb +17 -17
- data/lib/purecloud/models/management_unit.rb +1 -0
- data/lib/purecloud/models/note_listing.rb +17 -17
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +17 -17
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +17 -17
- data/lib/purecloud/models/operation.rb +195 -0
- data/lib/purecloud/models/order.rb +2 -0
- data/lib/purecloud/models/organization_presence.rb +13 -1
- data/lib/purecloud/models/organization_presence_entity_listing.rb +17 -17
- data/lib/purecloud/models/organization_role_entity_listing.rb +17 -17
- data/lib/purecloud/models/orphan_recording_listing.rb +17 -17
- data/lib/purecloud/models/outbound_route.rb +1 -0
- data/lib/purecloud/models/outbound_route_entity_listing.rb +17 -17
- data/lib/purecloud/models/payment_method.rb +3 -0
- data/lib/purecloud/models/payment_method_listing.rb +17 -17
- data/lib/purecloud/models/permission_collection_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone.rb +3 -0
- data/lib/purecloud/models/phone_base.rb +2 -0
- data/lib/purecloud/models/phone_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/physical_interface_entity_listing.rb +17 -17
- data/lib/purecloud/models/policy_entity_listing.rb +17 -17
- data/lib/purecloud/models/prompt.rb +11 -1
- data/lib/purecloud/models/prompt_asset_entity_listing.rb +17 -17
- data/lib/purecloud/models/prompt_entity_listing.rb +17 -17
- data/lib/purecloud/models/quality_audit_page.rb +17 -17
- data/lib/purecloud/models/queue_entity_listing.rb +17 -17
- data/lib/purecloud/models/quote.rb +3 -0
- data/lib/purecloud/models/quote_listing.rb +17 -17
- data/lib/purecloud/models/relationship_listing.rb +17 -17
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +17 -17
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +17 -17
- data/lib/purecloud/models/report_schedule.rb +3 -1
- data/lib/purecloud/models/report_schedule_entity_listing.rb +17 -17
- data/lib/purecloud/models/resource_permission_policy.rb +13 -1
- data/lib/purecloud/models/response_entity_list.rb +17 -17
- data/lib/purecloud/models/response_entity_listing.rb +17 -17
- data/lib/purecloud/models/response_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/rule_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/scene_entity_listing.rb +17 -17
- data/lib/purecloud/models/scene_group_entity_listing.rb +17 -17
- data/lib/purecloud/models/schedule_entity_listing.rb +17 -17
- data/lib/purecloud/models/schedule_group_entity_listing.rb +17 -17
- data/lib/purecloud/models/schema_category_entity_listing.rb +17 -17
- data/lib/purecloud/models/schema_reference_entity_listing.rb +17 -17
- data/lib/purecloud/models/script_entity_listing.rb +17 -17
- data/lib/purecloud/models/security_profile_entity_listing.rb +17 -17
- data/lib/purecloud/models/service_entity_listing.rb +17 -17
- data/lib/purecloud/models/share.rb +12 -2
- data/lib/purecloud/models/share_entity_listing.rb +17 -17
- data/lib/purecloud/models/site.rb +1 -0
- data/lib/purecloud/models/site_entity_listing.rb +17 -17
- data/lib/purecloud/models/skill_entity_listing.rb +17 -17
- data/lib/purecloud/models/social_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +17 -17
- data/lib/purecloud/models/station_entity_listing.rb +17 -17
- data/lib/purecloud/models/support_credit_listing.rb +17 -17
- data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +17 -17
- data/lib/purecloud/models/system_prompt_entity_listing.rb +17 -17
- data/lib/purecloud/models/tag_value_entity_listing.rb +17 -17
- data/lib/purecloud/models/template_entity_listing.rb +17 -17
- data/lib/purecloud/models/text_table_transform_entity_listing.rb +17 -17
- data/lib/purecloud/models/time_off_request.rb +356 -0
- data/lib/purecloud/models/time_off_request_list.rb +199 -0
- data/lib/purecloud/models/time_off_request_patch.rb +167 -0
- data/lib/purecloud/models/time_zone_entity_listing.rb +17 -17
- data/lib/purecloud/models/trunk_entity_listing.rb +17 -17
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +17 -17
- data/lib/purecloud/models/twitter_id.rb +213 -0
- data/lib/purecloud/models/user_action_category_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_action_metadata_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_queue_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_recording_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_skill_entity_listing.rb +17 -17
- data/lib/purecloud/models/users_entity_listing.rb +17 -17
- data/lib/purecloud/models/video_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/voice_rate_international_entity_listing.rb +17 -17
- data/lib/purecloud/models/voice_xml_operation.rb +11 -1
- data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +17 -17
- data/lib/purecloud/models/waypoint_entity_listing.rb +17 -17
- data/lib/purecloud/models/workspace_entity_listing.rb +17 -17
- data/lib/purecloud/models/workspace_member_entity_listing.rb +17 -17
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +17 -17
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +16 -2
@@ -206,24 +206,27 @@ module PureCloud
|
|
206
206
|
|
207
207
|
# Create an attribute.
|
208
208
|
#
|
209
|
+
# @param body Attribute
|
209
210
|
# @param [Hash] opts the optional parameters
|
210
|
-
# @option opts [Attribute] :body Attribute
|
211
211
|
# @return [Attribute]
|
212
|
-
def post_attributes(opts = {})
|
213
|
-
data, status_code, headers = post_attributes_with_http_info(opts)
|
212
|
+
def post_attributes(body, opts = {})
|
213
|
+
data, status_code, headers = post_attributes_with_http_info(body, opts)
|
214
214
|
return data
|
215
215
|
end
|
216
216
|
|
217
217
|
# Create an attribute.
|
218
218
|
#
|
219
|
+
# @param body Attribute
|
219
220
|
# @param [Hash] opts the optional parameters
|
220
|
-
# @option opts [Attribute] :body Attribute
|
221
221
|
# @return [Array<(Attribute, Fixnum, Hash)>] Attribute data, response status code and response headers
|
222
|
-
def post_attributes_with_http_info(opts = {})
|
222
|
+
def post_attributes_with_http_info(body, opts = {})
|
223
223
|
if @api_client.config.debugging
|
224
224
|
@api_client.config.logger.debug "Calling API: AttributesApi#post_attributes ..."
|
225
225
|
end
|
226
226
|
|
227
|
+
# verify the required parameter 'body' is set
|
228
|
+
fail "Missing the required parameter 'body' when calling post_attributes" if body.nil?
|
229
|
+
|
227
230
|
# resource path
|
228
231
|
local_var_path = "/api/v2/attributes".sub('{format}','json')
|
229
232
|
|
@@ -245,7 +248,7 @@ module PureCloud
|
|
245
248
|
form_params = {}
|
246
249
|
|
247
250
|
# http body (model)
|
248
|
-
post_body = @api_client.object_to_http_body(
|
251
|
+
post_body = @api_client.object_to_http_body(body)
|
249
252
|
|
250
253
|
auth_names = ['PureCloud Auth']
|
251
254
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -263,24 +266,27 @@ module PureCloud
|
|
263
266
|
|
264
267
|
# Query attributes
|
265
268
|
#
|
269
|
+
# @param body query
|
266
270
|
# @param [Hash] opts the optional parameters
|
267
|
-
# @option opts [AttributeQueryRequest] :body query
|
268
271
|
# @return [AttributeEntityListing]
|
269
|
-
def post_query(opts = {})
|
270
|
-
data, status_code, headers = post_query_with_http_info(opts)
|
272
|
+
def post_query(body, opts = {})
|
273
|
+
data, status_code, headers = post_query_with_http_info(body, opts)
|
271
274
|
return data
|
272
275
|
end
|
273
276
|
|
274
277
|
# Query attributes
|
275
278
|
#
|
279
|
+
# @param body query
|
276
280
|
# @param [Hash] opts the optional parameters
|
277
|
-
# @option opts [AttributeQueryRequest] :body query
|
278
281
|
# @return [Array<(AttributeEntityListing, Fixnum, Hash)>] AttributeEntityListing data, response status code and response headers
|
279
|
-
def post_query_with_http_info(opts = {})
|
282
|
+
def post_query_with_http_info(body, opts = {})
|
280
283
|
if @api_client.config.debugging
|
281
284
|
@api_client.config.logger.debug "Calling API: AttributesApi#post_query ..."
|
282
285
|
end
|
283
286
|
|
287
|
+
# verify the required parameter 'body' is set
|
288
|
+
fail "Missing the required parameter 'body' when calling post_query" if body.nil?
|
289
|
+
|
284
290
|
# resource path
|
285
291
|
local_var_path = "/api/v2/attributes/query".sub('{format}','json')
|
286
292
|
|
@@ -302,7 +308,7 @@ module PureCloud
|
|
302
308
|
form_params = {}
|
303
309
|
|
304
310
|
# http body (model)
|
305
|
-
post_body = @api_client.object_to_http_body(
|
311
|
+
post_body = @api_client.object_to_http_body(body)
|
306
312
|
|
307
313
|
auth_names = ['PureCloud Auth']
|
308
314
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -321,21 +327,21 @@ module PureCloud
|
|
321
327
|
# Update an existing attribute.
|
322
328
|
# Fields that can be updated: name, description. The most recent version is required for updates.
|
323
329
|
# @param attribute_id Attribute ID
|
330
|
+
# @param body Attribute
|
324
331
|
# @param [Hash] opts the optional parameters
|
325
|
-
# @option opts [Attribute] :body Attribute
|
326
332
|
# @return [Attribute]
|
327
|
-
def put_attribute_id(attribute_id, opts = {})
|
328
|
-
data, status_code, headers = put_attribute_id_with_http_info(attribute_id, opts)
|
333
|
+
def put_attribute_id(attribute_id, body, opts = {})
|
334
|
+
data, status_code, headers = put_attribute_id_with_http_info(attribute_id, body, opts)
|
329
335
|
return data
|
330
336
|
end
|
331
337
|
|
332
338
|
# Update an existing attribute.
|
333
339
|
# Fields that can be updated: name, description. The most recent version is required for updates.
|
334
340
|
# @param attribute_id Attribute ID
|
341
|
+
# @param body Attribute
|
335
342
|
# @param [Hash] opts the optional parameters
|
336
|
-
# @option opts [Attribute] :body Attribute
|
337
343
|
# @return [Array<(Attribute, Fixnum, Hash)>] Attribute data, response status code and response headers
|
338
|
-
def put_attribute_id_with_http_info(attribute_id, opts = {})
|
344
|
+
def put_attribute_id_with_http_info(attribute_id, body, opts = {})
|
339
345
|
if @api_client.config.debugging
|
340
346
|
@api_client.config.logger.debug "Calling API: AttributesApi#put_attribute_id ..."
|
341
347
|
end
|
@@ -343,6 +349,9 @@ module PureCloud
|
|
343
349
|
# verify the required parameter 'attribute_id' is set
|
344
350
|
fail "Missing the required parameter 'attribute_id' when calling put_attribute_id" if attribute_id.nil?
|
345
351
|
|
352
|
+
# verify the required parameter 'body' is set
|
353
|
+
fail "Missing the required parameter 'body' when calling put_attribute_id" if body.nil?
|
354
|
+
|
346
355
|
# resource path
|
347
356
|
local_var_path = "/api/v2/attributes/{attributeId}".sub('{format}','json').sub('{' + 'attributeId' + '}', attribute_id.to_s)
|
348
357
|
|
@@ -364,7 +373,7 @@ module PureCloud
|
|
364
373
|
form_params = {}
|
365
374
|
|
366
375
|
# http body (model)
|
367
|
-
post_body = @api_client.object_to_http_body(
|
376
|
+
post_body = @api_client.object_to_http_body(body)
|
368
377
|
|
369
378
|
auth_names = ['PureCloud Auth']
|
370
379
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
@@ -525,21 +525,21 @@ module PureCloud
|
|
525
525
|
# Patch Organization Role for needsUpdate Field
|
526
526
|
# Patch Organization Role for needsUpdate Field
|
527
527
|
# @param role_id Role ID
|
528
|
+
# @param body Organization role
|
528
529
|
# @param [Hash] opts the optional parameters
|
529
|
-
# @option opts [DomainOrganizationRole] :body
|
530
530
|
# @return [DomainOrganizationRole]
|
531
|
-
def patch_roles_role_id(role_id, opts = {})
|
532
|
-
data, status_code, headers = patch_roles_role_id_with_http_info(role_id, opts)
|
531
|
+
def patch_roles_role_id(role_id, body, opts = {})
|
532
|
+
data, status_code, headers = patch_roles_role_id_with_http_info(role_id, body, opts)
|
533
533
|
return data
|
534
534
|
end
|
535
535
|
|
536
536
|
# Patch Organization Role for needsUpdate Field
|
537
537
|
# Patch Organization Role for needsUpdate Field
|
538
538
|
# @param role_id Role ID
|
539
|
+
# @param body Organization role
|
539
540
|
# @param [Hash] opts the optional parameters
|
540
|
-
# @option opts [DomainOrganizationRole] :body
|
541
541
|
# @return [Array<(DomainOrganizationRole, Fixnum, Hash)>] DomainOrganizationRole data, response status code and response headers
|
542
|
-
def patch_roles_role_id_with_http_info(role_id, opts = {})
|
542
|
+
def patch_roles_role_id_with_http_info(role_id, body, opts = {})
|
543
543
|
if @api_client.config.debugging
|
544
544
|
@api_client.config.logger.debug "Calling API: AuthorizationApi#patch_roles_role_id ..."
|
545
545
|
end
|
@@ -547,6 +547,9 @@ module PureCloud
|
|
547
547
|
# verify the required parameter 'role_id' is set
|
548
548
|
fail "Missing the required parameter 'role_id' when calling patch_roles_role_id" if role_id.nil?
|
549
549
|
|
550
|
+
# verify the required parameter 'body' is set
|
551
|
+
fail "Missing the required parameter 'body' when calling patch_roles_role_id" if body.nil?
|
552
|
+
|
550
553
|
# resource path
|
551
554
|
local_var_path = "/api/v2/authorization/roles/{roleId}".sub('{format}','json').sub('{' + 'roleId' + '}', role_id.to_s)
|
552
555
|
|
@@ -568,7 +571,7 @@ module PureCloud
|
|
568
571
|
form_params = {}
|
569
572
|
|
570
573
|
# http body (model)
|
571
|
-
post_body = @api_client.object_to_http_body(
|
574
|
+
post_body = @api_client.object_to_http_body(body)
|
572
575
|
|
573
576
|
auth_names = ['PureCloud Auth']
|
574
577
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
@@ -586,24 +589,27 @@ module PureCloud
|
|
586
589
|
|
587
590
|
# Create an organization role.
|
588
591
|
#
|
592
|
+
# @param body Organization role
|
589
593
|
# @param [Hash] opts the optional parameters
|
590
|
-
# @option opts [DomainOrganizationRole] :body
|
591
594
|
# @return [DomainOrganizationRole]
|
592
|
-
def post_roles(opts = {})
|
593
|
-
data, status_code, headers = post_roles_with_http_info(opts)
|
595
|
+
def post_roles(body, opts = {})
|
596
|
+
data, status_code, headers = post_roles_with_http_info(body, opts)
|
594
597
|
return data
|
595
598
|
end
|
596
599
|
|
597
600
|
# Create an organization role.
|
598
601
|
#
|
602
|
+
# @param body Organization role
|
599
603
|
# @param [Hash] opts the optional parameters
|
600
|
-
# @option opts [DomainOrganizationRole] :body
|
601
604
|
# @return [Array<(DomainOrganizationRole, Fixnum, Hash)>] DomainOrganizationRole data, response status code and response headers
|
602
|
-
def post_roles_with_http_info(opts = {})
|
605
|
+
def post_roles_with_http_info(body, opts = {})
|
603
606
|
if @api_client.config.debugging
|
604
607
|
@api_client.config.logger.debug "Calling API: AuthorizationApi#post_roles ..."
|
605
608
|
end
|
606
609
|
|
610
|
+
# verify the required parameter 'body' is set
|
611
|
+
fail "Missing the required parameter 'body' when calling post_roles" if body.nil?
|
612
|
+
|
607
613
|
# resource path
|
608
614
|
local_var_path = "/api/v2/authorization/roles".sub('{format}','json')
|
609
615
|
|
@@ -625,7 +631,7 @@ module PureCloud
|
|
625
631
|
form_params = {}
|
626
632
|
|
627
633
|
# http body (model)
|
628
|
-
post_body = @api_client.object_to_http_body(
|
634
|
+
post_body = @api_client.object_to_http_body(body)
|
629
635
|
|
630
636
|
auth_names = ['PureCloud Auth']
|
631
637
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -699,26 +705,26 @@ module PureCloud
|
|
699
705
|
return data, status_code, headers
|
700
706
|
end
|
701
707
|
|
702
|
-
#
|
708
|
+
# Get an unsaved org role to default role comparison
|
703
709
|
# Allows users to compare their existing roles in an unsaved state to its default role
|
704
710
|
# @param left_role_id Left Role ID
|
705
711
|
# @param right_role_id Right Role id
|
712
|
+
# @param body Organization role
|
706
713
|
# @param [Hash] opts the optional parameters
|
707
|
-
# @option opts [DomainOrganizationRole] :body
|
708
714
|
# @return [DomainOrgRoleDifference]
|
709
|
-
def post_roles_leftrole_id_comparedefault_rightrole_id(left_role_id, right_role_id, opts = {})
|
710
|
-
data, status_code, headers = post_roles_leftrole_id_comparedefault_rightrole_id_with_http_info(left_role_id, right_role_id, opts)
|
715
|
+
def post_roles_leftrole_id_comparedefault_rightrole_id(left_role_id, right_role_id, body, opts = {})
|
716
|
+
data, status_code, headers = post_roles_leftrole_id_comparedefault_rightrole_id_with_http_info(left_role_id, right_role_id, body, opts)
|
711
717
|
return data
|
712
718
|
end
|
713
719
|
|
714
|
-
#
|
720
|
+
# Get an unsaved org role to default role comparison
|
715
721
|
# Allows users to compare their existing roles in an unsaved state to its default role
|
716
722
|
# @param left_role_id Left Role ID
|
717
723
|
# @param right_role_id Right Role id
|
724
|
+
# @param body Organization role
|
718
725
|
# @param [Hash] opts the optional parameters
|
719
|
-
# @option opts [DomainOrganizationRole] :body
|
720
726
|
# @return [Array<(DomainOrgRoleDifference, Fixnum, Hash)>] DomainOrgRoleDifference data, response status code and response headers
|
721
|
-
def post_roles_leftrole_id_comparedefault_rightrole_id_with_http_info(left_role_id, right_role_id, opts = {})
|
727
|
+
def post_roles_leftrole_id_comparedefault_rightrole_id_with_http_info(left_role_id, right_role_id, body, opts = {})
|
722
728
|
if @api_client.config.debugging
|
723
729
|
@api_client.config.logger.debug "Calling API: AuthorizationApi#post_roles_leftrole_id_comparedefault_rightrole_id ..."
|
724
730
|
end
|
@@ -729,6 +735,9 @@ module PureCloud
|
|
729
735
|
# verify the required parameter 'right_role_id' is set
|
730
736
|
fail "Missing the required parameter 'right_role_id' when calling post_roles_leftrole_id_comparedefault_rightrole_id" if right_role_id.nil?
|
731
737
|
|
738
|
+
# verify the required parameter 'body' is set
|
739
|
+
fail "Missing the required parameter 'body' when calling post_roles_leftrole_id_comparedefault_rightrole_id" if body.nil?
|
740
|
+
|
732
741
|
# resource path
|
733
742
|
local_var_path = "/api/v2/authorization/roles/{leftRoleId}/comparedefault/{rightRoleId}".sub('{format}','json').sub('{' + 'leftRoleId' + '}', left_role_id.to_s).sub('{' + 'rightRoleId' + '}', right_role_id.to_s)
|
734
743
|
|
@@ -750,7 +759,7 @@ module PureCloud
|
|
750
759
|
form_params = {}
|
751
760
|
|
752
761
|
# http body (model)
|
753
|
-
post_body = @api_client.object_to_http_body(
|
762
|
+
post_body = @api_client.object_to_http_body(body)
|
754
763
|
|
755
764
|
auth_names = ['PureCloud Auth']
|
756
765
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -768,24 +777,27 @@ module PureCloud
|
|
768
777
|
|
769
778
|
# Restore specified default roles
|
770
779
|
#
|
780
|
+
# @param body Organization roles list
|
771
781
|
# @param [Hash] opts the optional parameters
|
772
|
-
# @option opts [Array<DomainOrganizationRole>] :body
|
773
782
|
# @return [OrganizationRoleEntityListing]
|
774
|
-
def put_roles_default(opts = {})
|
775
|
-
data, status_code, headers = put_roles_default_with_http_info(opts)
|
783
|
+
def put_roles_default(body, opts = {})
|
784
|
+
data, status_code, headers = put_roles_default_with_http_info(body, opts)
|
776
785
|
return data
|
777
786
|
end
|
778
787
|
|
779
788
|
# Restore specified default roles
|
780
789
|
#
|
790
|
+
# @param body Organization roles list
|
781
791
|
# @param [Hash] opts the optional parameters
|
782
|
-
# @option opts [Array<DomainOrganizationRole>] :body
|
783
792
|
# @return [Array<(OrganizationRoleEntityListing, Fixnum, Hash)>] OrganizationRoleEntityListing data, response status code and response headers
|
784
|
-
def put_roles_default_with_http_info(opts = {})
|
793
|
+
def put_roles_default_with_http_info(body, opts = {})
|
785
794
|
if @api_client.config.debugging
|
786
795
|
@api_client.config.logger.debug "Calling API: AuthorizationApi#put_roles_default ..."
|
787
796
|
end
|
788
797
|
|
798
|
+
# verify the required parameter 'body' is set
|
799
|
+
fail "Missing the required parameter 'body' when calling put_roles_default" if body.nil?
|
800
|
+
|
789
801
|
# resource path
|
790
802
|
local_var_path = "/api/v2/authorization/roles/default".sub('{format}','json')
|
791
803
|
|
@@ -807,7 +819,7 @@ module PureCloud
|
|
807
819
|
form_params = {}
|
808
820
|
|
809
821
|
# http body (model)
|
810
|
-
post_body = @api_client.object_to_http_body(
|
822
|
+
post_body = @api_client.object_to_http_body(body)
|
811
823
|
|
812
824
|
auth_names = ['PureCloud Auth']
|
813
825
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
@@ -826,21 +838,21 @@ module PureCloud
|
|
826
838
|
# Update an organization role.
|
827
839
|
# Update
|
828
840
|
# @param role_id Role ID
|
841
|
+
# @param body Organization role
|
829
842
|
# @param [Hash] opts the optional parameters
|
830
|
-
# @option opts [DomainOrganizationRole] :body
|
831
843
|
# @return [DomainOrganizationRole]
|
832
|
-
def put_roles_role_id(role_id, opts = {})
|
833
|
-
data, status_code, headers = put_roles_role_id_with_http_info(role_id, opts)
|
844
|
+
def put_roles_role_id(role_id, body, opts = {})
|
845
|
+
data, status_code, headers = put_roles_role_id_with_http_info(role_id, body, opts)
|
834
846
|
return data
|
835
847
|
end
|
836
848
|
|
837
849
|
# Update an organization role.
|
838
850
|
# Update
|
839
851
|
# @param role_id Role ID
|
852
|
+
# @param body Organization role
|
840
853
|
# @param [Hash] opts the optional parameters
|
841
|
-
# @option opts [DomainOrganizationRole] :body
|
842
854
|
# @return [Array<(DomainOrganizationRole, Fixnum, Hash)>] DomainOrganizationRole data, response status code and response headers
|
843
|
-
def put_roles_role_id_with_http_info(role_id, opts = {})
|
855
|
+
def put_roles_role_id_with_http_info(role_id, body, opts = {})
|
844
856
|
if @api_client.config.debugging
|
845
857
|
@api_client.config.logger.debug "Calling API: AuthorizationApi#put_roles_role_id ..."
|
846
858
|
end
|
@@ -848,6 +860,9 @@ module PureCloud
|
|
848
860
|
# verify the required parameter 'role_id' is set
|
849
861
|
fail "Missing the required parameter 'role_id' when calling put_roles_role_id" if role_id.nil?
|
850
862
|
|
863
|
+
# verify the required parameter 'body' is set
|
864
|
+
fail "Missing the required parameter 'body' when calling put_roles_role_id" if body.nil?
|
865
|
+
|
851
866
|
# resource path
|
852
867
|
local_var_path = "/api/v2/authorization/roles/{roleId}".sub('{format}','json').sub('{' + 'roleId' + '}', role_id.to_s)
|
853
868
|
|
@@ -869,7 +884,7 @@ module PureCloud
|
|
869
884
|
form_params = {}
|
870
885
|
|
871
886
|
# http body (model)
|
872
|
-
post_body = @api_client.object_to_http_body(
|
887
|
+
post_body = @api_client.object_to_http_body(body)
|
873
888
|
|
874
889
|
auth_names = ['PureCloud Auth']
|
875
890
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
@@ -888,21 +903,21 @@ module PureCloud
|
|
888
903
|
# Sets the users for the role
|
889
904
|
#
|
890
905
|
# @param role_id Role ID
|
906
|
+
# @param body List of user IDs
|
891
907
|
# @param [Hash] opts the optional parameters
|
892
|
-
# @option opts [Array<String>] :body
|
893
908
|
# @return [Array<String>]
|
894
|
-
def put_roles_role_id_users_add(role_id, opts = {})
|
895
|
-
data, status_code, headers = put_roles_role_id_users_add_with_http_info(role_id, opts)
|
909
|
+
def put_roles_role_id_users_add(role_id, body, opts = {})
|
910
|
+
data, status_code, headers = put_roles_role_id_users_add_with_http_info(role_id, body, opts)
|
896
911
|
return data
|
897
912
|
end
|
898
913
|
|
899
914
|
# Sets the users for the role
|
900
915
|
#
|
901
916
|
# @param role_id Role ID
|
917
|
+
# @param body List of user IDs
|
902
918
|
# @param [Hash] opts the optional parameters
|
903
|
-
# @option opts [Array<String>] :body
|
904
919
|
# @return [Array<(Array<String>, Fixnum, Hash)>] Array<String> data, response status code and response headers
|
905
|
-
def put_roles_role_id_users_add_with_http_info(role_id, opts = {})
|
920
|
+
def put_roles_role_id_users_add_with_http_info(role_id, body, opts = {})
|
906
921
|
if @api_client.config.debugging
|
907
922
|
@api_client.config.logger.debug "Calling API: AuthorizationApi#put_roles_role_id_users_add ..."
|
908
923
|
end
|
@@ -910,6 +925,9 @@ module PureCloud
|
|
910
925
|
# verify the required parameter 'role_id' is set
|
911
926
|
fail "Missing the required parameter 'role_id' when calling put_roles_role_id_users_add" if role_id.nil?
|
912
927
|
|
928
|
+
# verify the required parameter 'body' is set
|
929
|
+
fail "Missing the required parameter 'body' when calling put_roles_role_id_users_add" if body.nil?
|
930
|
+
|
913
931
|
# resource path
|
914
932
|
local_var_path = "/api/v2/authorization/roles/{roleId}/users/add".sub('{format}','json').sub('{' + 'roleId' + '}', role_id.to_s)
|
915
933
|
|
@@ -931,7 +949,7 @@ module PureCloud
|
|
931
949
|
form_params = {}
|
932
950
|
|
933
951
|
# http body (model)
|
934
|
-
post_body = @api_client.object_to_http_body(
|
952
|
+
post_body = @api_client.object_to_http_body(body)
|
935
953
|
|
936
954
|
auth_names = ['PureCloud Auth']
|
937
955
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
@@ -950,21 +968,21 @@ module PureCloud
|
|
950
968
|
# Removes the users from the role
|
951
969
|
#
|
952
970
|
# @param role_id Role ID
|
971
|
+
# @param body List of user IDs
|
953
972
|
# @param [Hash] opts the optional parameters
|
954
|
-
# @option opts [Array<String>] :body
|
955
973
|
# @return [Array<String>]
|
956
|
-
def put_roles_role_id_users_remove(role_id, opts = {})
|
957
|
-
data, status_code, headers = put_roles_role_id_users_remove_with_http_info(role_id, opts)
|
974
|
+
def put_roles_role_id_users_remove(role_id, body, opts = {})
|
975
|
+
data, status_code, headers = put_roles_role_id_users_remove_with_http_info(role_id, body, opts)
|
958
976
|
return data
|
959
977
|
end
|
960
978
|
|
961
979
|
# Removes the users from the role
|
962
980
|
#
|
963
981
|
# @param role_id Role ID
|
982
|
+
# @param body List of user IDs
|
964
983
|
# @param [Hash] opts the optional parameters
|
965
|
-
# @option opts [Array<String>] :body
|
966
984
|
# @return [Array<(Array<String>, Fixnum, Hash)>] Array<String> data, response status code and response headers
|
967
|
-
def put_roles_role_id_users_remove_with_http_info(role_id, opts = {})
|
985
|
+
def put_roles_role_id_users_remove_with_http_info(role_id, body, opts = {})
|
968
986
|
if @api_client.config.debugging
|
969
987
|
@api_client.config.logger.debug "Calling API: AuthorizationApi#put_roles_role_id_users_remove ..."
|
970
988
|
end
|
@@ -972,6 +990,9 @@ module PureCloud
|
|
972
990
|
# verify the required parameter 'role_id' is set
|
973
991
|
fail "Missing the required parameter 'role_id' when calling put_roles_role_id_users_remove" if role_id.nil?
|
974
992
|
|
993
|
+
# verify the required parameter 'body' is set
|
994
|
+
fail "Missing the required parameter 'body' when calling put_roles_role_id_users_remove" if body.nil?
|
995
|
+
|
975
996
|
# resource path
|
976
997
|
local_var_path = "/api/v2/authorization/roles/{roleId}/users/remove".sub('{format}','json').sub('{' + 'roleId' + '}', role_id.to_s)
|
977
998
|
|
@@ -993,7 +1014,7 @@ module PureCloud
|
|
993
1014
|
form_params = {}
|
994
1015
|
|
995
1016
|
# http body (model)
|
996
|
-
post_body = @api_client.object_to_http_body(
|
1017
|
+
post_body = @api_client.object_to_http_body(body)
|
997
1018
|
|
998
1019
|
auth_names = ['PureCloud Auth']
|
999
1020
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
@@ -1012,21 +1033,21 @@ module PureCloud
|
|
1012
1033
|
# Sets the user's roles
|
1013
1034
|
#
|
1014
1035
|
# @param user_id User ID
|
1036
|
+
# @param body List of roles
|
1015
1037
|
# @param [Hash] opts the optional parameters
|
1016
|
-
# @option opts [Array<String>] :body
|
1017
1038
|
# @return [UserAuthorization]
|
1018
|
-
def put_user_id_roles(user_id, opts = {})
|
1019
|
-
data, status_code, headers = put_user_id_roles_with_http_info(user_id, opts)
|
1039
|
+
def put_user_id_roles(user_id, body, opts = {})
|
1040
|
+
data, status_code, headers = put_user_id_roles_with_http_info(user_id, body, opts)
|
1020
1041
|
return data
|
1021
1042
|
end
|
1022
1043
|
|
1023
1044
|
# Sets the user's roles
|
1024
1045
|
#
|
1025
1046
|
# @param user_id User ID
|
1047
|
+
# @param body List of roles
|
1026
1048
|
# @param [Hash] opts the optional parameters
|
1027
|
-
# @option opts [Array<String>] :body
|
1028
1049
|
# @return [Array<(UserAuthorization, Fixnum, Hash)>] UserAuthorization data, response status code and response headers
|
1029
|
-
def put_user_id_roles_with_http_info(user_id, opts = {})
|
1050
|
+
def put_user_id_roles_with_http_info(user_id, body, opts = {})
|
1030
1051
|
if @api_client.config.debugging
|
1031
1052
|
@api_client.config.logger.debug "Calling API: AuthorizationApi#put_user_id_roles ..."
|
1032
1053
|
end
|
@@ -1034,6 +1055,9 @@ module PureCloud
|
|
1034
1055
|
# verify the required parameter 'user_id' is set
|
1035
1056
|
fail "Missing the required parameter 'user_id' when calling put_user_id_roles" if user_id.nil?
|
1036
1057
|
|
1058
|
+
# verify the required parameter 'body' is set
|
1059
|
+
fail "Missing the required parameter 'body' when calling put_user_id_roles" if body.nil?
|
1060
|
+
|
1037
1061
|
# resource path
|
1038
1062
|
local_var_path = "/api/v2/users/{userId}/roles".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
1039
1063
|
|
@@ -1055,7 +1079,7 @@ module PureCloud
|
|
1055
1079
|
form_params = {}
|
1056
1080
|
|
1057
1081
|
# http body (model)
|
1058
|
-
post_body = @api_client.object_to_http_body(
|
1082
|
+
post_body = @api_client.object_to_http_body(body)
|
1059
1083
|
|
1060
1084
|
auth_names = ['PureCloud Auth']
|
1061
1085
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|