purecloudplatformclientv2 32.0.0 → 33.0.0
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 +2 -2
- data/docs/ActionEntityListing.md +2 -2
- data/docs/AdminTimeOffRequestPatch.md +19 -0
- data/docs/AgentActivityEntityListing.md +2 -2
- data/docs/AttemptLimitsEntityListing.md +2 -2
- data/docs/AttributeEntityListing.md +2 -2
- data/docs/AuthorizationApi.md +6 -6
- data/docs/AuthzDivision.md +18 -0
- data/docs/AvailableTopic.md +1 -1
- data/docs/CalibrationEntityListing.md +2 -2
- data/docs/CallConversationEntityListing.md +2 -2
- data/docs/CallHistoryConversationEntityListing.md +2 -2
- data/docs/CallHistoryParticipant.md +1 -0
- data/docs/CallableTimeSetEntityListing.md +2 -2
- data/docs/CallbackConversationEntityListing.md +2 -2
- data/docs/Campaign.md +1 -0
- data/docs/CampaignDiagnostics.md +1 -0
- data/docs/CampaignEntityListing.md +2 -2
- data/docs/CampaignRuleEntityListing.md +2 -2
- data/docs/CampaignSequenceEntityListing.md +2 -2
- data/docs/CertificateAuthorityEntityListing.md +2 -2
- data/docs/CertificateDetails.md +1 -1
- data/docs/Channel.md +1 -1
- data/docs/ChannelTopic.md +1 -1
- data/docs/ChatConversationEntityListing.md +2 -2
- data/docs/ClientAppEntityListing.md +2 -2
- data/docs/CobrowseConversationEntityListing.md +2 -2
- data/docs/CommandStatusEntityListing.md +2 -2
- data/docs/ConsumedResourcesEntityListing.md +2 -2
- data/docs/ConsumingResourcesEntityListing.md +2 -2
- data/docs/ContactColumnTimeZone.md +2 -0
- data/docs/ContactList.md +3 -1
- data/docs/ContactListEntityListing.md +2 -2
- data/docs/ContactListFilterEntityListing.md +2 -2
- data/docs/ContactListing.md +2 -2
- data/docs/ContactPhoneNumberColumn.md +1 -1
- data/docs/ConversationEntityListing.md +2 -2
- data/docs/CredentialInfoListing.md +2 -2
- data/docs/CredentialTypeListing.md +2 -2
- data/docs/DIDEntityListing.md +2 -2
- data/docs/DIDPoolEntityListing.md +2 -2
- data/docs/DataTableRowEntityListing.md +2 -2
- data/docs/DataTablesDomainEntityListing.md +2 -2
- data/docs/DependencyObjectEntityListing.md +2 -2
- data/docs/DependencyTypeEntityListing.md +2 -2
- data/docs/DialerAction.md +1 -1
- data/docs/DialerContact.md +1 -0
- data/docs/DialerEventEntityListing.md +2 -2
- data/docs/Digits.md +1 -1
- data/docs/DirectoryUserDevicesListing.md +2 -2
- data/docs/DncListEntityListing.md +2 -2
- data/docs/DocumentAuditEntityListing.md +2 -2
- data/docs/DocumentEntityListing.md +2 -2
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +2 -2
- data/docs/DomainEntityListing.md +2 -2
- data/docs/DomainEntityListingEvaluationForm.md +2 -2
- data/docs/DomainEntityListingQueryResult.md +2 -2
- data/docs/DomainEntityListingSurveyForm.md +2 -2
- data/docs/DomainOrganizationRole.md +1 -1
- data/docs/DomainOrganizationRoleCreate.md +1 -1
- data/docs/DomainOrganizationRoleUpdate.md +1 -1
- data/docs/DomainPermission.md +1 -0
- data/docs/EdgeEntityListing.md +2 -2
- data/docs/EdgeGroupEntityListing.md +2 -2
- data/docs/EdgeLineEntityListing.md +2 -2
- data/docs/EmailConversationEntityListing.md +2 -2
- data/docs/EmailMessageListing.md +2 -2
- data/docs/EmergencyGroupListing.md +2 -2
- data/docs/EncryptionKeyEntityListing.md +2 -2
- data/docs/EndpointEntityListing.md +2 -2
- data/docs/EvaluationEntityListing.md +2 -2
- data/docs/EvaluationFormEntityListing.md +2 -2
- data/docs/EvaluatorActivityEntityListing.md +2 -2
- data/docs/ExtensionEntityListing.md +2 -2
- data/docs/ExtensionPoolEntityListing.md +2 -2
- data/docs/ExternalContact.md +1 -1
- data/docs/ExternalOrganization.md +1 -1
- data/docs/ExternalOrganizationListing.md +2 -2
- data/docs/FaxDocumentEntityListing.md +2 -2
- data/docs/Flow.md +1 -0
- data/docs/FlowEntityListing.md +2 -2
- data/docs/FlowVersionEntityListing.md +2 -2
- data/docs/GreetingListing.md +2 -2
- data/docs/GroupEntityListing.md +2 -2
- data/docs/GroupProfileEntityListing.md +2 -2
- data/docs/GroupsApi.md +2 -2
- data/docs/IVREntityListing.md +2 -2
- data/docs/InboundDomainEntityListing.md +2 -2
- data/docs/InboundRouteEntityListing.md +2 -2
- data/docs/IntegrationEntityListing.md +2 -2
- data/docs/IntegrationEventEntityListing.md +2 -2
- data/docs/IntegrationTypeEntityListing.md +2 -2
- data/docs/IntegrationsApi.md +16 -16
- data/docs/InteractionStatsAlertContainer.md +2 -2
- data/docs/InteractionStatsRuleContainer.md +2 -2
- data/docs/JsonNode.md +3 -3
- data/docs/KeywordSetEntityListing.md +2 -2
- data/docs/LanguageEntityListing.md +2 -2
- data/docs/LibraryEntityListing.md +2 -2
- data/docs/LineBaseEntityListing.md +2 -2
- data/docs/LineEntityListing.md +2 -2
- data/docs/LocationEntityListing.md +2 -2
- data/docs/LogicalInterfaceEntityListing.md +2 -2
- data/docs/ManagementUnitListing.md +2 -2
- data/docs/MessageConversationEntityListing.md +2 -2
- data/docs/NoteListing.md +2 -2
- data/docs/OAuthClientEntityListing.md +2 -2
- data/docs/OAuthProviderEntityListing.md +2 -2
- data/docs/OrganizationPresenceEntityListing.md +2 -2
- data/docs/OrganizationRoleEntityListing.md +2 -2
- data/docs/OrphanRecordingListing.md +2 -2
- data/docs/OutboundRouteBaseEntityListing.md +2 -2
- data/docs/OutboundRouteEntityListing.md +2 -2
- data/docs/OutboundSettings.md +2 -0
- data/docs/PermissionCollectionEntityListing.md +2 -2
- data/docs/PhoneBaseEntityListing.md +2 -2
- data/docs/PhoneEntityListing.md +2 -2
- data/docs/PhoneMetaBaseEntityListing.md +2 -2
- data/docs/PhysicalInterfaceEntityListing.md +2 -2
- data/docs/PolicyEntityListing.md +2 -2
- data/docs/PromptAssetEntityListing.md +2 -2
- data/docs/PromptEntityListing.md +2 -2
- data/docs/QualityApi.md +18 -18
- data/docs/QualityAuditPage.md +2 -2
- data/docs/QueueEntityListing.md +2 -2
- data/docs/QueueMemberEntityListing.md +2 -2
- data/docs/RecipientListing.md +2 -2
- data/docs/RecordingApi.md +4 -4
- data/docs/RelationshipListing.md +2 -2
- data/docs/ReportMetaDataEntityListing.md +2 -2
- data/docs/ReportRunEntryEntityDomainListing.md +2 -2
- data/docs/ReportScheduleEntityListing.md +2 -2
- data/docs/ReportingExportJobListing.md +2 -2
- data/docs/ResponseEntityList.md +2 -2
- data/docs/ResponseEntityListing.md +2 -2
- data/docs/ResponseSetEntityListing.md +2 -2
- data/docs/RoutingApi.md +2 -2
- data/docs/RuleSetEntityListing.md +2 -2
- data/docs/ScheduleEntityListing.md +2 -2
- data/docs/ScheduleGroupEntityListing.md +2 -2
- data/docs/SchemaCategoryEntityListing.md +2 -2
- data/docs/SchemaReferenceEntityListing.md +2 -2
- data/docs/ScreenRecordingSessionListing.md +2 -2
- data/docs/ScriptEntityListing.md +2 -2
- data/docs/SecurityProfileEntityListing.md +2 -2
- data/docs/ShareEntityListing.md +2 -2
- data/docs/SiteEntityListing.md +2 -2
- data/docs/SkillEntityListing.md +2 -2
- data/docs/SmsPhoneNumberEntityListing.md +2 -2
- data/docs/StationEntityListing.md +2 -2
- data/docs/SurveyFormEntityListing.md +2 -2
- data/docs/SystemPromptAssetEntityListing.md +2 -2
- data/docs/SystemPromptEntityListing.md +2 -2
- data/docs/TagValueEntityListing.md +2 -2
- data/docs/TextMessageListing.md +2 -2
- data/docs/TimeOffRequestList.md +1 -1
- data/docs/{TimeOffRequest.md → TimeOffRequestResponse.md} +15 -15
- data/docs/TimeZone.md +2 -2
- data/docs/TimeZoneEntityListing.md +2 -2
- data/docs/TrunkBaseEntityListing.md +2 -2
- data/docs/TrunkEntityListing.md +2 -2
- data/docs/TrunkMetabaseEntityListing.md +2 -2
- data/docs/TrustEntityListing.md +2 -2
- data/docs/TrustUserEntityListing.md +2 -2
- data/docs/TrustorEntityListing.md +2 -2
- data/docs/UserActionCategoryEntityListing.md +2 -2
- data/docs/UserEntityListing.md +2 -2
- data/docs/UserLanguageEntityListing.md +2 -2
- data/docs/UserProfileEntityListing.md +2 -2
- data/docs/UserQueueEntityListing.md +2 -2
- data/docs/UserRecordingEntityListing.md +2 -2
- data/docs/UserSchedule.md +3 -0
- data/docs/UserScheduleActivity.md +1 -0
- data/docs/UserScheduleFullDayTimeOffMarker.md +2 -1
- data/docs/UserScheduleShift.md +3 -0
- data/docs/UserSkillEntityListing.md +2 -2
- data/docs/ViewFilter.md +1 -0
- data/docs/VoicemailMessageEntityListing.md +2 -2
- data/docs/WorkforceManagementApi.md +89 -19
- data/docs/WorkspaceEntityListing.md +2 -2
- data/docs/WorkspaceMemberEntityListing.md +2 -2
- data/docs/WrapupCodeEntityListing.md +2 -2
- data/docs/{Entity.md → WritableEntity.md} +2 -2
- data/lib/purecloudplatformclientv2.rb +4 -12
- data/lib/purecloudplatformclientv2/api/authorization_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api/groups_api.rb +3 -3
- data/lib/purecloudplatformclientv2/api/integrations_api.rb +16 -16
- data/lib/purecloudplatformclientv2/api/quality_api.rb +18 -18
- data/lib/purecloudplatformclientv2/api/recording_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +110 -17
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/{platform.rb → admin_time_off_request_patch.rb} +165 -20
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/{paged_listing_entity.rb → authz_division.rb} +69 -34
- data/lib/purecloudplatformclientv2/models/available_topic.rb +0 -1
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/call_history_participant.rb +44 -4
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/campaign.rb +27 -1
- data/lib/purecloudplatformclientv2/models/campaign_diagnostics.rb +30 -4
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/certificate_details.rb +13 -13
- data/lib/purecloudplatformclientv2/models/channel.rb +0 -1
- data/lib/purecloudplatformclientv2/models/channel_topic.rb +0 -1
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/contact_column_time_zone.rb +68 -2
- data/lib/purecloudplatformclientv2/models/contact_list.rb +54 -2
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/contact_phone_number_column.rb +1 -1
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/dialer_action.rb +1 -1
- data/lib/purecloudplatformclientv2/models/dialer_contact.rb +29 -1
- data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/digits.rb +1 -6
- data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +13 -13
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +13 -13
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +13 -13
- data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_permission.rb +29 -4
- data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/external_contact.rb +1 -1
- data/lib/purecloudplatformclientv2/models/external_organization.rb +1 -1
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/flow.rb +26 -1
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +13 -13
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +13 -13
- data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/json_node.rb +53 -53
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/message_data.rb +2 -2
- data/lib/purecloudplatformclientv2/models/message_media_participant.rb +2 -2
- data/lib/purecloudplatformclientv2/models/note_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/outbound_settings.rb +67 -1
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +13 -13
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/recipient_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +13 -13
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/text_message_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/time_off_request_list.rb +1 -1
- data/lib/purecloudplatformclientv2/models/{time_off_request.rb → time_off_request_response.rb} +51 -80
- data/lib/purecloudplatformclientv2/models/time_zone.rb +24 -24
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_schedule.rb +87 -4
- data/lib/purecloudplatformclientv2/models/user_schedule_activity.rb +30 -4
- data/lib/purecloudplatformclientv2/models/user_schedule_full_day_time_off_marker.rb +31 -5
- data/lib/purecloudplatformclientv2/models/user_schedule_shift.rb +82 -4
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/view_filter.rb +32 -4
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/{entity.rb → writable_entity.rb} +1 -1
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +11 -27
- data/docs/AppFoundryApi.md +0 -229
- data/docs/AppFoundryListing.md +0 -36
- data/docs/AppFoundryListingCategory.md +0 -14
- data/docs/AppFoundryListingRegistryInfo.md +0 -14
- data/docs/LocalizedField.md +0 -12
- data/docs/MarketingInfo.md +0 -14
- data/docs/PagedListingEntity.md +0 -17
- data/docs/Platform.md +0 -14
- data/docs/PricingOption.md +0 -14
- data/docs/SmartCase.md +0 -14
- data/lib/purecloudplatformclientv2/api/app_foundry_api.rb +0 -360
- data/lib/purecloudplatformclientv2/models/app_foundry_listing.rb +0 -815
- data/lib/purecloudplatformclientv2/models/app_foundry_listing_category.rb +0 -231
- data/lib/purecloudplatformclientv2/models/app_foundry_listing_registry_info.rb +0 -231
- data/lib/purecloudplatformclientv2/models/localized_field.rb +0 -177
- data/lib/purecloudplatformclientv2/models/marketing_info.rb +0 -229
- data/lib/purecloudplatformclientv2/models/pricing_option.rb +0 -234
- data/lib/purecloudplatformclientv2/models/smart_case.rb +0 -229
|
@@ -962,7 +962,7 @@ module PureCloud
|
|
|
962
962
|
# @option opts [Integer] :page_size The total page size requested (default to 25)
|
|
963
963
|
# @option opts [Integer] :page_number The page number requested (default to 1)
|
|
964
964
|
# @option opts [String] :sort_by variable name requested to sort by
|
|
965
|
-
# @option opts [Array<
|
|
965
|
+
# @option opts [Array<String>] :expand variable name requested by expand list
|
|
966
966
|
# @option opts [String] :next_page next page token
|
|
967
967
|
# @option opts [String] :previous_page Previous page token
|
|
968
968
|
# @option opts [BOOLEAN] :has_conversation Filter resulting orphans by whether the conversation is known. False returns all orphans for the organization. (default to false)
|
|
@@ -979,7 +979,7 @@ module PureCloud
|
|
|
979
979
|
# @option opts [Integer] :page_size The total page size requested
|
|
980
980
|
# @option opts [Integer] :page_number The page number requested
|
|
981
981
|
# @option opts [String] :sort_by variable name requested to sort by
|
|
982
|
-
# @option opts [Array<
|
|
982
|
+
# @option opts [Array<String>] :expand variable name requested by expand list
|
|
983
983
|
# @option opts [String] :next_page next page token
|
|
984
984
|
# @option opts [String] :previous_page Previous page token
|
|
985
985
|
# @option opts [BOOLEAN] :has_conversation Filter resulting orphans by whether the conversation is known. False returns all orphans for the organization.
|
|
@@ -1278,7 +1278,7 @@ module PureCloud
|
|
|
1278
1278
|
# @option opts [Integer] :page_size The total page size requested (default to 25)
|
|
1279
1279
|
# @option opts [Integer] :page_number The page number requested (default to 1)
|
|
1280
1280
|
# @option opts [String] :sort_by variable name requested to sort by
|
|
1281
|
-
# @option opts [Array<
|
|
1281
|
+
# @option opts [Array<String>] :expand variable name requested by expand list
|
|
1282
1282
|
# @option opts [String] :next_page next page token
|
|
1283
1283
|
# @option opts [String] :previous_page Previous page token
|
|
1284
1284
|
# @option opts [String] :name the policy name - used for filtering results in searches.
|
|
@@ -1297,7 +1297,7 @@ module PureCloud
|
|
|
1297
1297
|
# @option opts [Integer] :page_size The total page size requested
|
|
1298
1298
|
# @option opts [Integer] :page_number The page number requested
|
|
1299
1299
|
# @option opts [String] :sort_by variable name requested to sort by
|
|
1300
|
-
# @option opts [Array<
|
|
1300
|
+
# @option opts [Array<String>] :expand variable name requested by expand list
|
|
1301
1301
|
# @option opts [String] :next_page next page token
|
|
1302
1302
|
# @option opts [String] :previous_page Previous page token
|
|
1303
1303
|
# @option opts [String] :name the policy name - used for filtering results in searches.
|
|
@@ -92,7 +92,7 @@ module PureCloud
|
|
|
92
92
|
|
|
93
93
|
# Get activity codes
|
|
94
94
|
#
|
|
95
|
-
# @param mu_id The
|
|
95
|
+
# @param mu_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
96
96
|
# @param [Hash] opts the optional parameters
|
|
97
97
|
# @return [ActivityCodeContainer]
|
|
98
98
|
def get_workforcemanagement_managementunit_activitycodes(mu_id, opts = {})
|
|
@@ -102,7 +102,7 @@ module PureCloud
|
|
|
102
102
|
|
|
103
103
|
# Get activity codes
|
|
104
104
|
#
|
|
105
|
-
# @param mu_id The
|
|
105
|
+
# @param mu_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
106
106
|
# @param [Hash] opts the optional parameters
|
|
107
107
|
# @return [Array<(ActivityCodeContainer, Fixnum, Hash)>] ActivityCodeContainer data, response status code and response headers
|
|
108
108
|
def get_workforcemanagement_managementunit_activitycodes_with_http_info(mu_id, opts = {})
|
|
@@ -231,25 +231,25 @@ module PureCloud
|
|
|
231
231
|
return data, status_code, headers
|
|
232
232
|
end
|
|
233
233
|
|
|
234
|
-
# Get a time off request
|
|
234
|
+
# Get a time off request
|
|
235
235
|
#
|
|
236
|
-
# @param mu_id The
|
|
236
|
+
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
237
237
|
# @param user_id The userId to whom the Time Off Request applies.
|
|
238
238
|
# @param time_off_request_id Time Off Request Id
|
|
239
239
|
# @param [Hash] opts the optional parameters
|
|
240
|
-
# @return [
|
|
240
|
+
# @return [TimeOffRequestResponse]
|
|
241
241
|
def get_workforcemanagement_managementunit_user_timeoffrequest(mu_id, user_id, time_off_request_id, opts = {})
|
|
242
242
|
data, _status_code, _headers = get_workforcemanagement_managementunit_user_timeoffrequest_with_http_info(mu_id, user_id, time_off_request_id, opts)
|
|
243
243
|
return data
|
|
244
244
|
end
|
|
245
245
|
|
|
246
|
-
# Get a time off request
|
|
246
|
+
# Get a time off request
|
|
247
247
|
#
|
|
248
|
-
# @param mu_id The
|
|
248
|
+
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
249
249
|
# @param user_id The userId to whom the Time Off Request applies.
|
|
250
250
|
# @param time_off_request_id Time Off Request Id
|
|
251
251
|
# @param [Hash] opts the optional parameters
|
|
252
|
-
# @return [Array<(
|
|
252
|
+
# @return [Array<(TimeOffRequestResponse, Fixnum, Hash)>] TimeOffRequestResponse data, response status code and response headers
|
|
253
253
|
def get_workforcemanagement_managementunit_user_timeoffrequest_with_http_info(mu_id, user_id, time_off_request_id, opts = {})
|
|
254
254
|
if @api_client.config.debugging
|
|
255
255
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_user_timeoffrequest ..."
|
|
@@ -309,16 +309,16 @@ module PureCloud
|
|
|
309
309
|
:form_params => form_params,
|
|
310
310
|
:body => post_body,
|
|
311
311
|
:auth_names => auth_names,
|
|
312
|
-
:return_type => '
|
|
312
|
+
:return_type => 'TimeOffRequestResponse')
|
|
313
313
|
if @api_client.config.debugging
|
|
314
314
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_user_timeoffrequest\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
315
315
|
end
|
|
316
316
|
return data, status_code, headers
|
|
317
317
|
end
|
|
318
318
|
|
|
319
|
-
# Get a list of time off requests for
|
|
319
|
+
# Get a list of time off requests for a given user
|
|
320
320
|
#
|
|
321
|
-
# @param mu_id The
|
|
321
|
+
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
322
322
|
# @param user_id The userId to whom the Time Off Request applies.
|
|
323
323
|
# @param [Hash] opts the optional parameters
|
|
324
324
|
# @option opts [BOOLEAN] :recently_reviewed Limit results to requests that have been reviewed within the preceding 30 days (default to false)
|
|
@@ -328,9 +328,9 @@ module PureCloud
|
|
|
328
328
|
return data
|
|
329
329
|
end
|
|
330
330
|
|
|
331
|
-
# Get a list of time off requests for
|
|
331
|
+
# Get a list of time off requests for a given user
|
|
332
332
|
#
|
|
333
|
-
# @param mu_id The
|
|
333
|
+
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
334
334
|
# @param user_id The userId to whom the Time Off Request applies.
|
|
335
335
|
# @param [Hash] opts the optional parameters
|
|
336
336
|
# @option opts [BOOLEAN] :recently_reviewed Limit results to requests that have been reviewed within the preceding 30 days
|
|
@@ -551,9 +551,102 @@ module PureCloud
|
|
|
551
551
|
return data, status_code, headers
|
|
552
552
|
end
|
|
553
553
|
|
|
554
|
-
#
|
|
554
|
+
# Update a time off request
|
|
555
555
|
#
|
|
556
556
|
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
557
|
+
# @param user_id The id of the user the requested time off request belongs to
|
|
558
|
+
# @param time_off_request_id The id of the time off request to update
|
|
559
|
+
# @param [Hash] opts the optional parameters
|
|
560
|
+
# @option opts [AdminTimeOffRequestPatch] :body body
|
|
561
|
+
# @return [TimeOffRequestResponse]
|
|
562
|
+
def patch_workforcemanagement_managementunit_user_timeoffrequest(mu_id, user_id, time_off_request_id, opts = {})
|
|
563
|
+
data, _status_code, _headers = patch_workforcemanagement_managementunit_user_timeoffrequest_with_http_info(mu_id, user_id, time_off_request_id, opts)
|
|
564
|
+
return data
|
|
565
|
+
end
|
|
566
|
+
|
|
567
|
+
# Update a time off request
|
|
568
|
+
#
|
|
569
|
+
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
570
|
+
# @param user_id The id of the user the requested time off request belongs to
|
|
571
|
+
# @param time_off_request_id The id of the time off request to update
|
|
572
|
+
# @param [Hash] opts the optional parameters
|
|
573
|
+
# @option opts [AdminTimeOffRequestPatch] :body body
|
|
574
|
+
# @return [Array<(TimeOffRequestResponse, Fixnum, Hash)>] TimeOffRequestResponse data, response status code and response headers
|
|
575
|
+
def patch_workforcemanagement_managementunit_user_timeoffrequest_with_http_info(mu_id, user_id, time_off_request_id, opts = {})
|
|
576
|
+
if @api_client.config.debugging
|
|
577
|
+
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.patch_workforcemanagement_managementunit_user_timeoffrequest ..."
|
|
578
|
+
end
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
# verify the required parameter 'mu_id' is set
|
|
582
|
+
fail ArgumentError, "Missing the required parameter 'mu_id' when calling WorkforceManagementApi.patch_workforcemanagement_managementunit_user_timeoffrequest" if mu_id.nil?
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
# verify the required parameter 'user_id' is set
|
|
590
|
+
fail ArgumentError, "Missing the required parameter 'user_id' when calling WorkforceManagementApi.patch_workforcemanagement_managementunit_user_timeoffrequest" if user_id.nil?
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
# verify the required parameter 'time_off_request_id' is set
|
|
598
|
+
fail ArgumentError, "Missing the required parameter 'time_off_request_id' when calling WorkforceManagementApi.patch_workforcemanagement_managementunit_user_timeoffrequest" if time_off_request_id.nil?
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
# resource path
|
|
611
|
+
local_var_path = "/api/v2/workforcemanagement/managementunits/{muId}/users/{userId}/timeoffrequests/{timeOffRequestId}".sub('{format}','json').sub('{' + 'muId' + '}', mu_id.to_s).sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'timeOffRequestId' + '}', time_off_request_id.to_s)
|
|
612
|
+
|
|
613
|
+
# query parameters
|
|
614
|
+
query_params = {}
|
|
615
|
+
|
|
616
|
+
# header parameters
|
|
617
|
+
header_params = {}
|
|
618
|
+
|
|
619
|
+
# HTTP header 'Accept' (if needed)
|
|
620
|
+
local_header_accept = ['application/json']
|
|
621
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
622
|
+
|
|
623
|
+
# HTTP header 'Content-Type'
|
|
624
|
+
local_header_content_type = ['application/json']
|
|
625
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
626
|
+
|
|
627
|
+
# form parameters
|
|
628
|
+
form_params = {}
|
|
629
|
+
|
|
630
|
+
# http body (model)
|
|
631
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
632
|
+
|
|
633
|
+
auth_names = ['PureCloud Auth']
|
|
634
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
635
|
+
:header_params => header_params,
|
|
636
|
+
:query_params => query_params,
|
|
637
|
+
:form_params => form_params,
|
|
638
|
+
:body => post_body,
|
|
639
|
+
:auth_names => auth_names,
|
|
640
|
+
:return_type => 'TimeOffRequestResponse')
|
|
641
|
+
if @api_client.config.debugging
|
|
642
|
+
@api_client.config.logger.debug "API called: WorkforceManagementApi#patch_workforcemanagement_managementunit_user_timeoffrequest\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
643
|
+
end
|
|
644
|
+
return data, status_code, headers
|
|
645
|
+
end
|
|
646
|
+
|
|
647
|
+
# Create a new activity code
|
|
648
|
+
#
|
|
649
|
+
# @param mu_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
557
650
|
# @param [Hash] opts the optional parameters
|
|
558
651
|
# @option opts [CreateActivityCodeRequest] :body body
|
|
559
652
|
# @return [ActivityCode]
|
|
@@ -564,7 +657,7 @@ module PureCloud
|
|
|
564
657
|
|
|
565
658
|
# Create a new activity code
|
|
566
659
|
#
|
|
567
|
-
# @param mu_id The
|
|
660
|
+
# @param mu_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
568
661
|
# @param [Hash] opts the optional parameters
|
|
569
662
|
# @option opts [CreateActivityCodeRequest] :body body
|
|
570
663
|
# @return [Array<(ActivityCode, Fixnum, Hash)>] ActivityCode data, response status code and response headers
|
|
@@ -770,7 +863,7 @@ module PureCloud
|
|
|
770
863
|
return data, status_code, headers
|
|
771
864
|
end
|
|
772
865
|
|
|
773
|
-
#
|
|
866
|
+
# Query published schedules for given given time range for set of users
|
|
774
867
|
#
|
|
775
868
|
# @param mu_id The management unit ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
776
869
|
# @param [Hash] opts the optional parameters
|
|
@@ -781,7 +874,7 @@ module PureCloud
|
|
|
781
874
|
return data
|
|
782
875
|
end
|
|
783
876
|
|
|
784
|
-
#
|
|
877
|
+
# Query published schedules for given given time range for set of users
|
|
785
878
|
#
|
|
786
879
|
# @param mu_id The management unit ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
787
880
|
# @param [Hash] opts the optional parameters
|
|
@@ -76,7 +76,7 @@ module PureCloud
|
|
|
76
76
|
http_method = http_method.to_sym.downcase
|
|
77
77
|
|
|
78
78
|
header_params = @default_headers.merge(opts[:header_params] || {})
|
|
79
|
-
header_params['purecloud-sdk'] = '
|
|
79
|
+
header_params['purecloud-sdk'] = '33.0.0'
|
|
80
80
|
query_params = opts[:query_params] || {}
|
|
81
81
|
form_params = opts[:form_params] || {}
|
|
82
82
|
|
|
@@ -30,11 +30,11 @@ module PureCloud
|
|
|
30
30
|
|
|
31
31
|
attr_accessor :first_uri
|
|
32
32
|
|
|
33
|
-
attr_accessor :
|
|
33
|
+
attr_accessor :previous_uri
|
|
34
34
|
|
|
35
35
|
attr_accessor :next_uri
|
|
36
36
|
|
|
37
|
-
attr_accessor :
|
|
37
|
+
attr_accessor :last_uri
|
|
38
38
|
|
|
39
39
|
attr_accessor :page_count
|
|
40
40
|
|
|
@@ -54,11 +54,11 @@ module PureCloud
|
|
|
54
54
|
|
|
55
55
|
:'first_uri' => :'firstUri',
|
|
56
56
|
|
|
57
|
-
:'
|
|
57
|
+
:'previous_uri' => :'previousUri',
|
|
58
58
|
|
|
59
59
|
:'next_uri' => :'nextUri',
|
|
60
60
|
|
|
61
|
-
:'
|
|
61
|
+
:'last_uri' => :'lastUri',
|
|
62
62
|
|
|
63
63
|
:'page_count' => :'pageCount'
|
|
64
64
|
|
|
@@ -81,11 +81,11 @@ module PureCloud
|
|
|
81
81
|
|
|
82
82
|
:'first_uri' => :'String',
|
|
83
83
|
|
|
84
|
-
:'
|
|
84
|
+
:'previous_uri' => :'String',
|
|
85
85
|
|
|
86
86
|
:'next_uri' => :'String',
|
|
87
87
|
|
|
88
|
-
:'
|
|
88
|
+
:'last_uri' => :'String',
|
|
89
89
|
|
|
90
90
|
:'page_count' => :'Integer'
|
|
91
91
|
|
|
@@ -157,10 +157,10 @@ module PureCloud
|
|
|
157
157
|
end
|
|
158
158
|
|
|
159
159
|
|
|
160
|
-
if attributes.has_key?(:'
|
|
160
|
+
if attributes.has_key?(:'previousUri')
|
|
161
161
|
|
|
162
162
|
|
|
163
|
-
self.
|
|
163
|
+
self.previous_uri = attributes[:'previousUri']
|
|
164
164
|
|
|
165
165
|
|
|
166
166
|
end
|
|
@@ -175,10 +175,10 @@ module PureCloud
|
|
|
175
175
|
end
|
|
176
176
|
|
|
177
177
|
|
|
178
|
-
if attributes.has_key?(:'
|
|
178
|
+
if attributes.has_key?(:'lastUri')
|
|
179
179
|
|
|
180
180
|
|
|
181
|
-
self.
|
|
181
|
+
self.last_uri = attributes[:'lastUri']
|
|
182
182
|
|
|
183
183
|
|
|
184
184
|
end
|
|
@@ -312,9 +312,9 @@ module PureCloud
|
|
|
312
312
|
total == o.total &&
|
|
313
313
|
self_uri == o.self_uri &&
|
|
314
314
|
first_uri == o.first_uri &&
|
|
315
|
-
last_uri == o.last_uri &&
|
|
316
|
-
next_uri == o.next_uri &&
|
|
317
315
|
previous_uri == o.previous_uri &&
|
|
316
|
+
next_uri == o.next_uri &&
|
|
317
|
+
last_uri == o.last_uri &&
|
|
318
318
|
page_count == o.page_count
|
|
319
319
|
end
|
|
320
320
|
|
|
@@ -327,7 +327,7 @@ module PureCloud
|
|
|
327
327
|
# Calculates hash code according to all attributes.
|
|
328
328
|
# @return [Fixnum] Hash code
|
|
329
329
|
def hash
|
|
330
|
-
[entities, page_size, page_number, total, self_uri, first_uri,
|
|
330
|
+
[entities, page_size, page_number, total, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
|
|
331
331
|
end
|
|
332
332
|
|
|
333
333
|
# build the object from hash
|
|
@@ -17,21 +17,45 @@ Terms of Service: https://developer.mypurecloud.com/tos
|
|
|
17
17
|
require 'date'
|
|
18
18
|
|
|
19
19
|
module PureCloud
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
attr_accessor :name
|
|
20
|
+
class AdminTimeOffRequestPatch
|
|
21
|
+
# The status of this time off request
|
|
22
|
+
attr_accessor :status
|
|
24
23
|
|
|
25
|
-
#
|
|
26
|
-
attr_accessor :
|
|
24
|
+
# The ID of the activity code associated with this time off request. Activity code must be of the TimeOff category
|
|
25
|
+
attr_accessor :activity_code_id
|
|
26
|
+
|
|
27
|
+
# Notes about the time off request
|
|
28
|
+
attr_accessor :notes
|
|
29
|
+
|
|
30
|
+
# A set of dates in yyyy-MM-dd format. Should be interpreted in the management unit's configured time zone.
|
|
31
|
+
attr_accessor :full_day_management_unit_dates
|
|
32
|
+
|
|
33
|
+
# A set of start date-times in ISO-8601 format for partial day requests.
|
|
34
|
+
attr_accessor :partial_day_start_date_times
|
|
35
|
+
|
|
36
|
+
# The daily duration of this time off request in minutes
|
|
37
|
+
attr_accessor :daily_duration_minutes
|
|
38
|
+
|
|
39
|
+
# Version metadata for the time off request
|
|
40
|
+
attr_accessor :metadata
|
|
27
41
|
|
|
28
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
43
|
def self.attribute_map
|
|
30
44
|
{
|
|
31
45
|
|
|
32
|
-
:'
|
|
46
|
+
:'status' => :'status',
|
|
47
|
+
|
|
48
|
+
:'activity_code_id' => :'activityCodeId',
|
|
49
|
+
|
|
50
|
+
:'notes' => :'notes',
|
|
33
51
|
|
|
34
|
-
:'
|
|
52
|
+
:'full_day_management_unit_dates' => :'fullDayManagementUnitDates',
|
|
53
|
+
|
|
54
|
+
:'partial_day_start_date_times' => :'partialDayStartDateTimes',
|
|
55
|
+
|
|
56
|
+
:'daily_duration_minutes' => :'dailyDurationMinutes',
|
|
57
|
+
|
|
58
|
+
:'metadata' => :'metadata'
|
|
35
59
|
|
|
36
60
|
}
|
|
37
61
|
end
|
|
@@ -40,9 +64,19 @@ module PureCloud
|
|
|
40
64
|
def self.swagger_types
|
|
41
65
|
{
|
|
42
66
|
|
|
43
|
-
:'
|
|
67
|
+
:'status' => :'String',
|
|
68
|
+
|
|
69
|
+
:'activity_code_id' => :'String',
|
|
70
|
+
|
|
71
|
+
:'notes' => :'String',
|
|
72
|
+
|
|
73
|
+
:'full_day_management_unit_dates' => :'Array<String>',
|
|
44
74
|
|
|
45
|
-
:'
|
|
75
|
+
:'partial_day_start_date_times' => :'Array<DateTime>',
|
|
76
|
+
|
|
77
|
+
:'daily_duration_minutes' => :'Integer',
|
|
78
|
+
|
|
79
|
+
:'metadata' => :'WfmVersionedEntityMetadata'
|
|
46
80
|
|
|
47
81
|
}
|
|
48
82
|
end
|
|
@@ -56,19 +90,37 @@ module PureCloud
|
|
|
56
90
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
57
91
|
|
|
58
92
|
|
|
59
|
-
if attributes.has_key?(:'
|
|
93
|
+
if attributes.has_key?(:'status')
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
self.status = attributes[:'status']
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
if attributes.has_key?(:'activityCodeId')
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
self.activity_code_id = attributes[:'activityCodeId']
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
if attributes.has_key?(:'notes')
|
|
60
112
|
|
|
61
113
|
|
|
62
|
-
self.
|
|
114
|
+
self.notes = attributes[:'notes']
|
|
63
115
|
|
|
64
116
|
|
|
65
117
|
end
|
|
66
118
|
|
|
67
119
|
|
|
68
|
-
if attributes.has_key?(:'
|
|
120
|
+
if attributes.has_key?(:'fullDayManagementUnitDates')
|
|
69
121
|
|
|
70
|
-
if (value = attributes[:'
|
|
71
|
-
self.
|
|
122
|
+
if (value = attributes[:'fullDayManagementUnitDates']).is_a?(Array)
|
|
123
|
+
self.full_day_management_unit_dates = value
|
|
72
124
|
end
|
|
73
125
|
|
|
74
126
|
|
|
@@ -76,6 +128,35 @@ module PureCloud
|
|
|
76
128
|
end
|
|
77
129
|
|
|
78
130
|
|
|
131
|
+
if attributes.has_key?(:'partialDayStartDateTimes')
|
|
132
|
+
|
|
133
|
+
if (value = attributes[:'partialDayStartDateTimes']).is_a?(Array)
|
|
134
|
+
self.partial_day_start_date_times = value
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
if attributes.has_key?(:'dailyDurationMinutes')
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
self.daily_duration_minutes = attributes[:'dailyDurationMinutes']
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
if attributes.has_key?(:'metadata')
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
self.metadata = attributes[:'metadata']
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
|
|
79
160
|
end
|
|
80
161
|
|
|
81
162
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -92,10 +173,11 @@ module PureCloud
|
|
|
92
173
|
def valid?
|
|
93
174
|
|
|
94
175
|
|
|
95
|
-
|
|
176
|
+
|
|
177
|
+
allowed_values = ["PENDING", "APPROVED", "DENIED"]
|
|
178
|
+
if @status && !allowed_values.include?(@status)
|
|
96
179
|
return false
|
|
97
180
|
end
|
|
98
|
-
|
|
99
181
|
|
|
100
182
|
|
|
101
183
|
|
|
@@ -104,8 +186,66 @@ module PureCloud
|
|
|
104
186
|
|
|
105
187
|
|
|
106
188
|
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
if @metadata.nil?
|
|
206
|
+
return false
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
107
213
|
end
|
|
108
214
|
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
218
|
+
# @param [Object] status Object to be assigned
|
|
219
|
+
def status=(status)
|
|
220
|
+
allowed_values = ["PENDING", "APPROVED", "DENIED"]
|
|
221
|
+
if status && !allowed_values.include?(status)
|
|
222
|
+
fail ArgumentError, "invalid value for 'status', must be one of #{allowed_values}."
|
|
223
|
+
end
|
|
224
|
+
@status = status
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
109
249
|
|
|
110
250
|
|
|
111
251
|
|
|
@@ -122,8 +262,13 @@ module PureCloud
|
|
|
122
262
|
def ==(o)
|
|
123
263
|
return true if self.equal?(o)
|
|
124
264
|
self.class == o.class &&
|
|
125
|
-
|
|
126
|
-
|
|
265
|
+
status == o.status &&
|
|
266
|
+
activity_code_id == o.activity_code_id &&
|
|
267
|
+
notes == o.notes &&
|
|
268
|
+
full_day_management_unit_dates == o.full_day_management_unit_dates &&
|
|
269
|
+
partial_day_start_date_times == o.partial_day_start_date_times &&
|
|
270
|
+
daily_duration_minutes == o.daily_duration_minutes &&
|
|
271
|
+
metadata == o.metadata
|
|
127
272
|
end
|
|
128
273
|
|
|
129
274
|
# @see the `==` method
|
|
@@ -135,7 +280,7 @@ module PureCloud
|
|
|
135
280
|
# Calculates hash code according to all attributes.
|
|
136
281
|
# @return [Fixnum] Hash code
|
|
137
282
|
def hash
|
|
138
|
-
[
|
|
283
|
+
[status, activity_code_id, notes, full_day_management_unit_dates, partial_day_start_date_times, daily_duration_minutes, metadata].hash
|
|
139
284
|
end
|
|
140
285
|
|
|
141
286
|
# build the object from hash
|