purecloud 0.67.1 → 0.68.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/bin/notificationMappings.json +4 -4
- data/config-ruby.json +1 -1
- data/doc_out/ActivityCode.html.md +20 -0
- data/doc_out/ActivityCodeContainer.html.md +13 -0
- data/doc_out/AgentActivityEntityListing.html.md +2 -2
- data/doc_out/AlertingApi.html.md +137 -35
- data/doc_out/AnalyticsApi.html.md +89 -23
- data/doc_out/AttemptLimitsEntityListing.html.md +2 -2
- data/doc_out/AttemptLimitsNotification.html.md +2 -1
- data/doc_out/AttributeEntityListing.html.md +2 -2
- data/doc_out/AttributesApi.html.md +25 -7
- data/doc_out/AuthorizationApi.html.md +69 -18
- data/doc_out/CalibrationEntityListing.html.md +2 -2
- data/doc_out/CallConversationEntityListing.html.md +2 -2
- data/doc_out/CallConversationNotificationCallMediaParticipant.html.md +1 -1
- data/doc_out/CallConversationNotificationParticipants.html.md +1 -1
- data/doc_out/CallableTimeSetEntityListing.html.md +2 -2
- data/doc_out/CallableTimeSetNotification.html.md +1 -1
- data/doc_out/CallbackConversationEntityListing.html.md +2 -2
- data/doc_out/CallbackConversationNotificationCallbackMediaParticipant.html.md +1 -1
- data/doc_out/CallbackConversationNotificationParticipants.html.md +1 -1
- data/doc_out/CampaignEntityListing.html.md +2 -2
- data/doc_out/CampaignNotification.html.md +2 -2
- data/doc_out/{CampaignNotificationError.html.md → CampaignNotificationRestErrorDetail.html.md} +2 -2
- data/doc_out/CampaignProgressNotification.html.md +1 -1
- data/doc_out/CampaignRuleEntityListing.html.md +2 -2
- data/doc_out/CampaignRuleNotification.html.md +1 -1
- data/doc_out/CampaignRuleNotificationCampaignRuleActionEntities.html.md +2 -2
- data/doc_out/CampaignRuleNotificationCampaignRuleEntities.html.md +2 -3
- data/doc_out/CampaignRuleNotificationUriReference.html.md +14 -0
- data/doc_out/CampaignScheduleNotification.html.md +2 -2
- data/doc_out/CampaignSequenceEntityListing.html.md +2 -2
- data/doc_out/CampaignSequenceNotification.html.md +2 -2
- data/doc_out/CertificateAuthorityEntityListing.html.md +2 -2
- data/doc_out/ChannelEntityListing.html.md +2 -2
- data/doc_out/ChatConversationEntityListing.html.md +2 -2
- data/doc_out/ChatConversationNotificationChatMediaParticipant.html.md +1 -1
- data/doc_out/ChatConversationNotificationParticipants.html.md +1 -1
- data/doc_out/CobrowseConversationEntityListing.html.md +2 -2
- data/doc_out/CobrowseConversationNotificationCobrowseMediaParticipant.html.md +1 -1
- data/doc_out/CobrowseConversationNotificationParticipants.html.md +1 -1
- data/doc_out/CommandStatusEntityListing.html.md +2 -2
- data/doc_out/ContactListEntityListing.html.md +2 -2
- data/doc_out/ContactListNotification.html.md +2 -2
- data/doc_out/{ContactListNotificationPhoneColumn_.html.md → ContactListNotificationContactPhoneNumberColumn.html.md} +2 -2
- data/doc_out/ContentManagementApi.html.md +153 -39
- data/doc_out/ConversationEntityListing.html.md +2 -2
- data/doc_out/ConversationsApi.html.md +421 -76
- data/doc_out/CreateEmailRequest.html.md +23 -0
- data/doc_out/CreateWebChatRequest.html.md +19 -0
- data/doc_out/DIDEntityListing.html.md +2 -2
- data/doc_out/DIDPoolEntityListing.html.md +2 -2
- data/doc_out/DecisionsFileMetadataEntityListing.html.md +2 -2
- data/doc_out/DncListEntityListing.html.md +2 -2
- data/doc_out/DncListNotification.html.md +1 -1
- data/doc_out/DocumentAuditEntityListing.html.md +2 -2
- data/doc_out/DocumentDataV2Notification.html.md +26 -0
- data/doc_out/{RecordingDataNotificationUserData.html.md → DocumentDataV2NotificationCreatedBy.html.md} +2 -2
- data/doc_out/DocumentDataV2NotificationLockData.html.md +15 -0
- data/doc_out/DocumentDataV2NotificationLockInfo.html.md +15 -0
- data/doc_out/{DocumentDataNotificationUserData.html.md → DocumentDataV2NotificationUserData.html.md} +2 -2
- data/doc_out/{DocumentDataNotificationWorkspace.html.md → DocumentDataV2NotificationWorkspace.html.md} +2 -2
- data/doc_out/{DocumentDataNotificationWorkspaceData.html.md → DocumentDataV2NotificationWorkspaceData.html.md} +2 -2
- data/doc_out/DocumentEntityListing.html.md +2 -2
- data/doc_out/DomainEdgeSoftwareVersionDtoEntityListing.html.md +2 -2
- 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/DomainOrganizationRole.html.md +1 -1
- data/doc_out/DomainOrganizationRoleCreate.html.md +1 -1
- data/doc_out/DomainOrganizationRoleUpdate.html.md +1 -1
- data/doc_out/EdgeEntityListing.html.md +2 -2
- data/doc_out/EdgeGroupEntityListing.html.md +2 -2
- data/doc_out/EdgeLineEntityListing.html.md +2 -2
- data/doc_out/EdgeRebootParameters.html.md +13 -0
- data/doc_out/EmailConversationEntityListing.html.md +2 -2
- data/doc_out/EmailConversationNotificationEmailMediaParticipant.html.md +1 -1
- data/doc_out/EmailConversationNotificationParticipants.html.md +1 -1
- data/doc_out/EmailMessageListing.html.md +2 -2
- data/doc_out/EncryptionKeyEntityListing.html.md +2 -2
- data/doc_out/EndpointEntityListing.html.md +2 -2
- data/doc_out/Entry.html.md +2 -2
- data/doc_out/EntryFeatureBoolean.html.md +14 -0
- 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/ExtensionEntityListing.html.md +2 -2
- data/doc_out/ExtensionPoolEntityListing.html.md +2 -2
- data/doc_out/FaxApi.html.md +25 -7
- data/doc_out/FaxDataV2Notification.html.md +29 -0
- data/doc_out/FaxDataV2NotificationLockData.html.md +15 -0
- data/doc_out/FaxDataV2NotificationLockInfo.html.md +15 -0
- data/doc_out/{FaxDataNotificationUserData.html.md → FaxDataV2NotificationUserData.html.md} +2 -2
- data/doc_out/{FaxDataNotificationWorkspaceData.html.md → FaxDataV2NotificationWorkspaceData.html.md} +2 -2
- data/doc_out/FaxDocumentEntityListing.html.md +2 -2
- data/doc_out/GeolocationApi.html.md +17 -5
- data/doc_out/GreetingListing.html.md +2 -2
- data/doc_out/GreetingsApi.html.md +65 -17
- data/doc_out/GroupEntityListing.html.md +2 -2
- data/doc_out/GroupsApi.html.md +45 -12
- data/doc_out/HeartBeatAlertContainer.html.md +2 -2
- data/doc_out/HeartBeatRuleContainer.html.md +2 -2
- data/doc_out/IdentityProviderApi.html.md +89 -23
- data/doc_out/InboundDomainEntityListing.html.md +2 -2
- data/doc_out/InboundRouteEntityListing.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 +2 -2
- data/doc_out/KeywordSetEntityListing.html.md +2 -2
- data/doc_out/LanguageEntityListing.html.md +2 -2
- data/doc_out/LanguagesApi.html.md +41 -11
- 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/LocalEncryptionConfigurationListing.html.md +2 -2
- data/doc_out/LocationsApi.html.md +17 -5
- data/doc_out/LogicalInterfaceEntityListing.html.md +2 -2
- data/doc_out/NotificationsApi.html.md +29 -8
- data/doc_out/OAuthApi.html.md +25 -7
- data/doc_out/OAuthClientEntityListing.html.md +2 -2
- data/doc_out/OAuthProviderEntityListing.html.md +2 -2
- data/doc_out/Organization.html.md +1 -0
- data/doc_out/OrganizationApi.html.md +70 -3
- 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/OutOfOfficeNotification.html.md +1 -1
- data/doc_out/OutboundApi.html.md +323 -95
- data/doc_out/OutboundRouteBaseEntityListing.html.md +2 -2
- data/doc_out/OutboundRouteEntityListing.html.md +2 -2
- data/doc_out/PermissionCollectionEntityListing.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 +33 -9
- data/doc_out/QualityApi.html.md +128 -33
- data/doc_out/QualityAuditPage.html.md +2 -2
- data/doc_out/QueueEntityListing.html.md +2 -2
- data/doc_out/QueueMemberEntityListing.html.md +2 -2
- data/doc_out/RecordingApi.html.md +133 -34
- data/doc_out/RecordingDataV2Notification.html.md +29 -0
- data/doc_out/{RecordingDataNotificationConversationData.html.md → RecordingDataV2NotificationConversationData.html.md} +2 -2
- data/doc_out/RecordingDataV2NotificationLockData.html.md +15 -0
- data/doc_out/RecordingDataV2NotificationLockInfo.html.md +15 -0
- data/doc_out/{DocumentDataNotificationCreatedBy.html.md → RecordingDataV2NotificationUserData.html.md} +2 -2
- data/doc_out/{RecordingDataNotificationWorkspaceData.html.md → RecordingDataV2NotificationWorkspaceData.html.md} +2 -2
- data/doc_out/ReportMetaDataEntityListing.html.md +2 -2
- data/doc_out/ReportRunEntryEntityDomainListing.html.md +2 -2
- data/doc_out/ReportScheduleEntityListing.html.md +2 -2
- data/doc_out/ResponseEntityList.html.md +2 -2
- data/doc_out/ResponseEntityListing.html.md +2 -2
- data/doc_out/ResponseManagementApi.html.md +45 -12
- data/doc_out/ResponseSetEntityListing.html.md +2 -2
- data/doc_out/ResponseSetNotification.html.md +1 -1
- data/doc_out/RoutingApi.html.md +193 -49
- data/doc_out/RoutingStatusAlertContainer.html.md +2 -2
- data/doc_out/RoutingStatusRuleContainer.html.md +2 -2
- data/doc_out/RuleSetEntityListing.html.md +2 -2
- data/doc_out/RuleSetNotification.html.md +1 -1
- data/doc_out/RuleSetNotificationCondition.html.md +1 -1
- data/doc_out/RuleSetNotificationConditions.html.md +1 -1
- data/doc_out/SchemaCategoryEntityListing.html.md +2 -2
- data/doc_out/SchemaReferenceEntityListing.html.md +2 -2
- data/doc_out/ScreenRecordingSessionListing.html.md +2 -2
- data/doc_out/ScreenShareConversationNotificationParticipants.html.md +1 -1
- data/doc_out/ScreenShareConversationNotificationScreenShareMediaParticipant.html.md +1 -1
- data/doc_out/ScriptEntityListing.html.md +2 -2
- data/doc_out/ScriptsApi.html.md +37 -10
- data/doc_out/SearchApi.html.md +49 -13
- data/doc_out/SecurityProfileEntityListing.html.md +2 -2
- data/doc_out/SequenceScheduleNotification.html.md +2 -2
- data/doc_out/ShareEntityListing.html.md +2 -2
- data/doc_out/SiteEntityListing.html.md +2 -2
- data/doc_out/SkillEntityListing.html.md +2 -2
- data/doc_out/SocialConversationNotificationParticipants.html.md +1 -1
- data/doc_out/SocialConversationNotificationSocialMediaParticipant.html.md +1 -1
- data/doc_out/StationEntityListing.html.md +2 -2
- data/doc_out/StationsApi.html.md +13 -4
- data/doc_out/SuggestApi.html.md +17 -5
- data/doc_out/TagValueEntityListing.html.md +2 -2
- data/doc_out/TelephonyProvidersEdgeApi.html.md +479 -121
- data/doc_out/TimeZoneEntityListing.html.md +2 -2
- data/doc_out/TokensApi.html.md +5 -2
- data/doc_out/TrunkBaseEntityListing.html.md +2 -2
- data/doc_out/TrunkEntityListing.html.md +2 -2
- data/doc_out/TrunkMetabaseEntityListing.html.md +2 -2
- data/doc_out/UserEntityListing.html.md +2 -2
- data/doc_out/UserListScheduleRequestBody.html.md +15 -0
- data/doc_out/UserPresenceAlertContainer.html.md +2 -2
- data/doc_out/UserPresenceRuleContainer.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 +25 -7
- data/doc_out/UserSchedule.html.md +14 -0
- data/doc_out/UserScheduleActivity.html.md +18 -0
- data/doc_out/UserScheduleContainer.html.md +14 -0
- data/doc_out/UserScheduleFullDayTimeOffMarker.html.md +17 -0
- data/doc_out/UserScheduleShift.html.md +15 -0
- data/doc_out/UserSkillEntityListing.html.md +2 -2
- data/doc_out/UsersApi.html.md +169 -43
- data/doc_out/UtilitiesApi.html.md +13 -4
- data/doc_out/VideoConversationNotificationParticipants.html.md +1 -1
- data/doc_out/VideoConversationNotificationVideoMediaParticipant.html.md +1 -1
- data/doc_out/VoicemailApi.html.md +89 -23
- data/doc_out/VoicemailMessageEntityListing.html.md +2 -2
- data/doc_out/WfmUserEntityListing.html.md +13 -0
- data/doc_out/WorkforceManagementApi.html.md +227 -13
- data/doc_out/WorkspaceEntityListing.html.md +2 -2
- data/doc_out/WorkspaceMemberEntityListing.html.md +2 -2
- data/doc_out/WrapUpCodeMappingNotification.html.md +0 -1
- data/doc_out/WrapupCodeEntityListing.html.md +2 -2
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +34 -20
- data/lib/purecloud/api/conversations_api.rb +120 -0
- data/lib/purecloud/api/organization_api.rb +57 -0
- data/lib/purecloud/api/outbound_api.rb +9 -9
- data/lib/purecloud/api/quality_api.rb +7 -0
- data/lib/purecloud/api/telephony_providers_edge_api.rb +3 -1
- data/lib/purecloud/api/workforce_management_api.rb +185 -3
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/activity_code.rb +253 -0
- data/lib/purecloud/models/activity_code_container.rb +169 -0
- data/lib/purecloud/models/agent_activity_entity_listing.rb +17 -17
- data/lib/purecloud/models/attempt_limits_entity_listing.rb +17 -17
- data/lib/purecloud/models/attempt_limits_notification.rb +24 -14
- data/lib/purecloud/models/attribute_entity_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/call_conversation_notification_call_media_participant.rb +1 -1
- data/lib/purecloud/models/call_conversation_notification_participants.rb +1 -1
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/callable_time_set_notification.rb +13 -13
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/callback_conversation_notification_callback_media_participant.rb +1 -1
- data/lib/purecloud/models/callback_conversation_notification_participants.rb +1 -1
- data/lib/purecloud/models/campaign_entity_listing.rb +17 -17
- data/lib/purecloud/models/campaign_notification.rb +15 -15
- data/lib/purecloud/models/{campaign_notification_error.rb → campaign_notification_rest_error_detail.rb} +1 -1
- data/lib/purecloud/models/campaign_progress_notification.rb +1 -1
- data/lib/purecloud/models/campaign_rule_entity_listing.rb +17 -17
- data/lib/purecloud/models/campaign_rule_notification.rb +14 -14
- data/lib/purecloud/models/campaign_rule_notification_campaign_rule_action_entities.rb +2 -2
- data/lib/purecloud/models/campaign_rule_notification_campaign_rule_entities.rb +3 -13
- data/lib/purecloud/models/campaign_rule_notification_uri_reference.rb +175 -0
- data/lib/purecloud/models/campaign_schedule_notification.rb +14 -14
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +17 -17
- data/lib/purecloud/models/campaign_sequence_notification.rb +15 -15
- 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/chat_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/chat_conversation_notification_chat_media_participant.rb +1 -1
- data/lib/purecloud/models/chat_conversation_notification_participants.rb +1 -1
- data/lib/purecloud/models/cobrowse_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/cobrowse_conversation_notification_cobrowse_media_participant.rb +1 -1
- data/lib/purecloud/models/cobrowse_conversation_notification_participants.rb +1 -1
- data/lib/purecloud/models/command_status_entity_listing.rb +17 -17
- data/lib/purecloud/models/contact_list_entity_listing.rb +17 -17
- data/lib/purecloud/models/contact_list_notification.rb +14 -14
- data/lib/purecloud/models/{contact_list_notification_phone_column_.rb → contact_list_notification_contact_phone_number_column.rb} +1 -1
- data/lib/purecloud/models/contact_list_notification_import_status.rb +1 -1
- data/lib/purecloud/models/conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/create_email_request.rb +280 -0
- data/lib/purecloud/models/create_web_chat_request.rb +236 -0
- data/lib/purecloud/models/decisions_file_metadata_entity_listing.rb +17 -17
- 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_entity_listing.rb +17 -17
- data/lib/purecloud/models/dnc_list_notification.rb +14 -14
- data/lib/purecloud/models/dnc_list_notification_import_status.rb +1 -1
- data/lib/purecloud/models/document_audit_entity_listing.rb +17 -17
- data/lib/purecloud/models/{document_data_notification.rb → document_data_v2_notification.rb} +9 -29
- data/lib/purecloud/models/{recording_data_notification_user_data.rb → document_data_v2_notification_created_by.rb} +1 -1
- data/lib/purecloud/models/{document_data_notification_lock_info.rb → document_data_v2_notification_lock_data.rb} +4 -4
- data/lib/purecloud/models/{document_data_notification_lock_data.rb → document_data_v2_notification_lock_info.rb} +4 -4
- data/lib/purecloud/models/{document_data_notification_user_data.rb → document_data_v2_notification_user_data.rb} +1 -1
- data/lib/purecloud/models/{document_data_notification_workspace.rb → document_data_v2_notification_workspace.rb} +1 -1
- data/lib/purecloud/models/{document_data_notification_workspace_data.rb → document_data_v2_notification_workspace_data.rb} +1 -1
- data/lib/purecloud/models/document_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_edge_software_version_dto_entity_listing.rb +17 -17
- 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_organization_role.rb +11 -11
- data/lib/purecloud/models/domain_organization_role_create.rb +11 -11
- data/lib/purecloud/models/domain_organization_role_update.rb +11 -11
- data/lib/purecloud/models/edge_entity_listing.rb +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/edge_reboot_parameters.rb +166 -0
- data/lib/purecloud/models/email_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/email_conversation_notification_email_media_participant.rb +1 -1
- data/lib/purecloud/models/email_conversation_notification_participants.rb +1 -1
- 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_entity_listing.rb +17 -17
- data/lib/purecloud/models/entry.rb +8 -10
- data/lib/purecloud/models/entry_feature_boolean.rb +184 -0
- 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/{fax_data_notification.rb → fax_data_v2_notification.rb} +9 -29
- data/lib/purecloud/models/{fax_data_notification_lock_info.rb → fax_data_v2_notification_lock_data.rb} +4 -4
- data/lib/purecloud/models/{fax_data_notification_lock_data.rb → fax_data_v2_notification_lock_info.rb} +4 -4
- data/lib/purecloud/models/{fax_data_notification_user_data.rb → fax_data_v2_notification_user_data.rb} +1 -1
- data/lib/purecloud/models/{fax_data_notification_workspace_data.rb → fax_data_v2_notification_workspace_data.rb} +1 -1
- data/lib/purecloud/models/fax_document_entity_listing.rb +17 -17
- data/lib/purecloud/models/greeting_listing.rb +17 -17
- data/lib/purecloud/models/group_entity_listing.rb +17 -17
- data/lib/purecloud/models/heart_beat_alert_container.rb +17 -17
- data/lib/purecloud/models/heart_beat_rule_container.rb +17 -17
- data/lib/purecloud/models/import_status_notification.rb +1 -1
- 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/interaction_stats_alert_container.rb +17 -17
- data/lib/purecloud/models/interaction_stats_rule_container.rb +17 -17
- data/lib/purecloud/models/json_node.rb +24 -24
- 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/local_encryption_configuration_listing.rb +17 -17
- data/lib/purecloud/models/logical_interface_entity_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/organization.rb +17 -4
- 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/out_of_office_notification.rb +1 -1
- data/lib/purecloud/models/outbound_route_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/outbound_route_entity_listing.rb +17 -17
- data/lib/purecloud/models/permission_collection_entity_listing.rb +17 -17
- 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/quality_audit_page.rb +17 -17
- data/lib/purecloud/models/queue_entity_listing.rb +17 -17
- data/lib/purecloud/models/queue_member_entity_listing.rb +17 -17
- data/lib/purecloud/models/{recording_data_notification.rb → recording_data_v2_notification.rb} +10 -30
- data/lib/purecloud/models/{recording_data_notification_conversation_data.rb → recording_data_v2_notification_conversation_data.rb} +1 -1
- data/lib/purecloud/models/recording_data_v2_notification_lock_data.rb +185 -0
- data/lib/purecloud/models/recording_data_v2_notification_lock_info.rb +185 -0
- data/lib/purecloud/models/{document_data_notification_created_by.rb → recording_data_v2_notification_user_data.rb} +1 -1
- data/lib/purecloud/models/{recording_data_notification_workspace_data.rb → recording_data_v2_notification_workspace_data.rb} +1 -1
- 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_entity_listing.rb +17 -17
- 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/response_set_notification.rb +13 -13
- data/lib/purecloud/models/routing_status_alert_container.rb +17 -17
- data/lib/purecloud/models/routing_status_rule_container.rb +17 -17
- data/lib/purecloud/models/rule_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/rule_set_notification.rb +1 -1
- data/lib/purecloud/models/rule_set_notification_condition.rb +11 -11
- data/lib/purecloud/models/rule_set_notification_conditions.rb +18 -18
- data/lib/purecloud/models/rule_set_notification_rule.rb +9 -0
- data/lib/purecloud/models/rule_set_notification_rules.rb +9 -0
- 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/screen_recording_session_listing.rb +17 -17
- data/lib/purecloud/models/screen_share_conversation_notification_participants.rb +1 -1
- data/lib/purecloud/models/screen_share_conversation_notification_screen_share_media_participant.rb +1 -1
- 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/sequence_schedule_notification.rb +14 -14
- data/lib/purecloud/models/share_entity_listing.rb +17 -17
- 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_notification_participants.rb +1 -1
- data/lib/purecloud/models/social_conversation_notification_social_media_participant.rb +1 -1
- data/lib/purecloud/models/station_entity_listing.rb +17 -17
- data/lib/purecloud/models/tag_value_entity_listing.rb +17 -17
- data/lib/purecloud/models/time_zone_entity_listing.rb +17 -17
- data/lib/purecloud/models/trunk_base_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/user_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_list_schedule_request_body.rb +191 -0
- data/lib/purecloud/models/user_presence_alert_container.rb +17 -17
- data/lib/purecloud/models/user_presence_rule_container.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_schedule.rb +182 -0
- data/lib/purecloud/models/user_schedule_activity.rb +222 -0
- data/lib/purecloud/models/user_schedule_container.rb +180 -0
- data/lib/purecloud/models/user_schedule_full_day_time_off_marker.rb +211 -0
- data/lib/purecloud/models/user_schedule_shift.rb +191 -0
- data/lib/purecloud/models/user_skill_entity_listing.rb +17 -17
- data/lib/purecloud/models/video_conversation_notification_participants.rb +1 -1
- data/lib/purecloud/models/video_conversation_notification_video_media_participant.rb +1 -1
- data/lib/purecloud/models/voicemail_message_entity_listing.rb +17 -17
- data/lib/purecloud/models/wfm_user_entity_listing.rb +167 -0
- 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/wrap_up_code_mapping_notification.rb +4 -14
- 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/swagger_template/api_doc.mustache +5 -2
- data/version.json +1 -1
- metadata +70 -42
- data/doc_out/DocumentDataNotification.html.md +0 -28
- data/doc_out/DocumentDataNotificationLockData.html.md +0 -15
- data/doc_out/DocumentDataNotificationLockInfo.html.md +0 -15
- data/doc_out/FaxDataNotification.html.md +0 -31
- data/doc_out/FaxDataNotificationLockData.html.md +0 -15
- data/doc_out/FaxDataNotificationLockInfo.html.md +0 -15
- data/doc_out/RecordingDataNotification.html.md +0 -31
- data/doc_out/RecordingDataNotificationLockData.html.md +0 -15
- data/doc_out/RecordingDataNotificationLockInfo.html.md +0 -15
- data/lib/purecloud/models/recording_data_notification_lock_data.rb +0 -185
- data/lib/purecloud/models/recording_data_notification_lock_info.rb +0 -185
|
@@ -1143,6 +1143,7 @@ module PureCloud
|
|
|
1143
1143
|
# @option opts [String] :name the keyword set name - used for filtering results in searches.
|
|
1144
1144
|
# @option opts [String] :queue_id the queue id - used for filtering results in searches.
|
|
1145
1145
|
# @option opts [String] :agent_id the agent id - used for filtering results in searches.
|
|
1146
|
+
# @option opts [String] :operator If agentID and queueId are both present, this determines whether the query is an AND or OR between those parameters.
|
|
1146
1147
|
# @return [KeywordSetEntityListing]
|
|
1147
1148
|
def get_keywordsets(opts = {})
|
|
1148
1149
|
data, status_code, headers = get_keywordsets_with_http_info(opts)
|
|
@@ -1161,12 +1162,17 @@ module PureCloud
|
|
|
1161
1162
|
# @option opts [String] :name the keyword set name - used for filtering results in searches.
|
|
1162
1163
|
# @option opts [String] :queue_id the queue id - used for filtering results in searches.
|
|
1163
1164
|
# @option opts [String] :agent_id the agent id - used for filtering results in searches.
|
|
1165
|
+
# @option opts [String] :operator If agentID and queueId are both present, this determines whether the query is an AND or OR between those parameters.
|
|
1164
1166
|
# @return [Array<(KeywordSetEntityListing, Fixnum, Hash)>] KeywordSetEntityListing data, response status code and response headers
|
|
1165
1167
|
def get_keywordsets_with_http_info(opts = {})
|
|
1166
1168
|
if @api_client.config.debugging
|
|
1167
1169
|
@api_client.config.logger.debug "Calling API: QualityApi#get_keywordsets ..."
|
|
1168
1170
|
end
|
|
1169
1171
|
|
|
1172
|
+
if opts[:'operator'] && !['AND', 'OR'].include?(opts[:'operator'])
|
|
1173
|
+
fail 'invalid value for "operator", must be one of AND, OR'
|
|
1174
|
+
end
|
|
1175
|
+
|
|
1170
1176
|
# resource path
|
|
1171
1177
|
local_var_path = "/api/v2/quality/keywordsets".sub('{format}','json')
|
|
1172
1178
|
|
|
@@ -1181,6 +1187,7 @@ module PureCloud
|
|
|
1181
1187
|
query_params[:'name'] = opts[:'name'] if opts[:'name']
|
|
1182
1188
|
query_params[:'queueId'] = opts[:'queue_id'] if opts[:'queue_id']
|
|
1183
1189
|
query_params[:'agentId'] = opts[:'agent_id'] if opts[:'agent_id']
|
|
1190
|
+
query_params[:'operator'] = opts[:'operator'] if opts[:'operator']
|
|
1184
1191
|
|
|
1185
1192
|
# header parameters
|
|
1186
1193
|
header_params = {}
|
|
@@ -5470,6 +5470,7 @@ module PureCloud
|
|
|
5470
5470
|
#
|
|
5471
5471
|
# @param edge_id Edge ID
|
|
5472
5472
|
# @param [Hash] opts the optional parameters
|
|
5473
|
+
# @option opts [EdgeRebootParameters] :body Parameters for the edge reboot
|
|
5473
5474
|
# @return [String]
|
|
5474
5475
|
def post_providers_edges_edge_id_reboot(edge_id, opts = {})
|
|
5475
5476
|
data, status_code, headers = post_providers_edges_edge_id_reboot_with_http_info(edge_id, opts)
|
|
@@ -5480,6 +5481,7 @@ module PureCloud
|
|
|
5480
5481
|
#
|
|
5481
5482
|
# @param edge_id Edge ID
|
|
5482
5483
|
# @param [Hash] opts the optional parameters
|
|
5484
|
+
# @option opts [EdgeRebootParameters] :body Parameters for the edge reboot
|
|
5483
5485
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
5484
5486
|
def post_providers_edges_edge_id_reboot_with_http_info(edge_id, opts = {})
|
|
5485
5487
|
if @api_client.config.debugging
|
|
@@ -5510,7 +5512,7 @@ module PureCloud
|
|
|
5510
5512
|
form_params = {}
|
|
5511
5513
|
|
|
5512
5514
|
# http body (model)
|
|
5513
|
-
post_body =
|
|
5515
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
5514
5516
|
|
|
5515
5517
|
auth_names = ['PureCloud Auth']
|
|
5516
5518
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -148,6 +148,126 @@ module PureCloud
|
|
|
148
148
|
return data, status_code, headers
|
|
149
149
|
end
|
|
150
150
|
|
|
151
|
+
# Get activity codes corresponding to a management unit
|
|
152
|
+
#
|
|
153
|
+
# @param mu_id The muId of the management unit.
|
|
154
|
+
# @param [Hash] opts the optional parameters
|
|
155
|
+
# @return [ActivityCodeContainer]
|
|
156
|
+
def get_managementunits_mu_id_activitycodes(mu_id, opts = {})
|
|
157
|
+
data, status_code, headers = get_managementunits_mu_id_activitycodes_with_http_info(mu_id, opts)
|
|
158
|
+
return data
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
# Get activity codes corresponding to a management unit
|
|
162
|
+
#
|
|
163
|
+
# @param mu_id The muId of the management unit.
|
|
164
|
+
# @param [Hash] opts the optional parameters
|
|
165
|
+
# @return [Array<(ActivityCodeContainer, Fixnum, Hash)>] ActivityCodeContainer data, response status code and response headers
|
|
166
|
+
def get_managementunits_mu_id_activitycodes_with_http_info(mu_id, opts = {})
|
|
167
|
+
if @api_client.config.debugging
|
|
168
|
+
@api_client.config.logger.debug "Calling API: WorkforceManagementApi#get_managementunits_mu_id_activitycodes ..."
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
# verify the required parameter 'mu_id' is set
|
|
172
|
+
fail "Missing the required parameter 'mu_id' when calling get_managementunits_mu_id_activitycodes" if mu_id.nil?
|
|
173
|
+
|
|
174
|
+
# resource path
|
|
175
|
+
local_var_path = "/api/v2/workforcemanagement/managementunits/{muId}/activitycodes".sub('{format}','json').sub('{' + 'muId' + '}', mu_id.to_s)
|
|
176
|
+
|
|
177
|
+
# query parameters
|
|
178
|
+
query_params = {}
|
|
179
|
+
|
|
180
|
+
# header parameters
|
|
181
|
+
header_params = {}
|
|
182
|
+
|
|
183
|
+
# HTTP header 'Accept' (if needed)
|
|
184
|
+
_header_accept = ['application/json']
|
|
185
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
186
|
+
|
|
187
|
+
# HTTP header 'Content-Type'
|
|
188
|
+
_header_content_type = ['application/json']
|
|
189
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
190
|
+
|
|
191
|
+
# form parameters
|
|
192
|
+
form_params = {}
|
|
193
|
+
|
|
194
|
+
# http body (model)
|
|
195
|
+
post_body = nil
|
|
196
|
+
|
|
197
|
+
auth_names = ['PureCloud Auth']
|
|
198
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
199
|
+
:header_params => header_params,
|
|
200
|
+
:query_params => query_params,
|
|
201
|
+
:form_params => form_params,
|
|
202
|
+
:body => post_body,
|
|
203
|
+
:auth_names => auth_names,
|
|
204
|
+
:return_type => 'ActivityCodeContainer')
|
|
205
|
+
if @api_client.config.debugging
|
|
206
|
+
@api_client.config.logger.debug "API called: WorkforceManagementApi#get_managementunits_mu_id_activitycodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
207
|
+
end
|
|
208
|
+
return data, status_code, headers
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
# Get agents in the management unit
|
|
212
|
+
#
|
|
213
|
+
# @param mu_id The muId of the management unit.
|
|
214
|
+
# @param [Hash] opts the optional parameters
|
|
215
|
+
# @return [WfmUserEntityListing]
|
|
216
|
+
def get_managementunits_mu_id_users(mu_id, opts = {})
|
|
217
|
+
data, status_code, headers = get_managementunits_mu_id_users_with_http_info(mu_id, opts)
|
|
218
|
+
return data
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
# Get agents in the management unit
|
|
222
|
+
#
|
|
223
|
+
# @param mu_id The muId of the management unit.
|
|
224
|
+
# @param [Hash] opts the optional parameters
|
|
225
|
+
# @return [Array<(WfmUserEntityListing, Fixnum, Hash)>] WfmUserEntityListing data, response status code and response headers
|
|
226
|
+
def get_managementunits_mu_id_users_with_http_info(mu_id, opts = {})
|
|
227
|
+
if @api_client.config.debugging
|
|
228
|
+
@api_client.config.logger.debug "Calling API: WorkforceManagementApi#get_managementunits_mu_id_users ..."
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
# verify the required parameter 'mu_id' is set
|
|
232
|
+
fail "Missing the required parameter 'mu_id' when calling get_managementunits_mu_id_users" if mu_id.nil?
|
|
233
|
+
|
|
234
|
+
# resource path
|
|
235
|
+
local_var_path = "/api/v2/workforcemanagement/managementunits/{muId}/users".sub('{format}','json').sub('{' + 'muId' + '}', mu_id.to_s)
|
|
236
|
+
|
|
237
|
+
# query parameters
|
|
238
|
+
query_params = {}
|
|
239
|
+
|
|
240
|
+
# header parameters
|
|
241
|
+
header_params = {}
|
|
242
|
+
|
|
243
|
+
# HTTP header 'Accept' (if needed)
|
|
244
|
+
_header_accept = ['application/json']
|
|
245
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
246
|
+
|
|
247
|
+
# HTTP header 'Content-Type'
|
|
248
|
+
_header_content_type = ['application/json']
|
|
249
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
250
|
+
|
|
251
|
+
# form parameters
|
|
252
|
+
form_params = {}
|
|
253
|
+
|
|
254
|
+
# http body (model)
|
|
255
|
+
post_body = nil
|
|
256
|
+
|
|
257
|
+
auth_names = ['PureCloud Auth']
|
|
258
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
259
|
+
:header_params => header_params,
|
|
260
|
+
:query_params => query_params,
|
|
261
|
+
:form_params => form_params,
|
|
262
|
+
:body => post_body,
|
|
263
|
+
:auth_names => auth_names,
|
|
264
|
+
:return_type => 'WfmUserEntityListing')
|
|
265
|
+
if @api_client.config.debugging
|
|
266
|
+
@api_client.config.logger.debug "API called: WorkforceManagementApi#get_managementunits_mu_id_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
267
|
+
end
|
|
268
|
+
return data, status_code, headers
|
|
269
|
+
end
|
|
270
|
+
|
|
151
271
|
# Get a list of time off requests for any user
|
|
152
272
|
#
|
|
153
273
|
# @param mu_id The muId of the management unit.
|
|
@@ -585,11 +705,73 @@ module PureCloud
|
|
|
585
705
|
return data, status_code, headers
|
|
586
706
|
end
|
|
587
707
|
|
|
708
|
+
# Get user schedules within the given time range
|
|
709
|
+
#
|
|
710
|
+
# @param mu_id The muId of the management unit.
|
|
711
|
+
# @param [Hash] opts the optional parameters
|
|
712
|
+
# @option opts [UserListScheduleRequestBody] :body body
|
|
713
|
+
# @return [UserScheduleContainer]
|
|
714
|
+
def post_managementunits_mu_id_schedules_search(mu_id, opts = {})
|
|
715
|
+
data, status_code, headers = post_managementunits_mu_id_schedules_search_with_http_info(mu_id, opts)
|
|
716
|
+
return data
|
|
717
|
+
end
|
|
718
|
+
|
|
719
|
+
# Get user schedules within the given time range
|
|
720
|
+
#
|
|
721
|
+
# @param mu_id The muId of the management unit.
|
|
722
|
+
# @param [Hash] opts the optional parameters
|
|
723
|
+
# @option opts [UserListScheduleRequestBody] :body body
|
|
724
|
+
# @return [Array<(UserScheduleContainer, Fixnum, Hash)>] UserScheduleContainer data, response status code and response headers
|
|
725
|
+
def post_managementunits_mu_id_schedules_search_with_http_info(mu_id, opts = {})
|
|
726
|
+
if @api_client.config.debugging
|
|
727
|
+
@api_client.config.logger.debug "Calling API: WorkforceManagementApi#post_managementunits_mu_id_schedules_search ..."
|
|
728
|
+
end
|
|
729
|
+
|
|
730
|
+
# verify the required parameter 'mu_id' is set
|
|
731
|
+
fail "Missing the required parameter 'mu_id' when calling post_managementunits_mu_id_schedules_search" if mu_id.nil?
|
|
732
|
+
|
|
733
|
+
# resource path
|
|
734
|
+
local_var_path = "/api/v2/workforcemanagement/managementunits/{muId}/schedules/search".sub('{format}','json').sub('{' + 'muId' + '}', mu_id.to_s)
|
|
735
|
+
|
|
736
|
+
# query parameters
|
|
737
|
+
query_params = {}
|
|
738
|
+
|
|
739
|
+
# header parameters
|
|
740
|
+
header_params = {}
|
|
741
|
+
|
|
742
|
+
# HTTP header 'Accept' (if needed)
|
|
743
|
+
_header_accept = ['application/json']
|
|
744
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
745
|
+
|
|
746
|
+
# HTTP header 'Content-Type'
|
|
747
|
+
_header_content_type = ['application/json']
|
|
748
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
749
|
+
|
|
750
|
+
# form parameters
|
|
751
|
+
form_params = {}
|
|
752
|
+
|
|
753
|
+
# http body (model)
|
|
754
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
755
|
+
|
|
756
|
+
auth_names = ['PureCloud Auth']
|
|
757
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
758
|
+
:header_params => header_params,
|
|
759
|
+
:query_params => query_params,
|
|
760
|
+
:form_params => form_params,
|
|
761
|
+
:body => post_body,
|
|
762
|
+
:auth_names => auth_names,
|
|
763
|
+
:return_type => 'UserScheduleContainer')
|
|
764
|
+
if @api_client.config.debugging
|
|
765
|
+
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_managementunits_mu_id_schedules_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
766
|
+
end
|
|
767
|
+
return data, status_code, headers
|
|
768
|
+
end
|
|
769
|
+
|
|
588
770
|
# Get a schedule for the current user
|
|
589
771
|
#
|
|
590
772
|
# @param [Hash] opts the optional parameters
|
|
591
773
|
# @option opts [CurrentUserScheduleRequestBody] :body body
|
|
592
|
-
# @return [
|
|
774
|
+
# @return [UserScheduleContainer]
|
|
593
775
|
def post_schedules(opts = {})
|
|
594
776
|
data, status_code, headers = post_schedules_with_http_info(opts)
|
|
595
777
|
return data
|
|
@@ -599,7 +781,7 @@ module PureCloud
|
|
|
599
781
|
#
|
|
600
782
|
# @param [Hash] opts the optional parameters
|
|
601
783
|
# @option opts [CurrentUserScheduleRequestBody] :body body
|
|
602
|
-
# @return [Array<(
|
|
784
|
+
# @return [Array<(UserScheduleContainer, Fixnum, Hash)>] UserScheduleContainer data, response status code and response headers
|
|
603
785
|
def post_schedules_with_http_info(opts = {})
|
|
604
786
|
if @api_client.config.debugging
|
|
605
787
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi#post_schedules ..."
|
|
@@ -635,7 +817,7 @@ module PureCloud
|
|
|
635
817
|
:form_params => form_params,
|
|
636
818
|
:body => post_body,
|
|
637
819
|
:auth_names => auth_names,
|
|
638
|
-
:return_type => '
|
|
820
|
+
:return_type => 'UserScheduleContainer')
|
|
639
821
|
if @api_client.config.debugging
|
|
640
822
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_schedules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
641
823
|
end
|
data/lib/purecloud/api_client.rb
CHANGED
|
@@ -33,7 +33,7 @@ module PureCloud
|
|
|
33
33
|
|
|
34
34
|
def initialize(config = Configuration.default)
|
|
35
35
|
@config = config
|
|
36
|
-
@user_agent = "PureCloud SDK/Ruby 0.
|
|
36
|
+
@user_agent = "PureCloud SDK/Ruby 0.68.1"
|
|
37
37
|
@default_headers = {
|
|
38
38
|
'Content-Type' => "application/json",
|
|
39
39
|
'User-Agent' => @user_agent
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
PureCloud Platform API
|
|
3
|
+
|
|
4
|
+
With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: v2
|
|
7
|
+
Contact: DeveloperEvangelists@inin.com
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
License: ININ
|
|
11
|
+
http://www.inin.com
|
|
12
|
+
|
|
13
|
+
Terms of Service: https://developer.mypurecloud.com/tos
|
|
14
|
+
|
|
15
|
+
=end
|
|
16
|
+
|
|
17
|
+
require 'date'
|
|
18
|
+
|
|
19
|
+
module PureCloud
|
|
20
|
+
# Activity code data
|
|
21
|
+
class ActivityCode
|
|
22
|
+
# The activity code's name
|
|
23
|
+
attr_accessor :name
|
|
24
|
+
|
|
25
|
+
# Whether this activity code is active or only used for historical schedules
|
|
26
|
+
attr_accessor :is_active
|
|
27
|
+
|
|
28
|
+
# Whether this is a default activity code
|
|
29
|
+
attr_accessor :is_default
|
|
30
|
+
|
|
31
|
+
# The activity code's category
|
|
32
|
+
attr_accessor :category
|
|
33
|
+
|
|
34
|
+
# The default length of the activity in minutes
|
|
35
|
+
attr_accessor :length_in_minutes
|
|
36
|
+
|
|
37
|
+
# Whether an agent is paid while performing this activity
|
|
38
|
+
attr_accessor :counts_as_paid_time
|
|
39
|
+
|
|
40
|
+
# Indicates whether or not the activity should be counted as work time
|
|
41
|
+
attr_accessor :counts_as_work_time
|
|
42
|
+
|
|
43
|
+
# Whether an agent can select this activity code when creating or editing a time off request
|
|
44
|
+
attr_accessor :is_agent_time_off_selectable
|
|
45
|
+
|
|
46
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
47
|
+
def self.attribute_map
|
|
48
|
+
{
|
|
49
|
+
|
|
50
|
+
:'name' => :'name',
|
|
51
|
+
|
|
52
|
+
:'is_active' => :'isActive',
|
|
53
|
+
|
|
54
|
+
:'is_default' => :'isDefault',
|
|
55
|
+
|
|
56
|
+
:'category' => :'category',
|
|
57
|
+
|
|
58
|
+
:'length_in_minutes' => :'lengthInMinutes',
|
|
59
|
+
|
|
60
|
+
:'counts_as_paid_time' => :'countsAsPaidTime',
|
|
61
|
+
|
|
62
|
+
:'counts_as_work_time' => :'countsAsWorkTime',
|
|
63
|
+
|
|
64
|
+
:'is_agent_time_off_selectable' => :'isAgentTimeOffSelectable'
|
|
65
|
+
|
|
66
|
+
}
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# Attribute type mapping.
|
|
70
|
+
def self.swagger_types
|
|
71
|
+
{
|
|
72
|
+
:'name' => :'String',
|
|
73
|
+
:'is_active' => :'BOOLEAN',
|
|
74
|
+
:'is_default' => :'BOOLEAN',
|
|
75
|
+
:'category' => :'String',
|
|
76
|
+
:'length_in_minutes' => :'Integer',
|
|
77
|
+
:'counts_as_paid_time' => :'BOOLEAN',
|
|
78
|
+
:'counts_as_work_time' => :'BOOLEAN',
|
|
79
|
+
:'is_agent_time_off_selectable' => :'BOOLEAN'
|
|
80
|
+
|
|
81
|
+
}
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
def initialize(attributes = {})
|
|
85
|
+
return unless attributes.is_a?(Hash)
|
|
86
|
+
|
|
87
|
+
# convert string to symbol for hash key
|
|
88
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
if attributes[:'name']
|
|
92
|
+
self.name = attributes[:'name']
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
if attributes[:'isActive']
|
|
96
|
+
self.is_active = attributes[:'isActive']
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
if attributes[:'isDefault']
|
|
100
|
+
self.is_default = attributes[:'isDefault']
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
if attributes[:'category']
|
|
104
|
+
self.category = attributes[:'category']
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
if attributes[:'lengthInMinutes']
|
|
108
|
+
self.length_in_minutes = attributes[:'lengthInMinutes']
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
if attributes[:'countsAsPaidTime']
|
|
112
|
+
self.counts_as_paid_time = attributes[:'countsAsPaidTime']
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
if attributes[:'countsAsWorkTime']
|
|
116
|
+
self.counts_as_work_time = attributes[:'countsAsWorkTime']
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
if attributes[:'isAgentTimeOffSelectable']
|
|
120
|
+
self.is_agent_time_off_selectable = attributes[:'isAgentTimeOffSelectable']
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
126
|
+
def category=(category)
|
|
127
|
+
allowed_values = ["OnQueueWork", "Break", "Meal", "Meeting", "OffQueueWork", "TimeOff", "Training", "Unavailable"]
|
|
128
|
+
if category && !allowed_values.include?(category)
|
|
129
|
+
fail "invalid value for 'category', must be one of #{allowed_values}"
|
|
130
|
+
end
|
|
131
|
+
@category = category
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
# Check equality by comparing each attribute.
|
|
135
|
+
def ==(o)
|
|
136
|
+
return true if self.equal?(o)
|
|
137
|
+
self.class == o.class &&
|
|
138
|
+
name == o.name &&
|
|
139
|
+
is_active == o.is_active &&
|
|
140
|
+
is_default == o.is_default &&
|
|
141
|
+
category == o.category &&
|
|
142
|
+
length_in_minutes == o.length_in_minutes &&
|
|
143
|
+
counts_as_paid_time == o.counts_as_paid_time &&
|
|
144
|
+
counts_as_work_time == o.counts_as_work_time &&
|
|
145
|
+
is_agent_time_off_selectable == o.is_agent_time_off_selectable
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
# @see the `==` method
|
|
149
|
+
def eql?(o)
|
|
150
|
+
self == o
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# Calculate hash code according to all attributes.
|
|
154
|
+
def hash
|
|
155
|
+
[name, is_active, is_default, category, length_in_minutes, counts_as_paid_time, counts_as_work_time, is_agent_time_off_selectable].hash
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
# build the object from hash
|
|
159
|
+
def build_from_hash(attributes)
|
|
160
|
+
return nil unless attributes.is_a?(Hash)
|
|
161
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
162
|
+
if type =~ /^Array<(.*)>/i
|
|
163
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
164
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
|
165
|
+
else
|
|
166
|
+
#TODO show warning in debug mode
|
|
167
|
+
end
|
|
168
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
169
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
170
|
+
else
|
|
171
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
|
172
|
+
end
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
self
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
def _deserialize(type, value)
|
|
179
|
+
case type.to_sym
|
|
180
|
+
when :DateTime
|
|
181
|
+
DateTime.parse(value)
|
|
182
|
+
when :Date
|
|
183
|
+
Date.parse(value)
|
|
184
|
+
when :String
|
|
185
|
+
value.to_s
|
|
186
|
+
when :Integer
|
|
187
|
+
value.to_i
|
|
188
|
+
when :Float
|
|
189
|
+
value.to_f
|
|
190
|
+
when :BOOLEAN
|
|
191
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
|
192
|
+
true
|
|
193
|
+
else
|
|
194
|
+
false
|
|
195
|
+
end
|
|
196
|
+
when :Object
|
|
197
|
+
# generic object (usually a Hash), return directly
|
|
198
|
+
value
|
|
199
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
200
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
201
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
202
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
|
203
|
+
k_type = Regexp.last_match[:k_type]
|
|
204
|
+
v_type = Regexp.last_match[:v_type]
|
|
205
|
+
{}.tap do |hash|
|
|
206
|
+
value.each do |k, v|
|
|
207
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
else # model
|
|
211
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
|
212
|
+
_model.build_from_hash(value)
|
|
213
|
+
end
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
def to_s
|
|
217
|
+
to_hash.to_s
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# to_body is an alias to to_body (backward compatibility))
|
|
221
|
+
def to_body
|
|
222
|
+
to_hash
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
# return the object in the form of hash
|
|
226
|
+
def to_hash
|
|
227
|
+
hash = {}
|
|
228
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
229
|
+
value = self.send(attr)
|
|
230
|
+
next if value.nil?
|
|
231
|
+
hash[param] = _to_hash(value)
|
|
232
|
+
end
|
|
233
|
+
hash
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
# Method to output non-array value in the form of hash
|
|
237
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
238
|
+
def _to_hash(value)
|
|
239
|
+
if value.is_a?(Array)
|
|
240
|
+
value.compact.map{ |v| _to_hash(v) }
|
|
241
|
+
elsif value.is_a?(Hash)
|
|
242
|
+
{}.tap do |hash|
|
|
243
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
244
|
+
end
|
|
245
|
+
elsif value.respond_to? :to_hash
|
|
246
|
+
value.to_hash
|
|
247
|
+
else
|
|
248
|
+
value
|
|
249
|
+
end
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
end
|
|
253
|
+
end
|