ruby-jss 2.0.0a10 → 2.0.0b3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (502) hide show
  1. checksums.yaml +4 -4
  2. data/README-2.0.0.md +53 -32
  3. data/lib/jamf/api/classic/api_objects/computer.rb +18 -15
  4. data/lib/jamf/api/classic/api_objects/computer_group.rb +1 -0
  5. data/lib/jamf/api/classic/api_objects/criteriable.rb +1 -1
  6. data/lib/jamf/api/classic/api_objects/mdm.rb +40 -24
  7. data/lib/jamf/api/classic/api_objects/mobile_device.rb +8 -12
  8. data/lib/jamf/api/classic/api_objects/mobile_device_application.rb +35 -6
  9. data/lib/jamf/api/classic/api_objects/policy.rb +8 -17
  10. data/lib/jamf/api/classic/api_objects/script.rb +1 -1
  11. data/lib/jamf/api/classic/base_classes/advanced_search.rb +5 -5
  12. data/lib/jamf/api/classic/base_classes/api_object.rb +26 -26
  13. data/lib/jamf/api/classic/base_classes/extension_attribute.rb +2 -2
  14. data/lib/jamf/api/classic/base_classes/group.rb +57 -40
  15. data/lib/jamf/api/connection/attributes.rb +51 -4
  16. data/lib/jamf/api/connection/classic_api.rb +2 -1
  17. data/lib/jamf/api/connection/connect.rb +49 -2
  18. data/lib/jamf/api/connection/constants.rb +6 -0
  19. data/lib/jamf/api/connection/jamf_pro_api.rb +6 -2
  20. data/lib/jamf/api/connection/token.rb +10 -3
  21. data/lib/jamf/api/connection.rb +1 -1
  22. data/lib/jamf/api/jamf_pro/api_objects/inventory_preload_record.rb +9 -1
  23. data/lib/jamf/api/jamf_pro/base_classes/oapi_object.rb +21 -9
  24. data/lib/jamf/api/jamf_pro/mixins/macos_managed_updates.rb +178 -0
  25. data/lib/jamf/api/jamf_pro/mixins/prestage.rb +17 -7
  26. data/lib/jamf/api/jamf_pro/oapi_schemas/access_groups_preview_search_results.rb +2 -3
  27. data/lib/jamf/api/jamf_pro/oapi_schemas/access_groups_v2_search_results.rb +1 -2
  28. data/lib/jamf/api/jamf_pro/oapi_schemas/account.rb +1 -2
  29. data/lib/jamf/api/jamf_pro/oapi_schemas/{access_groups_search_results.rb → account_driven_user_enrollment_session_token_settings.rb} +14 -14
  30. data/lib/jamf/api/jamf_pro/oapi_schemas/account_group.rb +1 -2
  31. data/lib/jamf/api/jamf_pro/oapi_schemas/account_preferences.rb +1 -2
  32. data/lib/jamf/api/jamf_pro/oapi_schemas/account_preferences_v1.rb +1 -2
  33. data/lib/jamf/api/jamf_pro/oapi_schemas/account_preferences_v4.rb +1 -2
  34. data/lib/jamf/api/jamf_pro/oapi_schemas/active_patch_history.rb +1 -2
  35. data/lib/jamf/api/jamf_pro/oapi_schemas/active_patch_history_search_results.rb +1 -2
  36. data/lib/jamf/api/jamf_pro/oapi_schemas/active_patch_summary.rb +1 -2
  37. data/lib/jamf/api/jamf_pro/oapi_schemas/admin_account.rb +1 -2
  38. data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_search.rb +1 -2
  39. data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_search_criteria_choices.rb +1 -2
  40. data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_search_search_results.rb +1 -2
  41. data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_user_content_search.rb +1 -2
  42. data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_user_content_search_search_results.rb +1 -2
  43. data/lib/jamf/api/jamf_pro/oapi_schemas/android_details.rb +1 -2
  44. data/lib/jamf/api/jamf_pro/oapi_schemas/api_error.rb +1 -2
  45. data/lib/jamf/api/jamf_pro/oapi_schemas/api_error_cause.rb +1 -2
  46. data/lib/jamf/api/jamf_pro/oapi_schemas/app_analytics_setting.rb +1 -2
  47. data/lib/jamf/api/jamf_pro/oapi_schemas/app_dynamics_config.rb +1 -2
  48. data/lib/jamf/api/jamf_pro/oapi_schemas/app_path.rb +1 -2
  49. data/lib/jamf/api/jamf_pro/oapi_schemas/app_request_form_input_field.rb +1 -2
  50. data/lib/jamf/api/jamf_pro/oapi_schemas/app_request_form_input_field_search_results.rb +1 -2
  51. data/lib/jamf/api/jamf_pro/oapi_schemas/app_request_settings.rb +1 -2
  52. data/lib/jamf/api/jamf_pro/oapi_schemas/apple_tv_details.rb +1 -2
  53. data/lib/jamf/api/jamf_pro/oapi_schemas/application_attributes.rb +1 -2
  54. data/lib/jamf/api/jamf_pro/oapi_schemas/application_configuration.rb +1 -2
  55. data/lib/jamf/api/jamf_pro/oapi_schemas/assign_remove_profile_response_sync_state.rb +1 -2
  56. data/lib/jamf/api/jamf_pro/oapi_schemas/attributes.rb +1 -2
  57. data/lib/jamf/api/jamf_pro/oapi_schemas/auth_account.rb +1 -2
  58. data/lib/jamf/api/jamf_pro/oapi_schemas/auth_account_v1.rb +1 -2
  59. data/lib/jamf/api/jamf_pro/oapi_schemas/auth_token.rb +1 -2
  60. data/lib/jamf/api/jamf_pro/oapi_schemas/auth_token_v1.rb +1 -2
  61. data/lib/jamf/api/jamf_pro/oapi_schemas/authorization.rb +1 -2
  62. data/lib/jamf/api/jamf_pro/oapi_schemas/authorization_v1.rb +1 -2
  63. data/lib/jamf/api/jamf_pro/oapi_schemas/{deprecated_configuration_search_results.rb → available_updates.rb} +12 -20
  64. data/lib/jamf/api/jamf_pro/oapi_schemas/azure_ad_migration_report_process_status.rb +1 -2
  65. data/lib/jamf/api/jamf_pro/oapi_schemas/azure_ad_migration_report_request.rb +1 -2
  66. data/lib/jamf/api/jamf_pro/oapi_schemas/azure_configuration.rb +1 -2
  67. data/lib/jamf/api/jamf_pro/oapi_schemas/azure_configuration_request.rb +1 -2
  68. data/lib/jamf/api/jamf_pro/oapi_schemas/azure_configuration_update.rb +1 -2
  69. data/lib/jamf/api/jamf_pro/oapi_schemas/azure_mappings.rb +1 -2
  70. data/lib/jamf/api/jamf_pro/oapi_schemas/azure_server_configuration.rb +1 -2
  71. data/lib/jamf/api/jamf_pro/oapi_schemas/azure_server_configuration_request.rb +1 -2
  72. data/lib/jamf/api/jamf_pro/oapi_schemas/azure_server_configuration_update.rb +1 -2
  73. data/lib/jamf/api/jamf_pro/oapi_schemas/branding_image_url.rb +1 -2
  74. data/lib/jamf/api/jamf_pro/oapi_schemas/building.rb +1 -2
  75. data/lib/jamf/api/jamf_pro/oapi_schemas/building_search_results.rb +1 -2
  76. data/lib/jamf/api/jamf_pro/oapi_schemas/cache_settings.rb +1 -2
  77. data/lib/jamf/api/jamf_pro/oapi_schemas/categories_search_results.rb +1 -2
  78. data/lib/jamf/api/jamf_pro/oapi_schemas/category.rb +1 -2
  79. data/lib/jamf/api/jamf_pro/oapi_schemas/certificate_details.rb +1 -4
  80. data/lib/jamf/api/jamf_pro/oapi_schemas/certificate_identity_v2.rb +1 -2
  81. data/lib/jamf/api/jamf_pro/oapi_schemas/certificate_key.rb +1 -2
  82. data/lib/jamf/api/jamf_pro/oapi_schemas/certificate_record.rb +1 -2
  83. data/lib/jamf/api/jamf_pro/oapi_schemas/classic_ldap_mappings.rb +1 -2
  84. data/lib/jamf/api/jamf_pro/oapi_schemas/client_check_in_v2.rb +1 -2
  85. data/lib/jamf/api/jamf_pro/oapi_schemas/client_check_in_v3.rb +1 -2
  86. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_id_p_common.rb +1 -2
  87. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_id_p_common_request.rb +1 -2
  88. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_id_p_common_response.rb +1 -2
  89. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_connection_pool_statistics.rb +1 -6
  90. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_connection_status.rb +1 -2
  91. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_keystore.rb +1 -3
  92. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_keystore_file.rb +1 -4
  93. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_mappings_request.rb +1 -6
  94. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_mappings_response.rb +1 -9
  95. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_server_request.rb +1 -2
  96. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_server_response.rb +1 -2
  97. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_server_update.rb +1 -2
  98. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_application.rb +2 -3
  99. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_attachment.rb +2 -3
  100. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_certificate.rb +26 -3
  101. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_configuration_profile.rb +2 -3
  102. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching.rb +2 -3
  103. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_alert.rb +1 -2
  104. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_cache_detail.rb +1 -2
  105. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_data_migration_error.rb +1 -2
  106. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_data_migration_error_user_info.rb +1 -2
  107. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent.rb +1 -2
  108. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_alert.rb +1 -2
  109. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_capabilities.rb +1 -2
  110. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_details.rb +1 -2
  111. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_local_network.rb +1 -2
  112. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb +1 -2
  113. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_disk_encryption.rb +2 -3
  114. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_extension_attribute.rb +2 -3
  115. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_font.rb +2 -3
  116. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_general.rb +2 -3
  117. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_general_update.rb +1 -2
  118. data/lib/jamf/api/jamf_pro/oapi_schemas/{mdm_signing_certificate.rb → computer_group.rb} +18 -24
  119. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_hardware.rb +2 -3
  120. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_hardware_update.rb +1 -2
  121. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_ibeacon.rb +2 -3
  122. data/lib/jamf/api/jamf_pro/oapi_schemas/{computer_inventory_response.rb → computer_inventory.rb} +4 -5
  123. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_collection_preferences.rb +1 -2
  124. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_collection_settings.rb +1 -2
  125. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_recovery_lock_password_response.rb +1 -2
  126. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_search_results.rb +4 -5
  127. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_update_request.rb +1 -2
  128. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_licensed_software.rb +2 -3
  129. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_local_user_account.rb +2 -3
  130. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_location.rb +1 -2
  131. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_mdm_capability.rb +1 -2
  132. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_operating_system.rb +2 -3
  133. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_operating_system_update.rb +1 -2
  134. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_overview.rb +1 -2
  135. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_package_receipts.rb +2 -3
  136. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_partition.rb +1 -2
  137. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_partition_encryption.rb +1 -2
  138. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_partition_file_vault2_state.rb +1 -2
  139. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_plugin.rb +2 -3
  140. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage.rb +1 -2
  141. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage_search_results.rb +1 -2
  142. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage_search_results_v2.rb +1 -2
  143. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage_v2.rb +1 -2
  144. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_printer.rb +2 -3
  145. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_purchase.rb +2 -3
  146. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_remote_management.rb +1 -2
  147. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_section.rb +1 -2
  148. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_security.rb +2 -3
  149. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_service.rb +2 -3
  150. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_software_update.rb +2 -3
  151. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_storage.rb +2 -3
  152. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_user_and_location.rb +2 -3
  153. data/lib/jamf/api/jamf_pro/oapi_schemas/computers_search_results.rb +1 -2
  154. data/lib/jamf/api/jamf_pro/oapi_schemas/configuration_profile.rb +1 -2
  155. data/lib/jamf/api/jamf_pro/oapi_schemas/configuration_search_results.rb +1 -2
  156. data/lib/jamf/api/jamf_pro/oapi_schemas/connection_configuration_candidate_request.rb +1 -2
  157. data/lib/jamf/api/jamf_pro/oapi_schemas/connection_configuration_response.rb +1 -2
  158. data/lib/jamf/api/jamf_pro/oapi_schemas/connection_configuration_status_response.rb +1 -2
  159. data/lib/jamf/api/jamf_pro/oapi_schemas/connection_configuration_update_request.rb +1 -2
  160. data/lib/jamf/api/jamf_pro/oapi_schemas/country.rb +1 -2
  161. data/lib/jamf/api/jamf_pro/oapi_schemas/country_codes.rb +1 -2
  162. data/lib/jamf/api/jamf_pro/oapi_schemas/create_path.rb +1 -2
  163. data/lib/jamf/api/jamf_pro/oapi_schemas/csa_token.rb +1 -2
  164. data/lib/jamf/api/jamf_pro/oapi_schemas/current_account.rb +1 -2
  165. data/lib/jamf/api/jamf_pro/oapi_schemas/current_authorization.rb +1 -2
  166. data/lib/jamf/api/jamf_pro/oapi_schemas/data_roaming_setting.rb +1 -2
  167. data/lib/jamf/api/jamf_pro/oapi_schemas/database_password.rb +1 -2
  168. data/lib/jamf/api/jamf_pro/oapi_schemas/day_of_week.rb +1 -2
  169. data/lib/jamf/api/jamf_pro/oapi_schemas/delete_user_command.rb +1 -2
  170. data/lib/jamf/api/jamf_pro/oapi_schemas/department.rb +1 -2
  171. data/lib/jamf/api/jamf_pro/oapi_schemas/departments_search_results.rb +1 -2
  172. data/lib/jamf/api/jamf_pro/oapi_schemas/deployment_task.rb +1 -2
  173. data/lib/jamf/api/jamf_pro/oapi_schemas/deployment_task_search_results.rb +1 -2
  174. data/lib/jamf/api/jamf_pro/oapi_schemas/device_communication_settings.rb +1 -2
  175. data/lib/jamf/api/jamf_pro/oapi_schemas/device_compliance_information.rb +1 -2
  176. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_device.rb +1 -2
  177. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_device_search_results.rb +1 -2
  178. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_disown_body.rb +1 -2
  179. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_disown_response.rb +1 -2
  180. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_instance.rb +1 -2
  181. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_instance_search_results.rb +1 -2
  182. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_instance_sync_status.rb +1 -2
  183. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_prestage.rb +1 -2
  184. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_prestage_v2.rb +1 -2
  185. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_token.rb +1 -2
  186. data/lib/jamf/api/jamf_pro/oapi_schemas/diagnostic_submission_setting.rb +1 -2
  187. data/lib/jamf/api/jamf_pro/oapi_schemas/ebook.rb +1 -2
  188. data/lib/jamf/api/jamf_pro/oapi_schemas/ebook_exclusions.rb +1 -2
  189. data/lib/jamf/api/jamf_pro/oapi_schemas/ebook_limitations.rb +1 -2
  190. data/lib/jamf/api/jamf_pro/oapi_schemas/ebook_scope.rb +1 -2
  191. data/lib/jamf/api/jamf_pro/oapi_schemas/ebook_search_results.rb +1 -2
  192. data/lib/jamf/api/jamf_pro/oapi_schemas/enable_lost_mode_command.rb +1 -2
  193. data/lib/jamf/api/jamf_pro/oapi_schemas/engage.rb +1 -2
  194. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_access_group_preview.rb +12 -6
  195. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_access_group_v2.rb +1 -2
  196. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization.rb +1 -2
  197. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_branding_settings.rb +1 -2
  198. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_dependencies.rb +1 -2
  199. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_dependency.rb +1 -2
  200. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_ldap_group_access.rb +1 -2
  201. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel.rb +1 -2
  202. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel_ldap_auth.rb +1 -2
  203. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel_list.rb +1 -2
  204. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel_sso_auth.rb +1 -2
  205. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel_text.rb +1 -2
  206. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_search_results.rb +1 -2
  207. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_search_results_v2.rb +1 -2
  208. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_v2.rb +3 -3
  209. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_method.rb +1 -2
  210. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_process_text_object.rb +5 -6
  211. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_settings_v2.rb +1 -2
  212. data/lib/jamf/api/jamf_pro/oapi_schemas/export_field.rb +1 -2
  213. data/lib/jamf/api/jamf_pro/oapi_schemas/export_parameters.rb +5 -2
  214. data/lib/jamf/api/jamf_pro/oapi_schemas/extension_attribute.rb +1 -2
  215. data/lib/jamf/api/jamf_pro/oapi_schemas/extension_attribute_v2.rb +1 -2
  216. data/lib/jamf/api/jamf_pro/oapi_schemas/external_recipient.rb +1 -2
  217. data/lib/jamf/api/jamf_pro/oapi_schemas/file_attachment.rb +1 -2
  218. data/lib/jamf/api/jamf_pro/oapi_schemas/file_attachment_delete.rb +1 -2
  219. data/lib/jamf/api/jamf_pro/oapi_schemas/file_attachment_v2.rb +1 -2
  220. data/lib/jamf/api/jamf_pro/oapi_schemas/filter.rb +1 -2
  221. data/lib/jamf/api/jamf_pro/oapi_schemas/font_path.rb +1 -2
  222. data/lib/jamf/api/jamf_pro/oapi_schemas/get_computer_prestage.rb +1 -2
  223. data/lib/jamf/api/jamf_pro/oapi_schemas/get_computer_prestage_v2.rb +1 -2
  224. data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization.rb +1 -2
  225. data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization_panel.rb +1 -2
  226. data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization_panel_ldap_auth.rb +1 -2
  227. data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization_panel_sso_auth.rb +1 -2
  228. data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization_panel_text.rb +1 -2
  229. data/lib/jamf/api/jamf_pro/oapi_schemas/get_mobile_device_prestage.rb +1 -2
  230. data/lib/jamf/api/jamf_pro/oapi_schemas/get_mobile_device_prestage_v2.rb +1 -2
  231. data/lib/jamf/api/jamf_pro/oapi_schemas/group_mappings.rb +1 -2
  232. data/lib/jamf/api/jamf_pro/oapi_schemas/group_membership.rb +2 -3
  233. data/lib/jamf/api/jamf_pro/oapi_schemas/group_test_search.rb +1 -2
  234. data/lib/jamf/api/jamf_pro/oapi_schemas/group_test_search_request.rb +1 -4
  235. data/lib/jamf/api/jamf_pro/oapi_schemas/group_test_search_response.rb +1 -4
  236. data/lib/jamf/api/jamf_pro/oapi_schemas/history_search_results.rb +1 -6
  237. data/lib/jamf/api/jamf_pro/oapi_schemas/history_search_results_v1.rb +1 -2
  238. data/lib/jamf/api/jamf_pro/oapi_schemas/href_response.rb +3 -4
  239. data/lib/jamf/api/jamf_pro/oapi_schemas/icon_response.rb +1 -2
  240. data/lib/jamf/api/jamf_pro/oapi_schemas/id_and_name.rb +1 -2
  241. data/lib/jamf/api/jamf_pro/oapi_schemas/id_and_name_v2.rb +1 -2
  242. data/lib/jamf/api/jamf_pro/oapi_schemas/ids.rb +5 -2
  243. data/lib/jamf/api/jamf_pro/oapi_schemas/initialize.rb +1 -2
  244. data/lib/jamf/api/jamf_pro/oapi_schemas/initialize_v1.rb +1 -2
  245. data/lib/jamf/api/jamf_pro/oapi_schemas/install_package.rb +1 -2
  246. data/lib/jamf/api/jamf_pro/oapi_schemas/integer_wrapper.rb +1 -2
  247. data/lib/jamf/api/jamf_pro/oapi_schemas/internal_recipient.rb +1 -2
  248. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_information.rb +1 -2
  249. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_csv_error.rb +1 -2
  250. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_csv_validation_error.rb +1 -2
  251. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_csv_validation_error_cause.rb +1 -2
  252. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_csv_validation_success.rb +1 -2
  253. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_extension_attribute.rb +1 -2
  254. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_extension_attribute_column.rb +1 -2
  255. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_extension_attribute_column_result.rb +1 -2
  256. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_invalid_csv_response.rb +1 -2
  257. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb +1 -2
  258. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_search_results.rb +1 -2
  259. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_search_results_v2.rb +1 -2
  260. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_v2.rb +1 -2
  261. data/lib/jamf/api/jamf_pro/oapi_schemas/ios_branding_configuration.rb +1 -2
  262. data/lib/jamf/api/jamf_pro/oapi_schemas/ios_branding_search_results.rb +1 -2
  263. data/lib/jamf/api/jamf_pro/oapi_schemas/ios_details.rb +1 -2
  264. data/lib/jamf/api/jamf_pro/oapi_schemas/ios_details_v2.rb +1 -2
  265. data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_application_response.rb +1 -2
  266. data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_nation_credentials.rb +1 -2
  267. data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_package_response.rb +1 -2
  268. data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_information.rb +1 -2
  269. data/lib/jamf/api/jamf_pro/oapi_schemas/{enrollment_access_group.rb → jamf_pro_information_v2.rb} +35 -34
  270. data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_server_url.rb +1 -2
  271. data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_version.rb +1 -2
  272. data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_protect_plan.rb +1 -2
  273. data/lib/jamf/api/jamf_pro/oapi_schemas/language_code.rb +5 -6
  274. data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_configuration_request.rb +1 -2
  275. data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_configuration_response.rb +1 -2
  276. data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_configuration_update.rb +1 -2
  277. data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_group.rb +1 -2
  278. data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_group_search_results.rb +1 -2
  279. data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_server.rb +1 -2
  280. data/lib/jamf/api/jamf_pro/oapi_schemas/linked_connect_profile.rb +1 -2
  281. data/lib/jamf/api/jamf_pro/oapi_schemas/linked_connect_profile_search_results.rb +1 -2
  282. data/lib/jamf/api/jamf_pro/oapi_schemas/locale.rb +1 -2
  283. data/lib/jamf/api/jamf_pro/oapi_schemas/location.rb +1 -2
  284. data/lib/jamf/api/jamf_pro/oapi_schemas/location_information.rb +1 -2
  285. data/lib/jamf/api/jamf_pro/oapi_schemas/location_information_v2.rb +1 -2
  286. data/lib/jamf/api/jamf_pro/oapi_schemas/location_v2.rb +1 -2
  287. data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_branding_configuration.rb +1 -2
  288. data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_branding_search_results.rb +1 -2
  289. data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_managed_software_update.rb +28 -3
  290. data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_managed_software_update_response.rb +1 -4
  291. data/lib/jamf/api/jamf_pro/oapi_schemas/markdown.rb +1 -2
  292. data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_client_type.rb +1 -2
  293. data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command.rb +1 -2
  294. data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_client.rb +1 -2
  295. data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_request.rb +1 -2
  296. data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_state.rb +1 -2
  297. data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_type.rb +1 -2
  298. data/lib/jamf/api/jamf_pro/oapi_schemas/membership_mappings.rb +1 -2
  299. data/lib/jamf/api/jamf_pro/oapi_schemas/membership_test_search_request.rb +1 -4
  300. data/lib/jamf/api/jamf_pro/oapi_schemas/membership_test_search_response.rb +1 -4
  301. data/lib/jamf/api/jamf_pro/oapi_schemas/memcached_endpoints.rb +1 -2
  302. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device.rb +1 -2
  303. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_application.rb +1 -2
  304. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_attachment.rb +1 -2
  305. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_attachment_v2.rb +1 -2
  306. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_certificate_v1.rb +1 -2
  307. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_certificate_v2.rb +61 -3
  308. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb +1 -2
  309. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_get_v2.rb +1 -2
  310. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb +7 -2
  311. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_ebook.rb +1 -2
  312. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_extension_attribute_results.rb +1 -2
  313. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_group.rb +1 -2
  314. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage.rb +1 -2
  315. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_name.rb +1 -2
  316. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_name_v2.rb +1 -2
  317. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_names.rb +1 -2
  318. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_names_v2.rb +1 -2
  319. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_search_results.rb +1 -2
  320. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_search_results_v2.rb +1 -2
  321. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_v2.rb +1 -2
  322. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_search_params.rb +1 -2
  323. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_search_results.rb +1 -2
  324. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_search_results_v2.rb +1 -2
  325. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_v2.rb +1 -2
  326. data/lib/jamf/api/jamf_pro/oapi_schemas/network.rb +1 -2
  327. data/lib/jamf/api/jamf_pro/oapi_schemas/network_v2.rb +1 -2
  328. data/lib/jamf/api/jamf_pro/oapi_schemas/notification.rb +1 -2
  329. data/lib/jamf/api/jamf_pro/oapi_schemas/notification_type.rb +3 -3
  330. data/lib/jamf/api/jamf_pro/oapi_schemas/notification_v1.rb +1 -2
  331. data/lib/jamf/api/jamf_pro/oapi_schemas/object_history.rb +1 -6
  332. data/lib/jamf/api/jamf_pro/oapi_schemas/object_history_note.rb +1 -6
  333. data/lib/jamf/api/jamf_pro/oapi_schemas/object_history_v1.rb +1 -2
  334. data/lib/jamf/api/jamf_pro/oapi_schemas/order_by.rb +1 -2
  335. data/lib/jamf/api/jamf_pro/oapi_schemas/package_manifest.rb +1 -2
  336. data/lib/jamf/api/jamf_pro/oapi_schemas/parent_app.rb +5 -5
  337. data/lib/jamf/api/jamf_pro/oapi_schemas/patch_ids_on_dashboard.rb +1 -2
  338. data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_attempt.rb +1 -2
  339. data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_attempt_action.rb +1 -2
  340. data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_log.rb +1 -2
  341. data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_log_search_results.rb +1 -2
  342. data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_on_dashboard.rb +1 -2
  343. data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_summary.rb +1 -2
  344. data/lib/jamf/api/jamf_pro/oapi_schemas/patch_version.rb +1 -2
  345. data/lib/jamf/api/jamf_pro/oapi_schemas/personal_hotspot_setting.rb +1 -2
  346. data/lib/jamf/api/jamf_pro/oapi_schemas/plan_search_results.rb +1 -2
  347. data/lib/jamf/api/jamf_pro/oapi_schemas/plugin_path.rb +1 -2
  348. data/lib/jamf/api/jamf_pro/oapi_schemas/policy_properties.rb +1 -2
  349. data/lib/jamf/api/jamf_pro/oapi_schemas/policy_properties_v1.rb +1 -2
  350. data/lib/jamf/api/jamf_pro/oapi_schemas/post_computer_prestage_v2.rb +1 -2
  351. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_dependencies.rb +1 -2
  352. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_dependency.rb +1 -2
  353. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_file_attachment.rb +1 -2
  354. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_file_attachment_v2.rb +1 -2
  355. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information.rb +1 -2
  356. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information_v2.rb +1 -2
  357. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope.rb +1 -2
  358. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_assignment.rb +1 -2
  359. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_assignment_v2.rb +1 -2
  360. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_response.rb +1 -2
  361. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_response_v2.rb +1 -2
  362. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_update.rb +1 -2
  363. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_v2.rb +1 -2
  364. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_sync_status.rb +1 -2
  365. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_sync_status_v2.rb +1 -2
  366. data/lib/jamf/api/jamf_pro/oapi_schemas/process_texts_search_results.rb +3 -4
  367. data/lib/jamf/api/jamf_pro/oapi_schemas/protect_registration_request.rb +1 -2
  368. data/lib/jamf/api/jamf_pro/oapi_schemas/protect_settings_response.rb +1 -2
  369. data/lib/jamf/api/jamf_pro/oapi_schemas/protect_updatable_settings_request.rb +1 -2
  370. data/lib/jamf/api/jamf_pro/oapi_schemas/provisioning_profile.rb +1 -2
  371. data/lib/jamf/api/jamf_pro/oapi_schemas/purchasing.rb +1 -2
  372. data/lib/jamf/api/jamf_pro/oapi_schemas/purchasing_v2.rb +1 -2
  373. data/lib/jamf/api/jamf_pro/oapi_schemas/put_computer_prestage.rb +1 -2
  374. data/lib/jamf/api/jamf_pro/oapi_schemas/put_computer_prestage_v2.rb +1 -2
  375. data/lib/jamf/api/jamf_pro/oapi_schemas/put_mobile_device_prestage.rb +1 -2
  376. data/lib/jamf/api/jamf_pro/oapi_schemas/put_mobile_device_prestage_v2.rb +1 -2
  377. data/lib/jamf/api/jamf_pro/oapi_schemas/recalculation_results.rb +1 -2
  378. data/lib/jamf/api/jamf_pro/oapi_schemas/recipient.rb +1 -2
  379. data/lib/jamf/api/jamf_pro/oapi_schemas/recipients.rb +1 -2
  380. data/lib/jamf/api/jamf_pro/oapi_schemas/redeploy_jamf_management_framework_response.rb +1 -2
  381. data/lib/jamf/api/jamf_pro/oapi_schemas/reenrollment.rb +1 -2
  382. data/lib/jamf/api/jamf_pro/oapi_schemas/remote_administration_response.rb +1 -2
  383. data/lib/jamf/api/jamf_pro/oapi_schemas/remote_administration_search_results.rb +1 -2
  384. data/lib/jamf/api/jamf_pro/oapi_schemas/renew_mdm_profile_response.rb +1 -2
  385. data/lib/jamf/api/jamf_pro/oapi_schemas/restart_device_command.rb +1 -2
  386. data/lib/jamf/api/jamf_pro/oapi_schemas/retry_patch_policy_params.rb +1 -2
  387. data/lib/jamf/api/jamf_pro/oapi_schemas/{safelisted_apps.rb → safelisted_app.rb} +15 -11
  388. data/lib/jamf/api/jamf_pro/oapi_schemas/script.rb +1 -2
  389. data/lib/jamf/api/jamf_pro/oapi_schemas/scripts_search_results.rb +1 -2
  390. data/lib/jamf/api/jamf_pro/oapi_schemas/search_active_patch_history_params.rb +1 -2
  391. data/lib/jamf/api/jamf_pro/oapi_schemas/search_patch_policy_log_params.rb +1 -2
  392. data/lib/jamf/api/jamf_pro/oapi_schemas/security.rb +1 -2
  393. data/lib/jamf/api/jamf_pro/oapi_schemas/security_v2.rb +1 -2
  394. data/lib/jamf/api/jamf_pro/oapi_schemas/self_service_install_settings.rb +1 -2
  395. data/lib/jamf/api/jamf_pro/oapi_schemas/self_service_interaction_settings.rb +1 -2
  396. data/lib/jamf/api/jamf_pro/oapi_schemas/self_service_login_settings.rb +1 -2
  397. data/lib/jamf/api/jamf_pro/oapi_schemas/self_service_settings.rb +1 -2
  398. data/lib/jamf/api/jamf_pro/oapi_schemas/session.rb +1 -2
  399. data/lib/jamf/api/jamf_pro/oapi_schemas/session_candidate_request.rb +1 -2
  400. data/lib/jamf/api/jamf_pro/oapi_schemas/session_details.rb +1 -2
  401. data/lib/jamf/api/jamf_pro/oapi_schemas/session_details_search_results.rb +1 -2
  402. data/lib/jamf/api/jamf_pro/oapi_schemas/session_status.rb +1 -2
  403. data/lib/jamf/api/jamf_pro/oapi_schemas/set_recovery_lock_command.rb +1 -2
  404. data/lib/jamf/api/jamf_pro/oapi_schemas/settings_command.rb +1 -2
  405. data/lib/jamf/api/jamf_pro/oapi_schemas/shared_device_configuration.rb +1 -2
  406. data/lib/jamf/api/jamf_pro/oapi_schemas/signature.rb +1 -2
  407. data/lib/jamf/api/jamf_pro/oapi_schemas/site.rb +1 -2
  408. data/lib/jamf/api/jamf_pro/oapi_schemas/smart_search_criterion.rb +1 -2
  409. data/lib/jamf/api/jamf_pro/oapi_schemas/software_title_configuration.rb +1 -2
  410. data/lib/jamf/api/jamf_pro/oapi_schemas/software_title_patch_policy_summaries.rb +1 -2
  411. data/lib/jamf/api/jamf_pro/oapi_schemas/software_update_settings.rb +1 -2
  412. data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore.rb +1 -2
  413. data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_cert_parse_response.rb +1 -2
  414. data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_details.rb +1 -2
  415. data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_parse.rb +1 -2
  416. data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_response.rb +1 -2
  417. data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_response_with_details.rb +1 -2
  418. data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_with_details.rb +1 -2
  419. data/lib/jamf/api/jamf_pro/oapi_schemas/sso_metadata_url.rb +1 -2
  420. data/lib/jamf/api/jamf_pro/oapi_schemas/sso_settings.rb +1 -2
  421. data/lib/jamf/api/jamf_pro/oapi_schemas/startup_status.rb +1 -2
  422. data/lib/jamf/api/jamf_pro/oapi_schemas/static_user_group.rb +1 -2
  423. data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity.rb +1 -2
  424. data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity_certificate_upload.rb +1 -2
  425. data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity_create.rb +1 -2
  426. data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity_search_results.rb +1 -2
  427. data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity_update.rb +1 -2
  428. data/lib/jamf/api/jamf_pro/oapi_schemas/teacher_features.rb +1 -2
  429. data/lib/jamf/api/jamf_pro/oapi_schemas/teacher_settings_request.rb +5 -5
  430. data/lib/jamf/api/jamf_pro/oapi_schemas/teacher_settings_response.rb +5 -5
  431. data/lib/jamf/api/jamf_pro/oapi_schemas/time_frame.rb +1 -2
  432. data/lib/jamf/api/jamf_pro/oapi_schemas/time_zone.rb +1 -2
  433. data/lib/jamf/api/jamf_pro/oapi_schemas/tv_os_details.rb +9 -2
  434. data/lib/jamf/api/jamf_pro/oapi_schemas/udids.rb +1 -2
  435. data/lib/jamf/api/jamf_pro/oapi_schemas/update_apple_tv.rb +1 -2
  436. data/lib/jamf/api/jamf_pro/oapi_schemas/update_ios.rb +1 -2
  437. data/lib/jamf/api/jamf_pro/oapi_schemas/update_ios_v2.rb +1 -2
  438. data/lib/jamf/api/jamf_pro/oapi_schemas/update_mobile_device.rb +1 -2
  439. data/lib/jamf/api/jamf_pro/oapi_schemas/update_mobile_device_v2.rb +1 -2
  440. data/lib/jamf/api/jamf_pro/oapi_schemas/update_tv_os.rb +1 -2
  441. data/lib/jamf/api/jamf_pro/oapi_schemas/user_attributes.rb +1 -2
  442. data/lib/jamf/api/jamf_pro/oapi_schemas/user_mappings.rb +1 -2
  443. data/lib/jamf/api/jamf_pro/oapi_schemas/user_test_search.rb +1 -2
  444. data/lib/jamf/api/jamf_pro/oapi_schemas/user_test_search_request.rb +1 -4
  445. data/lib/jamf/api/jamf_pro/oapi_schemas/user_test_search_response.rb +1 -4
  446. data/lib/jamf/api/jamf_pro/oapi_schemas/v1_site.rb +3 -3
  447. data/lib/jamf/api/jamf_pro/oapi_schemas/venafi_ca_record.rb +1 -2
  448. data/lib/jamf/api/jamf_pro/oapi_schemas/venafi_pki_payload_record.rb +1 -2
  449. data/lib/jamf/api/jamf_pro/oapi_schemas/venafi_pki_payload_record_search_results.rb +1 -2
  450. data/lib/jamf/api/jamf_pro/oapi_schemas/venafi_service_status.rb +1 -2
  451. data/lib/jamf/api/jamf_pro/oapi_schemas/verbose_package_deployment_response.rb +1 -2
  452. data/lib/jamf/api/jamf_pro/oapi_schemas/voice_roaming_setting.rb +1 -2
  453. data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_content.rb +1 -2
  454. data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_location.rb +1 -2
  455. data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_location_list_view.rb +1 -2
  456. data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_location_patch.rb +1 -2
  457. data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_location_post.rb +1 -2
  458. data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_locations.rb +1 -2
  459. data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_subscription.rb +1 -2
  460. data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_subscription_base.rb +1 -2
  461. data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_subscriptions.rb +1 -2
  462. data/lib/jamf/api/jamf_pro/oapi_schemas/vpp_admin_account.rb +1 -2
  463. data/lib/jamf/api/jamf_pro/oapi_schemas/vpp_token_subscription.rb +1 -2
  464. data/lib/jamf/api/jamf_pro/oapi_schemas/web_link.rb +1 -2
  465. data/lib/jamf/client/jamf_binary.rb +76 -77
  466. data/lib/jamf/client/jamf_helper.rb +245 -235
  467. data/lib/jamf/client/management_action.rb +63 -53
  468. data/lib/jamf/client.rb +3 -3
  469. data/lib/jamf/constants.rb +1 -1
  470. data/lib/jamf/deprecations/deprecated_api_connection_class.rb +29 -0
  471. data/lib/jamf/deprecations/deprecated_api_constant.rb +3 -1
  472. data/lib/jamf/deprecations/deprecated_config_constant.rb +3 -1
  473. data/lib/jamf/version.rb +1 -1
  474. data/lib/zeitwerk_config.rb +23 -17
  475. data/test/{README.md → README-TEST.md} +3 -0
  476. data/test/bin/runtests +42 -2
  477. data/test/lib/jamf_test/APITest.rb +33 -7
  478. data/test/lib/jamf_test/advanced_search.rb +40 -0
  479. data/test/lib/jamf_test/collection_tests.rb +8 -13
  480. data/test/lib/jamf_test/prestage_tests.rb +135 -0
  481. data/test/lib/jamf_test.rb +7 -1
  482. data/test/tests/advanced_computer_search.rb +36 -0
  483. data/test/tests/advanced_mobile_device_search.rb +36 -0
  484. data/test/tests/advanced_user_search.rb +36 -0
  485. data/test/tests/building.rb +41 -0
  486. data/test/tests/computer.rb +41 -0
  487. data/test/tests/computer_group.rb +132 -0
  488. data/test/tests/computer_prestage.rb +36 -0
  489. data/test/tests/department.rb +41 -0
  490. data/test/tests/inventory_preload_record.rb +2 -2
  491. data/test/tests/mobile_device.rb +41 -0
  492. data/test/tests/mobile_device_prestage.rb +37 -0
  493. data/test/tests/policy.rb +39 -50
  494. metadata +41 -53
  495. data/lib/jamf/api/jamf_pro/oapi_schemas/certificate_identity_v1.rb +0 -102
  496. data/lib/jamf/api/jamf_pro/oapi_schemas/deprecated_configuration_request.rb +0 -92
  497. data/lib/jamf/api/jamf_pro/oapi_schemas/deprecated_configuration_response.rb +0 -105
  498. data/lib/jamf/api/jamf_pro/oapi_schemas/deprecated_configuration_update.rb +0 -92
  499. data/lib/jamf/api/jamf_pro/oapi_schemas/deprecated_server_request.rb +0 -166
  500. data/lib/jamf/api/jamf_pro/oapi_schemas/deprecated_server_response.rb +0 -163
  501. data/lib/jamf/api/jamf_pro/oapi_schemas/deprecated_server_update.rb +0 -171
  502. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_settings.rb +0 -264
