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
@@ -895,21 +895,21 @@ module PureCloud
|
|
895
895
|
# Patch a media retention policy
|
896
896
|
#
|
897
897
|
# @param policy_id Policy ID
|
898
|
+
# @param body Policy
|
898
899
|
# @param [Hash] opts the optional parameters
|
899
|
-
# @option opts [Policy] :body Policy
|
900
900
|
# @return [Policy]
|
901
|
-
def patch_mediaretentionpolicies_policy_id(policy_id, opts = {})
|
902
|
-
data, status_code, headers = patch_mediaretentionpolicies_policy_id_with_http_info(policy_id, opts)
|
901
|
+
def patch_mediaretentionpolicies_policy_id(policy_id, body, opts = {})
|
902
|
+
data, status_code, headers = patch_mediaretentionpolicies_policy_id_with_http_info(policy_id, body, opts)
|
903
903
|
return data
|
904
904
|
end
|
905
905
|
|
906
906
|
# Patch a media retention policy
|
907
907
|
#
|
908
908
|
# @param policy_id Policy ID
|
909
|
+
# @param body Policy
|
909
910
|
# @param [Hash] opts the optional parameters
|
910
|
-
# @option opts [Policy] :body Policy
|
911
911
|
# @return [Array<(Policy, Fixnum, Hash)>] Policy data, response status code and response headers
|
912
|
-
def patch_mediaretentionpolicies_policy_id_with_http_info(policy_id, opts = {})
|
912
|
+
def patch_mediaretentionpolicies_policy_id_with_http_info(policy_id, body, opts = {})
|
913
913
|
if @api_client.config.debugging
|
914
914
|
@api_client.config.logger.debug "Calling API: RecordingApi#patch_mediaretentionpolicies_policy_id ..."
|
915
915
|
end
|
@@ -917,6 +917,9 @@ module PureCloud
|
|
917
917
|
# verify the required parameter 'policy_id' is set
|
918
918
|
fail "Missing the required parameter 'policy_id' when calling patch_mediaretentionpolicies_policy_id" if policy_id.nil?
|
919
919
|
|
920
|
+
# verify the required parameter 'body' is set
|
921
|
+
fail "Missing the required parameter 'body' when calling patch_mediaretentionpolicies_policy_id" if body.nil?
|
922
|
+
|
920
923
|
# resource path
|
921
924
|
local_var_path = "/api/v2/recording/mediaretentionpolicies/{policyId}".sub('{format}','json').sub('{' + 'policyId' + '}', policy_id.to_s)
|
922
925
|
|
@@ -938,7 +941,7 @@ module PureCloud
|
|
938
941
|
form_params = {}
|
939
942
|
|
940
943
|
# http body (model)
|
941
|
-
post_body = @api_client.object_to_http_body(
|
944
|
+
post_body = @api_client.object_to_http_body(body)
|
942
945
|
|
943
946
|
auth_names = ['PureCloud Auth']
|
944
947
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
@@ -958,11 +961,11 @@ module PureCloud
|
|
958
961
|
#
|
959
962
|
# @param conversation_id Conversation ID
|
960
963
|
# @param recording_id Recording ID
|
964
|
+
# @param body annotation
|
961
965
|
# @param [Hash] opts the optional parameters
|
962
|
-
# @option opts [Annotation] :body annotation
|
963
966
|
# @return [Annotation]
|
964
|
-
def post_conversation_id_recordings_recording_id_annotations(conversation_id, recording_id, opts = {})
|
965
|
-
data, status_code, headers = post_conversation_id_recordings_recording_id_annotations_with_http_info(conversation_id, recording_id, opts)
|
967
|
+
def post_conversation_id_recordings_recording_id_annotations(conversation_id, recording_id, body, opts = {})
|
968
|
+
data, status_code, headers = post_conversation_id_recordings_recording_id_annotations_with_http_info(conversation_id, recording_id, body, opts)
|
966
969
|
return data
|
967
970
|
end
|
968
971
|
|
@@ -970,10 +973,10 @@ module PureCloud
|
|
970
973
|
#
|
971
974
|
# @param conversation_id Conversation ID
|
972
975
|
# @param recording_id Recording ID
|
976
|
+
# @param body annotation
|
973
977
|
# @param [Hash] opts the optional parameters
|
974
|
-
# @option opts [Annotation] :body annotation
|
975
978
|
# @return [Array<(Annotation, Fixnum, Hash)>] Annotation data, response status code and response headers
|
976
|
-
def post_conversation_id_recordings_recording_id_annotations_with_http_info(conversation_id, recording_id, opts = {})
|
979
|
+
def post_conversation_id_recordings_recording_id_annotations_with_http_info(conversation_id, recording_id, body, opts = {})
|
977
980
|
if @api_client.config.debugging
|
978
981
|
@api_client.config.logger.debug "Calling API: RecordingApi#post_conversation_id_recordings_recording_id_annotations ..."
|
979
982
|
end
|
@@ -984,6 +987,9 @@ module PureCloud
|
|
984
987
|
# verify the required parameter 'recording_id' is set
|
985
988
|
fail "Missing the required parameter 'recording_id' when calling post_conversation_id_recordings_recording_id_annotations" if recording_id.nil?
|
986
989
|
|
990
|
+
# verify the required parameter 'body' is set
|
991
|
+
fail "Missing the required parameter 'body' when calling post_conversation_id_recordings_recording_id_annotations" if body.nil?
|
992
|
+
|
987
993
|
# resource path
|
988
994
|
local_var_path = "/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s)
|
989
995
|
|
@@ -1005,7 +1011,7 @@ module PureCloud
|
|
1005
1011
|
form_params = {}
|
1006
1012
|
|
1007
1013
|
# http body (model)
|
1008
|
-
post_body = @api_client.object_to_http_body(
|
1014
|
+
post_body = @api_client.object_to_http_body(body)
|
1009
1015
|
|
1010
1016
|
auth_names = ['PureCloud Auth']
|
1011
1017
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -1023,24 +1029,27 @@ module PureCloud
|
|
1023
1029
|
|
1024
1030
|
# Create media retention policy
|
1025
1031
|
#
|
1032
|
+
# @param body Policy
|
1026
1033
|
# @param [Hash] opts the optional parameters
|
1027
|
-
# @option opts [Policy] :body Policy
|
1028
1034
|
# @return [Policy]
|
1029
|
-
def post_mediaretentionpolicies(opts = {})
|
1030
|
-
data, status_code, headers = post_mediaretentionpolicies_with_http_info(opts)
|
1035
|
+
def post_mediaretentionpolicies(body, opts = {})
|
1036
|
+
data, status_code, headers = post_mediaretentionpolicies_with_http_info(body, opts)
|
1031
1037
|
return data
|
1032
1038
|
end
|
1033
1039
|
|
1034
1040
|
# Create media retention policy
|
1035
1041
|
#
|
1042
|
+
# @param body Policy
|
1036
1043
|
# @param [Hash] opts the optional parameters
|
1037
|
-
# @option opts [Policy] :body Policy
|
1038
1044
|
# @return [Array<(Policy, Fixnum, Hash)>] Policy data, response status code and response headers
|
1039
|
-
def post_mediaretentionpolicies_with_http_info(opts = {})
|
1045
|
+
def post_mediaretentionpolicies_with_http_info(body, opts = {})
|
1040
1046
|
if @api_client.config.debugging
|
1041
1047
|
@api_client.config.logger.debug "Calling API: RecordingApi#post_mediaretentionpolicies ..."
|
1042
1048
|
end
|
1043
1049
|
|
1050
|
+
# verify the required parameter 'body' is set
|
1051
|
+
fail "Missing the required parameter 'body' when calling post_mediaretentionpolicies" if body.nil?
|
1052
|
+
|
1044
1053
|
# resource path
|
1045
1054
|
local_var_path = "/api/v2/recording/mediaretentionpolicies".sub('{format}','json')
|
1046
1055
|
|
@@ -1062,7 +1071,7 @@ module PureCloud
|
|
1062
1071
|
form_params = {}
|
1063
1072
|
|
1064
1073
|
# http body (model)
|
1065
|
-
post_body = @api_client.object_to_http_body(
|
1074
|
+
post_body = @api_client.object_to_http_body(body)
|
1066
1075
|
|
1067
1076
|
auth_names = ['PureCloud Auth']
|
1068
1077
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -1152,11 +1161,11 @@ module PureCloud
|
|
1152
1161
|
# @param conversation_id Conversation ID
|
1153
1162
|
# @param recording_id Recording ID
|
1154
1163
|
# @param annotation_id Annotation ID
|
1164
|
+
# @param body annotation
|
1155
1165
|
# @param [Hash] opts the optional parameters
|
1156
|
-
# @option opts [Annotation] :body annotation
|
1157
1166
|
# @return [Annotation]
|
1158
|
-
def put_conversation_id_recordings_recording_id_annotations_annotation_id(conversation_id, recording_id, annotation_id, opts = {})
|
1159
|
-
data, status_code, headers = put_conversation_id_recordings_recording_id_annotations_annotation_id_with_http_info(conversation_id, recording_id, annotation_id, opts)
|
1167
|
+
def put_conversation_id_recordings_recording_id_annotations_annotation_id(conversation_id, recording_id, annotation_id, body, opts = {})
|
1168
|
+
data, status_code, headers = put_conversation_id_recordings_recording_id_annotations_annotation_id_with_http_info(conversation_id, recording_id, annotation_id, body, opts)
|
1160
1169
|
return data
|
1161
1170
|
end
|
1162
1171
|
|
@@ -1165,10 +1174,10 @@ module PureCloud
|
|
1165
1174
|
# @param conversation_id Conversation ID
|
1166
1175
|
# @param recording_id Recording ID
|
1167
1176
|
# @param annotation_id Annotation ID
|
1177
|
+
# @param body annotation
|
1168
1178
|
# @param [Hash] opts the optional parameters
|
1169
|
-
# @option opts [Annotation] :body annotation
|
1170
1179
|
# @return [Array<(Annotation, Fixnum, Hash)>] Annotation data, response status code and response headers
|
1171
|
-
def put_conversation_id_recordings_recording_id_annotations_annotation_id_with_http_info(conversation_id, recording_id, annotation_id, opts = {})
|
1180
|
+
def put_conversation_id_recordings_recording_id_annotations_annotation_id_with_http_info(conversation_id, recording_id, annotation_id, body, opts = {})
|
1172
1181
|
if @api_client.config.debugging
|
1173
1182
|
@api_client.config.logger.debug "Calling API: RecordingApi#put_conversation_id_recordings_recording_id_annotations_annotation_id ..."
|
1174
1183
|
end
|
@@ -1182,6 +1191,9 @@ module PureCloud
|
|
1182
1191
|
# verify the required parameter 'annotation_id' is set
|
1183
1192
|
fail "Missing the required parameter 'annotation_id' when calling put_conversation_id_recordings_recording_id_annotations_annotation_id" if annotation_id.nil?
|
1184
1193
|
|
1194
|
+
# verify the required parameter 'body' is set
|
1195
|
+
fail "Missing the required parameter 'body' when calling put_conversation_id_recordings_recording_id_annotations_annotation_id" if body.nil?
|
1196
|
+
|
1185
1197
|
# resource path
|
1186
1198
|
local_var_path = "/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s).sub('{' + 'annotationId' + '}', annotation_id.to_s)
|
1187
1199
|
|
@@ -1203,7 +1215,7 @@ module PureCloud
|
|
1203
1215
|
form_params = {}
|
1204
1216
|
|
1205
1217
|
# http body (model)
|
1206
|
-
post_body = @api_client.object_to_http_body(
|
1218
|
+
post_body = @api_client.object_to_http_body(body)
|
1207
1219
|
|
1208
1220
|
auth_names = ['PureCloud Auth']
|
1209
1221
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
@@ -1222,21 +1234,21 @@ module PureCloud
|
|
1222
1234
|
# Update a media retention policy
|
1223
1235
|
#
|
1224
1236
|
# @param policy_id Policy ID
|
1237
|
+
# @param body Policy
|
1225
1238
|
# @param [Hash] opts the optional parameters
|
1226
|
-
# @option opts [Policy] :body Policy
|
1227
1239
|
# @return [Policy]
|
1228
|
-
def put_mediaretentionpolicies_policy_id(policy_id, opts = {})
|
1229
|
-
data, status_code, headers = put_mediaretentionpolicies_policy_id_with_http_info(policy_id, opts)
|
1240
|
+
def put_mediaretentionpolicies_policy_id(policy_id, body, opts = {})
|
1241
|
+
data, status_code, headers = put_mediaretentionpolicies_policy_id_with_http_info(policy_id, body, opts)
|
1230
1242
|
return data
|
1231
1243
|
end
|
1232
1244
|
|
1233
1245
|
# Update a media retention policy
|
1234
1246
|
#
|
1235
1247
|
# @param policy_id Policy ID
|
1248
|
+
# @param body Policy
|
1236
1249
|
# @param [Hash] opts the optional parameters
|
1237
|
-
# @option opts [Policy] :body Policy
|
1238
1250
|
# @return [Array<(Policy, Fixnum, Hash)>] Policy data, response status code and response headers
|
1239
|
-
def put_mediaretentionpolicies_policy_id_with_http_info(policy_id, opts = {})
|
1251
|
+
def put_mediaretentionpolicies_policy_id_with_http_info(policy_id, body, opts = {})
|
1240
1252
|
if @api_client.config.debugging
|
1241
1253
|
@api_client.config.logger.debug "Calling API: RecordingApi#put_mediaretentionpolicies_policy_id ..."
|
1242
1254
|
end
|
@@ -1244,6 +1256,9 @@ module PureCloud
|
|
1244
1256
|
# verify the required parameter 'policy_id' is set
|
1245
1257
|
fail "Missing the required parameter 'policy_id' when calling put_mediaretentionpolicies_policy_id" if policy_id.nil?
|
1246
1258
|
|
1259
|
+
# verify the required parameter 'body' is set
|
1260
|
+
fail "Missing the required parameter 'body' when calling put_mediaretentionpolicies_policy_id" if body.nil?
|
1261
|
+
|
1247
1262
|
# resource path
|
1248
1263
|
local_var_path = "/api/v2/recording/mediaretentionpolicies/{policyId}".sub('{format}','json').sub('{' + 'policyId' + '}', policy_id.to_s)
|
1249
1264
|
|
@@ -1265,7 +1280,7 @@ module PureCloud
|
|
1265
1280
|
form_params = {}
|
1266
1281
|
|
1267
1282
|
# http body (model)
|
1268
|
-
post_body = @api_client.object_to_http_body(
|
1283
|
+
post_body = @api_client.object_to_http_body(body)
|
1269
1284
|
|
1270
1285
|
auth_names = ['PureCloud Auth']
|
1271
1286
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
@@ -1283,24 +1298,27 @@ module PureCloud
|
|
1283
1298
|
|
1284
1299
|
# Update the Recording Settings for the Organization
|
1285
1300
|
#
|
1301
|
+
# @param body Recording settings
|
1286
1302
|
# @param [Hash] opts the optional parameters
|
1287
|
-
# @option opts [RecordingSettings] :body
|
1288
1303
|
# @return [RecordingSettings]
|
1289
|
-
def put_settings(opts = {})
|
1290
|
-
data, status_code, headers = put_settings_with_http_info(opts)
|
1304
|
+
def put_settings(body, opts = {})
|
1305
|
+
data, status_code, headers = put_settings_with_http_info(body, opts)
|
1291
1306
|
return data
|
1292
1307
|
end
|
1293
1308
|
|
1294
1309
|
# Update the Recording Settings for the Organization
|
1295
1310
|
#
|
1311
|
+
# @param body Recording settings
|
1296
1312
|
# @param [Hash] opts the optional parameters
|
1297
|
-
# @option opts [RecordingSettings] :body
|
1298
1313
|
# @return [Array<(RecordingSettings, Fixnum, Hash)>] RecordingSettings data, response status code and response headers
|
1299
|
-
def put_settings_with_http_info(opts = {})
|
1314
|
+
def put_settings_with_http_info(body, opts = {})
|
1300
1315
|
if @api_client.config.debugging
|
1301
1316
|
@api_client.config.logger.debug "Calling API: RecordingApi#put_settings ..."
|
1302
1317
|
end
|
1303
1318
|
|
1319
|
+
# verify the required parameter 'body' is set
|
1320
|
+
fail "Missing the required parameter 'body' when calling put_settings" if body.nil?
|
1321
|
+
|
1304
1322
|
# resource path
|
1305
1323
|
local_var_path = "/api/v2/recording/settings".sub('{format}','json')
|
1306
1324
|
|
@@ -1322,7 +1340,7 @@ module PureCloud
|
|
1322
1340
|
form_params = {}
|
1323
1341
|
|
1324
1342
|
# http body (model)
|
1325
|
-
post_body = @api_client.object_to_http_body(
|
1343
|
+
post_body = @api_client.object_to_http_body(body)
|
1326
1344
|
|
1327
1345
|
auth_names = ['PureCloud Auth']
|
1328
1346
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
@@ -392,24 +392,27 @@ module PureCloud
|
|
392
392
|
|
393
393
|
# Create a response library.
|
394
394
|
#
|
395
|
+
# @param body Library
|
395
396
|
# @param [Hash] opts the optional parameters
|
396
|
-
# @option opts [Library] :body Library
|
397
397
|
# @return [Library]
|
398
|
-
def post_libraries(opts = {})
|
399
|
-
data, status_code, headers = post_libraries_with_http_info(opts)
|
398
|
+
def post_libraries(body, opts = {})
|
399
|
+
data, status_code, headers = post_libraries_with_http_info(body, opts)
|
400
400
|
return data
|
401
401
|
end
|
402
402
|
|
403
403
|
# Create a response library.
|
404
404
|
#
|
405
|
+
# @param body Library
|
405
406
|
# @param [Hash] opts the optional parameters
|
406
|
-
# @option opts [Library] :body Library
|
407
407
|
# @return [Array<(Library, Fixnum, Hash)>] Library data, response status code and response headers
|
408
|
-
def post_libraries_with_http_info(opts = {})
|
408
|
+
def post_libraries_with_http_info(body, opts = {})
|
409
409
|
if @api_client.config.debugging
|
410
410
|
@api_client.config.logger.debug "Calling API: ResponseManagementApi#post_libraries ..."
|
411
411
|
end
|
412
412
|
|
413
|
+
# verify the required parameter 'body' is set
|
414
|
+
fail "Missing the required parameter 'body' when calling post_libraries" if body.nil?
|
415
|
+
|
413
416
|
# resource path
|
414
417
|
local_var_path = "/api/v2/responsemanagement/libraries".sub('{format}','json')
|
415
418
|
|
@@ -431,7 +434,7 @@ module PureCloud
|
|
431
434
|
form_params = {}
|
432
435
|
|
433
436
|
# http body (model)
|
434
|
-
post_body = @api_client.object_to_http_body(
|
437
|
+
post_body = @api_client.object_to_http_body(body)
|
435
438
|
|
436
439
|
auth_names = ['PureCloud Auth']
|
437
440
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -449,24 +452,27 @@ module PureCloud
|
|
449
452
|
|
450
453
|
# Create a response.
|
451
454
|
#
|
455
|
+
# @param body Response
|
452
456
|
# @param [Hash] opts the optional parameters
|
453
|
-
# @option opts [Response] :body Response
|
454
457
|
# @return [Response]
|
455
|
-
def post_responses(opts = {})
|
456
|
-
data, status_code, headers = post_responses_with_http_info(opts)
|
458
|
+
def post_responses(body, opts = {})
|
459
|
+
data, status_code, headers = post_responses_with_http_info(body, opts)
|
457
460
|
return data
|
458
461
|
end
|
459
462
|
|
460
463
|
# Create a response.
|
461
464
|
#
|
465
|
+
# @param body Response
|
462
466
|
# @param [Hash] opts the optional parameters
|
463
|
-
# @option opts [Response] :body Response
|
464
467
|
# @return [Array<(Response, Fixnum, Hash)>] Response data, response status code and response headers
|
465
|
-
def post_responses_with_http_info(opts = {})
|
468
|
+
def post_responses_with_http_info(body, opts = {})
|
466
469
|
if @api_client.config.debugging
|
467
470
|
@api_client.config.logger.debug "Calling API: ResponseManagementApi#post_responses ..."
|
468
471
|
end
|
469
472
|
|
473
|
+
# verify the required parameter 'body' is set
|
474
|
+
fail "Missing the required parameter 'body' when calling post_responses" if body.nil?
|
475
|
+
|
470
476
|
# resource path
|
471
477
|
local_var_path = "/api/v2/responsemanagement/responses".sub('{format}','json')
|
472
478
|
|
@@ -488,7 +494,7 @@ module PureCloud
|
|
488
494
|
form_params = {}
|
489
495
|
|
490
496
|
# http body (model)
|
491
|
-
post_body = @api_client.object_to_http_body(
|
497
|
+
post_body = @api_client.object_to_http_body(body)
|
492
498
|
|
493
499
|
auth_names = ['PureCloud Auth']
|
494
500
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -506,24 +512,27 @@ module PureCloud
|
|
506
512
|
|
507
513
|
# Query responses
|
508
514
|
#
|
515
|
+
# @param body Response
|
509
516
|
# @param [Hash] opts the optional parameters
|
510
|
-
# @option opts [ResponseQueryRequest] :body Response
|
511
517
|
# @return [ResponseQueryResults]
|
512
|
-
def post_responses_query(opts = {})
|
513
|
-
data, status_code, headers = post_responses_query_with_http_info(opts)
|
518
|
+
def post_responses_query(body, opts = {})
|
519
|
+
data, status_code, headers = post_responses_query_with_http_info(body, opts)
|
514
520
|
return data
|
515
521
|
end
|
516
522
|
|
517
523
|
# Query responses
|
518
524
|
#
|
525
|
+
# @param body Response
|
519
526
|
# @param [Hash] opts the optional parameters
|
520
|
-
# @option opts [ResponseQueryRequest] :body Response
|
521
527
|
# @return [Array<(ResponseQueryResults, Fixnum, Hash)>] ResponseQueryResults data, response status code and response headers
|
522
|
-
def post_responses_query_with_http_info(opts = {})
|
528
|
+
def post_responses_query_with_http_info(body, opts = {})
|
523
529
|
if @api_client.config.debugging
|
524
530
|
@api_client.config.logger.debug "Calling API: ResponseManagementApi#post_responses_query ..."
|
525
531
|
end
|
526
532
|
|
533
|
+
# verify the required parameter 'body' is set
|
534
|
+
fail "Missing the required parameter 'body' when calling post_responses_query" if body.nil?
|
535
|
+
|
527
536
|
# resource path
|
528
537
|
local_var_path = "/api/v2/responsemanagement/responses/query".sub('{format}','json')
|
529
538
|
|
@@ -545,7 +554,7 @@ module PureCloud
|
|
545
554
|
form_params = {}
|
546
555
|
|
547
556
|
# http body (model)
|
548
|
-
post_body = @api_client.object_to_http_body(
|
557
|
+
post_body = @api_client.object_to_http_body(body)
|
549
558
|
|
550
559
|
auth_names = ['PureCloud Auth']
|
551
560
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -564,21 +573,21 @@ module PureCloud
|
|
564
573
|
# Update an existing response library.
|
565
574
|
# Fields that can be updated: name. The most recent version is required for updates.
|
566
575
|
# @param library_id Library ID
|
576
|
+
# @param body Library
|
567
577
|
# @param [Hash] opts the optional parameters
|
568
|
-
# @option opts [Library] :body Library
|
569
578
|
# @return [Library]
|
570
|
-
def put_libraries_library_id(library_id, opts = {})
|
571
|
-
data, status_code, headers = put_libraries_library_id_with_http_info(library_id, opts)
|
579
|
+
def put_libraries_library_id(library_id, body, opts = {})
|
580
|
+
data, status_code, headers = put_libraries_library_id_with_http_info(library_id, body, opts)
|
572
581
|
return data
|
573
582
|
end
|
574
583
|
|
575
584
|
# Update an existing response library.
|
576
585
|
# Fields that can be updated: name. The most recent version is required for updates.
|
577
586
|
# @param library_id Library ID
|
587
|
+
# @param body Library
|
578
588
|
# @param [Hash] opts the optional parameters
|
579
|
-
# @option opts [Library] :body Library
|
580
589
|
# @return [Array<(Library, Fixnum, Hash)>] Library data, response status code and response headers
|
581
|
-
def put_libraries_library_id_with_http_info(library_id, opts = {})
|
590
|
+
def put_libraries_library_id_with_http_info(library_id, body, opts = {})
|
582
591
|
if @api_client.config.debugging
|
583
592
|
@api_client.config.logger.debug "Calling API: ResponseManagementApi#put_libraries_library_id ..."
|
584
593
|
end
|
@@ -586,6 +595,9 @@ module PureCloud
|
|
586
595
|
# verify the required parameter 'library_id' is set
|
587
596
|
fail "Missing the required parameter 'library_id' when calling put_libraries_library_id" if library_id.nil?
|
588
597
|
|
598
|
+
# verify the required parameter 'body' is set
|
599
|
+
fail "Missing the required parameter 'body' when calling put_libraries_library_id" if body.nil?
|
600
|
+
|
589
601
|
# resource path
|
590
602
|
local_var_path = "/api/v2/responsemanagement/libraries/{libraryId}".sub('{format}','json').sub('{' + 'libraryId' + '}', library_id.to_s)
|
591
603
|
|
@@ -607,7 +619,7 @@ module PureCloud
|
|
607
619
|
form_params = {}
|
608
620
|
|
609
621
|
# http body (model)
|
610
|
-
post_body = @api_client.object_to_http_body(
|
622
|
+
post_body = @api_client.object_to_http_body(body)
|
611
623
|
|
612
624
|
auth_names = ['PureCloud Auth']
|
613
625
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
@@ -626,21 +638,21 @@ module PureCloud
|
|
626
638
|
# Update an existing response.
|
627
639
|
# Fields that can be updated: name, libraries, and texts. The most recent version is required for updates.
|
628
640
|
# @param response_id Response ID
|
641
|
+
# @param body Response
|
629
642
|
# @param [Hash] opts the optional parameters
|
630
|
-
# @option opts [Response] :body Response
|
631
643
|
# @return [Response]
|
632
|
-
def put_responses_response_id(response_id, opts = {})
|
633
|
-
data, status_code, headers = put_responses_response_id_with_http_info(response_id, opts)
|
644
|
+
def put_responses_response_id(response_id, body, opts = {})
|
645
|
+
data, status_code, headers = put_responses_response_id_with_http_info(response_id, body, opts)
|
634
646
|
return data
|
635
647
|
end
|
636
648
|
|
637
649
|
# Update an existing response.
|
638
650
|
# Fields that can be updated: name, libraries, and texts. The most recent version is required for updates.
|
639
651
|
# @param response_id Response ID
|
652
|
+
# @param body Response
|
640
653
|
# @param [Hash] opts the optional parameters
|
641
|
-
# @option opts [Response] :body Response
|
642
654
|
# @return [Array<(Response, Fixnum, Hash)>] Response data, response status code and response headers
|
643
|
-
def put_responses_response_id_with_http_info(response_id, opts = {})
|
655
|
+
def put_responses_response_id_with_http_info(response_id, body, opts = {})
|
644
656
|
if @api_client.config.debugging
|
645
657
|
@api_client.config.logger.debug "Calling API: ResponseManagementApi#put_responses_response_id ..."
|
646
658
|
end
|
@@ -648,6 +660,9 @@ module PureCloud
|
|
648
660
|
# verify the required parameter 'response_id' is set
|
649
661
|
fail "Missing the required parameter 'response_id' when calling put_responses_response_id" if response_id.nil?
|
650
662
|
|
663
|
+
# verify the required parameter 'body' is set
|
664
|
+
fail "Missing the required parameter 'body' when calling put_responses_response_id" if body.nil?
|
665
|
+
|
651
666
|
# resource path
|
652
667
|
local_var_path = "/api/v2/responsemanagement/responses/{responseId}".sub('{format}','json').sub('{' + 'responseId' + '}', response_id.to_s)
|
653
668
|
|
@@ -669,7 +684,7 @@ module PureCloud
|
|
669
684
|
form_params = {}
|
670
685
|
|
671
686
|
# http body (model)
|
672
|
-
post_body = @api_client.object_to_http_body(
|
687
|
+
post_body = @api_client.object_to_http_body(body)
|
673
688
|
|
674
689
|
auth_names = ['PureCloud Auth']
|
675
690
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|