ruby-jss 4.1.0 → 4.1.1b1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +17 -0
- data/lib/jamf/api/classic/api_objects/ldap_server.rb +6 -1
- data/lib/jamf/api/classic/api_objects/patch_policy.rb +9 -4
- data/lib/jamf/api/classic/api_objects/patch_title/version.rb +1 -2
- data/lib/jamf/api/classic/api_objects/patch_title.rb +26 -15
- data/lib/jamf/api/classic/base_classes/api_object.rb +4 -4
- data/lib/jamf/api/classic/base_classes/configuration_profile.rb +2 -2
- data/lib/jamf/api/classic/base_classes/patch_source.rb +0 -2
- data/lib/jamf/api/connection/jamf_pro_api.rb +2 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/access_groups_preview_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/access_groups_v2_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/account.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/account_driven_user_enrollment_session_token_settings.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/account_group.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/account_preferences.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/account_preferences_search_type.rb +105 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/{order_by.rb → account_preferences_user_interface_display_theme.rb} +15 -20
- data/lib/jamf/api/jamf_pro/oapi_schemas/account_preferences_v1.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/account_preferences_v4.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/account_preferences_v5.rb +299 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/account_settings_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/account_settings_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/{update_apple_tv.rb → activation_code.rb} +16 -18
- data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_search.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_search_criteria_choices.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_search_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_user_content_search.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_user_content_search_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/api_error.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/api_error_cause.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/api_integration_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/api_integration_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/api_integration_search_result.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/api_role.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/api_role_privileges.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/api_role_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/api_role_result.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/app_analytics_setting.rb +4 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/app_config_reinstall_code.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/app_path.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/app_request_form_input_field.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/app_request_form_input_field_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/app_request_settings.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/application_attributes.rb +4 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/application_configuration.rb +4 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/assign_remove_profile_response_sync_state.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/assignment.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/attributes.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/auth_account.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/auth_account_v1.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/auth_token.rb +3 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/auth_token_v1.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/authentication_type.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/authorization.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/authorization_v1.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/available_os_updates.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/available_updates.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/azure_configuration.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/azure_configuration_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/azure_configuration_update.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/azure_mappings.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/azure_server_configuration.rb +10 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/azure_server_configuration_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/azure_server_configuration_update.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/branding_image_url.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/building.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/building_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/cache_settings.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/categories_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/category.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/certificate_details.rb +5 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/certificate_identity_v2.rb +5 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/certificate_key.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/certificate_record.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/change_password.rb +94 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/classic_ldap_mappings.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/clear_restrictions_password_command.rb +77 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/client_check_in_v3.rb +4 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_distribution_point_upload_capability.rb +88 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_id_p_common.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_id_p_common_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_id_p_common_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_connection_pool_statistics.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_connection_status.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_keystore.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_keystore_file.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_mappings_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_mappings_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_server_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_server_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_server_update.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_response.rb +9 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/compliance_vendor_device_information.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_application.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_attachment.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_certificate.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_configuration_profile.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_alert.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_cache_detail.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_data_migration_error.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_data_migration_error_user_info.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_alert.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_capabilities.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_details.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_local_network.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_disk_encryption.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_extension_attribute.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_font.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_general.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_general_update.rb +15 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_group.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_hardware.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_hardware_update.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_ibeacon.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_collection_preferences.rb +15 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_collection_settings.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_file_vault.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_file_vault_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_recovery_lock_password_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_update_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_licensed_software.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_local_user_account.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_location.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_mdm_capability.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_operating_system.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_operating_system_update.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_overview.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_package_receipts.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_partition.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_partition_encryption.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_partition_file_vault2_state.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_plugin.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage_search_results_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage_search_results_v3.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage_v3.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_printer.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_purchase.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_remote_management.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_section.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_security.rb +17 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_service.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_software_update.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_storage.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_user_and_location.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computers_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/configuration_profile.rb +5 -6
- data/lib/jamf/api/jamf_pro/oapi_schemas/configuration_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/connection_configuration_candidate_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/connection_configuration_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/connection_configuration_status_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/connection_configuration_update_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/country.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/country_codes.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/create_path.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/{location.rb → credentials.rb} +39 -35
- data/lib/jamf/api/jamf_pro/oapi_schemas/csa_token.rb +10 -7
- data/lib/jamf/api/jamf_pro/oapi_schemas/current_account.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/current_authorization.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/dashboard_api_error.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/dashboard_item.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/dashboard_setup.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/dashboard_setup_task.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/data_roaming_setting.rb +4 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/database_password.rb +3 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/day_of_week.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/declarative_management_command.rb +5 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/delete_user_command.rb +5 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/department.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/departments_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/deployment_task.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/deployment_task_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/{ios_details_v2.rb → details_v2.rb} +8 -7
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_communication_settings.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_compliance_information.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_device.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_device_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_disown_body.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_disown_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_instance.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_instance_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_instance_sync_status.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_prestage.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_prestage_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_token.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_information_command.rb +83 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/diagnostic_submission_setting.rb +4 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/{vpp_admin_account.rb → dock_item.rb} +41 -36
- data/lib/jamf/api/jamf_pro/oapi_schemas/{mobile_device_attachment.rb → download_url.rb} +13 -19
- data/lib/jamf/api/jamf_pro/oapi_schemas/dss_declaration.rb +111 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/{recipients.rb → dss_declarations.rb} +12 -12
- data/lib/jamf/api/jamf_pro/oapi_schemas/ebook.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/ebook_exclusions.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/ebook_limitations.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/ebook_scope.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/ebook_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enable_lost_mode_command.rb +5 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/engage.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_access_group_preview.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_access_group_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_branding_settings.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_dependencies.rb +5 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_dependency.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_ldap_group_access.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel_ldap_auth.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel_list.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel_sso_auth.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel_text.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_search_results_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_method.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_method_prestage.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_process_text_object.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_settings_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_settings_v3.rb +9 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_settings_v4.rb +264 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_sso_config.rb +5 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/erase_device_command.rb +5 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/export_field.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/export_parameters.rb +11 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/extension_attribute_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/external_recipient.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/file_attachment.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/file_attachment_delete.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/file_attachment_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/file_data.rb +117 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/file_transfer_item.rb +100 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/font_path.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/get_computer_prestage_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/get_computer_prestage_v3.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization_panel.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization_panel_ldap_auth.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization_panel_sso_auth.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization_panel_text.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/get_mobile_device_prestage.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/get_mobile_device_prestage_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/group_mappings.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/group_membership.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/group_test_search.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/group_test_search_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/group_test_search_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/{initialize.rb → gsx_connection.rb} +37 -43
- data/lib/jamf/api/jamf_pro/oapi_schemas/gsx_connection_update.rb +114 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/gsx_keystore.rb +117 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/{recipient.rb → gsx_test_response.rb} +20 -18
- data/lib/jamf/api/jamf_pro/oapi_schemas/history_search_results.rb +11 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/history_search_results_v1.rb +7 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/href_response.rb +24 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/icon_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/id_and_name_v2.rb +4 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/ids.rb +5 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/initialize_v1.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/install_package.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/internal_recipient.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_information.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_list_mobile_device.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_list_mobile_device_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_csv_error.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_csv_validation_error.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_csv_validation_error_cause.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_csv_validation_success.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_extension_attribute.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_extension_attribute_column.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_extension_attribute_column_result.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_invalid_csv_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_search_results_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/ios_branding_configuration.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/ios_branding_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_application_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_package_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_information.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_information_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_server_url.rb +3 -10
- data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_version.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_protect_plan.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/jcds_properties.rb +94 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/language_code.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_account_management_history.rb +123 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_account_management_history_response.rb +90 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_audit.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_audit_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_history.rb +4 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_history_response.rb +5 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_password_and_audits.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_password_and_audits_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_password_audits_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_password_audits_results_v2.rb +5 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_password_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_password_response_v2.rb +5 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_pending_rotation.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_pending_rotation_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_settings_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_settings_request_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_settings_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_settings_response_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_user.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_user_password.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_user_password_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_user_password_request_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_user_password_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_user_password_response_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_user_password_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_user_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_user_results_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/laps_user_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_configuration_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_configuration_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_configuration_update.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_group.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_group_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_server.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/linked_connect_profile.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/linked_connect_profile_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/locale.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/location_information.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/location_information_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/location_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/log_out_user_command.rb +77 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/login_content.rb +107 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/login_content_put.rb +101 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_branding_configuration.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_branding_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_managed_software_update.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_managed_software_update_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan.rb +11 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_group_post.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_post.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_post_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_toggle.rb +10 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_toggle_status.rb +169 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_toggle_status_wrapper.rb +91 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plans.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_status.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_statuses.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/markdown.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_client_type.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/{update_ios.rb → mdm_command_base.rb} +13 -12
- data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_client.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_client_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_request.rb +7 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_state.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_type.rb +11 -87
- data/lib/jamf/api/jamf_pro/oapi_schemas/membership_mappings.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/membership_test_search_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/membership_test_search_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/memcached_endpoints.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_application.rb +5 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_application_inventory_detail.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_attachment_v2.rb +5 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_certificate.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_certificate_v2.rb +5 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_get_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb +24 -8
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_ebook.rb +4 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_ebook_inventory_detail.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_extension_attribute.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_extension_attribute_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_general.rb +5 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_group.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_hardware.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_inventory.rb +4 -19
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_inventory_search_results.rb +5 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_ios_general.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_ios_inventory.rb +16 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_lost_mode_location.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_network.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_name.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_name_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_names.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_names_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_search_results_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_profile.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_provisioning_profiles.rb +5 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_purchasing.rb +4 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_response.rb +74 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_search_results_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_section.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_security.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_service_subscriptions.rb +4 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_shared_user.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_tv_os_general.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_tv_os_inventory.rb +16 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_user_and_location.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_user_profile.rb +4 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_v2.rb +5 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/{security.rb → mobile_device_watch_os_general.rb} +24 -42
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_watch_os_inventory.rb +94 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/network_v2.rb +4 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/notification.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/notification_type.rb +9 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/notification_v1.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/o_auth_client_credentials.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/object_history.rb +5 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/object_history_note.rb +15 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/object_history_v1.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/onboarding_configuration.rb +101 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/{extension_attribute.rb → onboarding_eligible_item.rb} +19 -30
- data/lib/jamf/api/jamf_pro/oapi_schemas/onboarding_eligible_items_search_result.rb +94 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/{mobile_device.rb → onboarding_item.rb} +47 -60
- data/lib/jamf/api/jamf_pro/oapi_schemas/package.rb +326 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/package_manifest.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/{id_and_name.rb → packages_search_results.rb} +19 -21
- data/lib/jamf/api/jamf_pro/oapi_schemas/parent_app.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policies.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_detail.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_details.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_list_view.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_log_detail.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_log_detail_action.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_log_eligible_retry_count.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_log_retry.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_log_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_logs.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_v2_on_dashboard.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_software_title_configuration.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_software_title_configuration_base.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_software_title_configuration_definition_kill_app.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_software_title_configuration_dependencies.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_software_title_configuration_dependency.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_software_title_configuration_extension_attributes.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_software_title_configuration_patch.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_software_title_definition.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_software_title_definitions.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_software_title_extension_attributes.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_software_title_packages.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_software_title_report.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_software_title_report_search_result.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_summary.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_summary_version.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/personal_hotspot_setting.rb +4 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/plan_configuration_post.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/plan_device.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/plan_device_post.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/plan_device_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/plan_group_post.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/plan_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/plan_status.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/plugin_path.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/policy_properties.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/policy_properties_v1.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/post_computer_prestage_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/post_computer_prestage_v3.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_dependencies.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_dependency.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_file_attachment.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_file_attachment_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_assignment.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_assignment_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_response_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_update.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_sync_status.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_sync_status_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/process_texts_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/protect_registration_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/protect_settings_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/protect_updatable_settings_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/purchasing_v2.rb +4 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/put_computer_prestage_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/put_computer_prestage_v3.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/put_mobile_device_prestage.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/put_mobile_device_prestage_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/recalculation_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/redeploy_jamf_management_framework_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/reenrollment.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/remote_administration_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/remote_administration_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/renew_mdm_profile_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/restart_device_command.rb +5 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/return_to_service_configuration.rb +100 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/return_to_service_configuration_request.rb +92 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/return_to_service_configuration_search_results.rb +91 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/safelisted_app.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/{mobile_device_search_results.rb → scheduler_job.rb} +12 -13
- data/lib/jamf/api/jamf_pro/oapi_schemas/{admin_account.rb → scheduler_jobs.rb} +14 -13
- data/lib/jamf/api/jamf_pro/oapi_schemas/scheduler_summary.rb +100 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/scheduler_trigger.rb +95 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/script.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/scripts_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/security_v2.rb +5 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/self_service_install_settings.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/self_service_interaction_settings.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/self_service_login_settings.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/self_service_settings.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/session.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/session_candidate_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/session_details.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/session_details_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/{purchasing.rb → session_history_item.rb} +48 -56
- data/lib/jamf/api/jamf_pro/oapi_schemas/session_history_item_details.rb +82 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/{apple_tv_details.rb → session_history_item_with_details.rb} +60 -40
- data/lib/jamf/api/jamf_pro/oapi_schemas/session_history_search_results.rb +91 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/session_status.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/set_auto_admin_password_command.rb +5 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/set_recovery_lock_command.rb +5 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/settings_command.rb +5 -13
- data/lib/jamf/api/jamf_pro/oapi_schemas/shared_device_compliance_feature_toggle.rb +83 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/shared_device_configuration.rb +4 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/shut_down_device_command.rb +77 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/signature.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/site.rb +3 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/site_object.rb +150 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/smart_search_criterion.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/{jamf_nation_credentials.rb → smtp_basic_credentials.rb} +15 -15
- data/lib/jamf/api/jamf_pro/oapi_schemas/smtp_connection_settings.rb +113 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/smtp_graph_api_credentials.rb +98 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/{mobile_device_certificate_v1.rb → smtp_sender_settings.rb} +14 -13
- data/lib/jamf/api/jamf_pro/oapi_schemas/{mobile_device_search_params.rb → smtp_server.rb} +68 -54
- data/lib/jamf/api/jamf_pro/oapi_schemas/smtp_server_test.rb +83 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/{vpp_token_subscription.rb → smtp_server_v2.rb} +48 -44
- data/lib/jamf/api/jamf_pro/oapi_schemas/software_title_configuration_on_dashboard.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/software_update_settings.rb +4 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/sso_failover_data.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_cert_parse_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_details.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_parse.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_response_with_details.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_with_details.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/sso_metadata_url.rb +5 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/{sso_settings.rb → sso_settings_v1.rb} +6 -6
- data/lib/jamf/api/jamf_pro/oapi_schemas/sso_settings_v2.rb +253 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/startup_status.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/static_group.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/static_group_assignment.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/static_group_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/static_group_summary.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/static_user_group.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity_certificate_upload.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity_create.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity_update.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/teacher_features.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/teacher_settings_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/teacher_settings_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/time_frame.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/time_zone.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/tv_os_details.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/udids.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/update_ios_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/update_mobile_device_v2.rb +4 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/update_tv_os.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/user_mappings.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/user_preferences_settings.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/user_test_attributes.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/user_test_search.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/user_test_search_request.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/user_test_search_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/v1_site.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/venafi_ca_record.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/venafi_pki_payload_record.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/venafi_pki_payload_record_search_results.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/venafi_service_status.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/verbose_package_deployment_response.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/voice_roaming_setting.rb +4 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_content.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_content_list.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_location.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_location_list_view.rb +9 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_location_patch.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_location_post.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_locations.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_subscription.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_subscription_base.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_subscriptions.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/{ios_details.rb → watch_os_details_v2.rb} +27 -81
- data/lib/jamf/api/jamf_pro/oapi_schemas/web_link.rb +3 -3
- data/lib/jamf/utility.rb +16 -6
- data/lib/jamf/version.rb +1 -1
- metadata +67 -33
- data/lib/jamf/api/jamf_pro/oapi_schemas/android_details.rb +0 -162
- data/lib/jamf/api/jamf_pro/oapi_schemas/client_check_in_v2.rb +0 -164
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb +0 -249
- data/lib/jamf/api/jamf_pro/oapi_schemas/network.rb +0 -171
- data/lib/jamf/api/jamf_pro/oapi_schemas/update_mobile_device.rb +0 -122
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79bd6a4bdae5e6c446652e6c15f06922532fa66e978e0238e0bb92f018c728a6
|
4
|
+
data.tar.gz: ae766e278b152d9c999340d77d005c4674e5f13f72e9cd8bde28d4ffe1dfdad4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 752c98d446489c0f91b63536c31c49fb9c672fdb07c905a8c4ebe8bd30ffe2eae3edbfe502c419c840314082e82fe02ecd91afb70552a62c943d78179717fd58
|
7
|
+
data.tar.gz: 7eb7ecb074e94b4588b423fed8ab15f80c14cc091005e7016622738a1b4c133adf5c0ea110c173156efd63d061f4c7d27929d6d5eb12980c03c8201995d01aec
|
data/CHANGES.md
CHANGED
@@ -14,6 +14,23 @@ __Please update all installations of ruby-jss to at least v1.6.0.__
|
|
14
14
|
|
15
15
|
Many many thanks to actae0n of Blacksun Hackers Club for reporting this issue and providing examples of how it could be exploited.
|
16
16
|
|
17
|
+
--------
|
18
|
+
## \[4.1.1] In testing
|
19
|
+
|
20
|
+
### Changed
|
21
|
+
- `expand_min_os` (used when specifying min. OS for Packages and Scripts) now expands up to macOS v30, so we have 15 years to hopefully not need to use it anymore.
|
22
|
+
|
23
|
+
- Auto-generated base classes from OAPI3 schema updated to Jamf Pro 11.6.1. See NOTE below.
|
24
|
+
|
25
|
+
### Fixed
|
26
|
+
|
27
|
+
- `LdapServer.check_membership` no longer fails or gives invalid responses when you provide a connection object via `cnx:`
|
28
|
+
- A bug in Jamf::PatchTitle which prevented use of non-default connection objects.
|
29
|
+
- Some ObjectModel classes from the OAPI3 schema were not getting generated, causing problems when using Zeitwerk's `eager_load`. Thanks to @j-o-lantern0422 and @jcruce13 for reporting the issue, and @nick-f for providing a fix!
|
30
|
+
|
31
|
+
|
32
|
+
NOTE: Given the nature of this issue, along with known inconsistencies in the data structures and naming of items in the OAPI3 schema, plus the fact that we're starting to migrate to the JP API for more complex object handling (e.g. `Jamf::MobileDevice`) we're probably going to stop using the auto-generated `Jamf::OAPISchemas` classes - at least in the way we have been using them. Most likely we'll still generate them, but then hand-edit them to create more robust, bespoke classes for the items we implement (as we did in the Classic API), and only include those required for the objects implemented. Feedback is welcome, via GitHub or The [#ruby-jss channel in Macadmins Slack](https://macadmins.slack.com/archives/C03C7F563MK)
|
33
|
+
|
17
34
|
--------
|
18
35
|
## \[4.1.0] 2024-04-06
|
19
36
|
|
@@ -97,6 +97,7 @@ module Jamf
|
|
97
97
|
|
98
98
|
all_objects(:refresh, cnx: cnx).each do |ldap|
|
99
99
|
next if ldap.find_user(user, :exact).empty?
|
100
|
+
|
100
101
|
return ldap.id
|
101
102
|
end
|
102
103
|
nil
|
@@ -130,6 +131,7 @@ module Jamf
|
|
130
131
|
|
131
132
|
all_objects(:refresh, cnx: cnx).each do |ldap|
|
132
133
|
next if ldap.find_group(group, :exact).empty?
|
134
|
+
|
133
135
|
return ldap.id
|
134
136
|
end
|
135
137
|
nil
|
@@ -167,7 +169,7 @@ module Jamf
|
|
167
169
|
def self.check_membership(ldap_server, user, group, api: nil, cnx: Jamf.cnx)
|
168
170
|
cnx = api if api
|
169
171
|
|
170
|
-
ldap_server_id = valid_id ldap_server
|
172
|
+
ldap_server_id = valid_id ldap_server, cnx: cnx
|
171
173
|
raise Jamf::NoSuchItemError, "No LdapServer matching #{ldap_server}" unless ldap_server_id
|
172
174
|
|
173
175
|
rsrc = "#{RSRC_BASE}/id/#{ldap_server_id}/group/#{CGI.escape group.to_s}/user/#{CGI.escape user.to_s}"
|
@@ -313,6 +315,7 @@ module Jamf
|
|
313
315
|
#
|
314
316
|
def find_user(user, exact = false)
|
315
317
|
raise Jamf::NoSuchItemError, 'LdapServer not yet saved in the JSS' unless @in_jss
|
318
|
+
|
316
319
|
raw = cnx.c_get("#{RSRC_BASE}/id/#{@id}/user/#{CGI.escape user.to_s}")[:ldap_users]
|
317
320
|
exact ? raw.select { |u| u[:username] == user } : raw
|
318
321
|
end
|
@@ -325,6 +328,7 @@ module Jamf
|
|
325
328
|
#
|
326
329
|
def find_group(group, exact = false)
|
327
330
|
raise Jamf::NoSuchItemError, 'LdapServer not yet saved in the JSS' unless @in_jss
|
331
|
+
|
328
332
|
raw = cnx.c_get("#{RSRC_BASE}/id/#{@id}/group/#{CGI.escape group.to_s}")[:ldap_groups]
|
329
333
|
exact ? raw.select { |u| u[:groupname] == group } : raw
|
330
334
|
end
|
@@ -337,6 +341,7 @@ module Jamf
|
|
337
341
|
#
|
338
342
|
def check_membership(user, group)
|
339
343
|
raise Jamf::NoSuchItemError, 'LdapServer not yet saved in the JSS' unless @in_jss
|
344
|
+
|
340
345
|
self.class.check_membership @id, user, group, cnx: @cnx
|
341
346
|
end
|
342
347
|
|
@@ -262,9 +262,12 @@ module Jamf
|
|
262
262
|
# @see APIObject#fetch
|
263
263
|
#
|
264
264
|
def self.fetch(searchterm = nil, **args)
|
265
|
+
cnx = args[:cnx]
|
266
|
+
cnx ||= Jamf.cnx
|
267
|
+
|
265
268
|
name_search = args.delete :name
|
266
269
|
if name_search
|
267
|
-
id = valid_id name_search
|
270
|
+
id = valid_id name_search, cnx: cnx
|
268
271
|
raise Jamf::NoSuchItemError, "No #{self::RSRC_OBJECT_KEY} found #{err_detail}" unless id
|
269
272
|
|
270
273
|
args[:id] = id
|
@@ -369,6 +372,8 @@ module Jamf
|
|
369
372
|
unless in_jss
|
370
373
|
@init_data[:general] ||= {}
|
371
374
|
@init_data[:software_title_configuration_id] = validate_patch_title @init_data[:patch_title]
|
375
|
+
# need this set here for the validations below
|
376
|
+
@patch_title_id = @init_data[:software_title_configuration_id]
|
372
377
|
|
373
378
|
# were we given target_version in the make params?
|
374
379
|
validate_target_version @init_data[:target_version] if @init_data[:target_version]
|
@@ -424,7 +429,7 @@ module Jamf
|
|
424
429
|
#
|
425
430
|
def patch_title(refresh = false)
|
426
431
|
@patch_title = nil if refresh
|
427
|
-
@patch_title ||= Jamf::PatchTitle.fetch id: patch_title_id
|
432
|
+
@patch_title ||= Jamf::PatchTitle.fetch id: patch_title_id, cnx: @cnx
|
428
433
|
end
|
429
434
|
|
430
435
|
# @return [String] the name of the PatchTitle for this patch policy
|
@@ -573,7 +578,7 @@ module Jamf
|
|
573
578
|
end
|
574
579
|
raise Jamf::MissingDataError, ':patch_title is required' unless a_title
|
575
580
|
|
576
|
-
title_id = Jamf::PatchTitle.valid_id a_title
|
581
|
+
title_id = Jamf::PatchTitle.valid_id a_title, cnx: @cnx
|
577
582
|
return title_id if title_id
|
578
583
|
|
579
584
|
raise Jamf::NoSuchItemError, "No Patch Title matches '#{a_title}'"
|
@@ -605,7 +610,7 @@ module Jamf
|
|
605
610
|
# Update our local version data after the target_version is changed
|
606
611
|
#
|
607
612
|
def refetch_version_info
|
608
|
-
tmp = self.class.fetch id: id
|
613
|
+
tmp = self.class.fetch id: id, cnx: @cnx
|
609
614
|
@release_date = tmp.release_date
|
610
615
|
@incremental_update = tmp.incremental_update
|
611
616
|
@reboot = tmp.reboot
|
@@ -26,7 +26,6 @@
|
|
26
26
|
###
|
27
27
|
module Jamf
|
28
28
|
|
29
|
-
#
|
30
29
|
class PatchTitle < Jamf::APIObject
|
31
30
|
|
32
31
|
# A Patch Software Title Version in the JSS.
|
@@ -148,7 +147,7 @@ module Jamf
|
|
148
147
|
return if @package_id == pkgid
|
149
148
|
|
150
149
|
@package_id = pkgid
|
151
|
-
@package_name = pkgid == :none ? nil : Jamf::Package.map_all_ids_to(:name)[pkgid]
|
150
|
+
@package_name = pkgid == :none ? nil : Jamf::Package.map_all_ids_to(:name, cnx: @title.cnx)[pkgid]
|
152
151
|
@title.changed_pkg_for_version version
|
153
152
|
end
|
154
153
|
|
@@ -313,6 +313,8 @@ module Jamf
|
|
313
313
|
# so all other lookup values have to be converted to ID before
|
314
314
|
# the call to super
|
315
315
|
#
|
316
|
+
# NOTE: The only truely unique identifiers are id and source_name_id
|
317
|
+
#
|
316
318
|
def self.fetch(identifier = nil, **params)
|
317
319
|
# default connection if unspecified
|
318
320
|
cnx = params.delete :cnx
|
@@ -322,22 +324,34 @@ module Jamf
|
|
322
324
|
# source: and source_id: are considered the same, source_id: wins
|
323
325
|
params[:source_id] ||= params[:source]
|
324
326
|
|
325
|
-
# if given a source name
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
params[:source_name_id] ||= "#{params[:source_id]}-#{params[:name_id]}"
|
327
|
+
# if given a source name in params[:source_id] this converts it to an id
|
328
|
+
if params[:source_id]
|
329
|
+
params[:source_id] = Jamf::PatchInternalSource.valid_id(params[:source_id], cnx: cnx)
|
330
|
+
params[:source_id] ||= Jamf::PatchExternalSource.valid_id(params[:source_id], cnx: cnx)
|
331
|
+
end
|
331
332
|
|
332
333
|
id =
|
333
334
|
if identifier
|
334
|
-
valid_id identifier
|
335
|
+
valid_id identifier, cnx: cnx
|
336
|
+
|
335
337
|
elsif params[:id]
|
336
|
-
all_ids.include?(params[:id]) ? params[:id] : nil
|
338
|
+
all_ids(cnx: cnx).include?(params[:id]) ? params[:id] : nil
|
339
|
+
|
337
340
|
elsif params[:source_name_id]
|
338
|
-
|
341
|
+
# TODO: make 'map_all' work with :source_name_id
|
342
|
+
# map_all(:source_name_id, to: :id, cnx: cnx)[params[:source_name_id]]
|
343
|
+
map_all(:id, to: :source_name_id, cnx: cnx).invert[params[:source_name_id]]
|
344
|
+
|
345
|
+
# WARNING: name_id may not be unique
|
346
|
+
elsif params[:name_id]
|
347
|
+
# TODO: make 'map_all' work with :source_name_id
|
348
|
+
# map_all(:source_name_id, to: :id, cnx: cnx)[params[:source_name_id]]
|
349
|
+
map_all(:id, to: :name_id, cnx: cnx).invert[params[:name_id]]
|
350
|
+
|
351
|
+
# WARNING: name_id may not be unique
|
339
352
|
elsif params[:name]
|
340
|
-
map_all_ids_to(:name).invert[params[:name]]
|
353
|
+
# map_all_ids_to(:name, cnx: cnx).invert[params[:name]]
|
354
|
+
map_all(:name, to: :id, cnx: cnx)[params[:name]]
|
341
355
|
end
|
342
356
|
|
343
357
|
raise Jamf::NoSuchItemError, "No matching #{name} found" unless id
|
@@ -392,14 +406,11 @@ module Jamf
|
|
392
406
|
|
393
407
|
raise Jamf::MissingDataError, 'source: and name_id: must be provided' unless @init_data[:name_id] && @init_data[:source_id]
|
394
408
|
|
395
|
-
@source_id = Jamf::PatchSource.valid_id(@init_data[:source_id])
|
396
|
-
|
409
|
+
@source_id = Jamf::PatchSource.valid_id(@init_data[:source_id], cnx: @cnx)
|
397
410
|
raise Jamf::NoSuchItemError, "No Patch Sources match '#{@init_data[:source]}'" unless source_id
|
398
411
|
|
399
412
|
@name_id = @init_data[:name_id]
|
400
|
-
|
401
|
-
valid_name_id = Jamf::PatchSource.available_name_ids(@source_id).include? @name_id
|
402
|
-
|
413
|
+
valid_name_id = Jamf::PatchSource.available_name_ids(@source_id, cnx: @cnx).include? @name_id
|
403
414
|
raise Jamf::NoSuchItemError, "source #{@init_data[:source]} doesn't offer name_id '#{@init_data[:name_id]}'" unless valid_name_id
|
404
415
|
end
|
405
416
|
|
@@ -1567,10 +1567,10 @@ module Jamf
|
|
1567
1567
|
|
1568
1568
|
raise Jamf::InvalidConnectionError, 'Not connected to MySQL' unless Jamf::DB_CNX.connected?
|
1569
1569
|
|
1570
|
-
|
1571
|
-
|
1572
|
-
|
1573
|
-
|
1570
|
+
return if defined? self.class::OBJECT_HISTORY_OBJECT_TYPE
|
1571
|
+
|
1572
|
+
raise Jamf::UnsupportedError,
|
1573
|
+
"Object History access is not supported for #{self.class} objects at this time"
|
1574
1574
|
end
|
1575
1575
|
|
1576
1576
|
# If we're making a new object in the JSS, make sure we were given
|
@@ -142,7 +142,7 @@ module Jamf
|
|
142
142
|
# *ruby* Array full of *ruby* hashes, and they will be converted to a
|
143
143
|
# Plist and embedded into the API XML appropriately.
|
144
144
|
#
|
145
|
-
# WARNING: This
|
145
|
+
# WARNING: This can be dangerous! Editing the Plist Payload of a Config
|
146
146
|
# profile may break the profile. Make sure you test on a fake profile
|
147
147
|
# before using this method in production.
|
148
148
|
#
|
@@ -151,7 +151,7 @@ module Jamf
|
|
151
151
|
def payload_content=(new_content)
|
152
152
|
payload_plist_data = parsed_payloads
|
153
153
|
payload_plist_data['PayloadContent'] = new_content
|
154
|
-
@payloads =
|
154
|
+
@payloads = Jamf.xml_plist_from payload_plist_data
|
155
155
|
@need_to_update = true
|
156
156
|
@update_payloads = true
|
157
157
|
end
|
@@ -248,7 +248,6 @@ module Jamf
|
|
248
248
|
#
|
249
249
|
def self.available_name_ids(source, api: nil, cnx: Jamf.cnx)
|
250
250
|
cnx = api if api
|
251
|
-
|
252
251
|
available_titles(source, cnx: cnx).map { |t| t[:name_id] }
|
253
252
|
end
|
254
253
|
|
@@ -270,7 +269,6 @@ module Jamf
|
|
270
269
|
#
|
271
270
|
def self.valid_patch_source_id(ident, refresh = false, api: nil, cnx: Jamf.cnx)
|
272
271
|
cnx = api if api
|
273
|
-
|
274
272
|
id = Jamf::PatchInternalSource.valid_id ident, refresh, cnx: cnx
|
275
273
|
id ||= Jamf::PatchExternalSource.valid_id ident, refresh, cnx: cnx
|
276
274
|
id
|
@@ -134,6 +134,8 @@ module Jamf
|
|
134
134
|
validate_connected
|
135
135
|
rsrc = rsrc.delete_prefix Jamf::Connection::SLASH
|
136
136
|
resp = @jp_cnx.patch(rsrc) do |req|
|
137
|
+
# Patch requests must use this content type!
|
138
|
+
req.headers['Content-Type'] = 'application/merge-patch+json'
|
137
139
|
req.body = data
|
138
140
|
end
|
139
141
|
@last_http_response = resp
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2024 Pixar
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "Apache License")
|
4
4
|
# with the following modification; you may not use this file except in
|
@@ -34,8 +34,8 @@ module Jamf
|
|
34
34
|
#
|
35
35
|
#
|
36
36
|
#
|
37
|
-
# This class was automatically
|
38
|
-
# URL path on a Jamf Pro server version
|
37
|
+
# This class was automatically generated from the api/schema
|
38
|
+
# URL path on a Jamf Pro server version 11.6.1-t1718634702
|
39
39
|
#
|
40
40
|
# This class may be used directly, e.g instances of other classes may
|
41
41
|
# use instances of this class as one of their own properties/attributes.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2024 Pixar
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "Apache License")
|
4
4
|
# with the following modification; you may not use this file except in
|
@@ -34,8 +34,8 @@ module Jamf
|
|
34
34
|
#
|
35
35
|
#
|
36
36
|
#
|
37
|
-
# This class was automatically
|
38
|
-
# URL path on a Jamf Pro server version
|
37
|
+
# This class was automatically generated from the api/schema
|
38
|
+
# URL path on a Jamf Pro server version 11.6.1-t1718634702
|
39
39
|
#
|
40
40
|
# This class may be used directly, e.g instances of other classes may
|
41
41
|
# use instances of this class as one of their own properties/attributes.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2024 Pixar
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "Apache License")
|
4
4
|
# with the following modification; you may not use this file except in
|
@@ -34,8 +34,8 @@ module Jamf
|
|
34
34
|
#
|
35
35
|
#
|
36
36
|
#
|
37
|
-
# This class was automatically
|
38
|
-
# URL path on a Jamf Pro server version
|
37
|
+
# This class was automatically generated from the api/schema
|
38
|
+
# URL path on a Jamf Pro server version 11.6.1-t1718634702
|
39
39
|
#
|
40
40
|
# This class may be used directly, e.g instances of other classes may
|
41
41
|
# use instances of this class as one of their own properties/attributes.
|
data/lib/jamf/api/jamf_pro/oapi_schemas/account_driven_user_enrollment_session_token_settings.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2024 Pixar
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "Apache License")
|
4
4
|
# with the following modification; you may not use this file except in
|
@@ -35,8 +35,8 @@ module Jamf
|
|
35
35
|
# Description of this class from the OAPI Schema:
|
36
36
|
# Settings for Account Driven User Enrollment. Only 1 of expirationIntervalDays or expirationIntervalSeconds can be supplied.
|
37
37
|
#
|
38
|
-
# This class was automatically
|
39
|
-
# URL path on a Jamf Pro server version
|
38
|
+
# This class was automatically generated from the api/schema
|
39
|
+
# URL path on a Jamf Pro server version 11.6.1-t1718634702
|
40
40
|
#
|
41
41
|
# This class may be used directly, e.g instances of other classes may
|
42
42
|
# use instances of this class as one of their own properties/attributes.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2024 Pixar
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "Apache License")
|
4
4
|
# with the following modification; you may not use this file except in
|
@@ -34,8 +34,8 @@ module Jamf
|
|
34
34
|
#
|
35
35
|
#
|
36
36
|
#
|
37
|
-
# This class was automatically
|
38
|
-
# URL path on a Jamf Pro server version
|
37
|
+
# This class was automatically generated from the api/schema
|
38
|
+
# URL path on a Jamf Pro server version 11.6.1-t1718634702
|
39
39
|
#
|
40
40
|
# This class may be used directly, e.g instances of other classes may
|
41
41
|
# use instances of this class as one of their own properties/attributes.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2024 Pixar
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "Apache License")
|
4
4
|
# with the following modification; you may not use this file except in
|
@@ -34,8 +34,8 @@ module Jamf
|
|
34
34
|
#
|
35
35
|
#
|
36
36
|
#
|
37
|
-
# This class was automatically
|
38
|
-
# URL path on a Jamf Pro server version
|
37
|
+
# This class was automatically generated from the api/schema
|
38
|
+
# URL path on a Jamf Pro server version 11.6.1-t1718634702
|
39
39
|
#
|
40
40
|
# This class may be used directly, e.g instances of other classes may
|
41
41
|
# use instances of this class as one of their own properties/attributes.
|
@@ -0,0 +1,105 @@
|
|
1
|
+
# Copyright 2024 Pixar
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "Apache License")
|
4
|
+
# with the following modification; you may not use this file except in
|
5
|
+
# compliance with the Apache License and the following modification to it:
|
6
|
+
# Section 6. Trademarks. is deleted and replaced with:
|
7
|
+
#
|
8
|
+
# 6. Trademarks. This License does not grant permission to use the trade
|
9
|
+
# names, trademarks, service marks, or product names of the Licensor
|
10
|
+
# and its affiliates, except as required to comply with Section 4(c) of
|
11
|
+
# the License and to reproduce the content of the NOTICE file.
|
12
|
+
#
|
13
|
+
# You may obtain a copy of the Apache License at
|
14
|
+
#
|
15
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
16
|
+
#
|
17
|
+
# Unless required by applicable law or agreed to in writing, software
|
18
|
+
# distributed under the Apache License with the above modification is
|
19
|
+
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
20
|
+
# KIND, either express or implied. See the Apache License for the specific
|
21
|
+
# language governing permissions and limitations under the Apache License.
|
22
|
+
#
|
23
|
+
|
24
|
+
|
25
|
+
module Jamf
|
26
|
+
|
27
|
+
# This module is the namespace for all objects defined
|
28
|
+
# in the OAPI JSON schema under the components => schemas key
|
29
|
+
#
|
30
|
+
module OAPISchemas
|
31
|
+
|
32
|
+
|
33
|
+
# OAPI Object Model and Enums for: AccountPreferencesSearchType
|
34
|
+
#
|
35
|
+
#
|
36
|
+
#
|
37
|
+
# This class was automatically generated from the api/schema
|
38
|
+
# URL path on a Jamf Pro server version 11.6.1-t1718634702
|
39
|
+
#
|
40
|
+
# This class may be used directly, e.g instances of other classes may
|
41
|
+
# use instances of this class as one of their own properties/attributes.
|
42
|
+
#
|
43
|
+
# It may also be used as a superclass when implementing Jamf Pro API
|
44
|
+
# Resources in ruby-jss. The subclasses include appropriate mixins, and
|
45
|
+
# should expand on the basic functionality provided here.
|
46
|
+
#
|
47
|
+
#
|
48
|
+
# Container Objects:
|
49
|
+
# Other object models that use this model as the value in one
|
50
|
+
# of their attributes.
|
51
|
+
# - Jamf::OAPISchemas::AccountPreferencesV5
|
52
|
+
# - Jamf::OAPISchemas::AccountPreferencesV5
|
53
|
+
# - Jamf::OAPISchemas::AccountPreferencesV5
|
54
|
+
# - Jamf::OAPISchemas::AccountPreferencesV5
|
55
|
+
# - Jamf::OAPISchemas::AccountPreferencesV5
|
56
|
+
# - Jamf::OAPISchemas::AccountPreferencesV5
|
57
|
+
# - Jamf::OAPISchemas::AccountPreferencesV5
|
58
|
+
# - Jamf::OAPISchemas::AccountPreferencesV5
|
59
|
+
# - Jamf::OAPISchemas::AccountPreferencesV5
|
60
|
+
# - Jamf::OAPISchemas::AccountPreferencesV5
|
61
|
+
# - Jamf::OAPISchemas::AccountPreferencesV5
|
62
|
+
# - Jamf::OAPISchemas::AccountPreferencesV5
|
63
|
+
# - Jamf::OAPISchemas::AccountPreferencesV5
|
64
|
+
# - Jamf::OAPISchemas::AccountPreferencesV5
|
65
|
+
# - Jamf::OAPISchemas::AccountPreferencesV5
|
66
|
+
# - Jamf::OAPISchemas::AccountPreferencesV5
|
67
|
+
# - Jamf::OAPISchemas::AccountPreferencesV5
|
68
|
+
# - Jamf::OAPISchemas::AccountPreferencesV5
|
69
|
+
#
|
70
|
+
# Sub Objects:
|
71
|
+
# Other object models used by this model's attributes.
|
72
|
+
#
|
73
|
+
#
|
74
|
+
# Endpoints and Privileges:
|
75
|
+
# API endpoints and HTTP operations that use this object
|
76
|
+
# model, and the Jamf Pro privileges needed to access them.
|
77
|
+
#
|
78
|
+
#
|
79
|
+
#
|
80
|
+
class AccountPreferencesSearchType < Jamf::OAPIObject
|
81
|
+
|
82
|
+
# Enums used by this class or others
|
83
|
+
|
84
|
+
VALUE_OPTIONS = [
|
85
|
+
'EXACT_MATCH',
|
86
|
+
'STARTS_WITH',
|
87
|
+
'CONTAINS'
|
88
|
+
]
|
89
|
+
|
90
|
+
OAPI_PROPERTIES = {
|
91
|
+
|
92
|
+
# @!attribute value
|
93
|
+
# @return [String]
|
94
|
+
value: {
|
95
|
+
class: :string,
|
96
|
+
enum: VALUE_OPTIONS
|
97
|
+
}
|
98
|
+
|
99
|
+
} # end OAPI_PROPERTIES
|
100
|
+
|
101
|
+
end # class AccountPreferencesSearchType
|
102
|
+
|
103
|
+
end # module OAPISchemas
|
104
|
+
|
105
|
+
end # module Jamf
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2024 Pixar
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "Apache License")
|
4
4
|
# with the following modification; you may not use this file except in
|
@@ -30,12 +30,12 @@ module Jamf
|
|
30
30
|
module OAPISchemas
|
31
31
|
|
32
32
|
|
33
|
-
# OAPI Object Model and Enums for:
|
33
|
+
# OAPI Object Model and Enums for: AccountPreferencesUserInterfaceDisplayTheme
|
34
34
|
#
|
35
35
|
#
|
36
36
|
#
|
37
|
-
# This class was automatically
|
38
|
-
# URL path on a Jamf Pro server version
|
37
|
+
# This class was automatically generated from the api/schema
|
38
|
+
# URL path on a Jamf Pro server version 11.6.1-t1718634702
|
39
39
|
#
|
40
40
|
# This class may be used directly, e.g instances of other classes may
|
41
41
|
# use instances of this class as one of their own properties/attributes.
|
@@ -48,11 +48,11 @@ module Jamf
|
|
48
48
|
# Container Objects:
|
49
49
|
# Other object models that use this model as the value in one
|
50
50
|
# of their attributes.
|
51
|
-
# - Jamf::OAPISchemas::
|
51
|
+
# - Jamf::OAPISchemas::AccountPreferencesV5
|
52
52
|
#
|
53
53
|
# Sub Objects:
|
54
54
|
# Other object models used by this model's attributes.
|
55
|
-
#
|
55
|
+
#
|
56
56
|
#
|
57
57
|
# Endpoints and Privileges:
|
58
58
|
# API endpoints and HTTP operations that use this object
|
@@ -60,33 +60,28 @@ module Jamf
|
|
60
60
|
#
|
61
61
|
#
|
62
62
|
#
|
63
|
-
class
|
63
|
+
class AccountPreferencesUserInterfaceDisplayTheme < Jamf::OAPIObject
|
64
64
|
|
65
65
|
# Enums used by this class or others
|
66
66
|
|
67
|
-
|
68
|
-
'
|
69
|
-
'
|
67
|
+
VALUE_OPTIONS = [
|
68
|
+
'MATCH_SYSTEM',
|
69
|
+
'LIGHT',
|
70
|
+
'DARK'
|
70
71
|
]
|
71
72
|
|
72
73
|
OAPI_PROPERTIES = {
|
73
74
|
|
74
|
-
# @!attribute
|
75
|
-
# @return [String]
|
76
|
-
field: {
|
77
|
-
class: :string
|
78
|
-
},
|
79
|
-
|
80
|
-
# @!attribute direction
|
75
|
+
# @!attribute value
|
81
76
|
# @return [String]
|
82
|
-
|
77
|
+
value: {
|
83
78
|
class: :string,
|
84
|
-
enum:
|
79
|
+
enum: VALUE_OPTIONS
|
85
80
|
}
|
86
81
|
|
87
82
|
} # end OAPI_PROPERTIES
|
88
83
|
|
89
|
-
end # class
|
84
|
+
end # class AccountPreferencesUserInterfaceDisplayTheme
|
90
85
|
|
91
86
|
end # module OAPISchemas
|
92
87
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2024 Pixar
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "Apache License")
|
4
4
|
# with the following modification; you may not use this file except in
|
@@ -34,8 +34,8 @@ module Jamf
|
|
34
34
|
#
|
35
35
|
#
|
36
36
|
#
|
37
|
-
# This class was automatically
|
38
|
-
# URL path on a Jamf Pro server version
|
37
|
+
# This class was automatically generated from the api/schema
|
38
|
+
# URL path on a Jamf Pro server version 11.6.1-t1718634702
|
39
39
|
#
|
40
40
|
# This class may be used directly, e.g instances of other classes may
|
41
41
|
# use instances of this class as one of their own properties/attributes.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2024 Pixar
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "Apache License")
|
4
4
|
# with the following modification; you may not use this file except in
|
@@ -34,8 +34,8 @@ module Jamf
|
|
34
34
|
#
|
35
35
|
#
|
36
36
|
#
|
37
|
-
# This class was automatically
|
38
|
-
# URL path on a Jamf Pro server version
|
37
|
+
# This class was automatically generated from the api/schema
|
38
|
+
# URL path on a Jamf Pro server version 11.6.1-t1718634702
|
39
39
|
#
|
40
40
|
# This class may be used directly, e.g instances of other classes may
|
41
41
|
# use instances of this class as one of their own properties/attributes.
|