data/test/tests/policy.rb CHANGED
@@ -25,6 +25,7 @@
25
25
 
26
26
  module JamfTest
27
27
 
28
+ # Policy Tests
28
29
  class Policy < JamfTest::APITest
29
30
 
30
31
  include JamfTest::CollectionTests
@@ -35,22 +36,26 @@ module JamfTest
35
36
 
36
37
  # The main test method for this class
37
38
  def run_class_tests
38
- # we will override the object tests
39
+ # policies are special so we define all the object tests here
39
40
  run_collection_tests do_object_tests: false
40
41
 
41
- # create_new_pol
42
- # add_data_to_new_pol
43
- end
42
+ create_new
44
43
 
45
- #################
46
- def create_new_pol
47
- @test_pol_name = "#{TEST_OBJECT_BASE_NAME}-#{Jamf.cnx.user}-#{Time.now.to_i}"
48
- @unsaved_new_pol = Jamf::Policy.create name: @test_pol_name
49
- say "Created new policy instance with name #{@test_pol_name} and no other attribs"
44
+ add_data_to_new
45
+
46
+ # save_new
47
+ # fetch_new
48
+ # validate_fetched
49
+ # modify_fetched
50
+ # re_save_fetched
51
+ # re_fetch
52
+ # validate_changes
53
+ # delete
54
+ # confirm_deleted
50
55
  end
