purecloud 0.44.1 → 0.45.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -1526,21 +1526,21 @@ module PureCloud
|
|
|
1526
1526
|
# Join or unjoin a set of users for a queue
|
|
1527
1527
|
#
|
|
1528
1528
|
# @param queue_id Queue ID
|
|
1529
|
+
# @param body Queue Members
|
|
1529
1530
|
# @param [Hash] opts the optional parameters
|
|
1530
|
-
# @option opts [Array<QueueMember>] :body Queue Members
|
|
1531
1531
|
# @return [QueueMember]
|
|
1532
|
-
def patch_queues_queue_id_users(queue_id, opts = {})
|
|
1533
|
-
data, status_code, headers = patch_queues_queue_id_users_with_http_info(queue_id, opts)
|
|
1532
|
+
def patch_queues_queue_id_users(queue_id, body, opts = {})
|
|
1533
|
+
data, status_code, headers = patch_queues_queue_id_users_with_http_info(queue_id, body, opts)
|
|
1534
1534
|
return data
|
|
1535
1535
|
end
|
|
1536
1536
|
|
|
1537
1537
|
# Join or unjoin a set of users for a queue
|
|
1538
1538
|
#
|
|
1539
1539
|
# @param queue_id Queue ID
|
|
1540
|
+
# @param body Queue Members
|
|
1540
1541
|
# @param [Hash] opts the optional parameters
|
|
1541
|
-
# @option opts [Array<QueueMember>] :body Queue Members
|
|
1542
1542
|
# @return [Array<(QueueMember, Fixnum, Hash)>] QueueMember data, response status code and response headers
|
|
1543
|
-
def patch_queues_queue_id_users_with_http_info(queue_id, opts = {})
|
|
1543
|
+
def patch_queues_queue_id_users_with_http_info(queue_id, body, opts = {})
|
|
1544
1544
|
if @api_client.config.debugging
|
|
1545
1545
|
@api_client.config.logger.debug "Calling API: RoutingApi#patch_queues_queue_id_users ..."
|
|
1546
1546
|
end
|
|
@@ -1548,6 +1548,9 @@ module PureCloud
|
|
|
1548
1548
|
# verify the required parameter 'queue_id' is set
|
|
1549
1549
|
fail "Missing the required parameter 'queue_id' when calling patch_queues_queue_id_users" if queue_id.nil?
|
|
1550
1550
|
|
|
1551
|
+
# verify the required parameter 'body' is set
|
|
1552
|
+
fail "Missing the required parameter 'body' when calling patch_queues_queue_id_users" if body.nil?
|
|
1553
|
+
|
|
1551
1554
|
# resource path
|
|
1552
1555
|
local_var_path = "/api/v2/routing/queues/{queueId}/users".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
|
|
1553
1556
|
|
|
@@ -1569,7 +1572,7 @@ module PureCloud
|
|
|
1569
1572
|
form_params = {}
|
|
1570
1573
|
|
|
1571
1574
|
# http body (model)
|
|
1572
|
-
post_body = @api_client.object_to_http_body(
|
|
1575
|
+
post_body = @api_client.object_to_http_body(body)
|
|
1573
1576
|
|
|
1574
1577
|
auth_names = ['PureCloud Auth']
|
|
1575
1578
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
@@ -1589,11 +1592,11 @@ module PureCloud
|
|
|
1589
1592
|
#
|
|
1590
1593
|
# @param queue_id Queue ID
|
|
1591
1594
|
# @param member_id Member ID
|
|
1595
|
+
# @param body Queue Member
|
|
1592
1596
|
# @param [Hash] opts the optional parameters
|
|
1593
|
-
# @option opts [QueueMember] :body Queue Member
|
|
1594
1597
|
# @return [QueueMember]
|
|
1595
|
-
def patch_queues_queue_id_users_member_id(queue_id, member_id, opts = {})
|
|
1596
|
-
data, status_code, headers = patch_queues_queue_id_users_member_id_with_http_info(queue_id, member_id, opts)
|
|
1598
|
+
def patch_queues_queue_id_users_member_id(queue_id, member_id, body, opts = {})
|
|
1599
|
+
data, status_code, headers = patch_queues_queue_id_users_member_id_with_http_info(queue_id, member_id, body, opts)
|
|
1597
1600
|
return data
|
|
1598
1601
|
end
|
|
1599
1602
|
|
|
@@ -1601,10 +1604,10 @@ module PureCloud
|
|
|
1601
1604
|
#
|
|
1602
1605
|
# @param queue_id Queue ID
|
|
1603
1606
|
# @param member_id Member ID
|
|
1607
|
+
# @param body Queue Member
|
|
1604
1608
|
# @param [Hash] opts the optional parameters
|
|
1605
|
-
# @option opts [QueueMember] :body Queue Member
|
|
1606
1609
|
# @return [Array<(QueueMember, Fixnum, Hash)>] QueueMember data, response status code and response headers
|
|
1607
|
-
def patch_queues_queue_id_users_member_id_with_http_info(queue_id, member_id, opts = {})
|
|
1610
|
+
def patch_queues_queue_id_users_member_id_with_http_info(queue_id, member_id, body, opts = {})
|
|
1608
1611
|
if @api_client.config.debugging
|
|
1609
1612
|
@api_client.config.logger.debug "Calling API: RoutingApi#patch_queues_queue_id_users_member_id ..."
|
|
1610
1613
|
end
|
|
@@ -1615,6 +1618,9 @@ module PureCloud
|
|
|
1615
1618
|
# verify the required parameter 'member_id' is set
|
|
1616
1619
|
fail "Missing the required parameter 'member_id' when calling patch_queues_queue_id_users_member_id" if member_id.nil?
|
|
1617
1620
|
|
|
1621
|
+
# verify the required parameter 'body' is set
|
|
1622
|
+
fail "Missing the required parameter 'body' when calling patch_queues_queue_id_users_member_id" if body.nil?
|
|
1623
|
+
|
|
1618
1624
|
# resource path
|
|
1619
1625
|
local_var_path = "/api/v2/routing/queues/{queueId}/users/{memberId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'memberId' + '}', member_id.to_s)
|
|
1620
1626
|
|
|
@@ -1636,7 +1642,7 @@ module PureCloud
|
|
|
1636
1642
|
form_params = {}
|
|
1637
1643
|
|
|
1638
1644
|
# http body (model)
|
|
1639
|
-
post_body = @api_client.object_to_http_body(
|
|
1645
|
+
post_body = @api_client.object_to_http_body(body)
|
|
1640
1646
|
|
|
1641
1647
|
auth_names = ['PureCloud Auth']
|
|
1642
1648
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
@@ -1654,24 +1660,27 @@ module PureCloud
|
|
|
1654
1660
|
|
|
1655
1661
|
# Create a domain
|
|
1656
1662
|
#
|
|
1663
|
+
# @param body Domain
|
|
1657
1664
|
# @param [Hash] opts the optional parameters
|
|
1658
|
-
# @option opts [InboundDomain] :body Domain
|
|
1659
1665
|
# @return [InboundDomain]
|
|
1660
|
-
def post_email_domains(opts = {})
|
|
1661
|
-
data, status_code, headers = post_email_domains_with_http_info(opts)
|
|
1666
|
+
def post_email_domains(body, opts = {})
|
|
1667
|
+
data, status_code, headers = post_email_domains_with_http_info(body, opts)
|
|
1662
1668
|
return data
|
|
1663
1669
|
end
|
|
1664
1670
|
|
|
1665
1671
|
# Create a domain
|
|
1666
1672
|
#
|
|
1673
|
+
# @param body Domain
|
|
1667
1674
|
# @param [Hash] opts the optional parameters
|
|
1668
|
-
# @option opts [InboundDomain] :body Domain
|
|
1669
1675
|
# @return [Array<(InboundDomain, Fixnum, Hash)>] InboundDomain data, response status code and response headers
|
|
1670
|
-
def post_email_domains_with_http_info(opts = {})
|
|
1676
|
+
def post_email_domains_with_http_info(body, opts = {})
|
|
1671
1677
|
if @api_client.config.debugging
|
|
1672
1678
|
@api_client.config.logger.debug "Calling API: RoutingApi#post_email_domains ..."
|
|
1673
1679
|
end
|
|
1674
1680
|
|
|
1681
|
+
# verify the required parameter 'body' is set
|
|
1682
|
+
fail "Missing the required parameter 'body' when calling post_email_domains" if body.nil?
|
|
1683
|
+
|
|
1675
1684
|
# resource path
|
|
1676
1685
|
local_var_path = "/api/v2/routing/email/domains".sub('{format}','json')
|
|
1677
1686
|
|
|
@@ -1693,7 +1702,7 @@ module PureCloud
|
|
|
1693
1702
|
form_params = {}
|
|
1694
1703
|
|
|
1695
1704
|
# http body (model)
|
|
1696
|
-
post_body = @api_client.object_to_http_body(
|
|
1705
|
+
post_body = @api_client.object_to_http_body(body)
|
|
1697
1706
|
|
|
1698
1707
|
auth_names = ['PureCloud Auth']
|
|
1699
1708
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -1712,21 +1721,21 @@ module PureCloud
|
|
|
1712
1721
|
# Create a route
|
|
1713
1722
|
#
|
|
1714
1723
|
# @param domain_name email domain
|
|
1724
|
+
# @param body Route
|
|
1715
1725
|
# @param [Hash] opts the optional parameters
|
|
1716
|
-
# @option opts [InboundRoute] :body Route
|
|
1717
1726
|
# @return [InboundRoute]
|
|
1718
|
-
def post_email_domains_domainname_routes(domain_name, opts = {})
|
|
1719
|
-
data, status_code, headers = post_email_domains_domainname_routes_with_http_info(domain_name, opts)
|
|
1727
|
+
def post_email_domains_domainname_routes(domain_name, body, opts = {})
|
|
1728
|
+
data, status_code, headers = post_email_domains_domainname_routes_with_http_info(domain_name, body, opts)
|
|
1720
1729
|
return data
|
|
1721
1730
|
end
|
|
1722
1731
|
|
|
1723
1732
|
# Create a route
|
|
1724
1733
|
#
|
|
1725
1734
|
# @param domain_name email domain
|
|
1735
|
+
# @param body Route
|
|
1726
1736
|
# @param [Hash] opts the optional parameters
|
|
1727
|
-
# @option opts [InboundRoute] :body Route
|
|
1728
1737
|
# @return [Array<(InboundRoute, Fixnum, Hash)>] InboundRoute data, response status code and response headers
|
|
1729
|
-
def post_email_domains_domainname_routes_with_http_info(domain_name, opts = {})
|
|
1738
|
+
def post_email_domains_domainname_routes_with_http_info(domain_name, body, opts = {})
|
|
1730
1739
|
if @api_client.config.debugging
|
|
1731
1740
|
@api_client.config.logger.debug "Calling API: RoutingApi#post_email_domains_domainname_routes ..."
|
|
1732
1741
|
end
|
|
@@ -1734,6 +1743,9 @@ module PureCloud
|
|
|
1734
1743
|
# verify the required parameter 'domain_name' is set
|
|
1735
1744
|
fail "Missing the required parameter 'domain_name' when calling post_email_domains_domainname_routes" if domain_name.nil?
|
|
1736
1745
|
|
|
1746
|
+
# verify the required parameter 'body' is set
|
|
1747
|
+
fail "Missing the required parameter 'body' when calling post_email_domains_domainname_routes" if body.nil?
|
|
1748
|
+
|
|
1737
1749
|
# resource path
|
|
1738
1750
|
local_var_path = "/api/v2/routing/email/domains/{domainName}/routes".sub('{format}','json').sub('{' + 'domainName' + '}', domain_name.to_s)
|
|
1739
1751
|
|
|
@@ -1755,7 +1767,7 @@ module PureCloud
|
|
|
1755
1767
|
form_params = {}
|
|
1756
1768
|
|
|
1757
1769
|
# http body (model)
|
|
1758
|
-
post_body = @api_client.object_to_http_body(
|
|
1770
|
+
post_body = @api_client.object_to_http_body(body)
|
|
1759
1771
|
|
|
1760
1772
|
auth_names = ['PureCloud Auth']
|
|
1761
1773
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -1773,24 +1785,27 @@ module PureCloud
|
|
|
1773
1785
|
|
|
1774
1786
|
# Create queue
|
|
1775
1787
|
#
|
|
1788
|
+
# @param body Queue
|
|
1776
1789
|
# @param [Hash] opts the optional parameters
|
|
1777
|
-
# @option opts [Queue] :body Queue
|
|
1778
1790
|
# @return [Queue]
|
|
1779
|
-
def post_queues(opts = {})
|
|
1780
|
-
data, status_code, headers = post_queues_with_http_info(opts)
|
|
1791
|
+
def post_queues(body, opts = {})
|
|
1792
|
+
data, status_code, headers = post_queues_with_http_info(body, opts)
|
|
1781
1793
|
return data
|
|
1782
1794
|
end
|
|
1783
1795
|
|
|
1784
1796
|
# Create queue
|
|
1785
1797
|
#
|
|
1798
|
+
# @param body Queue
|
|
1786
1799
|
# @param [Hash] opts the optional parameters
|
|
1787
|
-
# @option opts [Queue] :body Queue
|
|
1788
1800
|
# @return [Array<(Queue, Fixnum, Hash)>] Queue data, response status code and response headers
|
|
1789
|
-
def post_queues_with_http_info(opts = {})
|
|
1801
|
+
def post_queues_with_http_info(body, opts = {})
|
|
1790
1802
|
if @api_client.config.debugging
|
|
1791
1803
|
@api_client.config.logger.debug "Calling API: RoutingApi#post_queues ..."
|
|
1792
1804
|
end
|
|
1793
1805
|
|
|
1806
|
+
# verify the required parameter 'body' is set
|
|
1807
|
+
fail "Missing the required parameter 'body' when calling post_queues" if body.nil?
|
|
1808
|
+
|
|
1794
1809
|
# resource path
|
|
1795
1810
|
local_var_path = "/api/v2/routing/queues".sub('{format}','json')
|
|
1796
1811
|
|
|
@@ -1812,7 +1827,7 @@ module PureCloud
|
|
|
1812
1827
|
form_params = {}
|
|
1813
1828
|
|
|
1814
1829
|
# http body (model)
|
|
1815
|
-
post_body = @api_client.object_to_http_body(
|
|
1830
|
+
post_body = @api_client.object_to_http_body(body)
|
|
1816
1831
|
|
|
1817
1832
|
auth_names = ['PureCloud Auth']
|
|
1818
1833
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -1830,24 +1845,27 @@ module PureCloud
|
|
|
1830
1845
|
|
|
1831
1846
|
# Query for queue observations
|
|
1832
1847
|
#
|
|
1848
|
+
# @param body query
|
|
1833
1849
|
# @param [Hash] opts the optional parameters
|
|
1834
|
-
# @option opts [ObservationQuery] :body query
|
|
1835
1850
|
# @return [ObservationQueryResponse]
|
|
1836
|
-
def post_queues_observations_query(opts = {})
|
|
1837
|
-
data, status_code, headers = post_queues_observations_query_with_http_info(opts)
|
|
1851
|
+
def post_queues_observations_query(body, opts = {})
|
|
1852
|
+
data, status_code, headers = post_queues_observations_query_with_http_info(body, opts)
|
|
1838
1853
|
return data
|
|
1839
1854
|
end
|
|
1840
1855
|
|
|
1841
1856
|
# Query for queue observations
|
|
1842
1857
|
#
|
|
1858
|
+
# @param body query
|
|
1843
1859
|
# @param [Hash] opts the optional parameters
|
|
1844
|
-
# @option opts [ObservationQuery] :body query
|
|
1845
1860
|
# @return [Array<(ObservationQueryResponse, Fixnum, Hash)>] ObservationQueryResponse data, response status code and response headers
|
|
1846
|
-
def post_queues_observations_query_with_http_info(opts = {})
|
|
1861
|
+
def post_queues_observations_query_with_http_info(body, opts = {})
|
|
1847
1862
|
if @api_client.config.debugging
|
|
1848
1863
|
@api_client.config.logger.debug "Calling API: RoutingApi#post_queues_observations_query ..."
|
|
1849
1864
|
end
|
|
1850
1865
|
|
|
1866
|
+
# verify the required parameter 'body' is set
|
|
1867
|
+
fail "Missing the required parameter 'body' when calling post_queues_observations_query" if body.nil?
|
|
1868
|
+
|
|
1851
1869
|
# resource path
|
|
1852
1870
|
local_var_path = "/api/v2/analytics/queues/observations/query".sub('{format}','json')
|
|
1853
1871
|
|
|
@@ -1869,7 +1887,7 @@ module PureCloud
|
|
|
1869
1887
|
form_params = {}
|
|
1870
1888
|
|
|
1871
1889
|
# http body (model)
|
|
1872
|
-
post_body = @api_client.object_to_http_body(
|
|
1890
|
+
post_body = @api_client.object_to_http_body(body)
|
|
1873
1891
|
|
|
1874
1892
|
auth_names = ['PureCloud Auth']
|
|
1875
1893
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -1888,23 +1906,23 @@ module PureCloud
|
|
|
1888
1906
|
# Bulk add or delete up to 100 queue members
|
|
1889
1907
|
#
|
|
1890
1908
|
# @param queue_id Queue ID
|
|
1909
|
+
# @param body Queue Members
|
|
1891
1910
|
# @param [Hash] opts the optional parameters
|
|
1892
|
-
# @option opts [Array<QueueMember>] :body Queue Members
|
|
1893
1911
|
# @option opts [BOOLEAN] :delete True to delete queue members (default to false)
|
|
1894
1912
|
# @return [QueueMember]
|
|
1895
|
-
def post_queues_queue_id_users(queue_id, opts = {})
|
|
1896
|
-
data, status_code, headers = post_queues_queue_id_users_with_http_info(queue_id, opts)
|
|
1913
|
+
def post_queues_queue_id_users(queue_id, body, opts = {})
|
|
1914
|
+
data, status_code, headers = post_queues_queue_id_users_with_http_info(queue_id, body, opts)
|
|
1897
1915
|
return data
|
|
1898
1916
|
end
|
|
1899
1917
|
|
|
1900
1918
|
# Bulk add or delete up to 100 queue members
|
|
1901
1919
|
#
|
|
1902
1920
|
# @param queue_id Queue ID
|
|
1921
|
+
# @param body Queue Members
|
|
1903
1922
|
# @param [Hash] opts the optional parameters
|
|
1904
|
-
# @option opts [Array<QueueMember>] :body Queue Members
|
|
1905
1923
|
# @option opts [BOOLEAN] :delete True to delete queue members
|
|
1906
1924
|
# @return [Array<(QueueMember, Fixnum, Hash)>] QueueMember data, response status code and response headers
|
|
1907
|
-
def post_queues_queue_id_users_with_http_info(queue_id, opts = {})
|
|
1925
|
+
def post_queues_queue_id_users_with_http_info(queue_id, body, opts = {})
|
|
1908
1926
|
if @api_client.config.debugging
|
|
1909
1927
|
@api_client.config.logger.debug "Calling API: RoutingApi#post_queues_queue_id_users ..."
|
|
1910
1928
|
end
|
|
@@ -1912,6 +1930,9 @@ module PureCloud
|
|
|
1912
1930
|
# verify the required parameter 'queue_id' is set
|
|
1913
1931
|
fail "Missing the required parameter 'queue_id' when calling post_queues_queue_id_users" if queue_id.nil?
|
|
1914
1932
|
|
|
1933
|
+
# verify the required parameter 'body' is set
|
|
1934
|
+
fail "Missing the required parameter 'body' when calling post_queues_queue_id_users" if body.nil?
|
|
1935
|
+
|
|
1915
1936
|
# resource path
|
|
1916
1937
|
local_var_path = "/api/v2/routing/queues/{queueId}/users".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
|
|
1917
1938
|
|
|
@@ -1934,7 +1955,7 @@ module PureCloud
|
|
|
1934
1955
|
form_params = {}
|
|
1935
1956
|
|
|
1936
1957
|
# http body (model)
|
|
1937
|
-
post_body = @api_client.object_to_http_body(
|
|
1958
|
+
post_body = @api_client.object_to_http_body(body)
|
|
1938
1959
|
|
|
1939
1960
|
auth_names = ['PureCloud Auth']
|
|
1940
1961
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -1954,11 +1975,11 @@ module PureCloud
|
|
|
1954
1975
|
#
|
|
1955
1976
|
# @param queue_id Queue ID
|
|
1956
1977
|
# @param code_id Code ID
|
|
1978
|
+
# @param body List of wrapup codes
|
|
1957
1979
|
# @param [Hash] opts the optional parameters
|
|
1958
|
-
# @option opts [Array<WrapupCode>] :body
|
|
1959
1980
|
# @return [WrapupCode]
|
|
1960
|
-
def post_queues_queue_id_wrapupcodes(queue_id, code_id, opts = {})
|
|
1961
|
-
data, status_code, headers = post_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, opts)
|
|
1981
|
+
def post_queues_queue_id_wrapupcodes(queue_id, code_id, body, opts = {})
|
|
1982
|
+
data, status_code, headers = post_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, body, opts)
|
|
1962
1983
|
return data
|
|
1963
1984
|
end
|
|
1964
1985
|
|
|
@@ -1966,10 +1987,10 @@ module PureCloud
|
|
|
1966
1987
|
#
|
|
1967
1988
|
# @param queue_id Queue ID
|
|
1968
1989
|
# @param code_id Code ID
|
|
1990
|
+
# @param body List of wrapup codes
|
|
1969
1991
|
# @param [Hash] opts the optional parameters
|
|
1970
|
-
# @option opts [Array<WrapupCode>] :body
|
|
1971
1992
|
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
|
1972
|
-
def post_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, opts = {})
|
|
1993
|
+
def post_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, body, opts = {})
|
|
1973
1994
|
if @api_client.config.debugging
|
|
1974
1995
|
@api_client.config.logger.debug "Calling API: RoutingApi#post_queues_queue_id_wrapupcodes ..."
|
|
1975
1996
|
end
|
|
@@ -1980,6 +2001,9 @@ module PureCloud
|
|
|
1980
2001
|
# verify the required parameter 'code_id' is set
|
|
1981
2002
|
fail "Missing the required parameter 'code_id' when calling post_queues_queue_id_wrapupcodes" if code_id.nil?
|
|
1982
2003
|
|
|
2004
|
+
# verify the required parameter 'body' is set
|
|
2005
|
+
fail "Missing the required parameter 'body' when calling post_queues_queue_id_wrapupcodes" if body.nil?
|
|
2006
|
+
|
|
1983
2007
|
# resource path
|
|
1984
2008
|
local_var_path = "/api/v2/routing/queues/{queueId}/wrapupcodes".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'codeId' + '}', code_id.to_s)
|
|
1985
2009
|
|
|
@@ -2001,7 +2025,7 @@ module PureCloud
|
|
|
2001
2025
|
form_params = {}
|
|
2002
2026
|
|
|
2003
2027
|
# http body (model)
|
|
2004
|
-
post_body = @api_client.object_to_http_body(
|
|
2028
|
+
post_body = @api_client.object_to_http_body(body)
|
|
2005
2029
|
|
|
2006
2030
|
auth_names = ['PureCloud Auth']
|
|
2007
2031
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -2019,24 +2043,27 @@ module PureCloud
|
|
|
2019
2043
|
|
|
2020
2044
|
# Create Skill
|
|
2021
2045
|
#
|
|
2046
|
+
# @param body Skill
|
|
2022
2047
|
# @param [Hash] opts the optional parameters
|
|
2023
|
-
# @option opts [RoutingSkill] :body Skill
|
|
2024
2048
|
# @return [RoutingSkill]
|
|
2025
|
-
def post_skills(opts = {})
|
|
2026
|
-
data, status_code, headers = post_skills_with_http_info(opts)
|
|
2049
|
+
def post_skills(body, opts = {})
|
|
2050
|
+
data, status_code, headers = post_skills_with_http_info(body, opts)
|
|
2027
2051
|
return data
|
|
2028
2052
|
end
|
|
2029
2053
|
|
|
2030
2054
|
# Create Skill
|
|
2031
2055
|
#
|
|
2056
|
+
# @param body Skill
|
|
2032
2057
|
# @param [Hash] opts the optional parameters
|
|
2033
|
-
# @option opts [RoutingSkill] :body Skill
|
|
2034
2058
|
# @return [Array<(RoutingSkill, Fixnum, Hash)>] RoutingSkill data, response status code and response headers
|
|
2035
|
-
def post_skills_with_http_info(opts = {})
|
|
2059
|
+
def post_skills_with_http_info(body, opts = {})
|
|
2036
2060
|
if @api_client.config.debugging
|
|
2037
2061
|
@api_client.config.logger.debug "Calling API: RoutingApi#post_skills ..."
|
|
2038
2062
|
end
|
|
2039
2063
|
|
|
2064
|
+
# verify the required parameter 'body' is set
|
|
2065
|
+
fail "Missing the required parameter 'body' when calling post_skills" if body.nil?
|
|
2066
|
+
|
|
2040
2067
|
# resource path
|
|
2041
2068
|
local_var_path = "/api/v2/routing/skills".sub('{format}','json')
|
|
2042
2069
|
|
|
@@ -2058,7 +2085,7 @@ module PureCloud
|
|
|
2058
2085
|
form_params = {}
|
|
2059
2086
|
|
|
2060
2087
|
# http body (model)
|
|
2061
|
-
post_body = @api_client.object_to_http_body(
|
|
2088
|
+
post_body = @api_client.object_to_http_body(body)
|
|
2062
2089
|
|
|
2063
2090
|
auth_names = ['PureCloud Auth']
|
|
2064
2091
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -2077,21 +2104,21 @@ module PureCloud
|
|
|
2077
2104
|
# Add routing skill to user
|
|
2078
2105
|
#
|
|
2079
2106
|
# @param user_id User ID
|
|
2107
|
+
# @param body Skill
|
|
2080
2108
|
# @param [Hash] opts the optional parameters
|
|
2081
|
-
# @option opts [UserRoutingSkill] :body Skill
|
|
2082
2109
|
# @return [UserRoutingSkill]
|
|
2083
|
-
def post_user_id_routingskills(user_id, opts = {})
|
|
2084
|
-
data, status_code, headers = post_user_id_routingskills_with_http_info(user_id, opts)
|
|
2110
|
+
def post_user_id_routingskills(user_id, body, opts = {})
|
|
2111
|
+
data, status_code, headers = post_user_id_routingskills_with_http_info(user_id, body, opts)
|
|
2085
2112
|
return data
|
|
2086
2113
|
end
|
|
2087
2114
|
|
|
2088
2115
|
# Add routing skill to user
|
|
2089
2116
|
#
|
|
2090
2117
|
# @param user_id User ID
|
|
2118
|
+
# @param body Skill
|
|
2091
2119
|
# @param [Hash] opts the optional parameters
|
|
2092
|
-
# @option opts [UserRoutingSkill] :body Skill
|
|
2093
2120
|
# @return [Array<(UserRoutingSkill, Fixnum, Hash)>] UserRoutingSkill data, response status code and response headers
|
|
2094
|
-
def post_user_id_routingskills_with_http_info(user_id, opts = {})
|
|
2121
|
+
def post_user_id_routingskills_with_http_info(user_id, body, opts = {})
|
|
2095
2122
|
if @api_client.config.debugging
|
|
2096
2123
|
@api_client.config.logger.debug "Calling API: RoutingApi#post_user_id_routingskills ..."
|
|
2097
2124
|
end
|
|
@@ -2099,6 +2126,9 @@ module PureCloud
|
|
|
2099
2126
|
# verify the required parameter 'user_id' is set
|
|
2100
2127
|
fail "Missing the required parameter 'user_id' when calling post_user_id_routingskills" if user_id.nil?
|
|
2101
2128
|
|
|
2129
|
+
# verify the required parameter 'body' is set
|
|
2130
|
+
fail "Missing the required parameter 'body' when calling post_user_id_routingskills" if body.nil?
|
|
2131
|
+
|
|
2102
2132
|
# resource path
|
|
2103
2133
|
local_var_path = "/api/v2/users/{userId}/routingskills".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
2104
2134
|
|
|
@@ -2120,7 +2150,7 @@ module PureCloud
|
|
|
2120
2150
|
form_params = {}
|
|
2121
2151
|
|
|
2122
2152
|
# http body (model)
|
|
2123
|
-
post_body = @api_client.object_to_http_body(
|
|
2153
|
+
post_body = @api_client.object_to_http_body(body)
|
|
2124
2154
|
|
|
2125
2155
|
auth_names = ['PureCloud Auth']
|
|
2126
2156
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -2138,24 +2168,27 @@ module PureCloud
|
|
|
2138
2168
|
|
|
2139
2169
|
# Create a wrap-up code
|
|
2140
2170
|
#
|
|
2171
|
+
# @param body WrapupCode
|
|
2141
2172
|
# @param [Hash] opts the optional parameters
|
|
2142
|
-
# @option opts [WrapupCode] :body WrapupCode
|
|
2143
2173
|
# @return [CallableTimeSet]
|
|
2144
|
-
def post_wrapupcodes(opts = {})
|
|
2145
|
-
data, status_code, headers = post_wrapupcodes_with_http_info(opts)
|
|
2174
|
+
def post_wrapupcodes(body, opts = {})
|
|
2175
|
+
data, status_code, headers = post_wrapupcodes_with_http_info(body, opts)
|
|
2146
2176
|
return data
|
|
2147
2177
|
end
|
|
2148
2178
|
|
|
2149
2179
|
# Create a wrap-up code
|
|
2150
2180
|
#
|
|
2181
|
+
# @param body WrapupCode
|
|
2151
2182
|
# @param [Hash] opts the optional parameters
|
|
2152
|
-
# @option opts [WrapupCode] :body WrapupCode
|
|
2153
2183
|
# @return [Array<(CallableTimeSet, Fixnum, Hash)>] CallableTimeSet data, response status code and response headers
|
|
2154
|
-
def post_wrapupcodes_with_http_info(opts = {})
|
|
2184
|
+
def post_wrapupcodes_with_http_info(body, opts = {})
|
|
2155
2185
|
if @api_client.config.debugging
|
|
2156
2186
|
@api_client.config.logger.debug "Calling API: RoutingApi#post_wrapupcodes ..."
|
|
2157
2187
|
end
|
|
2158
2188
|
|
|
2189
|
+
# verify the required parameter 'body' is set
|
|
2190
|
+
fail "Missing the required parameter 'body' when calling post_wrapupcodes" if body.nil?
|
|
2191
|
+
|
|
2159
2192
|
# resource path
|
|
2160
2193
|
local_var_path = "/api/v2/routing/wrapupcodes".sub('{format}','json')
|
|
2161
2194
|
|
|
@@ -2177,7 +2210,7 @@ module PureCloud
|
|
|
2177
2210
|
form_params = {}
|
|
2178
2211
|
|
|
2179
2212
|
# http body (model)
|
|
2180
|
-
post_body = @api_client.object_to_http_body(
|
|
2213
|
+
post_body = @api_client.object_to_http_body(body)
|
|
2181
2214
|
|
|
2182
2215
|
auth_names = ['PureCloud Auth']
|
|
2183
2216
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -2197,11 +2230,11 @@ module PureCloud
|
|
|
2197
2230
|
#
|
|
2198
2231
|
# @param domain_name email domain
|
|
2199
2232
|
# @param route_id route ID
|
|
2233
|
+
# @param body Route
|
|
2200
2234
|
# @param [Hash] opts the optional parameters
|
|
2201
|
-
# @option opts [InboundRoute] :body Route
|
|
2202
2235
|
# @return [InboundRoute]
|
|
2203
|
-
def put_email_domains_domainname_routes_route_id(domain_name, route_id, opts = {})
|
|
2204
|
-
data, status_code, headers = put_email_domains_domainname_routes_route_id_with_http_info(domain_name, route_id, opts)
|
|
2236
|
+
def put_email_domains_domainname_routes_route_id(domain_name, route_id, body, opts = {})
|
|
2237
|
+
data, status_code, headers = put_email_domains_domainname_routes_route_id_with_http_info(domain_name, route_id, body, opts)
|
|
2205
2238
|
return data
|
|
2206
2239
|
end
|
|
2207
2240
|
|
|
@@ -2209,10 +2242,10 @@ module PureCloud
|
|
|
2209
2242
|
#
|
|
2210
2243
|
# @param domain_name email domain
|
|
2211
2244
|
# @param route_id route ID
|
|
2245
|
+
# @param body Route
|
|
2212
2246
|
# @param [Hash] opts the optional parameters
|
|
2213
|
-
# @option opts [InboundRoute] :body Route
|
|
2214
2247
|
# @return [Array<(InboundRoute, Fixnum, Hash)>] InboundRoute data, response status code and response headers
|
|
2215
|
-
def put_email_domains_domainname_routes_route_id_with_http_info(domain_name, route_id, opts = {})
|
|
2248
|
+
def put_email_domains_domainname_routes_route_id_with_http_info(domain_name, route_id, body, opts = {})
|
|
2216
2249
|
if @api_client.config.debugging
|
|
2217
2250
|
@api_client.config.logger.debug "Calling API: RoutingApi#put_email_domains_domainname_routes_route_id ..."
|
|
2218
2251
|
end
|
|
@@ -2223,6 +2256,9 @@ module PureCloud
|
|
|
2223
2256
|
# verify the required parameter 'route_id' is set
|
|
2224
2257
|
fail "Missing the required parameter 'route_id' when calling put_email_domains_domainname_routes_route_id" if route_id.nil?
|
|
2225
2258
|
|
|
2259
|
+
# verify the required parameter 'body' is set
|
|
2260
|
+
fail "Missing the required parameter 'body' when calling put_email_domains_domainname_routes_route_id" if body.nil?
|
|
2261
|
+
|
|
2226
2262
|
# resource path
|
|
2227
2263
|
local_var_path = "/api/v2/routing/email/domains/{domainName}/routes/{routeId}".sub('{format}','json').sub('{' + 'domainName' + '}', domain_name.to_s).sub('{' + 'routeId' + '}', route_id.to_s)
|
|
2228
2264
|
|
|
@@ -2244,7 +2280,7 @@ module PureCloud
|
|
|
2244
2280
|
form_params = {}
|
|
2245
2281
|
|
|
2246
2282
|
# http body (model)
|
|
2247
|
-
post_body = @api_client.object_to_http_body(
|
|
2283
|
+
post_body = @api_client.object_to_http_body(body)
|
|
2248
2284
|
|
|
2249
2285
|
auth_names = ['PureCloud Auth']
|
|
2250
2286
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
@@ -2263,21 +2299,21 @@ module PureCloud
|
|
|
2263
2299
|
# Update a queue
|
|
2264
2300
|
#
|
|
2265
2301
|
# @param queue_id Queue ID
|
|
2302
|
+
# @param body Queue
|
|
2266
2303
|
# @param [Hash] opts the optional parameters
|
|
2267
|
-
# @option opts [Queue] :body Queue
|
|
2268
2304
|
# @return [Queue]
|
|
2269
|
-
def put_queues_queue_id(queue_id, opts = {})
|
|
2270
|
-
data, status_code, headers = put_queues_queue_id_with_http_info(queue_id, opts)
|
|
2305
|
+
def put_queues_queue_id(queue_id, body, opts = {})
|
|
2306
|
+
data, status_code, headers = put_queues_queue_id_with_http_info(queue_id, body, opts)
|
|
2271
2307
|
return data
|
|
2272
2308
|
end
|
|
2273
2309
|
|
|
2274
2310
|
# Update a queue
|
|
2275
2311
|
#
|
|
2276
2312
|
# @param queue_id Queue ID
|
|
2313
|
+
# @param body Queue
|
|
2277
2314
|
# @param [Hash] opts the optional parameters
|
|
2278
|
-
# @option opts [Queue] :body Queue
|
|
2279
2315
|
# @return [Array<(Queue, Fixnum, Hash)>] Queue data, response status code and response headers
|
|
2280
|
-
def put_queues_queue_id_with_http_info(queue_id, opts = {})
|
|
2316
|
+
def put_queues_queue_id_with_http_info(queue_id, body, opts = {})
|
|
2281
2317
|
if @api_client.config.debugging
|
|
2282
2318
|
@api_client.config.logger.debug "Calling API: RoutingApi#put_queues_queue_id ..."
|
|
2283
2319
|
end
|
|
@@ -2285,6 +2321,9 @@ module PureCloud
|
|
|
2285
2321
|
# verify the required parameter 'queue_id' is set
|
|
2286
2322
|
fail "Missing the required parameter 'queue_id' when calling put_queues_queue_id" if queue_id.nil?
|
|
2287
2323
|
|
|
2324
|
+
# verify the required parameter 'body' is set
|
|
2325
|
+
fail "Missing the required parameter 'body' when calling put_queues_queue_id" if body.nil?
|
|
2326
|
+
|
|
2288
2327
|
# resource path
|
|
2289
2328
|
local_var_path = "/api/v2/routing/queues/{queueId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
|
|
2290
2329
|
|
|
@@ -2306,7 +2345,7 @@ module PureCloud
|
|
|
2306
2345
|
form_params = {}
|
|
2307
2346
|
|
|
2308
2347
|
# http body (model)
|
|
2309
|
-
post_body = @api_client.object_to_http_body(
|
|
2348
|
+
post_body = @api_client.object_to_http_body(body)
|
|
2310
2349
|
|
|
2311
2350
|
auth_names = ['PureCloud Auth']
|
|
2312
2351
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
@@ -2326,11 +2365,11 @@ module PureCloud
|
|
|
2326
2365
|
#
|
|
2327
2366
|
# @param user_id User ID
|
|
2328
2367
|
# @param skill_id
|
|
2368
|
+
# @param body Skill
|
|
2329
2369
|
# @param [Hash] opts the optional parameters
|
|
2330
|
-
# @option opts [UserRoutingSkill] :body Skill
|
|
2331
2370
|
# @return [UserRoutingSkill]
|
|
2332
|
-
def put_user_id_routingskills_skill_id(user_id, skill_id, opts = {})
|
|
2333
|
-
data, status_code, headers = put_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, opts)
|
|
2371
|
+
def put_user_id_routingskills_skill_id(user_id, skill_id, body, opts = {})
|
|
2372
|
+
data, status_code, headers = put_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, body, opts)
|
|
2334
2373
|
return data
|
|
2335
2374
|
end
|
|
2336
2375
|
|
|
@@ -2338,10 +2377,10 @@ module PureCloud
|
|
|
2338
2377
|
#
|
|
2339
2378
|
# @param user_id User ID
|
|
2340
2379
|
# @param skill_id
|
|
2380
|
+
# @param body Skill
|
|
2341
2381
|
# @param [Hash] opts the optional parameters
|
|
2342
|
-
# @option opts [UserRoutingSkill] :body Skill
|
|
2343
2382
|
# @return [Array<(UserRoutingSkill, Fixnum, Hash)>] UserRoutingSkill data, response status code and response headers
|
|
2344
|
-
def put_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, opts = {})
|
|
2383
|
+
def put_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, body, opts = {})
|
|
2345
2384
|
if @api_client.config.debugging
|
|
2346
2385
|
@api_client.config.logger.debug "Calling API: RoutingApi#put_user_id_routingskills_skill_id ..."
|
|
2347
2386
|
end
|
|
@@ -2352,6 +2391,9 @@ module PureCloud
|
|
|
2352
2391
|
# verify the required parameter 'skill_id' is set
|
|
2353
2392
|
fail "Missing the required parameter 'skill_id' when calling put_user_id_routingskills_skill_id" if skill_id.nil?
|
|
2354
2393
|
|
|
2394
|
+
# verify the required parameter 'body' is set
|
|
2395
|
+
fail "Missing the required parameter 'body' when calling put_user_id_routingskills_skill_id" if body.nil?
|
|
2396
|
+
|
|
2355
2397
|
# resource path
|
|
2356
2398
|
local_var_path = "/api/v2/users/{userId}/routingskills/{skillId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'skillId' + '}', skill_id.to_s)
|
|
2357
2399
|
|
|
@@ -2373,7 +2415,7 @@ module PureCloud
|
|
|
2373
2415
|
form_params = {}
|
|
2374
2416
|
|
|
2375
2417
|
# http body (model)
|
|
2376
|
-
post_body = @api_client.object_to_http_body(
|
|
2418
|
+
post_body = @api_client.object_to_http_body(body)
|
|
2377
2419
|
|
|
2378
2420
|
auth_names = ['PureCloud Auth']
|
|
2379
2421
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
@@ -2391,24 +2433,27 @@ module PureCloud
|
|
|
2391
2433
|
|
|
2392
2434
|
# Update the utilization settings.
|
|
2393
2435
|
#
|
|
2436
|
+
# @param body utilization
|
|
2394
2437
|
# @param [Hash] opts the optional parameters
|
|
2395
|
-
# @option opts [Utilization] :body utilization
|
|
2396
2438
|
# @return [Utilization]
|
|
2397
|
-
def put_utilization(opts = {})
|
|
2398
|
-
data, status_code, headers = put_utilization_with_http_info(opts)
|
|
2439
|
+
def put_utilization(body, opts = {})
|
|
2440
|
+
data, status_code, headers = put_utilization_with_http_info(body, opts)
|
|
2399
2441
|
return data
|
|
2400
2442
|
end
|
|
2401
2443
|
|
|
2402
2444
|
# Update the utilization settings.
|
|
2403
2445
|
#
|
|
2446
|
+
# @param body utilization
|
|
2404
2447
|
# @param [Hash] opts the optional parameters
|
|
2405
|
-
# @option opts [Utilization] :body utilization
|
|
2406
2448
|
# @return [Array<(Utilization, Fixnum, Hash)>] Utilization data, response status code and response headers
|
|
2407
|
-
def put_utilization_with_http_info(opts = {})
|
|
2449
|
+
def put_utilization_with_http_info(body, opts = {})
|
|
2408
2450
|
if @api_client.config.debugging
|
|
2409
2451
|
@api_client.config.logger.debug "Calling API: RoutingApi#put_utilization ..."
|
|
2410
2452
|
end
|
|
2411
2453
|
|
|
2454
|
+
# verify the required parameter 'body' is set
|
|
2455
|
+
fail "Missing the required parameter 'body' when calling put_utilization" if body.nil?
|
|
2456
|
+
|
|
2412
2457
|
# resource path
|
|
2413
2458
|
local_var_path = "/api/v2/routing/utilization".sub('{format}','json')
|
|
2414
2459
|
|
|
@@ -2430,7 +2475,7 @@ module PureCloud
|
|
|
2430
2475
|
form_params = {}
|
|
2431
2476
|
|
|
2432
2477
|
# http body (model)
|
|
2433
|
-
post_body = @api_client.object_to_http_body(
|
|
2478
|
+
post_body = @api_client.object_to_http_body(body)
|
|
2434
2479
|
|
|
2435
2480
|
auth_names = ['PureCloud Auth']
|
|
2436
2481
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
@@ -2449,21 +2494,21 @@ module PureCloud
|
|
|
2449
2494
|
# Update wrap-up code
|
|
2450
2495
|
#
|
|
2451
2496
|
# @param code_id Wrapup Code ID
|
|
2497
|
+
# @param body WrapupCode
|
|
2452
2498
|
# @param [Hash] opts the optional parameters
|
|
2453
|
-
# @option opts [WrapupCode] :body WrapupCode
|
|
2454
2499
|
# @return [WrapupCode]
|
|
2455
|
-
def put_wrapupcodes_code_id(code_id, opts = {})
|
|
2456
|
-
data, status_code, headers = put_wrapupcodes_code_id_with_http_info(code_id, opts)
|
|
2500
|
+
def put_wrapupcodes_code_id(code_id, body, opts = {})
|
|
2501
|
+
data, status_code, headers = put_wrapupcodes_code_id_with_http_info(code_id, body, opts)
|
|
2457
2502
|
return data
|
|
2458
2503
|
end
|
|
2459
2504
|
|
|
2460
2505
|
# Update wrap-up code
|
|
2461
2506
|
#
|
|
2462
2507
|
# @param code_id Wrapup Code ID
|
|
2508
|
+
# @param body WrapupCode
|
|
2463
2509
|
# @param [Hash] opts the optional parameters
|
|
2464
|
-
# @option opts [WrapupCode] :body WrapupCode
|
|
2465
2510
|
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
|
2466
|
-
def put_wrapupcodes_code_id_with_http_info(code_id, opts = {})
|
|
2511
|
+
def put_wrapupcodes_code_id_with_http_info(code_id, body, opts = {})
|
|
2467
2512
|
if @api_client.config.debugging
|
|
2468
2513
|
@api_client.config.logger.debug "Calling API: RoutingApi#put_wrapupcodes_code_id ..."
|
|
2469
2514
|
end
|
|
@@ -2471,6 +2516,9 @@ module PureCloud
|
|
|
2471
2516
|
# verify the required parameter 'code_id' is set
|
|
2472
2517
|
fail "Missing the required parameter 'code_id' when calling put_wrapupcodes_code_id" if code_id.nil?
|
|
2473
2518
|
|
|
2519
|
+
# verify the required parameter 'body' is set
|
|
2520
|
+
fail "Missing the required parameter 'body' when calling put_wrapupcodes_code_id" if body.nil?
|
|
2521
|
+
|
|
2474
2522
|
# resource path
|
|
2475
2523
|
local_var_path = "/api/v2/routing/wrapupcodes/{codeId}".sub('{format}','json').sub('{' + 'codeId' + '}', code_id.to_s)
|
|
2476
2524
|
|
|
@@ -2492,7 +2540,7 @@ module PureCloud
|
|
|
2492
2540
|
form_params = {}
|
|
2493
2541
|
|
|
2494
2542
|
# http body (model)
|
|
2495
|
-
post_body = @api_client.object_to_http_body(
|
|
2543
|
+
post_body = @api_client.object_to_http_body(body)
|
|
2496
2544
|
|
|
2497
2545
|
auth_names = ['PureCloud Auth']
|
|
2498
2546
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|