51
56
 
52
57
  #################
53
- def add_data_to_new_pol
58
+ def add_data_to_new
54
59
  set_new_pol_category
55
60
  set_new_pol_pkg
56
61
  set_new_pol_trigger
@@ -59,94 +64,79 @@ module JamfTest
59
64
 
60
65
  #################
61
66
  def set_new_pol_category
62
- # DEPRECATED - should raise an error, but eventually will not
67
+ # DEPRECATED - should raise an error, but eventually will not until saved.
63
68
  begin
64
- @unsaved_new_pol.category = 'foo-this-is-not-a-real-category'
69
+ @unsaved_new_object.category = 'foo-this-is-not-a-real-category'
65
70
  rescue Jamf::NoSuchItemError
66
71
  nil
67
72
  end
68
- @unsaved_new_pol.category = pol_category
73
+ @unsaved_new_object.category = pol_category
69
74
  say "Set policy category to: #{pol_category}"
70
75
  end
71
76
 
72
77
  #################
73
78
  def set_new_pol_pkg
74
- # DEPRECATED - should raise an error, but eventually will not
79
+ # DEPRECATED - should raise an error, but eventually will not until saved
75
80
  begin
76
- @unsaved_new_pol.add_package 'foo'
81
+ @unsaved_new_object.add_package 'foo'
77
82
  rescue Jamf::NoSuchItemError
78
83
  nil
79
84
  end
80
- @pkg_name = Jamf::Package.all_names.sample
81
- @unsaved_new_pol.add_package @pkg_name
82
- say "Added policy pkg: #{@pkg_name}"
85
+ @unsaved_new_object.add_package pol_pkg
86
+ say "Added policy pkg: #{pol_pkg}"
83
87
  end
84
88
 
85
89
  #################
86
90
  def set_new_pol_trigger
87
- @unsaved_new_pol.set_trigger_event :custom, CUSTOM_TRIGGER
91
+ @unsaved_new_object.set_trigger_event :custom, CUSTOM_TRIGGER
88
92
  say "Set policy trigger to: #{CUSTOM_TRIGGER}"
89
93
  end
90
94
 
91
95
  #################
92
96
  def set_new_pol_scope
93
- @unsaved_new_pol.scope.add_target :computer, target_computer_name
97
+ @unsaved_new_object.scope.add_target :computer, target_computer_name
94
98
  say "Set policy scope targets to: #{@unsaved_new_pol.scope.targets}"
95
- @unsaved_new_pol.scope.add_exclusion :computer_group, excluded_group_name
99
+ @unsaved_new_object.scope.add_exclusion :computer_group, excluded_group_name
96
100
  say "Set policy scope targets to: #{@unsaved_new_pol.scope.exclusions}"
97
101
  end
98
102
 
99
-
100
103
  #################
101
- def save_new_pol
102
-
103
- end
104
+ def save_new_pol; end
104
105
 
105
106
  #################
106
- def fetch_new_pol
107
-
108
- end
107
+ def fetch_new_pol; end
109
108
 
110
109
  #################
111
- def validate_new_pol
112
-
113
- end
110
+ def validate_new_pol; end
114
111
 
115
112
  #################
116
- def modify_pol
117
-
118
- end
113
+ def modify_pol; end
119
114
 
120
115
  #################
121
- def save_pol
122
-
123
- end
116
+ def save_pol; end
124
117
 
125
118
  #################
126
- def re_fetch_pol
127
-
128
- end
119
+ def re_fetch_pol; end
129
120
 
130
121
  #################
131
- def validate_changes
132
-
133
- end
122
+ def validate_changes; end
134
123
 
135
124
  #################
136
- def delete_pol
137
-
138
- end
125
+ def delete_pol; end
139
126
 
140
127
  #################
141
- def confirm_deleted
142
-
143
- end
128
+ def confirm_deleted; end
144
129
 
145
130
  #######
146
131
  def pol_category
147
132
  @pol_category ||= Jamf::Category.all_names.sample
148
133
  end
149
134
 
135
+ #######
136
+ def pol_pkg
137
+ @pol_pkg ||= Jamf::Package.all_names.sample
138
+ end
139
+
150
140
  ########
151
141
  def target_computer_name
152
142
  @target_computer_name ||= Jamf::Computer.all_names.sample
@@ -157,7 +147,6 @@ module JamfTest
157
147
  @excluded_group_name ||= Jamf::ComputerGroup.all_names.sample
158
148
  end
159
149
 
160
-
161
150
  end # class
162
151
 
163
152
  end # module JamfTest
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-jss
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0a10
4
+ version: 2.0.0b3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Lasell
8
8
  - Aurica Hayes
9
9
  - Kristoffer Landes
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-04-21 00:00:00.000000000 Z
13
+ date: 2022-08-31 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: CFPropertyList
@@ -50,42 +50,30 @@ dependencies:
50
50
  name: faraday
51
51
  requirement: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- version: 1.0.0
56
- - - "<="
53
+ - - "~>"
57
54
  - !ruby/object:Gem::Version
58
- version: 1.0.1
55
+ version: '1.0'
59
56
  type: :runtime
60
57
  prerelease: false
61
58
  version_requirements: !ruby/object:Gem::Requirement
62
59
  requirements:
63
- - - ">="
64
- - !ruby/object:Gem::Version
65
- version: 1.0.0
66
- - - "<="
60
+ - - "~>"
67
61
  - !ruby/object:Gem::Version
68
- version: 1.0.1
62
+ version: '1.0'
69
63
  - !ruby/object:Gem::Dependency
70
64
  name: faraday_middleware
71
65
  requirement: !ruby/object:Gem::Requirement
72
66
  requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: 1.0.0
76
- - - "<="
67
+ - - "~>"
77
68
  - !ruby/object:Gem::Version
78
- version: 1.0.1
69
+ version: '1.0'
79
70
  type: :runtime
80
71
  prerelease: false
81
72
  version_requirements: !ruby/object:Gem::Requirement
82
73
  requirements:
83
- - - ">="
84
- - !ruby/object:Gem::Version
85
- version: 1.0.0
86
- - - "<="
74
+ - - "~>"
87
75
  - !ruby/object:Gem::Version
88
- version: 1.0.1
76
+ version: '1.0'
89
77
  - !ruby/object:Gem::Dependency
90
78
  name: concurrent-ruby
91
79
  requirement: !ruby/object:Gem::Requirement
@@ -104,9 +92,6 @@ dependencies:
104
92
  name: immutable-struct
105
93
  requirement: !ruby/object:Gem::Requirement
106
94
  requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: 2.3.0
110
95
  - - "~>"
111
96
  - !ruby/object:Gem::Version
112
97
  version: '2.3'
@@ -114,9 +99,6 @@ dependencies:
114
99
  prerelease: false
115
100
  version_requirements: !ruby/object:Gem::Requirement
116
101
  requirements:
117
- - - ">="
118
- - !ruby/object:Gem::Version
119
- version: 2.3.0
120
102
  - - "~>"
121
103
  - !ruby/object:Gem::Version
122
104
  version: '2.3'
@@ -146,26 +128,26 @@ dependencies:
146
128
  requirements:
147
129
  - - "~>"
148
130
  - !ruby/object:Gem::Version
149
- version: '3.2'
131
+ version: '3.1'
150
132
  - - ">="
151
133
  - !ruby/object:Gem::Version
152
- version: 3.2.4
134
+ version: 3.1.9
153
135
  type: :runtime
154
136
  prerelease: false
155
137
  version_requirements: !ruby/object:Gem::Requirement
156
138
  requirements:
157
139
  - - "~>"
158
140
  - !ruby/object:Gem::Version
159
- version: '3.2'
141
+ version: '3.1'
160
142
  - - ">="
161
143
  - !ruby/object:Gem::Version
162
- version: 3.2.4
144
+ version: 3.1.9
163
145
  description: |
164
146
  The ruby-jss gem provides native ruby access to the REST APIs of Jamf Pro,
165
147
  an enterprise/education tool for managing Apple devices, from jamf.com.
166
148
  The Jamf module provides access to both the 'Classic' API and the more modern
167
149
  'Jamf Pro' API. Jamf Pro objects are implemented as classes and can interact
168
- with each other. Connection tokens, data transfer using JSON or XML and other
150
+ with each other. Authentication tokens, data transfer using JSON or XML and other
169
151
  details are handled automatically under the hood to allow simpler, intuitive
170
152
  automation of Jamf-related Tasks.
171
153
  email: ruby-jss@pixar.com
@@ -307,15 +289,16 @@ files:
307
289
  - lib/jamf/api/jamf_pro/mixins/immutable.rb
308
290
  - lib/jamf/api/jamf_pro/mixins/jpapi_resource.rb
309
291
  - lib/jamf/api/jamf_pro/mixins/lockable.rb
292
+ - lib/jamf/api/jamf_pro/mixins/macos_managed_updates.rb
310
293
  - lib/jamf/api/jamf_pro/mixins/prestage.rb
311
294
  - lib/jamf/api/jamf_pro/mixins/sortable.rb
312
295
  - lib/jamf/api/jamf_pro/mixins/uncreatable.rb
313
296
  - lib/jamf/api/jamf_pro/mixins/undeletable.rb
314
297
  - lib/jamf/api/jamf_pro/oapi_schemas.rb
315
298
  - lib/jamf/api/jamf_pro/oapi_schemas/access_groups_preview_search_results.rb
316
- - lib/jamf/api/jamf_pro/oapi_schemas/access_groups_search_results.rb
317
299
  - lib/jamf/api/jamf_pro/oapi_schemas/access_groups_v2_search_results.rb
318
300
  - lib/jamf/api/jamf_pro/oapi_schemas/account.rb
301
+ - lib/jamf/api/jamf_pro/oapi_schemas/account_driven_user_enrollment_session_token_settings.rb
319
302
  - lib/jamf/api/jamf_pro/oapi_schemas/account_group.rb
320
303
  - lib/jamf/api/jamf_pro/oapi_schemas/account_preferences.rb
321
304
  - lib/jamf/api/jamf_pro/oapi_schemas/account_preferences_v1.rb
@@ -349,6 +332,7 @@ files:
349
332
  - lib/jamf/api/jamf_pro/oapi_schemas/auth_token_v1.rb
350
333
  - lib/jamf/api/jamf_pro/oapi_schemas/authorization.rb
351
334
  - lib/jamf/api/jamf_pro/oapi_schemas/authorization_v1.rb
335
+ - lib/jamf/api/jamf_pro/oapi_schemas/available_updates.rb
352
336
  - lib/jamf/api/jamf_pro/oapi_schemas/azure_ad_migration_report_process_status.rb
353
337
  - lib/jamf/api/jamf_pro/oapi_schemas/azure_ad_migration_report_request.rb
354
338
  - lib/jamf/api/jamf_pro/oapi_schemas/azure_configuration.rb
@@ -365,7 +349,6 @@ files:
365
349
  - lib/jamf/api/jamf_pro/oapi_schemas/categories_search_results.rb
366
350
  - lib/jamf/api/jamf_pro/oapi_schemas/category.rb
367
351
  - lib/jamf/api/jamf_pro/oapi_schemas/certificate_details.rb
368
- - lib/jamf/api/jamf_pro/oapi_schemas/certificate_identity_v1.rb
369
352
  - lib/jamf/api/jamf_pro/oapi_schemas/certificate_identity_v2.rb
370
353
  - lib/jamf/api/jamf_pro/oapi_schemas/certificate_key.rb
371
354
  - lib/jamf/api/jamf_pro/oapi_schemas/certificate_record.rb
@@ -404,13 +387,14 @@ files:
404
387
  - lib/jamf/api/jamf_pro/oapi_schemas/computer_font.rb
405
388
  - lib/jamf/api/jamf_pro/oapi_schemas/computer_general.rb
406
389
  - lib/jamf/api/jamf_pro/oapi_schemas/computer_general_update.rb
390
+ - lib/jamf/api/jamf_pro/oapi_schemas/computer_group.rb
407
391
  - lib/jamf/api/jamf_pro/oapi_schemas/computer_hardware.rb
408
392
  - lib/jamf/api/jamf_pro/oapi_schemas/computer_hardware_update.rb
409
393
  - lib/jamf/api/jamf_pro/oapi_schemas/computer_ibeacon.rb
394
+ - lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb
410
395
  - lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_collection_preferences.rb
411
396
  - lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_collection_settings.rb
412
397
  - lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_recovery_lock_password_response.rb
413
- - lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_response.rb
414
398
  - lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_search_results.rb
415
399
  - lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_update_request.rb
416
400
  - lib/jamf/api/jamf_pro/oapi_schemas/computer_licensed_software.rb
@@ -459,13 +443,6 @@ files:
459
443
  - lib/jamf/api/jamf_pro/oapi_schemas/departments_search_results.rb
460
444
  - lib/jamf/api/jamf_pro/oapi_schemas/deployment_task.rb
461
445
  - lib/jamf/api/jamf_pro/oapi_schemas/deployment_task_search_results.rb
462
- - lib/jamf/api/jamf_pro/oapi_schemas/deprecated_configuration_request.rb
463
- - lib/jamf/api/jamf_pro/oapi_schemas/deprecated_configuration_response.rb
464
- - lib/jamf/api/jamf_pro/oapi_schemas/deprecated_configuration_search_results.rb
465
- - lib/jamf/api/jamf_pro/oapi_schemas/deprecated_configuration_update.rb
466
- - lib/jamf/api/jamf_pro/oapi_schemas/deprecated_server_request.rb
467
- - lib/jamf/api/jamf_pro/oapi_schemas/deprecated_server_response.rb
468
- - lib/jamf/api/jamf_pro/oapi_schemas/deprecated_server_update.rb
469
446
  - lib/jamf/api/jamf_pro/oapi_schemas/device_communication_settings.rb
470
447
  - lib/jamf/api/jamf_pro/oapi_schemas/device_compliance_information.rb
471
448
  - lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_device.rb
@@ -486,7 +463,6 @@ files:
486
463
  - lib/jamf/api/jamf_pro/oapi_schemas/ebook_search_results.rb
487
464
  - lib/jamf/api/jamf_pro/oapi_schemas/enable_lost_mode_command.rb
488
465
  - lib/jamf/api/jamf_pro/oapi_schemas/engage.rb
489
- - lib/jamf/api/jamf_pro/oapi_schemas/enrollment_access_group.rb
490
466
  - lib/jamf/api/jamf_pro/oapi_schemas/enrollment_access_group_preview.rb
491
467
  - lib/jamf/api/jamf_pro/oapi_schemas/enrollment_access_group_v2.rb
492
468
  - lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization.rb
@@ -504,7 +480,6 @@ files:
504
480
  - lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_v2.rb
505
481
  - lib/jamf/api/jamf_pro/oapi_schemas/enrollment_method.rb
506
482
  - lib/jamf/api/jamf_pro/oapi_schemas/enrollment_process_text_object.rb
507
- - lib/jamf/api/jamf_pro/oapi_schemas/enrollment_settings.rb
508
483
  - lib/jamf/api/jamf_pro/oapi_schemas/enrollment_settings_v2.rb
509
484
  - lib/jamf/api/jamf_pro/oapi_schemas/export_field.rb
510
485
  - lib/jamf/api/jamf_pro/oapi_schemas/export_parameters.rb
@@ -563,6 +538,7 @@ files:
563
538
  - lib/jamf/api/jamf_pro/oapi_schemas/jamf_nation_credentials.rb
564
539
  - lib/jamf/api/jamf_pro/oapi_schemas/jamf_package_response.rb
565
540
  - lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_information.rb
541
+ - lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_information_v2.rb
566
542
  - lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_server_url.rb
567
543
  - lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_version.rb
568
544
  - lib/jamf/api/jamf_pro/oapi_schemas/jamf_protect_plan.rb
@@ -591,7 +567,6 @@ files:
591
567
  - lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_request.rb
592
568
  - lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_state.rb
593
569
  - lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_type.rb
594
- - lib/jamf/api/jamf_pro/oapi_schemas/mdm_signing_certificate.rb
595
570
  - lib/jamf/api/jamf_pro/oapi_schemas/membership_mappings.rb
596
571
  - lib/jamf/api/jamf_pro/oapi_schemas/membership_test_search_request.rb
597
572
  - lib/jamf/api/jamf_pro/oapi_schemas/membership_test_search_response.rb
@@ -681,7 +656,7 @@ files:
681
656
  - lib/jamf/api/jamf_pro/oapi_schemas/renew_mdm_profile_response.rb
682
657
  - lib/jamf/api/jamf_pro/oapi_schemas/restart_device_command.rb
683
658
  - lib/jamf/api/jamf_pro/oapi_schemas/retry_patch_policy_params.rb
684
- - lib/jamf/api/jamf_pro/oapi_schemas/safelisted_apps.rb
659
+ - lib/jamf/api/jamf_pro/oapi_schemas/safelisted_app.rb
685
660
  - lib/jamf/api/jamf_pro/oapi_schemas/script.rb
686
661
  - lib/jamf/api/jamf_pro/oapi_schemas/scripts_search_results.rb
687
662
  - lib/jamf/api/jamf_pro/oapi_schemas/search_active_patch_history_params.rb
@@ -772,6 +747,7 @@ files:
772
747
  - lib/jamf/configuration.rb
773
748
  - lib/jamf/constants.rb
774
749
  - lib/jamf/db_connection.rb
750
+ - lib/jamf/deprecations/deprecated_api_connection_class.rb
775
751
  - lib/jamf/deprecations/deprecated_api_constant.rb
776
752
  - lib/jamf/deprecations/deprecated_config_constant.rb
777
753
  - lib/jamf/exceptions.rb
@@ -803,22 +779,34 @@ files:
803
779
  - lib/jss.rb
804
780
  - lib/ruby-jss.rb
805
781
  - lib/zeitwerk_config.rb
806
- - test/README.md
782
+ - test/README-TEST.md
807
783
  - test/bin/runtests
808
784
  - test/lib/jamf_test.rb
809
785
  - test/lib/jamf_test/APITest.rb
786
+ - test/lib/jamf_test/advanced_search.rb
810
787
  - test/lib/jamf_test/auth.rb
811
788
  - test/lib/jamf_test/collection_tests.rb
789
+ - test/lib/jamf_test/prestage_tests.rb
790
+ - test/tests/advanced_computer_search.rb
791
+ - test/tests/advanced_mobile_device_search.rb
792
+ - test/tests/advanced_user_search.rb
793
+ - test/tests/building.rb
812
794
  - test/tests/category.rb
795
+ - test/tests/computer.rb
796
+ - test/tests/computer_group.rb
797
+ - test/tests/computer_prestage.rb
798
+ - test/tests/department.rb
813
799
  - test/tests/device_enrollment.rb
814
800
  - test/tests/inventory_preload_record.rb
815
801
  - test/tests/jp_building.rb
802
+ - test/tests/mobile_device.rb
803
+ - test/tests/mobile_device_prestage.rb
816
804
  - test/tests/policy.rb
817
805
  homepage: http://pixaranimationstudios.github.io/ruby-jss/
818
806
  licenses:
819
807
  - Nonstandard
820
808
  metadata: {}
821
- post_install_message:
809
+ post_install_message:
822
810
  rdoc_options:
823
811
  - "--title"
824
812
  - JSS
@@ -831,15 +819,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
831
819
  requirements:
832
820
  - - ">="
833
821
  - !ruby/object:Gem::Version
834
- version: 2.7.0
822
+ version: 2.6.3
835
823
  required_rubygems_version: !ruby/object:Gem::Requirement
836
824
  requirements:
837
825
  - - ">"
838
826
  - !ruby/object:Gem::Version
839
827
  version: 1.3.1
840
828
  requirements: []
841
- rubygems_version: 3.0.3.1
842
- signing_key:
829
+ rubygems_version: 3.1.4
830
+ signing_key:
843
831
  specification_version: 4
844
832
  summary: A Ruby interface to the Jamf Pro REST APIs
845
833
  test_files: []
@@ -1,102 +0,0 @@
1
- # Copyright 2022 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
-
26
- module Jamf
27
-
28
- # This module is the namespace for all objects defined
29
- # in the OAPI JSON schema under the components => schemas key
30
- #
31
- module OAPISchemas
32
-
33
-
34
- # OAPI Object Model and Enums for: CertificateIdentityV1
35
- #
36
- #
37
- #
38
- # This class was automatically genereated from the api/schema
39
- # URL path on a Jamf Pro server version 10.36.1-t1645562643
40
- #
41
- # This class may be used directly, e.g instances of other classes may
42
- # use instances of this class as one of their own properties/attributes.
43
- #
44
- # It may also be used as a superclass when implementing Jamf Pro API
45
- # Resources in ruby-jss. The subclasses include appropriate mixins, and
46
- # should expand on the basic functionality provided here.
47
- #
48
- #
49
- # Container Objects:
50
- # Other object models that use this model as the value in one
51
- # of their attributes.
52
- # - Jamf::OAPISchemas::EnrollmentSettings
53
- #
54
- # Sub Objects:
55
- # Other object models used by this model's attributes.
56
- #
57
- #
58
- # Endpoints and Privileges:
59
- # API endpoints and HTTP operations that use this object
60
- # model, and the Jamf Pro privileges needed to access them.
61
- #
62
- #
63
- #
64
- class CertificateIdentityV1 < Jamf::OAPIObject
65
-
66
-
67
-
68
- OAPI_PROPERTIES = {
69
-
70
- # @!attribute filename
71
- # @return [String]
72
- filename: {
73
- class: :string
74
- },
75
-
76
- # @!attribute keystorePassword
77
- # @return [String]
78
- keystorePassword: {
79
- class: :string
80
- },
81
-
82
- # The base 64 encoded certificate. Will not be returned on a GET.
83
- # @!attribute identityKeystore
84
- # @return [String]
85
- identityKeystore: {
86
- class: :string
87
- },
88
-
89
- # The md5 checksum of the certificate file. Intended to be used in verifification the cert being used to sign QuickAdd packages.
90
- # @!attribute md5Sum
91
- # @return [String]
92
- md5Sum: {
93
- class: :string
94
- }
95
-
96
- } # end OAPI_PROPERTIES
97
-
98
- end # class CertificateIdentityV1
99
-
100
- end # module OAPISchemas
101
-
102
- end # module Jamf
@@ -1,92 +0,0 @@
1
- # Copyright 2022 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
-
26
- module Jamf
27
-
28
- # This module is the namespace for all objects defined
29
- # in the OAPI JSON schema under the components => schemas key
30
- #
31
- module OAPISchemas
32
-
33
-
34
- # OAPI Object Model and Enums for: DeprecatedConfigurationRequest
35
- #
36
- # Description of this class from the OAPI Schema:
37
- # An old Cloud Identity Provider configuration for requests
38
- #
39
- # This class was automatically genereated from the api/schema
40
- # URL path on a Jamf Pro server version 10.36.1-t1645562643
41
- #
42
- # This class may be used directly, e.g instances of other classes may
43
- # use instances of this class as one of their own properties/attributes.
44
- #
45
- # It may also be used as a superclass when implementing Jamf Pro API
46
- # Resources in ruby-jss. The subclasses include appropriate mixins, and
47
- # should expand on the basic functionality provided here.
48
- #
49
- #
50
- # Container Objects:
51
- # Other object models that use this model as the value in one
52
- # of their attributes.
53
- #
54
- #
55
- # Sub Objects:
56
- # Other object models used by this model's attributes.
57
- # - Jamf::OAPISchemas::DeprecatedServerRequest
58
- # - Jamf::OAPISchemas::CloudLdapMappingsRequest
59
- #
60
- # Endpoints and Privileges:
61
- # API endpoints and HTTP operations that use this object
62
- # model, and the Jamf Pro privileges needed to access them.
63
- # - '/v1/cloud-ldaps:POST' needs permissions:
64
- # - Create LDAP Servers
65
- #
66
- #
67
- class DeprecatedConfigurationRequest < Jamf::OAPIObject
68
-
69
-
70
-
71
- OAPI_PROPERTIES = {
72
-
73
- # @!attribute server
74
- # @return [Jamf::OAPISchemas::DeprecatedServerRequest]
75
- server: {
76
- class: Jamf::OAPISchemas::DeprecatedServerRequest,
77
- required: true
78
- },
79
-
80
- # @!attribute mappings
81
- # @return [Jamf::OAPISchemas::CloudLdapMappingsRequest]
82
- mappings: {
83
- class: Jamf::OAPISchemas::CloudLdapMappingsRequest
84
- }
85
-
86
- } # end OAPI_PROPERTIES
87
-
88
- end # class DeprecatedConfigurationRequest
89
-
90
- end # module OAPISchemas
91
-
92
- end # module Jamf